/* ═══════════════════════════════════════════════════════
   SELENA RIMELLI — Design System
   Palette: #5A4035 (brand) · #FAF7F2 (bg) · #1A1714 (text)
   ═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500;1,600&family=Inter:wght@300;400;500&display=swap');

/* ── TOKENS ─────────────────────────────────────────── */
:root {
  --brand:      #5A4035;
  --brand-mid:  #7D5C4F;
  --brand-pale: #C9B8AE;
  --bg:         #FAF7F2;
  --bg-card:    #F2EDE4;
  --text:       #1A1714;
  --muted:      #9B8579;
  --accent:     #C4965A;
  --border:     #E8E0D8;
  --white:      #FFFFFF;

  --serif:  'Cormorant Garamond', Georgia, serif;
  --sans:   'Inter', system-ui, -apple-system, sans-serif;

  --ease:     cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── RESET ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  cursor: none;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { border: none; background: none; font-family: inherit; cursor: none; }
input, textarea, select { font-family: inherit; }

/* ── CUSTOM CURSOR ───────────────────────────────────── */
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--brand);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .25s var(--ease), height .25s var(--ease), background .25s;
  will-change: transform;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid rgba(90,64,53,.5);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width .4s var(--ease), height .4s var(--ease), opacity .3s, border-color .3s;
  will-change: transform;
}
.cursor-ring.hovered  { width: 56px; height: 56px; border-color: var(--accent); opacity: .9; }
.cursor-dot.hovered   { width: 8px; height: 8px; background: var(--accent); }

/* ── TYPOGRAPHY ──────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(3.5rem, 8vw, 8.5rem); }
h2 { font-size: clamp(2.4rem, 5vw, 5rem); }
h3 { font-size: clamp(1.5rem, 2.5vw, 2.4rem); }
h4 { font-size: clamp(1.1rem, 1.8vw, 1.7rem); }

.label {
  font-family: var(--sans);
  font-size: .625rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── PAGE LOADER ─────────────────────────────────────── */
.page-loader {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2rem;
}
.loader-logo {
  font-family: var(--serif);
  font-size: 2rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand);
  opacity: 0;
}
.loader-bar {
  width: 0;
  height: 1px;
  background: var(--brand);
}

/* ── NAVIGATION ─────────────────────────────────────────
   Layout : 3 colonnes grid — logo toujours centré pixel-perfect
   Gauche : nav-links (3 catégories)
   Centre : nav-logo
   Droite : nav-actions (3 icônes — symétrie parfaite)
   ────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.55rem 3rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  transition: background .5s var(--ease), padding .4s var(--ease), box-shadow .4s;
}
.nav.scrolled {
  background: rgba(250,247,242,.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 1rem 3rem;
  box-shadow: 0 1px 0 var(--border);
}

/* ── Logo — colonne centrale ───────────────────────── */
.nav-logo {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 300;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brand);
  white-space: nowrap;
  text-align: center;
  transition: opacity .35s;
  justify-self: center;   /* sécurité supplementaire */
}
.nav-logo:hover { opacity: .65; }

/* ── Gauche : wrapper hamburger + liens ─────────────── */
.nav-left {
  display: flex;
  align-items: center;
}

/* Hamburger — caché sur desktop */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 4px 2px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 101;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .32s var(--ease-out), opacity .22s;
  transform-origin: center;
}
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Liens nav ───────────────────────────────────────── */
.nav-links {
  display: flex;
  gap: 2.4rem;
  align-items: center;
}
.nav-links a {
  font-size: .6rem;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
  padding-bottom: 2px;
  transition: color .3s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--brand);
  transition: width .4s var(--ease);
}
.nav-links a:hover::after { width: 100%; }

/* ── Droite : 3 icônes ─────────────────────────────── */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  justify-content: flex-end;
}

/* Bouton icône générique */
.nav-icon-btn {
  display: flex;
  align-items: center;
  color: var(--muted);
  position: relative;
  transition: color .3s;
  flex-shrink: 0;
}
.nav-icon-btn:hover { color: var(--brand); }

