﻿/* ── Reset ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── Tokens ── */
:root {
  --cream:    #E8E8E8;
  --dark:     #0D1B2A;
  --blue:     #AED9E0;
  --peach:    #F4C7A8;
  --mint:     #B5EAD7;
  --lavender: #C9B8E8;
  --yellow:   #E8B84B;
  --text:     #0D1B2A;
  --muted:    #6B7A8D;
  --border:   2px solid #0D1B2A;
}

/* ── Base ── */
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  font-size: 1rem;
  line-height: 1.6;
}

/* ── Header ── */
header {
  background: var(--dark);
  border-bottom: 3px solid var(--yellow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.85rem 2rem;
  display: flex;
  align-items: center;
}

.header-inner nav {
  margin-left: auto;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.logo-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--yellow);
  letter-spacing: 0.1em;
}

.logo-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.15em;
}

nav {
  display: flex;
  gap: 2rem;
}

.shipping-toggle {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.7);
  background: transparent;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 4px;
  padding: 0.2rem 0.6rem;
  cursor: pointer;
  margin-left: 1.5rem;
  transition: border-color 0.15s, color 0.15s;
}

.shipping-toggle:hover,
.shipping-toggle.is-international {
  border-color: var(--yellow);
  color: var(--yellow);
}

.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  color: #fff;
  text-decoration: none;
  margin-left: 1rem;
  opacity: 0.85;
  transition: opacity 0.15s;
}

.cart-btn:hover {
  opacity: 1;
  color: var(--yellow);
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--yellow);
  color: var(--dark);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

nav a {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  opacity: 0.85;
  transition: opacity 0.15s;
}

nav a:hover {
  opacity: 1;
  color: var(--yellow);
}

/* ── Hero ── */
.hero {
  position: relative;
  overflow: hidden;
  background-color: var(--cream);
  background-image: radial-gradient(circle, rgba(13,27,42,0.25) 1.5px, transparent 1.5px);
  background-size: 14px 14px;
  border-bottom: var(--border);
  min-height: 520px;
  display: flex;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  width: 100%;
}

.hero-text {
  min-width: 0;
}

.hero-heading-row {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 2rem;
  margin-bottom: 0.75rem;
}

.hero-image {
  min-width: 0;
  align-self: start;
  justify-self: end;
  margin-left: auto;
  height: clamp(12rem, 21.6vw, 19.2rem);
}

.hero-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border: var(--border);
  border-radius: 4px;
  box-shadow: 6px 6px 0 var(--dark);
}

.hero-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.hero-heading-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
}

.hero-heading-row h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--dark);
  margin-bottom: 0;
}

.hero-sub {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 0;
  max-width: 380px;
}

/* Large ghost number */
.hero-number {
  display: none;
}

/* ── Buttons ── */
.btn-small {
  display: inline-block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.35rem 1rem;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 6px;
  color: rgba(255,255,255,0.8);
  transition: border-color 0.15s, color 0.15s;
  margin-left: auto;
  align-self: center;
}

.btn-small:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

.btn-small--dark {
  border-color: rgba(28,28,28,0.4);
  color: var(--dark);
}

.btn-small--dark:hover {
  border-color: var(--dark);
  color: var(--dark);
}

.btn {
  display: inline-block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.7rem 1.8rem;
  background: var(--dark);
  color: #fff;
  border: 2px solid var(--dark);
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}

.btn:hover {
  background: #333;
}

.btn-outline {
  background: transparent;
  color: var(--dark);
}

.btn-outline:hover {
  background: var(--dark);
  color: #fff;
}

.btn-light {
  background: #fff;
  color: var(--dark);
  border-color: #fff;
}

.btn-light:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--dark);
}

/* ── Features strip ── */
.tagline-strip {
  text-align: center;
  padding: 1.5rem 2rem;
  border-bottom: var(--border);
  background: var(--cream);
  font-size: 1.1rem;
  color: var(--muted);
}

.features-strip {
  background: var(--yellow);
  border-bottom: var(--border);
  padding: 0.6rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark);
  flex-wrap: wrap;
}

