/* ============================================================
   SG CAVE SHOP — Design System v2.0
   Premium wine & spirits e-commerce
   ============================================================ */

/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */
:root {
  --brand:           #6B0020;
  --brand-dark:      #4A0015;
  --brand-light:     #8B1A30;
  --brand-pale:      #F9EEF1;
  --gold:            #C9A84C;
  --gold-light:      #E8D5A3;
  --gold-pale:       #FBF6EC;

  --text:            #1A1A1A;
  --text-light:      #5C5C5C;
  --text-muted:      #9E9E9E;
  --text-inverse:    #FFFFFF;

  --bg:              #FAFAF8;
  --bg-warm:         #F5F0E8;
  --bg-card:         #FFFFFF;
  --bg-dark:         #1A0A0F;
  --bg-dark2:        #251018;

  --border:          #E0D8CE;
  --border-light:    #F0EBE3;
  --border-dark:     #C8BDB4;

  --success:         #1E6B2E;
  --success-bg:      #EBF7EE;
  --error:           #B71C1C;
  --error-bg:        #FDEAEA;
  --warning:         #E65100;
  --warning-bg:      #FFF3E0;
  --info:            #1565C0;
  --info-bg:         #E3F1FF;

  --shadow-sm:       0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow:          0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:       0 8px 32px rgba(0,0,0,.14);
  --shadow-xl:       0 20px 60px rgba(0,0,0,.18);
  --shadow-brand:    0 4px 20px rgba(107,0,32,.25);

  --radius-sm:       4px;
  --radius:          8px;
  --radius-lg:       14px;
  --radius-xl:       20px;
  --radius-pill:     999px;

  --transition:      .2s ease;
  --transition-slow: .35s ease;

  --container-max:   1280px;
  --container-pad:   clamp(16px, 3vw, 32px);
  --header-h:        72px;
  --nav-h:           48px;
  --topbar-h:        36px;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Lato', 'Helvetica Neue', Arial, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.25;
  font-weight: 700;
  color: var(--text);
}

/* ============================================================
   3. LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.site-page { padding: 32px 0 64px; }

/* Grid utilitaires */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ============================================================
   4. TOP BAR
   ============================================================ */
.topbar {
  background: var(--brand-dark);
  color: rgba(255,255,255,.9);
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  font-size: 12.5px;
  letter-spacing: .02em;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar-promo {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.topbar-promo span {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.topbar-promo svg { opacity: .8; }
.topbar-promo strong { color: var(--gold-light); }
.topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
}
.topbar-right a {
  color: rgba(255,255,255,.8);
  transition: color var(--transition);
}
.topbar-right a:hover { color: var(--gold-light); }
.topbar-sep { opacity: .3; }

/* ============================================================
   5. HEADER
   ============================================================ */
.site-header {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 900;
  height: var(--header-h);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-lg); }
.site-header .container {
  display: grid;
  grid-template-columns: 200px 1fr 200px;
  align-items: center;
  height: 100%;
  gap: 24px;
}

/* Logo */
.header-logo a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.header-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.header-logo-text .logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: -.01em;
}
.header-logo-text .logo-sub {
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}
.header-logo img,
.header-logo-img { height: 48px; width: auto; max-width: 200px; object-fit: contain; }
.header-logo-img--svg { height: 44px; width: auto; max-width: 180px; }
.header-logo-link { min-width: 0; }

/* Search bar */
.header-search { display: flex; }
.header-search form {
  display: flex;
  width: 100%;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.header-search form:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(107,0,32,.10);
}
.header-search input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0 18px;
  font-size: 14px;
  color: var(--text);
  outline: none;
}
.header-search input::placeholder { color: var(--text-muted); }
.header-search button {
  background: var(--brand);
  border: none;
  width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
  border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
  transition: background var(--transition);
  flex-shrink: 0;
}
.header-search button:hover { background: var(--brand-dark); }
.header-search button svg { width: 18px; height: 18px; }

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}
.header-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 10px;
  border-radius: var(--radius);
  cursor: pointer;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 10px;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color var(--transition), background var(--transition);
  position: relative;
  white-space: nowrap;
}
.header-action-btn:hover {
  color: var(--brand);
  background: var(--brand-pale);
}
.header-action-btn svg { width: 22px; height: 22px; }
.header-action-btn .badge-count {
  position: absolute;
  top: 4px;
  right: 4px;
  background: var(--brand);
  color: white;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  padding: 2px 5px;
  border-radius: var(--radius-pill);
  min-width: 16px;
  text-align: center;
}

/* Menu utilisateur (header) */
.header-user-menu {
  position: relative;
}
.header-user-trigger {
  font-family: inherit;
}
.header-user-name {
  max-width: 88px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.header-user-chevron {
  width: 12px !important;
  height: 12px !important;
  margin-top: -2px;
  opacity: 0.55;
  transition: transform 0.2s ease;
}
.header-user-menu.is-open .header-user-chevron {
  transform: rotate(180deg);
}
.header-user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 240px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 1200;
  padding: 8px 0;
  animation: headerUserIn 0.18s ease;
}
@keyframes headerUserIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.header-user-dropdown-head {
  padding: 10px 16px 12px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 4px;
}
.header-user-dropdown-head strong {
  display: block;
  font-size: 14px;
  color: var(--text);
  font-weight: 700;
}
.header-user-role {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}
.header-user-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  text-transform: none;
  letter-spacing: normal;
  border: none;
  background: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s ease;
}
.header-user-dropdown-item:hover {
  background: var(--bg-warm);
  color: var(--brand);
}
.header-user-dropdown-item--accent {
  color: var(--brand);
  border-top: 1px solid var(--border-light);
  margin-top: 4px;
  padding-top: 12px;
}
.header-user-dropdown-item--danger {
  color: var(--error);
}
.header-user-dropdown-item--danger:hover {
  background: var(--error-bg);
  color: var(--error);
}
.header-user-dropdown-logout {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border-light);
  margin-top: 4px;
}
.header-user-dropdown-logout button {
  width: 100%;
}

/* Burger (mobile) */
.burger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text);
}
.burger-btn svg { width: 24px; height: 24px; }

/* ============================================================
   6. NAVIGATION MEGA MENU
   ============================================================ */
.site-nav {
  background: var(--bg-dark);
  position: relative;
  z-index: 800;
}
.site-nav .container {
  display: flex;
  align-items: center;
  height: var(--nav-h);
}
.nav-main {
  display: flex;
  align-items: stretch;
  height: 100%;
  flex-wrap: nowrap;
  gap: 0;
}
.nav-main > li {
  position: relative;
  display: flex;
  align-items: stretch;
}
.nav-main > li > a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 15px;
  color: rgba(255,255,255,.88);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color var(--transition), background var(--transition);
  border-bottom: 3px solid transparent;
  position: relative;
  top: 1px;  /* align border bottom to edge */
}
.nav-main > li > a:hover,
.nav-main > li.active > a {
  color: var(--gold-light);
  background: rgba(201,168,76,.08);
  border-bottom-color: var(--gold);
}
.nav-main > li > a .nav-chevron {
  width: 12px; height: 12px;
  opacity: .6;
  transition: transform var(--transition);
}
.nav-main > li:hover > a .nav-chevron { transform: rotate(180deg); }
.nav-main > li.nav-highlight > a {
  color: #FFB3C1;
}
.nav-main > li.nav-highlight.active > a { border-bottom-color: #FFB3C1; }

/* Mega Menu dropdown */
.mega-menu {
  display: none;
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  min-width: 540px;
  max-width: 720px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 28px;
  z-index: 999;
}
.nav-main > li:hover .mega-menu { display: flex; gap: 32px; }

.mega-col { flex: 1; }
.mega-col-title {
  font-family: 'Playfair Display', serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-light);
}
.mega-col ul { display: flex; flex-direction: column; gap: 6px; }
.mega-col ul li a {
  display: block;
  color: var(--text-light);
  font-size: 14px;
  padding: 4px 0;
  transition: color var(--transition), padding-left var(--transition);
}
.mega-col ul li a:hover {
  color: var(--brand);
  padding-left: 6px;
}
.mega-see-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  transition: gap var(--transition);
}
.mega-see-all:hover { gap: 10px; }

/* Simple dropdown (no subcats) */
.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  padding: 8px 0;
  z-index: 999;
}
.nav-main > li:hover .nav-dropdown { display: block; }
.nav-dropdown a {
  display: block;
  padding: 10px 20px;
  color: var(--text-light);
  font-size: 14px;
  transition: background var(--transition), color var(--transition);
}
.nav-dropdown a:hover { background: var(--brand-pale); color: var(--brand); }

/* ============================================================
   7. MOBILE NAV
   ============================================================ */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
}
.mobile-nav-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.5);
}
.mobile-nav-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: min(340px, 90vw);
  height: 100%;
  background: var(--bg-card);
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform .3s ease;
  display: flex;
  flex-direction: column;
}
.mobile-nav.open .mobile-nav-panel { transform: none; }
.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-dark);
  color: white;
}
.mobile-nav-header .logo-name { color: white; font-size: 18px; }
.mobile-nav-close {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 4px;
}
.mobile-nav-close svg { width: 24px; height: 24px; }
.mobile-nav-body { flex: 1; padding: 8px 0; }
.mobile-nav-item {
  display: flex;
  flex-direction: column;
}
.mobile-nav-item > a,
.mobile-nav-item > button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-light);
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  cursor: pointer;
  text-align: left;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  width: 100%;
  transition: background var(--transition);
}
.mobile-nav-item > a:hover,
.mobile-nav-item > button:hover { background: var(--brand-pale); }
.mobile-nav-sub {
  display: none;
  background: var(--bg-warm);
  padding: 8px 0;
}
.mobile-nav-sub.open { display: block; }
.mobile-nav-sub a {
  display: block;
  padding: 10px 32px;
  color: var(--text-light);
  font-size: 14px;
  border-bottom: 1px solid var(--border-light);
  transition: color var(--transition);
}
.mobile-nav-sub a:hover { color: var(--brand); }
.mobile-nav-footer {
  padding: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mobile-nav-footer a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-light);
  font-size: 14px;
  padding: 8px 0;
}

/* ============================================================
   8. BREADCRUMB
   ============================================================ */
