/* ==========================================================================
   She's a Screamer — design tokens + styles
   ========================================================================== */

:root {
  /* Type scale — fluid clamp() */
  --text-xs: clamp(0.75rem, 0.72rem + 0.1vw, 0.8rem);
  --text-sm: clamp(0.875rem, 0.84rem + 0.15vw, 0.95rem);
  --text-base: clamp(1rem, 0.96rem + 0.2vw, 1.05rem);
  --text-lg: clamp(1.125rem, 1.05rem + 0.35vw, 1.3rem);
  --text-xl: clamp(1.375rem, 1.25rem + 0.6vw, 1.7rem);
  --text-2xl: clamp(1.75rem, 1.5rem + 1.1vw, 2.4rem);
  --text-3xl: clamp(2.25rem, 1.8rem + 2vw, 3.4rem);
  --text-hero: clamp(2.75rem, 2rem + 3.6vw, 5.2rem);

  /* Spacing — 4px base */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --container-w: 1200px;
  --transition-interactive: 180ms ease;

  --font-display: 'Anton', 'Arial Narrow', sans-serif;
  --font-body: 'Switzer', 'Inter', -apple-system, sans-serif;

  --shadow-sm: 0 1px 2px rgba(10, 20, 20, 0.08);
  --shadow-md: 0 8px 24px rgba(10, 20, 20, 0.14);
  --shadow-lg: 0 20px 50px rgba(10, 20, 20, 0.22);
}

/* ---- Theme ---- */
:root {
  --color-bg: #f4ecdc;
  --color-surface: #fffdf8;
  --color-surface-2: #efe3c8;
  --color-surface-offset: #e6d8b4;
  --color-divider: rgba(23, 36, 43, 0.1);
  --color-border: rgba(23, 36, 43, 0.16);
  --color-text: #17242b;
  --color-text-muted: #4b5d5b;
  --color-text-faint: #82938f;
  --color-text-inverse: #f4ecdc;

  --color-primary: #e15b26;
  --color-primary-hover: #c1451a;
  --color-primary-active: #9e3813;
  --color-primary-tint: #f6dbc5;

  --color-secondary: #0e6e77;
  --color-secondary-hover: #0a565e;
  --color-gold: #c98a1f;

  --hero-scrim: linear-gradient(180deg, rgba(9, 16, 20, 0.45) 0%, rgba(9, 16, 20, 0.35) 45%, rgba(9, 16, 20, 0.85) 100%);
}

/* ==========================================================================
   Layout primitives
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-primary);
  color: #fff;
  padding: var(--space-2) var(--space-4);
  z-index: 200;
  border-radius: var(--radius-sm);
}
.skip-link:focus {
  left: var(--space-4);
  top: var(--space-4);
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: var(--text-xs);
  color: var(--color-secondary);
  margin-bottom: var(--space-3);
}
.eyebrow-inverse {
  color: var(--color-gold);
}
.hero-inner .eyebrow-inverse {
  color: #ffd98a;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7), 0 1px 3px rgba(0, 0, 0, 0.85);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-size: var(--text-3xl);
  color: var(--color-text);
  margin-bottom: var(--space-5);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-weight: 600;
  font-size: var(--text-base);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-pill);
  white-space: nowrap;
  border: 1.5px solid transparent;
  line-height: 1;
}
.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-lg);
}
.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
}
.btn-primary {
  background: var(--color-primary);
  color: #fff5ec;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--color-primary-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.btn-primary:active {
  background: var(--color-primary-active);
  transform: translateY(0);
}
.btn-secondary {
  background: var(--color-secondary);
  color: #f2fbfb;
}
.btn-secondary:hover {
  background: var(--color-secondary-hover);
}
.btn-ghost {
  background: transparent;
  border-color: rgba(244, 236, 220, 0.55);
  color: #fff8ee;
}
.btn-ghost:hover {
  background: rgba(244, 236, 220, 0.12);
  border-color: rgba(244, 236, 220, 0.85);
}

/* ==========================================================================
   Header / Nav
   ========================================================================== */

