/* A10 Sportswear, shared stylesheet */

:root {
  --bg: #ffffff;
  --bg-alt: #fafafa;
  --bg-dark: #0a0a0a;
  --surface: #ffffff;
  --border: #ececec;
  --border-strong: #d4d4d4;
  --text: #0a0a0a;
  --text-muted: #6b7280;
  --text-soft: #9ca3af;
  --brand: #0a0a0a;
  --accent: #ff5a1f;
  --accent-soft: #fff1ea;
  --success: #16a34a;
  --danger: #dc2626;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(10, 10, 10, 0.04), 0 1px 1px rgba(10, 10, 10, 0.03);
  --shadow: 0 8px 24px rgba(10, 10, 10, 0.06);
  --shadow-lg: 0 24px 60px rgba(10, 10, 10, 0.12);
  --max: 1280px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 180ms var(--ease);
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input, select, textarea {
  font: inherit;
  color: inherit;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
}

/* ───── Typography ───── */
h1, h2, h3, h4 {
  margin: 0 0 0.4em;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.5rem, 5.6vw, 4.5rem); letter-spacing: -0.04em; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; letter-spacing: -0.01em; }

p { margin: 0 0 1em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
}

/* ───── Top bar / announcement ───── */
.announce {
  background: var(--bg-dark);
  color: #fafafa;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.announce-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
}

.announce-track {
  display: flex;
  gap: 36px;
  overflow: hidden;
  flex: 1;
  justify-content: center;
}

.announce-track span {
  white-space: nowrap;
  color: #d4d4d4;
}

.announce-actions {
  display: flex;
  gap: 16px;
  font-size: 12px;
}

.announce-actions a { color: #a3a3a3; }
.announce-actions a:hover { color: #fafafa; }

@media (max-width: 720px) {
  .announce-actions { display: none; }
}

/* ───── Header / Nav ───── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
}

/* Logo image */
.brand-logo {
  height: 34px;
  width: auto;
  display: block;
}

.footer-brand .brand-logo {
  height: 30px;
  filter: invert(1);
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--bg-dark);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: -0.04em;
  position: relative;
  overflow: hidden;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: auto -30% -30% auto;
  width: 60%;
  height: 60%;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.9;
}

.brand-text { line-height: 1; }
.brand-text small {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.32em;
  color: var(--text-muted);
  margin-top: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--text);
  position: relative;
  transition: background 160ms var(--ease), color 160ms var(--ease);
}

.icon-btn:hover { background: var(--bg-alt); }

.icon-btn svg { width: 20px; height: 20px; stroke-width: 1.6; }

.cart-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
}