.breadcrumb {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 28px;
}
.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
}
.breadcrumb-list a {
  color: var(--text-light);
  transition: color var(--transition);
}
.breadcrumb-list a:hover { color: var(--brand); }
.breadcrumb-list .sep { opacity: .5; }
.breadcrumb-list .current { color: var(--text); font-weight: 600; }

/* ============================================================
   9. FLASH ALERTS
   ============================================================ */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.5;
}
.alert svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
.alert.alert-success { background: var(--success-bg); color: var(--success); border: 1px solid #A8D5B0; }
.alert.alert-error   { background: var(--error-bg);   color: var(--error);   border: 1px solid #F0B0B0; }
.alert.alert-warning { background: var(--warning-bg); color: var(--warning); border: 1px solid #FFCC80; }
.alert.alert-info    { background: var(--info-bg);    color: var(--info);    border: 1px solid #90C0F0; }
.alert ul { margin: 4px 0 0 16px; }

/* ============================================================
   10. SECTION HEADERS
   ============================================================ */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin-left: 4px;
  align-self: center;
}
.section-link {
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  transition: gap var(--transition);
}
.section-link:hover { gap: 9px; }

/* ============================================================
   11. HERO SLIDER (Homepage)
   ============================================================ */
.hero-slider {
  position: relative;
  background: var(--bg-dark);
  overflow: hidden;
  aspect-ratio: 16/5;
  min-height: 200px;
}
.hero-slide {
  display: none;
  position: absolute;
  inset: 0;
}
.hero-slide.active { display: block; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-slide-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 clamp(24px, 8vw, 100px);
  background: linear-gradient(90deg, rgba(26,10,15,.7) 0%, rgba(26,10,15,.2) 60%, transparent 100%);
  color: white;
}
.hero-slide-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 4vw, 52px);
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
  max-width: 600px;
}
.hero-slide-content p {
  font-size: clamp(14px, 2vw, 18px);
  opacity: .9;
  margin-bottom: 24px;
  max-width: 480px;
}
.hero-slide-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.hero-slide-kicker::before,
.hero-slide-kicker::after {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--gold);
  opacity: .65;
}
.hero-slide-desc br + br { display: none; }
.hero-slide-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--bg-dark);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  transition: all var(--transition);
  width: fit-content;
}
.hero-slide-cta:hover {
  background: #E0C060;
  transform: translateY(-2px);
  box-shadow: var(--shadow-brand);
}
.hero-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.20);
  border: 1px solid rgba(255,255,255,.3);
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background var(--transition);
  z-index: 10;
}
.hero-nav-btn:hover { background: rgba(255,255,255,.35); }
.hero-nav-btn.prev { left: 20px; }
.hero-nav-btn.next { right: 20px; }
.hero-nav-btn svg { width: 20px; height: 20px; }
.hero-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.hero-dot {
  width: 8px; height: 8px;
  background: rgba(255,255,255,.5);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}
.hero-dot.active { width: 24px; border-radius: 4px; background: var(--gold); }

/* ============================================================
   12. REASSURANCE BAR
   ============================================================ */
.reassurance-bar {
  background: var(--bg-card);
  border-top: 1px solid var(--border-light);
  border-bottom: 3px solid var(--gold);
}
.reassurance-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.reassurance-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 20px;
  border-right: 1px solid var(--border-light);
}
.reassurance-item:last-child { border-right: none; }
.reassurance-icon {
  width: 44px;
  height: 44px;
  background: var(--gold-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}
.reassurance-icon svg { width: 22px; height: 22px; }
.reassurance-text strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}
.reassurance-text span {
  font-size: 12px;
  color: var(--text-muted);
}

/* ============================================================
   13. HOMEPAGE SECTIONS
   ============================================================ */
.home-section { padding: 56px 0; }
.home-section:nth-child(even) { background: var(--bg-warm); }

/* Categories grid */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.cat-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-dark);
  aspect-ratio: 3/4;
  cursor: pointer;
  group: true;
}
.cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.cat-card:hover img { transform: scale(1.06); }
.cat-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(26,10,15,.75) 0%, rgba(26,10,15,.1) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 16px 12px;
  text-align: center;
  transition: background var(--transition-slow);
}
.cat-card:hover .cat-card-overlay {
  background: linear-gradient(0deg, rgba(107,0,32,.85) 0%, rgba(107,0,32,.3) 60%, transparent 100%);
}
.cat-card-name {
  color: white;
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}
.cat-card-link {
  color: var(--gold-light);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: all var(--transition);
}
.cat-card:hover .cat-card-link { opacity: 1; transform: none; }

/* ── Section header right group (link + slider arrows) ── */
.section-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.slider-arrows {
  display: flex;
  align-items: center;
  gap: 5px;
}
.slider-arrow-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  flex-shrink: 0;
  padding: 0;
}
.slider-arrow-btn:hover { background: var(--text); border-color: var(--text); color: white; }
.slider-arrow-btn:disabled { opacity: .3; cursor: default; pointer-events: none; }

/* ── Product carousel slider ── */
.product-slider {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.product-slider::-webkit-scrollbar { display: none; }
.product-slider > .product-card {
  scroll-snap-align: start;
  width: 240px;
  flex-shrink: 0;
}

/* Promo banner strip */
.promo-banner {
  background: var(--brand);
  color: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 160px;
}
.promo-banner-text {
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.promo-banner-text h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: white;
  margin-bottom: 8px;
}
.promo-banner-text p {
  font-size: 14px;
  opacity: .85;
  margin-bottom: 20px;
}
.promo-banner-img {
  overflow: hidden;
}
.promo-banner-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Marques logos */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.brand-logo {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition), box-shadow var(--transition);
  aspect-ratio: 2/1;
}
.brand-logo:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.brand-logo img { max-height: 40px; object-fit: contain; filter: grayscale(.4); transition: filter var(--transition); }
.brand-logo:hover img { filter: none; }
.brand-logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-light);
  text-align: center;
}

/* Newsletter */
.newsletter-section {
  background: var(--bg-dark);
  padding: 64px 0;
  text-align: center;
}
.newsletter-section h2 {
  color: white;
  font-size: clamp(24px, 3vw, 34px);
  margin-bottom: 10px;
}
.newsletter-section p {
  color: rgba(255,255,255,.7);
  font-size: 15px;
  margin-bottom: 32px;
}
.newsletter-form {
  display: flex;
  justify-content: center;
  gap: 0;
  max-width: 520px;
  margin: 0 auto;
}
.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  border: none;
  border-radius: var(--radius-pill) 0 0 var(--radius-pill);
  font-size: 15px;
  outline: none;
  background: rgba(255,255,255,.12);
  color: white;
  border: 1px solid rgba(255,255,255,.2);
  border-right: none;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.5); }
.newsletter-form input:focus { background: rgba(255,255,255,.18); }
.newsletter-form button {
  padding: 14px 28px;
  background: var(--gold);
  color: var(--bg-dark);
  border: none;
  border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition);
  white-space: nowrap;
}
.newsletter-form button:hover { background: #E0C060; }

/* ============================================================
   14. PRODUCT CARD — Premium Wine Design
   ============================================================ */

/* ── Card container ── */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition-slow), border-color var(--transition-slow), transform var(--transition-slow);
}
.product-card:hover {
  box-shadow: 0 12px 40px rgba(107,0,32,.14);
  border-color: rgba(201,168,76,.3);
  transform: translateY(-4px);
}

/* ── Image area (portrait / bottle-friendly) ── */
.product-card-image {
  position: relative;
  overflow: hidden;
  background: #F8F5F0;
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-card-img-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 8px;
  transition: transform .4s ease;
}
.product-card:hover .product-card-image img { transform: scale(1.06); }

/* ── Quick-view hover overlay ── */
.product-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,10,15,.5);
  opacity: 0;
  transition: opacity .32s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  border-radius: inherit;
}
.product-card:hover .product-card-overlay {
  opacity: 1;
  pointer-events: auto;
}
.product-card-overlay-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  color: var(--bg-dark);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
  transform: translateY(14px);
  transition: transform .3s ease, background .2s, color .2s;
}
.product-card:hover .product-card-overlay-link { transform: translateY(0); }
.product-card-overlay-link:hover { background: var(--gold); color: white; }

