/* override old style-original.css body rules (padding-top:130px, bg:#f8f9fa) */
body,body.cct-page{padding-top:0!important;background:#fff!important}

/* ===== HEADER — WHITE ===== */
.header{position:relative!important;background:#fff!important;border-bottom:none!important;padding:0!important;min-height:64px!important;display:flex!important;align-items:center!important;box-shadow:0 1px 4px rgba(0,0,0,.08)!important;overflow:visible!important}
.header .container{max-width:1200px!important;padding:0 24px!important;margin:0 auto!important;width:100%!important}
.header-top{padding:0!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:20px!important}
.header .logo-section{display:flex!important;align-items:center!important;flex-shrink:0!important}
.header .logo-img{height:67px!important;width:auto!important;padding:0!important;margin:0!important;display:block!important}
.nav{position:static!important;transform:none!important;display:flex!important;align-items:center!important;gap:24px!important;flex-wrap:nowrap!important;background:transparent!important;border:none!important}
.nav>a,.cat-trigger{color:#333!important;font-size:14px!important;font-weight:600!important;padding:6px 0!important;white-space:nowrap!important;text-decoration:none!important;border:none!important;background:transparent!important;cursor:pointer!important;font-family:inherit!important}
.nav>a:hover,.cat-trigger:hover{color:#F77C2A!important;background:transparent!important}
.cat-trigger{display:inline-flex!important;align-items:center!important;gap:4px!important}
.cat-trigger .cat-arrow{font-size:10px;transition:transform .3s}
.cat-trigger.active .cat-arrow{transform:rotate(180deg)}
.header-right{display:flex!important;align-items:center!important;gap:12px!important;flex-shrink:0!important}
.header .phone{padding:0!important;margin:0!important;font-size:15px!important;font-weight:600!important}
.header .phone a{color:#333!important;text-decoration:none!important;white-space:nowrap!important}
.header .phone a:hover{color:#F77C2A!important}
.header .consult-btn{background:#27ae60!important;color:#fff!important;border:none!important;font-weight:600!important;font-size:12px!important;letter-spacing:.4px!important;border-radius:6px!important;padding:8px 16px!important;height:36px!important;cursor:pointer!important;white-space:nowrap!important;min-width:auto!important;text-transform:uppercase!important;font-family:inherit!important}
.header .consult-btn:hover{background:#1e8449!important;transform:none!important;box-shadow:none!important}
.header-menu-row,.header-back-row{display:none!important}

/* ===== CATALOG DROPDOWN ===== */
.catalog-dropdown{border-top:2px solid #F77C2A;overflow:hidden;max-height:0;opacity:0;padding:0;transition:max-height .4s ease,opacity .3s ease,padding .3s ease;position:absolute;left:0;right:0;top:100%;background:#fff;z-index:999;box-shadow:0 8px 30px rgba(0,0,0,.12)}
.catalog-dropdown.active{max-height:800px;opacity:1;padding:20px 0}
.catalog-dropdown .cat-grid{max-width:1200px;margin:0 auto;padding:0 24px}
.cat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.cat-col h3{font-size:13px;font-weight:700;color:#1a1a26;margin:0 0 10px;text-transform:uppercase;letter-spacing:.3px}
.cat-col a{display:block;font-size:13px;color:#555;text-decoration:none;padding:3px 0;line-height:1.5;transition:color .2s}
.cat-col a:hover{color:#F77C2A}

/* ===== SEARCH TRIGGER ===== */
.search-trigger{color:#333!important;font-size:14px!important;font-weight:600!important;padding:6px 0!important;white-space:nowrap!important;cursor:pointer!important;background:transparent!important;border:none!important;font-family:inherit!important;display:inline-flex!important;align-items:center!important;gap:4px!important}
.search-trigger:hover{color:#F77C2A!important}
.search-trigger.active{color:#F77C2A!important}
.search-trigger .srch-ico{color:#666;transition:color .2s;flex-shrink:0;display:block}
.search-trigger:hover .srch-ico{color:#F77C2A}
.search-trigger.active .srch-ico{color:#F77C2A}

/* ===== SEARCH DROPDOWN ===== */
.search-dropdown{border-top:2px solid #F77C2A;overflow:hidden;max-height:0;opacity:0;padding:0;transition:max-height .4s ease,opacity .3s ease,padding .3s ease;position:absolute;left:0;right:0;top:100%;background:#fff;z-index:999;box-shadow:0 8px 30px rgba(0,0,0,.12)}
.search-dropdown.active{max-height:600px;opacity:1;padding:20px 0}
.search-inner{max-width:700px;margin:0 auto;padding:0 24px}
.search-field-wrap{position:relative;display:flex;align-items:center}
.search-icon{position:absolute;left:14px;top:50%;transform:translateY(-50%);pointer-events:none;flex-shrink:0}
.search-input{width:100%;height:50px;border:2px solid #e0e0e0;border-radius:10px;padding:0 44px 0 46px;font-size:16px;font-family:inherit;outline:none;transition:border-color .2s;background:#f8f9fa}
.search-input:focus{border-color:#F77C2A;background:#fff}
.search-input::placeholder{color:#aaa}
.search-clear{position:absolute;right:12px;top:50%;transform:translateY(-50%);font-size:22px;color:#ccc;cursor:pointer;display:none;line-height:1;background:none;border:none;padding:4px}
.search-clear:hover{color:#999}
.search-clear.visible{display:block}

/* ===== SEARCH RESULTS ===== */
.search-results{display:none;margin-top:8px;max-height:380px;overflow-y:auto;scrollbar-width:thin}
.search-results.has-results{display:block}
.search-results a{display:flex;align-items:flex-start;gap:10px;padding:10px 12px;text-decoration:none;color:inherit;border-radius:8px;transition:background .15s}
.search-results a:hover{background:#f5f5f5}
.search-results a:hover .sr-name{color:#F77C2A}
.search-results .sr-icon{flex-shrink:0;width:70px;height:70px;background:#fff;border-radius:8px;display:flex;align-items:center;justify-content:center;overflow:hidden;border:1px solid #f0f0f0}
.search-results .sr-info{flex:1;min-width:0}
.search-results .sr-name{font-size:14px;font-weight:600;color:#333;transition:color .2s}
.search-results .sr-section{font-size:11px;color:#999;margin-top:2px}
.search-results .sr-section span{color:#F77C2A;font-weight:500}
.search-empty{display:block;font-size:14px;color:#aaa;text-align:center;padding:24px 0 8px}
.search-results.has-results ~ .search-empty,
.search-dropdown.loading .search-empty,
.search-dropdown.has-query .search-empty{display:none}
.search-dropdown.loading .search-empty::before{content:'Поиск...';display:block}
.search-dropdown.has-query:not(.loading) .search-empty{display:block}

/* ===== CATALOG OVERLAY (MOBILE) ===== */
.catalog-overlay{display:none;position:fixed;top:0;left:0;width:100%;height:100dvh;background:rgba(0,0,0,.5);z-index:1001;opacity:0;transition:opacity .3s}
.catalog-overlay.active{display:block;opacity:1}
.catalog-overlay-inner{background:#fff;width:100%;max-width:520px;display:flex;flex-direction:column;height:100dvh;margin-left:auto;animation:slideIn .3s ease}
@keyframes slideIn{from{transform:translateX(100%)}to{transform:translateX(0)}}
.catalog-overlay-header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid #eee;flex-shrink:0}
.catalog-overlay-header h2{margin:0;font-size:16px;font-weight:700;color:#1a1a26}
.catalog-overlay-close{background:none;border:none;font-size:28px;color:#999;cursor:pointer;padding:0;line-height:1;width:36px;height:36px;display:flex;align-items:center;justify-content:center}
.catalog-overlay-close:hover{color:#333}
.catalog-overlay-body{flex:1;overflow-y:auto;padding:16px 20px 20px;scrollbar-width:thin}
.catalog-overlay-body .cat-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px 20px}
.catalog-overlay-body .cat-col h3{font-size:13px;font-weight:700;color:#1a1a26;margin:0 0 8px;text-transform:uppercase;letter-spacing:.3px}
.catalog-overlay-body .cat-col a{display:block;font-size:14px;color:#555;text-decoration:none;padding:5px 0;line-height:1.4;border-bottom:1px solid #f5f5f5}
.catalog-overlay-body .cat-col a:last-child{border-bottom:none}
.catalog-overlay-body .cat-col a:hover{color:#F77C2A}

/* ===== FOOTER ===== */
.db-footer{background:linear-gradient(135deg,#2b2b39,#1a1a26);padding:44px 0 0;border-top:1px solid rgba(255,255,255,.05)}
.db-wrap{max-width:1200px;margin:0 auto;padding:0 24px}
.db-footer-inner{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}
.db-footer-col h3{font-size:12px;font-weight:700;color:rgba(255,255,255,.4);text-transform:uppercase;letter-spacing:.6px;margin:0 0 14px}
.db-footer-col a{display:block;font-size:13px;color:rgba(255,255,255,.45);text-decoration:none;padding:5px 0;transition:color .2s}
.db-footer-col a:hover{color:#F77C2A}
.db-footer-bot{padding:24px 0;margin-top:36px;border-top:1px solid rgba(255,255,255,.06);font-size:12px;color:rgba(255,255,255,.3);text-align:center}

/* ===== RESPONSIVE ===== */
@media(max-width:1024px){
.header{position:relative!important;height:auto!important;min-height:auto!important;background:#fff!important;border-bottom:none!important;box-shadow:0 1px 4px rgba(0,0,0,.08)!important}
.header .container{padding:0 16px!important;width:100%!important}
.header-top{gap:8px!important;padding:4px 0!important}
.header .logo-img{height:55px!important}
.header .phone{font-size:13px!important}
.header .consult-btn{font-size:10px!important;padding:5px 10px!important;height:28px!important}
.nav{gap:10px!important}
.nav>a,.cat-trigger,.search-trigger{font-size:12px!important;padding:3px 0!important}
.nav>a:hover,.cat-trigger:hover,.search-trigger:hover{color:#F77C2A!important;background:transparent!important}
.header-right{gap:6px!important}
.header-menu-row,.header-back-row{display:none!important}
.cat-grid{grid-template-columns:repeat(3,1fr);gap:16px}
}

@media(max-width:768px){
.catalog-dropdown{display:none!important}
.catalog-overlay-body .cat-grid{grid-template-columns:1fr 1fr;gap:6px 20px}
.search-inner{padding:0 16px}
.search-input{height:44px;font-size:15px}
.search-dropdown.active{max-height:100vh;z-index:100002!important}
.search-results{max-height:60vh}
}

@media(max-width:700px){
.header{position:relative!important;height:auto!important;min-height:auto!important;flex-direction:column!important;background:#fff!important;border-bottom:none!important;box-shadow:0 1px 4px rgba(0,0,0,.08)!important}
.header .container{padding:0 12px!important;width:100%!important}
.header-top{flex-wrap:wrap!important;gap:0!important;padding:0!important}
.header .logo-img{height:50px!important}
.header .phone{font-size:11px!important}
.header .consult-btn{font-size:9px!important;padding:3px 6px!important;height:22px!important}
.nav{order:3!important;width:100%!important;display:flex!important;flex-wrap:wrap!important;justify-content:center!important;gap:2px 8px!important;padding:0!important;margin-top:-10px!important}
.nav>a,.cat-trigger,.search-trigger{font-size:12px!important;padding:0!important;line-height:1!important}
.header-right{gap:8px!important}
.header-menu-row,.header-back-row{display:none!important}
.db-footer-inner{grid-template-columns:repeat(3,1fr);gap:16px}
.cat-grid{grid-template-columns:repeat(2,1fr);gap:14px}
}
@media(max-width:480px){
.catalog-overlay-body .cat-grid{grid-template-columns:1fr}
}

/* ===== MOBILE HEADER + DRAWER ===== */
@media(max-width:768px){
.header-top{display:none!important}
.header .container{max-width:100%!important;width:100%!important;padding:0!important;margin:0!important}
.header{display:block!important;width:100%!important;position:sticky!important;top:0;z-index:1000;background:#fff;min-height:0!important}
@media(max-width:768px){header .search-dropdown.active{position:fixed!important;top:56px!important;left:0!important;right:0!important;z-index:100001!important}}
.mobile-header{display:flex;align-items:center;justify-content:space-between;height:56px;padding:0 20px;background:#fff;width:100%;box-sizing:border-box}
.mobile-header .mobile-logo-wrap{display:flex;align-items:center;flex-shrink:0}
.mobile-header .mobile-logo-wrap a{display:block}
.mobile-header .mobile-logo-wrap img{height:49px;width:auto;display:block}
.mobile-header .mobile-actions{display:flex;align-items:center;gap:0;flex-shrink:0}
.mobile-action-btn{width:44px;height:44px;display:flex;align-items:center;justify-content:center;background:none;border:none;cursor:pointer;color:#333;flex-shrink:0}
.mobile-action-btn svg{width:20px;height:20px;stroke:currentColor;stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round}
.mobile-action-btn.phone-btn svg{stroke-width:2.2}
.mobile-header .hamburger{width:44px;height:44px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;background:none;border:none;cursor:pointer}
.mobile-header .hamburger span{display:block;width:20px;height:2.5px;background:#333;border-radius:2px;transition:all .3s}
.mobile-drawer-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.5);z-index:9999;opacity:0;visibility:hidden;transition:all .3s;display:block!important}
.mobile-drawer-overlay.active{opacity:1;visibility:visible}
.mobile-drawer{position:fixed;top:0;right:-360px;width:360px;max-width:92vw;height:100%;background:#fff;z-index:10000;overflow-y:auto;transition:right .3s ease;box-shadow:-2px 0 20px rgba(0,0,0,.12);-webkit-overflow-scrolling:touch;display:block!important}
.mobile-drawer.active{right:0}
.drawer-header{display:flex;align-items:center;justify-content:space-between;padding:12px 12px 12px 16px;border-bottom:1px solid #eee}
.drawer-brand{font-size:13px;font-weight:700;color:#1a1a26;letter-spacing:.3px}
.drawer-close{width:36px;height:36px;background:none;border:none;font-size:24px;color:#999;cursor:pointer;display:flex;align-items:center;justify-content:center;border-radius:6px;margin-right:-6px}
.drawer-close:active{background:#f5f5f5}
.drawer-nav{padding:0}
.drawer-link{display:flex;align-items:center;padding:6px 20px;font-size:13px;color:#333;text-decoration:none;font-weight:500;transition:background .15s;-webkit-tap-highlight-color:transparent}
.drawer-link:active{background:#f5f5f5}
.drawer-group-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;padding:6px 20px;background:none;border:none;font-size:13px;font-weight:500;color:#333;cursor:pointer;font-family:inherit;transition:background .15s;-webkit-tap-highlight-color:transparent}
.drawer-group-toggle:active{background:#f5f5f5}
.drawer-arrow{font-size:9px;color:#999;transition:transform .3s}
.drawer-group.open .drawer-arrow{transform:rotate(180deg)}
.drawer-submenu{display:none;background:#f8f9fa;padding:2px 0}
.drawer-group.open .drawer-submenu{display:block}
.drawer-subgroup-title{padding:6px 20px 1px 28px;font-size:9px;font-weight:700;color:#F77C2A;text-transform:uppercase;letter-spacing:.4px}
.drawer-submenu a{display:block;padding:4px 20px 4px 28px;font-size:12px;color:#555;text-decoration:none;transition:background .15s}
.drawer-submenu a:active{background:#eee}
.drawer-divider{height:1px;background:#eee;margin:2px 20px}
.drawer-footer{display:flex;gap:10px;padding:16px 20px 20px}
.drawer-footer-btn{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;padding:8px 8px;border-radius:8px;font-size:12px;font-weight:600;cursor:pointer;font-family:inherit;text-decoration:none;transition:opacity .15s;min-height:36px;border:none}
.drawer-footer-btn:active{opacity:.8}
.drawer-footer-btn.primary{background:#F77C2A;color:#fff}
.drawer-footer-btn.primary svg{stroke:#fff}
.drawer-footer-btn.secondary{background:#f0f0f0;color:#333}
.drawer-footer-btn.secondary svg{stroke:#555}
}
@media(min-width:769px){
.mobile-header,.mobile-drawer,.mobile-drawer-overlay{display:none!important}
}

/* ===== FLOATING TELEGRAM ===== */
.tg-float{position:fixed;right:20px;bottom:100px;z-index:9999;width:52px;height:52px;border-radius:50%;background:#555;color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 16px rgba(0,0,0,.2);transition:transform .25s,box-shadow .25s,background .25s;text-decoration:none}
.tg-float:hover{transform:translateY(-3px) scale(1.05);background:#F77C2A;color:#fff;box-shadow:0 6px 24px rgba(247,124,42,.45)}
.tg-float svg{width:24px;height:24px}
@media(max-width:768px){.tg-float{display:none!important}}

/* ===== FLOATING CALLBACK ===== */
.callback-float{position:fixed;right:20px;bottom:162px;z-index:9999;width:44px;height:44px;border-radius:50%;background:linear-gradient(135deg,#F77C2A,#e06a15);color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 16px rgba(247,124,42,.3);transition:transform .25s,box-shadow .25s;border:none;cursor:pointer}
.callback-float:hover{transform:translateY(-3px) scale(1.05);box-shadow:0 6px 24px rgba(247,124,42,.45)}
.callback-float svg{width:20px;height:20px}
@media(max-width:768px){.callback-float{right:12px;bottom:134px;width:40px;height:40px;z-index:9998}.callback-float svg{width:18px;height:18px}}

/* ===== MOBILE BOTTOM BAR ===== */
.mobile-bottom-bar{display:none;position:fixed;bottom:0;left:0;right:0;z-index:99999;background:#fff;border-top:1px solid #eee;padding:8px 12px;gap:8px;box-shadow:0 -4px 16px rgba(0,0,0,.06)}
.mobile-bottom-bar .mbb-btn{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:8px 4px;border-radius:8px;font-size:10px;font-weight:600;color:#555;text-decoration:none;background:none;border:none;cursor:pointer;font-family:inherit;transition:background .15s}
.mobile-bottom-bar .mbb-btn:active{background:#f5f5f5}
.mobile-bottom-bar .mbb-btn.tg{color:#27a6e5}
.mobile-bottom-bar .mbb-btn.primary{background:linear-gradient(135deg,#F77C2A,#e06a15);color:#fff}
.mobile-bottom-bar .mbb-btn.primary:active{opacity:.9}
@media(max-width:768px){.mobile-bottom-bar{display:flex}}
@media(min-width:769px){.mobile-bottom-bar{display:none!important}}
