/**
 * Color-forward Sen Computer homepage.
 * Cinematic techniques: layered hero, masked text reveal, restrained parallax,
 * staggered product entrances, and a floating promotion seal.
 */

:root {
  --sc-ink: #151515;
  --sc-muted: #696a70;
  --sc-paper: #fffefb;
  --sc-soft: #f3f5f4;
  --sc-line: #dedfdc;
  --sc-coral: #ff6847;
  --sc-coral-soft: #ffe2d9;
  --sc-cyan: #30c5d8;
  --sc-cyan-soft: #d8f6f7;
  --sc-yellow: #ffd84d;
  --sc-yellow-soft: #fff4bf;
  --sc-green: #65d2a3;
  --sc-green-soft: #dcf6e9;
  --sc-lilac: #9b8df4;
  --sc-lilac-soft: #ebe7ff;
  --sc-blue: #4f76e8;
  --sc-blue-soft: #e1e8ff;
}

.home-page {
  background: var(--sc-paper);
  color: var(--sc-ink);
}

.home-page .modal,
.home-page .notification-toast { display: none; }

.sc-skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 9999;
  padding: 10px 14px;
  background: var(--sc-ink);
  color: #fff;
  border-radius: 6px;
  transform: translateY(-160%);
  opacity: 0;
  visibility: hidden;
}

.sc-skip-link:focus-visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.home-page .header-top {
  background: var(--sc-ink);
  border: 0;
  color: #fff;
}

.home-page .header-top .social-link,
.home-page .header-alert-news,
.home-page .header-top-actions select {
  color: #fff;
  background: transparent;
  border: 0;
}

.home-page .footer-category { display: none; }

.home-page .header-main {
  padding-block: 16px;
  border-bottom-color: var(--sc-line);
  background: var(--sc-paper);
}

.home-page .header-search-container {
  border: 1px solid var(--sc-line);
  border-radius: 6px;
  background: #f7f7f4;
}

.home-page .search-field { padding-block: 12px; }
.home-page .search-btn { color: var(--sc-ink); }

.home-page .header-user-actions .action-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--sc-line);
  border-radius: 6px;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.home-page .header-user-actions .action-btn:hover {
  background: var(--sc-coral);
  border-color: var(--sc-coral);
  color: #151515;
  transform: translateY(-2px);
}

.home-page .header-user-actions .count { background: var(--sc-coral); }

.home-page .desktop-navigation-menu {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--sc-line);
  background: var(--sc-paper);
  transition: box-shadow 240ms ease-out, background 240ms ease-out;
}
.home-page .desktop-navigation-menu.is-scrolled {
  background: hsla(45, 60%, 99%, 0.85);
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  box-shadow: 0 8px 24px rgba(21, 21, 21, 0.06);
}

.home-page .desktop-menu-category-list { position: relative; gap: 34px; }

.home-page .desktop-menu-category-list .menu-category > .menu-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-block: 15px;
  color: var(--sc-ink);
  letter-spacing: 0;
  text-transform: none;
  transition: color 200ms ease-out, transform 180ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.home-page .desktop-menu-category-list .menu-category > .menu-title:hover { transform: translateY(-1px); }

/* Per-item underline gives way to the single sliding pill below (data-nav-indicator);
   kept transparent rather than removed so nothing shifts if JS fails to load. */
.home-page .desktop-menu-category-list .menu-category > .menu-title::after { background: transparent; }

.nav-indicator {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--sc-coral), #ff8a68);
  border-radius: 2px;
  opacity: 0;
  transition: transform 340ms cubic-bezier(0.22, 1, 0.36, 1), width 340ms cubic-bezier(0.22, 1, 0.36, 1), opacity 200ms ease-out;
  pointer-events: none;
}
.nav-indicator.is-visible { opacity: 1; }

.nav-badge {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sc-coral);
  animation: sc-nav-badge-pulse 1.8s ease-in-out infinite;
}
@keyframes sc-nav-badge-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.6); opacity: 0.55; }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .desktop-menu-category-list .menu-category > .menu-title:hover { transform: none; }
  .nav-indicator { transition-duration: 1ms; }
  .nav-badge { animation: none; }
}

/* Mega-menu entrance: shorter travel + coral-tinted shadow, feels lighter
   than the template's default 50px slide. */
.home-page .dropdown-panel {
  transform: translateY(14px) scale(0.98);
  box-shadow: 0 20px 40px rgba(255, 104, 71, 0.12), 0 4px 12px rgba(21, 21, 21, 0.06);
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1), opacity 220ms ease-out, visibility 280ms;
}
.home-page .desktop-menu-category-list .menu-category:hover > .dropdown-panel {
  transform: translateY(0) scale(1);
}