/* ── Staggered grid entrance animation ── */
@keyframes cardIn {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.product-grid.animated .product-card {
  opacity: 0;
  animation: cardIn .5s ease both;
}
.product-grid.animated .product-card:nth-child(1)  { animation-delay:  40ms; }
.product-grid.animated .product-card:nth-child(2)  { animation-delay:  80ms; }
.product-grid.animated .product-card:nth-child(3)  { animation-delay: 120ms; }
.product-grid.animated .product-card:nth-child(4)  { animation-delay: 160ms; }
.product-grid.animated .product-card:nth-child(5)  { animation-delay: 200ms; }
.product-grid.animated .product-card:nth-child(6)  { animation-delay: 240ms; }
.product-grid.animated .product-card:nth-child(7)  { animation-delay: 280ms; }
.product-grid.animated .product-card:nth-child(8)  { animation-delay: 320ms; }
.product-grid.animated .product-card:nth-child(9)  { animation-delay: 360ms; }
.product-grid.animated .product-card:nth-child(10) { animation-delay: 400ms; }
.product-grid.animated .product-card:nth-child(11) { animation-delay: 440ms; }
.product-grid.animated .product-card:nth-child(12) { animation-delay: 480ms; }
.product-grid.animated .product-card:nth-child(13) { animation-delay: 520ms; }
.product-grid.animated .product-card:nth-child(14) { animation-delay: 560ms; }
.product-grid.animated .product-card:nth-child(15) { animation-delay: 600ms; }
.product-grid.animated .product-card:nth-child(16) { animation-delay: 640ms; }
@media (prefers-reduced-motion: reduce) {
  .product-grid.animated .product-card { animation: none; opacity: 1; }
}

/* ── Score badge (top-left) ── */
.product-card-score {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #1A0A0F;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.4);
  line-height: 1;
  border: 1.5px solid var(--gold);
}
.product-card-score-value {
  font-size: 15px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.product-card-score-max {
  font-size: 9px;
  font-weight: 600;
  color: var(--gold-light);
  opacity: .75;
}

/* ── Wishlist button (top-right) ── */
.product-card-wishlist {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: color var(--transition), background var(--transition);
  backdrop-filter: blur(4px);
  z-index: 3;
}
.product-card-wishlist:hover { color: #E53935; background: white; }
.product-card-wishlist.active { color: #E53935; background: white; }
.product-card-wishlist.active svg,
.product-card-wishlist.active svg path { fill: #E53935 !important; }

/* ── Overlay badges (bottom-left) ── */
.product-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.product-badge-flash   { background: #E53935; color: white; }
.product-badge-promo   { background: var(--gold); color: var(--bg-dark); }
.product-badge-new     { background: var(--brand); color: white; }
.product-badge-vedette { background: var(--bg-dark); color: var(--gold-light); }

/* Legacy badge classes */
.badge { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: var(--radius-pill); font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.badge-new     { background: var(--brand); color: white; }
.badge-promo   { background: var(--gold); color: var(--bg-dark); }
.badge-flash   { background: #E53935; color: white; }
.badge-vedette { background: var(--bg-dark); color: var(--gold-light); }
.badge-rare    { background: #4A0072; color: white; }
.badge-bio     { background: #2E7D32; color: white; }

/* ── Card body ── */
.product-card-body {
  padding: 14px 16px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* Title row: name + volume */
.product-card-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
}
.product-card-name {
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkitline-clamp: 2;
  -webkit-line-clamp: 2;
  overflow: hidden;
  flex: 1;
}
.product-card-name a { color: inherit; text-decoration: none; transition: color var(--transition); }
.product-card-name a:hover { color: var(--brand); }
.product-card-volume {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Origin / AOC */
.product-card-origin {
  font-size: 11px;
  color: var(--text-light);
  line-height: 1.4;
}

/* Star rating pill */
.product-card-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #FFF9EC;
  border: 1px solid #F5DFA0;
  border-radius: var(--radius-pill);
  padding: 3px 9px 3px 7px;
  width: fit-content;
  color: #C47A00;
}
.product-card-rating-score {
  font-size: 12px;
  font-weight: 700;
  color: #C47A00;
}
.product-card-rating-count {
  font-size: 11px;
  color: var(--text-muted);
}

/* Excerpt */
.product-card-excerpt {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--text-muted);
  font-style: italic;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin: 0;
}

/* Delivery badge row */
.product-card-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 2px;
}
.product-badge-delivery {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #F0FBF4;
  border: 1px solid #B7EACB;
  color: #1A7A3A;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}

/* ── Footer: price + add-to-cart ── */
.product-card-footer {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.product-card-price-block {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}
.product-card-price-current {
  font-size: 18px;
  font-weight: 800;
  color: var(--brand);
  line-height: 1.1;
}
.product-card-price-old {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: line-through;
}

/* Qty select + add button */
.product-card-add-form { width: 100%; }
.product-card-add-row {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
}
.product-card-qty {
  position: relative;
  display: flex;
  align-items: center;
}
.product-card-qty-select {
  appearance: none;
  -webkit-appearance: none;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 7px 22px 7px 9px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  width: 58px;
  line-height: 1;
}
.product-card-qty-select:focus { outline: none; border-color: var(--brand); }
.product-card-qty-arrow {
  position: absolute;
  right: 7px;
  pointer-events: none;
  color: var(--text-muted);
}
.product-card-add-btn {
  background: var(--brand);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
  flex: 1;
}
.product-card-add-btn:hover { background: var(--brand-dark); transform: translateY(-1px); box-shadow: var(--shadow-brand); }

/* ── Legacy classes for product detail page ── */
.price-current {
  font-size: 20px;
  font-weight: 700;
  color: var(--brand);
  font-family: 'Playfair Display', serif;
}
.price-original {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 6px;
}
.price-discount {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  background: var(--error-bg);
  color: var(--error);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
}
.price-carton {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 3px;
}
.price-carton strong { color: var(--brand-light); }

.product-card-stock {
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
}
.stock-ok { color: var(--success); }
.stock-ok::before { content: ''; display: inline-block; width: 7px; height: 7px; background: var(--success); border-radius: 50%; }
.stock-warning { color: var(--warning); }
.stock-out { color: var(--error); }

.product-card-btn {
  margin-top: 14px;
  width: 100%;
  padding: 11px;
  background: var(--brand);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background var(--transition), transform var(--transition);
  text-decoration: none;
}
.product-card-btn:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}
.product-card-btn svg { width: 16px; height: 16px; }

/* ============================================================
   15. CATALOGUE / LISTING PAGE
   ============================================================ */
.catalogue-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}

/* Sidebar */
.catalogue-sidebar { position: sticky; top: calc(var(--header-h) + var(--nav-h) + 20px); }
.filter-section {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 16px;
}
.filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: none;
  border: none;
  border-bottom: 1px solid var(--border-light);
  width: 100%;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text);
}
.filter-head svg { width: 16px; height: 16px; color: var(--text-muted); transition: transform var(--transition); }
.filter-head.open svg { transform: rotate(180deg); }
.filter-body { padding: 12px 18px 16px; }
.filter-body.hidden { display: none; }
.filter-option {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 5px 0;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-light);
  transition: color var(--transition);
}
.filter-option:hover { color: var(--brand); }
.filter-option input[type=checkbox] {
  width: 16px; height: 16px;
  accent-color: var(--brand);
  cursor: pointer;
}
.filter-option-count { margin-left: auto; font-size: 12px; color: var(--text-muted); }

/* Price range */
.price-range-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.price-range-inputs input {
  width: 80px;
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  text-align: center;
  outline: none;
}
.price-range-inputs input:focus { border-color: var(--brand); }
.price-range-inputs .sep { color: var(--text-muted); font-size: 12px; }
.btn-apply-filter {
  margin-top: 10px;
  width: 100%;
  padding: 8px;
  background: var(--brand);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition);
}
.btn-apply-filter:hover { background: var(--brand-dark); }

/* ── Catalogue page sub-category chips ── */
.catalogue-subcats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

/* Catalogue content */
.catalogue-banner {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 200px;
  position: relative;
  margin-bottom: 28px;
  box-shadow: 0 4px 24px rgba(107,0,32,.12);
}
.catalogue-banner img { width: 100%; height: 100%; object-fit: cover; }
.catalogue-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(26,10,15,.65) 0%, transparent 70%);
  display: flex;
  align-items: center;
  padding: 0 32px;
}
.catalogue-banner-overlay h1 {
  color: white;
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 700;
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
}

.catalogue-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.catalogue-count {
  font-size: 14px;
  color: var(--text-muted);
}
.catalogue-count strong { color: var(--text); }
.catalogue-sort {
  display: flex;
  align-items: center;
  gap: 10px;
}
.catalogue-sort label { font-size: 13px; color: var(--text-muted); white-space: nowrap; }
.catalogue-sort select {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  background: white;
  color: var(--text);
  outline: none;
  cursor: pointer;
}
.catalogue-sort select:focus { border-color: var(--brand); }
.view-toggles {
  display: flex;
  gap: 4px;
}
.view-toggle-btn {
  padding: 7px 9px;
  border: 1px solid var(--border);
  background: white;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--text-muted);
  transition: all var(--transition);
}
.view-toggle-btn.active,
.view-toggle-btn:hover { background: var(--brand); color: white; border-color: var(--brand); }
.view-toggle-btn svg { width: 16px; height: 16px; display: block; }

/* Sub-categories tags */
.subcats-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.subcat-tag {
  padding: 6px 14px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 13px;
  color: var(--text-light);
  font-weight: 600;
  transition: all var(--transition);
  white-space: nowrap;
}
.subcat-tag:hover,
.subcat-tag.active {
  background: var(--brand);
  border-color: var(--brand);
  color: white;
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.product-grid.list-view {
  grid-template-columns: 1fr;
}
.product-grid.list-view .product-card {
  flex-direction: row;
}
.product-grid.list-view .product-card-image {
  width: 160px;
  flex-shrink: 0;
  aspect-ratio: auto;
  height: 180px;
}
.product-grid.list-view .product-card-body {
  flex: 1;
}

/* Category description */
.cat-description {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 28px;
  padding: 20px;
  background: var(--bg-warm);
  border-radius: var(--radius);
  border-left: 4px solid var(--gold);
}

/* ── Empty state ── */
.catalogue-empty {
  padding: 64px 20px;
  text-align: center;
  color: var(--text-muted);
}
.catalogue-empty svg { margin: 0 auto 18px; opacity: .4; display: block; }
.catalogue-empty-title { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.catalogue-empty-sub   { font-size: 14px; margin-bottom: 28px; }

/* ── Generic utility button ── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 26px; border-radius: var(--radius); font-weight: 700; font-size: 14px; text-decoration: none; cursor: pointer; border: none; transition: all var(--transition); }
.btn-brand { background: var(--brand); color: white; }
.btn-brand:hover { background: var(--brand-dark); transform: translateY(-1px); box-shadow: var(--shadow-brand); }

/* ============================================================
   16. PRODUCT DETAIL PAGE
   ============================================================ */
.product-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 40px;
  align-items: start;
}

/* Gallery */
.product-gallery { position: sticky; top: calc(var(--header-h) + var(--nav-h) + 20px); }
.gallery-main {
  background: #F8F5F0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
  margin-bottom: 12px;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.gallery-main:hover img { transform: scale(1.04); }
.gallery-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: thin;
}
.gallery-thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color var(--transition);
}
.gallery-thumb.active,
.gallery-thumb:hover { border-color: var(--brand); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Product info panel */
.product-info { }
.product-info-region {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.product-info h1 {
  font-size: clamp(22px, 3vw, 32px);
  margin-bottom: 8px;
  line-height: 1.2;
}
.product-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }

.product-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 14px;
}
.stars {
  display: flex;
  gap: 2px;
  color: var(--gold);
}
.stars svg { width: 16px; height: 16px; }
.product-rating a { color: var(--brand); text-decoration: underline; }

.product-price-block {
  padding: 20px;
  background: var(--bg-warm);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
  border: 1px solid var(--border);
}
.product-price-main {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}
.product-price-main .price-big {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  font-weight: 700;
  color: var(--brand);
  line-height: 1;
}
.product-price-main .price-crossed {
  font-size: 20px;
  text-decoration: line-through;
  color: var(--text-muted);
}
.product-price-main .discount-badge {
  background: var(--error-bg);
  color: var(--error);
  font-size: 14px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}
.product-price-sub {
  font-size: 13px;
  color: var(--text-muted);
}
.product-price-carton {
  margin-top: 12px;
  padding: 12px 14px;
  background: var(--gold-pale);
  border-radius: var(--radius);
  border: 1px solid var(--gold-light);
  font-size: 14px;
}
.product-price-carton strong { color: var(--brand); font-size: 16px; }
.product-price-carton .unit { font-size: 12px; color: var(--text-muted); }

.product-stock {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}
.product-stock.in-stock { color: var(--success); }
.product-stock.in-stock .dot { width: 8px; height: 8px; background: var(--success); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .7; transform: scale(1.3); }
}
.product-stock.low-stock { color: var(--warning); }
.product-stock.out-stock { color: var(--error); }

