[hidden] { display: none !important; }
.page-main { min-height: 54vh; }
.home-cover { display: grid; gap: clamp(1.5rem, 5vw, 5rem); grid-template-columns: 1.2fr 1fr; align-items: center; margin-block: 2rem; }
.home-cover img { width: 100%; height: clamp(16rem, 35vw, 32rem); object-fit: cover; border-radius: 1rem; }
.home-cover h1 { font-size: clamp(2rem, 4.8vw, 4.25rem); line-height: 1.05; margin: 0 0 1.5rem; }
.collection-links, .department-links { display: grid; gap: 1rem; margin-block: 2rem; }
.collection-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.department-links { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.collection-links a, .department-links a { background: #eeebe5; padding: clamp(.8rem, 3vw, 2rem); border-radius: .8rem; text-align: center; text-decoration: none; font-weight: 650; }
.collection-links a { font-size: clamp(1.3rem, 3vw, 2.5rem); }
.collection-links a:hover, .department-links a:hover { background: #e5ddd0; }
.store-nav a { white-space: nowrap; }
.product-card-link { display: block; color: inherit; text-decoration: none; }
.product-card-link:hover .range-card-action { text-decoration: underline; }
.static-page { padding-block: clamp(2rem, 6vw, 5rem); }
.product-page-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 5rem); margin-top: 1.5rem; align-items: start; }
.product-page-layout figure { margin: 0; padding: 1rem; border-radius: 1rem; background: #f4f1ec; }
.product-page-layout img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.product-page-layout h1 { line-height: 1.1; margin-block: .6em; }
.product-page-layout dl { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.product-page-layout dd { margin: 0; }
.product-variants { display: flex; flex-wrap: wrap; gap: .5rem; margin-block: 1rem; }
.product-variants a { border: 1px solid #8b8277; border-radius: .5rem; padding: .4rem .75rem; }
.product-variants a[aria-current=page] { background: #292822; color: white; }
.product-page-price { display: block; font-size: 1.5rem; margin-block: 1rem; }
.site-footer { display: flex; flex-wrap: wrap; gap: 1.5rem 5rem; padding-block: 2rem; border-top: 1px solid #d7d0c6; }
.site-footer > div { display: grid; gap: .4rem; justify-items: start; }
.site-footer button, .privacy-banner button, #privacy-settings button { cursor: pointer; }
.privacy-banner { position: fixed; z-index: 20; inset: auto 1rem 1rem auto; max-width: min(32rem, calc(100% - 2rem)); padding: 1rem; border-radius: 1rem; background: #fff; color: #24221e; box-shadow: 0 .5rem 2rem #0003; }
.privacy-banner p { margin-top: 0; }
#privacy-settings { max-width: min(33rem, calc(100% - 2rem)); border: 0; border-radius: 1rem; padding: 1.5rem; }
@media (max-width: 660px) {
 .home-cover, .product-page-layout { grid-template-columns: 1fr; }
 .department-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
 .store-nav { overflow-x: auto; }
}

.nav-submenu { position: relative; }
.nav-submenu summary { cursor: pointer; font-weight: 590; white-space: nowrap; }
.nav-submenu > div { position: absolute; z-index: 15; min-width: 13rem; display: grid; gap: .65rem; padding: .9rem; background: #fff; border: 1px solid #d7d0c6; border-radius: .55rem; box-shadow: 0 .4rem 1.4rem #0002; }
.editorial-page { max-width: 58rem; }
.editorial-page h2 { margin-top: 1.5em; }
.constructor-steps { display: grid; gap: 1rem; justify-items: start; }
.constructor-steps fieldset { display: flex; flex-wrap: wrap; gap: .8rem 1.3rem; border: 1px solid #d7d0c6; border-radius: .55rem; padding: .8rem; }
.social-contacts { display: flex; flex-wrap: wrap; gap: 1rem; margin-block: 2rem; }
.social-contacts details { padding: .7rem 1rem; border: 1px solid #d7d0c6; border-radius: .65rem; }
.social-contacts summary { cursor: pointer; font-weight: 650; }
.social-logo { display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; color: #fff; border-radius: .65rem; font-size: .8rem; }
.social-logo.telegram { background: #087caa; font-size: 1.35rem; }
.social-logo.max { background: #4739bf; }
@media (max-width: 660px) {
 .store-nav { overflow: visible; }
 .nav-submenu > div { position: static; box-shadow: none; }
}

.product-gallery { display:flex; flex-wrap:wrap; gap:.5rem; margin-top:.8rem; }
.product-gallery button { width:4rem; padding:.2rem; border:1px solid #8b8277; background:#fff; border-radius:.4rem; cursor:pointer; }
.product-gallery button[aria-pressed=true] { outline:2px solid #292822; }
.product-page-layout video { display:block; width:100%; margin-top:1rem; }