.promo-bar {
  background: var(--color-secondary);
  color: #f2fbfb;
  text-align: center;
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.promo-bar p {
  max-width: 72ch;
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--color-bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-divider);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-3);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-text);
}
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-border);
}
.brand-name {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}
.main-nav > a,
.main-nav > .nav-item-dropdown > a {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-block: var(--space-2);
}
.main-nav > a:hover,
.main-nav > a[data-nav].is-current,
.main-nav > .nav-item-dropdown > a:hover,
.main-nav > .nav-item-dropdown > a[data-nav].is-current {
  color: var(--color-primary);
}
.main-nav a.nav-outlet {
  color: var(--color-primary);
}
.main-nav a.nav-outlet:hover {
  color: var(--color-primary-hover);
}

.nav-item-dropdown {
  position: relative;
}
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 8px);
  min-width: 220px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition-interactive), transform var(--transition-interactive), visibility var(--transition-interactive);
  z-index: 110;
}
.nav-dropdown a {
  font-size: var(--text-sm);
  font-weight: 500;
  text-transform: none;
  letter-spacing: normal;
  color: var(--color-text-muted);
  text-decoration: none;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
}
.nav-dropdown a:hover {
  background: var(--color-surface-2);
  color: var(--color-primary);
}
.nav-dropdown-all {
  font-weight: 700 !important;
  color: var(--color-secondary) !important;
  border-top: 1px solid var(--color-divider);
  margin-top: var(--space-1);
  padding-top: var(--space-3) !important;
}

@media (hover: hover) and (pointer: fine) {
  .nav-item-dropdown:hover .nav-dropdown,
  .nav-item-dropdown:focus-within .nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
  }
}
.nav-item-dropdown.is-open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.cart-toggle {
  order: 3;
}

.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  flex-shrink: 0;
}

/* Full-screen slide-in mobile nav with accordions */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(9, 16, 20, 0.5);
  z-index: 150;
}
.mobile-nav-overlay[hidden] {
  display: none;
}

.mobile-nav {
  position: fixed;
  inset: 0 18% 0 0;
  z-index: 160;
  background: var(--color-surface);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: translateX(0);
}
.mobile-nav[hidden] {
  display: none;
}
.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--color-divider);
}
.mobile-nav-close {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
}
.mobile-nav-body {
  display: flex;
  flex-direction: column;
  padding: var(--space-3) var(--space-5) var(--space-8);
}
.mobile-nav-link {
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--color-text);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--color-divider);
}
.mobile-nav-link-outlet {
  color: var(--color-primary);
}
.mobile-nav-accordion {
  border-bottom: 1px solid var(--color-divider);
}
.mobile-nav-accordion-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: var(--space-4) 0;
}
.mobile-nav-accordion-toggle svg {
  transition: transform var(--transition-interactive);
  color: var(--color-text-muted);
}
.mobile-nav-accordion-toggle.is-open svg {
  transform: rotate(180deg);
}
.mobile-nav-accordion-panel {
  display: flex;
  flex-direction: column;
  padding-bottom: var(--space-3);
}
.mobile-nav-accordion-panel[hidden] {
  display: none;
}
.mobile-nav-accordion-panel a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  padding: var(--space-2) 0 var(--space-2) var(--space-2);
}
.mobile-nav-accordion-panel a:hover {
  color: var(--color-primary);
}
.mobile-nav-secondary {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  margin-top: var(--space-6);
}
.mobile-nav-secondary a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  padding: var(--space-2) 0;
}

body.nav-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .header-actions .btn {
    display: none;
  }
}

@media (max-width: 480px) {
  .mobile-nav {
    inset: 0;
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff8ee;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 28% center;
}
@media (max-width: 640px) {
  .hero-media img {
    object-position: 12% center;
  }
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: var(--hero-scrim);
}
.hero-inner {
  position: relative;
  padding-block: var(--space-24) var(--space-20);
  max-width: 780px;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: var(--text-hero);
  line-height: 0.98;
  letter-spacing: 0.01em;
  margin-bottom: var(--space-6);
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}
.hero-sub {
  font-size: var(--text-lg);
  max-width: 46ch;
  color: rgba(255, 248, 238, 0.92);
  margin-bottom: var(--space-8);
}
.hero-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* ==========================================================================
   Story
   ========================================================================== */

.story {
  padding-block: var(--space-24);
  background: var(--color-bg);
}
.story-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-16);
  align-items: center;
}
.story-copy p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}
.story-copy p em {
  color: var(--color-text);
  font-style: normal;
  font-weight: 600;
}
.story-tag {
  font-weight: 700;
  color: var(--color-secondary) !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: var(--text-sm);
}
.story-figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}
.story-figure img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

