/* Torbrook Hat Company */
:root {
  --ink: #12283f;          /* logo navy */
  --ink-soft: #51616f;     /* slate gray */
  --paper: #f2f4f6;        /* light silver */
  --card: #ffffff;
  --line: #dbe1e7;
  --accent: #c3242f;       /* logo red */
  --accent-ink: #9b1c25;
  --gold: #e2565f;         /* light red for dark navy sections */
  --radius: 18px;
  --shadow-sm: 0 1px 2px rgba(18, 40, 63, 0.06), 0 4px 12px rgba(18, 40, 63, 0.06);
  --shadow-lg: 0 12px 24px rgba(18, 40, 63, 0.10), 0 32px 64px rgba(18, 40, 63, 0.12);
  --font-display: 'Archivo', system-ui, sans-serif;
  --font-stitch: 'Graduate', serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-display);
  color: var(--ink);
  background-color: #edf0f3;
  background-image: radial-gradient(rgba(18, 40, 63, 0.045) 1px, transparent 1px);
  background-size: 26px 26px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
::selection { background: var(--accent); color: #fff; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-weight: 900; letter-spacing: -0.02em; line-height: 1.08; }

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  border: 2px solid var(--ink);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-solid { background: var(--ink); color: #fff; box-shadow: 0 8px 20px rgba(18, 40, 63, 0.25); }
.btn-solid:hover { background: var(--accent); border-color: var(--accent); box-shadow: 0 10px 24px rgba(195, 36, 47, 0.35); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(242, 244, 246, 0.85);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}
.site-header.scrolled { box-shadow: 0 8px 30px rgba(18, 40, 63, 0.10); }
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 74px;
}
.brand { display: flex; align-items: center; flex: none; }
.brand-lockup { height: 52px; width: auto; display: block; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.site-nav > a,
.dropdown-toggle {
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s ease, background 0.15s ease;
}
.site-nav > a:hover,
.dropdown-toggle:hover { color: var(--ink); background: #e5eaef; }
.site-nav > a.active,
.dropdown-toggle.active { color: #fff; background: var(--ink); }
.dropdown-toggle svg { width: 10px; height: 7px; transition: transform 0.2s ease; }
.dropdown.open .dropdown-toggle svg { transform: rotate(180deg); }

.dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 200px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(20, 22, 26, 0.12);
  padding: 8px;
  display: none;
  flex-direction: column;
}
.dropdown.open .dropdown-menu { display: flex; }
.dropdown-menu a {
  padding: 10px 14px;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
}
.dropdown-menu a:hover { background: var(--paper); color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.cart-btn {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  color: var(--ink);
  display: flex;
}
.cart-btn:hover { background: #e5eaef; }
.cart-btn svg { width: 22px; height: 22px; }
.cart-count {
  position: absolute;
  top: 2px;
  right: 0;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 10px;
  cursor: pointer;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ------------------------------------------------------------------ hero */
.hero {
  background:
    radial-gradient(55% 75% at 82% 28%, rgba(195, 36, 47, 0.22) 0%, transparent 100%),
    radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(135deg, #0b1a2b 0%, #16324e 78%, #1b3c5c 100%);
  background-size: auto, 26px 26px, auto;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  color: #f4f6f9;
}
.hero-copy h1 { color: #f4f6f9; }
.accent-dot { color: #e2565f; }
.hero .hero-lead { color: #b7c3d0; }
.hero .btn-solid,
.btn-red {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 10px 26px rgba(195, 36, 47, 0.4);
}
.hero .btn-solid:hover,
.btn-red:hover { background: #d63440; border-color: #d63440; }
.hero .btn-outline { border-color: rgba(255, 255, 255, 0.65); color: #fff; }
.hero .btn-outline:hover { background: #fff; color: var(--ink); border-color: #fff; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
  padding-top: 84px;
  padding-bottom: 84px;
}
.hero-copy h1 {
  font-size: clamp(52px, 7.5vw, 96px);
  text-transform: uppercase;
  letter-spacing: -0.035em;
  line-height: 0.98;
}
.hero-lead {
  margin-top: 20px;
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 46ch;
}
.hero-cta { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }

.hero-hat { position: relative; }
.hero-hat img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 50% 46%;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}
.hero-hat--stage { position: relative; }
.hero-hat--stage::before {
  content: '';
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(195, 36, 47, 0.35) 0%, transparent 68%);
  filter: blur(8px);
}
.hero-hat--stage img {
  position: relative;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.hero-hat--stage::before {
  inset: -6%;
  border-radius: 32px;
  background: radial-gradient(circle, rgba(195, 36, 47, 0.4) 0%, transparent 70%);
  filter: blur(24px);
}
.hat-stitch {
  position: absolute;
  left: 50%;
  top: 47%;
  transform: translate(-50%, -50%);
  font-family: var(--font-stitch);
  color: #f4f1ea;
  font-size: clamp(20px, 4.2cqw, 40px);
  letter-spacing: 0.06em;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.55), 0 -1px 0 rgba(255, 255, 255, 0.12);
  pointer-events: none;
  white-space: nowrap;
}
.hero-hat { container-type: inline-size; }
.hero-hat .hat-stitch { font-size: 9.5cqw; }

/* ------------------------------------------------------------ collection */
.collection { padding: 80px 0 64px; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-kicker {
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.section-head h2 { font-size: clamp(30px, 4vw, 42px); text-transform: uppercase; }
.section-head p { margin-top: 12px; color: var(--ink-soft); font-size: 16.5px; }

.hat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.hat-grid--three { grid-template-columns: repeat(2, 1fr); max-width: 780px; }
.hat-grid--solo { grid-template-columns: 1fr; max-width: 380px; }

.hat-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s cubic-bezier(0.2, 0.6, 0.2, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}
.hat-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}
.hat-card .hat-media { overflow: hidden; }
.hat-card .hat-media img { transition: transform 0.5s cubic-bezier(0.2, 0.6, 0.2, 1); }
.hat-card:hover .hat-media img { transform: scale(1.05); }
.hat-media {
  position: relative;
  container-type: inline-size;
  background: linear-gradient(180deg, #f8fafb 0%, #e8edf2 100%);
}
.hat-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 50% 46%;
  mix-blend-mode: multiply;
}
.hat-media .hat-stitch { font-size: 10cqw; }
.hat-media .hat-stitch--long { font-size: 7.4cqw; letter-spacing: 0.05em; }
.hat-info { padding: 18px 20px 22px; border-top: 1px solid var(--line); }
.hat-name { font-weight: 800; font-size: 17px; letter-spacing: -0.01em; }
.hat-meta { color: var(--ink-soft); font-size: 13.5px; margin-top: 2px; }
.hat-price { font-weight: 800; font-size: 16px; margin-top: 10px; }

.collection-more {
  margin-top: 44px;
  text-align: center;
  color: var(--ink-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* ----------------------------------------------------------------- craft */
.craft {
  background:
    url('../assets/logo-emblem.png') no-repeat right -80px center / 420px auto,
    radial-gradient(48% 90% at 92% 8%, rgba(195, 36, 47, 0.14) 0%, transparent 100%),
    linear-gradient(135deg, #0e2033 0%, #16324e 100%);
  color: #f4f6f9;
  padding: 88px 0;
  position: relative;
}
.craft::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(14, 32, 51, 0.88), rgba(22, 50, 78, 0.82));
  pointer-events: none;
}
.craft .wrap { position: relative; z-index: 1; }
.craft-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.craft-item h3 {
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--gold);
}
.craft-item p { margin-top: 10px; color: #b7c3d0; font-size: 15.5px; }

/* ----------------------------------------------------------------- lines */
.lines { padding: 72px 0 88px; }
.line-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.line-card {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: var(--radius);
  padding: 48px 40px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s cubic-bezier(0.2, 0.6, 0.2, 1), box-shadow 0.25s ease;
}
.line-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.line-name { font-size: 28px; font-weight: 900; text-transform: uppercase; letter-spacing: -0.01em; }
.line-note { margin-top: 6px; color: var(--ink-soft); font-weight: 600; font-size: 14px; }

/* ------------------------------------------------------------- page hero */
.page-hero {
  background:
    radial-gradient(48% 90% at 92% 8%, rgba(195, 36, 47, 0.14) 0%, transparent 100%),
    linear-gradient(135deg, #0e2033 0%, #16324e 100%);
  color: #f4f6f9;
  padding: 76px 0;
}
.page-hero--slim { padding: 56px 0; }
.page-hero h1 { font-size: clamp(36px, 5vw, 56px); text-transform: uppercase; }
.page-kicker {
  color: var(--gold);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.borough-shop { padding: 64px 0 88px; }

/* ----------------------------------------------------------- coming soon */
.coming-soon { padding: 96px 0 120px; }
.coming-soon-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.cs-mark { width: 96px; height: auto; }
.coming-soon h2 { font-size: clamp(30px, 4vw, 44px); text-transform: uppercase; }
.coming-soon p { color: var(--ink-soft); max-width: 44ch; }
.coming-soon .btn { margin-top: 14px; }

/* --------------------------------------------------------------- product */
.product { padding: 64px 0; }
.product-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: start;
}
.product-media { position: sticky; top: 98px; }
.hat-media--large {
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.product-line {
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.product-info h1 { font-size: clamp(34px, 4.5vw, 52px); text-transform: uppercase; margin-top: 8px; }
.product-price { font-size: 24px; font-weight: 800; margin-top: 14px; }
.product-blurb { margin-top: 16px; color: var(--ink-soft); font-size: 16.5px; }

.color-picker { margin-top: 24px; }
.picker-label { font-weight: 700; font-size: 14px; }
.picker-label span { color: var(--ink-soft); font-weight: 600; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.swatch {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--sw);
  border: 1px solid rgba(18, 40, 63, 0.25);
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.swatch:hover { transform: scale(1.12); }
.swatch.active { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--accent); }

.product-specs { margin-top: 28px; border-top: 1px solid var(--line); }
.product-specs > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.product-specs dt { font-weight: 700; }
.product-specs dd { color: var(--ink-soft); }

.product-buy {
  margin-top: 28px;
  display: flex;
  gap: 14px;
  align-items: stretch;
}
.qty {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0 8px 0 18px;
}
.qty input {
  width: 52px;
  border: none;
  background: none;
  font: inherit;
  font-weight: 700;
  text-align: center;
  padding: 12px 0;
}
.qty input:focus { outline: none; }
.btn-cart { flex: 1; max-width: 260px; }
.buy-note {
  margin-top: 14px;
  color: var(--accent);
  font-weight: 600;
  font-size: 14.5px;
}
.product-fine { margin-top: 18px; color: var(--ink-soft); font-size: 13.5px; }

.also { padding: 24px 0 88px; }
.also h2 { font-size: 26px; text-transform: uppercase; margin-bottom: 24px; }

/* ----------------------------------------------------------------- about */
.about { padding: 72px 0 96px; }
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}
.about-copy h2 { font-size: clamp(28px, 3.5vw, 38px); }
.about-copy p { margin-top: 18px; color: var(--ink-soft); font-size: 16.5px; }
.about-side { display: flex; flex-direction: column; gap: 24px; }
.about-side .hero-hat img { border: 1px solid var(--line); }
.about-facts {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 30px;
}
.about-facts h3 { font-size: 16px; text-transform: uppercase; letter-spacing: 0.06em; }
.about-facts ul { margin-top: 14px; padding-left: 18px; color: var(--ink-soft); }
.about-facts li { margin-bottom: 8px; font-size: 15px; }

/* --------------------------------------------------------------- contact */
.contact { padding: 72px 0 96px; }
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.contact-copy h2 { font-size: clamp(28px, 3.5vw, 38px); }
.contact-copy p { margin-top: 16px; color: var(--ink-soft); font-size: 16.5px; }

.contact-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  font: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  resize: vertical;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}
.form-note { color: var(--accent); font-weight: 600; font-size: 14.5px; }

/* -------------------------------------------------------------- cta band */
.cta-band {
  background:
    radial-gradient(55% 90% at 15% 20%, rgba(195, 36, 47, 0.2) 0%, transparent 100%),
    linear-gradient(135deg, #0b1a2b 0%, #16324e 100%);
  color: #f4f6f9;
  padding: 84px 0;
}
.cta-inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.cta-inner h2 { font-size: clamp(34px, 5vw, 56px); text-transform: uppercase; }
.cta-inner p { color: #b7c3d0; font-size: 17px; }
.cta-inner .btn { margin-top: 12px; }

/* ---------------------------------------------------------------- footer */
.site-footer {
  background: var(--ink);
  color: #b7c3d0;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1.4fr;
  gap: 40px;
  padding-top: 64px;
  padding-bottom: 48px;
}
.footer-emblem { width: 72px; height: auto; }
.footer-name { color: #f4f6f9; font-weight: 900; font-size: 18px; margin-top: 12px; }
.footer-tag { font-size: 14px; margin-top: 6px; }
.footer-head {
  color: #f4f6f9;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.site-footer a {
  display: block;
  padding: 5px 0;
  font-size: 15px;
  color: #b7c3d0;
  transition: color 0.15s ease;
}
.site-footer a:hover { color: #fff; }
.footer-note { font-size: 14px; line-height: 1.7; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 22px;
  padding-bottom: 26px;
  font-size: 13.5px;
}

/* ------------------------------------------------------------ responsive */
@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 44px; padding-bottom: 44px; }
  .hero-media { max-width: 460px; }
  .hat-grid { grid-template-columns: repeat(2, 1fr); }
  .craft-grid { grid-template-columns: 1fr; gap: 28px; }
  .product-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .site-nav {
    position: fixed;
    inset: 74px 0 auto 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 24px;
    gap: 2px;
    display: none;
    max-height: calc(100vh - 74px);
    overflow-y: auto;
    box-shadow: 0 24px 40px rgba(20, 22, 26, 0.14);
  }
  .site-nav.open { display: flex; }
  .site-nav > a, .dropdown-toggle { width: 100%; justify-content: space-between; font-size: 17px; padding: 13px 14px; }
  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    background: none;
    padding: 0 0 6px 16px;
  }
  .dropdown-menu a { font-size: 16px; }
  .nav-toggle { display: flex; }
  .hat-grid, .hat-grid--three { grid-template-columns: 1fr; }
  .line-grid { grid-template-columns: 1fr; }
  .product-buy { flex-wrap: wrap; }
  .btn-cart { max-width: none; width: 100%; }
}

/* ------------------------------------------------------------ reveal */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1);
  }
  .reveal.in { opacity: 1; transform: none; }
}

/* ------------------------------------------------------- mobile polish */
@media (max-width: 760px) {
  .wrap { padding: 0 20px; }

  .hero-inner { padding-top: 40px; padding-bottom: 48px; gap: 32px; }
  .hero-copy h1 { font-size: clamp(42px, 12vw, 52px); }
  .hero-lead { font-size: 16.5px; margin-top: 16px; }
  .hero-cta { margin-top: 24px; }
  .hero-cta .btn { width: 100%; text-align: center; }

  .collection { padding: 52px 0 44px; }
  .section-head { margin-bottom: 28px; }
  .craft { padding: 56px 0; }
  .lines { padding: 52px 0 64px; }
  .line-card { padding: 32px 26px; }
  .page-hero { padding: 48px 0; }
  .page-hero--slim { padding: 40px 0; }
  .coming-soon { padding: 64px 0 80px; }
  .borough-shop { padding: 44px 0 64px; }

  .product { padding: 32px 0; }
  .product-grid { gap: 28px; }
  .product-media { position: static; }
  .product-info h1 { font-size: clamp(30px, 9vw, 40px); }
  .also { padding: 8px 0 64px; }

  .about, .contact { padding: 48px 0 64px; }
  .contact-form { padding: 26px 20px; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding-top: 44px; padding-bottom: 32px; }
  .brand-lockup { height: 44px; }
}

/* ------------------------------------------------------------------ cart */
.cart-section { padding: 56px 0 96px; }
.cart-list { max-width: 760px; }
.cart-row {
  display: grid;
  grid-template-columns: 88px 1fr auto auto;
  gap: 18px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}
.cart-row img { width: 88px; height: 88px; object-fit: cover; border-radius: 10px; }
.cart-row-title { font-weight: 800; font-size: 15.5px; }
.cart-row-meta { color: var(--ink-soft); font-size: 13.5px; }
.cart-remove {
  background: none; border: none; color: var(--accent);
  font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; padding: 0; margin-top: 6px;
}
.cart-row-qty { display: flex; align-items: center; gap: 10px; }
.cart-row-qty button {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1.5px solid var(--line); background: var(--card);
  font-size: 15px; font-weight: 700; cursor: pointer; color: var(--ink);
}
.cart-row-qty button:hover { border-color: var(--ink); }
.cart-row-price { font-weight: 800; }
.cart-summary {
  max-width: 760px; margin-top: 24px;
  display: flex; flex-direction: column; align-items: flex-end; gap: 8px;
}
.cart-subtotal { font-weight: 800; font-size: 20px; }
.cart-subtotal span { margin-left: 12px; }
.cart-fine { color: var(--ink-soft); font-size: 13.5px; }
.cart-summary .btn { margin-top: 8px; min-width: 220px; text-align: center; }
@media (max-width: 600px) {
  .cart-row { grid-template-columns: 64px 1fr; grid-template-rows: auto auto; }
  .cart-row img { width: 64px; height: 64px; }
  .cart-row-qty { grid-column: 1 / 2; justify-self: start; }
  .cart-row-price { grid-column: 2 / 3; justify-self: end; margin-top: -28px; }
  .cart-summary { align-items: stretch; text-align: right; }
}

/* -------------------------------------------------------------- lightbox */
.hat-media.zoomable img { cursor: zoom-in; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 16, 26, 0.92);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vh 4vw;
  animation: lightboxIn 0.2s ease;
}
@keyframes lightboxIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 14px;
  cursor: zoom-in;
  transition: transform 0.3s cubic-bezier(0.2, 0.6, 0.2, 1);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.lightbox img.zoomed {
  transform: scale(2.4);
  cursor: zoom-out;
}
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  z-index: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease;
}
.lightbox-close:hover { background: var(--accent); }
