/* Shared navigation: Figma footer 2145:6706; mobile keeps all desktop actions reachable. */
.site-footer .site-footer__grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.site-footer .site-footer__nav{padding-inline:0 20px}
.site-footer .site-footer__grid>.site-footer__nav:first-of-type{padding-left:33px}
.site-footer .site-footer__about{padding-right:0}
.site-footer .site-footer__title,.site-footer .site-footer__logo{line-height:1.2}
.site-footer .site-footer__bottom{padding:12px 0 20px;gap:32px;min-height:53px}
.site-footer a{overflow-wrap:anywhere}
.mobile-menu .mobile-menu__city{display:flex;width:100%;gap:12px;align-items:center;padding:14px 0;margin:0 0 18px;background:none;border:0;border-bottom:1px solid #eff0f0;text-align:left;color:#242424;cursor:pointer}
.mobile-menu__city span{flex:1;min-width:0}.mobile-menu__city strong{display:block;overflow-wrap:anywhere;font-size:16px;font-weight:400}.mobile-menu__city small{display:block;font-size:11px;color:#7b7b7b}
.mobile-menu .mobile-menu__account{display:grid;gap:14px;margin-top:20px;padding-top:20px;border-top:1px solid #eff0f0}
.mobile-menu__account a{display:flex;align-items:center;gap:12px;font-size:16px}
.mobile-menu__account a:hover{color:#b7864f}
.site-header .city-dialog{max-width:calc(100% - 32px);max-height:calc(100% - 32px)}
.site-header .city-dialog__actions{flex-wrap:wrap}
.site-header .city-dialog__input{min-width:0;max-width:100%}
@media(max-width:1000px){.site-footer .site-footer__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 32px}.site-footer .site-footer__grid>.site-footer__nav:first-of-type{padding-left:0}.site-footer .site-footer__bottom{grid-template-columns:1fr;gap:8px}}
@media(max-width:620px){.site-footer .site-footer__grid{grid-template-columns:minmax(0,1fr);gap:0;min-height:0}.site-footer .site-footer__nav{padding-inline:0}.site-footer .site-footer__about .site-footer__nav{border-bottom:0}.site-footer .site-footer__bottom{border:0}.site-header .city-dialog{padding:22px}.site-header .city-dialog__actions{gap:16px}}
/* An alternate image is optional on every catalogue surface. */
.product-card:not(:has(.product-card__image--interior)):is(:hover,:focus-within) .product-card__image--primary{opacity:1}
:where(a,button,input,select,textarea,summary,[tabindex]):focus-visible { outline: 2px solid #242424; outline-offset: 3px; }
.side-drawer__panel { overscroll-behavior: contain; }
@media(max-width:1100px), (pointer:coarse) {
 .catalog-filter-panel__range input, .catalog-filter-panel__field input, .city-dialog__input { min-height:44px; font-size:16px; }
 .catalog-filter-panel button, .city-dialog__actions button { min-height:44px; }
 .js-menu-toggle, .js-menu-close, .js-catalog-filter-close { min-width:44px; min-height:44px; }
}
@media(prefers-reduced-motion:reduce) {
 html { scroll-behavior:auto !important; }
 .side-drawer, .side-drawer__panel, .product-card__image, .product-card__image--interior { transition:none !important; }
}
/* A 320px viewport may have a narrower content box when scrollbars are visible. */
body.site-body { min-width: 0; }
.catalog-search-form > .sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
/* Native Bitrix authorization keeps its form handlers and session protection. */
.bx-auth { width:100%; max-width:460px; margin:28px 0; font-size:15px; }
.bx-auth table { width:100%; max-width:100%; }
.bx-auth input[type=text], .bx-auth input[type=password], .bx-auth input[type=email] { width:100%; max-width:100%; min-height:44px; padding:10px 12px; border:1px solid #d5d5d5; border-radius:6px; font:inherit; background:#fff; }
.bx-auth input[type=submit] { min-height:44px; padding:10px 24px; border:0; border-radius:6px; background:#242424; color:#fff; cursor:pointer; font:inherit; }
.bx-auth input[type=checkbox] { width:18px; height:18px; accent-color:#242424; vertical-align:middle; }
.bx-auth a { color:#76552e; text-decoration:underline; }
.bx-auth-note { margin-bottom:16px; }
@media(max-width:600px) { .bx-auth tr,.bx-auth td { display:block; width:100%; padding:0; text-align:left; } .bx-auth tr { margin-bottom:16px; } .bx-auth td:empty { display:none; } .bx-auth input[type=text],.bx-auth input[type=password],.bx-auth input[type=email] { font-size:16px; margin-top:6px; } }
/* Bootstrap's clearfix pseudo-elements must not become header grid items. */
.site-header__desktop.container::before,.site-header__desktop.container::after,.site-header__mobile.container::before,.site-header__mobile.container::after { content:none; display:none; }
/* Authorization shown directly by the Bitrix prolog has no page container. */
main.page > .bx-auth { width:calc(100% - 32px); margin:32px auto 48px; }
main.page > .bx-auth .auth-page-title { font-size:clamp(26px,4vw,36px); line-height:1.25; margin:0 0 28px; }