@media (max-width: 900px) {
  .story {
    padding-block: var(--space-16) var(--space-10);
  }
  .story-grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
  .story-figure {
    order: -1;
  }
  .gallery {
    padding-block: var(--space-10) var(--space-16);
  }
}

/* ==========================================================================
   Gallery
   ========================================================================== */

.gallery {
  padding-block: var(--space-24);
  background: var(--color-bg);
  overflow: hidden;
}
.gallery-heading {
  max-width: 640px;
  margin-bottom: var(--space-10);
}
.gallery-lede {
  color: var(--color-text-muted);
  font-size: var(--text-lg);
}

.gallery-track-wrap {
  position: relative;
}

.gallery-track {
  display: flex;
  gap: var(--space-5);
  list-style: none;
  margin: 0;
  padding: var(--space-2) var(--space-6) var(--space-4);
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--color-primary) transparent;
}
.gallery-track:active {
  cursor: grabbing;
}
.gallery-track::-webkit-scrollbar {
  height: 6px;
}
.gallery-track::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: var(--radius-pill);
}
.gallery-track::-webkit-scrollbar-track {
  background: transparent;
}
.gallery-track:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 4px;
}

.gallery-item {
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: clamp(220px, 30vw, 300px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  transition: transform var(--transition-interactive), box-shadow var(--transition-interactive);
}
.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.gallery-item img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: background var(--transition-interactive), color var(--transition-interactive), transform var(--transition-interactive);
}
.gallery-arrow:hover {
  background: var(--color-primary);
  color: #fff;
}
.gallery-arrow:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}
.gallery-arrow-prev {
  left: var(--space-2);
}
.gallery-arrow-next {
  right: var(--space-2);
}

@media (max-width: 700px) {
  .gallery-arrow {
    display: none;
  }
  .gallery-item {
    width: clamp(180px, 62vw, 240px);
  }
}

/* ==========================================================================
   Shop
   ========================================================================== */

.shop {
  padding-block: var(--space-24);
  background: var(--color-surface-2);
  border-block: 1px solid var(--color-divider);
}
.shop-heading {
  max-width: 640px;
  margin-bottom: var(--space-12);
}
.shop-lede {
  color: var(--color-text-muted);
  font-size: var(--text-lg);
}

.faq {
  padding-block: var(--space-24);
  background: var(--color-bg);
  border-top: 1px solid var(--color-divider);
}
.faq .section-title {
  margin-bottom: var(--space-10);
}
.faq-list {
  max-width: 780px;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-6);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  font-size: var(--text-xl);
  color: var(--color-secondary);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after {
  content: "\2212";
}
.faq-item p {
  margin-top: var(--space-4);
  color: var(--color-text-muted);
  line-height: 1.6;
}
.faq-item p a {
  color: var(--color-secondary);
  text-decoration: underline;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.product-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-interactive), box-shadow var(--transition-interactive);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.product-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-surface-offset);
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Tap-to-zoom affordance on product images */
.zoom-btn {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  z-index: 6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(10, 15, 12, 0.55);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(2px);
  transition: background var(--transition-interactive), transform var(--transition-interactive);
}
.zoom-btn:hover {
  background: rgba(10, 15, 12, 0.75);
  transform: scale(1.06);
}
.product-media[data-zoomable] {
  cursor: zoom-in;
}

/* Fullscreen lightbox for zoomed product images */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: var(--space-6) var(--space-4);
  background: rgba(6, 10, 8, 0.92);
  opacity: 0;
  transition: opacity 200ms ease;
}
.lightbox[hidden] {
  display: none;
}
.lightbox.is-open {
  opacity: 1;
}
.lightbox-stage {
  position: relative;
  width: 100%;
  max-width: 900px;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  touch-action: pan-x pan-y;
}
.lightbox-stage.is-zoomed {
  display: block;
  overflow: auto;
  cursor: grab;
  scrollbar-width: none;
}
.lightbox-stage.is-zoomed::-webkit-scrollbar {
  display: none;
}
.lightbox-stage.is-zoomed.is-dragging {
  cursor: grabbing;
}
.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  touch-action: pan-x pan-y;
  user-select: none;
  display: block;
  cursor: zoom-in;
}
.lightbox-stage.is-zoomed .lightbox-img {
  cursor: zoom-out;
  border-radius: 0;
  box-shadow: none;
}
.lightbox-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  z-index: 301;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.22);
}
.lightbox-zoom-controls {
  position: absolute;
  bottom: var(--space-4);
  left: 50%;
  transform: translateX(-50%);
  z-index: 301;
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(10, 15, 12, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 4px;
  backdrop-filter: blur(2px);
}
.lightbox-zoom-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  border: none;
  transition: background var(--transition-interactive), opacity var(--transition-interactive);
}
.lightbox-zoom-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.22);
}
.lightbox-zoom-btn:disabled {
  opacity: 0.3;
  cursor: default;
}
.lightbox-hint {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
  letter-spacing: 0.02em;
  transition: opacity 200ms ease;
}
.lightbox-hint.is-hidden {
  opacity: 0;
}