/* Add to cart form */
.add-to-cart-form { }
.conditionnement-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}
.conditionnement-tab {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  text-align: center;
  transition: all var(--transition);
  background: white;
}
.conditionnement-tab input { display: none; }
.conditionnement-tab.selected,
.conditionnement-tab:has(input:checked) {
  border-color: var(--brand);
  background: var(--brand-pale);
}
.conditionnement-tab-title { font-size: 14px; font-weight: 700; color: var(--text); }
.conditionnement-tab-price { font-size: 18px; font-weight: 700; color: var(--brand); font-family: 'Playfair Display', serif; }
.conditionnement-tab-sub { font-size: 11px; color: var(--text-muted); }

.qty-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}
.qty-label { font-size: 14px; font-weight: 600; color: var(--text); }
.qty-control {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: white;
}
.qty-btn {
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 20px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition);
}
.qty-btn:hover { background: var(--brand); color: white; }
.qty-input {
  width: 52px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  padding: 8px 4px;
  font-size: 16px;
  font-weight: 700;
  outline: none;
  background: white;
}

.btn-add-cart {
  width: 100%;
  padding: 16px 24px;
  background: var(--brand);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  margin-bottom: 10px;
}
.btn-add-cart:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-brand);
}
.btn-buy-now {
  width: 100%;
  padding: 14px 24px;
  background: var(--bg-dark);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background var(--transition);
  margin-bottom: 14px;
  text-decoration: none;
}
.btn-buy-now:hover { background: var(--brand-dark); }

.product-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 16px;
  background: var(--bg-warm);
  border-radius: var(--radius);
  font-size: 12px;
  color: var(--text-muted);
}
.product-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.product-trust-item svg { width: 16px; height: 16px; color: var(--success); }

/* Product tabs (description, characteristics, reviews) */
.product-tabs { margin-top: 48px; }
.tabs-nav {
  display: flex;
  border-bottom: 2px solid var(--border);
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.tab-btn {
  padding: 12px 24px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: color var(--transition), border-color var(--transition);
}
.tab-btn.active,
.tab-btn:hover { color: var(--brand); border-bottom-color: var(--brand); }
.tab-content { display: none; padding: 28px 0; }
.tab-content.active { display: block; }
.tab-content p { font-size: 15px; color: var(--text-light); line-height: 1.8; margin-bottom: 16px; }

.characteristics-table { width: 100%; border-collapse: collapse; }
.characteristics-table tr { border-bottom: 1px solid var(--border-light); }
.characteristics-table tr:last-child { border-bottom: none; }
.characteristics-table th {
  width: 160px;
  padding: 12px 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  text-align: left;
  white-space: nowrap;
}
.characteristics-table td {
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text);
}

/* ── PDP extra classes ── */

.pdp-container { max-width: 1080px; }

/* Gallery portrait aspect + zoom hint */
.pdp-gallery-main { aspect-ratio: 2/3 !important; position: relative; }
.gallery-zoom-hint {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(26,10,15,.55);
  color: white;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 5px;
  opacity: 0;
  transition: opacity .25s;
  pointer-events: none;
}
.pdp-gallery-main:hover .gallery-zoom-hint { opacity: 1; }

/* Floating badges wrapper over gallery */
.pdp-gallery-badges {
  position: relative;
  z-index: 2;
  margin-bottom: -36px;
  padding: 10px 12px 0;
  pointer-events: none;
}

/* Score expert card below gallery */
.pdp-score-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: linear-gradient(135deg, var(--gold-pale) 0%, #fffbee 100%);
  border: 1px solid var(--gold-light);
  border-radius: var(--radius-lg);
  margin-top: 14px;
}
.pdp-score-ring {
  display: flex;
  align-items: baseline;
  gap: 2px;
  flex-shrink: 0;
}
.pdp-score-val {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--brand);
  line-height: 1;
}
.pdp-score-max { font-size: 13px; color: var(--text-muted); }
.pdp-score-info { flex: 1; }
.pdp-score-label { font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: var(--text-muted); font-weight: 700; margin-bottom: 4px; }
.pdp-score-stars { display: flex; gap: 2px; color: var(--gold); }
.pdp-score-avis { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--brand); text-decoration: none; white-space: nowrap; }
.pdp-score-avis:hover { text-decoration: underline; }

/* Page title */
.pdp-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 14px;
}

/* Region / cat link */
.pdp-cat-link { color: var(--brand); text-decoration: none; font-weight: 600; }
.pdp-cat-link:hover { text-decoration: underline; }
.pdp-region-sep { color: var(--border); margin: 0 2px; }

/* Meta attribute chips */
.pdp-meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 20px;
}
.pdp-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  background: var(--bg-warm);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
}
.pdp-meta-chip svg { flex-shrink: 0; color: var(--text-muted); }
.pdp-chip-vintage { border-color: rgba(201,168,76,.35); background: var(--gold-pale); color: var(--text); }
.pdp-chip-color   { border-color: rgba(107,0,32,.2); background: rgba(107,0,32,.04); color: var(--brand); }

/* Price block PDP tweak */
.pdp-price-block {
  border-left: 3px solid var(--gold);
}

/* CTA row: add-to-cart + wishlist side by side */
.pdp-cta-row {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}
.pdp-cta-row .btn-add-cart { flex: 1; margin-bottom: 0; }
.pdp-wishlist-btn {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: white;
  cursor: pointer;
  transition: all var(--transition);
  flex-shrink: 0;
}
.pdp-wishlist-btn:hover { border-color: var(--brand); color: var(--brand); background: rgba(107,0,32,.04); }

/* Back link */
.pdp-back-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
  margin-bottom: 16px;
}
.pdp-back-link:hover { color: var(--brand); }

/* Info panel fade-in */
.pdp-panel-animate { opacity: 0; transform: translateX(16px); transition: opacity .45s ease, transform .45s ease; }
.pdp-panel-animate.pdp-panel-visible { opacity: 1; transform: translateX(0); }

/* ── Tabs enhancements ── */
.tabs-nav { gap: 0; border-bottom: 2px solid var(--border-light); }
.tab-btn { font-family: 'Lato', sans-serif; font-size: 14px; font-weight: 700; padding: 14px 28px; }
.pdp-tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand);
  color: white;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  margin-left: 7px;
  vertical-align: middle;
}

/* Description typography */
.pdp-description { font-size: 15px; line-height: 1.85; color: var(--text-light); max-width: 820px; }
.pdp-description p { margin-bottom: 14px; }
.pdp-description strong { color: var(--text); }

/* Accords mets & vins */
.pdp-accords {
  margin-top: 28px;
  padding: 20px 24px;
  background: var(--gold-pale);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  max-width: 720px;
}
.pdp-accords-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text);
  margin-bottom: 10px;
}
.pdp-accords-text { font-size: 14px; color: var(--text-light); line-height: 1.7; margin: 0; }

/* Characteristics table enhanced */
.pdp-char-table { max-width: 640px; }
.pdp-char-table th {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  background: var(--bg-warm);
  padding: 11px 16px 11px 0;
  width: 190px;
}
.pdp-char-table td { padding: 11px 0; }
.pdp-char-table tr:hover th,
.pdp-char-table tr:hover td { background: rgba(107,0,32,.03); }

/* Reviews */
.pdp-reviews-header {
  padding: 20px 24px;
  background: var(--bg-warm);
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  border: 1px solid var(--border-light);
}
.pdp-reviews-avg { display: flex; align-items: center; gap: 14px; }
.pdp-reviews-avg-score {
  font-family: 'Playfair Display', serif;
  font-size: 44px;
  font-weight: 700;
  color: var(--brand);
  line-height: 1;
}
.pdp-reviews-stars { display: flex; gap: 2px; color: var(--gold); margin-bottom: 4px; }
.pdp-reviews-count { font-size: 13px; color: var(--text-muted); }

.pdp-reviews-list { display: flex; flex-direction: column; gap: 12px; }
.pdp-review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.pdp-review-card:hover { box-shadow: var(--shadow-sm); border-color: rgba(201,168,76,.3); }
.pdp-review-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.pdp-review-author { display: flex; align-items: center; gap: 12px; }
.pdp-review-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand) 0%, #9B1030 100%);
  color: white;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pdp-review-name { font-size: 14px; font-weight: 700; color: var(--text); }
.pdp-review-title-text { font-size: 13px; color: var(--text-light); margin-top: 2px; }
.pdp-review-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.pdp-review-stars-row { display: flex; gap: 2px; color: var(--gold); }
.pdp-review-date { font-size: 11px; color: var(--text-muted); }
.pdp-review-body { font-size: 14px; color: var(--text-light); line-height: 1.7; margin: 0; }

.pdp-no-reviews {
  padding: 48px;
  text-align: center;
  color: var(--text-muted);
  background: var(--bg-warm);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border);
}
.pdp-no-reviews svg { margin: 0 auto 16px; display: block; opacity: .4; }
.pdp-no-reviews p { font-size: 15px; }

/* Related products bottom spacing */
.pdp-related { margin-top: 60px; }

/* Lightbox */
.pdp-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10,5,8,.88);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
  cursor: zoom-out;
}
.pdp-lightbox.open { display: flex; }
.pdp-lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: 0 32px 80px rgba(0,0,0,.6);
}
.pdp-lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: rgba(255,255,255,.15);
  border: none;
  color: white;
  font-size: 28px;
  line-height: 1;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.pdp-lightbox-close:hover { background: rgba(255,255,255,.3); }

