/* Shared native shell: Navbar 233:328/359 + OnImage 405:3617, Footer 201:326/498. */
:root{--d2-canvas-max-width:1440px}
.hf-header,.hf-footer{--home-shell-deep:var(--d2-lilac-deep);--home-shell-muted:var(--d2-lilac-muted);--home-shell-soft:var(--d2-lilac-soft);--home-shell-mist:var(--d2-lilac-mist);--home-shell-pale:var(--d2-lilac-pale);--home-shell-line:var(--d2-on-dark-border);--home-shell-body:var(--simkha-font-body,Roboto,Arial,sans-serif);font-family:var(--home-shell-body);font-weight:400;line-height:1.4;box-sizing:border-box}
.hf-header *,.hf-footer *{box-sizing:border-box}
.hf-header a,.hf-header button,.hf-header summary,.hf-footer a,.hf-footer button,.hf-footer summary{font-family:inherit;color:inherit;text-decoration:none;box-shadow:none;transform:none;transition:none;cursor:pointer}
.hf-header button,.hf-footer button{font-size:inherit;font-weight:inherit;background:transparent;border:0;border-radius:0;padding:0;margin:0}
.hf-header :focus-visible,.hf-footer :focus-visible{outline:2px solid currentColor;outline-offset:4px}
.hf-header img,.hf-footer img{display:block;max-width:none;margin:0}
.hf-header [hidden],.hf-footer [hidden]{display:none!important}
.hf-visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.hf-header{position:absolute;inset:16px 48px auto;z-index:50;display:flex;align-items:center;justify-content:space-between;height:44px;color:var(--home-shell-pale);font-size:16px}
.hf-header__links{display:flex;align-items:center;gap:48px;position:relative;z-index:1}
.hf-header__links>a{display:flex;align-items:center;min-height:44px;color:var(--home-shell-soft)}
.hf-header__links>a[aria-current]{color:var(--home-shell-pale)}
.hf-header__brand{position:absolute;left:50%;top:0;transform:translateX(-50%)!important;display:flex;align-items:center;justify-content:center;width:106.333px;height:44px}
.hf-logo{display:block;position:relative;flex:none}
.hf-logo--header{width:106.333px;height:22px}
.hf-logo__mark{position:absolute;left:0;top:0}
.hf-logo--header .hf-logo__word{position:absolute;left:25.04px;top:.09px}
.hf-header__right{display:flex;align-items:center;gap:48px;width:407px}
.hf-header__search{display:flex;align-items:center;gap:8px;flex:1;min-width:0;padding:8px;border-bottom:1px solid var(--home-shell-soft);height:38px;margin:0;color:var(--home-shell-soft)}
.hf-header__search button{display:flex;align-items:center;justify-content:center;flex:none;min-width:20px;min-height:22px}
.hf-header__search input{display:block;background:none;border:0;border-radius:0;padding:0;margin:0;font:inherit;line-height:22px;color:inherit;width:100%;min-width:0;box-shadow:none;outline-offset:3px}
.hf-header__search input::placeholder{color:var(--home-shell-soft);opacity:1}
.hf-header__utilities{display:flex;align-items:center;gap:10px;flex:none}
.hf-header .hf-icon-action{display:flex;position:relative;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;min-height:44px;flex:none}
.hf-cart-count{position:absolute;right:0;top:0;display:flex;align-items:center;justify-content:center;min-width:17px;height:17px;padding:0 3px;border-radius:24px;background:var(--home-shell-muted);color:var(--home-shell-pale);font-size:10px;line-height:1}
.hf-header .hf-header__menu-toggle,.hf-header__mobile-divider{display:none}
.hf-cooperation{position:relative}
.hf-cooperation>summary{display:flex;align-items:center;min-height:44px;list-style:none;color:var(--home-shell-soft)}
.hf-cooperation>summary::-webkit-details-marker,.hf-mobile-cooperation>summary::-webkit-details-marker,.hf-footer__group>summary::-webkit-details-marker{display:none}
.hf-cooperation__groups{display:flex;gap:32px;padding:16px;background:var(--home-shell-mist);color:var(--home-shell-muted);border:1px solid var(--home-shell-soft);border-radius:8px;text-align:left}
.hf-cooperation>.hf-cooperation__groups{position:absolute;left:0;top:44px;width:max-content;max-width:calc(100vw - 96px)}
.hf-cooperation__groups section{min-width:0}
.hf-cooperation__groups h2{font:500 16px/1.4 var(--home-shell-body);color:var(--home-shell-deep);margin:0 0 8px}
.hf-cooperation__groups a{display:flex;align-items:center;min-height:36px;white-space:nowrap}
.hf-cooperation:not([open])>.hf-cooperation__groups{display:none}
.hf-mobile-panel{position:absolute;top:60px;left:0;right:0;display:flex;flex-direction:column;gap:var(--d2-space-16);max-height:calc(100dvh - 92px);overflow:auto;padding:0;background:var(--home-shell-pale);color:var(--home-shell-deep);border:0;border-radius:0;font-size:16px}
.hf-mobile-panel__primary{display:flex;flex-direction:column}
.hf-mobile-panel__primary>a,.hf-mobile-cooperation>summary{display:flex;align-items:center;min-height:44px;padding:var(--d2-space-12) 0;list-style:none}
.hf-mobile-panel__primary>a{border-bottom:1px solid var(--home-shell-soft)}
.hf-mobile-panel__utilities{display:flex;flex-wrap:wrap;gap:0 var(--d2-space-24);font-size:14px}
.hf-mobile-panel__utilities>a{display:flex;align-items:center;min-height:44px}
.hf-mobile-panel__search{display:flex;align-items:center;gap:var(--d2-space-8);min-height:44px;margin:0;padding:var(--d2-space-8);border-bottom:1px solid var(--home-shell-soft);font-size:14px;color:var(--d2-text-secondary)}
.hf-mobile-panel__search input{min-width:0;width:100%;border:0;border-radius:0;background:none;color:inherit;font:inherit;padding:0}
.hf-mobile-panel__search input::placeholder{color:inherit;opacity:1}
.hf-mobile-panel__search button{position:relative;display:flex;align-items:center;justify-content:center;flex:none;min-width:20px;min-height:28px}
.hf-mobile-panel__search button::before{content:"";position:absolute;inset:50% auto auto 50%;width:44px;height:44px;transform:translate(-50%,-50%)}
.hf-mobile-panel .hf-cooperation__groups{display:flex;flex-direction:column;gap:16px;padding:16px 0;border:0;background:none}
.hf-mobile-panel .hf-cooperation__groups a{white-space:normal;min-height:44px;font-size:14px}
.hf-footer{background:var(--home-shell-deep);color:var(--home-shell-pale);font-size:14px;line-height:20px}
.hf-footer h2,.hf-footer h3{font:500 14px/20px var(--home-shell-body);letter-spacing:0;margin:0;color:var(--home-shell-pale)}
.hf-footer p,.hf-footer address{font:400 14px/1.4 var(--home-shell-body);color:var(--home-shell-soft);margin:0}
.hf-footer a{color:var(--home-shell-soft);line-height:1.4}
/* Figma 199:193: TILE, scalingFactor .5; original asset 2800 x 122. */
.hf-footer__ornament{height:48px;background-image:url('../img/design2-shell/ornament.png');background-repeat:repeat-x;background-size:auto 61px;background-position:left top}
.hf-footer__content{width:100%;max-width:1400px;margin:auto;padding:32px 40px}
.hf-footer__intro{display:flex;align-items:center;justify-content:space-between;gap:48px;padding-bottom:24px;border-bottom:1px solid var(--home-shell-line)}
.hf-footer__brand{width:220px;height:52px;display:flex;align-items:center;flex:none}
.hf-logo--footer{width:220px;height:46px}
.hf-logo--footer .hf-logo__word{position:absolute;left:51.81px;top:.18px}
.hf-footer__help{display:flex;align-items:center;gap:24px}
.hf-footer__help h2{font-size:14px}
.hf-footer .hf-footer__contact-action{display:flex;align-items:center;color:var(--home-shell-pale);font-size:16px;line-height:24px;font-weight:500;min-height:44px;white-space:nowrap}
.hf-footer__contact-action>span{display:flex;align-items:center;justify-content:center;border:1px solid var(--home-shell-pale);border-radius:6px;min-height:40px}
.hf-footer__contact-action>span:first-child{padding:7px 16px;margin-right:-1px}
.hf-footer__contact-action>span:last-child{padding:7px;width:40px;flex:none}
.hf-footer__contact-action img{display:block;width:auto;height:auto}
.hf-footer__navigation{display:grid;grid-template-columns:1.2fr 1.15fr 1.2fr 1.35fr 1.35fr;gap:24px;padding-top:24px}
.hf-footer__group{margin:0;border:0;padding:0;min-width:0}
.hf-footer__group>summary{list-style:none;display:flex;align-items:center;font-weight:500;line-height:20px;cursor:default;min-height:20px}
.hf-footer__group>summary img{display:none}
.hf-footer__group ul{display:flex;flex-direction:column;gap:3px;padding:0;margin:10px 0 0;list-style:none}
.hf-footer__group li{margin:0;padding:0}
.hf-footer__group li a{display:block;padding:2px 0;line-height:1.4}
.hf-footer__contacts{display:grid;grid-template-columns:1.35fr 1.2fr 1fr;gap:40px;border-top:1px solid var(--home-shell-line);margin-top:28px;padding-top:24px}
.hf-footer__contacts>section{display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-width:0}
.hf-footer__requisites{padding-top:4px}
.hf-footer__social{display:flex;flex-direction:column;gap:10px;padding-top:2px}
.hf-footer__social>div,.hf-footer__payments{display:flex;flex-wrap:wrap;gap:8px}
.hf-footer__social span{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border:1px solid var(--home-shell-line);border-radius:4px}
.hf-payment{display:flex;align-items:center;justify-content:center;gap:3px;width:72px;height:36px;border:1px solid var(--home-shell-line);border-radius:4px;font-weight:800;font-size:14px;line-height:1;letter-spacing:-.35px}
.hf-payment--mir{font-style:italic}
.hf-payment--sbp b{font-size:28px;line-height:.5;transform:rotate(20deg)}
.hf-footer__legal{max-width:1400px;width:100%;margin:auto;padding:22px 40px;display:flex;align-items:center;justify-content:space-between;gap:24px;font-size:12px;line-height:1.4}
.hf-footer__legal nav{display:flex;gap:24px;align-items:center}
.hf-footer__legal a,.hf-footer__legal button{color:var(--home-shell-pale);font-size:12px;line-height:1.4}
.hf-footer__legal nav>*{padding:6px 0}
.hf-footer__legal>button{display:flex;align-items:center;gap:8px;white-space:nowrap}
@media(max-width:1250px) and (min-width:701px){.hf-header{left:24px;right:24px}.hf-header__links{gap:24px;font-size:14px}.hf-header__right{width:325px;gap:20px}.hf-footer__legal{flex-wrap:wrap}.hf-footer__legal nav{gap:16px}.hf-footer__help{gap:16px}}
@media(max-width:1000px) and (min-width:701px){.hf-header__links{gap:16px;font-size:12px;position:static}.hf-cooperation{position:static}.hf-cooperation>.hf-cooperation__groups{left:0;right:0;width:auto;max-width:none;font-size:14px}.hf-header__right{width:260px;gap:12px}.hf-header__utilities{gap:0}.hf-header__search{font-size:12px;padding:8px 0}.hf-footer__help{align-items:flex-start;flex-direction:column;gap:8px}.hf-footer__navigation{gap:16px}.hf-footer__content{padding-inline:24px}.hf-footer__legal{padding-inline:24px}}
@media(max-width:700px){
 .hf-header{left:16px;right:16px}.hf-header__links,.hf-header__search,.hf-header .hf-header__profile{display:none}
 .hf-header__brand{left:0;transform:none!important;justify-content:flex-start}.hf-header__right{margin-left:auto;width:auto;gap:0}.hf-header__utilities{gap:10px}
 .hf-header .hf-header__menu-toggle{display:flex}.hf-header__mobile-divider{display:block;position:relative;height:8px;width:0}
 .hf-header__mobile-divider::before{content:"";position:absolute;left:-.5px;top:0;width:1px;height:100%;background:var(--home-shell-soft)}
 .hf-footer__ornament{height:32px}.hf-footer__content{padding:32px 20px}.hf-footer__intro{flex-direction:column;align-items:flex-start;gap:26px;padding-bottom:28px}.hf-footer__help{align-items:flex-start;flex-direction:column;gap:16px}
 .hf-footer .hf-footer__contact-action{font-size:14px;line-height:20px}.hf-footer__contact-action>span{min-height:36px}.hf-footer__contact-action>span:first-child{padding:7px 16px}.hf-footer__contact-action>span:last-child{width:36px;padding:5px}
 .hf-footer__navigation{display:block;padding-top:16px}.hf-footer__group{border-bottom:1px solid var(--home-shell-line)}.hf-footer__group>summary{cursor:pointer;justify-content:space-between;gap:12px;min-height:56px;padding:16px 0}.hf-footer__group>summary img{display:block}.hf-footer__group[open]>summary img{transform:rotate(180deg)}.hf-footer__group ul{margin:0 0 12px;gap:0}.hf-footer__group li a{min-height:44px;padding:12px 0}
 .hf-footer__contacts{display:flex;flex-direction:column;gap:28px;margin-top:0;border:0;padding-top:28px}.hf-footer__requisites{display:flex;align-items:center;min-height:44px}
 .hf-footer__legal{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:22px 20px}.hf-footer__legal nav{flex-direction:column;align-items:flex-start;gap:0}.hf-footer__legal nav>*{display:flex;align-items:center;min-height:44px;padding:12px 0}.hf-footer__legal>button{margin-top:0;min-height:44px}
}