/* Multi-photo product gallery: dot indicators + hover arrows (Huk-style) */
.pgallery-dots {
  position: absolute;
  bottom: var(--space-3);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  padding: 7px 9px;
  border-radius: var(--radius-pill);
  background: rgba(10, 14, 20, 0.55);
  backdrop-filter: blur(4px);
  z-index: 2;
}
.pgallery-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: background var(--transition-interactive), transform var(--transition-interactive);
}
.pgallery-dot:hover {
  background: rgba(255, 255, 255, 0.75);
}
.pgallery-dot.is-active {
  background: #fff;
  transform: scale(1.15);
}
.pgallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 50%;
  background: rgba(10, 14, 20, 0.5);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  transition: opacity var(--transition-interactive), background var(--transition-interactive);
  z-index: 2;
}
.pgallery-arrow-prev {
  left: var(--space-3);
}
.pgallery-arrow-next {
  right: var(--space-3);
}
.product-media:hover .pgallery-arrow {
  opacity: 1;
}
.pgallery-arrow:hover {
  background: rgba(10, 14, 20, 0.8);
}
.pgallery-arrow.is-hidden,
.pgallery-dots.is-hidden {
  display: none;
}
@media (hover: none) {
  .pgallery-arrow {
    display: none;
  }
}
[data-swipe-media] {
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}
[data-swipe-media] img {
  -webkit-user-drag: none;
  user-drag: none;
  pointer-events: auto;
}
[data-swipe-media]:active {
  cursor: grabbing;
}
.swipe-hint {
  position: absolute;
  top: var(--space-3);
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  background: rgba(10, 14, 20, 0.6);
  color: rgba(255, 255, 255, 0.92);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.02em;
  pointer-events: none;
  opacity: 1;
  animation: swipeHintFade 4.5s ease forwards;
}
.swipe-hint.is-hidden {
  opacity: 0 !important;
  transition: opacity 200ms ease;
}
@keyframes swipeHintFade {
  0%,
  55% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.product-body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex: 1;
}
.product-name {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: var(--text-xl);
  letter-spacing: 0.01em;
}
.product-desc {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  flex: 1;
}
/* Reusable variant/style selector (hats now; tee variants like performance/long-sleeve/hoodie later) */
.style-selector {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.style-selector[hidden] {
  display: none;
}
.style-btn {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3) var(--space-1) var(--space-1);
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  background: var(--color-surface-2);
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: border-color var(--transition-interactive), color var(--transition-interactive), background var(--transition-interactive);
}
.style-btn img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.style-btn:hover {
  color: var(--color-text);
  border-color: var(--color-secondary);
}
.style-btn.is-active {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  color: var(--color-text-inverse);
}
/* Color swatch selector (paired with style-selector for 2D style x color variants) */
.color-selector {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.color-swatch {
  position: relative;
  width: 30px;
  height: 30px;
  padding: 3px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  background: transparent;
  cursor: pointer;
  transition: border-color var(--transition-interactive), transform var(--transition-interactive);
}
.color-swatch-dot {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--swatch-color);
  border: 1px solid rgba(0, 0, 0, 0.18);
}
.color-swatch:hover {
  border-color: var(--color-secondary);
  transform: scale(1.08);
}
.color-swatch.is-active {
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 2px var(--color-surface), 0 0 0 3px var(--color-secondary);
}
.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.chip-group {
  display: flex;
  gap: var(--space-1);
  flex-wrap: wrap;
}
.chip {
  font-size: var(--text-xs);
  font-weight: 600;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-pill);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.size-chip {
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.size-chip:hover {
  border-color: var(--color-secondary);
  color: var(--color-text);
}
.size-chip:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}
.size-chip.is-active {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  color: var(--color-surface);
}
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: var(--space-2);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-divider);
}
.product-price {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-primary);
  white-space: nowrap;
  flex-shrink: 0;
}

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

