:root {
  --ink: #111111;
  --muted: #5d5d5d;
  --paper: #f6f4ef;
  --card: #ffffff;
  --line: rgba(17, 17, 17, 0.1);
  --accent: #f24b3c;
  --accent-2: #111111;
  --accent-3: #d7b46a;
  --shadow: 0 18px 40px rgba(17, 17, 17, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(242, 75, 60, 0.07), transparent 30%),
    linear-gradient(180deg, #fcfbf8 0%, var(--paper) 100%);
  font-family: Outfit, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

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

/* ── Sale bar ─────────────────────────── */
.sale-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  padding: 10px 16px;
  background: var(--accent-2);
  color: white;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── Header ───────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: start;
  gap: 18px;
  padding: 14px clamp(18px, 4vw, 42px);
  background: rgba(246, 244, 239, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand strong {
  display: block;
  font-size: 1rem;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-2);
  color: white;
  font-size: 1.2rem;
}

.search-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.search {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
}

.search-icon {
  color: var(--muted);
  font-size: 1.1rem;
}

.search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
}

.category-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.category-pills a {
  padding: 4px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.category-pills a:hover {
  background: var(--accent-2);
  color: #fff;
  border-color: var(--accent-2);
}

.nav-links {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-weight: 600;
  padding-top: 12px;
}

.nav-links a:hover {
  color: var(--ink);
}

.header-action,
.button,
.mini-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s, color 0.15s, border-color 0.15s;
  white-space: nowrap;
}

.header-action {
  align-self: start;
  margin-top: 12px;
  padding: 10px 20px;
  background: var(--accent-2);
  color: #fff;
}

.header-action:hover {
  transform: translateY(-1px);
}

.button {
  padding: 13px 26px;
  font-size: 0.95rem;
}

.button.primary {
  background: var(--accent);
  color: #fff;
}

.button.primary:hover {
  transform: translateY(-2px);
}

.button.secondary {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.button.secondary:hover {
  background: var(--ink);
  color: #fff;
}

.mini-button {
  padding: 8px 16px;
  font-size: 0.82rem;
  background: var(--ink);
  color: #fff;
}

.mini-button:hover {
  background: var(--accent);
}

/* ── Brand banner ─────────────────────── */
/* The slideshow is a 4:5 portrait comp shown full-bleed, so it is scaled to fill
   the width and cropped top/bottom. Its captions sit dead centre, which the crop
   keeps — so overlay copy is anchored to the bottom to stay clear of them. */
.brand-banner {
  position: relative;
  overflow: hidden;
  /* Keep the banner and its CTA above the fold under the sticky header. */
  height: clamp(460px, calc(100vh - 160px), 820px);
  height: clamp(460px, calc(100svh - 160px), 820px);
  background: #0b0b0c;
  color: #f7f4f2;
}

.brand-banner-stage {
  position: absolute;
  inset: 0;
}

.brand-banner-lottie {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.brand-banner-lottie.is-ready {
  opacity: 1;
}

.brand-banner-lottie svg {
  display: block;
}

/* Scrim so the overlay copy stays readable over the brighter lower slides */
.brand-banner::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: auto 0 0 0;
  height: 55%;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.82) 100%);
  pointer-events: none;
}