/* ============================================================
   17. PANIER
   ============================================================ */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
}
.cart-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.cart-empty {
  padding: 60px 20px;
  text-align: center;
}
.cart-empty svg { width: 64px; height: 64px; color: var(--border); margin: 0 auto 20px; }
.cart-empty p { font-size: 18px; color: var(--text-muted); margin-bottom: 24px; }
.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 16px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-light);
}
.cart-item-img {
  width: 80px;
  height: 100px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: #F8F5F0;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { }
.cart-item-name {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text);
}
.cart-item-name a:hover { color: var(--brand); }
.cart-item-sub { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cart-item-remove {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 12px;
  text-decoration: underline;
  transition: color var(--transition);
  padding: 0;
}
.cart-item-remove:hover { color: var(--error); }
.cart-item-price {
  text-align: right;
  white-space: nowrap;
}
.cart-item-price .unit-price { font-size: 13px; color: var(--text-muted); margin-bottom: 4px; }
.cart-item-price .total-price {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--brand);
}

/* Cart summary */
.cart-summary {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: calc(var(--header-h) + var(--nav-h) + 20px);
}
.cart-summary-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
}
.cart-summary-row:last-of-type { border-bottom: none; }
.cart-summary-row.total {
  font-size: 18px;
  font-weight: 700;
  padding-top: 16px;
  margin-top: 8px;
  border-top: 2px solid var(--border);
  border-bottom: none;
}
.cart-summary-row.total .amount { color: var(--brand); font-family: 'Playfair Display', serif; font-size: 24px; }
.free-shipping { color: var(--success); font-weight: 700; }
.cart-promo-form {
  margin: 16px 0;
  display: flex;
  gap: 0;
}
.cart-promo-form input {
  flex: 1;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  font-size: 13px;
  outline: none;
  text-transform: uppercase;
}
.cart-promo-form input:focus { border-color: var(--brand); }
.cart-promo-form button {
  padding: 10px 16px;
  background: var(--brand);
  color: white;
  border: 1.5px solid var(--brand);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: background var(--transition);
}
.cart-promo-form button:hover { background: var(--brand-dark); }
.cart-ship-bar {
  background: var(--gold-pale);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 12px;
  color: var(--text);
  margin-bottom: 16px;
  border: 1px solid var(--gold-light);
}
.cart-ship-bar .remaining { color: var(--brand); font-weight: 700; }
.cart-ship-bar .progress {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin-top: 8px;
  overflow: hidden;
}
.cart-ship-bar .progress-fill {
  height: 100%;
  background: var(--gold);
  border-radius: 2px;
  transition: width .4s ease;
}
.btn-checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 24px;
  background: var(--brand);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition), box-shadow var(--transition);
  margin-top: 16px;
}
.btn-checkout:hover { background: var(--brand-dark); box-shadow: var(--shadow-brand); }
.btn-continue-shop {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 12px;
  background: none;
  color: var(--text-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  text-decoration: none;
  margin-top: 8px;
  transition: border-color var(--transition), color var(--transition);
}
.btn-continue-shop:hover { border-color: var(--brand); color: var(--brand); }

/* ============================================================
   18. CHECKOUT
   ============================================================ */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
}
.checkout-steps {
  display: flex;
  gap: 0;
  margin-bottom: 32px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  border: 1px solid var(--border-light);
}
.checkout-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  font-size: 12px;
  text-align: center;
  color: var(--text-muted);
}
.checkout-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 18px;
  left: calc(50% + 16px);
  right: calc(-50% + 16px);
  height: 1px;
  background: var(--border);
}
.checkout-step.done:not(:last-child)::after { background: var(--brand); }
.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  background: var(--bg);
  border: 2px solid var(--border);
  color: var(--text-muted);
}
.checkout-step.active .step-num { background: var(--brand); border-color: var(--brand); color: white; }
.checkout-step.done .step-num { background: var(--success); border-color: var(--success); color: white; }

.checkout-section {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 20px;
}
.checkout-section h2 {
  font-size: 18px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}
.checkout-section h2 svg { width: 20px; height: 20px; color: var(--brand); }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-grid .full { grid-column: 1 / -1; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: .02em;
}
.form-field input,
.form-field select,
.form-field textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text);
  background: white;
  outline: none;
  transition: border-color var(--transition);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--brand); }
.form-field .field-error { font-size: 12px; color: var(--error); }

.payment-methods { display: flex; flex-wrap: wrap; gap: 12px; }
.payment-method {
  flex: 1;
  min-width: 140px;
  padding: 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  text-align: center;
  transition: all var(--transition);
  background: white;
}
.payment-method input { display: none; }
.payment-method:has(input:checked),
.payment-method.selected { border-color: var(--brand); background: var(--brand-pale); }
.payment-method img { max-height: 28px; object-fit: contain; margin: 0 auto 8px; }
.payment-method-name { font-size: 13px; font-weight: 700; color: var(--text); }

/* Order summary (sticky) */
.order-summary {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: sticky;
  top: calc(var(--header-h) + var(--nav-h) + 20px);
}
.order-summary-head {
  background: var(--bg-dark);
  padding: 16px 24px;
  color: white;
  font-family: 'Playfair Display', serif;
  font-size: 18px;
}
.order-summary-body { padding: 20px 24px; }
.order-summary-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 13px;
}
.order-summary-item img {
  width: 48px;
  height: 56px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  flex-shrink: 0;
  background: #F8F5F0;
}
.order-summary-item-name { flex: 1; color: var(--text); line-height: 1.3; }
.order-summary-item-name span { color: var(--text-muted); font-size: 11px; display: block; }
.order-summary-item-price { font-weight: 700; color: var(--brand); white-space: nowrap; }
.order-summary-totals { padding-top: 16px; }
.order-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 6px 0;
}
.order-summary-row.total {
  font-size: 18px;
  font-weight: 700;
  padding-top: 14px;
  margin-top: 8px;
  border-top: 2px solid var(--border);
}
.order-summary-row.total .amount { color: var(--brand); font-family: 'Playfair Display', serif; }
.btn-submit-order {
  width: 100%;
  padding: 16px;
  margin-top: 20px;
  background: var(--brand);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background var(--transition);
}
.btn-submit-order:hover { background: var(--brand-dark); }
.order-secure-info {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 12px;
}
.order-secure-info svg { width: 14px; height: 14px; color: var(--success); }

/* Confirmation page */
.order-confirmation {
  text-align: center;
  padding: 60px 20px;
  max-width: 600px;
  margin: 0 auto;
}
.order-confirmation .check-circle {
  width: 80px;
  height: 80px;
  background: var(--success-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--success);
}
.order-confirmation .check-circle svg { width: 40px; height: 40px; }
.order-confirmation h1 { font-size: 30px; margin-bottom: 12px; color: var(--text); }
.order-confirmation p { font-size: 16px; color: var(--text-light); margin-bottom: 8px; }
.order-number { background: var(--bg-warm); border-radius: var(--radius); padding: 16px 24px; margin: 20px auto; display: inline-block; }
.order-number span { font-size: 22px; font-weight: 700; color: var(--brand); font-family: 'Playfair Display', serif; }

/* ============================================================
   19. AUTH FORMS
   ============================================================ */
.auth-page {
  min-height: calc(100vh - var(--header-h) - var(--nav-h) - var(--topbar-h) - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
  background: var(--bg-warm);
}
.auth-card {
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: 48px;
  width: 100%;
  max-width: 440px;
}
.auth-logo {
  text-align: center;
  margin-bottom: 32px;
}
.auth-logo .logo-name { font-size: 28px; color: var(--brand); }
.auth-logo .logo-sub { font-size: 11px; }
.auth-title {
  font-size: 26px;
  text-align: center;
  margin-bottom: 6px;
}
.auth-subtitle {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.auth-form { display: flex; flex-direction: column; gap: 18px; }
.auth-form .form-field label { font-size: 14px; }
.btn-auth {
  width: 100%;
  padding: 14px;
  background: var(--brand);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition);
  margin-top: 6px;
}
.btn-auth:hover { background: var(--brand-dark); }
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0;
  color: var(--text-muted);
  font-size: 13px;
}
.auth-divider::before,
.auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.auth-links {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 20px;
}
.auth-links a { color: var(--brand); font-weight: 600; }

/* Account page */
.account-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}
.account-nav {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.account-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-light);
  font-size: 14px;
  font-weight: 600;
  transition: background var(--transition), color var(--transition);
}
.account-nav-item:last-child { border-bottom: none; }
.account-nav-item:hover,
.account-nav-item.active { background: var(--brand-pale); color: var(--brand); }
.account-nav-item svg { width: 18px; height: 18px; }
.account-section {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.account-section h2 { font-size: 20px; margin-bottom: 24px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }

/* ============================================================
   20. PAGES STATIQUES
   ============================================================ */
.static-page { max-width: 860px; margin: 0 auto; }
.static-page h1 { font-size: clamp(26px, 4vw, 38px); margin-bottom: 32px; }
.static-page h2 { font-size: 22px; margin: 32px 0 14px; color: var(--brand); padding-bottom: 8px; border-bottom: 2px solid var(--gold); }
.static-page p { font-size: 15px; color: var(--text-light); line-height: 1.8; margin-bottom: 16px; }
.static-page ul { margin: 8px 0 16px 20px; }
.static-page ul li { margin-bottom: 6px; color: var(--text-light); font-size: 15px; }

.garantie-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 32px 0; }
.garantie-card {
  padding: 28px 24px;
  text-align: center;
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.garantie-card svg { width: 44px; height: 44px; color: var(--gold); margin: 0 auto 16px; }
.garantie-card h3 { font-size: 16px; margin-bottom: 8px; }
.garantie-card p { font-size: 14px; color: var(--text-muted); }

.livraison-table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 24px 0; }
.livraison-table th, .livraison-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border-light); }
.livraison-table th { background: var(--bg-dark); color: white; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.livraison-table tbody tr:hover { background: var(--bg-warm); }

.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  font-size: 15px;
}
.contact-info-item svg { width: 22px; height: 22px; color: var(--brand); flex-shrink: 0; margin-top: 2px; }