.sc-home * { box-sizing: border-box; }
.sc-home { overflow: clip; }

.sc-home section {
  position: relative;
  padding: 76px 0;
}

.sc-home .sc-container {
  width: min(100% - 40px, 1240px);
  margin-inline: auto;
}

.sc-scene { isolation: isolate; }
.sc-depth-0 { z-index: 0; }
.sc-depth-2 { z-index: 2; }
.sc-depth-3 { position: relative; z-index: 3; }
.sc-depth-4 { position: relative; z-index: 4; }
.sc-depth-5 { z-index: 5; }

.sc-eyebrow {
  margin-bottom: 9px;
  color: #b83219;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.sc-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.sc-section-head h2 {
  color: var(--sc-ink);
  font-size: 2.1rem;
  line-height: 1.12;
  letter-spacing: -0.015em;
}

.sc-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--sc-ink);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.sc-link-arrow .sc-icon { font-size: 16px; transition: transform 180ms ease; }
.sc-link-arrow:hover .sc-icon { transform: translateX(4px); }

.sc-btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.sc-btn:hover { transform: translateY(-2px); }
.sc-btn:active { transform: scale(0.98); }
.sc-btn--primary { background: var(--sc-coral); color: #151515; box-shadow: 0 10px 20px rgba(213, 70, 41, 0.2); }
.sc-btn--secondary { background: #fff; color: var(--sc-ink); border-color: #bdbdb8; }
.sc-btn--dark { background: var(--sc-ink); color: #fff; }

.sc-home a:focus-visible,
.sc-home button:focus-visible {
  outline: 3px solid var(--sc-blue);
  outline-offset: 3px;
}

/* Hero */
.sc-home .sc-hero {
  min-height: 620px;
  display: flex;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
  background: #f5f0ea;
}

.sc-layer { position: absolute; inset: 0; pointer-events: none; }

/* Background carousel — 3 real product/lifestyle photos crossfading as a
   full-bleed background behind the hero copy. Pure CSS (no JS): each slide
   gets an 18s cycle staggered by 6s so exactly one is visible at a time. */
.sc-hero-carousel { background: #151110; overflow: hidden; }

.sc-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: sc-hero-crossfade 18s ease-in-out infinite;
}
.sc-hero-slide--1 { animation-delay: 0s; }
.sc-hero-slide--2 { animation-delay: 6s; }
.sc-hero-slide--3 { animation-delay: 12s; }

@keyframes sc-hero-crossfade {
  0% { opacity: 0; }
  4% { opacity: 1; }
  30% { opacity: 1; }
  34% { opacity: 0; }
  100% { opacity: 0; }
}

.sc-hero-slide-visual { position: absolute; inset: 0; overflow: hidden; }

.sc-hero-slide-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.sc-hero-slide--2 .sc-hero-slide-visual img { object-position: 70% center; }
.sc-hero-slide--3 .sc-hero-slide-visual img { object-position: center 35%; }

/* Ink-toned scrim over the full-bleed photo: strongest on the left where the
   copy sits (for legibility), fading out toward the right so the photo still
   reads, plus a soft bottom vignette so the "Découvrir" marker stays legible
   regardless of which slide is showing. */
.sc-hero-scrim {
  background:
    linear-gradient(180deg, transparent 55%, rgba(16, 13, 12, 0.55) 100%),
    linear-gradient(100deg, rgba(16, 13, 12, 0.92) 0%, rgba(16, 13, 12, 0.78) 26%, rgba(16, 13, 12, 0.42) 48%, rgba(16, 13, 12, 0.1) 70%, transparent 86%);
}

.sc-hero-geometry { overflow: hidden; }

.sc-shape {
  position: absolute;
  display: block;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  filter: blur(30px);
  opacity: 0.5;
  animation: sc-shape-drift 9s ease-in-out infinite;
}

.sc-shape--cyan { left: 1%; top: 6%; background: var(--sc-cyan); }
.sc-shape--yellow { left: 40%; bottom: 4%; width: 90px; height: 90px; background: var(--sc-yellow); animation-delay: -4s; }

@keyframes sc-shape-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(14px, -10px) scale(1.08); }
}

.sc-hero-content {
  min-height: 660px;
  display: flex;
  align-items: center;
  padding-block: 76px;
}

.sc-hero-copy { width: min(48%, 540px); display: grid; gap: 26px; }

.sc-hero-copy .sc-eyebrow { margin-bottom: 0; color: var(--sc-yellow); }

.sc-hero-copy h1 {
  margin-bottom: 0;
  color: #fff;
  font-size: 3.45rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.sc-hero-copy h1 em { color: var(--sc-yellow); font-style: normal; }

.sc-hero-lead {
  max-width: 500px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1rem;
  line-height: 1.7;
}

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

.sc-hero-proof { display: flex; align-items: center; gap: 13px; color: rgba(255, 255, 255, 0.82); font-size: 0.76rem; }
.sc-hero-proof strong { color: #fff; }
.sc-proof-avatars { display: flex; }
.sc-proof-avatars i {
  width: 28px;
  height: 28px;
  margin-left: -7px;
  border: 2px solid rgba(16, 13, 12, 0.85);
  border-radius: 50%;
  background: var(--sc-cyan);
}
.sc-proof-avatars i:nth-child(2) { background: var(--sc-coral); }
.sc-proof-avatars i:nth-child(3) { background: var(--sc-yellow); }
.sc-proof-avatars i:nth-child(4) { background: var(--sc-green); }
.sc-proof-avatars i:first-child { margin-left: 0; }

.sc-hero-floats { position: absolute; inset: 0; pointer-events: none; }

.sc-hero-product {
  position: absolute;
  pointer-events: none;
  width: 154px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 4px 12px rgba(217, 108, 55, 0.1), 0 20px 40px -8px rgba(21, 21, 21, 0.14);
  animation: sc-float 8s cubic-bezier(0.45, 0, 0.55, 1) infinite;
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 260ms ease;
}

.sc-hero-product img { width: 54px; height: 64px; object-fit: cover; border-radius: 5px; }
.sc-hero-product span { display: grid; gap: 3px; }
.sc-hero-product strong { color: var(--sc-ink); font-size: 0.66rem; }
.sc-hero-product small { color: var(--sc-muted); font-size: 0.55rem; }
.sc-hero-product--top { top: 15%; right: 3%; }
.sc-hero-product--bottom { right: 1.5%; bottom: 11%; animation-delay: -2.5s; }

.sc-hero-marker {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: color 180ms ease;
  color: rgba(255, 255, 255, 0.75);
}

.sc-hero-marker:hover { color: #fff; }
.sc-hero-marker .sc-icon { font-size: 16px; animation: sc-marker-bounce 1.8s ease-in-out infinite; }

@keyframes sc-marker-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

@keyframes sc-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-11px) rotate(-1deg); }
}

/* Trust band */
.sc-home .sc-trust-bar { padding: 30px 0; border-block: 1px solid var(--sc-line); overflow: hidden; }
.sc-band-bg { position: absolute; inset: 0; background: #fff; }
.sc-band-rule { position: absolute; inset: auto 0 0; height: 4px; background: var(--sc-cyan); }
.sc-trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }

.sc-trust-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  padding: 12px 16px;
  border-radius: 12px;
  transition: background 220ms ease, transform 220ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 220ms ease;
}
.sc-trust-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 28px;
  background: var(--sc-line);
}
.sc-trust-item:hover {
  background: #f7f4ee;
  transform: translateY(-3px);
  box-shadow: 0 14px 26px -16px rgba(21, 21, 21, 0.22);
}

