/* R435: scoped compact footer и recovery404; общий header/hero/vendor не меняются. */
.hg-store .hg-footer-r435{background:var(--hg-white);color:var(--hg-ink);border-top:1px solid var(--hg-line);padding:0}
.hg-footer-r435 .jp-container{padding-top:32px;padding-bottom:20px}
.hg-footer-top-r435{display:grid;grid-template-columns:minmax(220px,1fr) minmax(320px,1.45fr) minmax(210px,.8fr);gap:32px;align-items:start;padding-bottom:24px}
.hg-footer-brand-r435{display:grid;justify-items:start;gap:14px;min-width:0}
.hg-footer-hub-r435{display:inline-flex;max-width:180px;min-height:44px;align-items:center}
.hg-footer-hub-r435 img{max-width:180px;height:auto}
.hg-footer-brand-r435 .jp-brand{max-width:230px;min-height:36px}
.hg-footer-brand-r435 .jp-brand img{max-width:230px;height:auto}
.hg-footer-r435 .hg-footer-brand-r435 p{font-size:14px;line-height:1.65;color:var(--hg-muted);margin:0;max-width:34ch}
.hg-footer-r435 h2{font-size:15px!important;line-height:1.5!important;font-weight:700!important;margin:0 0 8px!important}
.hg-footer-direct-r435{display:flex;flex-wrap:wrap;column-gap:22px}
.hg-footer-direct-r435 a{font-size:16px;font-weight:600;min-height:40px;display:inline-flex;align-items:center;overflow-wrap:anywhere}
.hg-footer-r435 address{font-style:normal;font-size:14px;line-height:1.7;margin:0}
.hg-footer-r435 address a{display:inline-flex;align-items:center;gap:8px;min-height:44px}
.hg-footer-r435 address svg{width:16px;flex-shrink:0}
.hg-footer-r435 .hg-footer-hours-r435{font-size:14px;line-height:1.7;color:var(--hg-muted);margin:6px 0 0}
.hg-footer-hours-r435 a{text-decoration:underline;text-underline-offset:3px}
.hg-footer-shops-r435{display:grid;justify-items:start;min-width:0}
.hg-footer-shops-r435>a{display:inline-flex;align-items:center;gap:8px;min-height:36px;font-size:14px;line-height:1.6}
.hg-footer-shops-r435 svg{width:16px;height:16px}
.hg-footer-r435 nav a{font-size:14px!important;line-height:1.6!important}
.hg-footer-nav-r435{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;border-top:1px solid var(--hg-line);padding:22px 0}
.hg-footer-group-r435 summary{display:flex;align-items:center;justify-content:space-between;font-size:15px;font-weight:700;line-height:1.5;list-style:none}
.hg-footer-group-r435 summary::-webkit-details-marker{display:none}
.hg-footer-toggle-r435{display:none}
.hg-footer-group-r435 nav{display:flex;flex-wrap:wrap;column-gap:18px;row-gap:2px;padding-top:8px;align-items:start}
.hg-footer-group-r435 nav a{font-size:14px;line-height:1.6;min-height:36px;display:inline-flex;align-items:center;color:var(--hg-muted);max-width:100%;overflow-wrap:anywhere}
.hg-footer-legal-r435{display:flex;justify-content:space-between;gap:16px;border-top:1px solid var(--hg-line);padding-top:16px;font-size:12px;line-height:1.6;color:var(--hg-muted)}
.hg-footer-r435 a:hover,.hg-footer-r435 summary:hover{color:var(--hg-red)}
.hg-footer-r435 :is(a,summary):focus-visible,.hg-notfound-r435 :is(a,input,button):focus-visible{outline:3px solid var(--hg-red);outline-offset:3px;border-radius:3px}
html[data-theme=dark] .hg-footer-r435{background:#222;color:var(--hg-ink)}
html[data-theme=dark] .hg-footer-r435 :is(p,address,nav a,.hg-footer-legal-r435){color:var(--hg-muted)}
.hg-notfound-r435{display:grid;grid-template-columns:minmax(240px,360px) minmax(0,520px);justify-content:center;align-items:center;gap:64px;padding-top:48px;padding-bottom:52px}
.hg-404-figure{position:relative;display:flex;align-items:center;justify-content:center;min-width:0}
.hg-404-art{display:block;width:320px;max-width:100%}
.hg-404-art img{display:block;width:100%;height:auto}
.hg-404-art-night{display:none}
html[data-theme=dark] .hg-404-art-day{display:none}
html[data-theme=dark] .hg-404-art-night{display:block}
.hg-404-copy h1{font-size:clamp(28px,3vw,40px);font-weight:700;letter-spacing:-.02em;line-height:1.3;margin:0 0 18px;text-wrap:balance}
.hg-404-copy>p{font-size:16px;line-height:1.8;color:var(--hg-muted);margin:0 0 24px;max-width:52ch}
.hg-404-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px 22px;margin-bottom:28px}
.hg-404-home{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-size:15px;font-weight:600;text-decoration:underline;text-underline-offset:4px}
.hg-404-search label{display:block;font-size:14px;font-weight:600;margin-bottom:8px}
.hg-404-search>div{display:flex;gap:8px;max-width:470px}
.hg-404-search input{width:100%;min-width:0;min-height:46px;background:var(--hg-white);color:var(--hg-ink);border:1px solid var(--hg-line);border-radius:8px;padding:10px 12px;font-size:16px}
.hg-404-search button{display:inline-flex;align-items:center;justify-content:center;gap:6px;flex-shrink:0;min-height:46px;border:1px solid var(--hg-line);border-radius:8px;background:var(--hg-soft);color:var(--hg-ink);padding:9px 14px;font-size:14px;font-weight:600}
.hg-404-search button svg{width:18px;height:18px}
@media(min-width:768px){.hg-footer-group-r435>summary{cursor:default}.hg-footer-group-r435>nav{display:flex!important}}
@media(max-width:1023px){.hg-footer-top-r435{grid-template-columns:minmax(210px,1fr) minmax(0,1.4fr);gap:24px}.hg-footer-shops-r435{grid-column:1/-1;display:flex;align-items:center;flex-wrap:wrap;gap:0 22px}.hg-footer-shops-r435 h2{margin:0!important}.hg-notfound-r435{gap:32px;grid-template-columns:minmax(200px,290px) minmax(0,1fr)}}
@media(max-width:767px){
 .hg-footer-r435 .jp-container{padding-top:24px;padding-bottom:22px}
 .hg-footer-top-r435{grid-template-columns:minmax(0,1fr);gap:22px;padding-bottom:20px}
 .hg-footer-brand-r435{gap:10px}
 .hg-footer-brand-r435 p{max-width:none!important}
 .hg-footer-shops-r435{display:grid;grid-column:auto;gap:0;justify-items:start}
 .hg-footer-shops-r435>a{min-height:44px}
 .hg-footer-direct-r435{display:grid;gap:0}
 .hg-footer-direct-r435 a{min-height:44px}
 .hg-footer-nav-r435{display:block;padding:0;border-top:1px solid var(--hg-line)}
 .hg-footer-group-r435{border-bottom:1px solid var(--hg-line)}
 .hg-footer-group-r435 summary{min-height:52px;cursor:pointer;gap:12px}
 .hg-footer-toggle-r435{display:inline-flex;flex-shrink:0}
 .hg-footer-group-r435[open] .hg-footer-toggle-r435{transform:rotate(45deg)}
 .hg-footer-group-r435 nav{display:grid;padding:0 0 12px;gap:0}
 .hg-footer-group-r435 nav a{min-height:44px}
 .hg-footer-legal-r435{display:grid;gap:8px;margin-top:18px;border-top:0;padding-top:0;font-size:12px}
 .hg-notfound-r435{display:flex;flex-direction:column;gap:14px;padding-top:22px;padding-bottom:32px}
 .hg-404-art{width:140px}
 .hg-404-copy{width:100%;max-width:520px}
 .hg-404-copy h1{font-size:26px;line-height:1.4;margin-bottom:12px;text-wrap:balance}
 .hg-404-copy>p{font-size:15px;line-height:1.7;margin-bottom:18px}
 .hg-404-actions{gap:8px 18px;margin-bottom:20px}
 .hg-404-actions .jp-button{min-height:46px;padding:12px 18px}
 .hg-404-search button{padding-inline:12px}
}

/* R537: оригинальный логотип. Claude v3: ночью — белая перекраска оригинала без подложки (jp_brand_kabu_imgs). */
.hg-store .jp-brand.jp-brand-kabu{display:inline-flex;align-items:center;width:230px;max-width:100%;min-height:44px;box-sizing:border-box;flex-shrink:0}
.hg-store .jp-brand.jp-brand-kabu .jp-brand-kabu-image{display:block!important;width:100%;max-width:230px;height:auto;margin:0}
.hg-store .jp-brand.jp-brand-kabu .jp-kabu-night,html[data-theme=dark] .hg-store .jp-brand.jp-brand-kabu .jp-kabu-day{display:none!important}
html[data-theme=dark] .hg-store .jp-brand.jp-brand-kabu .jp-kabu-night{display:block!important}