/* ============================================================
   21. PAGINATION
   ============================================================ */
.pagination-wrap {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.pagination-wrap a,
.pagination-wrap span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
  border: 1px solid var(--border);
  color: var(--text-light);
  background: white;
}
.pagination-wrap a:hover,
.pagination-wrap a.active { background: var(--brand); color: white; border-color: var(--brand); }
.pagination-wrap span.current { background: var(--brand); color: white; border-color: var(--brand); }

/* ============================================================
   22. FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,.75);
  margin-top: auto;
}
.footer-top {
  padding: 56px 0 40px;
  display: grid;
  grid-template-columns: 280px 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand .logo-name { color: white; font-size: 24px; margin-bottom: 4px; }
.footer-brand .logo-sub { color: var(--gold); margin-bottom: 16px; }
.footer-brand p {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,.6);
  margin-bottom: 20px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
  transition: background var(--transition), color var(--transition);
}
.footer-social a:hover { background: var(--brand); color: white; }
.footer-social svg { width: 16px; height: 16px; }

.footer-col h4 {
  color: white;
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a {
  color: rgba(255,255,255,.6);
  font-size: 13px;
  transition: color var(--transition), padding-left var(--transition);
}
.footer-col ul li a:hover { color: var(--gold-light); padding-left: 4px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,.4); }
.footer-legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-legal a { font-size: 12px; color: rgba(255,255,255,.4); transition: color var(--transition); }
.footer-legal a:hover { color: rgba(255,255,255,.7); }
.footer-payments { display: flex; gap: 8px; align-items: center; }
.footer-payments img { height: 22px; opacity: .6; filter: grayscale(1); transition: opacity var(--transition), filter var(--transition); }
.footer-payments img:hover { opacity: 1; filter: none; }

/* ============================================================
   23. UTILITY
   ============================================================ */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
.text-center { text-align: center; }
.text-brand { color: var(--brand); }
.text-gold { color: var(--gold); }
.text-muted { color: var(--text-muted); }
.fw-bold { font-weight: 700; }
.mt-0 { margin-top: 0; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

.no-products {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}
.no-products svg { width: 64px; height: 64px; margin: 0 auto 20px; opacity: .4; }

/* ============================================================
   24. RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .brands-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .reassurance-bar .container { grid-template-columns: repeat(2, 1fr); }
  .reassurance-item:nth-child(2) { border-right: none; }
}

@media (max-width: 1024px) {
  :root { --header-h: 64px; }
  .site-header .container { grid-template-columns: 160px 1fr 160px; }
  .site-nav { display: none; }
  .burger-btn { display: flex; }
  .header-actions .header-action-btn span { display: none; }
  .header-action-btn { padding: 8px; }

  .catalogue-layout { grid-template-columns: 1fr; }
  .catalogue-sidebar { position: static; }
  .filter-section { }

  .product-layout { grid-template-columns: 1fr; gap: 32px; }
  .product-gallery { position: static; }

  .checkout-layout { grid-template-columns: 1fr; }
  .order-summary { position: static; }

  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }

  .contact-layout { grid-template-columns: 1fr; }
  .garantie-grid { grid-template-columns: 1fr 1fr; }

  .account-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 56px; --topbar-h: 0px; }
  .topbar { display: none; }
  .site-header .container { grid-template-columns: auto 1fr auto; gap: 12px; }
  .header-logo-text .logo-sub { display: none; }

  .hero-slider { aspect-ratio: 4/3; }
  .hero-slide-content h2 { font-size: 22px; }
  .hero-slide-content p { display: none; }

  .reassurance-bar .container { grid-template-columns: 1fr 1fr; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }

  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .product-slider > .product-card { width: 200px; }

  /* PDP mobile */
  .pdp-gallery-main { aspect-ratio: 3/4 !important; }
  .pdp-meta-chips { gap: 5px; }
  .pdp-meta-chip { font-size: 11px; padding: 4px 10px; }
  .pdp-cta-row { flex-direction: row; }
  .pdp-reviews-header { flex-wrap: wrap; }
  .pdp-char-table th { width: 140px; }
  .pdp-score-badge { flex-wrap: wrap; gap: 10px; }
  .tab-btn { padding: 12px 16px; font-size: 13px; }

  .product-grid.list-view { grid-template-columns: 1fr; }
  .product-grid.list-view .product-card { flex-direction: row; }
  .product-grid.list-view .product-card-image { width: 120px; height: 140px; aspect-ratio: auto; }

  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand { grid-column: unset; }
  .footer-bottom .container { flex-direction: column; text-align: center; }

  .auth-card { padding: 28px 20px; }

  .form-grid { grid-template-columns: 1fr; }
  .checkout-steps { display: none; }

  .cart-item { grid-template-columns: 64px 1fr auto; gap: 12px; }
  .cart-item-img { width: 64px; height: 80px; }

  .brands-grid { grid-template-columns: repeat(3, 1fr); }

  .static-page { padding: 0 4px; }
  .garantie-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: 1fr; }
  .product-slider > .product-card { width: 180px; }
  .brands-grid { grid-template-columns: repeat(2, 1fr); }
  .reassurance-bar .container { grid-template-columns: 1fr; }
  .reassurance-item { border-right: none; border-bottom: 1px solid var(--border-light); }
  .catalogue-toolbar { flex-direction: column; align-items: flex-start; }
  .hero-slider { aspect-ratio: 1/1; min-height: 240px; }
}

/* ============================================================
   25. ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp .4s ease forwards; }

@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
  background-size: 800px 100%;
  animation: shimmer 1.4s ease infinite;
  border-radius: var(--radius);
}

/* Print */
@media print {
  .topbar, .site-header, .site-nav, .site-footer { display: none; }
}

/* ============================================================
   25. MISSING UTILITY CLASSES
   ============================================================ */
.auth-submit-btn {
  width: 100%;
  padding: 14px;
  background: var(--brand);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition);
  margin-top: 6px;
}
.auth-submit-btn:hover { background: var(--brand-dark); }
.auth-footer {
  text-align: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  font-size: 14px;
  color: var(--text-muted);
}
.auth-footer a { color: var(--brand); font-weight: 600; }
.form-error {
  color: #c0392b;
  font-size: 12px;
  margin-top: 4px;
}
.account-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) {
  .account-form-grid { grid-template-columns: 1fr; }
  .auth-card { padding: 28px 20px; max-width: 100% !important; }
}

/* ============================================================
   22. PAGE CONTACT
   ============================================================ */

/* ── Keyframes ─────────────────────────────────────────────── */
@keyframes contactFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes contactOrb {
  0%,100% { transform: translate(0,0) scale(1); opacity: .5; }
  33%      { transform: translate(44px,-54px) scale(1.12); opacity: .32; }
  66%      { transform: translate(-32px,28px) scale(.9); opacity: .44; }
}
@keyframes contactSend {
  0%  { transform: translateX(0) translateY(0) rotate(0deg); opacity: 1; }
  42% { transform: translateX(70px) translateY(-24px) rotate(-22deg); opacity: 0; }
  43% { transform: translateX(-16px) translateY(8px) rotate(0deg); opacity: 0; }
  100%{ transform: translateX(0) translateY(0) rotate(0deg); opacity: 1; }
}
@keyframes contactShimmer {
  from { transform: translateX(-100%); }
  to   { transform: translateX(100%); }
}

/* ── Hero ──────────────────────────────────────────────────── */
.contact-hero {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #3B0018 58%, var(--brand-dark) 100%);
  padding: 80px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}
.contact-hero-orb--1 {
  width: 440px; height: 440px;
  background: rgba(107,0,32,.5);
  top: -130px; left: -90px;
  animation: contactOrb 13s ease-in-out infinite;
}
.contact-hero-orb--2 {
  width: 340px; height: 340px;
  background: rgba(201,168,76,.18);
  top: 50%; right: -60px;
  transform: translateY(-50%);
  animation: contactOrb 16s ease-in-out infinite reverse;
}
.contact-hero-orb--3 {
  width: 260px; height: 260px;
  background: rgba(139,26,48,.32);
  bottom: -90px; left: 42%;
  animation: contactOrb 11s ease-in-out infinite 4s;
}
.contact-hero-inner { position: relative; z-index: 1; }

/* Hero text — load animations */
.contact-animate {
  animation: contactFadeUp .75s ease both;
  animation-delay: var(--delay, 0ms);
}
.contact-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.contact-hero-kicker::before,
.contact-hero-kicker::after {
  content: '';
  display: inline-block;
  width: 28px; height: 1px;
  background: var(--gold);
  opacity: .55;
}
.contact-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 700;
  color: white;
  margin-bottom: 18px;
}
.contact-hero-sub {
  font-size: clamp(14px, 1.8vw, 17px);
  color: rgba(255,255,255,.72);
  line-height: 1.8;
  margin-bottom: 32px;
}

/* Hero chips */
.contact-hero-chips {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(6px);
  color: rgba(255,255,255,.82);
  font-size: 13px;
  font-weight: 500;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  transition: all var(--transition);
}
.contact-chip svg { color: var(--gold); flex-shrink: 0; }
.contact-chip:hover {
  background: rgba(255,255,255,.14);
  border-color: rgba(201,168,76,.4);
  color: white;
  transform: translateY(-2px);
}

/* ── Stats strip ───────────────────────────────────────────── */
.contact-stats-strip {
  background: var(--bg-dark2);
  border-top: 1px solid rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.contact-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.contact-stat {
  padding: 36px 24px;
  text-align: center;
  position: relative;
  transition: background var(--transition);
}
.contact-stat:hover { background: rgba(255,255,255,.03); }
.contact-stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 22%; bottom: 22%;
  width: 1px;
  background: rgba(255,255,255,.07);
}
.contact-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.contact-stat-label {
  font-size: 13px;
  color: rgba(255,255,255,.48);
  letter-spacing: .02em;
}

/* ── Scroll reveal ─────────────────────────────────────────── */
.contact-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .65s ease, transform .7s ease;
  transition-delay: var(--reveal-delay, 0ms);
}
.contact-reveal.reveal-right { transform: translateX(44px); }
.contact-reveal.visible { opacity: 1; transform: translate(0,0); }

/* ── Section wrapper ───────────────────────────────────────── */
.contact-section {
  padding: 64px 0 96px;
  background: var(--bg);
}
.contact-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: start;
}

