:root {
  --black: #0a0a0a;
  --panel: #121212;
  --panel-2: #191919;
  --cream: #f5f2ec;
  --muted: #aaa7a1;
  --line: #303030;
  --blue: #2d6bff;
  --danger: #ff5d5d;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--cream);
  background: var(--black);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--black); color: var(--cream); }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
.demo-bar { padding: .55rem 1rem; text-align: center; background: var(--blue); color: white; font-size: .75rem; font-weight: 800; letter-spacing: .12em; }
.site-header { position: sticky; top: 0; z-index: 30; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; min-height: 76px; padding: 0 clamp(1rem, 4vw, 4.5rem); background: rgba(10,10,10,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: .7rem; width: max-content; font-weight: 900; letter-spacing: .12em; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border: 2px solid var(--cream); font-weight: 950; letter-spacing: -.08em; }
nav { display: flex; gap: 2rem; color: var(--muted); font-weight: 650; font-size: .92rem; }
nav a:hover { color: var(--cream); }
.cart-button { justify-self: end; padding: .72rem 1rem; border: 1px solid var(--line); background: transparent; color: var(--cream); font-weight: 750; }
.cart-button span { display: inline-grid; place-items: center; min-width: 24px; height: 24px; margin-left: .45rem; padding: 0 .35rem; background: var(--blue); }
main { width: min(1500px, 100%); margin: auto; }
.catalog-head { display: grid; grid-template-columns: 1.4fr .6fr; align-items: end; gap: 3rem; padding: clamp(3rem, 7vw, 7rem) clamp(1rem, 4vw, 4.5rem) clamp(2.2rem, 4vw, 4rem); border-bottom: 1px solid var(--line); background: radial-gradient(circle at 85% 15%, rgba(45,107,255,.18), transparent 25%); }
.eyebrow { margin: 0 0 1rem; color: var(--blue); font-size: .79rem; font-weight: 900; letter-spacing: .22em; }
h1 { max-width: 920px; margin: 0; font-size: clamp(3rem, 8vw, 7.3rem); line-height: .88; letter-spacing: -.065em; text-transform: uppercase; }
.catalog-intro { max-width: 460px; margin: 0 0 .4rem; color: var(--muted); font-size: 1.08rem; line-height: 1.65; }
.shipping-banner { display: flex; justify-content: center; align-items: center; gap: .75rem; padding: .9rem 1rem; border-bottom: 1px solid var(--line); background: #111; color: var(--muted); font-size: .86rem; }
.shipping-banner strong { color: #d9ff45; font-size: .78rem; letter-spacing: .12em; }
.catalog-shell { display: grid; grid-template-columns: 265px 1fr; align-items: start; gap: clamp(1.5rem, 3vw, 3rem); padding: 2rem clamp(1rem, 4vw, 4.5rem) 6rem; }
.filters { position: sticky; top: 108px; display: flex; flex-direction: column; gap: 1rem; padding: 1.4rem; background: var(--panel); border: 1px solid var(--line); }
.filters label, .filters legend { font-size: .9rem; font-weight: 700; }
.filters fieldset { display: grid; gap: .75rem; margin: .3rem 0; padding: 1rem 0; border: 0; border-top: 1px solid var(--line); }
.filters fieldset label { display: flex; align-items: center; gap: .65rem; color: var(--muted); font-weight: 500; }
.filters input[type="checkbox"], .filters input[type="radio"] { width: 18px; height: 18px; accent-color: var(--blue); }
input[type="search"], select { width: 100%; min-height: 46px; padding: .75rem .85rem; border: 1px solid var(--line); border-radius: 0; background: var(--black); color: var(--cream); }
.text-button { width: max-content; padding: .3rem 0; border: 0; border-bottom: 1px solid var(--cream); background: none; color: var(--cream); font-weight: 700; }
.products-area { min-width: 0; }
.results-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; color: var(--muted); }
.results-row select { width: auto; min-width: 190px; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.product-card { min-width: 0; background: var(--black); transition: background .2s ease; }
.product-card:hover { background: #101010; }
.product-image { position: relative; aspect-ratio: 4/5; overflow: hidden; background: #111; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; filter: saturate(.88); }
.product-card:hover .product-image img { transform: scale(1.025); }
.card-status { position: absolute; top: .85rem; left: .85rem; padding: .48rem .65rem; background: rgba(10,10,10,.88); border: 1px solid rgba(245,242,236,.25); font-size: .68rem; font-weight: 900; letter-spacing: .12em; }
.card-status.stock { color: var(--cream); }
.card-status.order { color: #bcd0ff; border-color: rgba(45,107,255,.55); }
.card-status.mixed { color: #bcd0ff; border-color: rgba(45,107,255,.75); }
.product-info { padding: 1.15rem; }
.product-meta { display: flex; justify-content: space-between; gap: .75rem; color: var(--muted); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.product-info h2 { margin: .55rem 0 .35rem; font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.15; }
.product-price { margin: 0; font-weight: 850; }
.product-price.discounted,
.modal-price.discounted { display: flex; align-items: baseline; gap: .55rem; }
.old-price { color: var(--muted); font-size: .82em; font-weight: 650; text-decoration: line-through; }
.sale-price { color: #d9ff45; font-weight: 900; }
.card-button { width: 100%; margin-top: 1rem; padding: .8rem; border: 1px solid var(--line); background: transparent; color: var(--cream); font-weight: 750; text-align: left; }
.card-button:hover { border-color: var(--blue); color: #bcd0ff; }
.empty-state { padding: 5rem 1rem; text-align: center; border: 1px solid var(--line); }
.empty-state h2 { font-size: 2rem; }
.empty-state p { color: var(--muted); }
.how { padding: clamp(4rem, 8vw, 8rem) clamp(1rem, 4vw, 4.5rem); border-top: 1px solid var(--line); }
.how h2 { margin: 0 0 3rem; font-size: clamp(2.6rem, 6vw, 5.4rem); line-height: .95; text-transform: uppercase; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.how article { min-height: 230px; padding: 1.8rem; background: var(--panel); }
.how article span { color: var(--blue); font-size: .8rem; font-weight: 900; }
.how h3 { margin: 3rem 0 .5rem; font-size: 1.5rem; }
.how article p { color: var(--muted); line-height: 1.6; }
footer { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; padding: 3rem clamp(1rem, 4vw, 4.5rem); border-top: 1px solid var(--line); color: var(--muted); }
.footer-note { grid-column: 1 / -1; font-size: .78rem; }
.customer-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; padding: 0 clamp(1rem, 4vw, 4.5rem) clamp(4rem, 8vw, 8rem); background: var(--line); }
.customer-info article { padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--panel); }
.customer-info h2 { margin: .75rem 0 1.25rem; font-size: clamp(1.45rem, 2.5vw, 2.15rem); line-height: 1.05; text-transform: uppercase; }
.customer-info article > p:not(.eyebrow) { color: var(--muted); line-height: 1.6; }
.availability-confirmation { margin: 1.35rem 0; padding: 1rem; border-left: 3px solid var(--blue); background: rgba(45,107,255,.09); color: var(--muted); font-size: .88rem; line-height: 1.55; }
.availability-confirmation strong { color: var(--cream); }
.overlay[hidden] { display: none; }
.overlay { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 1rem; background: rgba(0,0,0,.84); }
.product-modal { position: relative; display: grid; grid-template-columns: 1fr 1fr; width: min(1050px, 100%); max-height: calc(100vh - 2rem); overflow: auto; background: var(--black); border: 1px solid var(--line); box-shadow: 0 30px 100px rgba(0,0,0,.65); }
.modal-media { display: flex; flex-direction: column; min-height: 620px; background: #111; overflow: hidden; }
.modal-main-image { width: 100%; min-height: 0; flex: 1; object-fit: cover; }
.product-gallery { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 3px; padding: 3px; background: var(--black); }
.gallery-thumb { aspect-ratio: 1; padding: 0; overflow: hidden; border: 1px solid transparent; background: #111; opacity: .62; }
.gallery-thumb.active { border-color: var(--blue); opacity: 1; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.modal-media.editorial-stack { display: grid; grid-template-rows: 1fr; min-height: 0; }
.modal-media.editorial-stack .modal-main-image { display: none; }
.modal-media.editorial-stack .product-gallery { display: grid; grid-template-columns: 1fr; grid-template-rows: repeat(4, minmax(0, 1fr)); gap: 1px; height: 100%; min-height: 620px; padding: 0; background: var(--line); }
.editorial-panel { min-height: 0; margin: 0; overflow: hidden; background: #0e0e0e; }
.editorial-panel img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.modal-copy { padding: clamp(1.5rem, 4vw, 3.5rem); }
.close-button { border: 0; background: transparent; color: var(--cream); font-size: 2rem; line-height: 1; }
.product-modal > .close-button { position: absolute; top: .7rem; right: .8rem; z-index: 2; width: 42px; height: 42px; background: rgba(10,10,10,.84); }
.status-badge { display: inline-block; margin-bottom: 2rem; padding: .5rem .7rem; border: 1px solid var(--blue); color: #bcd0ff; font-size: .72rem; font-weight: 900; letter-spacing: .12em; }
.product-kicker { margin: 0 0 .45rem; color: var(--muted); font-size: .8rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.modal-copy h2 { margin: 0; font-size: clamp(2.3rem, 5vw, 4.3rem); line-height: .92; text-transform: uppercase; }
.modal-price { margin: 1rem 0 1.7rem; font-size: 1.55rem; font-weight: 900; }
.product-description { color: var(--muted); line-height: 1.65; }
.specs { display: grid; grid-template-columns: repeat(3, 1fr); margin: 2rem 0; border-block: 1px solid var(--line); }
.specs div { padding: 1rem 0; }
.specs dt { color: var(--muted); font-size: .75rem; text-transform: uppercase; }
.specs dd { margin: .35rem 0 0; font-weight: 750; }
.size-fieldset { margin: 0 0 1.2rem; padding: 0; border: 0; }
.size-fieldset legend { margin-bottom: .8rem; font-weight: 750; }
.size-options { display: flex; flex-wrap: wrap; gap: .55rem; }
.size-option input { position: absolute; opacity: 0; pointer-events: none; }
.size-option span { display: grid; place-items: center; min-width: 74px; min-height: 52px; padding: .35rem .55rem; border: 1px solid var(--line); }
.size-option small { display: block; margin-top: .15rem; color: var(--muted); font-size: .58rem; line-height: 1; text-transform: uppercase; }
.size-option input:checked + span small { color: white; }
.size-option input:checked + span { border-color: var(--blue); background: var(--blue); color: white; }
.primary-button, .secondary-button { min-height: 50px; padding: .85rem 1.2rem; border: 1px solid var(--blue); font-weight: 850; }
.primary-button { width: 100%; background: var(--blue); color: white; }
.primary-button:hover { background: #1f58dc; }
.secondary-button { background: transparent; color: var(--cream); border-color: var(--line); }
.form-error { color: var(--danger); font-size: .88rem; }
.cart-drawer { position: fixed; inset: 0; z-index: 80; pointer-events: none; visibility: hidden; }
.cart-drawer.open { pointer-events: auto; visibility: visible; }
.cart-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.74); opacity: 0; transition: opacity .25s; }
.cart-drawer.open .cart-backdrop { opacity: 1; }
.cart-panel { position: absolute; inset: 0 0 0 auto; display: flex; flex-direction: column; width: min(470px, 100%); padding: 1.3rem; background: var(--black); border-left: 1px solid var(--line); transform: translateX(100%); transition: transform .3s ease; }
.cart-drawer.open .cart-panel { transform: translateX(0); }
.cart-header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.cart-header h2 { margin: 0; font-size: 1.7rem; text-transform: uppercase; }
.cart-items { flex: 1; overflow: auto; }
.cart-item { display: grid; grid-template-columns: 78px 1fr auto; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 78px; height: 92px; object-fit: cover; }
.cart-item h3 { margin: 0 0 .35rem; font-size: 1rem; }
.cart-item p { margin: .2rem 0; color: var(--muted); font-size: .83rem; }
.remove-item { align-self: start; border: 0; background: none; color: var(--muted); font-size: 1.2rem; }
.cart-empty { margin: auto; text-align: center; color: var(--muted); }
.cart-summary { padding-top: 1.1rem; border-top: 1px solid var(--line); }
.cart-summary > div { display: flex; justify-content: space-between; font-size: 1.1rem; }
.cart-summary p { color: var(--muted); font-size: .8rem; line-height: 1.5; }
.checkout-note { text-align: center; }
.accepted-payments { line-height: 1.5; }
.toast { position: fixed; left: 50%; bottom: 1.4rem; z-index: 100; max-width: calc(100% - 2rem); padding: .85rem 1.1rem; background: var(--cream); color: var(--black); font-weight: 750; opacity: 0; transform: translate(-50%, 20px); transition: .25s; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 1050px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-head { grid-template-columns: 1fr; gap: 1.4rem; }
  .product-modal { grid-template-columns: .9fr 1.1fr; }
}
@media (max-width: 760px) {
  .site-header { grid-template-columns: 1fr auto; min-height: 66px; gap: 1rem; }
  nav { display: none; }
  .brand { font-size: .9rem; }
  .brand-mark { width: 30px; height: 30px; }
  .catalog-head { padding-top: 3.5rem; }
  h1 { font-size: clamp(3.1rem, 16vw, 5.3rem); }
  .catalog-shell { display: block; padding-inline: 0; }
  .filters { position: static; margin: 0 1rem 1rem; }
  .results-row { padding: 0 1rem; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); border-inline: 0; }
  .product-info { padding: .9rem; }
  .product-meta { display: block; font-size: .67rem; }
  .product-meta span { display: block; margin-bottom: .2rem; }
  .card-button { font-size: .82rem; }
  .how-grid { grid-template-columns: 1fr; }
  .customer-info { grid-template-columns: 1fr; padding-inline: 1rem; }
  .how article { min-height: auto; }
  .how h3 { margin-top: 2rem; }
  footer { grid-template-columns: 1fr; }
  .product-modal { display: block; max-height: calc(100vh - 1rem); }
  .modal-media { min-height: 0; aspect-ratio: auto; }
  .modal-main-image { aspect-ratio: 4/3; flex: none; }
  .modal-media.editorial-stack .product-gallery { grid-template-rows: none; height: auto; min-height: 0; }
  .editorial-panel { aspect-ratio: 4/3; }
  .modal-copy h2 { font-size: 2.5rem; }
  .specs { grid-template-columns: 1fr; }
  .specs div + div { border-top: 1px solid var(--line); }
}
@media (max-width: 430px) {
  .demo-bar { font-size: .62rem; }
  .shipping-banner { align-items: flex-start; flex-direction: column; gap: .3rem; }
  .cart-button { padding: .55rem .65rem; font-size: .82rem; }
  .product-grid { grid-template-columns: 1fr; }
  .product-image { aspect-ratio: 4/4.6; }
  .results-row { align-items: stretch; gap: .7rem; flex-direction: column; }
  .results-row select { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