/* ==========================================================================
   Shared form controls (used by checkout)
   ========================================================================== */

.form-row {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.form-row label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}
.form-row input,
.form-row textarea {
  background: var(--color-surface-2);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  color: var(--color-text);
  resize: vertical;
}
.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--color-primary);
}
.form-hint {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-align: center;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--color-surface-2);
  border-top: 1px solid var(--color-divider);
  padding-block: var(--space-10);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--space-8);
  align-items: start;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.footer-brand .brand-mark {
  width: 36px;
  height: 36px;
}
.footer-name {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: var(--text-base);
}
.footer-tag {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.footer-nav-heading {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-faint);
  margin-bottom: var(--space-1);
}
.footer-nav a {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  text-decoration: none;
}
.footer-nav a:hover {
  color: var(--color-primary);
}

@media (max-width: 780px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}
.footer-nav-link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.footer-nav-link:hover {
  color: var(--color-primary);
}
.footer-note {
  width: 100%;
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  border-top: 1px solid var(--color-divider);
  padding-top: var(--space-5);
}

.footer-email-link {
  color: var(--color-text-faint);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.footer-email-link:hover,
.footer-email-link:focus-visible {
  color: var(--color-primary);
}

@media (max-width: 700px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-note {
    order: 10;
  }
}

/* ==========================================================================
   Shopping Cart
   ========================================================================== */

.cart-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--color-text);
  border: 1.5px solid var(--color-border);
  flex-shrink: 0;
}
.cart-toggle:hover {
  background: var(--color-surface-2);
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  background: var(--color-primary);
  color: #fff5ec;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  border: 1.5px solid var(--color-surface);
}
.cart-badge[hidden] {
  display: none;
}
.cart-badge.is-bumping {
  animation: cart-bump 320ms ease;
}
@keyframes cart-bump {
  0% { transform: scale(1); }
  35% { transform: scale(1.45); }
  100% { transform: scale(1); }
}

body.cart-open {
  overflow: hidden;
}

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 12, 0.5);
  z-index: 90;
  opacity: 0;
  transition: opacity 220ms ease;
}
.cart-overlay[hidden] {
  display: none;
}
.cart-overlay:not([hidden]) {
  opacity: 1;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 92vw);
  background: var(--color-surface);
  border-left: 1px solid var(--color-border);
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.25);
  z-index: 100;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
}
.cart-drawer.is-open {
  transform: translateX(0);
}

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) var(--space-6);
  border-bottom: 1px solid var(--color-divider);
  flex-shrink: 0;
}
.cart-drawer-header h2 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.cart-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--color-text);
}
.cart-close:hover {
  background: var(--color-surface-2);
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-6);
}

.cart-empty {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  text-align: center;
  padding: var(--space-10) var(--space-4);
}
.cart-empty[hidden] {
  display: none;
}
.cart-empty a {
  color: var(--color-secondary);
  font-weight: 600;
}

.cart-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.cart-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--color-divider);
}
.cart-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.cart-item-img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  object-fit: cover;
  border: 1px solid var(--color-border);
  flex-shrink: 0;
  background: var(--color-surface-2);
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}
.cart-item-name {
  font-weight: 600;
  font-size: var(--text-sm);
  line-height: 1.3;
}
.cart-item-meta {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: 2px;
}
.cart-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-3);
}

.cart-qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: 2px;
}
.qty-btn {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--color-text);
  font-size: var(--text-base);
  line-height: 1;
}
.qty-btn:hover {
  background: var(--color-surface-2);
}
.qty-value {
  min-width: 20px;
  text-align: center;
  font-size: var(--text-sm);
  font-weight: 600;
}

.cart-item-price {
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--color-text);
}

.cart-item-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--color-text-faint);
  flex-shrink: 0;
}
.cart-item-remove:hover {
  color: var(--color-primary);
  background: var(--color-surface-2);
}

.cart-drawer-footer {
  flex-shrink: 0;
  padding: var(--space-5) var(--space-6) var(--space-6);
  border-top: 1px solid var(--color-divider);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.cart-drawer-footer[hidden] {
  display: none;
}
.cart-subtotal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: var(--text-lg);
}
.cart-checkout {
  width: 100%;
}
.cart-clear {
  align-self: center;
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-decoration: underline;
}
.cart-clear:hover {
  color: var(--color-primary);
}