.sc-trust-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--sc-ink);
  transition: transform 320ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.sc-trust-item:hover .sc-trust-icon { transform: scale(1.08); }
.sc-trust-icon .sc-icon { font-size: 20px; display: block; }

.sc-trust-item:hover .sc-tone-coral .sc-icon { animation: sc-trust-drive 0.65s ease; }
.sc-trust-item:hover .sc-tone-cyan .sc-icon { animation: sc-trust-lock 0.55s ease; }
.sc-trust-item:hover .sc-tone-yellow .sc-icon { animation: sc-trust-spin 0.6s ease; }
.sc-trust-item:hover .sc-tone-green .sc-icon { animation: sc-trust-ring 0.65s ease; }

@keyframes sc-trust-drive {
  0%, 100% { transform: translateX(0); }
  35% { transform: translateX(4px); }
  65% { transform: translateX(-1px); }
}
@keyframes sc-trust-lock {
  0%, 100% { transform: rotate(0deg) scale(1); }
  25% { transform: rotate(-10deg) scale(1.05); }
  55% { transform: rotate(7deg) scale(1.05); }
  80% { transform: rotate(-3deg) scale(1); }
}
@keyframes sc-trust-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes sc-trust-ring {
  0%, 100% { transform: rotate(0deg); }
  20% { transform: rotate(-14deg); }
  40% { transform: rotate(11deg); }
  60% { transform: rotate(-7deg); }
  80% { transform: rotate(3deg); }
}