@media (max-width: 980px) {
  body.menu-open { overflow: hidden; }

  /* ── Full-screen bold animated B&W menu ── */
  .nav-links {
    counter-reset: menu;
    position: fixed;
    inset: 0;
    z-index: 40;
    background: #0a0a0a;
    color: #fff;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    padding: 92px 24px 40px;
    border: none;
    transform: none;
    opacity: 0;
    pointer-events: none;
    clip-path: inset(0 0 100% 0);
    transition: clip-path 520ms var(--ease), opacity 260ms var(--ease);
    overflow: hidden;
  }
  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    clip-path: inset(0 0 0 0);
  }

  /* giant sporty watermark */
  .nav-links::after {
    content: "A10";
    position: absolute;
    right: -7vw;
    bottom: -7vh;
    font-size: 52vw;
    font-weight: 900;
    line-height: 0.78;
    letter-spacing: -0.06em;
    color: #fff;
    opacity: 0.05;
    pointer-events: none;
    z-index: 0;
  }

  .nav-links li {
    position: relative;
    z-index: 1;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    overflow: hidden;
  }
  .nav-links li:first-child { border-top: 1px solid rgba(255,255,255,0.12); }

  .nav-links li a {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 16px 14px;
    font-size: clamp(1.7rem, 9.5vw, 3rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.035em;
    text-transform: uppercase;
    color: #fff;
    transform: translateX(-26px);
    opacity: 0;
    transition: transform 480ms var(--ease), opacity 480ms var(--ease),
                color 200ms var(--ease), background 200ms var(--ease),
                padding-left 200ms var(--ease);
  }
  .nav-links li a::before {
    content: counter(menu, decimal-leading-zero);
    counter-increment: menu;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.4);
    transition: color 200ms var(--ease);
  }
  .nav-links li a::after {
    content: "\2197";
    margin-left: auto;
    font-size: 20px;
    font-weight: 700;
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 220ms var(--ease), transform 300ms var(--ease);
  }
  .nav-links li a.active::after { content: ""; }

  /* staggered reveal */
  .nav-links.open li a { transform: translateX(0); opacity: 1; }
  .nav-links.open li:nth-child(1) a { transition-delay: 130ms; }
  .nav-links.open li:nth-child(2) a { transition-delay: 190ms; }
  .nav-links.open li:nth-child(3) a { transition-delay: 250ms; }
  .nav-links.open li:nth-child(4) a { transition-delay: 310ms; }
  .nav-links.open li:nth-child(5) a { transition-delay: 370ms; }
  .nav-links.open li:nth-child(6) a { transition-delay: 430ms; }

  /* interactive invert (black on white) */
  .nav-links li a:hover,
  .nav-links li a:active,
  .nav-links li a.active {
    color: #0a0a0a;
    background: #fff;
    padding-left: 22px;
  }
  .nav-links li a:hover::before,
  .nav-links li a:active::before,
  .nav-links li a.active::before { color: #0a0a0a; }
  .nav-links li a:hover::after,
  .nav-links li a:active::after { opacity: 1; transform: translateX(0); }

  /* animated hamburger -> X */
  .nav-toggle { display: grid; place-items: center; z-index: 60; color: var(--text); }
  .nav-toggle svg { width: 26px; height: 26px; overflow: visible; }
  .nav-toggle svg line {
    transform-box: view-box;
    transform-origin: 12px 12px;
    transition: transform 340ms var(--ease), opacity 200ms var(--ease);
  }
  body.menu-open .nav-toggle svg line:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  body.menu-open .nav-toggle svg line:nth-child(2) { opacity: 0; }
  body.menu-open .nav-toggle svg line:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  /* keep logo + controls above the overlay, invert to white while open */
  .site-header { transition: background 260ms var(--ease), border-color 260ms var(--ease); }
  .brand, .nav-actions { position: relative; z-index: 60; }
  body.menu-open .site-header {
    background: transparent;
    border-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  body.menu-open .brand-logo { filter: invert(1); }
  body.menu-open .icon-btn,
  body.menu-open .nav-toggle { color: #fff; }
  body.menu-open .icon-btn:hover { background: rgba(255,255,255,0.12); }
}

/* ───── Buttons ───── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: transform 160ms var(--ease), background 160ms var(--ease), color 160ms var(--ease), box-shadow 160ms var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--text);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,0.2) inset, 0 6px 16px rgba(10,10,10,0.18);
}
.btn-primary:hover { background: #1f1f1f; transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }

.btn-accent {
  background: var(--accent);
  color: #fff;
}
.btn-accent:hover { background: #ff4a0a; transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover { background: var(--bg-alt); }

.btn-lg { padding: 18px 30px; font-size: 15.5px; }
.btn-sm { padding: 10px 16px; font-size: 13px; }
.btn-block { width: 100%; }

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ───── Hero ───── */
.hero {
  position: relative;
  padding: 56px 0 96px;
  overflow: hidden;
  background: linear-gradient(180deg, #fafafa 0%, #ffffff 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-eyebrow {
  margin-bottom: 22px;
}

.hero h1 span.accent {
  position: relative;
  display: inline-block;
}
.hero h1 span.accent::after {
  content: "";
  position: absolute;
  left: -2px; right: -2px; bottom: 0.12em;
  height: 0.36em;
  background: var(--accent);
  opacity: 0.18;
  z-index: -1;
  border-radius: 4px;
}

.hero-lede {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 520px;
}

.hero-stat strong {
  display: block;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.hero-stat span {
  display: block;
  font-size: 12.5px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 6px;
}

.hero-media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-alt);
  box-shadow: var(--shadow-lg);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10,10,10,0.45));
}

.hero-floating {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 12px 32px rgba(10,10,10,0.16);
}

.hero-floating .thumb {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--bg-alt);
  overflow: hidden;
  flex-shrink: 0;
}

.hero-floating .thumb img { width: 100%; height: 100%; object-fit: cover; }

.hero-floating .meta strong { display: block; font-size: 14px; }
.hero-floating .meta span { font-size: 12.5px; color: var(--text-muted); }
.hero-floating .price { margin-left: auto; font-weight: 700; }

