/* =========================================================
   LIRA — light store theme (layout inspired by premium sportswear stores)
   ========================================================= */
:root {
  --bg: #f8f8f8;
  --white: #ffffff;
  --ink: #111111;
  --text: #4f4f4f;
  --muted: #8b8b8b;
  --line: #e6e6e6;
  --tile: #eeeeee;
  --silver: #a7a9ad;
  --silver-dark: #6f7175;
  --danger: #b3261e;
  --head-font: "Montserrat", "Segoe UI", sans-serif;
  --body-font: "Figtree", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --announce-h: 34px;
  --header-h: 72px;
  --max: 1360px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--body-font); font-size: 15px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.lock, body.is-loading { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--head-font); color: var(--ink); margin: 0; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 clamp(16px, 3vw, 40px); }

/* ---------------- INTRO ---------------- */
.intro { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: #0b0b0b; perspective: 1200px; transition: opacity .8s var(--ease), visibility .8s; }
.intro.done { opacity: 0; visibility: hidden; }
.intro-stage { position: relative; text-align: center; }
.intro-logo { position: relative; width: min(56vw, 460px); margin: 0 auto; animation: logoIn 1.4s var(--ease) .15s both; }
.intro-logo img { width: 100%; }
.intro-logo .sheen { position: absolute; inset: 0; filter: brightness(.55); clip-path: polygon(-20% 0, -8% 0, -23% 100%, -35% 100%); animation: sheen 1.2s ease-in-out 1.3s both; }
.intro-line { height: 1px; width: min(56vw, 460px); margin: 24px auto 16px; background: linear-gradient(90deg, transparent, #c4c5c7, transparent); transform: scaleX(0); animation: lineIn .9s var(--ease) 1.1s both; }
.intro-tag { margin: 0; font-family: var(--head-font); font-weight: 600; letter-spacing: .5em; padding-left: .5em; font-size: clamp(.65rem, 1.5vw, .9rem); color: #c4c5c7; }
.intro-tag .ch { display: inline-block; opacity: 0; transform: translateY(12px); animation: chIn .5s var(--ease) both; }
.intro-skip { position: absolute; right: 28px; bottom: 28px; color: #8b8b8b; font-family: var(--head-font); font-size: .7rem; letter-spacing: .25em; text-transform: uppercase; padding: 8px 14px; border: 1px solid #333; border-radius: 99px; }
@keyframes logoIn { 0% { opacity: 0; transform: rotateY(-70deg) scale(.7) translateZ(-260px); filter: blur(12px); } 60% { opacity: 1; filter: blur(0); } 100% { opacity: 1; transform: none; } }
@keyframes sheen { to { clip-path: polygon(123% 0, 135% 0, 120% 100%, 108% 100%); } }
@keyframes lineIn { to { transform: scaleX(1); } }
@keyframes chIn { to { opacity: 1; transform: none; } }

/* ---------------- ANNOUNCEMENT ---------------- */
.announce { position: relative; z-index: 60; height: var(--announce-h); background: var(--ink); color: #e9e9e9; display: grid; place-items: center; overflow: hidden; }
.announce-track { display: flex; gap: 14px; align-items: center; font-family: var(--head-font); font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; }
.announce i { font-style: normal; color: #777; }
.announce a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------------- HEADER ---------------- */
.header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 clamp(16px, 3vw, 40px);
  background: var(--white); border-bottom: 1px solid var(--line);
  transition: background .35s, border-color .35s, color .35s;
}
/* transparent over the hero on the home page */
body.home .header:not(.scrolled) { background: transparent; border-color: transparent; color: #fff; }
body.home .header { position: fixed; top: var(--announce-h); left: 0; right: 0; }
body.home .header.scrolled { top: 0; }
.header-left { display: flex; align-items: center; gap: 10px; }
.header-right { display: flex; justify-content: flex-end; align-items: center; gap: 4px; }
.nav { display: flex; gap: 26px; }
.nav a { font-family: var(--head-font); font-weight: 700; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor; transform: scaleX(0); transition: transform .3s var(--ease); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.logo img { height: 26px; width: auto; filter: invert(1) brightness(.1); transition: filter .35s; }
body.home .header:not(.scrolled) .logo img { filter: none; }
.icon-btn { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 50%; position: relative; transition: background .2s; }
.icon-btn:hover { background: rgba(0,0,0,.05); }
body.home .header:not(.scrolled) .icon-btn:hover { background: rgba(255,255,255,.12); }
.icon-btn svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cart-badge { position: absolute; top: 3px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--ink); color: #fff; font-size: .65rem; font-weight: 700; display: grid; place-items: center; font-family: var(--head-font); }
body.home .header:not(.scrolled) .cart-badge { background: #fff; color: var(--ink); }
.cart-badge.bump { animation: bump .45s var(--ease); }
@keyframes bump { 45% { transform: scale(1.4); } }
.menu-toggle { display: none; }

/* ---------------- BUTTONS ---------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 30px; font-family: var(--head-font); font-weight: 700; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; border: 1px solid transparent; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2b2b2b; }
.btn-dark:disabled { background: #bdbdbd; cursor: not-allowed; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: transparent; color: #fff; border-color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-block { width: 100%; }

/* ---------------- HERO ---------------- */
.hero { position: relative; height: calc(100vh - var(--announce-h)); height: calc(100svh - var(--announce-h)); min-height: 560px; overflow: hidden; background: radial-gradient(ellipse at 50% 40%, #262628 0%, #0c0c0c 70%); color: #fff; display: grid; place-items: center; text-align: center; }
#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, transparent 30%, transparent 60%, rgba(0,0,0,.45) 100%); pointer-events: none; }
.hero-content { position: relative; z-index: 2; padding: 0 20px; }
.hero-eyebrow { font-family: var(--head-font); font-weight: 600; font-size: .75rem; letter-spacing: .45em; text-transform: uppercase; color: #c9c9c9; margin: 0 0 18px; }
.hero h1 { color: #fff; font-weight: 800; font-size: clamp(2.6rem, 8vw, 6.4rem); line-height: .95; letter-spacing: .01em; text-transform: uppercase; }
.hero h1 span { display: block; overflow: hidden; }
.hero h1 span > b { display: inline-block; font-weight: 800; transform: translateY(105%); }
.hero.live h1 span > b { animation: rise 1s var(--ease) both; }
.hero.live h1 span:nth-child(2) > b { animation-delay: .1s; }
.hero p.hero-sub { margin: 22px auto 30px; max-width: 460px; color: #d0d0d0; opacity: 0; }
.hero .hero-cta { opacity: 0; }
.hero.live p.hero-sub { animation: fadeUp .8s var(--ease) .35s both; }
.hero.live .hero-cta { animation: fadeUp .8s var(--ease) .5s both; }
@keyframes rise { to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------------- SECTIONS ---------------- */
.section { padding: 56px 0 26px; border-bottom: 1px solid var(--line); }
.section:last-of-type { border-bottom: 0; }
.section-title { font-family: var(--body-font); font-weight: 500; font-size: 1rem; color: var(--muted); margin: 0 0 18px; }
.section-cta { text-align: center; margin: 34px 0 20px; }

/* ---------------- PRODUCT GRID ---------------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 18px; }
@media (min-width: 1400px) { .grid.grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card { display: block; position: relative; }
.card-media { position: relative; aspect-ratio: 1 / 1; background: var(--tile); overflow: hidden; display: grid; place-items: center; perspective: 900px; }
.card-media svg { width: 78%; height: 78%; transition: transform .6s var(--ease), opacity .35s; }
.card-media .alt { position: absolute; opacity: 0; }
.card:hover .card-media svg { transform: scale(1.05) rotateY(-6deg); }
.card:hover .card-media .alt { opacity: 1; }
.card:hover .card-media .main.has-alt { opacity: 0; }
.badge { position: absolute; top: 12px; left: 12px; z-index: 2; background: #fff; color: var(--ink); font-family: var(--head-font); font-weight: 700; font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; padding: 5px 9px; }
.badge.out { background: var(--ink); color: #fff; }
.card-info { padding: 12px 2px 0; }
.card-name { font-family: var(--head-font); font-weight: 600; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); margin: 0 0 2px; }
.card-sub { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.card-dots { display: flex; gap: 5px; margin-bottom: 6px; }
.card-dots i { width: 11px; height: 11px; border-radius: 50%; border: 1px solid rgba(0,0,0,.18); }
.card-price { font-family: var(--head-font); font-weight: 700; font-size: .8rem; color: var(--ink); }
.skeleton .card-media { background: linear-gradient(90deg, #ececec 25%, #f4f4f4 50%, #ececec 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
.skeleton .bar { height: 10px; background: #e9e9e9; margin-top: 10px; width: 70%; }
.skeleton .bar.s { width: 35%; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------------- BRAND BLOCK ---------------- */
.brand { background: var(--white); padding: 80px 0; text-align: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.brand .eyebrow { font-family: var(--head-font); font-weight: 600; font-size: .72rem; letter-spacing: .35em; text-transform: uppercase; color: var(--muted); }
.brand h2 { font-size: clamp(1.6rem, 3.6vw, 2.6rem); text-transform: uppercase; margin: 12px 0 34px; letter-spacing: .02em; }
.acronym { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 820px; margin: 0 auto 30px; border: 1px solid var(--line); }
.acronym div { padding: 26px 8px; border-right: 1px solid var(--line); }
.acronym div:last-child { border-right: 0; }
.acronym b { display: block; font-family: var(--head-font); font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.4rem); color: var(--ink); line-height: 1; }
.acronym span { font-family: var(--head-font); font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.brand p { max-width: 620px; margin: 0 auto; }

/* ---------------- PAGE HEAD / BREADCRUMB ---------------- */
.page { padding: 26px 0 70px; min-height: 60vh; }
.crumbs { font-family: var(--head-font); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.crumbs a:hover { color: var(--ink); }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.page-head h1 { font-size: clamp(1.6rem, 3vw, 2.3rem); text-transform: uppercase; letter-spacing: .02em; }
.page-head .count { color: var(--muted); font-size: .85rem; }
.select { appearance: none; border: 1px solid var(--line); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23111'/%3E%3C/svg%3E") no-repeat right 12px center; padding: 10px 34px 10px 12px; font: inherit; font-size: .85rem; color: var(--ink); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.chip { padding: 8px 14px; border: 1px solid var(--line); background: #fff; font-family: var(--head-font); font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------------- PRODUCT PAGE ---------------- */
.pdp { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: start; }
.pdp-gallery { position: sticky; top: calc(var(--header-h) + 20px); }
.pdp-main { aspect-ratio: 1 / 1; background: var(--tile); display: grid; place-items: center; perspective: 1000px; overflow: hidden; }
.pdp-main svg { width: 76%; height: 76%; transition: transform .5s var(--ease); }
.pdp-main svg.swap { animation: turn .5s var(--ease); }
@keyframes turn { 50% { transform: rotateY(90deg); } }
.pdp-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.pdp-thumbs button { aspect-ratio: 1 / 1; background: var(--tile); display: grid; place-items: center; border: 1px solid transparent; }
.pdp-thumbs button.active { border-color: var(--ink); }
.pdp-thumbs svg { width: 80%; height: 80%; }
.pdp-panel { background: var(--white); padding: clamp(22px, 3vw, 36px); border: 1px solid var(--line); }
.pdp-panel h1 { font-family: var(--body-font); font-weight: 500; font-size: clamp(1.6rem, 2.6vw, 2.1rem); color: var(--ink); text-transform: none; margin-bottom: 6px; }
.pdp-price { font-family: var(--head-font); font-weight: 700; font-size: 1.15rem; color: var(--ink); margin-bottom: 22px; }
.opt { padding: 18px 0; border-top: 1px solid var(--line); }
.opt-label { font-family: var(--head-font); font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.opt-label b { color: var(--ink); }
.opt-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.opt-grid.sizes { grid-template-columns: repeat(5, 1fr); }
.opt-btn { border: 1px solid #d6d6d6; background: #fff; padding: 11px 6px; font-family: var(--head-font); font-size: .74rem; font-weight: 600; letter-spacing: .06em; color: var(--ink); display: flex; align-items: center; justify-content: center; gap: 8px; transition: border-color .2s; }
.opt-btn:hover { border-color: var(--ink); }
.opt-btn.active { border: 1.5px solid var(--ink); }
.opt-btn i { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,.2); flex-shrink: 0; }
.opt-btn:disabled { color: #b5b5b5; text-decoration: line-through; cursor: not-allowed; background: #fafafa; }
.opt-grid.shake { animation: shake .4s; }
@keyframes shake { 25%, 75% { transform: translateX(-5px); } 50% { transform: translateX(5px); } }
.stock-note { font-size: .8rem; color: var(--muted); margin-top: 10px; min-height: 1.2em; }
.buy-row { display: grid; grid-template-columns: auto 1fr; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.qty { display: inline-flex; align-items: center; border: 1px solid #d6d6d6; background: #fff; }
.qty button { width: 40px; height: 46px; font-size: 1.1rem; }
.qty span { min-width: 26px; text-align: center; font-family: var(--head-font); font-weight: 600; }
.pdp-desc { margin-top: 22px; }
.pdp-info { list-style: none; padding: 0; margin: 18px 0 0; border-top: 1px solid var(--line); }
.pdp-info li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .88rem; display: flex; gap: 10px; }
.pdp-info svg { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: var(--ink); stroke-width: 1.6; margin-top: 2px; }
.related { margin-top: 60px; }

/* ---------------- DRAWERS ---------------- */
.overlay { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,.4); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.overlay.show { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; bottom: 0; z-index: 100; width: min(420px, 100%); background: var(--white); display: flex; flex-direction: column; transition: transform .45s var(--ease); }
.drawer-right { right: 0; transform: translateX(105%); }
.drawer-left { left: 0; transform: translateX(-105%); width: min(340px, 88%); }
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; }
.drawer-logo { height: 20px; filter: invert(1) brightness(.1); }
.mobile-nav a { display: block; padding: 16px 22px; border-bottom: 1px solid var(--line); font-family: var(--head-font); font-weight: 600; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.cart-items { flex: 1; overflow-y: auto; padding: 4px 20px; }
.cart-empty { text-align: center; padding: 70px 10px; color: var(--muted); }
.cart-empty b { display: block; color: var(--ink); font-family: var(--head-font); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }
.cart-item { display: grid; grid-template-columns: 78px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-thumb { width: 78px; height: 78px; background: var(--tile); display: grid; place-items: center; }
.cart-thumb svg { width: 86%; height: 86%; }
.cart-item h5 { margin: 0; font-family: var(--head-font); font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.cart-item .meta { font-size: .78rem; color: var(--muted); margin: 2px 0 8px; }
.cart-item .qty button { width: 30px; height: 30px; }
.cart-item .right { text-align: right; font-family: var(--head-font); font-weight: 700; font-size: .8rem; color: var(--ink); }
.remove { display: block; margin-top: 10px; margin-left: auto; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); text-decoration: underline; }
.cart-foot { padding: 18px 20px 22px; border-top: 1px solid var(--line); }
.cart-foot .row { display: flex; justify-content: space-between; font-family: var(--head-font); color: var(--ink); }
.cart-foot .muted { margin: 4px 0 14px; }

/* ---------------- SEARCH ---------------- */
.search { position: fixed; inset: 0 0 auto 0; z-index: 110; background: var(--white); border-bottom: 1px solid var(--line); transform: translateY(-105%); transition: transform .4s var(--ease); max-height: 80vh; overflow-y: auto; }
.search.open { transform: none; }
.search-box { display: flex; align-items: center; gap: 12px; padding: 14px clamp(16px, 3vw, 40px); border-bottom: 1px solid var(--line); }
.search-box > svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.6; }
.search-box input { flex: 1; border: 0; font: inherit; font-size: 1.05rem; padding: 10px 0; background: transparent; color: var(--ink); outline: none; }
.search-results { padding: 18px clamp(16px, 3vw, 40px) 26px; }
.search-results .grid { grid-template-columns: repeat(5, 1fr); gap: 14px; }

/* ---------------- CHECKOUT ---------------- */
.checkout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: start; }
.panel { background: var(--white); border: 1px solid var(--line); padding: clamp(20px, 3vw, 32px); }
.panel h2 { font-size: .9rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; font-family: var(--head-font); font-size: .66rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea { font: inherit; font-family: var(--body-font); font-size: .95rem; letter-spacing: 0; text-transform: none; color: var(--ink); border: 1px solid #d6d6d6; background: #fff; padding: 12px 13px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field input.invalid { border-color: var(--danger); }
.pay-box { margin-top: 20px; border: 1.5px solid var(--ink); padding: 14px 16px; display: flex; gap: 12px; align-items: center; }
.pay-dot { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; flex-shrink: 0; }
.pay-dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.pay-box small { display: block; color: var(--muted); }
.form-error { color: var(--danger); font-size: .88rem; min-height: 1.3em; margin: 14px 0 8px; }
.sum-item { display: grid; grid-template-columns: 58px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.sum-item .cart-thumb { width: 58px; height: 58px; position: relative; }
.sum-item .q { position: absolute; top: -7px; right: -7px; background: var(--silver-dark); color: #fff; border-radius: 99px; min-width: 20px; height: 20px; font-size: .7rem; display: grid; place-items: center; font-family: var(--head-font); }
.sum-item h5 { margin: 0; font-family: var(--head-font); font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; color: var(--ink); }
.sum-item .meta { font-size: .78rem; color: var(--muted); }
.sum-total { display: flex; justify-content: space-between; padding-top: 14px; font-family: var(--head-font); font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.thanks { text-align: center; max-width: 560px; margin: 40px auto; }
.thanks .mark { width: 70px; height: 70px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 1.8rem; margin: 0 auto 20px; animation: pop .6s var(--ease); }
@keyframes pop { from { transform: scale(0) rotate(-90deg); } }
.thanks h1 { text-transform: uppercase; font-size: 1.6rem; margin-bottom: 10px; }
.thanks .order-no { font-family: var(--head-font); font-weight: 700; color: var(--ink); }

/* ---------------- CONTACT ---------------- */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.contact-card { background: var(--white); border: 1px solid var(--line); padding: 26px 22px; transition: border-color .25s, transform .3s var(--ease); }
.contact-card:hover { border-color: var(--ink); transform: translateY(-3px); }
.contact-card svg { width: 26px; height: 26px; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.contact-card .l { font-family: var(--head-font); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.contact-card .v { font-family: var(--head-font); font-weight: 700; color: var(--ink); word-break: break-word; }

/* ---------------- FOOTER ---------------- */
.footer { background: var(--white); border-top: 1px solid var(--line); padding: 56px clamp(16px, 3vw, 40px) 24px; }
.footer-cols { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.footer-brand img { height: 30px; width: auto; filter: invert(1) brightness(.1); margin-bottom: 14px; }
.footer-brand p { max-width: 260px; margin: 0; }
.footer h4 { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 14px; }
.footer a, .footer span { display: block; font-size: .88rem; margin-bottom: 8px; color: var(--text); }
.footer a:hover { color: var(--ink); }
.footer .social { display: flex; align-items: center; gap: 8px; }
.footer .social svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.copyright { max-width: var(--max); margin: 40px auto 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: .78rem; color: var(--muted); text-align: center; letter-spacing: .08em; }

/* ---------------- TOAST / REVEAL / ERROR ---------------- */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 150; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; background: var(--ink); color: #fff; padding: 12px 20px; font-family: var(--head-font); font-size: .78rem; letter-spacing: .05em; transition: transform .4s var(--ease), opacity .4s; max-width: 92vw; text-align: center; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.load-error { text-align: center; padding: 60px 20px; }
.load-error p { margin-bottom: 16px; }

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 1024px) {
  .nav { display: none; }
  .menu-toggle { display: inline-grid; }
  .pdp, .checkout { grid-template-columns: 1fr; }
  .pdp-gallery { position: static; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .search-results .grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 680px) {
  :root { --header-h: 60px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 18px 10px; }
  .hide-sm { display: none; }
  .logo img { height: 21px; }
  .acronym { grid-template-columns: repeat(2, 1fr); }
  .acronym div:nth-child(2) { border-right: 0; }
  .acronym div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .form-grid { grid-template-columns: 1fr; }
  .contact-grid, .footer-cols { grid-template-columns: 1fr; }
  .search-results .grid { grid-template-columns: repeat(2, 1fr); }
  .announce-track span:last-child, .announce-track i:last-of-type { display: none; }
  .opt-grid.sizes { grid-template-columns: repeat(5, 1fr); gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
.btn.disabled { opacity: .45; pointer-events: none; }

/* category banner tile on the home page */
.cat-banner { position: relative; aspect-ratio: 1 / 1; background: radial-gradient(ellipse at 50% 35%, #2c2c2e 0%, #121212 75%); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; overflow: hidden; }
.cat-banner .cb-art { position: absolute; top: 6%; left: 50%; width: 62%; height: 62%; transform: translateX(-50%); opacity: .9; transition: transform .6s var(--ease); }
.cat-banner:hover .cb-art { transform: translateX(-50%) scale(1.06) rotate(-3deg); }
.cb-count { position: relative; font-family: var(--head-font); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: #a9a9a9; }
.cb-title { position: relative; font-family: var(--head-font); font-weight: 800; font-size: clamp(1.4rem, 2.6vw, 2.2rem); text-transform: uppercase; line-height: 1.05; }
.cb-link { position: relative; margin-top: 8px; font-family: var(--head-font); font-weight: 700; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 680px) { .grid > .cat-banner { grid-column: 1 / -1; aspect-ratio: 2 / 1; } .cat-banner .cb-art { left: auto; right: 4%; width: 46%; height: 86%; top: 7%; transform: none; } .cat-banner:hover .cb-art { transform: scale(1.04); } }
@media (max-width: 680px) {
  .announce-track { letter-spacing: .08em; font-size: .62rem; gap: 8px; }
}