/* Light and OnImage reuse the same native markup and touch targets. */
.hf-header--light{position:relative;inset:auto;margin:16px 48px var(--d2-space-16);color:var(--home-shell-deep)}
.hf-header--light .hf-header__links>a,.hf-header--light .hf-cooperation>summary,.hf-header--light .hf-header__search{color:var(--home-shell-muted)}
.hf-header--light .hf-header__links>a[aria-current]{color:var(--home-shell-deep)}
.hf-header--light .hf-header__search input::placeholder{color:var(--home-shell-muted)}
.hf-header--light .hf-header__mobile-divider{background:var(--home-shell-soft)}
.hf-header__links>a,.hf-cooperation>summary{position:relative;z-index:1}
.hf-header__brand{z-index:2}
@media(max-width:1250px) and (min-width:701px){.hf-header--light{margin-inline:24px;left:auto;right:auto}}
@media(max-width:700px){.hf-header--light{margin-inline:16px;left:auto;right:auto}}
@media(max-width:700px){
 html.hf-mobile-menu-open{overflow:hidden}
 .hf-header.hf-header--menu-open{position:fixed;inset:16px 16px auto;margin:0;color:var(--home-shell-deep)}
 .hf-header--menu-open::before{content:"";position:fixed;inset:0;z-index:-1;background:var(--home-shell-pale)}
}

/* Approved outer canvas cap. No new inner padding and no changes at <=1440px. */
@media(min-width:1441px){
 html.d2-shell{--d2-canvas-offset:max(0px,calc((100% - var(--d2-canvas-max-width))/2))}
 html.d2-shell body{max-width:var(--d2-canvas-max-width);margin-inline:auto;position:relative}
 html.d2-shell.simkha-shop-home :is(.hf-section,.hf-lower-section){padding-inline:var(--hf-gutter)}
 html.d2-shell .simkha-cookie-consent{max-width:var(--d2-canvas-max-width);margin-inline:auto}
 html.d2-shell .hf-home-status{left:calc(var(--d2-canvas-offset) + 20px);right:calc(var(--d2-canvas-offset) + 20px)}
 html.d2-shell [data-favorites-feedback]{left:calc(var(--d2-canvas-offset) + var(--d2-page-gutter));max-width:calc(var(--d2-canvas-max-width) - 2 * var(--d2-page-gutter))}
 html.d2-shell .d2-skip-link:focus{left:calc(var(--d2-canvas-offset) + 16px)}
 html.d2-shell .hf-cooperation>.hf-cooperation__groups{max-width:calc(var(--d2-canvas-max-width) - 2 * var(--d2-page-gutter))}
}