/* ── Info panel ────────────────────────────────────────────── */
.contact-info-panel {
  background: var(--bg-dark);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: calc(var(--header-h) + var(--nav-h) + 20px);
}
.contact-info-block {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: padding-left .2s ease;
}
.contact-info-block:first-child { padding-top: 0; }
.contact-info-block:last-of-type { border-bottom: none; padding-bottom: 0; }
.contact-info-block:hover { padding-left: 5px; }
.contact-info-block:hover .contact-info-icon {
  background: rgba(201,168,76,.22);
  border-color: rgba(201,168,76,.5);
  transform: scale(1.1) rotate(-5deg);
}
.contact-info-icon {
  width: 44px; height: 44px; min-width: 44px;
  background: rgba(201,168,76,.10);
  border: 1px solid rgba(201,168,76,.22);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  transition: all .25s ease;
}
.contact-info-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.37);
  margin-bottom: 5px;
}
.contact-info-value {
  font-size: 14px;
  color: rgba(255,255,255,.85);
  font-weight: 500;
  line-height: 1.4;
}
a.contact-info-value:hover { color: var(--gold); text-decoration: underline; }

.contact-response-badge {
  margin-top: 20px;
  display: flex; align-items: center; gap: 10px;
  background: rgba(201,168,76,.08);
  border: 1px solid rgba(201,168,76,.22);
  border-radius: var(--radius);
  padding: 13px 15px;
  font-size: 13px;
  color: var(--gold-light);
  transition: background .2s;
}
.contact-response-badge:hover { background: rgba(201,168,76,.15); }
.contact-response-badge svg { flex-shrink: 0; color: var(--gold); }
.contact-response-badge strong { color: var(--gold); }

/* ── Form panel ────────────────────────────────────────────── */
.contact-form-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 44px 48px;
  box-shadow: var(--shadow-lg);
}
.contact-form-title {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--gold);
  display: flex; align-items: center; gap: 12px;
}
.contact-form-title svg { color: var(--gold); flex-shrink: 0; }

/* Form field enhancements (contact scope) */
.contact-form .form-grid { gap: 20px; }
.contact-form .form-field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: .02em;
  display: flex; align-items: baseline; gap: 5px;
  margin-bottom: 7px;
  transition: color .2s;
}
.contact-form .form-field:focus-within label { color: var(--brand); }
.contact-form .form-field input,
.contact-form .form-field select,
.contact-form .form-field textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  outline: none;
  width: 100%;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.contact-form .form-field input:focus,
.contact-form .form-field select:focus,
.contact-form .form-field textarea:focus {
  border-color: var(--brand);
  background: white;
  box-shadow: 0 0 0 3px rgba(107,0,32,.08);
}
.contact-form .form-field.has-error input,
.contact-form .form-field.has-error select,
.contact-form .form-field.has-error textarea {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(183,28,28,.07);
}
.field-required { color: var(--brand); font-size: 13px; }
.field-hint { font-size: 11px; color: var(--text-muted); font-weight: 400; margin-left: auto; }

/* Alerts */
.contact-alert {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 14px; font-weight: 600;
  margin-bottom: 24px;
  animation: contactFadeUp .4s ease both;
}
.contact-alert-success { background: var(--success-bg); color: var(--success); border: 1px solid #A3D9AA; }
.contact-alert-error   { background: var(--error-bg);   color: var(--error);   border: 1px solid #F5C6CB; }

/* Form footer (legal + submit) */
.contact-form-footer {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; margin-top: 28px; padding-top: 24px;
  border-top: 1px solid var(--border-light);
  flex-wrap: wrap;
}
.contact-form-legal {
  display: flex; align-items: center; gap: 7px;
  font-size: 12px; color: var(--text-muted);
}
.contact-form-legal svg { flex-shrink: 0; color: var(--success); }

/* Submit button */
.contact-submit-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--brand);
  color: white;
  font-weight: 700; font-size: 14px; letter-spacing: .05em; text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  border: none; cursor: pointer;
  position: relative; overflow: hidden;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.contact-submit-btn::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.14), transparent);
  transform: translateX(-100%);
  transition: transform .55s ease;
  pointer-events: none;
}
.contact-submit-btn:hover::before { transform: translateX(100%); }
.contact-submit-btn:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-brand);
}
.contact-submit-btn:active { transform: translateY(0); }
.contact-submit-btn svg { transition: transform .25s ease; }
.contact-submit-btn:hover svg { transform: translateX(4px) rotate(-18deg); }
.contact-submit-btn.sending { opacity: .7; pointer-events: none; }
.contact-submit-btn.sending svg { animation: contactSend .95s ease both; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 960px) {
  .contact-layout { grid-template-columns: 1fr; }
  .contact-info-panel {
    position: static;
    flex-direction: row; flex-wrap: wrap; gap: 0; padding: 24px;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  }
  .contact-info-block {
    flex: 1 1 200px; padding: 16px 12px;
    border-bottom: none; border-right: 1px solid rgba(255,255,255,.07);
  }
  .contact-info-block:last-of-type { border-right: none; }
  .contact-info-block:hover { padding-left: 12px; }
  .contact-response-badge {
    flex: 0 0 100%; margin-top: 0;
    border-top: 1px solid rgba(255,255,255,.07);
    border-radius: 0;
  }
  .contact-form-panel {
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    box-shadow: var(--shadow); border-top: none;
  }
}
@media (max-width: 640px) {
  .contact-hero { padding: 56px 0 48px; }
  .contact-stats-grid { grid-template-columns: 1fr; }
  .contact-stat:not(:last-child)::after { display: none; }
  .contact-stat { padding: 22px 16px; border-bottom: 1px solid rgba(255,255,255,.06); }
  .contact-form-panel { padding: 28px 20px; }
  .contact-form .form-grid { grid-template-columns: 1fr; }
  .contact-form .form-grid .full { grid-column: 1; }
  .contact-form-footer { flex-direction: column; align-items: stretch; }
  .contact-submit-btn { justify-content: center; width: 100%; }
  .contact-info-panel { flex-direction: column; border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
  .contact-info-block { border-right: none; border-bottom: 1px solid rgba(255,255,255,.07); flex: unset; }
}

/* ============================================================
   Checkout moderne
   ============================================================ */
.checkout-page { padding: 32px 0 72px; }
.checkout-page__header { text-align: center; margin-bottom: 36px; }
.checkout-page__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 20px;
}
.checkout-steps {
  list-style: none; margin: 0; padding: 0;
  display: flex; justify-content: center; gap: 8px 24px; flex-wrap: wrap;
}
.checkout-steps__item {
  display: flex; align-items: center; gap: 10px;
  opacity: 0.45; font-size: 13px; font-weight: 600; color: var(--text-muted);
}
.checkout-steps__item.is-active { opacity: 1; color: var(--brand); }
.checkout-steps__num {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--border-light); color: var(--text-light);
  display: flex; align-items: center; justify-content: center; font-size: 13px;
}
.checkout-steps__item.is-active .checkout-steps__num {
  background: var(--brand); color: #fff;
}
.checkout-grid {
  display: grid; grid-template-columns: 1fr minmax(280px, 360px); gap: 32px; align-items: start;
}
@media (max-width: 960px) { .checkout-grid { grid-template-columns: 1fr; } }
.checkout-form-wrap { min-width: 0; }
.checkout-card {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 22px 24px; margin-bottom: 18px;
  box-shadow: var(--shadow);
}
.checkout-card--soft { background: var(--bg-warm); box-shadow: none; }
.checkout-card__title {
  font-size: 15px; font-weight: 700; margin: 0 0 18px;
  display: flex; align-items: center; gap: 10px;
}
.checkout-card__step {
  width: 26px; height: 26px; border-radius: 8px; background: var(--brand-pale);
  color: var(--brand); display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800;
}
.checkout-fields {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px;
}
.checkout-fields .field--full { grid-column: 1 / -1; }
.checkout-fields label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 6px; color: var(--text-light); }
.checkout-fields input, .checkout-fields select, .checkout-card textarea {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--border); border-radius: var(--radius);
  font-size: 14px; font-family: inherit; background: var(--bg-card);
}
.checkout-fields input:focus, .checkout-fields select:focus, .checkout-card textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-pale);
}
.checkout-pay-intro { font-size: 13px; color: var(--text-muted); margin: 0 0 14px; line-height: 1.5; }
.payment-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
}
@media (max-width: 520px) { .payment-grid { grid-template-columns: 1fr; } }
.payment-option { cursor: pointer; margin: 0; }
.payment-option input { position: absolute; opacity: 0; pointer-events: none; }
.payment-option__inner {
  display: flex; flex-direction: column; gap: 4px; padding: 14px 16px;
  border: 1.5px solid var(--border); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s;
  min-height: 100%;
}
.payment-option input:checked + .payment-option__inner {
  border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand-pale); background: var(--brand-pale);
}
.payment-option__icon { font-size: 13px; font-weight: 800; color: var(--brand); letter-spacing: .02em; }
.payment-option__label { font-weight: 700; font-size: 14px; }
.payment-option__hint { font-size: 12px; color: var(--text-muted); line-height: 1.35; }
.field-error { color: var(--error); font-size: 12px; margin-top: 4px; display: block; }
.cgu-check {
  display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text-light);
  margin: 8px 0 20px; cursor: pointer;
}
.cgu-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand); flex-shrink: 0; }
.checkout-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 8px; }
.btn-checkout-submit { flex: 1; min-width: 200px; justify-content: center; padding: 15px 24px; font-size: 15px; }
.checkout-summary__inner {
  position: sticky; top: 24px;
  background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lg);
}
.checkout-summary__title {
  margin: 0; padding: 16px 20px; background: var(--bg-dark); color: #fff;
  font-size: 15px; font-weight: 700; font-family: 'Playfair Display', serif;
}
.checkout-summary__lines { list-style: none; margin: 0; padding: 12px 18px; max-height: 320px; overflow-y: auto; }
.checkout-summary__line {
  display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border-light);
}
.checkout-summary__thumb { width: 48px; height: 48px; object-fit: cover; border-radius: var(--radius-sm); }
.checkout-summary__meta { flex: 1; min-width: 0; }
.checkout-summary__name { display: block; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.checkout-summary__qty { font-size: 12px; color: var(--text-muted); }
.checkout-summary__price { font-size: 13px; font-weight: 700; color: var(--brand); white-space: nowrap; }
.checkout-summary__totals { margin: 0; padding: 16px 20px; background: var(--bg-warm); }
.checkout-summary__totals > div { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 14px; }
.checkout-summary__totals dt { margin: 0; color: var(--text-light); }
.checkout-summary__totals dd { margin: 0; font-weight: 600; }
.checkout-summary__total-row { border-top: 2px solid var(--border); padding-top: 12px; margin-top: 4px; font-size: 15px; }
.checkout-summary__total-row dd { font-family: 'Playfair Display', serif; font-size: 1.35rem; color: var(--brand); }
.text-success { color: var(--success); font-weight: 600; }
@media (max-width: 640px) {
  .checkout-fields { grid-template-columns: 1fr; }
}

/* ============================================================
   Pages légales dynamiques (CGV, mentions, garantie, livraison)
   ============================================================ */
.legal-page-hero {
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark2) 100%);
  color: #fff;
  padding: clamp(28px, 5vw, 48px) 0;
  margin-bottom: clamp(24px, 4vw, 40px);
}
.legal-page-breadcrumb {
  font-size: 13px;
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--text-muted);
}
.legal-page-breadcrumb a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
}
.legal-page-breadcrumb a:hover { text-decoration: underline; }
.legal-page-hero .legal-page-breadcrumb {
  color: rgba(255,255,255,.65);
}
.legal-page-hero .legal-page-breadcrumb a {
  color: var(--gold-light);
}
.orders-page-hero .legal-page-breadcrumb {
  color: rgba(255,255,255,.72);
}
.orders-page-hero .legal-page-breadcrumb a {
  color: #fff;
  opacity: .95;
}
.legal-page-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 700;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}
.legal-page-updated {
  margin: 0;
  font-size: 13px;
  color: rgba(255,255,255,.55);
}
.legal-page-grid {
  display: grid;
  grid-template-columns: minmax(200px, 260px) 1fr;
  gap: clamp(24px, 4vw, 40px);
  align-items: start;
  padding-bottom: clamp(48px, 8vw, 80px);
}
.legal-page-aside-inner {
  position: sticky;
  top: 96px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.legal-page-aside-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.legal-page-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.legal-page-menu li { border-bottom: 1px solid var(--border-light); }
.legal-page-menu li:last-child { border-bottom: none; }
.legal-page-menu a {
  display: block;
  padding: 12px 4px;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: color .2s, background .2s;
}
.legal-page-menu a:hover {
  color: var(--brand);
  background: var(--brand-pale);
}
.legal-page-menu a.is-active {
  color: var(--brand);
  background: var(--brand-pale);
}
.legal-page-article.prose-legal {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 4vw, 36px);
  box-shadow: var(--shadow);
  min-width: 0;
}
.prose-legal .page-content h2,
.prose-legal h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--brand-dark);
  margin: 2rem 0 0.75rem;
}
.prose-legal .page-content h2:first-child,
.prose-legal h2:first-child { margin-top: 0; }
.prose-legal p,
.prose-legal li { color: var(--text-light); font-size: 15px; }
.prose-legal ul { margin: 0.5rem 0 1rem 1.25rem; }
.prose-legal a { color: var(--brand); font-weight: 600; }
.prose-legal a:hover { text-decoration: underline; }