/* Point doré "connecté" sur l'icône compte */
.nav-account-dot {
  position: absolute;
  top: -3px; right: -4px;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  border: 1.5px solid var(--bg);
  pointer-events: none;
}

/* Badge compteur (wishlist & panier) — bulle absolue, toujours dans le DOM */
.nav-badge {
  position: absolute;
  top: -7px; right: -9px;
  min-width: 15px; height: 15px;
  padding: 0 3px;
  background: var(--brand);
  color: white;
  border-radius: 20px;
  font-size: .48rem;
  font-weight: 700;
  letter-spacing: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  border: 1.5px solid var(--bg);
  pointer-events: none;
  /* caché par défaut via scale — pas de display:none */
  opacity: 0;
  transform: scale(0);
  transition: opacity .2s, transform .25s var(--ease);
}
/* visible quand JS ajoute la classe */
.nav-badge.visible {
  opacity: 1;
  transform: scale(1);
}
.nav-badge.visible.bump {
  transform: scale(1.4);
}
#wishlistCount { background: var(--accent); color: var(--brand); }

/* ── PRODUCT CARD WISHLIST BUTTON ────────────────────── */
/* Prix + cœur côte à côte dans le meta */
.card-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-top: auto;   /* pousse le prix en bas, aligné sur toutes les cards */
  padding-top: .55rem;
}
.card-price-row .product-price { margin-top: 0; }

.card-wishlist-btn {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: .2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: color .25s, transform .2s;
}
.card-wishlist-btn:hover  { color: var(--brand); transform: scale(1.15); }
.card-wishlist-btn.wished { color: var(--brand); }
.card-wishlist-btn.wished svg { fill: currentColor; }

/* ── HERO ────────────────────────────────────────────── */
.hero {
  height: 100vh;
  min-height: 700px;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(150deg, #E8DDD4 0%, #CDB89A 40%, #A87F62 70%, #7A5540 100%);
  will-change: transform;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,23,20,.55) 0%, rgba(26,23,20,.1) 50%, transparent 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 3rem 5.5rem;
  width: 100%;
}
.hero-eyebrow { color: rgba(255,255,255,.65); margin-bottom: 1.2rem; display: block; }
.hero-title { color: white; line-height: .92; margin-bottom: 3rem; }
.hero-title em { font-style: italic; color: rgba(255,255,255,.8); }
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  color: white;
  font-size: .625rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.4);
  padding: 1rem 2.2rem;
  transition: background .4s var(--ease), border-color .4s;
}
.hero-cta:hover { background: var(--brand); border-color: var(--brand); }
.hero-cta svg { width: 18px; transition: transform .4s var(--ease); }
.hero-cta:hover svg { transform: translateX(5px); }
.hero-scroll {
  position: absolute;
  bottom: 2.5rem; right: 3rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  color: rgba(255,255,255,.5);
  font-size: .55rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 48px;
  background: rgba(255,255,255,.25);
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  display: block;
  width: 100%; height: 100%;
  background: white;
  animation: scrollTick 1.6s ease-in-out infinite;
}
@keyframes scrollTick {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(200%); }
}

/* ── MARQUEE ─────────────────────────────────────────── */
.marquee {
  padding: 1.1rem 0;
  background: var(--brand);
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  animation: marqueeScroll 22s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: .14em;
  color: rgba(250,247,242,.85);
  padding: 0 1.5rem;
}
.marquee-sep { color: var(--accent); padding: 0 .5rem; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── SECTIONS ────────────────────────────────────────── */
.section    { padding: 5.5rem 3rem; }
.section-sm { padding: 3rem 3rem; }
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 4rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.view-all {
  font-size: .625rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
  padding-bottom: 2px;
  transition: color .3s;
}
.view-all::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--brand);
  transition: width .4s var(--ease);
}
.view-all:hover { color: var(--brand); }
.view-all:hover::after { width: 100%; }

/* ══ PRODUCT GRID ═══════════════════════════════════════ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem 1.5rem;
  align-items: start; /* chaque card = hauteur naturelle, pas d'étirement */
}
.products-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

/* ══ PRODUCT CARD ════════════════════════════════════════ */
.product-card {
  position: relative;
  transition: transform .5s var(--ease-out);
}
.product-card:hover { transform: translateY(-4px); }

