/* Version 40: surface separation and restrained gold. Geometry/assets unchanged. */
:root{--bg:#121212!important;--panel:#202020!important;--text:#f5f5f5!important;--muted:#b9b9b9!important;--line:#ffffff24!important;--gold:#d3b47e!important}
html,body{background:#121212!important;color:#f5f5f5!important}
.header,#store-header .header,footer,.footer{background:#121212!important}
.hero,.custom,.support,.contact,.assurance{background-color:#121212!important}
.product,.catalog-card,.service-card,.panel{background:#202020!important;border-color:#292929!important}
.product-art,.product-image-link{background-color:#252525!important}
.card-component{background:#252525!important;border-color:#292929!important}
.product-info,.product-bottom{background:transparent!important}
.hero-description,.catalog-intro,.lead,.custom-description,.muted,.help,.configuration-note,.shop-caption,.resolution,dt,.card-component dt,.specs dt,footer{color:#b9b9b9!important}
h1,h2,h3,.product-info,.card-component dd,.specs dd{color:#f5f5f5!important}
.eyebrow,.nav-metal,.desktop-nav a,.text-button,.all-specs-link,.service-link,.card-component svg,.assurance svg,.header-cart{color:#dedede!important;background-image:none!important;-webkit-text-fill-color:currentColor!important}
#store-header .nav-metal,#store-header .header-cart{color:#dedede!important;background:none!important;-webkit-text-fill-color:currentColor!important}
.button.outline,.btn.secondary,.cart-toggle,.card-actions a.btn{color:#eeeeee!important;background:transparent!important;border-color:#484848!important}
.button.gold,.btn.add-cart,button.btn:not(.secondary){background:#d3b47e!important;color:#121212!important;border-color:#d3b47e!important}
.price{color:#e2c58f!important}
input,select,textarea{background-color:#252525!important;color:#f5f5f5!important;border-color:#3a3a3a!important}
#b01-notice{background:#252525!important;color:#dedede!important;border-top:1px solid #292929!important}
#b01-notice button{color:#dedede!important}
#b01-notice::before{content:"ВЕРСИЯ №40 · ";font-weight:700;color:#fff}.product-info>p,.product-info .tagline{color:#b9b9b9!important}

.product-art,.product-image-link{background-color:transparent!important}.catalog-card,.product,.service-card{border-color:transparent!important}.card-component{border-color:transparent!important}.header,#store-header .header{border-bottom-color:#ffffff0d!important}
/* Group small supporting sections with their parent, avoiding narrow bands. */
main>.hero,main>.catalog,main>.shop{background-color:#121212!important}
main>.expertise,main>.assurance,main>.custom,main>.journey,main>.support{background-color:#202020!important}
main>.support .service-card{background-color:#292929!important}
main>.journey{padding-top:48px!important;padding-bottom:88px!important}
@media(max-width:760px){main>.journey{padding-top:32px!important;padding-bottom:56px!important}}/* Footer continues the final contact section without a separate dark strip. */
main>.contact,body>footer,body>.footer,footer.footer{background:#121212!important;border-top:0!important}
/* Catalog: next steps and useful navigation, version 40 only. */
.end-wrap{max-width:1560px;margin:0 auto;padding:0 36px}.catalog-next{background:#202020;padding:76px 0 0}.next-heading{display:flex;justify-content:space-between;gap:24px}.end-kicker,.end-index{font-size:10px;letter-spacing:.13em;color:#b9b9b9}.end-index{color:#d3b47e}.next-intro{display:grid;grid-template-columns:1.15fr 1fr;gap:80px;align-items:center;padding:36px 0 52px}.next-intro h2{font-size:clamp(32px,3.8vw,60px);line-height:1.08;letter-spacing:-.04em;font-weight:600}.next-intro h2 span{color:#d3b47e}.next-intro p{max-width:480px;font-size:16px;color:#c3c3c3;line-height:1.7}.end-cta{display:inline-flex;align-items:center;justify-content:space-between;gap:48px;background:#d3b47e;color:#151515;padding:17px 22px;font-weight:600;font-size:14px;border-radius:4px}.end-cta:hover{background:#e3c594}.end-note{display:block;margin-top:14px;font-size:12px;color:#a8a8a8}.next-steps{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #ffffff16;padding:25px 0 30px;gap:24px}.next-steps div{display:flex;align-items:center;gap:18px;font-size:13px;color:#ccc}.next-steps b{color:#d3b47e;font-size:11px;font-weight:500}.catalog-routes{background:#121212;padding:76px 0 80px}.routes-heading{display:flex;align-items:baseline;justify-content:space-between;gap:24px;margin-bottom:30px}.routes-heading h2{font-size:26px;font-weight:500}.routes-heading p{font-size:13px;color:#aaa;margin:0}.route-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.route-card{display:flex;flex-direction:column;padding:28px;background:#202020;border:1px solid #ffffff09;border-radius:8px;transition:background .18s,border-color .18s}.route-card:hover{background:#272727;border-color:#d3b47e70}.route-number{display:flex;justify-content:space-between;color:#999;font-size:11px;margin-bottom:38px}.route-number i{font-style:normal;font-size:22px;color:#d3b47e}.route-card h3{font-size:23px;font-weight:500;letter-spacing:-.03em}.route-card p{font-size:14px;line-height:1.65;color:#b9b9b9;max-width:300px;margin-bottom:32px}.route-link{margin-top:auto;font-size:12px;color:#d3b47e}.catalog-footer{padding:64px 0 35px!important;background:#121212!important}.end-footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.15fr;gap:40px}.end-brand{font-size:22px;letter-spacing:.035em;font-weight:650;color:#eee}.end-brand span{color:#d3b47e}.footer-intro p{margin:18px 0;font-size:14px;color:#b9b9b9}.end-location{font-size:11px;color:#999}.catalog-footer h3{font-size:13px;font-weight:600;margin:0 0 17px}.catalog-footer nav{display:flex;flex-direction:column;gap:11px;align-items:flex-start}.catalog-footer nav a{font-size:12px;color:#b9b9b9}.catalog-footer a:hover{color:#e2c58f}.footer-contact p{font-size:12px;line-height:1.7;color:#b9b9b9}.footer-contact>a{display:flex;justify-content:space-between;font-size:13px;color:#d3b47e;padding-bottom:12px;border-bottom:1px solid #d3b47e55}.end-bottom{display:flex;justify-content:space-between;gap:20px;border-top:1px solid #ffffff16;margin-top:48px;padding-top:22px;font-size:10px;color:#929292}
@media(max-width:900px){.next-intro{gap:36px}.routes-heading{display:block}.routes-heading p{margin-top:12px}.end-footer-grid{grid-template-columns:repeat(2,1fr)}.route-card{padding:20px}.route-card h3{font-size:20px}}
@media(max-width:600px){.end-wrap{padding:0 20px}.catalog-next{padding-top:44px}.end-index{display:none}.next-intro{grid-template-columns:1fr;gap:26px;padding:26px 0 32px}.next-intro h2{font-size:36px}.next-intro p{font-size:14px}.end-cta{width:100%}.next-steps{grid-template-columns:1fr;gap:16px;padding:24px 0}.catalog-routes{padding:44px 0}.routes-heading h2{font-size:24px}.route-grid{grid-template-columns:1fr}.route-number{margin-bottom:18px}.route-card p{max-width:none;margin-bottom:20px}.end-footer-grid{gap:32px 24px}.footer-intro,.footer-contact{grid-column:1/-1}.catalog-footer{padding-top:40px!important}.end-bottom{flex-wrap:wrap;margin-top:32px}.end-bottom>span:nth-child(2){order:3;flex-basis:100%}}
.catalog-footer{padding-bottom:96px!important}
/* Match the established site typography and neutral text palette. */
.catalog-next,.catalog-routes,.catalog-footer{font-family:Roboto,Arial,sans-serif;letter-spacing:normal}
.next-intro h2,.routes-heading h2,.route-card h3,.end-brand{font-family:'Roboto Condensed',Arial,sans-serif;font-weight:600;letter-spacing:-.025em}
.next-intro h2{font-size:clamp(32px,3.2vw,46px);line-height:1.15}
.next-intro h2 span,.route-link,.footer-contact>a{color:#f5f5f5}
.next-intro p,.route-card p,.routes-heading p,.footer-intro p,.footer-contact p,.catalog-footer nav a,.end-note,.next-steps div{color:#b9b9b9;letter-spacing:normal}
.end-index,.route-number,.next-steps b,.end-location,.end-bottom{color:#b9b9b9}
.catalog-footer nav a,.footer-contact p{font-size:14px}.route-link{font-size:14px}
/* Brighter action palette; keep neutral text and section backgrounds. */
:root{--action-gold:#ffcc32;--action-hover:#ffdc66}
.button.gold,.btn.add-cart,button.btn:not(.secondary),.end-cta{background:var(--action-gold)!important;border-color:var(--action-gold)!important;color:#151515!important;font-weight:600;box-shadow:none}
.button.outline,.btn.secondary,.cart-toggle,.card-actions a.btn{border-color:var(--action-gold)!important;color:var(--action-gold)!important;background:transparent!important}
.button,.btn,.end-cta,.cart-toggle,.all-specs-link{transition:background-color .16s ease,color .16s ease,border-color .16s ease,box-shadow .16s ease}
.button.gold:hover,.btn.add-cart:hover,button.btn:not(.secondary):hover,.end-cta:hover{background:var(--action-hover)!important;border-color:var(--action-hover)!important;box-shadow:0 4px 20px #ffcc3225}
.button.outline:hover,.btn.secondary:hover,.cart-toggle:hover,.card-actions a.btn:hover{background:#ffcc3214!important;color:#ffdc66!important;border-color:#ffdc66!important}
.all-specs-link{color:#ffe18a!important;border-color:#82703b!important;background:transparent!important}.all-specs-link:hover{background:#ffcc3214!important;border-color:#ffcc32!important}
.button:focus-visible,.btn:focus-visible,.end-cta:focus-visible,.all-specs-link:focus-visible,.cart-toggle:focus-visible{outline:2px solid #ffe694!important;outline-offset:4px}
@media(prefers-reduced-motion:reduce){.button,.btn,.end-cta,.cart-toggle,.all-specs-link{transition:none}}
/* More distinct action hierarchy, without changing the dark surfaces. */
:root{--action-gold:#ffd21a;--action-hover:#ffe45c}
.button.gold,.btn.add-cart,button.btn:not(.secondary),.end-cta{border-radius:10px!important;min-height:48px;font-size:14px!important;box-shadow:0 3px 14px #ffd21a18}
.card-actions a.btn,.button.outline,.btn.secondary,.cart-toggle{border-radius:10px!important;min-height:46px;font-size:14px!important;border-width:1px!important}
.card-actions .add-cart{min-height:52px;font-weight:600!important;box-shadow:0 4px 18px #ffd21a20}
.card-actions a.btn{background:#ffd21a0b!important}
.card-actions .all-specs-link{border-color:transparent!important;color:#d0d0d0!important;background:transparent!important;min-height:42px;font-weight:400!important}
.card-actions .all-specs-link:hover{color:#ffe45c!important;background:#ffffff06!important}
.button.gold:hover,.btn.add-cart:hover,button.btn:not(.secondary):hover,.end-cta:hover{box-shadow:0 5px 22px #ffd21a30}
/* Keep header and basket utilities visually quiet. */
#store-header .header-action,.header .header-action,.cart-toggle{color:#eeeeee!important;border-color:#484848!important;background:transparent!important;box-shadow:none!important}
#store-header .header-action:hover,.header .header-action:hover,.cart-toggle:hover{color:#ffffff!important;border-color:#888888!important;background:#ffffff08!important;box-shadow:none!important}
/* Shared back-to-top control for all long storefront pages. */
.back-to-top{position:fixed;right:24px;bottom:84px;z-index:90;width:46px;height:46px;display:grid;place-items:center;border:1px solid #6c6048;background:#171715;color:#d3b47e;border-radius:5px;cursor:pointer;box-shadow:0 4px 18px #0004}
.back-to-top[hidden]{display:none}.back-to-top svg{width:23px;height:23px}.back-to-top:hover{background:#29261f;color:#fff}.back-to-top:focus-visible{outline:2px solid #dac59d;outline-offset:3px}
@media(max-width:760px){.back-to-top{right:14px;bottom:90px}}
/* Version 40 / step 3: compact header, original emblem without ornament. */
.header .comet,footer .comet,#store-header .comet{display:none!important}
.header .header-inner,#store-header .header-inner{height:80px!important;gap:24px!important}
.header .brand,footer .brand,#store-header .brand{height:64px!important;width:auto!important;gap:12px!important}
.header .brand-emblem,footer .brand-emblem,#store-header .brand-emblem{width:58px!important;height:64px!important}
.header .brand img,footer .brand img,#store-header .brand img{width:58px!important;height:58px!important;filter:none!important}
.header .brand-name,footer .brand-name,#store-header .brand-name{font-size:22px!important;letter-spacing:.04em!important;color:#f0eee8!important}
.header .header-action,#store-header .header-action{min-height:44px!important;padding:10px 18px!important;border-radius:6px!important;gap:20px!important}
#store-header .header{padding:0!important;min-height:0!important}
@media(max-width:1150px) and (min-width:761px){.header .brand-name,footer .brand-name,#store-header .brand-name{font-size:19px!important}.header .header-inner,#store-header .header-inner{gap:16px!important}.header .desktop-nav,#store-header .desktop-nav{gap:16px!important}}
@media(max-width:760px){.header .header-inner,#store-header .header-inner{height:70px!important;gap:12px!important}.header .brand,footer .brand,#store-header .brand{height:56px!important;gap:9px!important}.header .brand-emblem,footer .brand-emblem,#store-header .brand-emblem{width:46px!important;height:52px!important}.header .brand img,footer .brand img,#store-header .brand img{width:46px!important;height:46px!important}.header .brand-name,footer .brand-name,#store-header .brand-name{font-size:20px!important;letter-spacing:.035em!important}}
/* Sticky navigation across the storefront, with anchor clearance. */
html{scroll-padding-top:96px!important}
body>.header,body>#store-header{position:sticky!important;top:0!important;z-index:95!important;background:#121212!important;box-shadow:0 4px 18px #0002}
#store-header imperia-header{display:block}
@media(max-width:760px){html{scroll-padding-top:84px!important}.header .desktop-nav.open,#store-header .desktop-nav.open{max-height:calc(100dvh - 70px);overflow-y:auto}}
/* Editorial guides belong to the same dark section as the three builds. */
.buying-guides{padding-bottom:76px;margin-bottom:64px;border-bottom:1px solid #ffffff16}
.guides-heading{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:30px}
.guides-heading h2{font-size:clamp(28px,3vw,42px);line-height:1.15;max-width:650px}
.guides-heading>p{font-size:14px;line-height:1.6;color:#b9b9b9;margin:0}
.guides-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:stretch}
.guide-card{overflow:hidden;background:#202020;border:1px solid #ffffff09;border-radius:8px}
.guide-card>img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain}
.guide-card{display:flex;flex-direction:column}.guide-poster{flex-shrink:0}.guide-copy{padding:25px 26px 12px;display:flex;flex-direction:column;flex:1}.guide-copy details{margin-top:auto}
.guide-topic{font-size:10px;letter-spacing:.12em;color:#d3b47e;margin:0 0 12px}
.guide-copy h3{font-family:'Roboto Condensed',Arial,sans-serif;font-size:26px;line-height:1.2;font-weight:600;margin:0 0 14px;letter-spacing:-.02em}
.guide-copy>p:not(.guide-topic){font-size:14px;line-height:1.65;color:#b9b9b9;margin:0 0 22px;min-height:70px}
.guide-copy details{border-top:1px solid #ffffff19}
.guide-copy summary{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;cursor:pointer;font-size:14px;font-weight:500;color:#eee;padding:18px 0;min-height:52px}
.guide-copy summary::-webkit-details-marker{display:none}
.guide-copy summary span{font-size:23px;line-height:1;color:#d3b47e;transition:transform .18s}
.guide-copy details[open] summary span{transform:rotate(45deg)}
.guide-copy summary:hover{color:#ffe45c}
.guide-copy summary:focus-visible{outline:2px solid #d3b47e;outline-offset:3px;border-radius:2px}
.guide-more p{font-size:14px;line-height:1.7;color:#c5c5c5;margin:0 0 16px}
.guide-more .guide-caption{font-size:12px;color:#999}
@media(max-width:1000px){.guides-grid{gap:16px}.guide-copy{padding:20px 18px 8px}.guide-copy h3{font-size:23px}.guides-heading>p br{display:none}}
@media(max-width:760px){.guides-heading{display:block}.guides-heading>p{margin-top:16px}.guides-grid{grid-template-columns:1fr;gap:24px}.guide-copy>p:not(.guide-topic){min-height:0}.buying-guides{padding-bottom:40px;margin-bottom:40px}.guide-copy{padding:24px 22px 10px}}
@media(prefers-reduced-motion:reduce){.guide-copy summary span{transition:none}}
/* Pure white for PC names and specification values; descriptions stay muted. */
.catalog-card h2,.catalog-card h2 a,.product-info h3,.card-component dd,.specs dd,.full-spec-table dd,#full-spec-title{color:#fff!important}
/* Standalone sections share the main site's typography and spacing. */
.section-page-heading{padding-top:48px;padding-bottom:32px;color:#b9b9b9;font-size:14px}
.section-page-heading h1{font-family:'Roboto Condensed',Arial,sans-serif;font-size:clamp(34px,4vw,58px);line-height:1.12;color:#fff;margin:28px 0 16px}
.section-page-heading p{font-size:17px;line-height:1.6;max-width:720px;margin:0}
.section-page>.section{padding-top:48px}
.section-page{min-height:65vh}
@media(max-width:760px){.section-page-heading{padding-top:28px;padding-bottom:20px}.section-page>.section{padding-top:28px}}

/* Compact catalog specifications and a complete CPU model on its own line. */
.catalog-page .catalog-card h2{margin-bottom:16px}
.catalog-page .catalog-card .card-cpu-subtitle{display:block;font-size:16px;font-weight:400;line-height:1.4;margin-top:4px;white-space:nowrap}
.catalog-page .catalog-card .card-components{gap:6px}
.catalog-page .catalog-card .card-components .card-component{padding:8px 12px;row-gap:0}

/* An inset divider separates the price from the catalog actions. */
.catalog-page .catalog-card>.price{position:relative;margin-top:12px;padding-top:20px}
.catalog-page .catalog-card>.price::before{content:"";position:absolute;top:0;left:8px;right:8px;height:1px;background:#ffffff24}

/* Neutral specification surface framed by black header and lower area. */
.catalog-page #full-specs{background:#101010;border-color:#333}
.catalog-page #full-specs .full-spec-heading{background:#101010;border-color:#333}
.catalog-page #full-specs .full-spec-layout{background:#212121}
.catalog-page #full-specs .full-spec-footer{background:#212121;border-color:#383838}
.catalog-page #full-specs .full-spec-row{border-color:#3a3a3a}
/* Compact catalog filters */
.catalog-page .catalog-filters{grid-template-columns:minmax(150px,1.2fr) minmax(170px,1.5fr) minmax(175px,1fr) minmax(95px,.7fr) minmax(95px,.7fr) minmax(180px,1.2fr) auto auto;gap:12px;align-items:end}
.catalog-filters>label,.color-filter{min-width:0}
.color-filter{display:grid;gap:8px;font-size:14px}
.color-picker{position:relative;font-size:14px}
.color-picker summary{display:flex;align-items:center;justify-content:space-between;gap:8px;height:44px;padding:10px 12px;border:1px solid #3b3b3b;border-radius:4px;background:#242424;color:#fff;cursor:pointer;list-style:none}
.color-picker summary::-webkit-details-marker{display:none}
#color-current{display:flex;gap:8px;align-items:center;white-space:nowrap}
.color-swatch{display:inline-block;width:16px;height:16px;border:1px solid #888;border-radius:3px;flex:0 0 16px}
.color-swatch.black{background:#080808}.color-swatch.white{background:#fff}
.color-options{position:absolute;top:calc(100% + 5px);left:0;min-width:100%;width:max-content;z-index:30;background:#242424;border:1px solid #484848;border-radius:6px;box-shadow:0 12px 28px #0008;padding:6px}
.catalog-filters .color-options label{display:flex;align-items:center;gap:9px;padding:10px;border-radius:4px;cursor:pointer;color:#fff;white-space:nowrap}
.catalog-filters .color-options label:hover,.catalog-filters .color-options label:focus-within{background:#373737}
.catalog-filters .color-options input{width:16px;height:16px;min-height:0;margin:0;accent-color:#ffda16}
.color-picker summary:focus-visible{outline:2px solid #ffda16;outline-offset:3px}
@media(max-width:1250px){.catalog-page .catalog-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.catalog-filters>.btn{justify-self:start}}
@media(max-width:700px){.catalog-page .catalog-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:380px){.catalog-page .catalog-filters{grid-template-columns:minmax(0,1fr)}}

/* Shared public footer. Scoped to avoid changing card and mobile typography. */
footer.site-footer{display:block;background:#111;color:#c4c4c4;border-top:1px solid #363636;padding:48px 0 22px;margin:0;font:400 15px/1.65 Roboto,Arial,sans-serif;letter-spacing:normal}
.site-footer .site-footer__wrap{width:calc(100% - 48px);max-width:1480px;margin:0 auto}
.site-footer .site-footer__grid{display:grid;grid-template-columns:1.35fr 1fr 1fr 1.15fr;gap:36px}
.site-footer .site-footer__grid>*{min-width:0}
.site-footer nav{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin:0;padding:0;overflow:visible}
.site-footer h2{margin:0 0 8px;font:700 18px/1.4 Roboto,Arial,sans-serif;letter-spacing:normal;color:#eee}
.site-footer p{font:inherit;margin:12px 0;max-width:330px;color:inherit}
.site-footer nav p{margin:0 0 8px}
.site-footer a{font:inherit;color:inherit;text-decoration:none;letter-spacing:normal;overflow-wrap:anywhere}
.site-footer a:hover{color:#d2b87e}.site-footer a:focus-visible{outline:2px solid #d2b87e;outline-offset:5px}
.site-footer .site-footer__brand{font:700 23px/1.3 Roboto,Arial,sans-serif;color:#eee;display:inline-block}
.site-footer__brand span{color:#d2b87e}
.site-footer .site-footer__bottom{border-top:1px solid #363636;margin-top:32px;padding-top:20px;font-size:13px}
@media(max-width:1100px){.site-footer .site-footer__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}}
@media(max-width:540px){footer.site-footer{padding-top:32px;font-size:14px}.site-footer .site-footer__wrap{width:calc(100% - 40px)}.site-footer .site-footer__grid{grid-template-columns:1fr;gap:24px}.site-footer nav a{display:block;padding:5px 0}.site-footer h2{font-size:17px}}
/* The secondary contact button does not fit beside desktop navigation at tablet widths. */
@media(min-width:1001px) and (max-width:1250px){.header .header-tools button.button.header-question,#store-header .header .header-tools button.button.header-question{display:none}}

.site-footer nav a{display:flex;align-items:center;min-height:0;padding:0;margin:0}
@media(max-width:760px){.site-footer nav{gap:4px}.site-footer nav a{min-height:0;padding:2px 0}.site-footer h2{margin-bottom:8px}.site-footer nav p{margin-bottom:6px}}
