
:root{
  --navy:#0f1b33;
  --navy-2:#12213f;
  --navy-3:#1a2d52;
  --text:#172033;
  --muted:#5a677f;
  --line:#e4e9f3;
  --soft:#f4f7fb;
  --white:#ffffff;
  --accent:#c78a18;
  --shadow:0 18px 40px rgba(15,23,42,.08);
  --radius:20px;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:Inter,Arial,Helvetica,sans-serif;background:var(--soft);color:var(--text);line-height:1.7;overflow-x:hidden}
body.menu-open{overflow:hidden}
body.menu-open::before{content:"";position:fixed;inset:0;background:rgba(5,12,24,.42);backdrop-filter:blur(4px);z-index:59}
img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}
ul{padding-left:18px}
.container{width:min(1240px,calc(100% - 32px));margin:0 auto}

body p, body h1, body h2, body h3, body h4, body h5, body h6, body li, body a:not(.no-transform), body button, body label, body .meta-chip, body .btn, body .info-card strong, body th, body td { text-transform:capitalize; }
.no-transform, .no-transform *, a[href^='mailto:'], a[href^='tel:'], code, pre, input, textarea, option, select, .brand strong, .brand span, .top-email, .top-phone { text-transform:none !important; }

.top-strip{background:#09121f;color:#d9e1ee;border-bottom:1px solid rgba(255,255,255,.06)}
.top-strip-inner{min-height:40px;display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:8px 0}.top-b2b-badge{display:inline-flex;align-items:center;min-height:24px;padding:0 10px;border-radius:999px;background:rgba(199,138,24,.14);border:1px solid rgba(199,138,24,.34);color:#f2c56b;font-size:11px;font-weight:800;letter-spacing:.04em}.top-email,.top-phone{font-size:12px;color:#eef3fb;font-weight:600}.top-separator{width:1px;height:16px;background:rgba(255,255,255,.14)}

.site-header{position:sticky;top:0;z-index:60;background:linear-gradient(180deg,var(--navy),#0d1830);box-shadow:0 8px 26px rgba(0,0,0,.12)}
.header-row{display:flex;align-items:center;justify-content:space-between;gap:22px;min-height:82px}
.brand{display:flex;align-items:center;gap:14px;min-width:0}
.brand img{width:68px;height:68px;object-fit:contain;filter:drop-shadow(0 8px 18px rgba(0,0,0,.18))}
.brand-text{display:grid;gap:2px}
.brand-text strong{font-size:15px;color:#fff;line-height:1.1}
.brand-text span{font-size:11px;color:#c5d1e6;line-height:1.2}

.nav-shell{display:flex;align-items:center;gap:14px;margin-left:auto;position:relative}
.menu-toggle{display:none;position:relative;width:48px;height:48px;border-radius:16px;border:1px solid rgba(255,255,255,.14);background:linear-gradient(180deg,rgba(255,255,255,.09),rgba(255,255,255,.03));box-shadow:0 10px 24px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.06);cursor:pointer;padding:0;transition:transform .25s ease,background .25s ease,border-color .25s ease,box-shadow .25s ease;overflow:hidden}
.menu-toggle::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at top left,rgba(199,138,24,.22),transparent 52%);opacity:.9;pointer-events:none}
.menu-toggle:hover{transform:translateY(-1px);border-color:rgba(199,138,24,.45);box-shadow:0 14px 30px rgba(0,0,0,.22),0 0 0 1px rgba(199,138,24,.08) inset}
.menu-toggle span{position:absolute;left:13px;right:13px;height:2.5px;background:#fff;border-radius:999px;transition:transform .28s ease,opacity .22s ease,top .28s ease,background .28s ease,box-shadow .28s ease;box-shadow:0 0 12px rgba(255,255,255,.16)}
.menu-toggle span:nth-child(1){top:16px}
.menu-toggle span:nth-child(2){top:23px}
.menu-toggle span:nth-child(3){top:30px}
.menu-toggle.is-active span:nth-child(1){top:23px;transform:rotate(45deg)}
.menu-toggle.is-active span:nth-child(2){opacity:0;transform:scaleX(.4)}
.menu-toggle.is-active span:nth-child(3){top:23px;transform:rotate(-45deg)}
.nav-panel{display:flex;align-items:center;gap:20px}
.nav{display:flex;align-items:center;gap:8px}
.nav > a,.nav-link{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 13px;border-radius:12px;color:#d9e1ee;font-weight:700;font-size:13px}
.nav > a:hover,.nav-link:hover,.nav > a.active,.nav-link.active{background:rgba(255,255,255,.1);color:#fff;border-color:rgba(255,255,255,.1)}
.nav-item{position:relative}
.products-menu{display:flex;align-items:center}
.submenu-trigger{position:relative;display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:12px;border:1px solid rgba(255,255,255,.12);background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.03));color:#fff;cursor:pointer;margin-left:4px;transition:transform .22s ease,background .22s ease,border-color .22s ease,box-shadow .22s ease;flex-shrink:0}
.submenu-trigger:hover{background:rgba(255,255,255,.12);border-color:rgba(199,138,24,.4)}
.submenu-trigger span{display:block;width:10px;height:10px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-1px);transition:transform .22s ease}
.products-menu.open .submenu-trigger span{transform:rotate(225deg) translateY(-1px)}
.mega-menu{position:absolute;top:calc(100% + 12px);left:50%;transform:translateX(-50%) translateY(10px);min-width:620px;background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow);padding:18px;display:grid;grid-template-columns:1fr 1fr;gap:18px;opacity:0;visibility:hidden;pointer-events:none;transition:.22s ease}
.products-menu.open .mega-menu{opacity:1;visibility:visible;pointer-events:auto;transform:translateX(-50%) translateY(0)}
.mega-column{background:#f8fbff;border:1px solid #e7eef8;border-radius:18px;padding:16px}
.mega-column h4{margin:0 0 10px;font-size:16px;color:#111c34}
.mega-column a{display:block;padding:10px 12px;border-radius:12px;color:#22304a;font-weight:600}
.mega-column a:hover{background:#eef4ff}
.mega-column .all-link{background:#0f1b33;color:#fff}

.header-actions{display:flex;align-items:center;gap:10px}
.phone-chip,.header-login{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 14px;border-radius:12px;font-weight:700}
.phone-chip{border:1px solid rgba(255,255,255,.22);color:#fff;background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.03));font-size:12px;gap:8px}
.phone-chip:hover{background:rgba(255,255,255,.06)}
.header-login{background:#fff;color:#111c34}

.site-intro{position:fixed;inset:0;z-index:9999;background:radial-gradient(circle at center,#162745,#09121f);display:flex;align-items:center;justify-content:center}
.site-intro.hide{opacity:0;visibility:hidden;transition:.7s ease}
.intro-inner{text-align:center;color:#fff;display:grid;gap:10px}
.intro-inner img{width:124px;height:124px;object-fit:contain;filter:drop-shadow(0 10px 24px rgba(0,0,0,.25));margin:0 auto}
.intro-inner strong{font-size:26px}
.intro-inner span{color:#c3d0e4;font-weight:600}

.hero{padding:52px 0 40px;background:linear-gradient(180deg,#eef3fa,#f7f9fc)}
.hero-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:28px;align-items:center}
.eyebrow{display:inline-flex;padding:8px 14px;border-radius:999px;background:#f3e7c4;color:#8d6f1b;font-weight:700;font-size:13px;margin-bottom:16px}
.hero h1{font-size:44px;line-height:1.1;margin:0 0 16px;color:#10203c;max-width:760px}
.hero p{font-size:16px;color:var(--muted);max-width:760px}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 18px;border-radius:14px;font-weight:700;border:1px solid transparent}
.btn-primary{background:var(--navy);color:#fff}
.btn-secondary{background:#fff;color:var(--navy);border-color:var(--line)}
.btn-outline{background:transparent;color:#fff;border-color:rgba(255,255,255,.22)}
.btn-lg{min-height:50px;padding:0 22px}
.btn-sm{min-height:40px;padding:0 14px;font-size:13px}

.hero-side-cards{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.hero-side-card{background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow);padding:18px;text-decoration:none}
.hero-side-card img{width:100%;height:140px;object-fit:contain;margin-bottom:14px}
.hero-side-card h3{margin:0 0 8px;font-size:18px}
.hero-side-card p{margin:0;color:var(--muted);font-size:14px;line-height:1.6}

.section{padding:54px 0}
.section.alt{background:#edf2f8}
.section-head{display:flex;align-items:end;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-bottom:24px}
.section-title,.page-head h1{margin:0;font-size:34px;color:#10203c;line-height:1.14}
.section-subtitle,.page-head p{margin:8px 0 0;color:var(--muted)}
.link-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;border-radius:14px;background:var(--navy);color:#fff;font-weight:700}

.page-top-nav{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:0 0 22px;padding:12px 14px;background:#f7f9fc;border:1px solid var(--line);border-radius:16px}
.page-top-nav a,.page-top-nav .current{padding:8px 12px;border-radius:10px;font-weight:700}
.page-top-nav a{background:#fff;border:1px solid var(--line);color:#12213f}
.page-top-nav .current{background:#12213f;color:#fff}
.page-top-nav .sep{color:#96a1b4}

.catalog-search{background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow);padding:18px;margin:0 0 28px}
.catalog-search-grid{display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:14px;align-items:end}
.catalog-search-grid.compact-grid{grid-template-columns:2fr auto}
.field{display:grid;gap:8px}
.field label{font-size:13px;font-weight:700;color:#30415e}
.catalog-search input,.catalog-search select,.admin-form input,.admin-form select,.admin-form textarea{width:100%;min-height:48px;border:1px solid #d8e2f0;border-radius:14px;background:#fff;padding:12px 14px;font:inherit;color:#162033}
.admin-form textarea,.catalog-search textarea{min-height:120px}
.catalog-search-actions{display:flex;gap:10px;align-items:end}

.products-grid,.dynamic-products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.elevated-card,.premium-card,.content-card,.article-box,.info-card,.map-panel,.detail-media-card,.refined-detail-panel{background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow)}
.product-card{position:relative;border:1px solid rgba(16,32,60,.08);background:linear-gradient(180deg,#ffffff,#f7faff);border-radius:24px;box-shadow:0 20px 44px rgba(10,24,48,.08), inset 0 1px 0 rgba(255,255,255,.88);transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease}
.product-card::before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(199,138,24,.18),transparent 34%,transparent 70%,rgba(15,27,51,.08));opacity:0;transition:opacity .28s ease;pointer-events:none}
.product-card:hover{transform:translateY(-6px);box-shadow:0 28px 56px rgba(10,24,48,.14);border-color:rgba(199,138,24,.22)}
.product-card:hover::before{opacity:1}
.product-image-frame,.card-image-link{background:radial-gradient(circle at top,rgba(214,225,242,.42),rgba(255,255,255,.96) 62%);padding:18px 18px 8px}
.product-card img,.dynamic-card img{height:220px;transition:transform .32s ease,filter .32s ease}
.product-card:hover img{transform:scale(1.04);filter:drop-shadow(0 12px 20px rgba(15,27,51,.12))}
.product-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
.product-badge{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;background:linear-gradient(180deg,#132847,#0d1a31);color:#fff;font-size:11px;font-weight:800;letter-spacing:.04em;box-shadow:0 10px 24px rgba(15,27,51,.18)}
.product-content{display:flex;flex-direction:column;flex:1}
.product-content p{margin:0 0 18px;color:#59677f;line-height:1.72;min-height:74px}
.product-actions{margin-top:auto}
.btn-primary{background:linear-gradient(135deg,#c78a18,#f1c66c);color:#101722;box-shadow:0 12px 26px rgba(199,138,24,.25)}
.btn-primary:hover{transform:translateY(-1px)}
.btn-secondary{background:#10203c;color:#fff}
.footer-bottom{padding:0 0 22px;border-top:1px solid rgba(255,255,255,.08)}
.footer-bottom p{margin:0;padding-top:18px;text-align:center;color:#aebbd0;font-size:12px}.footer-bottom span{opacity:.55;padding:0 6px}
.back-to-top{position:fixed;right:18px;bottom:18px;min-width:62px;height:62px;padding:0 16px;border:none;border-radius:999px;background:linear-gradient(180deg,#132847,#0d1830);color:#fff;display:none;align-items:center;justify-content:center;gap:10px;box-shadow:0 18px 38px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.06);cursor:pointer;z-index:99;overflow:hidden}
.back-to-top::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at top left,rgba(199,138,24,.28),transparent 56%);pointer-events:none}
.back-to-top.show{display:inline-flex}.back-to-top-label{position:relative;font-size:12px;font-weight:800;letter-spacing:.04em}.wheel-icon{position:relative;display:inline-block;width:22px;height:22px;border:2px solid rgba(255,255,255,.92);border-radius:50%;box-shadow:inset 0 0 0 3px rgba(255,255,255,.08)}.wheel-icon::before,.wheel-icon::after{content:"";position:absolute;left:50%;top:50%;width:2px;height:14px;background:#fff;transform:translate(-50%,-50%)}.wheel-icon::after{transform:translate(-50%,-50%) rotate(90deg)}.wheel-icon{animation:wheelSpin 3.2s linear infinite}@keyframes wheelSpin{from{transform:rotate(0)}to{transform:rotate(360deg)}}

.product-image-frame,.card-image-link{display:block;background:#fff;padding:14px}
.product-card img,.dynamic-card img{width:100%;height:190px;object-fit:contain}
.product-content,.dynamic-card-body,.article-box,.content-card{padding:18px 18px 20px}
.product-category,.meta-chip{display:inline-flex;padding:7px 12px;border-radius:999px;background:#eef3fa;color:#30415e;font-size:12px;font-weight:800;margin-bottom:12px}
.product-card h3,.dynamic-card-body h3{margin:0 0 8px;font-size:20px;line-height:1.25;color:#10203c}
.product-card p,.dynamic-card-body p,.article-box p,.info-card p{margin:0;color:var(--muted);font-size:14px}
.product-actions,.link-row{margin-top:16px}

.category-section{margin-top:30px}
.category-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:16px}
.category-head h2{margin:0;font-size:28px}
.category-link{font-weight:700;color:#203459}

.refined-detail-layout{display:grid;grid-template-columns:.9fr 1.1fr;gap:28px;align-items:start}
.detail-media-card{padding:18px}
.detail-media{display:flex;align-items:center;justify-content:center;min-height:460px;background:#fff;border-radius:18px}
.detail-media img{width:100%;max-height:420px;object-fit:contain}
.refined-detail-panel{padding:24px}
.refined-detail-panel h1{margin:0 0 12px;font-size:38px;line-height:1.15;color:#10203c}
.detail-lead{font-size:16px;color:#44526a;margin:0 0 18px}
.detail-copy p{font-size:15px;color:#546278}
.detail-meta-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:24px 0}
.meta-box{background:#f7f9fc;border:1px solid var(--line);border-radius:16px;padding:14px}
.meta-box strong{display:block;font-size:12px;color:#42506a;margin-bottom:6px}
.meta-box span{font-weight:700;color:#10203c}
.tech-panel{margin-top:28px}
.small-head h2{margin:10px 0 0;font-size:28px}
.tech-table-wrap{background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow);overflow:hidden}
.tech-table{width:100%;border-collapse:collapse}
.tech-table th,.tech-table td{padding:15px 18px;border-bottom:1px solid #edf1f7;text-align:left;vertical-align:top}
.tech-table th{width:240px;background:#f7f9fc;color:#22314c;font-size:13px}
.tech-table td{color:#40516d}

.content-columns,.contact-info-grid,.service-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.service-links a{background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow);padding:18px;color:#10203c;font-weight:700}
.service-links a span{display:block;margin-top:8px;font-size:13px;color:var(--muted);font-weight:500}
.contact-layout{display:grid;grid-template-columns:1fr .95fr;gap:24px}
.map-panel{padding:12px}
.map-panel iframe{width:100%;min-height:520px;border:0;border-radius:18px}
.refined-article-box{padding:24px}
.info-card{padding:18px}

.empty-box{background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow);padding:28px}

.footer{background:#0d1526;color:#dce5f2;margin-top:56px}
.compact-footer{padding:34px 0;display:grid;grid-template-columns:1.2fr .8fr .9fr;gap:24px}
.footer h4{margin:0 0 12px;color:#fff}
.footer p,.footer li{color:#c2cede}
.footer ul{list-style:none;padding:0;margin:0}
.footer li{margin-bottom:8px}
.footer a{color:#eef4ff}


/* Admin */
.admin-body{background:#eef3fa}
.admin-shell{padding:34px 0 56px}
.admin-topbar{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-bottom:22px}
.admin-brand{display:flex;align-items:center;gap:14px}
.admin-brand img{width:64px;height:64px;object-fit:contain;filter:drop-shadow(0 8px 20px rgba(0,0,0,.12))}
.admin-brand strong{display:block;font-size:22px;color:#10203c}
.admin-brand small{display:block;color:#64748b}
.admin-actions{display:flex;gap:10px;flex-wrap:wrap}
.admin-btn,.admin-btn-outline{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 16px;border-radius:14px;font-weight:700}
.admin-btn{background:#12213f;color:#fff;border:none}
.admin-btn-outline{background:#fff;border:1px solid #d7deea;color:#10203c}
.admin-card,.form-card,.login-card{background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow)}
.form-card{padding:22px}
.refined-form-card textarea{min-height:160px}
.form-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.form-group{display:grid;gap:8px}
.form-group label{font-weight:700;color:#30415e;font-size:14px}
.image-preview img{width:100%;max-width:220px;border-radius:16px;background:#fff;padding:8px;border:1px solid var(--line)}
.success,.error{padding:14px 16px;border-radius:14px;margin:0 0 18px}
.success{background:#e9f8ef;color:#17623a}
.error{background:#fcebea;color:#992b2b}
.admin-grid.single-column{display:grid;grid-template-columns:1fr}
.admin-table-wrap{overflow:auto}
.admin-table{width:100%;border-collapse:collapse;min-width:860px}
.admin-table th,.admin-table td{padding:14px;border-bottom:1px solid #edf1f7;text-align:left}
.admin-table th{font-size:13px;color:#5c6b84}
.admin-table td img{width:72px;height:72px;object-fit:contain;background:#fff;border:1px solid var(--line);border-radius:14px;padding:6px}
.table-actions{display:flex;gap:8px;flex-wrap:wrap}
.login-wrap{min-height:calc(100vh - 120px);display:grid;place-items:center;padding:34px 0}
.refined-login-card{width:min(460px,calc(100% - 32px));padding:28px}
.login-logo-box{width:112px;height:112px;border-radius:28px;background:linear-gradient(180deg,#f8fbff,#edf3fa);display:grid;place-items:center;margin:0 auto 18px;box-shadow:var(--shadow)}
.login-logo-box img{width:84px;height:84px;object-fit:contain;filter:drop-shadow(0 8px 16px rgba(0,0,0,.12))}
.muted{color:#6b7b94}

@media (max-width: 1100px){
  .products-grid,.dynamic-products{grid-template-columns:repeat(2,minmax(0,1fr))}
  .catalog-search-grid{grid-template-columns:1fr 1fr}
  .detail-meta-cards{grid-template-columns:1fr}
  .hero-grid,.contact-layout,.content-columns,.contact-info-grid,.compact-footer,.service-links{grid-template-columns:1fr}
}
@media (max-width: 920px){
  .header-row{position:relative;min-height:78px;gap:12px}
  .brand{flex:1;min-width:0;padding-right:8px}
  .brand img{width:58px;height:58px;flex-shrink:0}
  .brand-text{min-width:0}
  .brand-text strong{font-size:15px;white-space:normal;word-break:break-word}
  .brand-text span{font-size:11px;white-space:normal;word-break:break-word}
  .nav-shell{position:static;flex-shrink:0;margin-left:0}
  .menu-toggle{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}
  .nav-panel{position:absolute;top:calc(100% + 12px);left:0;right:0;width:auto;max-width:100%;background:linear-gradient(180deg,#101c35,#0b1428);border:1px solid rgba(255,255,255,.08);border-radius:22px;box-shadow:0 26px 50px rgba(0,0,0,.28);padding:12px;display:flex;flex-direction:column;align-items:stretch;gap:12px;max-height:min(calc(100vh - 104px),560px);overflow-x:hidden;overflow-y:auto;z-index:120;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(-10px) scale(.98);transform-origin:top right;transition:opacity .24s ease,transform .28s ease,visibility .24s ease}
  .nav-panel.open{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0) scale(1)}
  .nav{display:flex;flex-direction:column;align-items:stretch;width:100%;min-width:0}
  .nav > a,.nav-link{justify-content:flex-start;width:100%;padding:13px 14px;white-space:normal;border-radius:14px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.06);min-width:0}
  .nav-item{width:100%}
  .products-menu{display:block;width:100%;overflow:hidden}
  .products-menu > .nav-link{padding-right:60px}
  .submenu-trigger{position:absolute;right:10px;top:8px;z-index:3}
  .mega-menu{position:static;transform:none;min-width:0;width:100%;margin-top:0;display:block;max-height:0;opacity:1;visibility:visible;pointer-events:auto;padding:0;border:none;box-shadow:none;background:transparent;overflow:hidden;transition:max-height .34s ease,margin-top .22s ease}
  .mega-menu > *{min-height:0;opacity:0;transform:translateY(-6px);transition:opacity .22s ease,transform .22s ease}
  .products-menu.open .mega-menu{max-height:680px;margin-top:10px}
  .products-menu.open .mega-menu > *{opacity:1;transform:translateY(0)}
  .mega-column{background:rgba(255,255,255,.05);border-color:rgba(255,255,255,.08);border-radius:16px}
  .mega-column h4,.mega-column a{color:#fff}
  .mega-column a{background:rgba(255,255,255,.04);margin-top:8px}
  .mega-column a:hover{background:rgba(255,255,255,.1)}
  .header-actions{display:grid;grid-template-columns:1fr;width:100%}
  .phone-chip,.header-login{width:100%;justify-content:center}
  .hero h1{font-size:32px}
  .hero-side-cards{grid-template-columns:1fr}
  .refined-detail-layout{grid-template-columns:1fr}
  .detail-media{min-height:320px}
  .detail-media img{max-height:280px}
  .form-grid{grid-template-columns:1fr}
}
@media (max-width: 640px){
  .container{width:min(100% - 20px,1240px)}
  .header-row{gap:10px}
  .brand img{width:52px;height:52px}
  .brand-text strong{font-size:14px}
  .brand-text span{font-size:10px}
  .nav-panel{left:0;right:0;border-radius:18px;max-height:min(calc(100vh - 96px),520px)}
  .hero{padding:36px 0 24px}
  .hero h1,.section-title,.page-head h1,.refined-detail-panel h1{font-size:28px}
  .products-grid,.dynamic-products{grid-template-columns:1fr}
  .catalog-search-grid,.catalog-search-grid.compact-grid{grid-template-columns:1fr}
  .phone-chip{font-size:12px}
}

@media (max-width: 920px){.top-strip-inner{gap:10px;padding:8px 0}.top-b2b-badge{order:1}.top-email{order:2}.top-separator{display:none}.top-phone{order:3}.header-actions{display:grid;grid-template-columns:1fr}.mega-column{padding:14px}.mega-column a{padding:11px 12px}}
@media (max-width:640px){.top-strip-inner{display:grid;grid-template-columns:1fr;align-items:start}.top-b2b-badge,.top-email,.top-phone{width:max-content;max-width:100%}.back-to-top{right:12px;bottom:12px;padding:0 14px;min-width:56px;height:56px}.back-to-top-label{display:none}}


.product-card,.dynamic-card{position:relative;overflow:hidden;border:1px solid rgba(18,32,60,.08);border-radius:24px;background:linear-gradient(180deg,#ffffff,#f7faff);box-shadow:0 18px 40px rgba(15,23,42,.08);transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease}
.product-card:hover,.dynamic-card:hover{transform:translateY(-6px);box-shadow:0 24px 52px rgba(15,23,42,.14);border-color:rgba(199,138,24,.28)}
.product-card::before,.dynamic-card::before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(199,138,24,.16),transparent 34%,transparent 68%,rgba(15,27,51,.08));opacity:0;transition:opacity .28s ease;pointer-events:none}
.product-card:hover::before,.dynamic-card:hover::before{opacity:1}
.product-card img,.dynamic-card img{background:radial-gradient(circle at top,#f8fbff,#eef3fa 70%);padding:18px}
.product-card h3,.dynamic-card-body h3{font-size:21px}
.product-actions .btn,.link-row .btn{box-shadow:0 10px 22px rgba(15,23,42,.08)}

@media (max-width: 920px){
  body.menu-open{overflow:hidden;touch-action:none}
  .site-header{z-index:1200}
  .header-row{min-height:74px;gap:10px}
  .brand img{width:54px;height:54px}
  .brand-text strong{font-size:14px}
  .brand-text span{font-size:10px}
  .nav-shell{position:static}
  .menu-toggle{display:inline-flex;align-items:center;justify-content:center;position:relative;z-index:1302;width:46px;height:46px;border-radius:15px}
  .nav-panel{position:fixed;top:0;right:0;bottom:0;left:auto;width:min(86vw,380px);max-width:380px;height:100dvh;background:linear-gradient(180deg,#101c35,#0b1428 68%,#08111f);border-left:1px solid rgba(255,255,255,.08);border-top:none;border-right:none;border-bottom:none;border-radius:26px 0 0 26px;box-shadow:-24px 0 48px rgba(0,0,0,.34);padding:88px 14px 18px;display:flex;flex-direction:column;align-items:stretch;gap:12px;overflow-x:hidden;overflow-y:auto;z-index:1301;opacity:1;visibility:visible;pointer-events:none;transform:translateX(104%);transition:transform .32s cubic-bezier(.22,.9,.27,1);}
  .nav-panel.open{pointer-events:auto;transform:translateX(0)}
  .nav{display:flex;flex-direction:column;align-items:stretch;width:100%;min-width:0}
  .nav > a,.nav-link{justify-content:flex-start;width:100%;padding:13px 14px;font-size:14px;line-height:1.3;white-space:normal;border-radius:16px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.07);min-width:0}
  .products-menu{display:block;width:100%;overflow:visible}
  .products-menu > .nav-link{padding-right:62px}
  .submenu-trigger{position:absolute;right:10px;top:9px;z-index:3;width:42px;height:42px;border-radius:14px}
  .mega-menu{position:static;left:auto;right:auto;transform:none;min-width:0;width:100%;display:grid;grid-template-columns:1fr;gap:12px;max-height:0;opacity:1;visibility:visible;pointer-events:auto;padding:0;margin-top:0;border:none;box-shadow:none;background:transparent;overflow:hidden;transition:max-height .34s ease,margin-top .22s ease}
  .mega-menu > *{min-height:0;opacity:0;transform:translateY(-6px);transition:opacity .22s ease,transform .22s ease}
  .products-menu.open .mega-menu{max-height:900px;margin-top:10px}
  .products-menu.open .mega-menu > *{opacity:1;transform:translateY(0)}
  .mega-column{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08);border-radius:18px;padding:14px}
  .mega-column h4{margin:0 0 8px;font-size:15px;color:#fff}
  .mega-column a{display:block;padding:12px 13px;margin-top:8px;border-radius:13px;background:rgba(255,255,255,.05);color:#fff;font-size:14px;font-weight:600}
  .mega-column .all-link{background:rgba(199,138,24,.22);border:1px solid rgba(199,138,24,.24)}
  .header-actions{display:grid;grid-template-columns:1fr;width:100%}
  .phone-chip,.header-login{width:100%;justify-content:center}
}
@media (max-width: 640px){
  .top-strip-inner{display:grid;grid-template-columns:1fr;gap:6px;align-items:start}
  .top-b2b-badge,.top-email,.top-phone{width:max-content;max-width:100%}
  .nav-panel{width:min(92vw,360px);padding-top:84px}
}


/* Unified mobile menu and UI polish v5 */
.top-phone,.phone-chip{font-size:13px}
.brand-text strong{font-size:28px}
.brand-text span{font-size:13px}
.footer-bottom p{font-size:12px}
.footer h4{font-size:16px}
.back-to-top{min-width:58px;height:58px;padding:0 14px;border-radius:18px;background:linear-gradient(180deg,#152d50,#0b1730);}
.back-to-top-label{font-size:11px;letter-spacing:.05em}
.back-to-top-arrow{position:relative;display:inline-block;width:18px;height:18px}
.back-to-top-arrow::before,.back-to-top-arrow::after{content:"";position:absolute;left:50%;top:50%;background:#fff;border-radius:999px;transform-origin:center}
.back-to-top-arrow::before{width:2px;height:14px;transform:translate(-50%,-50%)}
.back-to-top-arrow::after{width:10px;height:10px;border-top:2px solid #fff;border-left:2px solid #fff;background:none;transform:translate(-50%,-30%) rotate(45deg)}
.catalog-search-premium{background:linear-gradient(180deg,#f8fbff,#eef4fb);border:1px solid #dbe5f2;border-radius:22px;padding:16px 18px;box-shadow:0 16px 40px rgba(13,24,48,.08);margin-bottom:24px}
.search-input-wrap{position:relative}
.search-input-icon{position:absolute;left:14px;top:50%;transform:translateY(-50%);font-size:16px;color:#6f7d93;pointer-events:none}
.search-input-wrap input{padding-left:42px !important}
.mobile-sub-link{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-radius:16px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08);color:inherit;text-decoration:none;font-weight:700}
.mobile-sub-link::after{content:"›";font-size:20px;line-height:1;color:#c79a18}
@media (min-width:921px){
  .mega-menu{min-width:320px !important;grid-template-columns:1fr !important;padding:14px !important;gap:10px !important}
  .mobile-sub-link{background:#f8fbff;border-color:#dbe5f2;color:#10203c}
}
@media (max-width:920px){
  html,body{overflow-x:hidden !important;max-width:100% !important}
  body.menu-open{overflow:hidden}
  .top-strip-inner{gap:6px}
  .top-email,.top-phone{font-size:12px}
  .brand{max-width:calc(100% - 72px);gap:10px}
  .brand img{width:58px;height:30px;object-fit:contain}
  .brand-text strong{font-size:15px;line-height:1.2}
  .brand-text span{font-size:11px;line-height:1.25}
  .header-row{position:relative;align-items:center}
  .nav-shell{margin-left:auto;position:static}
  .menu-toggle{display:inline-flex !important;width:44px !important;height:44px !important;border-radius:14px !important;z-index:4002}
  .nav-panel{position:fixed !important;top:0 !important;right:0 !important;left:auto !important;bottom:0 !important;width:min(88vw,360px) !important;max-width:360px !important;height:100dvh !important;border-radius:26px 0 0 26px !important;padding:84px 14px 22px !important;background:linear-gradient(180deg,#0f1c33,#091221 72%,#07101d) !important;box-shadow:-24px 0 52px rgba(0,0,0,.42) !important;overflow-x:hidden !important;overflow-y:auto !important;display:flex !important;flex-direction:column !important;gap:12px !important;transform:translateX(104%) !important;opacity:1 !important;visibility:visible !important;pointer-events:none !important;z-index:4001 !important;border:none !important}
  .nav-panel.open{transform:translateX(0) !important;pointer-events:auto !important}
  .nav{display:flex !important;flex-direction:column !important;gap:10px !important}
  .nav > a,.nav-link{display:flex !important;align-items:center !important;min-height:56px !important;padding:16px 18px !important;border-radius:18px !important;background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.035)) !important;border:1px solid rgba(255,255,255,.08) !important;color:#f4f7ff !important;font-size:16px !important;font-weight:700 !important;text-decoration:none !important}
  .nav-item{display:block !important;position:relative !important;width:100% !important}
  .submenu-trigger{position:absolute !important;top:7px !important;right:8px !important;width:42px !important;height:42px !important;border-radius:14px !important;z-index:3 !important}
  .mega-menu{position:static !important;display:block !important;min-width:0 !important;width:100% !important;max-height:0 !important;overflow:hidden !important;margin-top:0 !important;padding:0 !important;opacity:1 !important;visibility:visible !important;pointer-events:auto !important;transform:none !important;border:none !important;box-shadow:none !important;background:transparent !important;transition:max-height .28s ease,margin-top .2s ease !important}
  .products-menu.open > .mega-menu{max-height:180px !important;margin-top:10px !important}
  .mobile-sub-link{min-height:54px !important;border-radius:16px !important;padding:15px 16px !important;background:rgba(255,255,255,.05) !important;color:#f4f7ff !important}
  .header-actions{display:flex !important;flex-direction:column !important;gap:10px !important}
  .phone-chip,.header-login{justify-content:center !important;min-height:50px !important;border-radius:16px !important}
}
@media (max-width:640px){
  .site-header{padding:12px 0}
  .top-strip{padding:6px 0}
  .footer-bottom p{font-size:11px}
}


/* Final clean v6 */
.site-intro{display:none !important;opacity:0 !important;visibility:hidden !important;pointer-events:none !important;}
.brand-text strong{font-size:24px;}
.brand-text span{font-size:12px;}
.top-phone,.phone-chip{font-size:12px;}
.footer-bottom p{font-size:11px;}
.footer h4{font-size:15px;}
.back-to-top{min-width:58px;height:58px;padding:0;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:radial-gradient(circle at 30% 30%, #284b7a, #0b1730 72%);border:1px solid rgba(255,255,255,.12);box-shadow:0 16px 34px rgba(7,16,29,.28);}
.back-to-top::before{content:"";position:absolute;inset:11px;border-radius:50%;border:2px solid rgba(255,255,255,.15);}
.back-to-top::after{content:"";position:absolute;width:2px;height:30px;background:linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.02));box-shadow:14px 0 0 rgba(255,255,255,.08), -14px 0 0 rgba(255,255,255,.08), 0 14px 0 rgba(255,255,255,.08), 0 -14px 0 rgba(255,255,255,.08);border-radius:999px;}
.back-to-top .back-to-top-label{display:none !important;}
.back-to-top-arrow{z-index:1;}
.products-menu-static{display:flex;align-items:center;position:relative;}
.products-menu-static .mega-menu{min-width:320px;grid-template-columns:1fr;gap:10px;padding:14px;}
.products-menu-static:hover .mega-menu,.products-menu-static:focus-within .mega-menu{opacity:1;visibility:visible;pointer-events:auto;transform:translateX(-50%) translateY(0);}
@media (max-width:920px){
  .brand-text strong{font-size:14px !important;}
  .brand-text span{font-size:10px !important;}
  .top-strip-inner{display:none !important;}
  .site-header{top:0;}
  .header-row{min-height:72px;}
  .nav-panel{width:min(90vw,360px) !important;padding:82px 14px 20px !important;}
  .products-menu-static{display:flex !important;flex-direction:column !important;align-items:stretch !important;width:100% !important;}
  .products-menu-static > .nav-link{margin-bottom:10px !important;}
  .products-menu-static .mega-menu{position:static !important;display:grid !important;grid-template-columns:1fr !important;max-height:none !important;overflow:visible !important;margin-top:0 !important;padding:0 !important;opacity:1 !important;visibility:visible !important;pointer-events:auto !important;transform:none !important;border:none !important;box-shadow:none !important;background:transparent !important;min-width:0 !important;width:100% !important;}
  .submenu-trigger{display:none !important;}
  .mobile-sub-link{min-height:54px !important;border-radius:16px !important;padding:15px 16px !important;background:rgba(255,255,255,.05) !important;color:#f4f7ff !important;}
}


/* ===== April 2026 final desktop menu + system pages patch ===== */
@media (min-width: 921px) {
  .nav{display:flex;align-items:center;gap:8px}
  .desktop-hover-menu{position:relative;padding-bottom:18px;margin-bottom:-18px}
  .desktop-hover-menu::after{content:"";position:absolute;left:-8px;right:-8px;top:100%;height:24px}
  .desktop-hover-menu > .nav-link{min-width:132px;gap:10px;padding:0 18px;height:46px;border-radius:14px;transition:background .22s ease,transform .22s ease,box-shadow .22s ease}
  .desktop-hover-menu > .nav-link:hover{transform:translateY(-1px);box-shadow:0 10px 22px rgba(9,18,33,.14)}
  .desktop-nav-caret{display:inline-block;width:9px;height:9px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-2px);transition:transform .22s ease}
  .desktop-hover-menu.open .desktop-nav-caret,
  .desktop-hover-menu:hover .desktop-nav-caret,
  .desktop-hover-menu:focus-within .desktop-nav-caret{transform:rotate(225deg) translateY(1px)}
  .products-desktop-menu{top:calc(100% + 2px) !important;left:50% !important;transform:translateX(-50%) translateY(8px) !important;min-width:340px !important;max-width:420px;border-radius:20px !important;padding:12px !important;gap:10px !important;grid-template-columns:1fr !important}
  .desktop-hover-menu:hover .products-desktop-menu,
  .desktop-hover-menu:focus-within .products-desktop-menu,
  .desktop-hover-menu.open .products-desktop-menu{opacity:1 !important;visibility:visible !important;pointer-events:auto !important;transform:translateX(-50%) translateY(0) !important}
  .products-desktop-menu a{display:flex !important;align-items:center !important;min-height:56px !important;padding:14px 16px !important;border-radius:16px !important;font-size:15px !important;font-weight:700 !important;color:#13213f !important;background:linear-gradient(180deg,#f8fbff,#edf3fa) !important;border:1px solid #dbe5f2 !important;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease,background .22s ease !important}
  .products-desktop-menu a:hover{transform:translateY(-2px) !important;box-shadow:0 14px 26px rgba(13,24,48,.10) !important;border-color:rgba(199,138,24,.34) !important;background:#fff !important}
}

.footer-bottom p{font-size:10.5px !important;letter-spacing:.03em}
.admin-footer{display:none !important}

.system-switcher-card{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:0 0 24px}
.system-switcher-item{display:flex;align-items:center;justify-content:center;min-height:56px;padding:0 18px;border-radius:18px;background:linear-gradient(180deg,#fff,#f1f6fc);border:1px solid #dbe5f2;box-shadow:0 12px 28px rgba(13,24,48,.06);font-size:15px;font-weight:800;color:#10203c;transition:transform .24s ease,box-shadow .24s ease,border-color .24s ease}
.system-switcher-item:hover{transform:translateY(-2px);box-shadow:0 18px 32px rgba(13,24,48,.10)}
.system-switcher-item.active{background:linear-gradient(180deg,#112241,#0d1830);color:#fff;border-color:#112241;box-shadow:0 18px 34px rgba(13,24,48,.18)}
.subcatalog-shell{display:grid;grid-template-columns:280px minmax(0,1fr);gap:22px;align-items:start}
.subcatalog-menu{position:sticky;top:108px;background:linear-gradient(180deg,#fff,#f6f9fd);border:1px solid #dce6f2;border-radius:24px;box-shadow:0 16px 34px rgba(13,24,48,.08);padding:18px}
.subcatalog-menu-head{display:flex;flex-direction:column;gap:4px;padding:2px 4px 14px}
.subcatalog-menu-head strong{font-size:16px;color:#10203c}
.subcatalog-menu-head span{font-size:12px;color:#66748d;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.subcatalog-link{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 14px;margin-bottom:10px;border-radius:16px;border:1px solid transparent;color:#12213f;background:rgba(255,255,255,.74);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease,background .22s ease}
.subcatalog-link span{font-weight:800;line-height:1.3}
.subcatalog-link small{font-size:12px;color:#687793;font-weight:700;white-space:nowrap}
.subcatalog-link:hover{transform:translateX(3px);border-color:#d4dfed;box-shadow:0 12px 22px rgba(13,24,48,.06)}
.subcatalog-link.active{background:linear-gradient(180deg,#12213f,#0d1830);color:#fff;border-color:#12213f;box-shadow:0 18px 32px rgba(13,24,48,.18)}
.subcatalog-link.active small{color:#d8e3f5}
.subcatalog-content{min-width:0}
.search-only-grid{grid-template-columns:minmax(0,1fr) auto !important}
.section-mini-head{margin:0 0 18px}
.section-mini-head h2{margin:0 0 8px;font-size:30px;color:#10203c}
.section-mini-head p{margin:0;color:#5d6d86}
.back-to-top-premium{border-radius:20px !important;min-width:64px !important;height:64px !important;padding:0 18px !important;background:linear-gradient(180deg,#132847,#091425) !important}
.back-to-top-premium::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 30% 30%,rgba(199,138,24,.18),transparent 58%)}
.back-to-top-premium .back-to-top-label{display:inline-block !important;font-size:11px !important}
.back-to-top-premium .back-to-top-arrow{width:18px;height:18px}

@media (max-width: 920px) {
  .system-switcher-card{grid-template-columns:1fr;gap:10px}
  .subcatalog-shell{grid-template-columns:1fr}
  .subcatalog-menu{position:static;top:auto;padding:14px}
  .subcatalog-link{padding:13px 14px}
  .search-only-grid{grid-template-columns:1fr !important}
}


.footer-bottom-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.footer-bottom-bar p{flex:1;text-align:left}.entry-button{display:inline-flex;align-items:center;justify-content:center;min-width:98px;height:36px;padding:0 16px;border-radius:999px;border:1px solid rgba(255,255,255,.14);background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.03));color:#eaf1fb;font-size:12px;font-weight:700;letter-spacing:.04em;text-decoration:none;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease,background .22s ease;box-shadow:0 10px 24px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.06)}.entry-button:hover{transform:translateY(-1px);border-color:rgba(199,138,24,.45);background:linear-gradient(180deg,rgba(199,138,24,.16),rgba(255,255,255,.04));box-shadow:0 14px 30px rgba(0,0,0,.22),0 0 0 1px rgba(199,138,24,.08) inset}.entry-button:focus-visible{outline:2px solid rgba(199,138,24,.58);outline-offset:2px}@media (max-width:640px){.footer-bottom-bar{justify-content:center}.footer-bottom-bar p{flex:0 0 100%;text-align:center}.entry-button{min-width:92px;height:34px;font-size:11px}}


.nav-entry-link{border:1px solid rgba(255,255,255,.12);border-radius:14px;padding:0 16px !important;height:42px;display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.03));box-shadow:0 10px 24px rgba(0,0,0,.12), inset 0 1px 0 rgba(255,255,255,.05);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease,background .22s ease;}
.nav-entry-link:hover{transform:translateY(-1px);border-color:rgba(199,138,24,.45);background:linear-gradient(180deg,rgba(199,138,24,.16),rgba(255,255,255,.04));box-shadow:0 14px 28px rgba(0,0,0,.18),0 0 0 1px rgba(199,138,24,.08) inset;}
@media (max-width:920px){.nav-entry-link{width:100%;height:48px;justify-content:flex-start;padding:0 16px !important;border-radius:16px;}}
.footer-bottom p,.footer-bottom-bar p{font-size:10px !important;letter-spacing:.025em !important;}


/* Panel navigation and role UI */
.panel-nav-wrap{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:18px 0 24px}
.panel-nav{display:flex;gap:10px;flex-wrap:wrap}
.panel-nav-link{display:inline-flex;align-items:center;min-height:42px;padding:0 16px;border-radius:14px;background:#fff;border:1px solid #d7deea;color:#11203c;text-decoration:none;font-weight:700;transition:all .2s ease}
.panel-nav-link:hover{transform:translateY(-1px);box-shadow:0 12px 24px rgba(16,32,60,.08);border-color:#aebcd2}
.panel-nav-link.active{background:#12213f;color:#fff;border-color:#12213f;box-shadow:0 12px 26px rgba(18,33,63,.22)}
.panel-role-badge{display:inline-flex;align-items:center;min-height:42px;padding:0 14px;border-radius:999px;background:rgba(18,33,63,.08);color:#12213f;font-weight:700}
.admin-overview-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0 0 22px}
.admin-shortcut-card{display:flex;flex-direction:column;gap:8px;padding:18px;border-radius:18px;background:#fff;border:1px solid #dbe3ee;text-decoration:none;color:#11203c;box-shadow:0 10px 24px rgba(17,32,60,.06);transition:transform .2s ease, box-shadow .2s ease}
.admin-shortcut-card:hover{transform:translateY(-2px);box-shadow:0 18px 32px rgba(17,32,60,.1)}
.admin-shortcut-card strong{font-size:16px}
.admin-shortcut-card span{color:#5a6980;line-height:1.5}
@media (max-width:1100px){.admin-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width:700px){.panel-nav-wrap{align-items:flex-start}.panel-nav{width:100%}.panel-nav-link{flex:1 1 calc(50% - 10px);justify-content:center}.panel-role-badge{width:100%;justify-content:center}.admin-overview-grid{grid-template-columns:1fr}}


/* 2026-04-02 clean final */
.back-to-top{display:none !important;opacity:0;visibility:hidden;transform:translateY(14px) scale(.94);transition:opacity .24s ease, transform .24s ease, visibility .24s ease;pointer-events:none;}
.back-to-top.show{display:inline-flex !important;opacity:1;visibility:visible;transform:translateY(0) scale(1);pointer-events:auto;}
.back-to-top-premium{right:18px;bottom:18px;min-width:54px !important;height:54px !important;padding:0 !important;border-radius:50% !important;background:linear-gradient(180deg,#162b49,#0b1730) !important;box-shadow:0 14px 28px rgba(7,16,29,.24) !important;}
.back-to-top-premium .back-to-top-label{display:none !important;}
.back-to-top-premium::before,.back-to-top-premium::after{display:none !important;}
.back-to-top-chevron{position:relative;display:block;width:16px;height:16px;}
.back-to-top-chevron::before{content:'';position:absolute;inset:0;border-top:2px solid #fff;border-left:2px solid #fff;transform:rotate(45deg) translate(2px,2px);}
.footer-bottom-bar p,.footer-bottom-bar a{font-size:11px;}
.footer-bottom-bar a{text-decoration:none;}
.footer-bottom-bar a:hover{text-decoration:underline;}
@media (max-width:640px){.back-to-top-premium{right:12px;bottom:12px;min-width:48px !important;height:48px !important;}}


/* 2026-04-04 CMS / admin polish */
.cms-custom-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.cms-custom-card{background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow);overflow:hidden;display:flex;flex-direction:column}
.cms-custom-card.has-image .cms-custom-media{aspect-ratio:16/9;overflow:hidden;background:#f3f6fb}
.cms-custom-card.has-image .cms-custom-media img{width:100%;height:100%;object-fit:cover;display:block}
.cms-custom-body{padding:18px}
.cms-custom-body h3{margin:10px 0 10px;font-size:20px;color:#10203c}
.cms-custom-body p{color:#5b6b83;line-height:1.75}
.cms-preview-card{position:sticky;top:22px}
.cms-live-preview{padding:18px;border:1px solid #e5ebf3;border-radius:18px;background:linear-gradient(180deg,#ffffff,#f7f9fc)}
.cms-live-preview h3{margin:12px 0 8px;font-size:22px;color:#10203c}
.cms-live-preview p{margin:0;color:#5b6b83;line-height:1.7}
.cms-live-preview-actions{margin-top:14px}
.cms-live-preview-image{margin-top:14px}
.cms-live-preview-image img{width:100%;max-height:240px;object-fit:cover;border-radius:16px;border:1px solid #dde5ef}
.cms-frame-wrap iframe{display:block}
.cms-editor-form:focus-within{box-shadow:0 0 0 2px rgba(18,33,63,.08), var(--shadow)}
@media (max-width:1100px){.cms-custom-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cms-preview-card{position:static}}
@media (max-width:700px){.cms-custom-grid{grid-template-columns:1fr}}
