/* Shared shell follows the approved 1440 px Figma design. */
:root{--blue:#0c31b9;--paper:#f6f6f2;--ink:#141414;--muted:#747874;--line:#d8dbd7}
html{scroll-padding-top:16px}
.app-loading main{min-height:calc(100svh - var(--header))}.app-loading footer{visibility:hidden}
input,textarea,select{font:inherit}input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid #527aff;outline-offset:3px}
.header{background:#191b22;color:#afb4c0}.brand{margin:0 48px 0 32px}.brand img{display:block;width:152px;height:auto}.topnav{gap:12px}.topnav a{display:flex;align-items:center;gap:8px;height:34px;padding:0 12px;border-color:#333844;font:500 14px/20px Inter}.topnav a img{width:16px;height:16px}.header-secondary{margin-left:auto;display:flex;gap:24px;padding-left:32px;font:500 14px/20px Inter}.header-secondary a:hover{color:#fff}.phone{margin:0;padding:24px;font:500 20px/28px Inter;white-space:nowrap}.cart-trigger,.menu-trigger{flex:0 0 88px;height:88px}.cart-count{font-size:14px}.cart-trigger:hover{background:#262d40}
body.menu-open{overflow:hidden}.menu-panel{inset:var(--header) 0 0;padding:56px var(--page) 36px;background:radial-gradient(ellipse at 95% 110%,#0c31b933,transparent 65%),#0b0d12;max-height:none}.menu-panel nav{max-width:none;display:grid;grid-template-columns:1fr 1fr;gap:100px;margin:0}.menu-panel .menu-main>a{display:flex;align-items:center;justify-content:space-between;font:32px/1.4 Stolzl;border-bottom:1px solid #333844;padding:19px 0}.menu-main>a span{font:13px/20px Inter;color:#6f87e4}.menu-panel .menu-main>a:hover{color:#6f91ff}.menu-panel .menu-categories{display:block;margin:0}.menu-categories>p{font:13px/20px Inter;color:#747e94;margin:0 0 28px}.menu-panel .menu-categories a{font:17px/1.5 Inter;min-height:70px;gap:20px}.menu-contact{display:flex;gap:40px;padding-top:38px;color:#afb4c0;font-size:16px}
.category-intro{padding-top:0;padding-bottom:56px}.category-intro .breadcrumbs{height:72px}.category-heading{padding-top:40px;gap:40px}.category-heading h1{line-height:1.125;letter-spacing:-.04em}.catalog-toolbar{min-height:72px;gap:24px}.product-card{padding:24px;min-height:588px}.product-card h2{line-height:1.32;letter-spacing:-.025em}.product-meta{height:144px}.product-meta>p{font-size:13px;line-height:20px;margin-top:8px}.product-image{flex:1 1 268px;min-height:240px;max-height:268px;margin:0 0 24px}.add-button{font-size:16px;border-color:#141414;border-radius:4px}.product-crumbs{height:72px;white-space:nowrap;overflow:auto}.product-crumbs>*{flex-shrink:0}
.site-footer{isolation:isolate;padding:72px 48px 40px;min-height:640px;grid-template-columns:1.65fr .9fr 1.1fr;grid-template-rows:1fr auto;gap:40px;background:linear-gradient(180deg,#0b0d12 0%,#0b0d12 20%,#0c31b9 70%,#2148d2 100%)}
.site-footer:before{content:'';position:absolute;inset:12% -35% -45%;z-index:-1;background:radial-gradient(ellipse at 20% 70%,#527affbb,transparent 55%),radial-gradient(ellipse at 80% 65%,#0b229c,transparent 60%);filter:blur(35px);opacity:.65;animation:footer-light 15s ease-in-out infinite alternate;pointer-events:none}
.site-footer:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(#0b0d12 0%,#0b0d12d9 19%,transparent 60%);pointer-events:none}
@keyframes footer-light{0%{transform:translate(-8%,8%) scale(1);opacity:.55}50%{transform:translate(7%,-8%) scale(1.12);opacity:.9}100%{transform:translate(-2%,2%) scale(1.04);opacity:.65}}
.footer-brand{display:flex;flex-direction:column;align-items:flex-start;gap:24px}.site-footer .footer-brand p{font:40px/48px Stolzl;letter-spacing:-.02em;margin:0}.footer-cta{display:flex;align-items:center;justify-content:space-between;gap:30px;width:228px;height:56px;border:1px solid #fff;border-radius:12px;backdrop-filter:blur(30px);background:#69696933;padding:0 20px 0 24px;font:500 16px/24px Inter;transition:background .2s}.footer-cta:hover{background:#ffffff22}.footer-cta span{font-size:24px}.site-footer nav{display:flex;gap:0;align-items:flex-start;font:20px/30px Inter}.site-footer nav>a{padding:7px 0}.site-footer a:hover{color:white;text-shadow:0 0 12px #ffffff55}.site-footer .footer-label{font:14px/22px Inter;opacity:.6;color:#fff;margin:0 0 16px}.site-footer .footer-contact{gap:0}.site-footer .footer-contact>a{font:20px/30px Inter;padding:7px 0}.site-footer .footer-contact>a:first-of-type{font-size:24px;line-height:34px}.site-footer .footer-contact p{font:16px/24px Inter;margin:16px 0 12px;max-width:none;opacity:.8}.site-footer .footer-contact .all-contacts{font-size:18px}.site-footer .footer-bottom{grid-column:1/-1;display:flex;justify-content:space-between;gap:24px;align-items:center;margin:28px 0 0;padding:0;border:0;font:14px/22px Inter;opacity:.85}.footer-bottom button{background:none;padding:12px 0;color:inherit;font:inherit}
.cart-footer .primary{width:100%;border-radius:4px}.copy-cart{display:block;margin:16px auto;background:none;color:var(--blue);font-size:13px;padding:6px}.cart-footer>p{font-size:12px}.quantity button:disabled{opacity:.35}
#inquiry-dialog{width:min(680px,calc(100vw - 32px));max-width:none;height:auto;max-height:calc(100dvh - 48px);margin:auto;padding:36px;border-radius:16px;background:#fff}#inquiry-dialog .drawer-head h2{font-size:32px;line-height:1.2;max-width:90%}.inquiry-intro{font-size:15px;color:var(--muted);margin:22px 0;line-height:1.6}#inquiry-items{font-size:13px;margin-bottom:24px}#inquiry-items>div{display:flex;justify-content:space-between;gap:18px;padding:12px 0;border-bottom:1px solid var(--line)}#inquiry-items strong{font-weight:400;white-space:nowrap;color:var(--blue)}.inquiry-form{display:flex;flex-direction:column;gap:18px}.inquiry-form>label{display:flex;flex-direction:column;gap:8px;font-size:13px}.inquiry-form label>span{color:var(--muted)}.inquiry-form input:not([type=checkbox]),.inquiry-form textarea{border:1px solid #d1d4d5;border-radius:6px;background:#fff;padding:16px;width:100%;font-size:15px;resize:vertical}.inquiry-form .consent{display:flex;flex-direction:row;align-items:flex-start;gap:10px;line-height:1.5}.consent input{width:17px;height:17px;accent-color:var(--blue);flex-shrink:0;margin:2px 0}.inquiry-form>.primary{border-radius:4px}.local-mode-note{font-size:12px;line-height:1.5;color:var(--muted)}[data-form-status]{font-size:13px;line-height:1.6;color:var(--blue)}[data-form-status]:empty{display:none}[data-form-status][data-state=error]{color:#b52b2b}
@media(min-width:821px){.product-stage{grid-template-columns:23% 42% 35%;padding-top:40px;padding-bottom:40px}.product-copy h1{font-size:40px;line-height:1.18;margin-top:24px;letter-spacing:-.035em}.product-copy h1.long-name{font-size:36px}.product-action{width:100%;padding-right:12px}.product-visual{margin:0 0 0 0}.product-features{padding-left:28px}.product-subtitle{font-size:16px}.sizes{margin-top:24px}}
@media(max-width:1280px){.header-secondary{display:none}.phone{margin-left:auto}.brand{margin-right:32px}.topnav{gap:8px}.site-footer{grid-template-columns:1.4fr .8fr 1fr;gap:32px}.site-footer .footer-brand p{font-size:34px;line-height:42px}}
@media(max-width:1100px){.topnav a{font-size:12px;gap:5px;padding:0 9px}.phone{font-size:16px;padding:20px}.brand{margin-left:24px;margin-right:24px}.site-footer{padding-left:32px;padding-right:32px}.site-footer .footer-contact>a:first-of-type{font-size:20px}.product-card{padding:24px 18px;min-height:560px}.product-card h2{font-size:21px}.menu-panel nav{gap:60px}}
@media(max-width:820px){:root{--header:72px}.header{height:72px}.brand{margin:0 auto 0 24px}.brand img{width:148px}.header .topnav,.header .phone,.header-secondary{display:none}.cart-trigger,.menu-trigger{height:72px;flex-basis:72px;width:72px}.menu-panel{padding:24px}.menu-panel nav{grid-template-columns:1fr;gap:36px}.menu-panel .menu-main>a{font-size:25px;padding:13px 0}.menu-panel .menu-categories a{min-height:54px;font-size:15px}.menu-categories>p{margin-bottom:14px}.menu-contact{flex-direction:column;gap:12px;padding-top:28px}.category-intro{padding-bottom:40px}.category-intro .breadcrumbs{height:60px}.category-heading{padding-top:24px}.product-card{min-height:560px}.product-meta{height:128px}.site-footer{padding:48px 24px 24px;grid-template-columns:1fr 1fr;gap:44px 28px}.footer-brand{grid-column:1/-1;gap:24px}.site-footer .footer-brand p{font-size:32px;line-height:40px}.site-footer .footer-contact{grid-column:auto}.site-footer nav{font-size:17px;line-height:26px}.site-footer .footer-contact>a,.site-footer .footer-contact>a:first-of-type{font-size:17px;line-height:26px}.site-footer .footer-contact p{font-size:14px}.site-footer .footer-bottom{font-size:11px;flex-wrap:wrap;gap:16px}.site-footer .footer-bottom>span:nth-child(2){display:none}.product-crumbs{height:60px;font-size:11px;gap:10px}}
@media(max-width:520px){.product-card{min-height:560px;padding:24px}.product-meta{height:auto;min-height:100px}.product-card h2{font-size:24px}.product-image{max-height:310px;flex-basis:280px;min-height:250px;margin:20px 0 26px}.category-heading h1{font-size:38px}.site-footer{grid-template-columns:1fr}.site-footer nav{grid-column:1}.site-footer .footer-contact{grid-column:1}.site-footer nav{display:grid;grid-template-columns:1fr 1fr;column-gap:20px}.site-footer nav>.footer-label{grid-column:1/-1}.site-footer .footer-brand p{font-size:30px;line-height:38px}.site-footer .footer-bottom{grid-column:1}#inquiry-dialog{padding:24px;max-height:calc(100dvh - 24px)}#inquiry-dialog .drawer-head h2{font-size:26px}.inquiry-intro{font-size:14px}}
@media(prefers-reduced-motion:reduce){.site-footer:before{animation:none}}

/* Contact details for all three offices, verified against gksmk.ru/contacts. */
.site-footer{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto auto auto;row-gap:48px}
.site-footer>nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-content:start;column-gap:24px;padding-top:0}
.site-footer>nav>.footer-label{grid-column:1/-1}
.footer-contacts{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px;border-top:1px solid #ffffff30;padding-top:36px}
.site-footer .footer-contact{grid-column:auto;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:0}
.site-footer .footer-contact>.footer-label{font:500 15px/24px Inter;opacity:.8;margin:0 0 16px}
.footer-phones{display:flex;flex-direction:column;align-items:flex-start;gap:0}
.site-footer .footer-phones a{font:16px/24px Inter;padding:5px 0;white-space:nowrap}
.site-footer .footer-phones .footer-primary-phone{font:500 24px/34px Inter;margin-bottom:4px}
.site-footer .footer-contact>a.footer-email{font:18px/28px Inter;padding:6px 0;margin-top:12px;overflow-wrap:anywhere}
.site-footer .footer-contact address{font:16px/25px Inter;color:#d4dcf3;max-width:310px;margin-top:12px}
.site-footer .footer-bottom{margin-top:0;padding-top:24px;border-top:1px solid #ffffff30}
.site-footer a:focus-visible{outline:2px solid white;outline-offset:5px;border-radius:2px}
@media(max-width:1100px){.footer-contacts{gap:24px}.site-footer>nav{column-gap:16px}.site-footer .footer-phones .footer-primary-phone{font-size:21px;line-height:30px}.site-footer .footer-contact>a.footer-email{font-size:16px}.site-footer .footer-contact address{font-size:14px;line-height:23px}}
@media(max-width:820px){.site-footer{grid-template-columns:1fr;row-gap:36px}.site-footer>nav{grid-column:1}.footer-contacts{grid-template-columns:1fr;gap:28px;padding-top:28px}.site-footer .footer-contact+.footer-contact{padding-top:28px;border-top:1px solid #ffffff30}.site-footer .footer-phones a{padding-block:10px}.site-footer .footer-contact>a.footer-email{padding-block:10px}.site-footer .footer-contact address{max-width:360px}}
@media(max-width:520px){.site-footer>nav{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Keep footer actions and office details aligned. */
.site-footer .footer-cta{width:max-content;min-width:228px;white-space:nowrap}
@media(min-width:821px){.site-footer .footer-phones{min-height:150px}}

/* Keep contact anchors clear of the fixed navigation. */
#footer-contacts{scroll-margin-top:calc(var(--header,88px) + 20px)}

/* Direct MAX contacts for the three divisions. */
a.max-link{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;max-width:100%;padding:10px 14px;border:1px solid #183acb33;border-radius:10px;background:#183acb08;color:var(--blue);font:500 14px/22px Inter;text-decoration:none;transition:background .2s,border-color .2s,color .2s}
.max-icon{display:block;flex:0 0 24px;width:24px;height:24px}
.max-link-arrow{font-size:17px;line-height:1;margin-left:3px}
a.max-link:hover{background:#183acb12;border-color:#183acb70}
a.max-link:focus-visible{outline:2px solid #527aff;outline-offset:4px}
.site-footer .footer-contact>a.max-link{font:500 14px/22px Inter;padding:10px 14px;margin-top:20px;color:#fff;background:#ffffff0d;border-color:#ffffff40}
.site-footer .footer-contact>a.max-link:hover{background:#ffffff1f;border-color:#ffffff80}
.contacts-details>a.max-link{margin-top:22px}
@media(min-width:821px){.site-footer .footer-contact address{min-height:50px}}
@media(prefers-reduced-motion:reduce){a.max-link{transition:none}}

/* Direct contact page access in the header, replacing the phone. */
.header-contact{display:flex;align-items:center;flex-shrink:0;min-height:44px;padding:12px 24px;color:inherit;font:500 14px/20px Inter;white-space:nowrap}
.header-contact:hover{color:#fff}
.header-contact:focus-visible{outline:2px solid #819cff;outline-offset:-5px;border-radius:8px}
@media(max-width:1500px){.header-contact{margin-left:auto}}
@media(max-width:1100px) and (min-width:821px){.header-contact{padding-inline:12px}.header .brand{margin-right:14px}.header .topnav{gap:5px}.header .topnav a{white-space:nowrap}.has-product-search .header .product-search-trigger{margin-left:0}}
@media(max-width:820px){.header-contact{display:none}}

/* Let the highlight travel across the official lockup. */
.footer-logo {
  display: block;
  position: relative;
  width: min(216px, 100%);
}
.footer-logo img {
  display: block;
  width: 100%;
  height: auto;
}
@supports (mask-image: url("assets/site-shell/smk-brand.svg")) or (-webkit-mask-image: url("assets/site-shell/smk-brand.svg")) {
  .footer-logo::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    -webkit-mask: url("assets/site-shell/smk-brand.svg") center / contain no-repeat;
    mask: url("assets/site-shell/smk-brand.svg") center / contain no-repeat;
    background: linear-gradient(112deg, transparent 30%, #0b0d1226 39%, #244bd994 47%, #91adffc2 51%, #527aff7a 55%, transparent 65%);
    background-size: 280% 100%;
    background-position: 100% 50%;
    animation: footer-logo-sweep 9s ease-in-out infinite alternate;
  }
  @keyframes footer-logo-sweep {
    from { background-position: 100% 50%; }
    to { background-position: 0% 50%; }
  }
  @media (prefers-reduced-motion: reduce) {
    .footer-logo::after { animation: none; background-position: 50% 50%; }
  }
}
@media (min-width: 821px) and (max-width: 950px) {
  .brand img { width: 120px; }
}
@media (max-width: 820px) {
  .footer-logo { width: min(194px, 100%); }
}