.brand-banner-copy {
  position: absolute;
  z-index: 2;
  left: clamp(20px, 6vw, 96px);
  right: clamp(20px, 6vw, 96px);
  bottom: clamp(28px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.brand-banner-eyebrow {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.brand-banner-text {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.92;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.brand-banner-sub {
  margin: 0;
  max-width: 42ch;
  font-size: clamp(0.95rem, 1.1vw, 1.1rem);
  color: rgba(247, 244, 242, 0.82);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.brand-banner-cta {
  margin-top: 6px;
  padding: 14px 30px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease;
}

.brand-banner-cta:hover {
  transform: translateY(-2px);
  background: #fff;
}


/* ── Hero ─────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: minmax(280px, 520px) 1fr;
  gap: 40px;
  align-items: center;
  padding: clamp(32px, 6vw, 72px) clamp(18px, 4vw, 42px);
  max-width: 1280px;
  margin: 0 auto;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 10px;
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1.08;
  margin: 0 0 16px;
}

.hero-text {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 460px;
  margin: 0 0 26px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-pills span {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}

.hero-showcase {
  display: grid;
  gap: 18px;
}

.feature-card {
  position: relative;
  background: var(--card);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.feature-card.large {
  min-height: 260px;
}

.feature-card h2 {
  font-size: 1.4rem;
  margin: 10px 0 6px;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 220px;
  margin: 0 0 10px;
}

.feature-card strong {
  font-size: 1.1rem;
}

.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent-3);
  color: #4a3a12;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.tag.alt {
  background: var(--accent);
  color: #fff;
}

.feature-image {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 46%;
  max-width: 220px;
}

/* ── Ticker ───────────────────────────── */
.ticker {
  overflow: hidden;
  background: var(--accent-2);
  padding: 14px 0;
}

.ticker div {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  animation: scroll-ticker 18s linear infinite;
}

.ticker span {
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

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

/* ── Countdown ────────────────────────── */
.countdown-section {
  padding: clamp(36px, 5vw, 60px) 20px;
  text-align: center;
}

.countdown-label {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 22px;
}

.countdown-timer {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.time-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 82px;
  padding: 16px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.time-block span {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.time-block small {
  margin-top: 6px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.cd-sep {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 16px;
}

@media (max-width: 480px) {
  .time-block { min-width: 64px; padding: 12px 12px; }
  .time-block span { font-size: 1.9rem; }
}

/* ── Sale ticker (red/black) ──────────── */
.sale-ticker {
  overflow: hidden;
  background: var(--accent);
  border-top: 3px solid var(--accent-2);
  border-bottom: 3px solid var(--accent-2);
  padding: 12px 0;
}

.sale-ticker-track {
  display: flex;
  align-items: center;
  gap: 44px;
  width: max-content;
  white-space: nowrap;
  animation: saleScroll 20s linear infinite;
}

.sale-ticker span {
  color: var(--accent-2);
  font-weight: 900;
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

@media (prefers-reduced-motion: reduce) {
  .sale-ticker-track { animation: none; }
}

/* ── Sections ─────────────────────────── */
.section {
  padding: clamp(40px, 6vw, 80px) clamp(18px, 4vw, 42px);
  max-width: 1280px;
  margin: 0 auto;
}

.section-heading {
  margin-bottom: 32px;
}

.section-heading h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0;
  max-width: 640px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}

/* ── Featured auto-slider ─────────────── */
.featured-slider {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
}

.featured-track {
  display: flex;
  gap: 22px;
  width: max-content;
  padding: 6px 4px 16px;
  animation: featScroll 34s linear infinite;
}

.featured-slider:hover .featured-track {
  animation-play-state: paused;
}

.featured-track .product-card {
  flex: 0 0 clamp(300px, 32vw, 420px);
}

/* Cleaner, boxless cards inside the sliders so the product dominates */
.featured-track .product-card,
.product-track .product-card {
  background: transparent;
  box-shadow: none;
  padding: 10px;
}

.featured-track .badge {
  top: 10px;
  left: 10px;
}

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

/* Reverse-direction variant for alternating rows */
.featured-track.reverse {
  animation-name: featScrollRev;
}

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

/* ── Category product rows ────────────── */
.cat-row {
  margin-top: 40px;
}

.cat-row:first-of-type {
  margin-top: 0;
}

.cat-row-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.cat-row-head h3 {
  font-size: 1.35rem;
  font-weight: 800;
}

@media (prefers-reduced-motion: reduce) {
  .featured-track { animation: none; }
}

/* ── Category auto-slider ─────────────── */
.cat-slider {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
}

.cat-track {
  display: flex;
  gap: 24px;
  width: max-content;
  padding: 6px 4px 12px;
  animation: catScroll 30s linear infinite;
}

.cat-slider:hover .cat-track {
  animation-play-state: paused;
}

.cat-card {
  flex: 0 0 clamp(150px, 17vw, 190px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: transform 0.2s;
}

.cat-card:hover {
  transform: translateY(-4px);
}

.cat-img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--card);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  padding: 0;
  overflow: hidden;
}

.cat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: transform 0.3s;
}

.cat-card:hover .cat-img img {
  transform: scale(1.08) rotate(-4deg);
}

.cat-card span {
  font-weight: 700;
  font-size: 0.95rem;
}

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

@media (prefers-reduced-motion: reduce) {
  .cat-track { animation: none; }
}

/* ── Product slider ───────────────────── */
.slider-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.slider-nav {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.slider-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: background 0.15s, color 0.15s, transform 0.15s;
}

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

.slider-btn:disabled {
  opacity: 0.35;
  cursor: default;
  transform: none;
}

.product-slider {
  overflow: hidden;
}

.product-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 4px 16px;
  scrollbar-width: none;
}

.product-track::-webkit-scrollbar {
  display: none;
}

.product-track .product-card {
  flex: 0 0 clamp(300px, 32vw, 420px);
  scroll-snap-align: start;
}

.product-card {
  position: relative;
  background: var(--card);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow);
  perspective: 900px;
  transition: transform 0.2s;
}

.product-card:hover {
  transform: translateY(-4px);
}

.product-visual {
  width: 100%;
  height: clamp(240px, 26vw, 360px);
  object-fit: cover;
  border-radius: 14px;
  background: #f0f0f0;
  margin-bottom: 16px;
}

.product-card:hover .product-visual {
  animation: spin360 1.4s ease-in-out;
}

@keyframes spin360 {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .product-card:hover .product-visual { animation: none; }
}

.badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-2);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.product-card h3 {
  font-size: 1.05rem;
  margin: 0 0 6px;
}

.product-card p {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0 0 14px;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-footer strong {
  font-size: 1.05rem;
}

/* ── Split band (collections) ────────── */
.split-band {
  display: grid;
  grid-template-columns: minmax(260px, 400px) 1fr;
  gap: 40px;
  align-items: center;
}

.split-copy h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 14px;
}

.split-copy p {
  color: var(--muted);
}

.collection-list {
  display: grid;
  gap: 14px;
}

.collection-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--card);
  border-radius: 16px;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}

.collection-card:hover {
  transform: translateX(6px);
}

.collection-card span {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent);
  min-width: 34px;
}

.collection-card strong {
  display: block;
  font-size: 1.05rem;
}

.collection-card small {
  color: var(--muted);
  font-size: 0.85rem;
}

/* ── Promo band (deals) ──────────────── */
.promo-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--accent-2);
  color: #fff;
  border-radius: 26px;
}

.promo-band h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 10px;
}

.promo-band p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 480px;
  margin: 0;
}

/* ── Footer ───────────────────────────── */
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding: 26px clamp(18px, 4vw, 42px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer a:hover {
  color: var(--ink);
}

/* ── Responsive ───────────────────────── */
@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr;
  }
  .nav-links,
  .header-action {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .split-band {
    grid-template-columns: 1fr;
  }
  .promo-band {
    text-align: center;
    justify-content: center;
  }
}

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