.hero-marquee {
  position: absolute;
  top: 36px;
  right: -10px;
  transform: rotate(90deg);
  transform-origin: right center;
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--text-soft);
  display: flex;
  gap: 12px;
  align-items: center;
}

.hero-marquee::before,
.hero-marquee::after {
  content: "";
  width: 40px;
  height: 1px;
  background: currentColor;
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-media { aspect-ratio: 5 / 4; order: -1; }
  .hero-marquee { display: none; }
}

/* ───── Section helpers ───── */
section { padding: 88px 0; }
section.tight { padding: 56px 0; }

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--text-muted); max-width: 460px; }

.section-head .link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--text);
  padding-bottom: 2px;
}

.link-arrow svg {
  width: 14px;
  height: 14px;
  transition: transform 180ms var(--ease);
}
.link-arrow:hover svg { transform: translateX(3px); }

/* ───── Marquee / category strip ───── */
.strip {
  background: var(--bg-dark);
  color: #fafafa;
  padding: 18px 0;
  overflow: hidden;
}

.strip-track {
  display: flex;
  gap: 56px;
  white-space: nowrap;
  animation: scroll-left 38s linear infinite;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.strip-track span { display: inline-flex; align-items: center; gap: 56px; }
.strip-track .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); display: inline-block;
}

@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ───── Categories grid ───── */
.cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.cat {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-alt);
  isolation: isolate;
}

.cat img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}

.cat:hover img { transform: scale(1.05); }

.cat::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(10,10,10,0.65));
}

.cat-label {
  position: absolute;
  bottom: 22px;
  left: 22px;
  right: 22px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: end;
  z-index: 1;
}

.cat-label strong {
  display: block;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.cat-label span {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.85;
}

.cat-label svg {
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  padding: 8px;
  transition: transform 220ms var(--ease);
}

.cat:hover .cat-label svg { transform: rotate(-45deg); }

@media (max-width: 980px) { .cats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cats { grid-template-columns: 1fr; } }

/* ───── Product cards ───── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  position: relative;
  background: transparent;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.product-media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-alt);
  margin-bottom: 14px;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease);
}

.product-card:hover .product-media img { transform: scale(1.04); }

.product-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(8px);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-tag.sale { background: var(--accent); color: #fff; }
.product-tag.new { background: var(--text); color: #fff; }

.product-quick {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  gap: 8px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 220ms var(--ease), transform 220ms var(--ease);
}

.product-card:hover .product-quick { opacity: 1; transform: translateY(0); }

.product-quick .btn { flex: 1; padding: 10px 14px; font-size: 12.5px; }

.product-wishlist {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.94);
  display: grid;
  place-items: center;
  transition: transform 180ms var(--ease);
}

.product-wishlist:hover { transform: scale(1.06); }
.product-wishlist svg { width: 18px; height: 18px; }
.product-wishlist.active svg { fill: var(--accent); stroke: var(--accent); }

.product-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.product-info .cat {
  font-size: 11.5px;
  color: var(--text-muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  background: transparent;
  aspect-ratio: auto;
  border-radius: 0;
  display: block;
  position: static;
  overflow: visible;
}

.product-info .cat::after { display: none; }
.product-info .cat img { display: none; }
.product-info .cat-label { display: none; }

.product-info h4 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.005em;
}

.product-prices {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 4px;
}

.product-prices strong {
  font-size: 16px;
  font-weight: 700;
}

.product-prices del {
  color: var(--text-muted);
  font-size: 13.5px;
}

.product-colors {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.product-colors span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: inline-block;
}

@media (max-width: 980px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .product-quick { opacity: 1; transform: translateY(0); }
}

/* ───── Filter bar ───── */
.filters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
  padding: 14px 18px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chip {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  transition: background 160ms var(--ease), color 160ms var(--ease);
}

.chip:hover { color: var(--text); }
.chip.active { background: var(--text); color: #fff; }

.filter-sort select {
  background: transparent;
  border: none;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  padding: 8px 12px;
  cursor: pointer;
}

/* ───── Editorial / feature split ───── */
.editorial {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.editorial-media {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
}

.editorial-media img { width: 100%; height: 100%; object-fit: cover; }

.editorial h2 { font-size: clamp(1.85rem, 3vw, 2.6rem); }
.editorial p { color: var(--text-muted); margin-bottom: 24px; }

.editorial-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 32px 0;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.editorial-stats div strong { display: block; font-size: 28px; letter-spacing: -0.03em; }
.editorial-stats div span { font-size: 12.5px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }

@media (max-width: 980px) {
  .editorial { padding: 36px; grid-template-columns: 1fr; gap: 36px; }
}

/* ───── Lookbook / two-up ───── */
.lookbook {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
}

.lookbook > .lb {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--bg-alt);
}

.lookbook .lb-tall { aspect-ratio: 4 / 5; }
.lookbook > .lb:first-child { aspect-ratio: 4 / 6; }

.lookbook img { width: 100%; height: 100%; object-fit: cover; }

.lookbook .lb-caption {
  position: absolute;
  bottom: 24px;
  left: 24px;
  color: #fff;
  z-index: 1;
}
.lookbook .lb-caption strong { display: block; font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
.lookbook .lb-caption span { font-size: 12.5px; opacity: 0.85; letter-spacing: 0.18em; text-transform: uppercase; }

.lookbook .lb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(10,10,10,0.6));
}

@media (max-width: 980px) {
  .lookbook { grid-template-columns: 1fr; }
}

/* ───── Testimonials ───── */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testimonial {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.testimonial p { color: var(--text); font-size: 16px; line-height: 1.55; margin: 0; }

.testimonial .quote-mark {
  font-size: 40px;
  line-height: 0.6;
  font-weight: 800;
  color: var(--accent);
  height: 20px;
}

.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-author .avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--text);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 14px;
  overflow: hidden;
}
.testimonial-author .avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-author strong { display: block; font-size: 14.5px; }
.testimonial-author span { display: block; font-size: 12.5px; color: var(--text-muted); }