.features-strip .dot {
  font-size: 0.4rem;
  opacity: 0.5;
}

/* ── Section header ── */
.section-header {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.section-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--muted);
}

.section-number.light {
  color: rgba(255,255,255,0.5);
}

.section-header h2,
.products h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── Products ── */
.products {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

/* Carousel */
.carousel-outer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.carousel-viewport {
  overflow: hidden;
  flex: 1;
  min-width: 0;
}
.carousel-viewport .product-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 1.5rem;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.carousel-btn {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border: var(--border);
  background: var(--cream);
  color: var(--dark);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
.carousel-btn:hover:not(:disabled) {
  background: var(--dark);
  color: var(--cream);
}
.carousel-btn:disabled {
  opacity: 0.25;
  cursor: default;
}

.product-card {
  border: var(--border);
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.15s, box-shadow 0.15s;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 4px 8px 20px rgba(13,27,42,0.15);
}

.product-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  position: relative;
  overflow: hidden;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.product-info {
  padding: 1rem 1.1rem 1.25rem;
  border-top: var(--border);
}

.product-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--muted);
  display: block;
  margin-bottom: 0.2rem;
}

.product-info h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.product-price {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 0.85rem;
}

/* ── Customize All dark variant ── */
.products-dark {
  background: var(--dark);
  border-top: var(--border);
  border-bottom: var(--border);
}

.products-dark .section-header h2 {
  color: #fff;
}

.products-dark .section-number {
  color: rgba(255,255,255,0.4);
}

.products-dark-inner {
  max-width: calc(3 * 320px + 2 * 1.5rem);
  margin: 0 auto;
  width: 100%;
}

.products-dark .product-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.products-dark .product-card {
  flex: 1 1 240px;
  max-width: 320px;
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.15);
}

.products-dark .product-card:hover {
  box-shadow: 4px 6px 0 var(--yellow);
}

.products-dark .product-info {
  border-top-color: rgba(255,255,255,0.15);
}

.products-dark .product-number {
  color: rgba(255,255,255,0.4);
}

.products-dark .product-info h3,
.products-dark .product-info h3 a {
  color: #fff;
}

.products-dark .product-price {
  color: rgba(255,255,255,0.5);
}

.products-dark .btn-outline {
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}

.products-dark .btn-outline:hover {
  background: #fff;
  color: var(--dark);
  border-color: #fff;
}

/* ── Card fields (dropdowns inside dark product cards) ── */
.card-fields {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.card-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.card-field label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

.card-field select,
.card-field input {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  padding: 0.5rem 0.75rem;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 2px;
  background: rgba(255,255,255,0.07);
  color: #fff;
  outline: none;
  appearance: none;
  transition: border-color 0.15s;
}

.card-field select:focus,
.card-field input:focus {
  border-color: var(--yellow);
}

.card-field input::placeholder {
  color: rgba(255,255,255,0.3);
}

/* ── Customize inputs (within products section) ── */
.customize-inputs {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.field-inline {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
  min-width: 160px;
  max-width: 280px;
}

.field-inline label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

.field-inline input {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  padding: 0.65rem 0.9rem;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 2px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  outline: none;
  transition: border-color 0.15s;
}

.field-inline input::placeholder {
  color: rgba(255,255,255,0.3);
}

.field-inline input:focus {
  border-color: var(--yellow);
}

/* ── Banner ── */
.banner {
  background: var(--dark);
  border-top: var(--border);
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
}

/* Faint retro stripe background */
.banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(255,255,255,0) 0px,
    rgba(255,255,255,0) 38px,
    rgba(255,255,255,0.03) 38px,
    rgba(255,255,255,0.03) 40px
  );
  pointer-events: none;
}

.banner-inner {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.banner-inner h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.banner-inner p {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  max-width: 480px;
  margin: 0 auto 2rem;
}

.banner-facts {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.banner-fact {
  border-top: 2px solid rgba(255,255,255,0.15);
  padding-top: 1rem;
}

.banner-fact h4 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 0.5rem;
}

.banner-fact p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
  max-width: none;
  margin: 0;
}

