/* Shared, script-free navigation. Loaded last on every page. */
.unified-header { background:#fff; color:#212529; padding:0; margin:0 0 20px; position:relative; z-index:20; }
.site-header-row { display:flex; flex-wrap:nowrap; align-items:flex-end; gap:1.15rem; min-height:72px; padding-top:.55rem; padding-bottom:.55rem; }
.site-brand { display:flex; flex-shrink:0; align-items:center; text-decoration:none; }
.site-brand img { display:block; height:40px; width:auto; max-width:180px; object-fit:contain; }
.site-desktop-nav { display:flex; flex:1; align-items:flex-end; gap:1.15rem; white-space:nowrap; }
.site-nav-link { color:#212529; text-decoration:none; font-size:1rem; line-height:1.4; }
.site-nav-link:hover,.site-nav-link:focus-visible { color:#0a58ca; text-decoration:underline; }
.site-nav-link[aria-current=page] { color:#0d6efd; font-weight:600; }
.unified-header .site-header-cta { flex-shrink:0; white-space:nowrap; background:#0d6efd; border:1px solid #0d6efd; color:white; border-radius:.35rem; padding:.6rem .9rem; font-size:1rem; font-weight:500; text-transform:none; letter-spacing:normal; text-decoration:none; }
.unified-header .site-header-cta:hover { background:#0b5ed7; border-color:#0a58ca; }
.site-mobile-menu { display:none; }
.site-mobile-menu summary { list-style:none; cursor:pointer; padding:.55rem .75rem; border:1px solid #ced4da; border-radius:.35rem; white-space:nowrap; }
.site-mobile-menu summary::-webkit-details-marker { display:none; }
.site-mobile-menu nav { position:absolute; top:100%; right:0; left:0; background:#fff; padding:1rem max(1rem,calc((100vw - 936px)/2)); border-bottom:1px solid #dee2e6; box-shadow:0 .5rem 1rem #0002; display:grid; gap:.3rem; }
.site-mobile-menu nav a { display:block; padding:.65rem .5rem; }
.site-mobile-cta { color:#0d6efd; font-weight:600; text-decoration:none; }
.inline-icon { width:1.25em; height:1.25em; vertical-align:-.22em; margin-right:.25rem; }
.feature-icon { display:block; width:80px; height:80px; margin:0 auto 15px; color:#7b4397!important; }
.static-tag { cursor:default; text-decoration:none!important; }
.static-faq summary { cursor:pointer; }
.product-price { color:#fff; border:1px solid #fff; padding:.65rem 1.25rem; border-radius:2rem; font-weight:600; }
body:has(.masthead) .unified-header { margin-bottom:0; }
body:has(.masthead) { height:auto; }
body:has(.masthead) .masthead { min-height:0; height:auto; padding:4rem 0; }
body:has(.masthead) .masthead .header-content { margin-bottom:1.5rem; }
body:has(.masthead) .cta-content .row { margin-left:0; margin-right:0; }
@media (max-width: 1199px) { .site-header-row { gap:.8rem; } .site-desktop-nav { gap:.8rem; } .site-brand img { max-width:150px; } }
@media (max-width: 991.98px) { .site-desktop-nav { display:none; } .site-mobile-menu { display:block; margin-left:auto; } .site-header-cta { margin-left:auto; } .site-header-row { min-height:64px; } }
@media (max-width: 575.98px) { .unified-header .site-header-cta { display:none; } .site-header-row { justify-content:space-between; } .site-mobile-menu { margin-left:auto; } body:has(.masthead) .cta-content .row > .col { flex:0 0 100%; margin-bottom:1rem; } }
@media print { .unified-header { display:none!important; } }

.site-mobile-menu:not([open]) > nav { display:none; }
.card-banner .caption { max-width:calc(100% - 2rem); }

/* Кладовщик+: secondary navigation, independent of global navigation. */
.product-page .unified-header { margin-bottom:0; }
.product-subheader { background:#f8f9fa; color:#212529; }
.product-subheader-row { display:flex; align-items:center; flex-wrap:wrap; gap:.75rem 1.5rem; min-height:56px; padding-top:.55rem; padding-bottom:.55rem; }
.product-subheader-brand { color:#7b4397; font-size:1.15rem; font-weight:700; white-space:nowrap; text-decoration:none; }
.product-subheader-nav { display:flex; flex:1; align-items:center; flex-wrap:wrap; gap:.45rem 1.15rem; }
.product-subheader-nav a { color:#343a40; text-decoration:none; font-size:.95rem; }
.product-subheader-brand:hover,.product-subheader-nav a:hover,.product-subheader-nav a:focus-visible { color:#7b4397; text-decoration:underline; }
.product-subheader-cta { color:#fff; background:#7b4397; border:1px solid #7b4397; border-radius:.35rem; padding:.45rem .8rem; font-size:.95rem; white-space:nowrap; text-decoration:none; }
.product-subheader-cta:hover,.product-subheader-cta:focus-visible { background:#66367f; color:#fff; }
@media (max-width:767.98px) {
  .product-subheader-row { gap:.6rem 1rem; }
  .product-subheader-nav { order:3; flex:0 0 100%; gap:.4rem 1rem; }
  .product-subheader-cta { margin-left:auto; }
}
@media print { .product-subheader { display:none!important; } }