@media (max-width: 980px) {
  .testimonials { grid-template-columns: 1fr; }
}

/* ───── FAQ ───── */
.faq {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.faq-list { display: flex; flex-direction: column; }

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 16.5px;
  padding: 4px 0;
  transition: color 160ms var(--ease);
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }

.faq-item summary::after {
  content: "+";
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
  transition: transform 220ms var(--ease);
  color: var(--text-muted);
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p { color: var(--text-muted); margin: 14px 0 0; font-size: 15px; }

@media (max-width: 980px) {
  .faq { grid-template-columns: 1fr; gap: 24px; }
}

/* ───── Newsletter ───── */
.newsletter {
  background: var(--bg-dark);
  color: #fafafa;
  border-radius: var(--radius-lg);
  padding: 72px;
  text-align: center;
}

.newsletter h2 { color: #fff; max-width: 580px; margin: 0 auto 14px; }
.newsletter p { color: #a3a3a3; max-width: 480px; margin: 0 auto 32px; }

.newsletter-form {
  display: flex;
  gap: 8px;
  max-width: 480px;
  margin: 0 auto;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 999px;
  padding: 6px;
}

.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 12px 18px;
  color: #fafafa;
  outline: none;
}

.newsletter-form input::placeholder { color: #6b7280; }

.newsletter-note { font-size: 12px; color: #6b7280; margin-top: 18px; }

@media (max-width: 720px) {
  .newsletter { padding: 48px 28px; }
  .newsletter-form { flex-direction: column; padding: 12px; border-radius: var(--radius); }
  .newsletter-form .btn { width: 100%; }
}

/* ───── Footer ───── */
.site-footer {
  background: var(--bg-dark);
  color: #d4d4d4;
  padding: 72px 0 36px;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand p {
  color: #9ca3af;
  font-size: 14.5px;
  max-width: 320px;
  margin: 18px 0;
}

.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid #2a2a2a;
  display: grid;
  place-items: center;
  transition: background 160ms var(--ease), color 160ms var(--ease), border-color 160ms var(--ease);
}
.footer-social a:hover { background: #fff; color: var(--bg-dark); border-color: #fff; }
.footer-social svg { width: 16px; height: 16px; }

.footer-col h5 {
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fafafa;
  margin: 0 0 18px;
  font-weight: 600;
}

.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14.5px; color: #9ca3af; transition: color 160ms var(--ease); }
.footer-col a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid #1f1f1f;
  font-size: 13px;
  color: #6b7280;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-payments { display: flex; gap: 8px; }
.footer-payments span {
  display: inline-block;
  padding: 5px 10px;
  border: 1px solid #2a2a2a;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #d4d4d4;
}

@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ───── Page intro (inner pages) ───── */
.page-intro {
  padding: 64px 0 32px;
  text-align: center;
}

.page-intro .eyebrow { justify-content: center; }
.page-intro h1 { font-size: clamp(2.25rem, 4.5vw, 3.5rem); margin: 12px 0; }
.page-intro p { color: var(--text-muted); max-width: 580px; margin: 0 auto; }

.breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 28px;
  justify-content: center;
}
.breadcrumb a:hover { color: var(--text); }
.breadcrumb span { color: var(--border-strong); }

/* ───── Product detail ───── */
.product-detail {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  padding: 32px 0 96px;
}

.gallery {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
}

.thumbs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.thumb-btn {
  width: 80px;
  height: 96px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid transparent;
  background: var(--bg-alt);
  transition: border-color 160ms var(--ease);
}
.thumb-btn.active { border-color: var(--text); }
.thumb-btn img { width: 100%; height: 100%; object-fit: cover; }

.gallery-main {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-alt);
  position: relative;
}

.gallery-main img { width: 100%; height: 100%; object-fit: cover; }

.gallery-main .zoom-hint {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255,255,255,0.9);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.detail-info .cat-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 14px;
}

.detail-info h1 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin: 0 0 12px; }

.detail-price {
  margin-top: 20px;
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 24px;
}
.detail-price strong { font-size: 32px; font-weight: 700; letter-spacing: -0.02em; }
.detail-price del { color: var(--text-muted); font-size: 18px; }
.detail-price .save {
  background: var(--accent-soft);
  color: var(--accent);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.detail-desc { color: var(--text-muted); margin-bottom: 28px; }

.option-group { margin-bottom: 24px; }
.option-group > label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}
.option-group > label a { color: var(--text-muted); font-weight: 500; }

.sizes { display: flex; gap: 8px; flex-wrap: wrap; }
.size-btn {
  min-width: 56px;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: transparent;
  font-size: 13.5px;
  font-weight: 600;
  transition: all 160ms var(--ease);
}
.size-btn:hover { border-color: var(--text); }
.size-btn.active { background: var(--text); color: #fff; border-color: var(--text); }
.size-btn.disabled { opacity: 0.4; cursor: not-allowed; text-decoration: line-through; }

.colors { display: flex; gap: 10px; }
.color-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--border);
  position: relative;
  transition: transform 160ms var(--ease);
}
.color-btn.active { border-color: var(--text); transform: scale(1.05); }