/* ── Footer ── */
footer {
  background: #111;
  border-top: 3px solid var(--yellow);
  padding: 1.5rem 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

footer p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.05em;
}

/* ── Cookie consent banner ── */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #162233;
  border-top: 2px solid #E8B84B;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  z-index: 9999;
  font-size: 0.85rem;
  color: rgba(232,232,232,0.75);
  line-height: 1.5;
}

#cookie-banner p { margin: 0; flex: 1; min-width: 200px; }
#cookie-banner a { color: #E8B84B; text-decoration: underline; }

.cookie-btns { display: flex; gap: 0.75rem; flex-shrink: 0; }

#cookie-accept {
  background: #E8B84B;
  color: #0D1B2A;
  border: none;
  padding: 0.5rem 1.25rem;
  font-family: inherit;
  font-weight: 500;
  font-size: 0.85rem;
  cursor: pointer;
}

#cookie-decline {
  background: transparent;
  color: rgba(232,232,232,0.5);
  border: 1px solid rgba(232,232,232,0.2);
  padding: 0.5rem 1.25rem;
  font-family: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}

#cookie-decline:hover { color: var(--cream); border-color: rgba(232,232,232,0.5); }

.footer-nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.15s;
}

.footer-nav a:hover {
  color: var(--yellow);
}

.logo-sm .logo-text {
  font-size: 1.1rem;
}

/* ── Shop layout (sidebar + grid) ── */
.shop-layout {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 2.5rem;
  align-items: start;
}

.shop-sidebar {
  position: sticky;
  top: 80px;
  background: #fff;
  border: var(--border);
  border-radius: 6px;
  padding: 1.25rem 1.25rem 1rem;
}

.sidebar-group-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dark);
  background: none;
  border: none;
  border-bottom: 1px solid rgba(13,27,42,0.15);
  padding: 0 0 0.6rem 0;
  margin-bottom: 0.75rem;
  cursor: pointer;
}

.sidebar-chevron {
  flex-shrink: 0;
  transition: transform 0.2s;
}

.sidebar-group-header[aria-expanded="true"] .sidebar-chevron {
  transform: rotate(180deg);
}

.sidebar-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.sidebar-checklist.is-open {
  max-height: 300px;
}

.sidebar-checklist label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--text);
  user-select: none;
}

.sidebar-checklist input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: var(--dark);
  cursor: pointer;
  flex-shrink: 0;
}

.color-swatch {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.2);
  flex-shrink: 0;
  display: inline-block;
}

.filter-clear {
  margin-top: 1rem;
  padding: 0;
  border: none;
  background: transparent;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8125rem;
  color: var(--muted);
  cursor: pointer;
  text-decoration: underline;
}

.filter-count {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.8125rem;
  color: var(--muted);
}

.product-card[hidden] {
  display: none !important;
}

.no-results-msg {
  grid-column: 1 / -1;
  padding: 3rem 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.9375rem;
}

/* ── Responsive ── */
@media (max-width: 640px) {
  /* Header */
  .header-inner {
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
  }
  .logo { flex: 1; }
  nav {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 1.25rem;
    padding-top: 0.25rem;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  nav a { font-size: 0.8rem; }

  /* Hero */
  .hero-content { padding: 2rem 1rem; }
  .hero-heading-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .hero-image {
    height: clamp(8rem, 50vw, 14rem);
    justify-self: stretch;
  }
  .hero-image img { border-radius: 4px; }
  .hero-number { display: none; }

  /* Features strip */
  .features-strip {
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    padding: 0.75rem 1rem;
    text-align: center;
  }
  .features-strip .dot { display: none; }

  /* Section header */
  .section-header {
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: flex-start;
  }
  .section-header h2,
  .products h2 {
    font-size: 1.4rem;
    flex: 1 1 100%;
  }

  /* Products */
  .products { padding: 2rem 1rem; }
  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  /* Banner */
  .banner { padding: 3rem 1rem; }
  .banner-facts {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 2rem;
  }

  /* Shop layout (styles.html) */
  .shop-layout {
    grid-template-columns: 1fr;
  }
  .shop-sidebar { position: static; }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 0.4rem;
  }
}