.sc-tone-coral { background: var(--sc-coral-soft); }
.sc-tone-cyan { background: var(--sc-cyan-soft); }
.sc-tone-yellow { background: var(--sc-yellow-soft); }
.sc-tone-green { background: var(--sc-green-soft); }
.sc-trust-copy { display: grid; gap: 3px; min-width: 0; }
.sc-trust-item strong { color: var(--sc-ink); font-size: 0.78rem; font-weight: 700; }
.sc-trust-item small { color: var(--sc-muted); font-size: 0.64rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Shared section backgrounds */
.sc-section-wash,
.sc-products-bg,
.sc-new-bg { position: absolute; inset: 0; background: var(--sc-paper); }
.sc-products-bg { background: #f0f5f4; }
.sc-new-bg { background: #fff9e8; }
.sc-section-index { position: absolute; top: 28px; right: 24px; color: #a9aaa7; font-size: 0.6rem; font-weight: 700; }
.sc-products-stripe { position: absolute; top: 0; left: 0; width: 92px; height: 6px; background: var(--sc-cyan); }
.sc-new-line { position: absolute; inset: 0 auto 0 0; width: 6px; background: var(--sc-yellow); }

/* Categories */
.sc-category-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.sc-category-card {
  min-width: 0;
  overflow: hidden;
  position: relative;
  background: #fff;
  border: 1px solid rgba(21, 21, 21, 0.08);
  border-radius: 8px;
  color: var(--sc-ink);
  box-shadow: 0 1px 2px rgba(21, 21, 21, 0.04), 0 6px 16px rgba(21, 21, 21, 0.04);
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 220ms ease;
}
.sc-category-card:hover { transform: translateY(-6px); box-shadow: 0 16px 28px rgba(21, 21, 21, 0.1); }
.sc-category-card img { width: 100%; height: 150px; display: block; object-fit: cover; background: #fff; border-bottom: 1px solid rgba(21, 21, 21, 0.08); transition: transform 280ms ease; }
.sc-category-card:hover img { transform: scale(1.04); }
.sc-category-card > span { display: grid; gap: 2px; padding: 13px 12px 14px; }
.sc-category-card strong { font-size: 0.78rem; }
.sc-category-card small { color: #55565b; font-size: 0.58rem; }
.sc-category-card > .sc-icon { position: absolute; right: 10px; bottom: 14px; font-size: 16px; color: var(--sc-muted); transition: color 220ms ease; }
.sc-category-card:hover > .sc-icon { color: var(--sc-coral); }

/* Product grid */
.sc-product-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }

/* Live-loaded sections (best-sellers, new arrivals) — skeleton while
   fetching, honest empty-state text if the query genuinely has nothing. */
.pp-skeleton-block {
  background: linear-gradient(90deg, var(--cultured) 25%, #f7f7f8 37%, var(--cultured) 63%);
  background-size: 400% 100%;
  animation: sc-shimmer 1.4s ease infinite;
  border-radius: 16px;
}
@keyframes sc-shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
.sc-empty-note { text-align: center; padding: 32px 20px; color: var(--sc-muted); font-size: var(--fs-8); }
.sc-empty-note[hidden] { display: none; }
.sc-product-card { min-width: 0; padding: 10px; border: 1px solid var(--sc-line); border-radius: 8px; background: #fff; box-shadow: 0 1px 2px rgba(21, 21, 21, 0.04), 0 8px 20px rgba(21, 21, 21, 0.04); transition: transform 220ms ease, box-shadow 220ms ease; }
.sc-product-card:hover { transform: translateY(-6px); box-shadow: 0 18px 32px rgba(21, 21, 21, 0.1); }
.sc-product-media { position: relative; height: 205px; overflow: hidden; border: 1px solid #e8e8e4; border-radius: 6px; background: #fff; }
.sc-product-media::after { content: ""; position: absolute; inset: auto 0 0; height: 5px; background: var(--sc-coral); }
.sc-media-cyan::after { background: var(--sc-cyan); }
.sc-media-yellow::after { background: var(--sc-yellow); }
.sc-media-mint::after { background: var(--sc-green); }
.sc-media-lilac::after { background: var(--sc-lilac); }
.sc-product-media-link { display: block; width: 100%; height: 100%; }
.sc-product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 280ms ease; }
.sc-product-card:hover .sc-product-media img { transform: scale(1.045) translateY(-2px); }
.sc-product-badge,
.sc-product-media > .promo-badge { position: absolute; top: 8px; left: 8px; z-index: 4; padding: 5px 7px; border-radius: 4px; background: var(--sc-coral); color: #151515; font-size: 0.54rem; font-weight: 800; }
.sc-product-badge--dark { background: var(--sc-ink); color: #fff; }
.sc-wishlist-btn { position: absolute; top: 8px; right: 8px; z-index: 4; width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--sc-line); border-radius: 6px; background: #fff; color: var(--sc-ink); }
.sc-wishlist-btn.is-active { background: var(--sc-coral); border-color: var(--sc-coral); }

/* Reduction / soldes price pairing dropped into the new sc-product-footer layout */
.sc-product-footer { flex-wrap: wrap; }
.sc-product-footer .promo-price-display { margin-top: 0; min-width: 0; }
.sc-product-footer .promo-price-display .promo-price-old { font-size: 0.6rem; }
.sc-product-footer .promo-price-display .promo-price-new { font-size: 0.72rem; color: var(--sc-ink); }
.sc-product-cat { margin-top: 11px; color: var(--sc-muted); font-size: 0.58rem; text-transform: uppercase; }
.sc-product-card h3 { min-height: 36px; margin-top: 3px; color: var(--sc-ink); font-size: 0.78rem; line-height: 1.35; }

.sc-product-link {
  color: inherit;
  text-decoration: none;
  transition: color 160ms ease;
}
.sc-product-link:hover { color: var(--sc-coral); text-decoration: underline; }
.sc-product-link:focus-visible { outline: 2px solid var(--sc-blue); outline-offset: 2px; border-radius: 2px; }

[data-product-slug] { cursor: pointer; }
.sc-product-rating { display: flex; align-items: center; gap: 5px; margin-block: 7px 10px; }
.sc-product-rating span { color: #e24d26; font-size: 0.65rem; }
.sc-product-rating small { color: var(--sc-muted); font-size: 0.55rem; }
.sc-product-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sc-product-footer strong { color: var(--sc-ink); font-size: 0.72rem; }
.sc-add-cart-btn { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; border-radius: 6px; background: var(--sc-ink); color: #fff; transition: background 160ms ease, transform 160ms ease; }
.sc-add-cart-btn:hover,
.sc-add-cart-btn.is-added { background: var(--sc-coral); color: var(--sc-ink); }

/* Flash */
.sc-home .sc-flash { min-height: 440px; padding: 0; overflow: hidden; background: var(--sc-coral); }
.sc-flash-bg { position: absolute; inset: 0; background: var(--sc-coral); }

/* Real promoted-product photos crossfading full-bleed behind the copy.
   Slide count is data-driven (JS builds one per distinct promo image), so
   the fade is class-toggled with a CSS transition rather than keyframed —
   works whether there's 1 photo (static) or 5 (slow crossfade). */
.sc-flash-photos { position: absolute; inset: 0; overflow: hidden; }
.sc-flash-photo-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease-in-out; overflow: hidden; }
.sc-flash-photo-slide.is-active { opacity: 1; }
.sc-flash-photo-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* Continuous Ken Burns drift — the background always reads as "alive"
     even when only one real promoted photo exists to show. */
  animation: sc-flash-photo-drift 9s ease-in-out infinite alternate;
}
@keyframes sc-flash-photo-drift {
  0% { transform: scale(1.06) translate(0, 0); }
  100% { transform: scale(1.22) translate(-3.5%, -3%); }
}

/* Coral-tinted scrim: keeps the flash-sale brand color legible over
   whatever photo is showing, strongest on the left where the copy sits. */
.sc-flash-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 55%, rgba(93, 24, 9, 0.45) 100%),
    linear-gradient(100deg, var(--sc-coral) 0%, rgba(255, 104, 71, 0.96) 30%, rgba(255, 104, 71, 0.74) 55%, rgba(255, 104, 71, 0.4) 74%, rgba(255, 104, 71, 0.16) 90%);
}

.sc-flash-type { position: absolute; right: -20px; top: -34px; color: rgba(255, 255, 255, 0.18); font-size: 9rem; font-weight: 900; line-height: 1; }
.sc-flash-layout { min-height: 440px; display: grid; grid-template-columns: 1fr 340px 1fr; align-items: center; gap: 30px; }
.sc-flash-copy { max-width: 460px; }
.sc-flash-copy .sc-eyebrow { color: #5d1809; display: inline-flex; align-items: center; gap: 7px; }
.sc-flash-copy .sc-eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5d1809;
  animation: sc-flash-dot 1.4s ease-in-out infinite;
}
@keyframes sc-flash-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.7); }
}
.sc-flash-copy h2 { margin-bottom: 13px; color: var(--sc-ink); font-size: 2.65rem; line-height: 1.05; letter-spacing: -0.02em; }
.sc-flash-copy p { max-width: 440px; margin-bottom: 23px; color: #5d261b; line-height: 1.65; }

.sc-flash-depth { width: 330px; height: 330px; }
.sc-flash-product-frame {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 8px solid #fff;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 40px rgba(80, 26, 14, 0.18);
  transform: rotate(-4deg);
  transition: transform 340ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 340ms ease;
}
.sc-flash-product-frame:hover {
  transform: rotate(0deg) translateY(-6px);
  box-shadow: 0 32px 52px rgba(80, 26, 14, 0.28);
}
.sc-flash-product { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 420ms ease; }
.sc-flash-product-frame:hover .sc-flash-product { transform: scale(1.06); }

.sc-flash-timer { display: grid; gap: 12px; }

.sc-countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
.sc-countdown > span {
  position: relative;
  min-width: 0;
  padding: 13px 4px;
  border: 1px solid rgba(21, 21, 21, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 22px -10px rgba(21, 21, 21, 0.4);
  text-align: center;
  perspective: 120px;
  overflow: hidden;
  transition: background 200ms ease, transform 200ms ease;
}
.sc-countdown > span.is-pulsing { animation: sc-countdown-card-pulse 520ms ease; }
@keyframes sc-countdown-card-pulse {
  0% { background: rgba(255, 216, 77, 0.65); }
  100% { background: rgba(255, 255, 255, 0.94); }
}
.sc-countdown > span:not(:last-child)::after {
  content: ':';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-54%);
  color: rgba(255, 255, 255, 0.75);
  font-weight: 800;
  font-size: 1.1rem;
}
.sc-countdown strong {
  display: block;
  color: var(--sc-ink);
  font-size: 1.65rem;
  font-variant-numeric: tabular-nums;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}
.sc-countdown strong.is-tick { animation: sc-countdown-flip 560ms cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes sc-countdown-flip {
  0% { transform: rotateX(-100deg) translateY(8px); opacity: 0; }
  55% { transform: rotateX(14deg); opacity: 1; }
  100% { transform: rotateX(0deg); opacity: 1; }
}
.sc-countdown small { color: #67281c; font-size: 0.56rem; text-transform: uppercase; }

/* Linear countdown bar: a single CSS transition driven from JS, animating
   smoothly (not stepped per-second) from the real remaining fraction to 0%
   over the exact time left until prixPromoFin. */
.sc-flash-progress {
  height: 6px;
  border-radius: 999px;
  background: rgba(93, 24, 9, 0.28);
  overflow: hidden;
}
.sc-flash-progress-fill {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--sc-yellow), var(--sc-ink));
}

.sc-flash-ongoing {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border: 1px solid rgba(21, 21, 21, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 22px -10px rgba(21, 21, 21, 0.4);
  color: var(--sc-ink);
  font-size: 0.72rem;
  font-weight: 700;
}
.sc-flash-ongoing .sc-icon { font-size: 16px; color: #5d1809; }

.sc-flash-seal {
  position: absolute;
  right: 25%;
  bottom: 24px;
  width: 80px;
  height: 80px;
  display: grid;
  place-content: center;
  border-radius: 50%;
  background: var(--sc-yellow);
  color: var(--sc-ink);
  text-align: center;
  transform: rotate(8deg);
  box-shadow: 0 14px 28px -8px rgba(21, 21, 21, 0.3);
  animation: sc-flash-seal-pulse 2.6s ease-in-out infinite;
}
@keyframes sc-flash-seal-pulse {
  0%, 100% { transform: rotate(8deg) scale(1); }
  50% { transform: rotate(8deg) scale(1.06); }
}
.sc-flash-seal strong { font-size: 1.25rem; line-height: 1; }
.sc-flash-seal span { font-size: 0.52rem; font-weight: 800; }

/* Best sellers and promos */
.sc-best-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sc-best-card { min-width: 0; display: grid; grid-template-columns: 45% 1fr; align-items: center; gap: 14px; min-height: 220px; padding: 13px; border: 1px solid rgba(21, 21, 21, 0.1); border-radius: 8px; }
.sc-best-card--yellow { background: var(--sc-yellow-soft); }
.sc-best-card--cyan { background: var(--sc-cyan-soft); }
.sc-best-card--coral { background: var(--sc-coral-soft); }
.sc-best-card img { width: 100%; height: 180px; object-fit: cover; border-radius: 6px; background: #fff; }
.sc-best-card div { display: grid; justify-items: start; }
.sc-best-card span { margin-bottom: 5px; color: #8c2b16; font-size: 0.56rem; font-weight: 800; text-transform: uppercase; }
.sc-best-card h3 { margin-bottom: 7px; color: var(--sc-ink); font-size: 1rem; }
.sc-best-card p { margin-bottom: 11px; color: #55565b; font-size: 0.64rem; line-height: 1.5; }
.sc-best-card strong { margin-bottom: 12px; color: var(--sc-ink); font-size: 0.72rem; }
.sc-best-card button { padding: 8px 10px; border-radius: 5px; background: var(--sc-ink); color: #fff; font-size: 0.6rem; font-weight: 700; }

.sc-promo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.sc-promo-panel { position: relative; min-height: 290px; display: grid; grid-template-columns: 1fr 44%; align-items: center; overflow: hidden; padding: 30px; border-radius: 8px; transition: transform 220ms ease, box-shadow 220ms ease; }
.sc-promo-panel:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(21, 21, 21, 0.16); }
.sc-promo-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(115deg, hsla(0, 0%, 100%, 0.1) 0px, hsla(0, 0%, 100%, 0.1) 2px, transparent 2px, transparent 46px);
  pointer-events: none;
}
.sc-promo-panel--coral { background: linear-gradient(135deg, #ff7a5c, var(--sc-coral) 65%); color: var(--sc-ink); }
.sc-promo-panel--ink { background: linear-gradient(135deg, #232323, var(--sc-ink) 65%); color: #fff; }
.sc-promo-panel > div { position: relative; z-index: 1; }
.sc-promo-panel small { display: block; margin-bottom: 8px; font-size: 0.6rem; font-weight: 700; text-transform: uppercase; }
.sc-promo-panel h3 { margin-bottom: 20px; font-size: 2rem; line-height: 1.05; letter-spacing: -0.015em; }
.sc-promo-panel span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 18px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.sc-promo-panel--coral span { background: var(--sc-ink); color: #fff; }
.sc-promo-panel--ink span { background: #fff; color: var(--sc-ink); }
.sc-promo-panel:hover span { transform: translateX(3px); }
.sc-promo-panel img { position: relative; z-index: 1; width: 100%; height: 240px; object-fit: cover; border: 5px solid #fff; border-radius: 6px; background: #fff; transform: rotate(3deg); transition: transform 240ms ease; }
.sc-promo-panel:hover img { transform: rotate(0) scale(1.03); }

/* Compact arrivals */
.sc-mini-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.sc-mini-card { min-width: 0; display: grid; grid-template-columns: 92px 1fr 34px; align-items: center; gap: 12px; padding: 10px; border: 1px solid #e5dcae; border-radius: 8px; background: #fff; }
.sc-mini-card img { width: 92px; height: 102px; object-fit: cover; border-radius: 5px; background: #fff; }
.sc-mini-card div { min-width: 0; }
.sc-mini-card small { color: var(--sc-muted); font-size: 0.52rem; text-transform: uppercase; }
.sc-mini-card h3 { margin-block: 3px 6px; color: var(--sc-ink); font-size: 0.7rem; line-height: 1.25; }
.sc-mini-card strong { color: var(--sc-ink); font-size: 0.64rem; }
.sc-mini-card button { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 6px; background: var(--sc-yellow); color: var(--sc-ink); }

.sc-cart-status {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 900;
  max-width: min(360px, calc(100vw - 40px));
  padding: 12px 16px;
  border-radius: 6px;
  background: var(--sc-ink);
  color: #fff;
  font-size: 0.74rem;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.2);
}

.sc-reveal { opacity: 0; transform: translateY(22px); }

@media (max-width: 1180px) {
  .sc-category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sc-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sc-mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sc-hero-product { display: none; }
  .sc-flash-layout { grid-template-columns: 1fr 280px 1fr; }
  .sc-flash-depth { width: 270px; height: 290px; }
}

@media (max-width: 900px) {
  .sc-home section { padding: 62px 0; }
  .sc-home .sc-container { width: min(100% - 32px, 760px); }
  .sc-hero-slide--2 .sc-hero-slide-visual img,
  .sc-hero-slide--3 .sc-hero-slide-visual img { object-position: center 30%; }
  .sc-hero-scrim {
    background:
      linear-gradient(0deg, rgba(16, 13, 12, 0.92) 0%, rgba(16, 13, 12, 0.82) 42%, rgba(16, 13, 12, 0.4) 68%, rgba(16, 13, 12, 0.12) 88%, transparent 100%);
  }
  .sc-home .sc-hero { min-height: 780px; }
  .sc-hero-content { min-height: 780px; align-items: flex-end; padding-bottom: 54px; }
  .sc-hero-copy { width: 100%; max-width: 610px; }
  .sc-hero-copy h1 { font-size: 2.75rem; }
  .sc-hero-lead { max-width: 570px; }
  .sc-hero-marker { display: none; }
  .sc-trust-grid { grid-template-columns: repeat(2, 1fr); }
  .sc-trust-item::after { display: none; }
  .sc-best-grid { grid-template-columns: 1fr; }
  .sc-flash-layout { grid-template-columns: 1fr 280px; padding-block: 52px; }
  .sc-countdown { grid-column: 1 / -1; }
  .sc-flash-seal { right: 28px; top: 24px; bottom: auto; }
  .sc-promo-panel { min-height: 250px; padding: 24px; }
  .sc-promo-panel h3 { font-size: 1.55rem; }
  .sc-promo-panel img { height: 200px; }
}

@media (max-width: 680px) {
  .sc-home section { padding: 52px 0; }
  .sc-home .sc-container { width: min(100% - 24px, 560px); }
  .sc-section-head { align-items: center; margin-bottom: 22px; }
  .sc-section-head h2 { font-size: 1.55rem; }
  .sc-link-arrow { font-size: 0.66rem; }
  .sc-home .sc-hero { min-height: 735px; }
  .sc-hero-content { min-height: 735px; padding-bottom: 42px; }
  .sc-hero-copy h1 { font-size: 2.2rem; }
  .sc-hero-lead { font-size: 0.88rem; line-height: 1.6; }
  .sc-hero-actions { display: grid; grid-template-columns: 1fr; }
  .sc-btn { width: 100%; }
  .sc-hero-proof { align-items: flex-start; }
  .sc-shape { display: none; }
  .sc-trust-grid { grid-template-columns: 1fr; gap: 16px; }
  .sc-category-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 72%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .sc-category-card { scroll-snap-align: start; }
  .sc-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .sc-product-card { padding: 7px; }
  .sc-product-media { height: 170px; }
  .sc-product-media > .promo-badge { max-width: 100px; padding: 4px 6px; font-size: 0.48rem; flex-wrap: wrap; gap: 2px; line-height: 1.25; }
  .sc-product-media > .promo-badge .promo-badge-label { min-width: 0; white-space: normal; }
  .sc-product-media > .promo-badge .promo-badge-percent { display: block; width: 100%; }
  .sc-product-card h3 { font-size: 0.7rem; }
  .sc-product-footer { align-items: flex-end; }
  .sc-product-footer strong { max-width: 86px; line-height: 1.2; }
  .sc-product-footer .promo-price-display { flex-direction: column; align-items: flex-start; gap: 1px; max-width: 86px; }
  .sc-product-footer .promo-price-display .promo-price-new { line-height: 1.2; }
  .sc-flash-layout { grid-template-columns: 1fr; padding-block: 50px; }
  .sc-flash-copy h2 { font-size: 2rem; }
  .sc-flash-depth { width: min(100%, 330px); height: 260px; justify-self: center; }
  .sc-countdown > span { padding: 10px 4px; }
  .sc-countdown strong { font-size: 1.2rem; }
  .sc-flash-type { font-size: 5rem; }
  .sc-flash-seal { width: 66px; height: 66px; }
  .sc-promo-grid { grid-template-columns: 1fr; }
  .sc-promo-panel { min-height: 240px; grid-template-columns: 1fr 42%; padding: 22px; }
  .sc-mini-grid { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .sc-hero-copy h1 { font-size: 1.95rem; }
  .sc-hero-proof { font-size: 0.66rem; }
  .sc-product-media { height: 148px; }
  .sc-product-footer strong { font-size: 0.64rem; }
  .sc-promo-panel { grid-template-columns: 1fr 42%; padding: 18px; }
  .sc-promo-panel h3 { font-size: 1.3rem; }
  .sc-promo-panel img { height: 180px; }
}

@media (pointer: coarse) {
  .sc-category-card:hover,
  .sc-product-card:hover,
  .sc-trust-item:hover,
  .sc-flash-product-frame:hover,
  .sc-btn:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .sc-reveal,
  .sc-animate-text { opacity: 1 !important; transform: none !important; clip-path: none !important; }

  .sc-hero-slide { animation: none !important; opacity: 0 !important; }
  .sc-hero-slide--1 { opacity: 1 !important; }
}
