/* Vedant storefront surfaces and Modx-inspired navigation. */
:root {
  --rail: 72px;
  --head: 66px;
  --panel: #1b292e;
  --shop-floor: #111b1f;
  --shop-panel: #1a292e;
  --shop-border: #3a5053;
  --shop-copy: #edf3ec;
  --shop-muted: #aec0ba;
  --shop-action: #e4f86a;
  --shop-action-copy: #192419;
  --shell-ease: cubic-bezier(.2,.75,.24,1);
}
body[data-theme="light"] {
  --shop-floor: #eef0e9;
  --shop-panel: #fafbf5;
  --shop-border: #c9d3c9;
  --shop-copy: #162426;
  --shop-muted: #465b55;
  --shop-action: #ddef79;
}
body { background: var(--shop-floor); }
svg { fill: none; }
.skip-link { z-index: 150; }
.site-header, .site-header.is-scrolled { background: var(--shop-panel); color: var(--shop-copy); border-color: var(--shop-border); }
.header-inner { display: grid; grid-template-columns: minmax(84px,1fr) minmax(200px, min(38vw,510px)) minmax(max-content,1fr); gap: clamp(10px,2vw,32px); }
.header-page { font: 700 clamp(17px,2vw,24px)/1.1 var(--display); color: var(--shop-copy); }
.header-search { width: 100%; background: var(--shop-floor); border-color: var(--shop-border); color: var(--shop-copy); }
.header-search:hover { border-color: #6c988f; }
.header-actions { justify-self: end; gap: 6px; }
.site-header .icon-btn { color: var(--shop-copy); }
.site-header .icon-btn:hover { color: #1d403a; background: #dbe7dc; }
.header-build, .header-build[aria-current="page"] { color: #162a20; background: var(--shop-action); }
.header-build:hover { background: #f2ffa0; color: #162a20; }
.account-dialog .icon-btn { margin-inline-start: auto; color: #142724; }
.account-dialog > p { margin: 6px 0 14px; }
.account-dialog dl { margin: 12px 0 20px; }
.account-dialog dl div { display: grid; grid-template-columns: 58px auto; gap: 10px; line-height: 1.8; }
.account-dialog dd { margin: 0; font-weight: 600; }
.account-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-block: 10px 3px; }
.account-actions .btn { min-height: 44px; }

.store-rail {
  z-index: 42;
  width: var(--rail);
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  padding: 0 10px 12px;
  background: #142127;
  color: #e4eeea;
  transition: width 250ms var(--shell-ease), transform 260ms var(--shell-ease);
}
.store-rail .rail-head { min-height: var(--head); position: relative; flex: 0 0 auto; }
.store-rail .rail-brand { height: var(--head); width: 100%; padding: 0; position: relative; }
.rail-brand img { position: absolute; object-fit: contain; transition: opacity 160ms ease; }
.rail-logo-small { width: 36px; height: 36px; left: 7px; opacity: 1; }
.rail-logo-full { width: 154px; height: 35px; left: 8px; opacity: 0; filter: grayscale(1) brightness(2); }
.store-rail .rail-links { flex: 1; gap: 5px; padding-top: 10px; overflow: auto; border-top: 1px solid #354b50; }
.rail-tools { display: grid; gap: 3px; margin-top: 8px; border-top: 1px solid #354b50; padding-top: 8px; }
.store-rail :is(.rail-links,.rail-tools) :is(button,a) { gap: 15px; min-height: 44px; padding-left: 15px; }
.store-rail .rail-links span, .store-rail .rail-tools span { opacity: 0; transition: opacity 160ms ease; }
.store-rail .rail-close { display: none; }
.rail-backdrop { position: fixed; inset: 0; z-index: 41; background: #071112aa; }
@media (min-width:981px) {
  .store-rail:not([data-dismissed]):has(:focus-visible) { width: 241px; box-shadow: 12px 0 32px #05090c55; }
  .store-rail:not([data-dismissed]):has(:focus-visible) :is(.rail-links,.rail-tools) span,
  .store-rail:not([data-dismissed]):has(:focus-visible) .rail-logo-full { opacity: 1; }
  .store-rail:not([data-dismissed]):has(:focus-visible) .rail-logo-small { opacity: 0; }
}
@media (min-width:981px) and (hover:hover) {
  .store-rail:hover:not([data-dismissed]) { width: 241px; box-shadow: 12px 0 32px #05090c55; }
  .store-rail:hover:not([data-dismissed]) :is(.rail-links,.rail-tools) span, .store-rail:hover:not([data-dismissed]) .rail-logo-full { opacity: 1; }
  .store-rail:hover:not([data-dismissed]) .rail-logo-small { opacity: 0; }
}

.home-view, .category-section, .brand-section, .catalogue-view, .catalogue-view.dark-page, .brands-view,
.builder-view.is-active { background: var(--shop-floor); color: var(--shop-copy); }
.home-hero {
  background: #121d24 radial-gradient(ellipse at 50% 46%, #314c46 0, #1b292c 36%, #111b22 76%);
  padding: 28px var(--pad) 14px;
  overflow: hidden;
}
body[data-theme="light"] .home-hero { background: radial-gradient(ellipse at 50% 48%, #d6e6d7 0%, #e8ece3 70%); }
.hero-deck { height: clamp(390px, 40vw, 625px); position: relative; perspective: 1300px; touch-action: pan-y; user-select: none; isolation: isolate; }
.hero-poster {
  position: absolute; inset: 12px auto 12px 50%; width: min(78%, 930px); overflow: hidden;
  display: grid; align-items: end; isolation: isolate;
  border: 1px solid #68827c; border-radius: 15px;
  background: radial-gradient(ellipse at 76% 33%, #355554, #162429 72%);
  color: #f6f8f2;
  transform: translateX(-50%) rotateX(var(--poster-x,0deg)) rotateY(var(--poster-y,0deg));
  transition: transform 540ms var(--shell-ease), filter 370ms var(--shell-ease), opacity 370ms ease, border-color 260ms ease;
}
.hero-poster[data-offset="0"] { z-index: 3; border-color: #b1cab1; }
.hero-poster[data-offset="-1"] { z-index: 1; transform: translateX(-72%) translateY(8px) scale(.89) rotateY(19deg); filter: brightness(.63) saturate(.82); cursor: pointer; }
.hero-poster[data-offset="1"] { z-index: 1; transform: translateX(-28%) translateY(8px) scale(.89) rotateY(-19deg); filter: brightness(.63) saturate(.82); cursor: pointer; }
.hero-poster[data-offset="-2"] { z-index: 0; opacity: 0; transform: translateX(-104%) translateY(16px) scale(.72) rotateY(28deg); filter: brightness(.45) saturate(.8); pointer-events: none; }
.hero-poster[data-offset="2"] { z-index: 0; opacity: 0; transform: translateX(-4%) translateY(16px) scale(.72) rotateY(-28deg); filter: brightness(.45) saturate(.8); pointer-events: none; }
.poster-image { position: absolute; width: 100%; height: 100%; inset: 0; object-fit: cover; object-position: 60% 50%; z-index: -2; pointer-events: none; }
.hardware-poster .poster-image { width: 62%; height: 90%; inset: 5% 2% 5% auto; object-fit: contain; filter: drop-shadow(12px 18px 20px #071113b0); }
.hero-poster::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg,#0a151bf7,#101c23ba 35%,transparent 74%); }
.photo-poster::before { background: linear-gradient(90deg,#091116f7 0%,#101b20bf 40%,transparent 74%),linear-gradient(0deg,#081016c4,transparent 39%); }
.poster-copy { padding: clamp(18px,4.4vw,68px); max-width: 63%; }
.poster-copy h2 { max-width: 11ch; margin: 0; font: 700 clamp(36px,6.4vw,88px)/.99 var(--display); letter-spacing: -.035em; overflow-wrap: anywhere; }
.poster-copy p { max-width: 38ch; margin: 13px 0 20px; color: #e0eae4; font-size: clamp(13px,1.35vw,16px); }
.poster-copy .btn { min-height: 46px; }
.poster-copy small { display: block; color: #c1cfca; font-size: 11px; margin-top: 10px; }
.poster-scan { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; background: linear-gradient(91deg, transparent 26%, #bcfa9e88, #76c6ce99, transparent 70%); clip-path: polygon(0 37%,100% 37%,100% 43%,0 43%,0 72%,100% 72%,100% 76%,0 76%); }
.hero-nav { min-height: 57px; padding: 0; justify-content: center; }
.hero-nav .hero-dots { margin: 0; justify-content: center; gap: clamp(9px,2.6vw,30px); }
.hero-nav .hero-dots button { color: #d8e4dd; font-weight: 600; }
.hero-nav .hero-dots button:hover,
.hero-nav .hero-dots button:focus-visible { border-bottom-color: color-mix(in srgb, var(--shop-action) 58%, transparent); }
.hero-nav .hero-dots button[aria-pressed="true"] { color: #fff; }
body[data-theme="light"] .hero-nav .hero-dots button, body[data-theme="light"] .hero-rotation { color: #30453f; }
body[data-theme="light"] .hero-nav .hero-dots button[aria-pressed="true"] { color: #153f32; border-color: #2f7463; }
.hero-rotation { min-height: 44px; margin-inline-start: 12px; padding: 0 6px; color: #d1dfd7; font-size: 12px; }
.hero-rotation:hover { text-decoration: underline; text-underline-offset: 4px; }
.service-line { background: var(--shop-panel); color: var(--shop-copy); border-color: var(--shop-border); }
.service-line svg { color: #83b5a5; }
body[data-theme="light"] .service-line svg { color: #2d665b; }

.category-section, .brand-section { padding-block: clamp(30px,4vw,57px); }
.home-categories { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.home-category { position: relative; isolation: isolate; min-height: 157px; overflow: hidden; border: 1px solid var(--shop-border); border-radius: 12px; background: #223136; color: #f5f8ef; }
.home-category::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg,#101a21 6%,#101a2190 47%,#101a2110 83%); z-index: -1; }
.home-category > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; z-index: -2; }
.home-category > div { position: absolute; inset: auto 11px 8px; display: flex; align-items: center; justify-content: space-between; gap: 4px; }
.home-category h3 { margin: 0; font: 700 clamp(15px,1.65vw,22px)/1.15 var(--display); }
.home-category button { display: flex; align-items: center; gap: 4px; min-height: 44px; font-size: 12px; font-weight: 700; }
.home-category button svg, .catalogue-categories button svg { inline-size: 14px; block-size: 14px; }
.home-category:nth-child(odd):hover { border-color: #b8dd92; }
.home-category:nth-child(even):hover { border-color: #94d4cb; }

.product-showcases { display: grid; gap: 22px; padding: 0 var(--pad); }
.product-shelf { background: var(--shop-panel); border: 1px solid var(--shop-border); border-radius: 15px; padding: clamp(13px,2.4vw,29px); }
.shelf-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 13px; color: var(--shop-copy); }
.shelf-heading h2 { margin: 0; font: 700 clamp(25px,3.2vw,43px)/1.05 var(--display); }
.shelf-heading > div { display: flex; gap: 5px; }
.shelf-step { display: grid; place-items: center; min-width: 44px; min-height: 44px; border: 1px solid var(--shop-border); color: var(--shop-copy); border-radius: 7px; }
.shelf-step svg { width: 18px; height: 18px; }
.shelf-step:disabled { opacity: .43; cursor: default; }
.shelf-step:not(:disabled):hover { color: #172725; background: var(--shop-action); }
.shelf-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 36px) / 4); gap: 12px; overflow: auto; scrollbar-width: thin; scrollbar-color: #73948a transparent; scroll-snap-type: inline mandatory; scroll-padding-inline: 4px; padding: 4px 4px 10px; }
.shelf-track .product-card { scroll-snap-align: start; }
.product-card, .catalogue-view .product-card {
  display: flex; flex-direction: column; height: 100%; min-width: 0; min-height: 0;
  background: var(--shop-panel); color: #edf2ed; border: 1px solid #516663; border-radius: 12px;
  transform: none; transition: background-color 180ms ease, border-color 180ms ease;
  --card-hover: #a5c895;
  --hover-surface: #283e3b;
}
.product-card:nth-child(3n+2) { --card-hover: #8dccd1; --hover-surface: #223b49; }
.product-card:nth-child(3n+3) { --card-hover: #cfba8e; --hover-surface: #3b3932; }
.product-card.is-front { border-color: #739987; }
.product-card:hover, .product-card:focus-within { transform: none; border-color: var(--card-hover); background: var(--hover-surface); }
.product-card .product-card-media { flex-shrink: 0; position: relative; height: clamp(129px,15vw,196px); display: grid; place-items: center; padding: 9px; background: #f0f2eb; }
.product-card .product-card-media::before, .product-card:hover .product-card-media::after { content: none; }
.product-card .product-card-media img, .product-card:hover .product-card-media img {
  position: absolute; inset: 8%; width: 84%; height: 84%; max-width: none; max-height: none;
  object-fit: contain; object-position: 50% 50%; transform: none; transition: none; mix-blend-mode: multiply;
}
.product-card .product-card-body { display: flex; flex: 1; flex-direction: column; color: inherit; }
.product-card .product-card-cat { color: #c3ddc2; }
.product-card .product-card-spec { color: #c0cec9; }
.product-card .product-card-foot { margin-top: auto; min-height: 48px; align-items: center; gap: 6px; }
.product-card .product-card-price { color: #f8f9ee; white-space: normal; }
.product-card .product-open { text-align: left; color: inherit; }
.product-card .card-wish { color: #243d37; background: #f7faf3; border-color: #cbd6ca; }
.product-card .card-wish.is-saved { color: #8f343e; }
.product-card .card-add { display: grid; place-items: center; padding: 0 12px; min-height: 42px; color: #16251b; background: var(--shop-action); border: 0; font: 700 13px var(--sans); }
.product-card .card-add:hover { color: #152522; background: #f3ffa5; }
.product-card .card-view { color: #eef8ed; background: #344943; border: 1px solid #759689; }

.retail-campaigns > h2 { margin: 0 0 15px; font: 700 clamp(26px,3vw,43px)/1.1 var(--display); }
.retail-campaigns > div { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.retail-campaigns a { display: block; border-radius: 11px; overflow: hidden; }
.retail-campaigns img { display: block; width: 100%; height: auto; aspect-ratio: 1195 / 507; object-fit: contain; }

.brand-head h2 { color: var(--shop-copy); }
.brand-head .text-link { color: var(--shop-copy); }
.brand-grid, .brands-page { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 10px; border: 0; }
.brands-page { padding: 18px var(--pad) 70px; }
.brand-directory-tools { padding: 0 var(--pad); display: flex; align-items: center; flex-wrap: wrap; gap: 10px; color: var(--shop-copy); }
.brand-directory-tools label { font-size: 14px; font-weight: 700; }
.brand-directory-tools input { min-height: 44px; width: min(100%,300px); color: var(--shop-copy); background: var(--shop-panel); border: 1px solid var(--shop-border); border-radius: 7px; padding: 0 10px; font: 500 16px var(--sans); }
.brand-directory-tools a { min-height: 44px; display: flex; align-items: center; font-size: 13px; text-underline-offset: 3px; }
.brand-card { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 9px 8px 13px; color: var(--shop-copy); background: var(--shop-panel); border: 1px solid var(--shop-border); border-radius: 10px; text-decoration: none; text-align: center; }
.brand-card:hover, .brand-card:focus-visible { border-color: #77ab99; }
.brand-card-art { width: 100%; height: 70px; display: grid; place-items: center; overflow: hidden; border-radius: 6px; background: #fff; }
.brand-card img { width: 100%; height: 70px; object-fit: contain; }
.brand-card-art img[src$=".svg"] { width: 66%; max-height: 35px; }
.brand-card strong { font-size: 13px; margin-top: 3px; }
.brand-card small { color: var(--shop-muted); font-size: 11px; }

.site-footer { background: #142127; --footer-copy: #d7e4dc; color: var(--footer-copy); padding: 36px var(--pad) 24px; }
.site-footer .footer-top { grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(14px,4vw,56px); padding-bottom: 25px; }
.site-footer :is(a,p,.footer-col > span,.footer-bottom) { color: var(--footer-copy); font: 500 13px/1.6 var(--sans); }
.site-footer a:hover { color: #e5f478; }
.site-footer .footer-brand, .site-footer .footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.site-footer h2 { font: 700 16px/1.3 var(--sans); margin: 0 0 4px; color: #f5f8ed; }
.site-footer .footer-logo { padding: 8px 10px; border-radius: 5px; margin-bottom: 8px; background: #f8faf2; }
.footer-logo img { width: 161px; height: auto; object-fit: contain; }
.site-footer .footer-bottom { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 9px 22px; }
.site-footer .footer-bottom span { margin-inline-end: auto; }

.catalogue-head { padding: 28px var(--pad) 17px; }
:is(.catalogue-head,.build-head) h1 { margin-top: 10px; color: var(--shop-copy); }
:is(.catalogue-head,.build-head) p { color: var(--shop-muted); }
:is(.catalogue-head,.build-head) .breadcrumb { color: var(--shop-muted); }
:is(.catalogue-head,.build-head) .breadcrumb button { color: var(--shop-copy); }
.catalogue-categories { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(133px, 1fr); gap: 8px; overflow: auto; padding: 3px 3px 10px; margin-inline: var(--pad); scrollbar-width: thin; }
.catalogue-categories button { min-height: 112px; display: grid; grid-template-rows: 46px auto auto; align-items: center; justify-items: center; gap: 4px; padding: 7px; color: var(--shop-copy); background: var(--shop-panel); border: 1px solid var(--shop-border); border-radius: 8px; font-size: 12px; }
.catalogue-categories button[aria-pressed="true"] { border-color: #7db2a4; }
.catalogue-categories button:hover { border-color: #73a896; }
.catalogue-categories img { width: 82%; height: 100%; object-fit: contain; object-position: center; }
.catalogue-categories span { display: flex; align-items: center; gap: 4px; color: var(--shop-muted); font-size: 11px; }
.catalogue-layout { grid-template-columns: clamp(165px,20vw,220px) minmax(0,1fr); align-items: start; gap: clamp(12px,2vw,26px); padding: 15px var(--pad) 60px; }
.catalogue-layout .filter-panel { background: var(--shop-panel); border: 1px solid var(--shop-border); border-radius: 10px; padding: 12px; }
.catalogue-layout .filter-head, .catalogue-layout .filter-group, .catalogue-layout .catalogue-toolbar { border-color: var(--shop-border); }
.filter-head h2 { margin: 0; color: var(--shop-copy); font: 700 18px/1.2 var(--display); }
.catalogue-layout .filter-head-actions button, .catalogue-layout .filter-label, .catalogue-layout .filter-option,
.catalogue-layout .catalogue-toolbar .mono, .catalogue-layout .sort-control select,
.catalogue-layout .filters-toggle { color: var(--shop-copy); font-family: var(--sans); font-size: 12px; letter-spacing: 0; }
.catalogue-layout .filter-option { padding-inline: 7px; min-height: 36px; text-transform: none; }
.catalogue-layout .filter-option.is-active { background: var(--shop-action); color: #223326; }
.catalogue-layout .sort-control select { color-scheme: dark; background: var(--shop-panel); min-height: 36px; }
body[data-theme="light"] .catalogue-layout .sort-control select { color-scheme: light; }
.catalogue-main .product-grid { padding-top: 10px; }
.catalogue-view .product-card-media { height: clamp(120px,15vw,207px); }


.build-head { border-color: var(--shop-border); }
.build-head-actions .text-btn { color: var(--shop-copy); }
.build-head-actions .text-btn:hover { color: #152822; }
.build-starters { gap: 13px; }
.build-starters .build-platform {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between;
  gap: 9px; min-height: 240px; isolation: isolate; overflow: hidden; padding: 20px;
  border: 1px solid #536a66; border-radius: 14px; color: #edf5ed;
  background: radial-gradient(ellipse at 77% 55%,#5b3b35,#22272a 58%,#182126);
}
.build-starters .build-platform.intel { background: radial-gradient(ellipse at 77% 55%,#365c73,#202f3c 58%,#17232e); }
.build-starters .build-platform:hover { border-color: #a0c2a6; }
.build-starters .build-platform .platform-mark { width: 64px; height: 30px; padding: 4px; border-radius: 5px; background: #f9faf3; }
.build-platform b { font: 700 clamp(22px,3.1vw,44px)/1.04 var(--display); }
.build-platform small { color: #d4e1d6; margin-top: 5px; }
.build-platform .preset-price { color: #f4f7ec; }
.build-starters .build-platform .platform-art { position: absolute; width: 51%; height: 91%; right: 0; bottom: 0; object-fit: contain; object-position: center bottom; z-index: -1; pointer-events: none; transition: opacity 220ms ease; }
.build-platform:hover .platform-art { opacity: .87; }
.platform-view { display: flex; align-items: center; gap: 6px; color: #e2f68f; font-size: 13px; font-weight: 700; }
.platform-view svg { color: inherit; }
.build-manual { display: flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 7px; color: var(--shop-copy); font-size: 14px; font-weight: 700; }
.build-manual svg { width: 16px; height: 16px; }
.build-manual:hover { text-decoration: underline; text-underline-offset: 4px; }
.build-layout { margin-top: 7px; }
.build-sheet { scroll-margin-top: calc(var(--head) + 14px); }
.build-sheet .build-group { color: var(--shop-copy); background: var(--shop-panel); border-color: var(--shop-border); }
.build-sheet .build-row { border-color: var(--shop-border); }
.build-sheet .slot-label, .build-sheet .build-row-price { color: var(--shop-copy); }
.build-sheet .build-row-main small, .build-sheet .slot-label small { color: var(--shop-muted); }
.build-sheet .build-row.has-conflict .slot-label { color: #e49879; }
body[data-theme="light"] .build-sheet .build-row.has-conflict .slot-label { color: #9b431f; }
.build-sheet .build-row-actions > button { color: var(--shop-copy); border-color: var(--shop-border); }
.build-sheet .build-row-actions > button:first-child { color: var(--shop-copy); }
.build-sheet .build-row-actions > button:hover { color: #1a4236; background: #e4eee2; }
.builder-preview { min-height: 115px; height: clamp(115px,14vw,155px); margin-bottom: 13px; display: grid; place-items: center; overflow: hidden; border-radius: 7px; background: radial-gradient(ellipse at 50% 40%, #4f6860, #263b38 70%); }
.builder-preview.preview-selected { background: #e0e8dc; }
.builder-preview img { width: 88%; height: 100%; min-height: 0; object-fit: contain; }
.builder-preview.preview-selected img { mix-blend-mode: multiply; }
.build-summary { position: sticky; top: calc(var(--head) + 15px); }
body[data-theme="light"] .build-mobile-summary { border-color: #7a988d; }
.btn::after { animation: none; }

@media (max-width: 1250px) {
  .shelf-track { grid-auto-columns: calc((100% - 24px) / 3); }
  .brand-grid, .brands-page { grid-template-columns: repeat(5,minmax(0,1fr)); }
}
@media (max-width: 980px) {
  :root { --rail: 0px; --head: 61px; }
  .header-inner { grid-template-columns: auto minmax(72px,1fr) minmax(145px, 30vw) auto; gap: 9px; padding-inline: 11px; }
  .header-inner .menu-btn { display: grid; }
  .header-build { display: none; }
  .store-rail { width: min(310px, calc(100vw - 31px)); transform: translateX(-101%); }
  .store-rail.is-open { transform: translateX(0); }
  .store-rail .rail-close { display: grid; place-items: center; position: absolute; top: 8px; right: 4px; min-height: 44px; width: 44px; padding: 0; }
  .store-rail .rail-brand { width: calc(100% - 53px); }
  .store-rail .rail-logo-small { opacity: 0; }
  .store-rail .rail-logo-full, .store-rail .rail-links span, .store-rail .rail-tools span { opacity: 1; }
  .brand-grid, .brands-page { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media (max-width: 860px) {
  .catalogue-layout { grid-template-columns: 1fr; }
  .catalogue-layout .filter-panel.is-open { display: block; }
}
@media (max-width: 800px) {
  .build-summary { position: static; }
  .catalogue-main .product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .hero-deck { height: 390px; }
  .hero-poster { width: 83%; }
  .home-categories { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .product-card .product-card-media { height: clamp(117px,20vw,173px); }
}
@media (max-width: 600px) {
  .header-inner { grid-template-columns: auto minmax(65px,1fr) auto; gap: 3px; padding-inline: 6px; }
  .header-actions { gap: 0; }
  .header-search { display: none; }
  .hero-deck { height: clamp(350px,100vw,420px); }
  .home-hero { padding-block: 10px 12px; }
  .hero-poster { width: 87%; inset-block: 7px; }
  .photo-poster .poster-image { object-position: 64% 35%; }
  .hero-poster::before { background: linear-gradient(0deg,#0b171cf7 5%,#0c171bc2 35%,transparent 78%); }
  .hardware-poster .poster-image { width: 90%; height: 60%; inset: 3% 5% auto; object-fit: contain; }
  .poster-copy { max-width: none; padding: 12px 14px 15px; }
  .poster-copy h2 { font-size: clamp(32px,9vw,47px); }
  .poster-copy p { max-width: 33ch; margin: 6px 0 10px; }
  .hero-nav { justify-content: center; column-gap: 8px; }
  .hero-nav .hero-dots { flex: none; width: auto; gap: 8px; }
  .hero-rotation { min-height: 38px; margin: 0; font-size: 11px; }
  .hero-nav .hero-dots button { min-height: 40px; font-size: 11px; }
  .home-categories { gap: 8px; }
  .home-category { min-height: 121px; }
  .home-category > div { inset: auto 7px 5px; }
  .home-category button { flex-shrink: 0; }
  .shelf-track { grid-auto-columns: calc((100% - 20px) / 1.9); gap: 8px; }
  .product-shelf { padding: 10px; }
  .shelf-heading h2 { font-size: clamp(21px,6.5vw,34px); }
  .shelf-heading { gap: 6px; }
  .shelf-step { min-width: 41px; }
  .brand-grid, .brands-page { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .brand-card-art, .brand-card img { height: 54px; }
  .catalogue-main .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .catalogue-categories { grid-auto-columns: 120px; }
  .retail-campaigns > div, .site-footer .footer-top { grid-template-columns: 1fr; }
  .site-footer .footer-bottom span { flex: 0 0 100%; }
  .build-starters .build-platform { min-height: 181px; padding: 13px; }
  .build-starters .build-platform .platform-art { height: 90%; width: 47%; }
  .build-platform b { font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  .store-rail, .rail-brand img, .store-rail :is(.rail-links,.rail-tools) span, .hero-poster, .product-card, .platform-art { transition: none; }
  .hero-poster[data-offset="0"] { transform: translateX(-50%); }
}


.brands-page { margin-inline: var(--pad); padding-inline: 0; background: transparent; }
:is(.catalogue-head,.build-head) .breadcrumb > span { color: var(--shop-muted); }
.brand-route { min-height: 44px; color: var(--shop-copy); text-decoration: underline; text-underline-offset: 3px; font-size: 13px; }
.catalogue-toolbar:has(.brand-route:not([hidden])) { flex-wrap: wrap; }
.hero-poster:not([data-offset="0"]) .poster-copy { opacity: .46; }
.hero-poster:not([data-offset="0"]) .poster-copy :is(button,small) { visibility: hidden; }
.rail-logo-small { width: 26px; height: 31px; left: 12px; }
@media (min-width: 981px) and (prefers-reduced-motion: no-preference) {
  .shelf-track { perspective: 850px; padding-block-start: 9px; }
  .shelf-track .product-card { transition: transform 320ms var(--shell-ease), background-color 180ms ease, border-color 180ms ease; }
  .shelf-track .product-card[data-shelf-side="-1"] { transform: rotateY(7deg) scale(.985); }
  .shelf-track .product-card[data-shelf-side="1"] { transform: rotateY(-7deg) scale(.985); }
}

.photo-poster .poster-image { inset: 0 0 0 auto; width: 72%; height: 100%; object-fit: contain; object-position: 100% 50%; }
.photo-poster .poster-copy h2 span { display: block; color: #e4f86a; }
.photo-poster .poster-copy h2 { max-width: none; }
@media (max-width: 600px) {
  .photo-poster .poster-image { width: 100%; height: 62%; inset: 0 0 auto; object-position: center; }
}

.photo-poster .poster-image { mask-image: linear-gradient(90deg,transparent,black 13%); }
@media (max-width: 600px) {
  .photo-poster .poster-image { mask-image: linear-gradient(180deg,black 77%,transparent); }
}

/* Shared top bar, theme and final surface interactions. */
:root { --head: 65px; }
body { --rail: 72px; }
.site-header, .site-header.is-scrolled, .store-rail { background: var(--shop-panel); color: var(--shop-copy); }
.site-header, .site-header.is-scrolled, .store-rail, .store-rail .rail-links, .rail-tools { border-color: transparent; }
.store-rail svg { color: var(--shop-muted); }
.store-rail :is(button,a):hover { color: var(--shop-copy); background: color-mix(in srgb,var(--shop-copy) 9%,var(--shop-panel)); }
.store-rail [aria-current="page"] { color: var(--shop-copy); background: color-mix(in srgb,var(--shop-copy) 11%,var(--shop-panel)); }
.store-rail [aria-current="page"] svg { color: var(--shop-action); }
body[data-theme="light"] .store-rail [aria-current="page"] svg { color: #286653; }
.store-rail .rail-logo-full { transform: translateX(-7px); transition: opacity 210ms ease,transform 300ms var(--shell-ease); filter: brightness(0) invert(.94); }
.store-rail .rail-logo-small { transition: opacity 190ms ease; }
body[data-theme="light"] .store-rail .rail-logo-full { filter: none; }
body[data-theme="light"] .store-rail .rail-logo-small { filter: brightness(0) opacity(.68); }
.header-inner { grid-template-columns: minmax(0,1fr) minmax(180px,min(39%,490px)) minmax(0,1fr); gap: clamp(9px,2vw,22px); padding-inline: clamp(19px,3vw,45px); }
.header-wordmark { width: clamp(119px,14vw,161px); display: grid; place-items: center; min-height: 44px; transition: opacity 180ms ease; }
.header-wordmark img { width: 100%; max-width: 161px; height: auto; object-fit: contain; filter: brightness(0) invert(.94); }
body[data-theme="light"] .header-wordmark img { filter: none; }
.header-search { grid-column: 2; }
.header-actions { grid-column: 3; }
.header-inner .menu-btn { display: none; }
body[data-theme="dark"] { color-scheme: dark; }
body[data-theme="light"] { color-scheme: light; }
.account-dialog, .build-confirm, .product-page, .search-overlay, .side-drawer { color-scheme: light; }
@media (min-width:721px) {
  .store-rail { display: flex; width: 72px; transform: none; }
  .store-rail .rail-brand { width: 100%; }
  .store-rail .rail-close { display: none; }
  .store-rail .rail-logo-small { opacity: 1; }
  .store-rail .rail-logo-full, .store-rail .rail-links span, .store-rail .rail-tools span { opacity: 0; }
  .store-rail:not([data-dismissed]):has(:focus-visible) { width: 242px; box-shadow: 14px 0 30px #040a0d55; }
  .store-rail:not([data-dismissed]):has(:focus-visible) :is(.rail-links,.rail-tools) span,
  .store-rail:not([data-dismissed]):has(:focus-visible) .rail-logo-full { opacity: 1; transform: none; }
  .store-rail:not([data-dismissed]):has(:focus-visible) .rail-logo-small { opacity: 0; }
  .store-rail:not([data-dismissed]):has(:focus-visible) ~ .site-header .header-wordmark { opacity: 0; }
}
@media (min-width:721px) and (hover:hover) {
  .store-rail:hover:not([data-dismissed]) { width: 242px; box-shadow: 14px 0 30px #040a0d55; }
  .store-rail:hover:not([data-dismissed]) :is(.rail-links,.rail-tools) span,
  .store-rail:hover:not([data-dismissed]) .rail-logo-full { opacity: 1; transform: none; }
  .store-rail:hover:not([data-dismissed]) .rail-logo-small { opacity: 0; }
  .store-rail:hover:not([data-dismissed]) ~ .site-header .header-wordmark { opacity: 0; }
}
@media (min-width:721px) and (max-width: 980px) {
  .header-build { display: none; }
}
@media (max-width:720px) {
  body { --rail: 0px; --head: 61px; }
  .store-rail { display: flex; width: min(290px,calc(100% - 32px)); }
  .store-rail .rail-logo-full { transform: none; }
  .header-inner { grid-template-columns: 44px minmax(0,1fr) auto; gap: 5px; padding-inline: 7px; }
  .header-inner .menu-btn { display: grid; }
  .header-wordmark { grid-column: 2; width: min(100%,129px); }
  .header-search { display: none; }
  .header-actions .mobile-search { display: grid; }
  .header-actions { gap: 0; }
}
::view-transition-old(root) { animation: none; }
::view-transition-new(root) { animation: vedantThemeReveal .58s cubic-bezier(.22,1,.36,1); mix-blend-mode: normal; }
@keyframes vedantThemeReveal {
  from { clip-path: circle(0px at var(--theme-x) var(--theme-y)); }
  to { clip-path: circle(var(--theme-r) at var(--theme-x) var(--theme-y)); }
}

.testimonial-section, .newsletter-section { background: var(--shop-floor); color: var(--shop-copy); }
.testimonial-section :is(h2,blockquote,.testimonial-panel,.testimonial-person b,.testimonial-nav,.testimonial-nav button),
.newsletter-section :is(h2,p) { color: var(--shop-copy); }
.testimonial-section .testimonial-panel, .testimonial-section .testimonial-nav button { border-color: var(--shop-border); }
.testimonial-section .testimonial-person small { color: var(--shop-muted); }
.testimonial-section .testimonial-nav button:hover { background: var(--shop-panel); color: var(--shop-copy); }
.newsletter-section .btn { color: #172720; background: var(--shop-action); }
.site-footer { padding: 19px var(--pad) 13px; background: var(--shop-panel); color: var(--shop-copy); --footer-copy: var(--shop-copy); border: 0; }
.site-footer .footer-top { gap: 12px 30px; padding-bottom: 10px; border: 0; }
.site-footer .footer-bottom { margin: 0; padding-top: 0; }
.site-footer .footer-logo { background: transparent; padding: 0; border-radius: 0; margin: 0; overflow: visible; }
.site-footer .footer-logo::before, .site-footer .footer-logo::after { content: none; }
.site-footer .footer-logo img { width: 128px; height: auto; border-radius: 0; transform: none; filter: brightness(0) invert(.94); }
body[data-theme="light"] .site-footer .footer-logo img { filter: none; }
.site-footer h2 { color: var(--shop-copy); font-size: 14px; margin-bottom: 2px; }
.site-footer .footer-col, .site-footer .footer-brand { gap: 2px; }
.site-footer :is(a,p,.footer-bottom) { font-size: 12px; }
.site-footer a:hover { color: var(--shop-copy); text-decoration: underline; }

.catalogue-categories { margin-block-start: 18px; }
.catalogue-layout .filter-panel { background: transparent; border: 0; padding: 5px 0; }
.catalogue-layout .filter-head { padding: 0 0 8px; border: 0; }
.store-select { position: relative; color: var(--shop-copy); margin-bottom: 7px; }
.store-select summary { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 9px; background: var(--shop-panel); border: 1px solid var(--shop-border); border-radius: 8px; cursor: pointer; list-style: none; }
.store-select summary::-webkit-details-marker { display: none; }
.store-select summary span { font-size: 11px; color: var(--shop-muted); }
.store-select summary strong { margin-inline-start: auto; font-size: 12px; min-width: 0; overflow-wrap: anywhere; }
.store-select summary svg { width: 14px; height: 14px; transform: rotate(90deg); transition: transform 180ms ease; }
.store-select[open] summary svg { transform: rotate(-90deg); }
.store-select-options { padding: 5px; border-radius: 8px; border: 1px solid var(--shop-border); background: var(--shop-panel); margin-top: 4px; }
.store-select-options button { display: block; width: 100%; min-height: 39px; color: var(--shop-copy); text-align: left; padding: 0 8px; border-radius: 5px; font-size: 12px; }
.store-select-options button:is(:hover,:focus-visible,[aria-pressed="true"]) { color: #18281f; background: var(--shop-action); }
[data-sort-menu] .store-select { margin: 0; }
[data-sort-menu] .store-select-options { position: absolute; right: 0; min-width: 169px; z-index: 15; box-shadow: 0 7px 20px #0003; }
.price-range { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin-bottom: 10px; }
.price-range label { color: var(--shop-muted); font-size: 11px; }
.price-range input { width: 100%; padding: 5px; height: 37px; min-width: 0; background: var(--shop-panel); color: var(--shop-copy); border: 1px solid var(--shop-border); border-radius: 5px; }
.price-range button { grid-column: 1/-1; min-height: 38px; height: auto; justify-content: center; }
.brand-directory-tools { padding-top: 22px; }

.product-card[data-hover-tone="0"] { --card-hover: #b9dc91; --hover-surface: #2b403a; --media-hover: #e1ead5; --image-shift: -2px; }
.product-card[data-hover-tone="1"] { --card-hover: #83cfdf; --hover-surface: #263d49; --media-hover: #dbeaf0; --image-shift: 2px; }
.product-card[data-hover-tone="2"] { --card-hover: #e3b384; --hover-surface: #433730; --media-hover: #f0e4d8; --image-shift: -1px; }
.product-card[data-hover-tone="3"] { --card-hover: #c8b0e6; --hover-surface: #3c3548; --media-hover: #e9e2f1; --image-shift: -4px; }
.product-card .product-card-media { transition: background-color 200ms ease; }
.product-card .product-card-media img { inset: 7%; width: 86%; height: 86%; transition: transform 250ms var(--shell-ease); }
.product-card:focus-within .product-card-media { background: var(--media-hover); }
@media (hover:hover) {
  .product-card:hover .product-card-media { background: var(--media-hover); }
  .product-card:hover .product-card-media img { inset: 7%; width: 86%; height: 86%; transform: translateY(var(--image-shift)) scale(1.055); transition: transform 250ms var(--shell-ease); }
}
.product-shelf { position: relative; padding-inline: clamp(9px,2.5vw,32px); background: radial-gradient(ellipse at 50% 52%, #4a724824,transparent 67%),var(--shop-panel); }
.product-shelf .shelf-controls { position: absolute; inset: 54% 10px auto; display: flex; z-index: 10; justify-content: space-between; pointer-events: none; }
.product-shelf .shelf-controls button { pointer-events: auto; background: var(--shop-floor); }
.product-shelf .shelf-controls button:hover { background: var(--shop-action); }
.product-shelf .shelf-track { display: block; position: relative; isolation: isolate; height: 379px; overflow: hidden; touch-action: pan-y; cursor: grab; padding: 0; }
.product-shelf .shelf-track:active { cursor: grabbing; }
.product-shelf .product-card {
  position: absolute; left: 50%; top: 50%; height: 322px; width: clamp(180px,25%,244px);
  transform: translate(-50%,-50%) translateX(var(--ring-x,0px)) scale(var(--ring-scale,1)) rotateY(var(--ring-rot,0deg));
  z-index: var(--ring-depth,4); opacity: var(--ring-alpha,1);
  transition: transform 500ms var(--shell-ease), opacity 320ms ease, border-color 180ms ease, background-color 180ms ease;
}
.product-shelf .product-card-media { height: 152px; }
.product-shelf .product-card[data-ring-position="0"] { border-color: #9db783; }
.product-shelf .product-card[data-ring-position="-1"] { --ring-x: -87%; --ring-scale: .88; --ring-depth: 3; --ring-rot: 15deg; --ring-alpha: .84; }
.product-shelf .product-card[data-ring-position="1"] { --ring-x: 87%; --ring-scale: .88; --ring-depth: 3; --ring-rot: -15deg; --ring-alpha: .84; }
.product-shelf .product-card[data-ring-position="-2"] { --ring-x: -160%; --ring-scale: .72; --ring-depth: 2; --ring-rot: 23deg; --ring-alpha: .61; }
.product-shelf .product-card[data-ring-position="2"] { --ring-x: 160%; --ring-scale: .72; --ring-depth: 2; --ring-rot: -23deg; --ring-alpha: .61; }
.product-shelf .product-card[inert] { --ring-x: 198%; --ring-scale: .63; --ring-depth: 1; --ring-alpha: 0; pointer-events: none; }
@media (max-width:720px) {
  .product-shelf .product-card { width: min(64%, 210px); }
  .product-shelf .shelf-track { height: 350px; }
  .product-shelf .product-card[data-ring-position="-1"] { --ring-x: -66%; }
  .product-shelf .product-card[data-ring-position="1"] { --ring-x: 66%; }
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-new(root) { animation: none; }
  .store-rail .rail-logo-full, .store-rail .rail-logo-small, .product-shelf .product-card, .product-card .product-card-media img { transition: none !important; }
  .product-card:hover .product-card-media img { transform: none; }
}


.build-page { padding: 18px clamp(12px,3vw,44px) 35px; }
.build-workspace { display: grid; grid-template-columns: clamp(190px,23vw,266px) minmax(0,1fr); gap: 14px 23px; align-items: start; }
.build-step-rail { color: var(--shop-copy); background: var(--shop-panel); padding: 11px; border-radius: 11px; }
.build-step-rail .builder-preview { height: 105px; min-height: 0; margin-bottom: 8px; }
.build-step-rail .summary-progress { display: grid; gap: 4px; margin: 0 4px 9px; color: var(--shop-muted); }
.build-step-rail .summary-progress progress { height: 4px; }
.build-step-rail .build-sheet { display: flex; flex-direction: column; gap: 7px; }
.builder-step-group h2 { color: var(--shop-muted); font: 600 11px/1.3 var(--sans); margin: 5px 5px 3px; }
.builder-step {
  display: flex; width: 100%; align-items: center; gap: 7px; min-height: 45px; margin-block: 2px;
  padding: 4px 5px; text-align: left; color: var(--shop-copy); border-radius: 8px;
  transition: background 190ms ease, color 190ms ease;
}
.builder-step:hover { background: color-mix(in srgb,var(--shop-copy) 8%,var(--shop-panel)); }
.builder-step[aria-pressed="true"] { background: color-mix(in srgb,#7ba58b 25%,var(--shop-panel)); }
.builder-step-icon { width: 29px; height: 29px; border: 1px solid var(--shop-border); color: var(--shop-muted); flex: 0 0 29px; border-radius: 50%; display: grid; place-items: center; }
.builder-step-icon svg { width: 16px; height: 16px; }
.builder-step.is-selected .builder-step-icon { color: #16271f; background: var(--shop-action); border-color: transparent; }
.builder-step.has-conflict strong { color: #f7a383; }
body[data-theme="light"] .builder-step.has-conflict strong { color: #943423; }
.builder-step-copy { flex: 1; min-width: 0; }
.builder-step-copy strong, .builder-step-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.builder-step-copy small, .step-required { color: var(--shop-muted); font-size: 10px; }
.step-cost { font-size: 11px; font-weight: 700; }
.builder-selection { min-width: 0; scroll-margin-top: calc(var(--head) + 9px); }
.builder-selection-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.builder-selection-head h2 { margin: 0; font: 700 clamp(29px,4.5vw,52px)/1.03 var(--display); color: var(--shop-copy); }
.builder-selection-head .build-head-actions { display: flex; gap: 10px; }
.builder-selection-head .build-head-actions button { min-height: 44px; color: var(--shop-muted); font-size: 12px; }
.builder-selection-head .build-head-actions button:hover { color: var(--shop-copy); text-decoration: underline; }
.builder-current { display: flex; justify-content: space-between; align-items: center; gap: 10px; color: var(--shop-copy); font-size: 13px; }
.builder-current button { min-height: 44px; color: var(--shop-muted); text-decoration: underline; }
.builder-pick-tools { display: flex; gap: 8px 11px; align-items: center; flex-wrap: wrap; margin: 8px 0 13px; color: var(--shop-muted); font-size: 12px; }
.builder-pick-tools .picker-search { background: var(--shop-panel); color: var(--shop-copy); border: 1px solid var(--shop-border); border-radius: 7px; min-height: 45px; flex: 1 1 190px; }
.builder-pick-tools .picker-search input { color: var(--shop-copy); }
.builder-parts { display: grid; gap: 7px; }
.builder-parts .pick-card { padding: 7px; min-width: 0; display: grid; grid-template-columns: 70px minmax(0,1fr); gap: 7px; align-items: center; color: var(--shop-copy); background: var(--shop-panel); border: 1px solid var(--shop-border); transition: border-color 180ms ease, background 180ms ease; }
.builder-parts .pick-card:hover { border-color: #8fae96; }
.builder-parts .pick-card.is-selected { border-color: #85a684; }
.builder-parts .pick-media { width: 70px; height: 59px; padding: 4px; border: 0; border-radius: 5px; background: #eef0e9; }
.builder-parts .pick-media img { width: 100%; height: 100%; object-fit: contain; transform: none; }
.builder-parts .pick-body { padding: 0; display: grid; align-items: center; grid-template-columns: minmax(0,1fr) auto; gap: 2px 7px; }
.builder-parts .pick-body strong { grid-column: 1; color: var(--shop-copy); font-size: 13px; }
.builder-parts .pick-body small { grid-column: 1; color: var(--shop-muted); }
.builder-parts .pick-warning { grid-column: 1/-1; margin: 0; color: #ffc3a5; }
body[data-theme="light"] .builder-parts .pick-warning { color: #893322; }
.builder-parts .pick-foot { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: 6px; justify-content: flex-end; border: 0; padding: 0; margin: 0; align-items: center; }
.builder-parts .pick-foot b { color: var(--shop-copy); font-size: 13px; white-space: nowrap; }
.builder-parts .pick-foot .pick-add { border: 0; background: var(--shop-action); color: #14281a; min-width: 68px; min-height: 44px; }
.builder-parts .pick-foot .pick-add:disabled { background: color-mix(in srgb,var(--shop-copy) 12%,var(--shop-panel)); color: var(--shop-muted); }
.build-buybar {
  grid-column: 1/-1; position: sticky; bottom: 8px; z-index: 9; display: flex; gap: 7px 12px; align-items: center; flex-wrap: wrap;
  padding: 9px 11px; background: var(--shop-panel); color: var(--shop-copy); border: 1px solid var(--shop-border); border-radius: 10px;
}
.builder-total { display: grid; margin-inline-end: auto; color: var(--shop-muted); font-size: 11px; }
.builder-total strong { color: var(--shop-copy); font: 700 27px/1.05 var(--display); }
.build-buybar .build-checks { margin: 0; color: var(--shop-copy); flex: 1 1 140px; font-size: 11px; }
.build-buybar .build-checks:empty { display: none; }
.build-buybar .build-checks :is(small,p,li) { color: var(--shop-muted); }
.build-buybar .build-checks li { color: #f6ae93; }
body[data-theme="light"] .build-buybar .build-checks li { color: #8b2d21; }
.build-step-nav { display: flex; gap: 5px; }
.build-step-nav .btn { min-height: 43px; color: var(--shop-copy); border-color: var(--shop-border); padding-inline: 9px; }
.build-step-nav .btn:disabled { opacity: .55; }
.build-buybar #buildAdd { min-height: 43px; }
.build-buybar #buildAdd:disabled { background: color-mix(in srgb,var(--shop-copy) 13%,var(--shop-panel)); color: var(--shop-muted); border-color: transparent; }
@media (max-width: 720px) {
  .build-workspace { display: flex; flex-direction: column; gap: 9px; }
  .build-workspace > * { width: 100%; }
  .build-step-rail { padding: 6px 8px; }
  .build-step-rail .builder-preview { display: none; }
  .build-step-rail .summary-progress { margin-block: 4px 1px; }
  .build-step-rail .build-sheet { flex-direction: row; overflow: auto; padding-bottom: 2px; scrollbar-width: thin; }
  .builder-step-group { display: flex; gap: 3px; flex: 0 0 auto; align-items: center; }
  .builder-step-group h2, .builder-step .step-cost, .builder-step-copy small, .step-required { display: none; }
  .builder-step { width: auto; padding: 4px 7px; min-height: 44px; white-space: nowrap; }
  .builder-step-copy strong { font-size: 12px; }
  .builder-step-icon { width: 22px; height: 22px; flex-basis: 22px; }
  .builder-parts .pick-card { grid-template-columns: 54px minmax(0,1fr); }
  .builder-parts .pick-media { width: 54px; }
  .builder-parts .pick-foot { grid-column: 1/-1; grid-row: auto; justify-content: space-between; }
  .build-buybar { bottom: 4px; flex-wrap: wrap; }
  .build-buybar .build-checks { order: 5; flex-basis: 100%; }
  .build-step-nav .btn { padding-inline: 4px; font-size: 11px; }
  .build-buybar #buildAdd { font-size: 11px; padding-inline: 7px; }
  .site-footer .footer-top { grid-template-columns: 1fr 1fr; }
  .site-footer .footer-brand { grid-column: 1/-1; }
}


.catalogue-layout .filter-panel { display: block; }
.catalogue-layout .filter-head { display: flex; min-height: 0; align-items: center; justify-content: space-between; gap: 8px; }
.catalogue-layout .filter-head-actions { display: flex; gap: 4px; }
.catalogue-layout .filter-head-actions button { min-height: 38px; }
@media (min-width:721px) {
  .catalogue-layout { grid-template-columns: clamp(150px,20vw,220px) minmax(0,1fr); }
  .catalogue-layout :is(.filters-toggle,.filter-close) { display: none; }
}
@media (max-width:720px) {
  .catalogue-layout { grid-template-columns: 1fr; }
  .catalogue-layout .filter-panel:not(.is-open) { display: none; }
  .catalogue-layout :is(.filters-toggle,.filter-close) { display: inline-flex; align-items: center; min-height: 42px; }
  .build-buybar #buildAdd { margin-inline-start: auto; }
}
.build-buybar #buildAdd:disabled { opacity: 1; }
.builder-pick-tools .picker-search input::placeholder, .header-search { color: var(--shop-muted); }
.builder-selection-head .build-head-actions { flex-wrap: wrap; justify-content: flex-end; }
body[data-theme="light"] .product-card {
  background: #fafbf5; color: #162823; border-color: #bdcbc3; --hover-surface: var(--media-hover);
}
body[data-theme="light"] .product-card:is(:hover,:focus-within) { background: var(--hover-surface); border-color: #678a77; }
body[data-theme="light"] .product-card :is(.product-card-cat,.product-card-spec,.product-card-price) { color: #354d44; }
body[data-theme="light"] .product-card .product-card-foot { border-color: #c5d1c7; }
body[data-theme="light"] .product-card .card-view { color: #fff; background: #34584b; }
body[data-theme="light"] .product-card .card-view:hover { color: #142720; background: var(--shop-action); }

.site-footer .footer-logo img { background: transparent; }

/* Shared storefront refinements. */
.header-wordmark, .header-route-title { grid-column: 1; grid-row: 1; }
.header-route-title { font: 700 clamp(16px,2.2vw,24px)/1.12 var(--display); color: var(--shop-copy); }
body[data-view] .site-header .header-wordmark { opacity: 1; }
@media (max-width:720px) {
  .header-wordmark, .header-route-title { grid-column: 2; }
}

.catalogue-categories {
  display: flex; gap: 7px; margin-block-start: 14px; padding-block: 3px 9px; scrollbar-width: thin;
}
.catalogue-categories button {
  flex: 0 0 auto; display: inline-flex; justify-content: flex-start; gap: 8px; min-width: 0; min-height: 52px;
  padding: 5px 11px 5px 6px; border-radius: 8px; font: 600 12px var(--sans); white-space: nowrap;
  transition: background 170ms ease, border-color 170ms ease;
}
.catalogue-categories button:hover { background: color-mix(in srgb,var(--shop-copy) 8%,var(--shop-panel)); }
.catalogue-categories button[aria-pressed="true"] { background: color-mix(in srgb,#78a690 21%,var(--shop-panel)); border-color: #709589; }
.catalogue-categories .category-chip-art, .catalogue-categories .category-chip-mark {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 5px; overflow: hidden;
  background: #eef0e8; color: #28453b; flex-shrink: 0;
}
.catalogue-categories .category-chip-mark { font: 700 10px/1 var(--sans); }
.catalogue-categories button .category-chip-art img { width: 100%; height: 100%; padding: 3px; object-fit: contain; mix-blend-mode: multiply; }

.builder-parts { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.builder-parts .pick-card { display: flex; align-items: stretch; flex-direction: column; min-width: 0; padding: 8px; gap: 7px; }
.builder-parts .pick-media { width: 100%; height: clamp(91px,12vw,139px); flex-shrink: 0; display: grid; grid-template: minmax(0,1fr) / minmax(0,1fr); place-items: center; overflow: hidden; }
.builder-parts .pick-media img { position: static; min-height: 0; width: 87%; height: 88%; max-height: none; transition: transform 220ms var(--shell-ease); }
.builder-parts .pick-body { flex: 1; display: flex; flex-direction: column; align-items: stretch; gap: 4px; }
.builder-parts .pick-body strong { overflow-wrap: anywhere; }
.builder-parts .pick-foot { margin-top: auto; padding-top: 6px; justify-content: space-between; }
.builder-parts .pick-add { padding-inline: 8px; }
.builder-parts .empty-state { grid-column: 1/-1; }
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  .builder-parts .pick-card:hover .pick-media img { transform: scale(1.07); }
}
@media (max-width:850px) {
  .builder-parts { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width:370px) {
  .builder-parts .pick-foot { flex-wrap: wrap; }
  .builder-parts .pick-add { width: 100%; }
}

.product-card .product-card-price { font-size: clamp(16px,2.05vw,21px); line-height: 1.13; font-variant-numeric: tabular-nums; }
.product-card .card-add { flex-shrink: 0; }
.product-card .product-card-cat[hidden] + h3 { margin-top: 0; }
.product-card .product-open { text-align: left; }
.retail-campaigns button { display: block; width: 100%; border-radius: 10px; overflow: hidden; }
.retail-campaigns button:hover { outline: 1px solid #74988a; }

.mini-cycle { position: relative; isolation: isolate; }
.cycle-track { position: relative; touch-action: pan-y; perspective: 950px; overflow: hidden; padding: 0; }
.cycle-card {
  position: absolute; inset: 50% auto auto 50%; transform: translate(-50%,-50%) translateX(var(--mini-x,0%)) scale(var(--mini-scale,1)) rotateY(var(--mini-rotate,0deg));
  z-index: var(--mini-depth,3); opacity: var(--mini-alpha,1); transition: transform 490ms var(--shell-ease), opacity 250ms ease;
}
.cycle-card[data-ring-position="-1"] { --mini-x: -78%; --mini-scale: .76; --mini-alpha: .68; --mini-depth: 1; --mini-rotate: 16deg; }
.cycle-card[data-ring-position="1"] { --mini-x: 78%; --mini-scale: .76; --mini-alpha: .68; --mini-depth: 1; --mini-rotate: -16deg; }
.cycle-card[inert] { --mini-alpha: 0; --mini-x: 110%; pointer-events: none; }
.cycle-controls { position: absolute; inset: 50% 5px auto; transform: translateY(-50%); display: flex; justify-content: space-between; z-index: 5; pointer-events: none; }
.cycle-controls button { pointer-events: auto; display: grid; place-items: center; min-width: 44px; min-height: 44px; border: 1px solid var(--shop-border); border-radius: 8px; color: var(--shop-copy); background: var(--shop-floor); }
.cycle-controls button:hover { color: #14261d; background: var(--shop-action); }
.cycle-controls svg { width: 17px; height: 17px; }
.home-categories.cycle-track { display: block; height: clamp(178px,23vw,258px); }
.home-category.cycle-card { width: min(58%,450px); height: 86%; min-height: 0; }
.home-category.cycle-card > div { inset: auto 15px 8px; }
.testimonial-panel.cycle-track { display: block; height: clamp(173px,21vw,231px); border: 0; }
.review-card { width: min(66%,520px); min-height: 125px; padding: clamp(12px,2.5vw,25px); display: flex; flex-direction: column; justify-content: center; gap: 10px; border: 1px solid var(--shop-border); border-radius: 13px; background: var(--shop-panel); color: var(--shop-copy); }
.review-card blockquote { margin: 0; font: 600 clamp(14px,2vw,22px)/1.35 var(--sans); }
.testimonial-panel .review-card blockquote::before, .testimonial-panel .review-card blockquote::after { content: none; }
.review-card > span { font-size: 12px; color: var(--shop-muted); }
@media (max-width:600px) {
  .home-category.cycle-card { width: 68%; }
  .review-card { width: calc(100% - 90px); }
  .cycle-card[data-ring-position="-1"] { --mini-x: -66%; }
  .cycle-card[data-ring-position="1"] { --mini-x: 66%; }
}

.brand-index { margin: 13px var(--pad) 0; display: flex; flex-wrap: wrap; gap: 5px; }
.brand-index button { min-width: 37px; min-height: 40px; border: 1px solid var(--shop-border); color: var(--shop-copy); border-radius: 5px; font-weight: 700; }
.brand-index button:hover { background: var(--shop-action); color: #19291f; }
.brands-page { display: block; padding-bottom: 30px; }
.brand-group { margin-bottom: 18px; }
.brand-group h2 { font: 700 24px/1.12 var(--display); margin: 0 0 7px; scroll-margin-top: calc(var(--head) + 6px); }
.brand-group-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(min(100%,151px),1fr)); gap: 8px; }
.brand-group-grid .brand-card { max-width: 235px; }
@media (max-width:460px) { .brand-group-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }

.site-footer { padding: 7px var(--pad); }
.compact-footer { display: flex; align-items: center; gap: 7px 16px; flex-wrap: wrap; }
.compact-footer span { margin-inline-end: auto; color: var(--shop-muted); font-size: 12px; }
.compact-footer :is(button,a) { display: inline-flex; align-items: center; min-height: 44px; color: var(--shop-copy); font-size: 12px; text-underline-offset: 3px; }
.compact-footer button:hover { text-decoration: underline; }

.contact-view { color: var(--shop-copy); background: var(--shop-floor); }
.contact-inner { max-width: 1420px; margin: 0 auto; padding: 27px var(--pad) 38px; min-height: 64vh; }
.contact-inner h1 { margin: 0 0 15px; font: 700 clamp(32px,5vw,55px)/1.05 var(--display); }
.contact-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.contact-grid article { background: var(--shop-panel); padding: 14px; border: 1px solid var(--shop-border); border-radius: 11px; }
.contact-grid article svg { width: 24px; height: 24px; color: var(--shop-muted); }
.contact-grid h2, .contact-faq h2 { margin: 6px 0; font: 700 21px/1.15 var(--display); }
.contact-grid :is(address,a) { color: var(--shop-copy); font-style: normal; font-size: 14px; overflow-wrap: anywhere; }
.contact-grid p, .contact-faq p { color: var(--shop-muted); font-size: 13px; margin-block: 8px 0; }
.contact-faq { margin-top: 23px; max-width: 710px; }
.contact-faq details { border-bottom: 1px solid var(--shop-border); padding: 8px 0; }
.contact-faq summary { cursor: pointer; padding-block: 5px; font-size: 14px; font-weight: 700; }
@media (max-width:660px) { .contact-grid { grid-template-columns: 1fr; } }


.store-dialog {
  width: min(570px,calc(100% - 26px)); max-height: min(86dvh,670px); overflow: auto;
  margin: auto; padding: 22px; color: var(--shop-copy); background: var(--shop-panel);
  border: 1px solid var(--shop-border); border-radius: 14px; overscroll-behavior: contain;
}
.store-dialog::backdrop { background: #070f15ae; }
.store-dialog[open] { animation: revealStoreDialog 230ms var(--shell-ease) both; }
@keyframes revealStoreDialog { from { opacity: 0; transform: translateY(8px) scale(.99); } to { opacity: 1; transform: none; } }
body:has(.store-dialog[open]) { overflow: hidden; }
.store-dialog h2 { margin: 0 0 8px; font: 700 clamp(25px,4.1vw,43px)/1.08 var(--display); }
.store-dialog p { color: var(--shop-muted); font-size: 14px; line-height: 1.55; }
.welcome-dialog > img { display: block; height: auto; width: 133px; margin-bottom: 20px; filter: brightness(0) invert(.94); }
body[data-theme="light"] .welcome-dialog > img { filter: none; }
.welcome-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.welcome-actions .btn { min-height: 44px; height: auto; padding: 9px 13px; }
.welcome-actions a { color: var(--shop-copy); border: 1px solid var(--shop-border); text-decoration: none; }
.welcome-actions a:hover { border-color: #88a68d; }
.brand-preview .btn { min-height: 44px; }

.catalogue-search { width: min(610px,calc(100% - 26px)); margin: max(10dvh,20px) auto auto; padding: 12px; }
.search-command-head { display: flex; align-items: center; gap: 7px; }
.search-command-field { min-width: 0; flex: 1; min-height: 48px; display: flex; align-items: center; gap: 9px; padding: 0 9px; border: 1px solid var(--shop-border); border-radius: 8px; background: var(--shop-floor); }
.search-command-field:focus-within { border-color: #7caa98; }
.search-command-field svg { width: 19px; height: 19px; color: var(--shop-muted); }
.search-command-field input { width: 100%; min-width: 0; min-height: 46px; padding: 0; border: 0; background: transparent; color: var(--shop-copy); font: 500 16px var(--sans); }
.search-command-field input::placeholder { color: var(--shop-muted); }
.search-command-field input:focus { outline: none; }
.search-command-head .icon-btn { min-width: 44px; min-height: 44px; border-radius: 8px; border: 1px solid var(--shop-border); color: var(--shop-copy); }
.search-command-head .icon-btn:hover { color: #17291e; background: var(--shop-action); }
.search-command-suggestions { display: flex; gap: 5px; flex-wrap: wrap; margin: 10px 0 3px; }
.search-command-suggestions button { min-height: 40px; padding: 0 9px; border: 1px solid var(--shop-border); border-radius: 7px; color: var(--shop-copy); font: 600 12px var(--sans); }
.search-command-suggestions button:hover { color: #17291e; background: var(--shop-action); }
.catalogue-search .search-status { margin: 7px 2px 4px; font-size: 12px; }
.search-command-results { display: grid; }
.search-command-row { display: grid; grid-template-columns: 44px minmax(0,1fr) auto; align-items: center; gap: 8px; min-height: 62px; padding: 5px 6px; border-radius: 7px; color: var(--shop-copy); text-align: left; }
.search-command-row:is(:hover,:focus-visible) { background: color-mix(in srgb,var(--shop-copy) 9%,var(--shop-panel)); outline-offset: -2px; }
.search-command-thumb { display: grid; place-items: center; width: 44px; height: 44px; background: #eef0e8; border-radius: 5px; }
.search-command-thumb img { width: 88%; height: 88%; object-fit: contain; mix-blend-mode: multiply; }
.search-command-copy { min-width: 0; display: grid; gap: 2px; }
.search-command-copy strong { font: 700 13px/1.2 var(--sans); }
.search-command-copy small { color: var(--shop-muted); font-size: 11px; line-height: 1.3; }
.search-command-price { text-align: right; font: 700 12px/1.2 var(--sans); white-space: nowrap; }
.search-command-empty { padding-inline: 2px; }
@media (max-width:450px) {
  .catalogue-search { margin-top: 6dvh; }
  .search-command-copy small { display: none; }
  .search-command-price { white-space: normal; max-width: 70px; }
}
@media (prefers-reduced-motion: reduce) {
  .store-dialog[open] { animation: none; }
  .cycle-card, .builder-parts .pick-media img { transition: none; }
}


.site-footer[hidden] { display: none; }
@media (max-width: 720px) {
  .builder-selection-head { flex-wrap: wrap; }
  .builder-selection-head h2 { min-width: 0; overflow-wrap: anywhere; }
}
@media (hover: hover) and (pointer: fine) {
  .product-card .card-wish { opacity: 0; transform: translateY(-4px); pointer-events: none; }
  .product-card:is(:hover, :focus-within) .card-wish { opacity: 1; transform: none; pointer-events: auto; }
}

.header-actions .count-badge {
  min-width: 18px; height: 18px; top: 0; right: 0; padding: 0 4px;
  background: var(--shop-action); color: #17261f; font: 750 10px/1 var(--sans); border-radius: 99px;
}
.cart-drawer {
  width: min(498px,100%); color-scheme: inherit; background: var(--shop-panel); color: var(--shop-copy);
  transition: transform 300ms var(--shell-ease);
}
.cart-drawer :is(.drawer-head, .drawer-foot, .drawer-item) { border-color: var(--shop-border); }
.cart-drawer .drawer-head { align-items: center; padding-block: 14px; }
.cart-drawer .drawer-head h2 { margin: 0; font: 700 32px/1.1 var(--display); }
.cart-drawer .drawer-head .icon-btn { color: var(--shop-copy); }
.cart-drawer .drawer-body { min-height: 0; overscroll-behavior: contain; }
.cart-drawer .drawer-empty { padding-top: 24px; color: var(--shop-muted); }
.cart-drawer .drawer-empty strong { color: var(--shop-copy); font: 750 19px/1.3 var(--sans); }
.cart-drawer .drawer-empty p { font-size: 14px; }
.cart-empty-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cart-empty-actions .btn:not(.btn-signal) { color: var(--shop-copy); border: 1px solid var(--shop-border); }
.cart-drawer .drawer-item { grid-template-columns: 60px minmax(0, 1fr) auto; gap: 10px; }
.cart-drawer .drawer-thumb { width: 60px; height: 60px; background: #eef0e8; border-radius: 7px; }
.cart-drawer .drawer-item-main strong { font: 750 14px/1.25 var(--sans); }
.cart-drawer .drawer-item-main small { font: 450 13px/1.4 var(--sans); color: var(--shop-muted); }
.cart-draft-tag { display: inline-block; margin-left: 3px; padding: 3px 5px; font-size: 11px; background: var(--shop-floor); color: var(--shop-muted); border-radius: 4px; }
.cart-drawer .drawer-item-actions { flex-wrap: wrap; gap: 4px 10px; margin-top: 5px; }
.cart-drawer .drawer-item-actions button { min-height: 44px; color: var(--shop-copy); font: 600 13px/1 var(--sans); text-transform: none; }
.cart-drawer .drawer-item-actions button:hover:not(:disabled) { color: var(--shop-copy); text-decoration: underline; }
.cart-drawer .drawer-item-actions button:disabled { opacity: .45; cursor: default; }
.cart-quantity { display: flex; align-items: center; overflow: hidden; border: 1px solid var(--shop-border); border-radius: 7px; }
.cart-drawer .cart-quantity button { min-width: 44px; font-size: 16px; }
.cart-drawer .cart-quantity span { min-width: 20px; text-align: center; font: 700 13px/1 var(--sans); }
.cart-drawer .drawer-item-price { font: 750 15px/1.3 var(--sans); font-variant-numeric: tabular-nums; }
.cart-drawer .drawer-foot { background: var(--shop-floor); }
.cart-drawer .drawer-total { align-items: center; margin-bottom: 10px; font: 650 15px/1.2 var(--sans); }
.cart-drawer .drawer-total strong { font: 750 25px/1.3 var(--sans); letter-spacing: -.025em; }
.cart-drawer .drawer-foot .btn { min-height: 48px; font: 750 14px/1.2 var(--sans); }
@media (max-width: 460px) {
  .cart-drawer .drawer-item { grid-template-columns: 54px minmax(0, 1fr); }
  .cart-drawer .drawer-thumb { width: 54px; height: 54px; }
  .cart-drawer .drawer-item-price { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) { .cart-drawer, .product-card .card-wish { transition: none; } }

.toast { color: var(--shop-copy); background: var(--shop-panel); border-color: var(--shop-border); border-radius: 8px; }
.toast :is(span,button) { color: inherit; font: 650 13px/1.3 var(--sans); letter-spacing: normal; text-transform: none; }
.toast button { min-height: 36px; }
@media (max-width: 720px) { body[data-view="builder"] .toast { bottom: 100px; } }

/* ------------------------------------------------------------------
   Home shelves and open page rhythm
   ------------------------------------------------------------------ */
.home-hero { padding: 24px var(--pad) 8px; }
.hero-deck { height: clamp(390px, 38vw, 560px); }
.hero-poster { width: min(76%, 900px); }

.campaign-poster::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(90deg, #0a151bf7 0%, #101c23e6 48%, #101c2366 78%, transparent 100%);
}
.campaign-poster .poster-image {
  width: 100%; height: 100%; inset: 0;
  object-fit: cover; object-position: 78% 50%;
}
.campaign-poster .poster-copy { position: relative; z-index: 2; }
.campaign-hit { position: absolute; inset: 0; z-index: 5; border: 0; background: transparent; cursor: pointer; }
.campaign-hit:focus-visible { outline: 2px solid var(--shop-action); outline-offset: -6px; }
.campaign-tag {
  position: absolute; z-index: 6; top: 14px; right: 14px; padding: 5px 8px;
  color: #16241d; background: var(--shop-action); border-radius: 4px;
  font: 700 10px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase;
  pointer-events: none;
}
.hero-poster .poster-copy { transition: opacity 220ms ease; }.hero-poster:not([data-offset="0"]) .poster-copy,
.hero-poster:not([data-offset="0"]) .campaign-tag { opacity: 0; }

.category-section { padding-block: clamp(38px, 4.4vw, 64px) 0; }
.category-section .section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  padding: 0 0 clamp(16px, 2vw, 24px);
}
.section-title-wrap h2 {
  margin: 0;
  font: 700 clamp(32px, 4vw, 52px)/1.02 var(--display);
  letter-spacing: -.035em;
  color: var(--shop-copy);
}
.home-categories {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 16px); height: auto;
}
.home-category {
  position: relative; isolation: isolate; height: clamp(196px, 19vw, 258px);
  min-height: 0; width: auto; overflow: hidden; border-radius: 12px;
  border: 1px solid var(--shop-border); background: #223136; color: #f6f8f2;
}
.home-category > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  object-position: 50% 42%; z-index: -2;
  transition: transform 600ms var(--shell-ease), filter 300ms ease;
}
.home-category::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, #0b1419 2%, #0b1419c4 34%, #0b141914 74%);
}
.home-category-copy { position: absolute; inset: auto 16px 15px; display: grid; gap: 3px; }
.home-category h3 { margin: 0; font: 700 clamp(20px, 2vw, 28px)/1.05 var(--display); letter-spacing: -.02em; }
.home-category-copy span { color: #c4d2cc; font: 500 11px/1.3 var(--sans); }
.home-category-arrow {
  position: absolute; top: 13px; right: 13px; display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  color: #f4f8ef; background: #0b141980; border: 1px solid #ffffff42;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}
.home-category-arrow svg { width: 15px; height: 15px; }
.category-hit { position: absolute; inset: 0; z-index: 3; border: 0; background: transparent; cursor: pointer; }
.category-hit:focus-visible { outline: 2px solid var(--shop-action); outline-offset: -5px; }
.home-category:hover > img, .home-category:focus-within > img { transform: scale(1.045); }
.home-category:hover .home-category-arrow, .home-category:focus-within .home-category-arrow { color: #17241c; background: var(--shop-action); border-color: transparent; }

.product-showcases {
  display: grid; gap: 0;
  padding: clamp(30px, 3.6vw, 48px) var(--pad) 0;
}
.product-shelf {
  position: relative; padding: 0;
  background: none; border: 0; border-radius: 0;
}
.product-shelf + .product-shelf { margin-top: clamp(38px, 4.4vw, 58px); }
.shelf-heading {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 14px;
  margin: 0 0 clamp(15px, 1.8vw, 23px); color: var(--shop-copy);
}
.shelf-heading > div:first-child { display: grid; gap: 0; }
.shelf-eyebrow {
  display: block; margin-bottom: 6px; color: var(--shop-muted);
  font: 600 10.5px/1.4 var(--sans); letter-spacing: .09em; text-transform: uppercase;
}
.shelf-heading h2 {
  margin: 0;
  font: 700 clamp(26px, 3vw, 40px)/1.03 var(--display); letter-spacing: -.035em;
}
.shelf-all {
  display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto;
  min-height: 44px; padding: 0 14px; border: 1px solid var(--shop-border); border-radius: 8px;
  color: var(--shop-copy); background: transparent;
  font: 600 12.5px/1 var(--sans); text-transform: none; letter-spacing: 0;
  transition: background 170ms ease, border-color 170ms ease, color 170ms ease;
}
.shelf-all svg { width: 15px; height: 15px; }
.shelf-all:hover { color: #17241c; background: var(--shop-action); border-color: transparent; }
.shelf-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 16px); }
.product-showcases .product-shelf .product-card {
  position: relative; inset: auto; left: auto; top: auto; z-index: auto;
  width: auto; height: 100%; opacity: 1; transform: none;
  background: var(--shop-panel);
}
.product-showcases .product-card .product-card-media { height: clamp(150px, 14vw, 205px); }
.product-showcases .product-card .product-card-body { padding: 12px 13px 13px; }
.product-showcases .product-card .product-card-price { font-size: clamp(17px, 1.7vw, 21px); }

.brand-section { padding-block: clamp(38px, 4.6vw, 66px); }
#view-home .brand-section { padding-bottom: clamp(28px, 3.4vw, 42px); }
#view-home .brand-section, #view-home .testimonial-section { border-top: 0; }
#view-home .testimonial-section { padding-top: clamp(28px, 3.4vw, 42px); }
#view-home .testimonial-section { padding-top: clamp(28px, 3.4vw, 42px); }
#view-home .brand-head, #view-home .testimonial-head { border-bottom: 0; }
.brand-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: clamp(16px, 2vw, 24px); }
.brand-head h2 { margin: 0; font: 700 clamp(30px, 3.4vw, 46px)/1.03 var(--display); letter-spacing: -.035em; }
.brand-head .text-link {
  display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto;
  min-height: 44px; padding: 0 14px; border: 1px solid var(--shop-border); border-radius: 8px;
  color: var(--shop-copy); font: 600 12.5px/1 var(--sans); letter-spacing: 0; text-transform: none;
  transition: background 170ms ease, border-color 170ms ease, color 170ms ease;
}
.brand-head .text-link svg { width: 15px; height: 15px; }
.brand-head .text-link:hover { color: #17241c; background: var(--shop-action); border-color: transparent; }

.brand-grid { display: block; }
.brand-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.brand-row + .brand-row { margin-top: 10px; }
@media (max-width: 860px) { .brand-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.testimonial-section { padding: clamp(38px, 4.6vw, 66px) var(--pad); }
.testimonial-head { margin-bottom: clamp(15px, 2vw, 23px); }
.testimonial-head h2 { margin: 0; font: 700 clamp(30px, 3.4vw, 46px)/1.03 var(--display); letter-spacing: -.035em; }
.testimonial-panel.cycle-track { height: clamp(196px, 17vw, 224px); }
#reviewCycle .review-card { width: 100%; max-width: none; min-height: 168px; padding: clamp(20px, 2.6vw, 34px); }
#reviewCycle .review-card[data-ring-position="-1"],
#reviewCycle .review-card[data-ring-position="1"] { opacity: 0; pointer-events: none; }
#reviewCycle .cycle-controls {
  position: static; transform: none; justify-content: flex-end; gap: 8px;
  margin-top: 12px; pointer-events: auto;
}
.review-stars { display: flex; gap: 3px; color: var(--shop-action); }
.review-stars svg { width: 17px; height: 17px; fill: currentColor; stroke: none; }
.review-card blockquote { font: 600 clamp(20px, 2.6vw, 34px)/1.3 var(--sans); letter-spacing: -.02em; }
.review-person { display: flex; align-items: center; gap: 9px; color: var(--shop-muted); font-size: 12px; }
.review-person small { color: var(--shop-muted); font-size: 11px; }
.review-person small::before { content: "·"; margin-inline-end: 9px; }

@media (max-width: 1120px) {
  .shelf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .home-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-category { height: 200px; }
  .shelf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-showcases .product-card .product-card-media { height: clamp(140px, 24vw, 190px); }
}
@media (max-width: 560px) {
  .home-category { height: 168px; }
  .home-category-copy { inset: auto 12px 12px; }
  .home-category h3 { font-size: 20px; }
  .home-category-arrow { width: 30px; height: 30px; top: 10px; right: 10px; }
  .shelf-heading h2 { font-size: 27px; }
  .shelf-all { padding: 0 11px; }
  .review-card { width: calc(100% - 82px); }
}

/* Rail brand: one wordmark, clipped to the V when collapsed. */
.store-rail .rail-brand { background: transparent !important; overflow: hidden; }
.store-rail .rail-brand::before, .store-rail .rail-brand::after { content: none; }
.rail-logo-small { display: none; }
.rail-logo-full {
  left: 10px; width: 154px; max-width: none; height: 35px; opacity: 1;
  clip-path: inset(0 calc(100% - 25px) 10px 0);
  transition: clip-path 420ms cubic-bezier(.22,1,.36,1), filter 180ms ease;
}
.store-rail .rail-logo-full, .store-rail:hover .rail-logo-full,
.store-rail:has(:focus-visible) .rail-logo-full { opacity: 1; }
.store-rail:hover .rail-logo-full,
.store-rail:has(:focus-visible) .rail-logo-full { clip-path: inset(0 0 0 0); }
body:not([data-view="home"]) .store-rail:hover .rail-logo-full,
body:not([data-view="home"]) .store-rail:has(:focus-visible) .rail-logo-full {
  clip-path: inset(0 calc(100% - 25px) 10px 0);
}
@media (max-width: 720px) { .rail-logo-full { clip-path: none; } }

@media (min-width: 721px) {
  body { --rail: 242px; }
  .header-wordmark { display: none !important; }
  .store-rail { width: 242px; transition: none; }
  .store-rail,
  .store-rail:hover,
  .store-rail:has(:focus-visible) { box-shadow: none !important; }
  .store-rail .rail-brand,
  .store-rail .rail-brand:hover,
  .store-rail .rail-brand:focus-visible { background: transparent !important; }
  .store-rail .rail-logo-full {
    opacity: 1; clip-path: inset(0) !important; transform: none !important;
    transition: none !important;
  }
  .store-rail .rail-logo-small { display: none; }
  .store-rail :is(.rail-links, .rail-tools) span { width: auto; opacity: 1; overflow: visible; }
  .store-rail :is(.rail-links, .rail-tools) :is(button, a) { gap: 15px; padding-left: 15px; }
  .store-rail :is(.rail-links, .rail-tools) [aria-current="page"] {
    width: 100%; margin-inline: 0; padding-inline: 15px; justify-content: flex-start;
    background: color-mix(in srgb, var(--shop-copy) 11%, var(--shop-panel));
  }
  .store-rail :is(.rail-links, .rail-tools) [aria-current="page"]::before { content: none; }
}

.brand-group h2 { font-weight: 800; font-size: 32px; letter-spacing: -.02em; -webkit-text-stroke: .6px currentColor; }

html, body { overflow-x: clip; }
body { min-height: 100dvh; display: flex; flex-direction: column; }
#main { flex: 1 0 auto; }
.site-footer { flex-shrink: 0; }

/* Header search dropdown */
.header-search-drop {
  position: absolute; z-index: 60; top: calc(100% - 3px); left: 50%; transform: translateX(-50%);
  width: min(640px, calc(100vw - 32px)); padding: 12px;
  color: var(--shop-copy); background: var(--shop-panel);
  border: 1px solid var(--shop-border); border-radius: 12px;
  box-shadow: 0 24px 60px #00000059;
}
.header-search-drop[hidden] { display: none; }
.header-search-drop .search-command-field { background: var(--shop-floor); }
.header-search-drop .search-status { margin: 8px 2px 4px; font-size: 12px; }
.header-search-drop .search-command-results { max-height: min(56vh, 420px); overflow: auto; overscroll-behavior: contain; }
.header-search-drop .search-command-row { min-height: 56px; }
@media (max-width: 720px) { .header-search-drop { display: none !important; } }

/* Builder step arrows and saved drafts */
.build-step-nav { align-items: center; gap: 6px; margin-inline: auto; }
@media (max-width: 720px) { .build-step-nav { margin-inline: 0; } }
.build-step-nav .btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.build-step-nav .btn svg { width: 14px; height: 14px; flex: 0 0 14px; }
.build-buybar #buildDraft { min-height: 43px; color: var(--shop-copy); border-color: var(--shop-border); }
.build-buybar #buildDraft:disabled { color: var(--shop-muted); border-color: var(--shop-border); opacity: .7; }
.cart-drawer .drawer-note { margin: 0 0 10px; color: var(--shop-muted); font-size: 11px; line-height: 1.45; }
.cart-drawer [data-checkout]:disabled { color: #a7b4ad; background: #39463f; border-color: transparent; }

/* Dropdown options: light hover, not a colour block. */
.store-select-options button:is(:hover, :focus-visible) {
  color: var(--shop-copy);
  background: color-mix(in srgb, var(--shop-copy) 9%, var(--shop-panel));
}
.store-select-options button[aria-pressed="true"] {
  color: var(--shop-copy);
  background: color-mix(in srgb, var(--shop-action) 17%, var(--shop-panel));
}

/* Account */
.account-head { margin-bottom: 14px; }
.account-head h2 { margin: 0 0 4px; }
.account-head p { margin: 0; }
.account-form { display: grid; gap: 10px; margin-top: 4px; }
.account-form[hidden], .account-profile[hidden] { display: none; }
.account-form label { display: grid; gap: 4px; color: #3d4b46; font: 600 12px/1.3 var(--sans); }
.account-form input {
  height: 44px; padding: 0 11px; color: #15241f; background: #fff;
  border: 1px solid #c6d1ca; border-radius: 7px; font: 500 14px var(--sans);
}
.account-form input:focus { outline: 2px solid #2f6d5d; outline-offset: 1px; }
.account-form .btn { min-height: 44px; margin-top: 2px; }
.account-form small { color: #64736c; font-size: 11px; line-height: 1.4; }
.account-identity { display: flex; align-items: center; gap: 11px; }
.account-avatar {
  display: grid; place-items: center; width: 46px; height: 46px; flex: 0 0 46px;
  border-radius: 50%; background: #e4f86a; color: #18241a; font: 800 15px/1 var(--display);
}
.account-identity strong { display: block; color: #15241f; font: 700 17px/1.2 var(--display); }
.account-identity small { display: block; margin-top: 2px; color: #5f6e67; font-size: 12px; }
.account-meta { display: flex; gap: 26px; margin: 15px 0 12px; padding: 11px 0; border-block: 1px solid #d5ded6; }
.account-meta div { display: grid; gap: 2px; }
.account-meta dt { color: #6a7871; font: 600 10px/1.2 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.account-meta dd { margin: 0; color: #15241f; font: 700 14px/1.2 var(--sans); }
.account-order { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 11px 12px; border: 1px solid #d5ded6; border-radius: 8px; background: #f3f5ed; }
.account-order span { grid-column: 1 / -1; color: #6a7871; font: 600 10px/1.2 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.account-order strong { color: #15241f; font: 700 13px/1.3 var(--sans); }
.account-order small { color: #5f6e67; font-size: 11.5px; text-align: right; }
.account-profile .account-actions { margin-top: 14px; }
.account-profile .account-actions .btn { min-height: 42px; }

/* Contact social */
.contact-social {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 16px; padding: 16px; border: 1px solid var(--shop-border); border-radius: 11px;
  background: var(--shop-panel);
}
.contact-social h2 { margin: 0 0 4px; font: 700 21px/1.15 var(--display); }
.contact-social p { margin: 0; max-width: 54ch; color: var(--shop-muted); font-size: 13px; }
.social-links { display: flex; gap: 8px; flex-wrap: wrap; }
.social-links a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px;
  border: 1px solid var(--shop-border); border-radius: 8px;
  color: var(--shop-copy); font: 600 12.5px/1 var(--sans); text-decoration: none;
  transition: background 170ms ease, color 170ms ease, border-color 170ms ease;
}
.social-links a:hover { color: #17241c; background: var(--shop-action); border-color: transparent; }
.social-links svg { width: 17px; height: 17px; }
@media (max-width: 660px) { .contact-social { flex-direction: column; align-items: flex-start; } }

.site-footer { padding: 0 var(--pad); }
.compact-footer { min-height: 41px; gap: 2px 14px; }
.compact-footer span { margin-inline-end: 0; font-size: 11.5px; }
.compact-footer > span:first-child { margin-inline-end: auto; }
.compact-footer .compact-footer-hours { color: var(--shop-muted); white-space: nowrap; }
.compact-footer :is(button, a) { min-height: 38px; font-size: 11.5px; }
.compact-footer .footer-mail { color: var(--shop-copy); text-decoration: underline; text-underline-offset: 3px; }
.compact-footer .footer-socials { display: flex; align-items: center; gap: 6px; }
.compact-footer .footer-socials a {
  display: grid; place-items: center; width: 34px; min-width: 34px; height: 34px; min-height: 34px;
  border: 1px solid var(--shop-border); border-radius: 50%; color: var(--shop-copy);
  text-decoration: none;
}
.compact-footer .footer-socials a:hover { color: #17241c; background: var(--shop-action); border-color: transparent; }
.compact-footer .footer-socials svg { width: 15px; height: 15px; }
@media (max-width: 720px) {
  .compact-footer { min-height: 0; padding-block: 8px; gap: 2px 12px; }
  .compact-footer > span:first-child { flex: 1 1 100%; }
}

/* ------------------------------------------------------------------
   Discounted product cards
   ------------------------------------------------------------------ */
.product-card .product-card-price-block {
  display: flex; align-items: baseline; flex-wrap: nowrap; gap: 5px;
  width: 100%; margin-top: auto; padding-top: 11px;
}
.product-card .product-card-price,
.product-card .product-card-mrp { flex: 0 0 auto; white-space: nowrap; }
.product-card .product-card-price { font-size: clamp(18px, 1.35vw, 22px); }
.product-card .product-card-mrp { font-size: clamp(10.5px, .78vw, 12px); }
.product-card .product-card-mrp {
  color: var(--shop-muted); font-size: clamp(10.5px, .78vw, 12px); font-weight: 500;
  text-decoration: line-through; text-decoration-thickness: 1px;
  font-variant-numeric: tabular-nums;
}
.product-card .card-deal {
  position: absolute; z-index: 4; top: 9px; right: 9px;
  padding: 4px 7px; border-radius: 5px;
  color: #16241d; background: var(--shop-action);
  font: 800 10px/1 var(--sans); letter-spacing: .015em;
}
.product-card .card-wish { left: 9px; right: auto; }
.product-card .card-add-wide {
  width: 100%; margin-top: 10px; border-radius: 7px; min-height: 42px;
  font-size: 13px; letter-spacing: 0;
  transition: background-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}
@media (hover: hover) {
  .product-card .card-add-wide:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px #00000033;
  }
}
.product-card .card-add-wide:active { transform: translateY(0); box-shadow: none; }

.product-price-row .product-mrp { font-size: 15px; }
.product-price-row .save-tag { font-size: 10px; }

/* ------------------------------------------------------------------
   Prebuilt PC deal showcase
   ------------------------------------------------------------------ */
.prebuilt-deals { padding: clamp(30px, 3.8vw, 52px) var(--pad) 0; }
.deals-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; margin-bottom: clamp(15px, 2vw, 22px);
}
.deals-eyebrow {
  display: block; color: var(--shop-action);
  font: 700 10.5px/1.4 var(--sans); letter-spacing: .09em; text-transform: uppercase;
}
.deals-head h2 {
  margin: 5px 0 4px;
  font: 700 clamp(32px, 4vw, 50px)/1.02 var(--display); letter-spacing: -.035em;
}
.deals-head p { margin: 0; color: var(--shop-muted); font-size: 13px; line-height: 1.5; }
.deal-stage {
  display: grid; overflow: hidden; border-radius: 15px;
  border: 1px solid var(--shop-border); background: var(--shop-panel);
}
.deal-slides { display: grid; }
.deal-slide {
  grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  opacity: 0; visibility: hidden; transform: translateY(6px); pointer-events: none;
  transition: opacity 240ms ease, transform 240ms var(--shell-ease), visibility 240ms;
}
.deal-slide.is-active { opacity: 1; visibility: visible; transform: none; pointer-events: auto; z-index: 1; }
.deal-media {
  position: relative; display: block; min-height: 390px; padding: 0; border: 0;
  overflow: hidden; cursor: pointer;
  background: radial-gradient(ellipse at 50% 45%, #ffffff, #e9ece2 72%);
}
.deal-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; padding: 30px;
  object-fit: contain; mix-blend-mode: multiply;
  transition: transform 500ms var(--shell-ease);
}
.deal-media:hover img { transform: scale(1.035); }
.deal-flag {
  position: absolute; z-index: 2; top: 14px; left: 14px;
  padding: 5px 8px; border-radius: 5px;
  color: #16241d; background: var(--shop-action);
  font: 800 10px/1 var(--sans); letter-spacing: .02em; text-transform: uppercase;
}
.deal-copy { display: flex; flex-direction: column; padding: clamp(20px, 3vw, 36px); }
.deal-kicker {
  color: var(--shop-action);
  font: 700 10px/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase;
}
.deal-copy h3 { margin: 7px 0 6px; font: 700 clamp(25px, 2.8vw, 38px)/1.04 var(--display); letter-spacing: -.03em; }
.deal-title { color: inherit; text-align: left; }
.deal-title:hover { text-decoration: underline; text-underline-offset: 4px; }
.deal-copy > p { margin: 0; color: var(--shop-muted); font-size: 13px; line-height: 1.55; }
.deal-highlights { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; }
.deal-highlights li {
  padding: 3px 7px; border: 1px solid var(--shop-border); border-radius: 5px;
  color: var(--shop-copy); font-size: 10.5px; line-height: 1.3;
}
.deal-price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px 11px; margin-top: auto; padding-top: 18px; }
.deal-price-row strong { font: 700 clamp(28px, 3vw, 40px)/1 var(--display); letter-spacing: -.03em; }
.deal-mrp { color: var(--shop-muted); font-size: 14px; text-decoration: line-through; }
.deal-save {
  padding: 3px 7px; border: 1px solid color-mix(in srgb, var(--shop-action) 48%, transparent);
  border-radius: 4px; color: var(--shop-action); font-size: 10.5px; font-weight: 700;
}
.deal-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.deal-buy {
  min-width: 145px; height: auto; min-height: 44px; padding: 0 18px; border: 0; border-radius: 7px;
  color: #16251b; background: var(--shop-action); font: 750 13px var(--sans);
  transition: background-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}
.deal-buy:hover { color: #16251b; background: #f3ffa5; border-color: transparent; transform: translateY(-1px); box-shadow: 0 8px 18px #00000033; }
.deal-view {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  color: var(--shop-copy); font: 600 12.5px var(--sans);
  text-decoration: underline; text-underline-offset: 4px;
}
.deal-view svg { width: 14px; height: 14px; }
.deal-view:hover { color: var(--shop-action); }
.deal-nav { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: 8px; margin-top: 10px; }
.deal-arrow {
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 1px solid var(--shop-border); border-radius: 8px;
  color: var(--shop-copy); background: transparent;
}
.deal-arrow svg { width: 16px; height: 16px; }
.deal-arrow:hover { color: #17241c; background: var(--shop-action); border-color: transparent; }
.deal-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.deal-tab {
  display: grid; gap: 2px; min-height: 48px; padding: 7px 10px;
  border: 1px solid var(--shop-border); border-radius: 8px;
  color: var(--shop-muted); background: transparent; text-align: left;
}
.deal-tab span { font: 600 9px/1.3 var(--sans); letter-spacing: .055em; text-transform: uppercase; }
.deal-tab strong { color: inherit; font: 700 12px/1.3 var(--sans); }
.deal-tab[aria-selected="true"] {
  color: var(--shop-copy);
  border-color: color-mix(in srgb, var(--shop-action) 52%, var(--shop-border));
  background: color-mix(in srgb, var(--shop-action) 8%, transparent);
}
@media (max-width: 860px) {
  .deal-slide { grid-template-columns: 1fr; }
  .deal-media { min-height: 250px; }
  .deal-copy { padding: 20px; }
  .deal-highlights { display: none; }
  .deal-price-row { padding-top: 14px; }
}
@media (max-width: 720px) {
  .deals-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .deal-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .deal-nav { align-items: stretch; }
  .deal-arrow { align-self: center; }
}
@media (max-width: 460px) {
  .deal-media { min-height: 210px; }
  .deal-actions .deal-buy { flex: 1; }
}

/* ------------------------------------------------------------------
   Home coverflows: shelves, reviews and the prebuilt deal deck
   ------------------------------------------------------------------ */
.shelf-heading-actions { display: flex; align-items: center; justify-content: flex-end; gap: 6px; flex-wrap: wrap; }
.shelf-count { margin-inline-end: 6px; color: var(--shop-muted); font: 600 10.5px/1 var(--sans); letter-spacing: .04em; }
.shelf-step {
  display: grid; place-items: center; width: 44px; min-width: 44px; height: 44px; min-height: 44px;
  border: 1px solid var(--shop-border); border-radius: 8px;
  color: var(--shop-copy); background: transparent;
}
.shelf-step svg { width: 16px; height: 16px; }
.shelf-step:hover { color: #17241c; background: var(--shop-action); border-color: transparent; }
.shelf-viewport {
  position: relative; height: clamp(400px, 32vw, 422px);
  perspective: 1350px; perspective-origin: 50% 48%;
}
.shelf-track {
  --shelf-card: clamp(220px, 22vw, 290px);
  position: relative; height: 100%; display: block;
  border-radius: 10px; outline-offset: 5px;
}
.product-showcases .product-shelf .shelf-track { height: 100%; overflow: visible; }
.product-showcases .shelf-track .product-card {
  position: absolute; left: 50%; top: 50%; z-index: 1;
  width: var(--shelf-card); height: calc(100% - 14px);
  transform: translate(-50%, -50%);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: transform 780ms cubic-bezier(.22,1,.36,1), opacity 450ms ease,
              visibility 450ms, border-color 180ms ease, background-color 180ms ease;
}
.product-showcases .shelf-track .product-card[data-pos="0"] {
  z-index: 4; opacity: 1; visibility: visible; pointer-events: auto;
  transform: translate(-50%, -50%);
}
.product-showcases .shelf-track .product-card[data-pos="-1"],
.product-showcases .shelf-track .product-card[data-pos="1"] {
  z-index: 2; opacity: .78; visibility: visible; pointer-events: auto; cursor: pointer;
}
.product-showcases .shelf-track .product-card[data-pos="-1"] {
  transform: translate(-50%, -50%) translateX(calc(var(--shelf-card) * -1.02)) rotateY(15deg) scale(.9);
}
.product-showcases .shelf-track .product-card[data-pos="1"] {
  transform: translate(-50%, -50%) translateX(calc(var(--shelf-card) * 1.02)) rotateY(-15deg) scale(.9);
}
.product-showcases .shelf-track .product-card[data-pos="-2"],
.product-showcases .shelf-track .product-card[data-pos="2"] {
  z-index: 1; opacity: 0; visibility: hidden; pointer-events: none;
}
.product-showcases .shelf-track .product-card[data-pos="-2"] {
  transform: translate(-50%, -50%) translateX(calc(var(--shelf-card) * -1.95)) rotateY(22deg) scale(.8);
}
.product-showcases .shelf-track .product-card[data-pos="2"] {
  transform: translate(-50%, -50%) translateX(calc(var(--shelf-card) * 1.95)) rotateY(-22deg) scale(.8);
}
.product-showcases .shelf-track .product-card[data-pos="-1"] button,
.product-showcases .shelf-track .product-card[data-pos="1"] button { pointer-events: none; }
.product-showcases .shelf-track .product-card-media { height: 184px; flex: 0 0 184px; }
.product-showcases .shelf-track .product-card-body { padding: 11px 12px 12px; }
.product-showcases .shelf-track .product-card h3 {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; min-height: 2.15em;
}
.product-showcases .shelf-track .product-card .product-card-spec {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-showcases .shelf-track .product-card-price-block { padding-top: 8px; }
.product-showcases .shelf-track .card-add-wide { margin-top: 8px; }
.product-showcases .shelf-track .product-card .card-deal { top: 8px; right: 8px; }
.product-showcases .shelf-track .product-card .card-wish { top: 8px; left: 8px; }

@media (max-width: 720px) {
  .shelf-heading { flex-wrap: wrap; }
  .shelf-heading-actions { width: 100%; justify-content: flex-end; margin-top: 2px; }
  .shelf-count { display: none; }
  .shelf-viewport { height: 430px; }
  .shelf-track { --shelf-card: min(74vw, 292px); }
  .product-showcases .shelf-track .product-card[data-pos]:not([data-pos="0"]) {
    opacity: 0; visibility: hidden; pointer-events: none;
  }
}

/* Reviews: 3D coverflow with golden stars. */
#reviewCycle .testimonial-panel.cycle-track {
  height: 300px; overflow: hidden; perspective: 1450px; perspective-origin: 50% 48%;
}
#reviewCycle .review-card {
  position: absolute; inset: 50% auto auto 50%;
  width: min(400px, 92%); min-height: 230px; max-width: none;
  padding: clamp(18px, 2.4vw, 28px);
  transform: translate(-50%, -50%) translateX(var(--review-x, 0px))
             rotateY(var(--review-rot, 0deg)) scale(var(--review-scale, 1));
  opacity: var(--review-alpha, 1); z-index: var(--review-depth, 3);
  transition: transform 500ms var(--shell-ease), opacity 300ms ease;
}
#reviewCycle .review-card[data-ring-position="-1"] {
  --review-x: -260px; --review-rot: 16deg; --review-scale: .84; --review-alpha: .5; --review-depth: 1;
  opacity: var(--review-alpha); filter: blur(1.4px) saturate(.85);
}
#reviewCycle .review-card[data-ring-position="1"] {
  --review-x: 260px; --review-rot: -16deg; --review-scale: .84; --review-alpha: .5; --review-depth: 1;
  opacity: var(--review-alpha); filter: blur(1.4px) saturate(.85);
}
#reviewCycle .review-card[data-ring-position="0"] { --review-depth: 3; }
#reviewCycle .review-stars { color: #f4c45c; filter: drop-shadow(0 1px 5px #f4c45c33); }
#reviewCycle .review-stars svg { width: 18px; height: 18px; fill: currentColor; stroke: none; }
#reviewCycle .review-card blockquote { font-size: clamp(18px, 1.8vw, 24px); line-height: 1.35; }
#reviewCycle .cycle-controls { justify-content: center; }
@media (max-width: 1199px) {
  #reviewCycle .testimonial-panel.cycle-track { height: 318px; }
  #reviewCycle .review-card { width: min(640px, 92%); }
  #reviewCycle .review-card[data-ring-position="-1"],
  #reviewCycle .review-card[data-ring-position="1"] { opacity: 0; pointer-events: none; --review-x: 0px; }
}
@media (max-width: 560px) {
  #reviewCycle .testimonial-panel.cycle-track { height: 348px; }
  #reviewCycle .review-card { width: calc(100% - 24px); padding: 18px; }
}

/* Prebuilt deal deck: hero-style 3D cards. */
.deal-deck {
  position: relative; height: 432px; overflow: hidden;
  perspective: 1450px; perspective-origin: 50% 48%;
}
.deal-slides { position: relative; height: 100%; }
.deal-poster {
  position: absolute; left: 50%; top: 50%; z-index: 1;
  width: min(64%, 780px); height: calc(100% - 18px);
  transform: translate(-50%, -50%);
  border: 1px solid #68827c; border-radius: 16px; overflow: hidden;
  background: radial-gradient(ellipse at 76% 38%, #31504b, #111e23 72%);
  color: var(--shop-copy);
  transition: transform 780ms cubic-bezier(.22,1,.36,1), opacity 450ms ease,
              visibility 450ms, filter 450ms var(--shell-ease), border-color 260ms ease;
  will-change: transform;
}
.deal-poster[data-offset="0"] { z-index: 3; border-color: #b1cab1; }
.deal-poster[data-offset="-1"] {
  z-index: 2; cursor: pointer;
  transform: translate(-50%, -50%) translateX(-50%) translateY(7px) scale(.86) rotateY(19deg);
  filter: brightness(.72) saturate(.9);
}
.deal-poster[data-offset="1"] {
  z-index: 2; cursor: pointer;
  transform: translate(-50%, -50%) translateX(50%) translateY(7px) scale(.86) rotateY(-19deg);
  filter: brightness(.72) saturate(.9);
}
.deal-poster[data-offset="-2"] {
  z-index: 1; opacity: .6; pointer-events: auto; cursor: pointer;
  transform: translate(-50%, -50%) translateX(-80%) translateY(14px) scale(.72) rotateY(27deg);
}
.deal-poster[data-offset="2"] {
  z-index: 1; opacity: .6; pointer-events: auto; cursor: pointer;
  transform: translate(-50%, -50%) translateX(80%) translateY(14px) scale(.72) rotateY(-27deg);
}
.deal-poster[data-offset="-3"],
.deal-poster[data-offset="3"],
.deal-poster[data-offset="-4"],
.deal-poster[data-offset="4"] {
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translate(-50%, -50%) translateX(-125%) translateY(18px) scale(.62) rotateY(32deg);
}
.deal-poster[data-offset="3"],
.deal-poster[data-offset="4"] { transform: translate(-50%, -50%) translateX(125%) translateY(18px) scale(.62) rotateY(-32deg); }
.deal-poster[data-offset="-4"] { transform: translate(-50%, -50%) translateX(-150%) translateY(18px) scale(.62) rotateY(32deg); }
.deal-poster[data-offset="4"] { transform: translate(-50%, -50%) translateX(150%) translateY(18px) scale(.62) rotateY(-32deg); }
.deal-poster::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, #0b151af7 0%, #0d181de8 44%, #0d181d80 70%, transparent 100%);
}
.deal-poster::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: var(--deal-art); background-repeat: no-repeat;
  background-size: 78% auto; background-position: right center;
  opacity: 0;
}
.deal-poster:not([data-offset="0"])::after { opacity: .9; }
.deal-poster[data-offset="-1"]::after { background-position: left center; }
.deal-poster[data-offset="1"]::after { background-position: right center; }
.deal-poster:not([data-offset="0"])::before {
  background: linear-gradient(90deg, #0b151a9e, #0b151a3d);
}
.deal-poster-art {
  position: absolute; inset: 0 0 0 auto; z-index: 0; width: 57%;
  padding: 0; border: 0; background: transparent; cursor: pointer;
}
.deal-poster-art img {
  width: 100%; height: 100%; padding: 22px 22px 22px 0;
  object-fit: contain; filter: drop-shadow(10px 16px 20px #061014b3);
  transition: transform 500ms var(--shell-ease);
}
.deal-poster-art:hover img { transform: scale(1.035); }
.deal-flag {
  position: absolute; z-index: 4; top: 14px; right: 14px; left: auto;
  padding: 5px 8px; border-radius: 5px;
  color: #16241d; background: var(--shop-action);
  font: 800 10px/1 var(--sans); letter-spacing: .02em; text-transform: uppercase;
}
.deal-poster-copy {
  position: absolute; z-index: 2; inset: 0 auto 0 0; width: 57%;
  padding: clamp(22px, 2.8vw, 36px); display: flex; flex-direction: column;
  transition: opacity 300ms ease;
}
.deal-poster-art { transition: opacity 300ms ease; }
.deal-flag { transition: opacity 300ms ease; }
.deal-poster-copy h3 {
  margin: 0 0 6px;
  font: 700 clamp(25px, 2.8vw, 38px)/1.04 var(--display); letter-spacing: -.03em;
}
.deal-poster-copy > p { margin: 0; max-width: 34ch; color: var(--shop-muted); font-size: 13px; line-height: 1.55; }
.deal-poster-copy .deal-poster-desc { margin-top: 10px; max-width: 38ch; font-size: 12.5px; }
.deal-poster .deal-price-row { margin-top: auto; padding-top: 16px; }
.deal-poster .deal-actions { margin-top: 13px; }
.deal-poster:not([data-offset="0"]) .deal-poster-copy,
.deal-poster:not([data-offset="0"]) .deal-flag { opacity: 0; }
.deal-poster:not([data-offset="0"]) .deal-poster-copy { pointer-events: none; }
.deal-poster:not([data-offset="0"]) button { pointer-events: none; }
.deal-poster:not([data-offset="0"]) .deal-poster-art { opacity: 0; }
.deal-side {
  position: absolute; z-index: 8; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center; width: 40px; height: 58px;
  color: var(--shop-copy); background: #0d181dcc; border: 1px solid var(--shop-border);
  border-radius: 8px; backdrop-filter: blur(5px);
}
.deal-side svg { width: 17px; height: 17px; }
.deal-side:hover { color: #17241c; background: var(--shop-action); border-color: transparent; }
.deal-side-prev { left: 10px; }
.deal-side-next { right: 10px; }
.deal-nav { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; margin-top: 10px; }
.deal-count { color: var(--shop-muted); font: 600 10.5px/1 var(--sans); letter-spacing: .04em; }
.deal-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1099px) {
  .deal-deck { height: 400px; }
  .deal-poster { width: min(82%, 700px); }
  .deal-poster-copy { width: 60%; }
}
@media (max-width: 860px) {
  .deal-deck { height: 380px; }
  .deal-poster { width: min(90%, 640px); }
  .deal-poster-copy { width: 63%; padding: 20px; }
  .deal-poster-copy h3 { font-size: 25px; }
  .deal-poster-copy > p { font-size: 12px; }
}
@media (max-width: 720px) {
  .deal-deck { height: 420px; }
  .deal-poster { width: 100%; height: calc(100% - 14px); }
  .deal-poster[data-offset]:not([data-offset="0"]) { opacity: 0; visibility: hidden; pointer-events: none; }
  .deal-poster-copy { width: 64%; padding: 18px; }
  .deal-poster-copy h3 { font-size: 24px; }
  .deal-poster-art { width: 48%; }
  .deal-poster-art img { padding: 16px 10px; }
  .deal-side { width: 36px; height: 50px; }
  .deal-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Shelf arrows sit over the rail of cards, not in the heading. */
.shelf-arrow {
  position: absolute; z-index: 9; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center; width: 38px; height: 56px;
  color: var(--shop-copy); background: color-mix(in srgb, var(--shop-floor) 84%, transparent);
  border: 1px solid var(--shop-border); border-radius: 8px;
  backdrop-filter: blur(5px);
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}
.shelf-arrow svg { width: 17px; height: 17px; }
.shelf-arrow:hover { color: #17241c; background: var(--shop-action); border-color: transparent; }
.shelf-arrow-prev { left: -36px; }
.shelf-arrow-next { right: -36px; }

/* Five visible cards by default. */
.shelf-viewport { height: 420px; }
.shelf-track { --shelf-card: 180px; }
.product-showcases .shelf-track .product-card { height: calc(100% - 10px); }
.product-showcases .shelf-track .product-card[data-pos="0"] {
  transform: translate(-50%, -50%); opacity: 1; visibility: visible; pointer-events: auto; z-index: 4;
}
.product-showcases .shelf-track .product-card[data-pos="-1"] {
  transform: translate(-50%, -50%) translateX(calc(var(--shelf-card) * -1.06)) rotateY(5deg) scale(.92);
  opacity: .82; visibility: visible; pointer-events: auto; z-index: 3;
}
.product-showcases .shelf-track .product-card[data-pos="1"] {
  transform: translate(-50%, -50%) translateX(calc(var(--shelf-card) * 1.06)) rotateY(-5deg) scale(.92);
  opacity: .82; visibility: visible; pointer-events: auto; z-index: 3;
}
.product-showcases .shelf-track .product-card[data-pos="-2"] {
  transform: translate(-50%, -50%) translateX(calc(var(--shelf-card) * -2.12)) rotateY(10deg) scale(.82);
  opacity: .5; visibility: visible; pointer-events: none; z-index: 2;
}
.product-showcases .shelf-track .product-card[data-pos="2"] {
  transform: translate(-50%, -50%) translateX(calc(var(--shelf-card) * 2.12)) rotateY(-10deg) scale(.82);
  opacity: .5; visibility: visible; pointer-events: none; z-index: 2;
}
.product-showcases .shelf-track .product-card[data-pos="-3"],
.product-showcases .shelf-track .product-card[data-pos="3"],
.product-showcases .shelf-track .product-card[data-pos="-4"],
.product-showcases .shelf-track .product-card[data-pos="4"] {
  opacity: 0; visibility: hidden; pointer-events: none; z-index: 1;
}
.product-showcases .shelf-track .product-card[data-pos="-3"] {
  transform: translate(-50%, -50%) translateX(calc(var(--shelf-card) * -3.2)) rotateY(15deg) scale(.7);
}
.product-showcases .shelf-track .product-card[data-pos="3"] {
  transform: translate(-50%, -50%) translateX(calc(var(--shelf-card) * 3.2)) rotateY(-15deg) scale(.7);
}
.product-showcases .shelf-track .product-card[data-pos="-4"] {
  transform: translate(-50%, -50%) translateX(calc(var(--shelf-card) * -4.25)) rotateY(18deg) scale(.62);
}
.product-showcases .shelf-track .product-card[data-pos="4"] {
  transform: translate(-50%, -50%) translateX(calc(var(--shelf-card) * 4.25)) rotateY(-18deg) scale(.62);
}
.product-showcases .shelf-track .product-card-media { height: clamp(150px, 11vw, 180px); flex-basis: clamp(150px, 11vw, 180px); }
.product-showcases .shelf-track .product-card h3 { font-size: clamp(18px, 1.3vw, 20px); line-height: 1.12; }
.product-showcases .shelf-track .product-card .product-card-spec { font-size: clamp(11.5px, .88vw, 14px); line-height: 1.4; }
.product-showcases .shelf-track .product-card-price { font-size: clamp(18px, 1.35vw, 22px); }
.product-showcases .shelf-track .product-card .card-add-wide { min-height: 40px; font-size: 13px; }

/* Three visible cards on narrower desktops and tablets. */
@media (max-width: 1199px) {
  .shelf-viewport { height: 420px; }
  .product-showcases .shelf-track .product-card[data-pos="-1"] {
    transform: translate(-50%, -50%) translateX(calc(var(--shelf-card) * -1.02)) rotateY(13deg) scale(.9);
    opacity: .8;
  }
  .product-showcases .shelf-track .product-card[data-pos="1"] {
    transform: translate(-50%, -50%) translateX(calc(var(--shelf-card) * 1.02)) rotateY(-13deg) scale(.9);
    opacity: .8;
  }
  .product-showcases .shelf-track .product-card[data-pos="-2"],
  .product-showcases .shelf-track .product-card[data-pos="2"] { opacity: 0; visibility: hidden; }
  .product-showcases .shelf-track .product-card-media { height: 178px; flex-basis: 178px; }
  .product-showcases .shelf-track .product-card h3 { font-size: 21px; }
  .product-showcases .shelf-track .product-card-price { font-size: 20px; }
}

/* One visible card on phones. */
@media (max-width: 720px) {
  .shelf-viewport { height: 432px; }
  .shelf-track { --shelf-card: min(76vw, 320px); }
  .product-showcases .shelf-track .product-card[data-pos]:not([data-pos="0"]) {
    opacity: 0; visibility: hidden; pointer-events: none;
  }
  .product-showcases .shelf-track .product-card-media { height: 184px; flex-basis: 184px; }
  .product-showcases .shelf-track .product-card h3 { font-size: 21px; }
  .shelf-arrow { width: 36px; height: 50px; }
  .shelf-arrow-prev { left: 0; }
  .shelf-arrow-next { right: 0; }
}.header-actions .count-badge {
  min-width: 19px; height: 19px; top: -1px; right: -1px; z-index: 2;
  border: 2px solid var(--shop-panel);
  box-shadow: 0 1px 3px #00000033;
}
.header-actions .wishlist-btn .count-badge,
.header-actions .cart-btn .count-badge { padding-inline: 4px; }

/* Standard header search field with a compact results-only dropdown. */
.header-search-wrap { grid-column: 2; position: relative; width: 100%; min-width: 0; }
.header-search { width: 100%; min-height: 43px; gap: 9px; padding: 0 12px; cursor: text; }
.header-search svg { flex: 0 0 19px; color: var(--shop-muted); }
.header-search input {
  flex: 1; min-width: 0; height: 40px; padding: 0; border: 0; outline: 0;
  color: var(--shop-copy); background: transparent;
  font: 500 13.5px var(--sans);
}
.header-search input::placeholder { color: var(--shop-muted); }
.header-search input::-webkit-search-cancel-button { filter: invert(.75); }
.header-search:focus-within { border-color: color-mix(in srgb, var(--shop-action) 55%, var(--shop-border)); }
.header-search-drop {
  position: absolute; z-index: 60; top: calc(100% + 6px); left: 0; right: 0;
  width: auto; padding: 6px; transform: none;
  border: 1px solid var(--shop-border); border-radius: 10px;
  background: var(--shop-panel); box-shadow: 0 22px 48px #0000004d;
}
.header-search-drop[hidden] { display: none; }
.header-search-drop .search-command-results { max-height: min(46vh, 340px); overflow: auto; overscroll-behavior: contain; }
.header-search-drop .search-command-row { min-height: 52px; padding: 4px 6px; }
.header-search-drop .search-command-copy small { display: none; }
.header-search-drop .search-command-empty { margin: 6px; }
@media (max-width: 720px) { .header-search-wrap { display: none; } }

/* Navigation arrows: square, rounded, theme-safe. */
.hero-side,
.deal-side,
.shelf-arrow,
#reviewCycle .cycle-controls button,
.cycle-controls button {
  width: 44px; min-width: 44px; height: 44px; min-height: 44px;
  padding: 0; border-radius: 10px;
  color: var(--shop-copy) !important;
  background: var(--shop-panel) !important;
  border: 1px solid var(--shop-border) !important;
  box-shadow: 0 6px 16px #00000024;
  backdrop-filter: none;
}
.hero-side svg, .deal-side svg, .shelf-arrow svg,
#reviewCycle .cycle-controls button svg { width: 18px; height: 18px; }
.hero-side:hover, .deal-side:hover, .shelf-arrow:hover,
#reviewCycle .cycle-controls button:hover, .cycle-controls button:hover {
  color: #17241c !important; background: var(--shop-action) !important;
  border-color: transparent !important;
}

@media (max-width: 720px) {
  .hero-side, .deal-side, .shelf-arrow,
  #reviewCycle .cycle-controls button, .cycle-controls button { width: 42px; min-width: 42px; height: 42px; min-height: 42px; }
}

.hero-side {
  width: 44px !important; height: 44px !important; border-radius: 10px !important;
  background: var(--shop-panel) !important; color: var(--shop-copy) !important;
  border-color: var(--shop-border) !important; backdrop-filter: none !important;
}
.hero-side:hover {
  background: var(--shop-action) !important; color: #17241c !important; border-color: transparent !important;
}
@media (max-width: 720px) {
  .hero-side { width: 42px !important; height: 42px !important; }
}
.home-hero { position: relative; }
.hero-side {
  position: absolute; z-index: 20; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center; width: 40px; height: 58px;
  color: var(--shop-copy); background: #0d181dcc; border: 1px solid var(--shop-border);
  border-radius: 8px; backdrop-filter: blur(5px);
}
.hero-side svg { width: 17px; height: 17px; }
.hero-side:hover { color: #17241c; background: var(--shop-action); border-color: transparent; }
.hero-side-prev { left: 12px; }
.hero-side-next { right: 12px; }
@media (min-width: 1200px) {
  .hero-poster { width: 44%; }
  .hero-poster[data-offset="-1"] {
    transform: translateX(-100%) translateY(8px) scale(.86) rotateY(18deg);
    filter: brightness(.64) saturate(.82);
  }
  .hero-poster[data-offset="1"] {
    transform: translateX(0%) translateY(8px) scale(.86) rotateY(-18deg);
    filter: brightness(.64) saturate(.82);
  }
  .hero-poster[data-offset="-2"] {
    z-index: 0; opacity: .7; pointer-events: auto; cursor: pointer;
    transform: translateX(-140%) translateY(14px) scale(.72) rotateY(26deg);
    filter: brightness(.5) saturate(.78);
  }
  .hero-poster[data-offset="2"] {
    z-index: 0; opacity: .7; pointer-events: auto; cursor: pointer;
    transform: translateX(40%) translateY(14px) scale(.72) rotateY(-26deg);
    filter: brightness(.5) saturate(.78);
  }
  .hero-poster .poster-copy { padding: clamp(16px, 2.2vw, 30px); max-width: 68%; }
  .hero-poster .poster-copy h2 { font-size: clamp(30px, 3.3vw, 46px); }
  .hero-poster .poster-copy p { font-size: 12.5px; }
}
@media (max-width: 720px) {
  .hero-poster { width: 100%; }
  .hero-poster[data-offset]:not([data-offset="0"]) { opacity: 0; visibility: hidden; pointer-events: none; }
  .hero-side { width: 36px; height: 50px; }
  .hero-side-prev { left: 6px; }
  .hero-side-next { right: 6px; }
}

/* Builder: consistent buttons, one-line total, row-by-row fill. */
.builder-selection-head .build-head-actions button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 38px; padding: 0 11px;
  border: 1px solid var(--shop-border); border-radius: 7px;
  color: var(--shop-copy); background: color-mix(in srgb, var(--shop-copy) 7%, var(--shop-panel));
  font: 600 11px/1 var(--sans); text-decoration: none;
}
.builder-selection-head .build-head-actions button:hover {
  color: var(--shop-copy); background: color-mix(in srgb, var(--shop-copy) 12%, var(--shop-panel));
  text-decoration: none;
}
.builder-current button {
  min-height: 40px; padding: 0 14px;
  border: 1px solid var(--shop-action); border-radius: 7px;
  color: #16251b; background: var(--shop-action);
  font: 700 11px/1 var(--sans); text-decoration: none;
}
.builder-current button:hover { background: #f3ffa5; color: #16251b; }
.builder-total {
  display: flex; flex-direction: row; align-items: baseline; flex-wrap: wrap;
  gap: 3px 9px; margin-inline-end: auto;
  color: var(--shop-muted); font-size: 11px;
}
.builder-total strong { font-size: 25px; }
@keyframes fillIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.fill-in { animation: fillIn 280ms var(--shell-ease) both; }
@media (prefers-reduced-motion: reduce) { .fill-in { animation: none; } }

/* Product page: full screen, back-only navigation, sticky buying panel. */
.product-page { inset: 0; width: 100%; min-height: 100dvh; }
.product-topbar {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: blur(10px);
}
.product-shell { max-width: 1320px; margin-inline: auto; }
.product-info { position: sticky; top: 82px; align-self: start; }
@media (max-width: 860px) { .product-info { position: static; } }

/* Catalogue filters: expandable check list, yellow reset, no toolbar rule. */
.catalogue-toolbar { border-bottom: 0; }
.filter-panel, .filter-panel * { user-select: none; -webkit-user-select: none; }
.catalogue-layout .filter-head-actions [data-filter-reset] {
  min-height: 34px; padding: 0 11px; border: 0; border-radius: 6px;
  color: #17261f; background: var(--shop-action); font: 800 10.5px/1 var(--sans);
}
.catalogue-layout .filter-head-actions [data-filter-reset]:hover { background: #f3ffa5; }
#brandsPage > .empty-state {
  padding: 16px 0; border: 0; border-radius: 0; background: transparent;
}
#reviewCycle .cycle-controls {
  position: absolute; inset: 50% 4px auto; transform: translateY(-50%);
  display: flex; justify-content: space-between; margin: 0; pointer-events: none;
}
#reviewCycle .cycle-controls button { pointer-events: auto; }
.filter-select .store-select-options button {
  display: flex; align-items: center; gap: 8px;
  padding-inline: 8px; text-align: left;
}
.filter-check {
  display: grid; place-items: center; flex: 0 0 15px;
  width: 15px; height: 15px; border: 1px solid var(--shop-border); border-radius: 3px;
}
.filter-select .store-select-options button[aria-pressed="true"] .filter-check {
  color: #17261f; background: var(--shop-action); border-color: var(--shop-action);
}
.filter-select .store-select-options button[aria-pressed="true"] .filter-check::after {
  content: ""; width: 7px; height: 4px; margin-top: -1px;
  border-left: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}

/* Empty states and muted copy must follow the active theme. */
.empty-state { color: var(--shop-muted); border-color: var(--shop-border); }
.empty-state strong { color: var(--shop-copy); }
.empty-state p { color: var(--shop-muted); }
#brandsPage .empty-state { margin-top: 12px; }
.search-command-empty { color: var(--shop-muted); }
.drawer-count {
  display: inline-grid; place-items: center; min-width: 20px; height: 20px;
  margin-inline-start: 5px; padding-inline: 5px; border-radius: 99px;
  color: #17261f; background: var(--shop-action);
  font: 750 11px/1 var(--sans); vertical-align: 4px;
}

/* Cards stay flat on hover; only the Buy row reacts. */
.product-card.is-front { border-color: #516663; }
@media (hover: hover) {
  .product-card:hover,
  .product-card:focus-within { background: var(--shop-panel); border-color: #516663; }
  body[data-theme="light"] .product-card:is(:hover, :focus-within) { background: #fafbf5; border-color: #bdcbc3; }
  .product-card:hover .product-card-media,
  .product-card:focus-within .product-card-media { background: #f0f2eb; }
  .product-card:hover .product-card-media img,
  .product-card:focus-within .product-card-media img { transform: none; }
  .product-card .card-add-wide:hover,
  .product-card .card-add-wide:focus-visible {
    color: #fff; background: #080c0d;
    box-shadow: inset 0 0 0 2px var(--shop-action);
    transform: none;
  }
}

/* Prebuilt deal cards stay dark in both themes, so their text stays light. */
.deal-poster { color: #f4f8f1; }
.deal-poster-copy h3, .deal-title { color: #f6f8f2; }
.deal-poster-copy > p { color: #b9c8c2; }
.deal-poster .deal-price-row strong { color: #f8f9ee; }
.deal-poster .deal-mrp { color: #9fb0a7; }
.deal-poster .deal-save { color: var(--shop-action); }
.deal-poster .deal-view { color: #eef8ed; }
.deal-poster .deal-view:hover { color: var(--shop-action); }

/* Light theme keeps side cards legible instead of washing them out. */
body[data-theme="light"] .shelf-track .product-card[data-pos="-1"],
body[data-theme="light"] .shelf-track .product-card[data-pos="1"] { opacity: .95; }
body[data-theme="light"] .shelf-track .product-card[data-pos="-2"],
body[data-theme="light"] .shelf-track .product-card[data-pos="2"] { opacity: .8; }
body[data-theme="light"] .shelf-track .product-card[data-pos="-3"],
body[data-theme="light"] .shelf-track .product-card[data-pos="3"] { opacity: .65; }
body[data-theme="light"] #reviewCycle .review-card[data-ring-position="-1"],
body[data-theme="light"] #reviewCycle .review-card[data-ring-position="1"] { opacity: .68; }

body[data-theme="light"] .shelf-track .product-card[data-pos]:not([data-pos="0"]) { opacity: 1; }
body[data-theme="light"] #reviewCycle .review-card[data-ring-position="-1"],
body[data-theme="light"] #reviewCycle .review-card[data-ring-position="1"] { opacity: .85; }

/* The current rail destination is the yellow signal tab. */
.store-rail [aria-current="page"] {
  color: #17261f !important;
  background: var(--shop-action) !important;
}
.store-rail [aria-current="page"] svg { color: #17261f !important; }
.store-rail [aria-current="page"]:hover { background: #f3ffa5 !important; color: #17261f !important; }

/* Final arrow geometry and light-theme safety. */
.hero-side {
  width: 44px !important; height: 44px !important; min-width: 44px; min-height: 44px;
  border-radius: 10px !important;
  color: var(--shop-copy) !important;
  background: var(--shop-panel) !important;
  border: 1px solid var(--shop-border) !important;
  backdrop-filter: none !important;
}
.hero-side:hover {
  color: #17241c !important;
  background: var(--shop-action) !important;
  border-color: transparent !important;
}
@media (max-width: 720px) {
  .hero-side { width: 42px !important; height: 42px !important; }
}