.qty-cart {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  margin: 32px 0;
}

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  overflow: hidden;
}
.qty button { width: 44px; height: 48px; font-size: 16px; }
.qty button:hover { background: var(--bg-alt); }
.qty input {
  width: 48px;
  text-align: center;
  border: none;
  outline: none;
  background: transparent;
  font-weight: 600;
}

.detail-actions { display: flex; gap: 12px; margin-bottom: 28px; }
.detail-actions .btn { flex: 1; }

.detail-perks {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.perk {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.perk svg {
  width: 22px; height: 22px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.perk strong { display: block; font-weight: 600; }
.perk span { color: var(--text-muted); font-size: 12px; }

@media (max-width: 980px) {
  .product-detail { grid-template-columns: 1fr; gap: 32px; }
  .gallery { grid-template-columns: 1fr; }
  .thumbs { flex-direction: row; overflow-x: auto; }
}

/* ───── Cart drawer / page ───── */
.cart-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 48px;
  padding: 32px 0 96px;
  align-items: start;
}

.cart-items {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.cart-row {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 20px;
  padding: 20px;
  align-items: center;
  border-bottom: 1px solid var(--border);
}
.cart-row:last-child { border-bottom: none; }

.cart-row .img {
  width: 96px;
  height: 120px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-alt);
}
.cart-row .img img { width: 100%; height: 100%; object-fit: cover; }

.cart-row .meta strong { display: block; font-size: 15px; margin-bottom: 4px; }
.cart-row .meta span { font-size: 13px; color: var(--text-muted); }

.cart-row .right {
  display: flex;
  flex-direction: column;
  align-items: end;
  gap: 12px;
}

.cart-row .price { font-weight: 700; font-size: 16px; }

.cart-summary {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  background: var(--bg-alt);
  position: sticky;
  top: 100px;
}

.cart-summary h3 { margin: 0 0 20px; }

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 14.5px;
  color: var(--text-muted);
}

.summary-row.total {
  border-top: 1px solid var(--border);
  padding-top: 18px;
  margin-top: 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.summary-row strong { color: var(--text); }

.promo {
  display: flex;
  gap: 8px;
  margin: 16px 0 22px;
}
.promo input {
  flex: 1;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: #fff;
  outline: none;
}

.empty-cart {
  text-align: center;
  padding: 80px 20px;
}
.empty-cart svg { width: 64px; height: 64px; color: var(--text-muted); margin: 0 auto 16px; }
.empty-cart h3 { margin: 0 0 6px; }
.empty-cart p { color: var(--text-muted); margin: 0 0 20px; }

@media (max-width: 980px) {
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
}

/* ───── Forms (checkout, contact) ───── */
.form-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.form-card h3 { margin: 0 0 6px; }
.form-card .sub { color: var(--text-muted); font-size: 14.5px; margin-bottom: 22px; }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 13px; font-weight: 600; }
.field label span { color: var(--accent); }

.field input, .field select, .field textarea {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: #fff;
  outline: none;
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--text);
  box-shadow: 0 0 0 3px rgba(10,10,10,0.06);
}