.cart-toast {
  position: fixed;
  bottom: calc(var(--space-8) + 88px);
  left: 50%;
  transform: translate(-50%, 12px);
  background: var(--color-text);
  color: var(--color-bg);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-pill);
  font-size: var(--text-sm);
  font-weight: 600;
  box-shadow: var(--shadow-md);
  z-index: 110;
  opacity: 0;
  transition: opacity 220ms ease, transform 220ms ease;
  pointer-events: none;
}
.cart-toast[hidden] {
  display: none;
}
.cart-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

[data-variant-sizes].shake {
  animation: cart-shake 420ms ease;
}
@keyframes cart-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

@media (max-width: 480px) {
  .cart-drawer {
    width: 100vw;
  }
}

/* ==========================================================================
   Checkout
   ========================================================================== */

.checkout-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
  background: rgba(10, 15, 12, 0.55);
  opacity: 0;
  transition: opacity 220ms ease;
}
.checkout-overlay[hidden] {
  display: none;
}
.checkout-overlay:not([hidden]) {
  opacity: 1;
}

.checkout-panel {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: min(640px, 100%);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(12px) scale(0.98);
  transition: transform 220ms ease;
}
.checkout-overlay:not([hidden]) .checkout-panel {
  transform: translateY(0) scale(1);
}

.checkout-header {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-5) var(--space-6);
  border-bottom: 1px solid var(--color-divider);
}
.checkout-header h2 {
  flex: 1;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.checkout-back,
.checkout-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--color-text);
  flex-shrink: 0;
}
.checkout-back:hover,
.checkout-close:hover {
  background: var(--color-surface-2);
}

.checkout-body {
  overflow-y: auto;
  padding: var(--space-6);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  flex: 1;
}
.checkout-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}
.checkout-form[hidden] {
  display: none;
}
.checkout-section h3 {
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}
.checkout-section .form-row + .form-row,
.checkout-section .form-row-split {
  margin-top: var(--space-3);
}
.form-row-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  gap: var(--space-3);
}
.form-row-split .form-row,
.form-row-split > div {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.payment-placeholder {
  background: var(--color-surface-2);
  border: 1.5px dashed var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
}
.payment-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: var(--space-4);
}
.payment-placeholder input:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.checkout-submit {
  width: 100%;
}

.promo-box {
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-divider);
}
.promo-box label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}
.promo-row {
  display: flex;
  gap: var(--space-2);
}
.promo-row input {
  flex: 1;
}
.promo-row .btn-secondary {
  flex-shrink: 0;
  padding: 0 var(--space-5);
}
.promo-message {
  font-size: var(--text-xs);
  font-weight: 600;
  margin-top: var(--space-2);
}
.promo-message[hidden] {
  display: none;
}
.promo-message.is-success {
  color: var(--color-secondary);
}
.promo-message.is-error {
  color: var(--color-error, #c0392b);
}
.promo-row input.is-applied {
  border-color: var(--color-secondary);
  opacity: 0.7;
}

.free-shipping-note {
  font-size: var(--text-xs);
  font-weight: 600;
  text-align: center;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  background: var(--color-surface-2);
  color: var(--color-text-muted);
}
.free-shipping-note:empty {
  display: none;
}
.free-shipping-note.is-unlocked {
  background: var(--color-primary-tint);
  color: var(--color-secondary);
}
.checkout-summary-shipping-hint {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-secondary);
  margin: calc(var(--space-2) * -1) 0 0;
}
.checkout-summary-shipping-hint[hidden] {
  display: none;
}