.garantie-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.garantie-card {
  background: var(--bg-warm);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 22px;
  transition: box-shadow .2s, border-color .2s;
}
.garantie-card:hover {
  border-color: var(--brand-pale);
  box-shadow: var(--shadow);
}
.garantie-card--wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
}
@media (max-width: 640px) {
  .garantie-card--wide { grid-template-columns: 1fr; }
}
.garantie-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--brand-pale);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.garantie-card--wide .garantie-card-icon { margin-bottom: 0; }
.garantie-card-icon svg { width: 26px; height: 26px; }
.garantie-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  margin: 0 0 10px;
  color: var(--text);
}
.garantie-card p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--text-light); }

.legal-table-wrap { overflow-x: auto; margin: 1rem 0; border-radius: var(--radius); }
.table-livraison {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.table-livraison th,
.table-livraison td {
  border: 1px solid var(--border);
  padding: 12px 14px;
  text-align: left;
}
.table-livraison thead { background: var(--bg-warm); }
.livraison-highlight {
  margin: 1.5rem 0;
  padding: 16px 18px;
  background: var(--brand-pale);
  border-radius: var(--radius);
  border-left: 4px solid var(--brand);
  font-size: 14px;
}
.legal-transport-grid.transporteur-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  margin: 1rem 0 2rem;
}
.legal-transport-grid .transporteur-item {
  background: var(--bg-warm);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 16px;
}
.legal-transport-grid .transporteur-item img { max-height: 36px; width: auto; margin-bottom: 10px; }
.legal-transport-grid h3 { font-size: 15px; margin: 0 0 8px; }
.legal-transport-grid p { font-size: 13px; margin: 0; color: var(--text-muted); }

@media (max-width: 900px) {
  .legal-page-grid { grid-template-columns: 1fr; }
  .legal-page-aside-inner { position: static; }
}

/* Footer brand (layout) */
.footer-brand-block { margin-bottom: 12px; }
.footer-brand-name { color: #fff !important; font-size: 22px !important; }
.footer-brand-sub { color: var(--gold) !important; }

/* ============================================================
   Espace client — commandes & compte
   ============================================================ */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.orders-page-hero {
  background: linear-gradient(120deg, var(--brand-dark) 0%, var(--brand) 45%, #4a1520 100%);
  color: #fff;
  padding: clamp(28px, 5vw, 44px) 0;
  margin-bottom: 32px;
}
.orders-page-hero-inner { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-pad); }
.orders-breadcrumb.legal-page-breadcrumb { margin-bottom: 18px; }
.orders-page-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  margin: 0 0 8px;
  font-weight: 700;
}
.orders-page-lead { margin: 0; opacity: .9; font-size: 15px; max-width: 520px; }
.orders-page-body { padding-bottom: 64px; max-width: var(--container-max); margin: 0 auto; }

.orders-empty {
  text-align: center;
  padding: 48px 24px;
  background: var(--bg-card);
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
}
.orders-empty-icon {
  color: var(--brand);
  opacity: .35;
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
}
.orders-empty-title { font-family: 'Playfair Display', serif; font-size: 1.35rem; margin: 0 0 10px; }
.orders-empty-text { color: var(--text-muted); margin: 0 0 24px; }
.btn-primary-orders {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: var(--brand);
  color: #fff !important;
  font-weight: 700;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: background .2s, transform .15s;
}
.btn-primary-orders:hover { background: var(--brand-dark); transform: translateY(-1px); }

.orders-toolbar { margin-bottom: 18px; }
.orders-count { font-size: 14px; color: var(--text-muted); margin: 0; }

.orders-card-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.order-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 14px;
  transition: box-shadow .2s;
}
.order-card:hover { box-shadow: var(--shadow); }
.order-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.order-card-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.order-card-numero { font-size: 1.05rem; font-family: ui-monospace, monospace; }
.order-card-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  font-size: 14px;
}
.order-card-total { font-weight: 700; color: var(--brand); }
.btn-order-detail {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--brand);
  color: var(--brand);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.btn-order-detail:hover { background: var(--brand); color: #fff; }

.statut-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
}
.statut-en_attente   { background: var(--warning-bg); color: var(--warning); }
.statut-confirmee    { background: var(--success-bg); color: var(--success); }
.statut-expediee     { background: var(--info-bg); color: var(--info); }
.statut-livree       { background: var(--border-light); color: var(--text-light); }
.statut-annulee      { background: var(--error-bg); color: var(--error); }

.orders-pagination { margin-top: 28px; }
.orders-pagination nav { display: flex; justify-content: center; }
.orders-pagination .pagination {
  display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0;
}
.orders-pagination .pagination a,
.orders-pagination .pagination span {
  display: inline-flex; min-width: 38px; height: 38px;
  align-items: center; justify-content: center;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-size: 14px; text-decoration: none; color: var(--text);
}
.orders-pagination .pagination a:hover { border-color: var(--brand); color: var(--brand); }
.orders-pagination .pagination .active span {
  background: var(--brand); border-color: var(--brand); color: #fff;
}

.account-page-hero {
  background: linear-gradient(135deg, var(--bg-warm) 0%, var(--bg-card) 60%, var(--brand-pale) 100%);
  border-bottom: 1px solid var(--border-light);
  padding: clamp(24px, 4vw, 40px) 0;
  margin-bottom: 32px;
}
.account-page-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.65rem, 3.5vw, 2.1rem);
  margin: 0 0 8px;
  color: var(--text);
}
.account-page-lead { margin: 0; color: var(--text-light); max-width: 480px; }
.account-page-hero-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.account-page-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.account-quick-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 20px;
  min-width: 160px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: border-color .2s, box-shadow .2s;
}
.account-quick-card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow);
}
.account-quick-label { font-size: 12px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; }
.account-quick-action { font-size: 14px; font-weight: 700; color: var(--brand); }

.account-page-shell { padding-bottom: 64px; }
.account-section--elevated {
  box-shadow: var(--shadow);
  border-radius: var(--radius-lg);
}
.account-section-intro {
  font-size: 14px;
  color: var(--text-muted);
  margin: -8px 0 24px;
}
.account-subheading {
  font-size: 16px;
  margin: 28px 0 16px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
  font-family: 'Playfair Display', serif;
  color: var(--text);
}
.input-readonly {
  background: var(--bg-warm) !important;
  color: var(--text-muted) !important;
  cursor: not-allowed;
}
.account-newsletter {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 24px 0 28px;
  font-size: 14px;
  color: var(--text-light);
  cursor: pointer;
}
.account-newsletter input {
  width: 18px; height: 18px;
  margin-top: 2px;
  accent-color: var(--brand);
  flex-shrink: 0;
}
.account-save-btn { max-width: 280px; }
.account-nav-item--danger { color: var(--error) !important; }
.account-nav-item--danger:hover { background: var(--error-bg) !important; color: var(--error) !important; }
.account-main { min-width: 0; }