/* Ligne accent dorée qui balaie au hover */
.product-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1.5px;
  background: var(--accent);
  transition: width .45s var(--ease);
}
.product-card:hover::after { width: 100%; }

.product-card > a {
  display: block;
}

/* ── Photo : ratio 3:4 = 1500×2000 px ──────────────────── */
.pc-img {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 133.33%; /* 4/3 × 100% */
  overflow: hidden;
  background: var(--bg-card);
}

.pc-img-inner {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.pc-img-inner img,
.pc-img-inner > div {
  width: 100%; height: 100%;
  /* Pas de transition CSS ici — GSAP gère le zoom au hover via main.js */
}

/* Badge Nouveau / Solde */
.pc-badge {
  position: absolute;
  top: .9rem; left: .9rem;
  background: var(--brand);
  color: #FAF7F2;
  font-size: .48rem;
  font-family: var(--sans);
  letter-spacing: .22em;
  text-transform: uppercase;
  padding: .28rem .65rem;
  z-index: 2;
}
.pc-badge--sale { background: #B85C38; }

/* Barre "Découvrir" au hover */
.pc-discover {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: .85rem 1.1rem;
  background: rgba(250,247,242,.93);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--brand);
  font-size: .55rem;
  font-family: var(--sans);
  letter-spacing: .22em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translateY(100%);
  transition: transform .4s var(--ease-out);
  z-index: 3;
  border-top: 1px solid rgba(90,64,53,.1);
}
.product-card:hover .pc-discover { transform: translateY(0); }

/* ── Infos produit ──────────────────────────────────────── */
.pc-info {
  padding: .9rem .2rem .7rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.pc-cat {
  font-size: .5rem;
  letter-spacing: .26em;
  color: var(--brand-pale);
  text-transform: uppercase;
  margin-bottom: .38rem;
}

.pc-name {
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 400;
  line-height: 1.28;
  color: var(--text);
  margin-bottom: .3rem;
  transition: color .28s;
  /* 2 lignes exactement → toutes les cards alignées */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.76rem; /* 2 × 1.28 × 1.08rem */
}
.product-card:hover .pc-name { color: var(--brand); }

.pc-material {
  font-size: .63rem;
  color: var(--muted);
  font-weight: 300;
  letter-spacing: .03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  /* Hauteur réservée même vide → aligne la ligne de prix */
  min-height: .95rem;
}

/* ── Ligne de pied : prix · pastilles · cœur ─────────────
   Tous sur la même ligne, prix à gauche, cœur à droite.
   La chaîne flex garantit qu'ils sont AU MÊME NIVEAU
   sur toutes les cards d'une rangée.
   ────────────────────────────────────────────────────── */
.pc-footer {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin-top: .6rem;
  padding-top: .5rem;
  border-top: 1px solid var(--border);
}

.pc-price {
  display: flex;
  align-items: baseline;
  gap: .4rem;
  flex-shrink: 0;
}
.pc-price strong {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: .01em;
}
.pc-price s {
  font-size: .72rem;
  color: var(--brand-pale);
  text-decoration: line-through;
}

/* Pastilles — poussées à droite, avant le cœur */
.pc-swatches {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto; /* colle les pastilles + cœur à droite */
  flex-wrap: nowrap;
}
.pc-dot {
  display: block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.7);
  outline: 1px solid var(--border);
  cursor: pointer;
  flex-shrink: 0;
  transition: transform .15s, outline-color .15s;
}
.pc-dot:hover {
  transform: scale(1.4);
  outline-color: var(--brand-pale);
}
.pc-dot-more {
  font-size: .55rem;
  color: var(--muted);
  font-weight: 500;
  line-height: 1;
}

/* Cœur wishlist */
.pc-wish {
  background: none;
  border: none;
  color: var(--muted);
  padding: .1rem .15rem;
  line-height: 0;
  flex-shrink: 0;
  transition: color .2s, transform .2s;
}
.pc-wish:hover { color: var(--brand); transform: scale(1.15); }
.pc-wish.active svg { fill: var(--brand); stroke: var(--brand); }

/* ── Gradients placeholder ──────────────────────────────── */
.ph-1 { background: linear-gradient(150deg, #E8DDD4 0%, #C4A882 100%); }
.ph-2 { background: linear-gradient(150deg, #D4C4B8 0%, #9B7868 100%); }
.ph-3 { background: linear-gradient(150deg, #CDB8AD 0%, #B08070 100%); }
.ph-4 { background: linear-gradient(150deg, #E0D5C8 0%, #C9A882 100%); }
.ph-5 { background: linear-gradient(150deg, #D8CECC 0%, #A08878 100%); }
.ph-6 { background: linear-gradient(150deg, #E5DDD6 0%, #C0967A 100%); }
.ph-editorial { background: linear-gradient(160deg, #D4C4B8 0%, #9B7868 40%, #5A4035 100%); }

/* ── EDITORIAL SPLIT ─────────────────────────────────── */
.editorial-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 70vh;
}
.editorial-split-img {
  position: relative;
  overflow: hidden;
}
.editorial-split-img .ph-editorial {
  width: 100%; height: 100%;
  min-height: 500px;
  transition: transform 1s var(--ease);
}
.editorial-split:hover .editorial-split-img .ph-editorial { transform: scale(1.04); }

.editorial-split-text {
  padding: 7rem 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white);
}
.editorial-split-text .label { margin-bottom: 2rem; }
.editorial-split-text h2     { margin-bottom: 2rem; }
.editorial-split-text p {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.8;
  margin-bottom: 3rem;
  max-width: 380px;
  font-weight: 300;
}

/* ── BUTTONS ─────────────────────────────────────────── */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  font-size: .625rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  border: 1px solid var(--brand);
  color: var(--brand);
  padding: 1rem 2rem;
  transition: background .4s var(--ease), color .4s;
  align-self: flex-start;
}
.btn-outline:hover { background: var(--brand); color: white; }
.btn-outline svg   { width: 16px; transition: transform .4s var(--ease); }
.btn-outline:hover svg { transform: translateX(4px); }

.btn-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  font-size: .625rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  background: var(--brand);
  color: white;
  padding: 1.2rem 2.8rem;
  border: 1px solid var(--brand);
  transition: background .4s var(--ease), border-color .4s;
  width: 100%;
}
.btn-solid:hover { background: var(--text); border-color: var(--text); }
.btn-solid:disabled { opacity: .5; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .625rem;
  font-weight: 400;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  padding: .6rem 0;
  border-bottom: 1px solid transparent;
  transition: color .3s, border-color .3s;
}
.btn-ghost:hover { color: var(--brand); border-color: var(--brand); }

/* ── CATEGORIES GRID ─────────────────────────────────── */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.category-tile {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.cat-bg {
  position: absolute; inset: 0;
  transition: transform .9s var(--ease);
}
.category-tile:hover .cat-bg { transform: scale(1.06); }
.cat-pulls    { background: linear-gradient(150deg, #D4C4B8, #B89070); }
.cat-vestes   { background: linear-gradient(150deg, #C9B8AE, #9B7868); }
.cat-cardigans{ background: linear-gradient(150deg, #E8DDD5, #C4A882); }
.category-tile::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,23,20,.6) 0%, transparent 55%);
}
.cat-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  color: white;
}
.cat-content .label { color: rgba(255,255,255,.55); margin-bottom: .4rem; display: block; }
.cat-content h3 { color: white; font-size: 2.2rem; }

/* ── NEWSLETTER ──────────────────────────────────────── */
.newsletter {
  background: var(--brand);
  padding: 6.5rem 3rem;
  text-align: center;
}
.newsletter .label { color: rgba(255,255,255,.4); display: block; margin-bottom: 1.2rem; }
.newsletter h2     { color: white; margin-bottom: 1.2rem; }
.newsletter p      { color: rgba(255,255,255,.6); font-size: .9rem; margin-bottom: 3.5rem; font-weight: 300; }
.newsletter-form {
  display: flex;
  max-width: 440px;
  margin: 0 auto;
}
.newsletter-form input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: 1px solid rgba(255,255,255,.25);
  border-right: none;
  background: transparent;
  color: white;
  font-size: .85rem;
  font-weight: 300;
  outline: none;
  transition: border-color .3s;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.35); }
.newsletter-form input:focus { border-color: rgba(255,255,255,.6); }
.newsletter-form button {
  padding: 1rem 1.8rem;
  background: white;
  color: var(--brand);
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  transition: background .3s, color .3s;
  white-space: nowrap;
}
.newsletter-form button:hover { background: var(--accent); color: white; }

/* ── FOOTER ──────────────────────────────────────────── */
footer {
  background: var(--text);
  color: var(--bg);
  padding: 5.5rem 3rem 2.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-logo {
  display: block;
  font-family: var(--serif);
  font-size: 1.8rem;
  color: white;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.footer-tagline {
  font-size: .85rem;
  font-weight: 300;
  color: rgba(255,255,255,.35);
  line-height: 1.7;
  max-width: 260px;
  margin-bottom: 2rem;
}
.footer-socials { display: flex; gap: 1.2rem; }
.footer-socials a {
  color: rgba(255,255,255,.4);
  transition: color .3s;
}
.footer-socials a:hover { color: white; }
.footer-col h5 {
  font-family: var(--sans);
  font-size: .575rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 1.6rem;
}
.footer-col ul li + li { margin-top: .8rem; }
.footer-col ul li a {
  font-size: .85rem;
  font-weight: 300;
  color: rgba(255,255,255,.55);
  transition: color .3s;
}
.footer-col ul li a:hover { color: white; }
.footer-secure {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: 2rem;
  color: rgba(255,255,255,.3);
  font-size: .625rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-copyright { font-size: .7rem; color: rgba(255,255,255,.25); }
.footer-legal { display: flex; gap: 1rem; align-items: center; }
.footer-legal a { font-size: .7rem; color: rgba(255,255,255,.25); transition: color .3s; }
.footer-legal a:hover { color: rgba(255,255,255,.6); }
.footer-legal span { color: rgba(255,255,255,.15); }

/* ── PRODUCT DETAIL PAGE ─────────────────────────────── */
.product-detail {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  min-height: 100vh;
  padding-top: 80px;
}
.product-gallery {
  position: sticky;
  top: 80px;
  height: calc(100vh - 80px);
  overflow: hidden;
}
.gallery-main {
  width: 100%; height: 100%;
  background: var(--bg-card);
  overflow: hidden;
}
.gallery-main img, .gallery-main .ph-product {
  width: 100%; height: 100%;
  transition: opacity .5s;
}
.product-info {
  padding: 4rem 4rem 4rem 4.5rem;
  display: flex;
  flex-direction: column;
}
.product-info .label { margin-bottom: 1rem; }
.product-info h1 {
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  margin-bottom: 1rem;
  line-height: 1.0;
}
.product-info-price {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 300;
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.product-info-price s { font-size: 1.1rem; color: var(--muted); }

.size-selector { margin-bottom: 2.5rem; }
.size-label {
  font-size: .625rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.size-label a { color: var(--muted); text-decoration: underline; font-weight: 300; }
.size-grid { display: flex; gap: .6rem; flex-wrap: wrap; }
.size-btn {
  width: 52px; height: 44px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  letter-spacing: .05em;
  color: var(--text);
  cursor: none;
  transition: border-color .3s, background .3s, color .3s;
}
.size-btn:hover   { border-color: var(--brand); }
.size-btn.active  { background: var(--brand); border-color: var(--brand); color: white; }
.size-btn.soldout { opacity: .35; text-decoration: line-through; cursor: not-allowed; }

.add-to-cart-wrap { margin-bottom: 3rem; }
.add-to-cart-wrap .btn-solid { font-size: .7rem; padding: 1.4rem; }

.product-accordion { border-top: 1px solid var(--border); }
.accordion-item    { border-bottom: 1px solid var(--border); }
.accordion-trigger {
  width: 100%;
  padding: 1.4rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text);
  cursor: none;
}
.accordion-trigger svg {
  width: 16px;
  transition: transform .3s var(--ease);
  flex-shrink: 0;
}
.accordion-item.open .accordion-trigger svg { transform: rotate(45deg); }
.accordion-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height .4s var(--ease);
}
.accordion-body.open { max-height: 300px; }
.accordion-body p {
  padding-bottom: 1.5rem;
  font-size: .88rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.8;
}

/* ── COLLECTION PAGE ─────────────────────────────────── */
.collection-header {
  padding: 10rem 3rem 3rem;
  border-bottom: 1px solid var(--border);
}
.collection-header h1 { margin-bottom: 1rem; }
.collection-header p  { color: var(--muted); font-size: .9rem; max-width: 500px; }

.filter-bar {
  padding: 1.5rem 3rem;
  display: flex;
  gap: .5rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 72px;
  z-index: 10;
}
.filter-btn {
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  padding: .6rem 1.4rem;
  border: 1px solid var(--border);
  transition: all .3s;
}
.filter-btn.active,
.filter-btn:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: white;
}

.collection-body { padding: 3rem; }

/* ── CART PAGE ───────────────────────────────────────── */
.cart-page {
  padding: 9rem 3rem 5rem;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 5rem;
  min-height: 80vh;
  align-items: start;
}
.cart-page h1 { margin-bottom: 3rem; font-size: clamp(2rem, 4vw, 4rem); }

.cart-items { }
.cart-item {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
}
.cart-item-img {
  aspect-ratio: 3/4;
  background: var(--bg-card);
  overflow: hidden;
}
.cart-item-name {
  font-family: var(--serif);
  font-size: 1.2rem;
  margin-bottom: .4rem;
}
.cart-item-meta { font-size: .75rem; color: var(--muted); margin-bottom: 1rem; }
.qty-control {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  width: fit-content;
}
.qty-btn {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--muted);
  transition: color .3s;
}
.qty-btn:hover { color: var(--brand); }
.qty-val {
  width: 40px;
  text-align: center;
  font-size: .85rem;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  padding: .5rem 0;
}
.cart-item-price { font-family: var(--serif); font-size: 1.1rem; text-align: right; }
.remove-btn {
  display: block;
  font-size: .6rem;
  color: var(--muted);
  margin-top: .4rem;
  text-align: right;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: color .3s;
}
.remove-btn:hover { color: #B85C38; }

.cart-summary {
  background: var(--bg-card);
  padding: 2.5rem;
  position: sticky;
  top: 100px;
}
.cart-summary h3 {
  font-size: 1.4rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-size: .85rem;
}
.summary-row.total {
  font-family: var(--serif);
  font-size: 1.3rem;
  padding-top: 1.5rem;
  margin-top: .5rem;
  border-top: 1px solid var(--border);
}
.summary-note {
  font-size: .7rem;
  color: var(--muted);
  text-align: center;
  margin-bottom: 1.5rem;
}
.cart-empty {
  text-align: center;
  padding: 6rem 0;
  grid-column: 1/-1;
}
.cart-empty h2 { margin-bottom: 1rem; color: var(--muted); }

/* ── CHECKOUT PAGE ───────────────────────────────────── */
.checkout-page {
  padding: 9rem 3rem 5rem;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 5rem;
  align-items: start;
}
.checkout-page h1 { margin-bottom: 3rem; font-size: clamp(2rem, 4vw, 4rem); }
.form-section { margin-bottom: 3rem; }
.form-section h3 {
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  letter-spacing: .05em;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-grid.full { grid-template-columns: 1fr; }
.form-field { display: flex; flex-direction: column; gap: .5rem; }
.form-field label {
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
}
.form-field input, .form-field select, .form-field textarea {
  padding: .9rem 1rem;
  border: 1px solid var(--border);
  background: white;
  font-size: .9rem;
  color: var(--text);
  outline: none;
  transition: border-color .3s;
  -webkit-appearance: none;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--brand); }

.order-recap {
  background: var(--bg-card);
  padding: 2.5rem;
  position: sticky;
  top: 100px;
}
.order-recap h3 { font-size: 1.2rem; margin-bottom: 2rem; }
.recap-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .85rem;
  padding: .8rem 0;
  border-bottom: 1px solid var(--border);
}
.recap-item-name { color: var(--text); }
.recap-item-price { font-weight: 500; }

/* ── CART NOTIFICATION ───────────────────────────────── */
.cart-notif {
  position: fixed;
  bottom: 2rem; right: 2rem;
  background: var(--text);
  color: white;
  padding: 1.2rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: .3rem;
  z-index: 999;
  transform: translateY(80px);
  opacity: 0;
  transition: transform .4s var(--ease-out), opacity .4s;
  min-width: 220px;
  box-shadow: 0 8px 40px rgba(0,0,0,.2);
}
.cart-notif .notif-name {
  font-family: var(--serif);
  font-size: 1rem;
}
.cart-notif .notif-label {
  font-size: .6rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
}
.cart-notif.show { transform: translateY(0); opacity: 1; }

/* ── ABOUT PAGE ──────────────────────────────────────── */
.about-hero {
  height: 65vh;
  min-height: 500px;
  background: linear-gradient(150deg, #E8DDD4 0%, #B89070 60%, #7A5540 100%);
  display: flex;
  align-items: flex-end;
  padding: 0 3rem 5rem;
}
.about-hero h1 { color: white; }
.about-content {
  padding: 6rem 3rem;
  max-width: 720px;
  margin: 0 auto;
}
.about-content h2 { margin-bottom: 2rem; }
.about-content p {
  font-size: .95rem;
  line-height: 1.9;
  color: var(--muted);
  font-weight: 300;
  margin-bottom: 2rem;
}

/* ── TOAST / MESSAGES ─────────────────────────────────── */
.flash {
  position: fixed;
  top: 1.5rem; right: 1.5rem;
  background: var(--brand);
  color: white;
  padding: 1rem 1.5rem;
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  z-index: 9000;
  animation: flashIn .3s var(--ease-out) forwards, flashOut .3s var(--ease) 3s forwards;
}
@keyframes flashIn  { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@keyframes flashOut { to   { opacity: 0; transform: translateY(-10px); } }

/* ── SCROLL REVEAL ───────────────────────────────────── */
[data-reveal] { opacity: 0; }

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .product-detail { grid-template-columns: 1fr 1fr; }
  .cart-page      { grid-template-columns: 1fr 320px; gap: 3rem; }
  .checkout-page  { grid-template-columns: 1fr 320px; gap: 3rem; }
}
/* ══════════════════════════════════════════════════════════
   MENU MOBILE
   ══════════════════════════════════════════════════════════ */

/* Drawer slide-in depuis la gauche */
.mob-menu {
  position: fixed;
  top: 0; left: 0;
  width: min(82vw, 360px);
  height: 100%;
  background: var(--bg);
  z-index: 300;
  display: flex;
  flex-direction: column;
  padding: 1.4rem 2rem 2.5rem;
  transform: translateX(-100%);
  transition: transform .42s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  box-shadow: 4px 0 32px rgba(26,23,20,.12);
}
.mob-menu.is-open { transform: translateX(0); }

/* Overlay sombre derrière le drawer */
.mob-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,23,20,.45);
  z-index: 299;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s;
  backdrop-filter: blur(2px);
}
.mob-overlay.is-open { opacity: 1; pointer-events: auto; }

/* En-tête du drawer : logo + croix */
.mob-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}
.mob-menu-logo {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 300;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brand);
}
.mob-close {
  background: none;
  border: none;
  color: var(--muted);
  padding: .3rem;
  line-height: 0;
  transition: color .2s;
}
.mob-close:hover { color: var(--brand); }

/* Liens principaux — grande typo serif */
.mob-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mob-nav a {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 300;
  letter-spacing: .04em;
  color: var(--text);
  padding: .7rem 0;
  border-bottom: 1px solid var(--border);
  display: block;
  transition: color .22s, padding-left .22s;
}
.mob-nav a:last-child { border-bottom: none; }
.mob-nav a:hover { color: var(--brand); padding-left: .4rem; }

/* Séparateur */
.mob-sep {
  width: 32px;
  height: 1px;
  background: var(--accent);
  margin: 1.8rem 0 1.4rem;
  opacity: .7;
}

/* Liens utilitaires */
.mob-utils {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mob-utils a {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: .6rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  padding: .65rem 0;
  border-bottom: 1px solid var(--border);
  transition: color .2s;
}
.mob-utils a:last-child { border-bottom: none; }
.mob-utils a:hover { color: var(--brand); }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — TABLETTE (≤ 1100px)
   ══════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .product-detail { grid-template-columns: 1fr 1fr; }
  .cart-page      { grid-template-columns: 1fr 320px; gap: 3rem; }
  .checkout-page  { grid-template-columns: 1fr 320px; gap: 3rem; }
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — TABLETTE PORTRAIT (≤ 900px)
   Hamburger visible, nav-links cachés
   ══════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  /* ── Nav mobile : logo gauche, hamburger droite ── */
  .nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.2rem;
  }
  .nav.scrolled { padding: .75rem 1.2rem; }
  .nav-logo     { order: 1; justify-self: auto; }
  .nav-left     { order: 2; }
  .nav-links    { display: none; }
  .nav-actions  { display: none; } /* tous les liens/icônes dans le menu mobile */
  .nav-hamburger { display: flex; }

  .editorial-split { grid-template-columns: 1fr; }
  .editorial-split-img .ph-editorial { min-height: 400px; }
  .editorial-split-text { padding: 4rem 2.5rem; }
  .product-detail { grid-template-columns: 1fr; padding-top: 64px; }
  .product-gallery { position: relative; top: 0; height: 70vw; min-height: 380px; }
  .product-info   { padding: 2.5rem 2rem; }
  .cart-page      { grid-template-columns: 1fr; gap: 2rem; }
  .checkout-page  { grid-template-columns: 1fr; }
  .order-recap    { position: relative; top: 0; }
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤ 768px)
   ══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Globals */
  .section    { padding: 4rem 1.2rem; }
  .section-sm { padding: 2.5rem 1.2rem; }
  body { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none; }

  /* Nav — déjà géré au 900px */

  /* Collection : 2 colonnes */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: .9rem .5rem;
  }

  /* Cards — infos compactes */
  .pc-info     { padding: .65rem .15rem .5rem; }
  .pc-cat      { font-size: .44rem; letter-spacing: .2em; margin-bottom: .28rem; }
  .pc-name     {
    font-size: .88rem;
    min-height: 2.29rem; /* 2 × 1.28 × 0.88 */
    margin-bottom: .22rem;
  }
  .pc-material { font-size: .56rem; min-height: .82rem; }
  .pc-footer   { padding-top: .4rem; gap: .3rem; margin-top: .4rem; }
  .pc-price strong { font-size: .78rem; }
  .pc-price s      { font-size: .64rem; }
  .pc-dot      { width: 9px; height: 9px; }
  .pc-wish svg { width: 13px; }

  /* Badge — déplacé en bas sur mobile (évite de couvrir le visage) */
  .pc-badge { top: auto; bottom: .75rem; }

  /* Discover bar */
  .pc-discover { padding: .65rem .8rem; font-size: .5rem; }

  /* Divers */
  .hero-content { padding: 0 1.2rem 4rem; }
  .hero-scroll  { right: 1.2rem; bottom: 1.2rem; }
  .categories-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer      { padding: 3.5rem 1.2rem 2rem; }
  .cart-page, .checkout-page { padding: 7rem 1.2rem 3rem; }
  .collection-header { padding: 6.5rem 1.2rem 2rem; }
  .filter-bar  { padding: 1rem 1.2rem; overflow-x: auto; white-space: nowrap; }
  .collection-body { padding: 1.5rem 1.2rem; }
  .form-grid   { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form input { border-right: 1px solid rgba(255,255,255,.25); }
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — PETIT MOBILE (≤ 400px)
   ══════════════════════════════════════════════════════════ */
@media (max-width: 400px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: .6rem .35rem;
  }
  .pc-name { font-size: .82rem; min-height: 2.1rem; }
  .pc-badge { font-size: .42rem; top: auto; bottom: .5rem; left: .6rem; padding: .22rem .5rem; }
}