.checkout-notice {
  text-align: center;
  padding: var(--space-14) var(--space-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}
.checkout-notice[hidden] {
  display: none;
}
.checkout-notice svg {
  color: var(--color-secondary);
}
.checkout-notice h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.checkout-notice p {
  color: var(--color-text-muted);
  max-width: 420px;
  margin-bottom: var(--space-2);
}
.checkout-notice .btn-text {
  font-size: var(--text-sm);
  color: var(--color-text-faint);
  text-decoration: underline;
  margin-top: var(--space-2);
  background: none;
  border: none;
}
.checkout-notice .btn-text:hover {
  color: var(--color-primary);
}

.checkout-summary {
  background: var(--color-surface-2);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}
.checkout-summary h3 {
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}
.checkout-summary-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
  flex: 1;
}
.checkout-summary-item {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  font-size: var(--text-sm);
}
.checkout-summary-item-name {
  font-weight: 600;
}
.checkout-summary-item-meta {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}
.checkout-summary-item-price {
  font-weight: 600;
  flex-shrink: 0;
}
.checkout-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding-top: var(--space-2);
  border-top: 1px solid var(--color-divider);
}
.checkout-summary-row-promo[hidden] {
  display: none;
}
.checkout-summary-row-promo span:last-child {
  color: var(--color-secondary);
  font-weight: 700;
}
.checkout-summary-total {
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--color-text);
  border-top: 1.5px solid var(--color-border);
  padding-top: var(--space-3);
  margin-top: var(--space-1);
}

@media (max-width: 800px) {
  .checkout-overlay {
    padding: 0;
  }
  .checkout-panel {
    width: 100%;
    height: 100%;
    max-height: 100%;
    border-radius: 0;
  }
}


/* ==========================================================================
   Category pages — hero banner, badges, sale pricing, breadcrumbs
   ========================================================================== */

.category-hero {
  position: relative;
  padding-block: var(--space-14) var(--space-8);
  background: var(--color-bg);
  color: var(--color-text);
}
.category-hero-inner {
  position: relative;
  z-index: 1;
}
.category-breadcrumb {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}
.category-breadcrumb a {
  color: var(--color-text-muted);
  text-decoration: none;
}
.category-breadcrumb a:hover {
  color: var(--color-secondary);
}
.category-hero-title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: var(--text-4xl);
  line-height: 1;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}
.category-hero-desc {
  max-width: 60ch;
  color: var(--color-text-muted);
  font-size: var(--text-lg);
}

.category-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  padding-block: var(--space-6);
}
.category-subnav a {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  text-decoration: none;
  background: var(--color-surface);
  transition: border-color var(--transition-interactive), color var(--transition-interactive);
}
.category-subnav a:hover {
  border-color: var(--color-secondary);
  color: var(--color-secondary);
}
.category-subnav a.is-active {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  color: var(--color-text-inverse);
}

.category-section {
  padding-block: var(--space-14);
}
.category-section + .category-section {
  border-top: 1px solid var(--color-divider);
}
.category-section-heading {
  max-width: 640px;
  margin-bottom: var(--space-10);
}
.category-section-heading h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: var(--text-2xl);
  margin-bottom: var(--space-2);
}
.category-section-heading p {
  color: var(--color-text-muted);
  font-size: var(--text-base);
}

.category-empty {
  padding: var(--space-10);
  text-align: center;
  color: var(--color-text-muted);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-lg);
}

/* Product badges — Coming Soon / Sale / New */
.product-badge {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  z-index: 6;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-pill);
  color: #fff;
}
.product-badge-coming-soon {
  background: var(--color-text);
}
.product-badge-sale {
  background: var(--color-primary);
}
.product-badge-new {
  background: var(--color-secondary);
}

.product-card.is-coming-soon .product-media img {
  filter: saturate(0.85);
}
.product-card.is-coming-soon .product-body {
  opacity: 0.92;
}
.notify-btn {
  width: 100%;
  justify-content: center;
}

.product-price-sale {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
}
.product-price-strike {
  font-family: var(--font-display);
  font-size: var(--text-base);
  color: var(--color-text-faint);
  text-decoration: line-through;
}
.product-price-now {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-primary);
}

/* Homepage — featured category tiles */
.featured-categories {
  padding-block: var(--space-20);
}
.featured-categories-heading {
  max-width: 640px;
  margin-bottom: var(--space-10);
}
.category-tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.category-tile {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-interactive), box-shadow var(--transition-interactive);
}
.category-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.category-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 16, 20, 0) 40%, rgba(9, 16, 20, 0.78) 100%);
}
.category-tile-label {
  position: absolute;
  left: var(--space-5);
  bottom: var(--space-5);
  right: var(--space-5);
  z-index: 1;
  color: #fff;
}
.category-tile-label span {
  display: block;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: var(--text-lg);
}
.category-tile-label small {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  margin-top: var(--space-1);
}

@media (max-width: 900px) {
  .category-tile-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .category-hero-title {
    font-size: var(--text-3xl);
  }
}
@media (max-width: 560px) {
  .category-tile-grid {
    grid-template-columns: 1fr;
  }
}