.field textarea { resize: vertical; min-height: 120px; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 14px;
  margin-bottom: 16px;
  display: flex;
  gap: 10px;
  align-items: center;
}

@media (max-width: 720px) { .field-row { grid-template-columns: 1fr; } }

/* ───── Contact page ───── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: 32px 0 96px;
  align-items: start;
}

.contact-info { padding: 12px 0; }
.contact-info h1 { font-size: clamp(2rem, 3.5vw, 2.8rem); margin: 0 0 14px; }
.contact-info > p { color: var(--text-muted); margin-bottom: 32px; max-width: 460px; }

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.contact-card:last-child { border-bottom: none; }

.contact-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bg-alt);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.contact-card .icon svg { width: 22px; height: 22px; }
.contact-card h4 { margin: 0 0 4px; font-size: 15px; }
.contact-card p { margin: 0; color: var(--text-muted); font-size: 14px; line-height: 1.55; }
.contact-card a:hover { color: var(--accent); }

.contact-map {
  margin-top: 24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--bg-alt);
}

.contact-map img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 980px) { .contact-grid { grid-template-columns: 1fr; } }

/* ───── About values ───── */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.value {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.value .icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #fff;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.value .icon svg { width: 26px; height: 26px; }

.value h3 { font-size: 19px; margin: 0 0 8px; }
.value p { color: var(--text-muted); font-size: 14.5px; margin: 0; }

@media (max-width: 980px) { .values { grid-template-columns: 1fr; } }

/* ───── Toast ───── */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--bg-dark);
  color: #fafafa;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms var(--ease), transform 220ms var(--ease);
  z-index: 100;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast svg { width: 18px; height: 18px; color: #4ade80; }

/* ───── Drawer ───── */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms var(--ease);
  z-index: 90;
}
.drawer-overlay.open { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100%);
  background: #fff;
  z-index: 100;
  transform: translateX(100%);
  transition: transform 320ms var(--ease);
  display: flex;
  flex-direction: column;
}
.drawer.open { transform: translateX(0); }

.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 24px;
  border-bottom: 1px solid var(--border);
}
.drawer-head h3 { margin: 0; font-size: 18px; }
.drawer-head .count { font-size: 13px; color: var(--text-muted); margin-left: 6px; font-weight: 400; }

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 24px;
}

.drawer-foot {
  border-top: 1px solid var(--border);
  padding: 20px 24px;
}

.drawer-foot .totals {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 14px;
}
.drawer-foot .totals strong { font-size: 18px; }

.mini-row {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.mini-row:last-child { border-bottom: none; }
.mini-row .img {
  width: 72px; height: 88px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-alt);
}
.mini-row .img img { width: 100%; height: 100%; object-fit: cover; }
.mini-row strong { display: block; font-size: 13.5px; margin-bottom: 2px; }
.mini-row .meta { font-size: 12px; color: var(--text-muted); }
.mini-row .right { text-align: right; }
.mini-row .right strong { display: block; font-size: 13.5px; }
.mini-row .right button { font-size: 11px; color: var(--text-muted); margin-top: 4px; }
.mini-row .right button:hover { color: var(--danger); }

.drawer-empty { text-align: center; padding: 48px 24px; color: var(--text-muted); }
.drawer-empty svg { width: 48px; height: 48px; margin: 0 auto 12px; opacity: 0.5; }