/* ============================================================
   SGWESTEC IMMO — Boutique & Auth Design System
   Thème Luxe Sombre (dark mode, or & bronze)
   ============================================================ */

/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */
:root {
  /* Accents signature */
  --brand:           #C9A84C;      /* or luxe */
  --brand-dark:      #09090B;      /* quasi-noir */
  --brand-light:     #E8D5A3;      /* or pâle */
  --brand-pale:      rgba(201,168,76,0.08);

  --gold:            #C9A84C;
  --gold-light:      #E8D5A3;
  --gold-pale:       rgba(201,168,76,0.08);
  --gold-glow:       rgba(201,168,76,0.15);
  --red-color:       #ef4444;

  /* Typographie */
  --text:            #F2EDE4;
  --text-light:      #9A9082;
  --text-muted:      #5C5649;
  --text-inverse:    #09090B;
  --text-title-page: #F2EDE4;

  /* Fonds */
  --bg:              #09090B;
  --bg-warm:         #111113;
  --bg-card:         #111113;
  --bg-dark:         #09090B;
  --bg-dark2:        #0D0D0F;

  /* Bordures */
  --border:          rgba(255,255,255,0.08);
  --border-light:    rgba(255,255,255,0.05);
  --border-dark:     rgba(255,255,255,0.12);

  /* États */
  --success:         #86efac;
  --success-bg:      rgba(134,239,172,0.08);
  --error:           #fca5a5;
  --error-bg:        rgba(252,165,165,0.08);
  --warning:         #fcd34d;
  --warning-bg:      rgba(252,211,77,0.08);
  --info:            #93c5fd;
  --info-bg:         rgba(147,197,253,0.08);

  /* Ombres */
  --shadow-sm:       0 2px 8px rgba(0,0,0,0.35);
  --shadow:          0 4px 20px rgba(0,0,0,0.45);
  --shadow-lg:       0 8px 40px rgba(0,0,0,0.55);
  --shadow-xl:       0 20px 60px rgba(0,0,0,0.70);
  --shadow-brand:    0 4px 20px rgba(201,168,76,0.20);

  --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-title-page);*/
}

/* ============================================================
   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: minmax(180px, 220px) minmax(0, 1fr) auto;
  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;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.header-search .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 .header-search-form:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(107,0,32,.10);
}
.header-search .header-search-form input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0 18px;
  font-size: 14px;
  color: var(--text);
  outline: none;
}
.header-search .header-search-form input::placeholder { color: var(--text-muted); }
.header-search .header-search-form 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 .header-search-form button:hover { background: var(--brand-dark); }
.header-search .header-search-form button svg { width: 18px; height: 18px; }

.header-currency-form {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  min-width: 0;
  padding: 0 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--bg-card);
  min-height: 44px;
}

.header-currency-form label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-light);
  white-space: nowrap;
}

.header-currency-form select {
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  min-width: 68px;
  outline: none;
  cursor: pointer;
}

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  min-width: 0;
  flex-wrap: nowrap;
}
.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: block;
  position: fixed;
  inset: 0;
  z-index: 10010;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, visibility .25s ease;
}
.mobile-nav.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.mobile-nav-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.5);
  opacity: 0;
  transition: opacity .25s ease;
}
.mobile-nav-overlay.show {
  opacity: 1;
}
.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: block;
  background: var(--bg-warm);
  max-height: 0;
  overflow: hidden;
  padding: 0;
  transition: max-height .28s ease, padding .28s ease;
}
.mobile-nav-sub.open { padding: 8px 0; }
.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-item > button svg {
  transition: transform var(--transition);
}
.mobile-nav-item > button.open svg {
  transform: rotate(180deg);
}
.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;
  flex-wrap: wrap;
  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 {
  display: block;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-dark);
  aspect-ratio: 3/4;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform .22s ease, box-shadow .22s ease;
}
.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(26, 10, 15, .18);
}
.cat-card-media,
.cat-card img,
.cat-card-fallback {
  width: 100%;
  height: 100%;
}
.cat-card-media {
  position: absolute;
  inset: 0;
}
.cat-card img {
  object-fit: cover;
  transition: transform .55s ease;
}
.cat-card:hover img { transform: scale(1.08); }
.cat-card-fallback {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, .22), transparent 34%),
    linear-gradient(145deg, rgba(15, 10, 12, .18), rgba(15, 10, 12, .02)),
    linear-gradient(135deg, var(--brand-dark), var(--brand));
}
.cat-card--wine .cat-card-fallback {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, .18), transparent 34%),
    linear-gradient(135deg, #220711, #6b0020 58%, #a61f48);
}
.cat-card--champagne .cat-card-fallback {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, .25), transparent 32%),
    linear-gradient(135deg, #6d5321, #c9a84c 58%, #efe1af);
}
.cat-card--whisky .cat-card-fallback {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, .22), transparent 32%),
    linear-gradient(135deg, #3a1c08, #8d4d14 55%, #c88b2a);
}
.cat-card--spirits .cat-card-fallback {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, .2), transparent 34%),
    linear-gradient(135deg, #10242d, #0f5565 55%, #4ba3ac);
}
.cat-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 8, 9, .08) 0%, rgba(10, 8, 9, .28) 38%, rgba(16, 10, 12, .9) 100%);
  transition: opacity var(--transition-slow), background var(--transition-slow);
}
.cat-card:hover .cat-card-overlay {
  background: linear-gradient(180deg, rgba(10, 8, 9, .03) 0%, rgba(58, 10, 24, .2) 38%, rgba(27, 12, 18, .94) 100%);
}
.cat-card-content {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px 16px;
}
.cat-card-kicker {
  color: rgba(255, 255, 255, .78);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.cat-card-name {
  color: white;
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 10px;
}
.cat-card-desc {
  color: rgba(255, 255, 255, .8);
  font-size: 13px;
  line-height: 1.55;
  margin-bottom: 16px;
  max-width: 26ch;
}
.cat-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}
.cat-card-count {
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
}
.cat-card-content > .cat-card-link {
  display: none;
}
.cat-card-link {
  color: var(--gold-light);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform var(--transition), color var(--transition);
}
.cat-card-link::after {
  content: '>';
  font-size: 12px;
}
.cat-card:hover .cat-card-link {
  color: white;
  transform: translateX(3px);
}
.home-section--univers {
  position: relative;
  content-visibility: auto;
  contain-intrinsic-size: 520px;
}
.home-section--all-products {
  background:
    radial-gradient(900px 220px at 100% 0%, rgba(193, 154, 107, .12), transparent 60%),
    linear-gradient(180deg, #fffdfa 0%, #f8f2ea 100%);
}
.home-catalog-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.home-catalog-copy {
  max-width: 760px;
}
.home-catalog-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(107, 0, 32, .12);
  background: rgba(255, 255, 255, .7);
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 11px;
  font-weight: 800;
}
.home-catalog-subtitle {
  max-width: 58ch;
}
.home-catalog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.home-catalog-count {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  background: rgba(107, 0, 32, .04);
  border: 1px solid rgba(107, 0, 32, .1);
  color: var(--text);
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.home-product-grid {
  align-items: stretch;
}
.section-header--univers {
  align-items: end;
}
.section-subtitle--univers {
  max-width: 620px;
  margin-top: 10px;
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.7;
}
.section-link--pill {
  padding: 12px 18px;
  border: 1px solid rgba(107, 0, 32, .14);
  border-radius: var(--radius-pill);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
}
.univers-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

/* ── 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: contain;
  background: #fff;
  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-reference { border-color: rgba(107,0,32,.24); background: #fff; color: var(--brand); }
.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); }
.pdp-wishlist-btn.active {
  border-color: rgba(229,57,53,.35);
  color: #E53935;
  background: rgba(229,57,53,.08);
}
.pdp-wishlist-btn.active svg,
.pdp-wishlist-btn.active svg path {
  fill: #E53935 !important;
  stroke: #E53935 !important;
}

.pdp-review-shortcut-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 0 0 18px;
  padding: 12px 14px;
  border: 1px solid rgba(201,168,76,.28);
  border-radius: var(--radius);
  background: rgba(201,168,76,.08);
}
.pdp-review-shortcut {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}
.pdp-review-shortcut:hover { color: var(--brand-dark); }
.pdp-review-shortcut-row span {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
}

/* 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; }

.pdp-review-success {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--success-bg);
  color: var(--success);
  font-weight: 700;
  font-size: 14px;
}
.pdp-review-form-card {
  margin-top: 28px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(520px 180px at 100% 0%, rgba(201,168,76,.12), transparent 65%),
    var(--bg-card);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}
.pdp-review-form-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.pdp-review-form-head h3 {
  margin: 0 0 6px;
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--text);
}
.pdp-review-form-head p { margin: 0; color: var(--text-muted); font-size: 14px; }
.pdp-review-form-head span {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  background: var(--warning-bg);
  color: var(--warning);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}
.pdp-review-rating-input {
  direction: rtl;
  display: inline-flex;
  gap: 4px;
  margin-bottom: 14px;
}
.pdp-review-rating-input input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.pdp-review-rating-input label {
  color: var(--border-dark);
  cursor: pointer;
  transition: color .15s, transform .15s;
}
.pdp-review-rating-input label svg { fill: currentColor; stroke: currentColor; }
.pdp-review-rating-input label:hover,
.pdp-review-rating-input label:hover ~ label,
.pdp-review-rating-input input:checked ~ label {
  color: var(--gold);
}
.pdp-review-rating-input label:hover { transform: translateY(-1px); }
.pdp-review-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.pdp-review-form-full { grid-column: 1 / -1; }
.pdp-review-form label {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}
.pdp-review-form input[type="text"],
.pdp-review-form input[type="email"],
.pdp-review-form textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  font: inherit;
  padding: 12px 14px;
  outline: none;
  transition: border-color .18s, box-shadow .18s;
}
.pdp-review-form textarea { resize: vertical; min-height: 130px; }
.pdp-review-form input:focus,
.pdp-review-form textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(107,0,32,.08);
}
.pdp-review-error {
  margin: 6px 0 0 !important;
  color: var(--error) !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
}
.pdp-review-submit { margin-top: 16px; width: auto; min-width: 210px; }
@media (max-width: 720px) {
  .pdp-review-form-head { flex-direction: column; }
  .pdp-review-form-grid { grid-template-columns: 1fr; }
  .pdp-review-submit { width: 100%; }
}

/* 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; }
.footer-rich-text {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,.62);
}
.footer-rich-text p {
  margin: 0 0 10px;
  color: inherit;
}
.footer-rich-text p:last-child { margin-bottom: 0; }
.footer-rich-text a {
  color: var(--gold-light);
  font-weight: 700;
}
.footer-rich-text a:hover { text-decoration: underline; }
.footer-rich-text h2,
.footer-rich-text h3,
.footer-rich-text h4 {
  color: #fff;
  font-family: 'Playfair Display', serif;
  margin: 0 0 10px;
}
.footer-rich-text h2 { font-size: 20px; }
.footer-rich-text h3 { font-size: 16px; }
.footer-rich-text ul { margin: 8px 0 0 18px; }
.footer-rich-text li { margin-bottom: 6px; }
.footer-rich-text img {
  max-width: 160px;
  height: auto;
  border-radius: 8px;
  margin: 0 16px 12px 0;
}
.footer-company-section {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 0 0 22px;
}
.footer-company-card {
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  max-height: calc((1.6em * 2) + 28px);
  overflow: hidden;
  line-height: 1.6;
}
.footer-company-card,
.footer-company-card * {
  font-family: inherit;
}
.footer-company-card h2,
.footer-company-card h3,
.footer-company-card h4,
.footer-company-card p,
.footer-company-card ul,
.footer-company-card li {
  display: inline;
  margin: 0;
  padding: 0;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}
.footer-company-card h2,
.footer-company-card h3,
.footer-company-card h4 {
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}
.footer-company-card h2::after,
.footer-company-card h3::after,
.footer-company-card h4::after,
.footer-company-card p::after {
  content: " ";
}
.footer-company-card ul {
  list-style: none;
}
.footer-company-card li + li::before {
  content: " | ";
  color: rgba(255,255,255,.35);
}
.footer-company-card table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}
.footer-company-card th,
.footer-company-card td {
  border: 1px solid rgba(255,255,255,.12);
  padding: 8px 10px;
  color: rgba(255,255,255,.72);
  text-align: left;
}
.footer-bottom-main {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-credit,
.footer-credit p {
  font-size: 12px;
  color: rgba(255,255,255,.45);
}

/* ============================================================
   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); }
  .univers-grid { grid-template-columns: repeat(2, minmax(0, 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: minmax(132px, 160px) minmax(0, 1fr) auto; gap: 14px; }
  .site-nav { display: none; }
  .burger-btn { display: flex; }
  .header-actions .header-action-btn span { display: none; }
  .header-action-btn { padding: 8px; }
  .header-logo img,
  .header-logo-img { height: 40px; max-width: 150px; }
  .header-search { gap: 8px; }
  .header-search .header-search-form input { padding: 0 14px; }
  .header-search .header-search-form button { width: 40px; }
  .header-currency-form {
    gap: 6px;
    min-height: 40px;
    padding: 0 10px;
  }
  .header-currency-form label { display: none; }
  .header-currency-form select {
    width: 52px;
    min-width: 0;
    font-size: 12px;
  }

  .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; }
  .section-header { align-items: flex-start; }
  .section-header-right {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .hero-slider {
    aspect-ratio: auto;
    min-height: 0;
    background: transparent;
  }
  .hero-slide {
    position: relative;
    inset: auto;
    background: transparent;
  }
  .hero-slide img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center top;
  }
  .hero-slide-content {
    position: absolute;
    top: auto;
    right: auto;
    bottom: 22px;
    left: clamp(64px, 8vw, 88px);
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px;
    width: min(42vw, 340px);
    max-width: calc(100% - clamp(148px, 18vw, 188px));
    padding: 14px 16px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(26, 10, 15, .18) 0%, rgba(26, 10, 15, .82) 100%);
    backdrop-filter: blur(4px);
  }
  .hero-slide-content h2 {
    font-size: clamp(24px, 3.6vw, 36px);
    line-height: 1.02;
    margin: 0;
    max-width: 100%;
    text-wrap: balance;
  }
  .hero-slide-content p { display: none; }
  .hero-slide-kicker {
    width: fit-content;
    max-width: 100%;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    font-size: 11px;
    letter-spacing: 0.14em;
  }
  .hero-slide-kicker::before,
  .hero-slide-kicker::after { width: 20px; }
  .hero-slide-cta {
    margin-top: 2px;
    padding: 10px 16px;
    font-size: 11px;
  }
  .hero-nav-btn {
    width: 44px;
    height: 44px;
  }
  .hero-nav-btn.prev { left: 14px; }
  .hero-nav-btn.next { right: 14px; }
  .hero-dots { bottom: 12px; }
  .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-catalog-hero { align-items: flex-start; }
}

@media (max-width: 768px) {
  :root { --header-h: 56px; --topbar-h: 0px; }
  .topbar { display: none; }
  .site-header { height: auto; }
  .site-header .container {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas:
      "logo . actions"
      "search search search";
    gap: 10px;
    row-gap: 8px;
    min-height: var(--header-h);
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .header-logo { grid-area: logo; }
  .header-search {
    grid-area: search;
    width: 100%;
  }
  .header-actions {
    grid-area: actions;
    justify-self: end;
  }
  .header-logo-text .logo-sub { display: none; }
  .header-logo img,
  .header-logo-img { height: 36px; max-width: 132px; }
  .header-search { gap: 6px; }
  .header-search .header-search-form input { padding: 0 12px; font-size: 13px; }
  .header-search .header-search-form button { width: 38px; }
  .header-currency-form {
    min-height: 38px;
    padding: 0 8px;
  }
  .header-currency-form select { width: 48px; }

  .hero-slider {
    aspect-ratio: auto;
    min-height: 0;
    background: transparent;
  }
  .hero-slide {
    position: relative;
    inset: auto;
    background: transparent;
  }
  .hero-slide img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center top;
  }
  .hero-slide-content {
    position: absolute;
    top: auto;
    right: auto;
    bottom: 22px;
    left: clamp(64px, 8vw, 88px);
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px;
    width: min(42vw, 340px);
    max-width: calc(100% - clamp(148px, 18vw, 188px));
    padding: 14px 16px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(26, 10, 15, .18) 0%, rgba(26, 10, 15, .82) 100%);
    backdrop-filter: blur(4px);
  }
  .hero-slide-content h2 {
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.02;
    margin: 0;
    max-width: 100%;
    text-wrap: balance;
  }
  .hero-slide-content p { display: none; }
  .hero-slide-kicker {
    width: fit-content;
    max-width: 100%;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    font-size: 11px;
    letter-spacing: 0.14em;
  }
  .hero-slide-kicker::before,
  .hero-slide-kicker::after { width: 20px; }
  .hero-slide-cta {
    margin-top: 2px;
    padding: 10px 16px;
    font-size: 11px;
  }
  .hero-nav-btn {
    width: 44px;
    height: 44px;
  }
  .hero-nav-btn.prev { left: 14px; }
  .hero-nav-btn.next { right: 14px; }
  .hero-dots { bottom: 12px; }

  .reassurance-bar .container { grid-template-columns: 1fr 1fr; }
  .reassurance-item {
    padding: 18px 16px;
    align-items: flex-start;
  }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .univers-grid { grid-template-columns: 1fr; gap: 14px; }
  .cat-card--editorial { aspect-ratio: 16 / 10; }
  .section-header,
  .section-header--univers {
    flex-direction: column;
    align-items: flex-start;
  }
  .section-header-right { width: 100%; }
  .section-link {
    white-space: normal;
    align-items: flex-start;
  }
  .section-subtitle--univers { font-size: 14px; max-width: none; }
  .home-section { padding: 44px 0; }
  .home-catalog-hero {
    gap: 16px;
    margin-bottom: 20px;
  }
  .home-catalog-copy,
  .home-catalog-meta { width: 100%; }
  .home-catalog-meta { justify-content: flex-start; }
  .home-catalog-count {
    min-height: 42px;
    padding: 0 14px;
  }

  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .product-slider > .product-card { width: 200px; }
  .product-card-body { padding: 12px 12px 14px; }
  .product-card-name { font-size: 13px; }
  .product-card-rating-count { display: none; }
  .product-card-add-row { gap: 5px; }
  .product-card-qty-select { width: 52px; }
  .product-card-add-btn {
    padding: 8px;
    font-size: 12px;
  }

  /* 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; }
  .footer-bottom-main { align-items: center; }
  .footer-company-card { padding: 18px; }

  .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) {
  .header-search {
    flex-wrap: wrap;
  }
  .header-search .header-search-form {
    flex: 1 1 100%;
  }
  .header-currency-form {
    margin-left: auto;
    min-height: 36px;
  }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .univers-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .product-slider > .product-card { width: 180px; }
  .home-catalog-count { width: 100%; justify-content: center; }
  .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: auto;
    min-height: 0;
    background: transparent;
  }
  .hero-slide {
    position: relative;
    inset: auto;
    background: transparent;
  }
  .hero-slide img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center top;
  }
  .hero-slide-content {
    position: absolute;
    top: auto;
    right: auto;
    bottom: 16px;
    left: clamp(52px, 13vw, 58px);
    gap: 0;
    width: min(46vw, 176px);
    max-width: calc(100% - clamp(104px, 27vw, 116px));
    padding: 8px 10px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(26, 10, 15, .18) 0%, rgba(26, 10, 15, .82) 100%);
    backdrop-filter: blur(4px);
  }
  .hero-slide-content h2 {
    margin: 0;
    font-size: clamp(15px, 4.2vw, 17px);
    line-height: 1.03;
    max-width: 100%;
    text-wrap: balance;
  }
  .hero-slide-kicker,
  .hero-slide-content p,
  .hero-slide-cta { display: none; }
  .hero-dots { bottom: 8px; }
  .hero-nav-btn {
    width: 38px;
    height: 38px;
  }
  .hero-nav-btn.prev { left: 8px; }
  .hero-nav-btn.next { right: 8px; }
  .section-title::after { width: 28px; }
  .newsletter-form {
    flex-direction: column;
    gap: 10px;
  }
  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
    border-radius: var(--radius-pill);
  }
  .newsletter-form input {
    border-right: 1px solid rgba(255,255,255,.2);
  }
}

/* ============================================================
   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 { position: relative; margin: 0; }
.payment-option__choice { display: block; cursor: pointer; height: 100%; 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__logo { display: block; width: auto; max-width: 116px; height: 34px; object-fit: contain; object-position: left center; }
.payment-option__bank-svg { display: block; width: 38px; height: 38px; color: var(--brand); }
.payment-option__label { font-weight: 700; font-size: 14px; }
.payment-option__hint { font-size: 12px; color: var(--text-muted); line-height: 1.35; }
.payment-option__details {
  position: absolute; top: 10px; right: 10px; width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: 8px; color: var(--brand);
  background: var(--bg-card); transition: border-color .2s, background .2s, color .2s;
}
.payment-option__details:hover { border-color: var(--brand); background: var(--brand); color: #fff; }
.payment-option__details svg { width: 17px; height: 17px; }
.checkout-bank-link { display: inline-flex; margin-left: 8px; color: var(--brand); font-weight: 700; }
.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); }

.feexpay-payment-page,
.bank-transfer-page { padding-top: 42px; padding-bottom: 56px; }

.feexpay-payment-panel {
  max-width: 560px; margin: 0 auto; padding: 28px;
  border: 1px solid var(--border-light); border-radius: var(--radius-lg);
  background: var(--bg-card); box-shadow: var(--shadow-md); text-align: center;
}
.feexpay-payment-panel__logo { display: block; width: min(220px, 72vw); height: auto; margin: 0 auto 20px; }
.feexpay-payment-panel h1 {
  margin: 0 0 8px; font-family: 'Playfair Display', serif; font-size: 1.6rem;
}
.feexpay-payment-panel p { color: var(--text-muted); margin: 0 0 18px; }
.feexpay-status-message {
  margin: 18px 0; padding: 12px 14px; border-radius: var(--radius);
  background: var(--bg-warm); color: var(--text-main); font-size: 14px;
}
.feexpay-status-message[data-type="success"] { background: rgba(31, 122, 61, .1); color: #1f7a3d; }
.feexpay-status-message[data-type="warning"] { background: rgba(191, 139, 46, .12); color: #8a5d13; }
.feexpay-status-message[data-type="error"] { background: rgba(181, 35, 59, .1); color: #b5233b; }
.feexpay-native-button { display: flex; justify-content: center; min-height: 48px; margin: 16px 0; }
.feexpay-payment-panel__actions { margin-top: 20px; display: flex; justify-content: center; }

.bank-transfer-hero {
  display: flex; align-items: center; gap: 18px; margin-bottom: 24px;
  padding-bottom: 22px; border-bottom: 1px solid var(--border-light);
}
.bank-transfer-hero__icon {
  width: 64px; height: 64px; flex: 0 0 64px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand-pale); color: var(--brand);
}
.bank-transfer-hero__icon svg { width: 44px; height: 44px; }
.bank-transfer-hero h1 {
  margin: 0 0 6px; font-family: 'Playfair Display', serif; font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.bank-transfer-hero p { margin: 0; color: var(--text-muted); line-height: 1.5; }
.bank-transfer-section {
  margin-top: 18px; padding: 22px; border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); background: var(--bg-card);
}
.bank-transfer-section h2 {
  margin: 0 0 16px; font-size: 16px; font-weight: 800; color: var(--text-main);
}
.bank-transfer-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;
  margin: 0;
}
.bank-transfer-grid--compact { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bank-transfer-grid div {
  padding: 12px; border-radius: 8px; background: var(--bg-warm);
  min-width: 0;
}
.bank-transfer-grid dt {
  margin-bottom: 5px; color: var(--text-muted); font-size: 12px; font-weight: 700;
}
.bank-transfer-grid dd {
  margin: 0; color: var(--text-main); font-size: 14px; font-weight: 700;
  overflow-wrap: anywhere;
}
.bank-transfer-note {
  margin-top: 18px; padding: 18px 20px; border-left: 4px solid var(--brand);
  background: var(--bg-warm); border-radius: var(--radius);
}
.bank-transfer-note strong { display: block; margin-bottom: 6px; }
.bank-transfer-note p { margin: 0; color: var(--text-light); line-height: 1.55; }
.bank-transfer-actions { margin-top: 22px; display: flex; justify-content: flex-start; }

@media (max-width: 720px) {
  .bank-transfer-hero { align-items: flex-start; }
  .bank-transfer-grid,
  .bank-transfer-grid--compact { grid-template-columns: 1fr; }
}
.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-grid--single {
  grid-template-columns: minmax(0, 920px);
  justify-content: center;
}
.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; }
.contact-managed-content {
  padding: 32px 0 0;
  background: var(--bg);
}
.contact-managed-content .prose-legal {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 4vw, 30px);
  box-shadow: var(--shadow-sm);
}

.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( --red-color);
  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;
}

/* Order detail */
.order-detail-hero {
  background:
    radial-gradient(800px 260px at 100% 0%, rgba(231, 194, 143, .2), transparent 60%),
    linear-gradient(120deg, var(--brand-dark) 0%, var(--brand) 48%, #3a0d18 100%);
  color: #fff;
  padding: clamp(28px, 5vw, 46px) 0;
  margin-bottom: 32px;
}
.order-detail-hero-inner { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-pad); }
.order-detail-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 24px;
  align-items: end;
}
.order-detail-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.order-detail-hero h1 {
  margin: 0 0 8px;
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 5vw, 3rem);
  color: #fff;
}
.order-detail-hero p { margin: 0; color: rgba(255,255,255,.82); }
.order-detail-hero-card {
  padding: 18px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(14px);
}
.order-detail-hero-card strong {
  display: block;
  margin-top: 14px;
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  color: #fff;
}
.order-detail-hero-card span:last-child { color: rgba(255,255,255,.72); font-size: 13px; }
.order-detail-page { padding-bottom: 72px; }
.order-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 22px;
  align-items: start;
}
.order-detail-main { display: grid; gap: 22px; }
.order-detail-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 22px;
}
.order-detail-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.order-detail-panel h2 {
  margin: 0 0 6px;
  font-family: 'Playfair Display', serif;
  color: var(--text);
  font-size: 1.25rem;
}
.order-detail-panel p { margin: 0; color: var(--text-muted); font-size: 14px; line-height: 1.65; }
.order-detail-alert {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 14px;
}
.order-detail-alert.is-success { background: var(--success-bg); color: var(--success); }
.order-detail-alert.is-error { background: var(--error-bg); color: var(--error); }
.payment-badge {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 800;
}
.payment-paye { background: var(--success-bg); color: var(--success); }
.payment-non_paye { background: var(--error-bg); color: var(--error); }
.payment-rembourse { background: var(--warning-bg); color: var(--warning); }
.order-timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.order-timeline li {
  position: relative;
  padding: 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  background: var(--bg-warm);
}
.order-timeline li.is-done { border-color: rgba(18,124,86,.22); background: rgba(18,124,86,.07); }
.order-timeline li.is-current { box-shadow: inset 0 0 0 2px rgba(107,0,32,.14); }
.order-timeline-dot {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-dark);
  margin-bottom: 9px;
}
.order-timeline li.is-done .order-timeline-dot { background: var(--success); }
.order-timeline strong { display: block; font-size: 13px; color: var(--text); margin-bottom: 3px; }
.order-timeline small { color: var(--text-muted); line-height: 1.45; }
.order-detail-cancelled {
  padding: 16px;
  border-radius: var(--radius);
  background: var(--error-bg);
  color: var(--error);
  font-weight: 700;
}
.order-tracking-box {
  margin-top: 18px;
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(107,0,32,.04);
  border: 1px solid rgba(107,0,32,.1);
}
.order-tracking-box h3 { margin: 0 0 12px; font-size: 15px; }
.order-tracking-box dl,
.order-info-list { display: grid; gap: 10px; margin: 0; }
.order-tracking-box div,
.order-info-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
}
.order-tracking-box div:last-child,
.order-info-list div:last-child { border-bottom: none; }
.order-tracking-box dt,
.order-info-list span { color: var(--text-muted); font-size: 13px; }
.order-tracking-box dd,
.order-info-list strong { margin: 0; font-weight: 800; color: var(--text); text-align: right; }
.order-lines { display: grid; gap: 12px; }
.order-line-card {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  background: var(--bg);
}
.order-line-image {
  display: block;
  width: 78px;
  height: 78px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-warm);
  text-decoration: none;
}
.order-line-image img { width: 100%; height: 100%; object-fit: cover; }
.order-line-image span { display: grid; place-items: center; height: 100%; color: var(--text-muted); font-size: 12px; }
.order-line-content h3 { margin: 0 0 6px; font-size: 15px; color: var(--text); }
.order-line-ref {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  background: var(--bg-warm);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.order-line-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.order-line-meta span {
  color: var(--text-muted);
  font-size: 12px;
  padding-right: 8px;
  border-right: 1px solid var(--border-light);
}
.order-line-meta span:last-child { border-right: none; }
.order-line-total { text-align: right; min-width: 110px; }
.order-line-total span { display: block; color: var(--text-muted); font-size: 11px; margin-bottom: 4px; }
.order-line-total strong { color: var(--brand); font-size: 15px; }
.order-info-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .8fr); gap: 22px; }
.order-info-grid address {
  margin: 0;
  font-style: normal;
  color: var(--text-light);
  line-height: 1.75;
}
.order-info-grid address strong { color: var(--text); }
.order-detail-summary { position: sticky; top: 100px; display: grid; gap: 18px; }
.order-summary-row,
.order-summary-total {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}
.order-summary-row span { color: var(--text-muted); }
.order-summary-row.is-discount strong { color: var(--success); }
.order-summary-total { border-bottom: none; padding-top: 16px; margin-top: 4px; }
.order-summary-total strong { color: var(--brand); font-size: 1.4rem; font-family: 'Playfair Display', serif; }
.order-detail-actions { display: grid; gap: 10px; margin-top: 16px; }
.statut-en_cours { background: var(--info-bg); color: var(--info); }

@media (max-width: 960px) {
  .order-detail-hero-grid,
  .order-detail-layout,
  .order-info-grid { grid-template-columns: 1fr; }
  .order-detail-summary { position: static; }
  .order-timeline { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .order-detail-panel { padding: 16px; }
  .order-line-card { grid-template-columns: 64px minmax(0, 1fr); }
  .order-line-total { grid-column: 1 / -1; text-align: left; }
}

/* Export page */
.export-hero {
  background:
    radial-gradient(900px 280px at 100% 5%, rgba(201,168,76,.2), transparent 60%),
    linear-gradient(135deg, #2b1018 0%, var(--brand) 58%, #5c3414 100%);
  color: #fff;
  padding: clamp(34px, 6vw, 62px) 0;
  margin-bottom: 36px;
}
.export-hero-inner { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-pad); }
.export-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: center;
}
.export-kicker {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--gold-light);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.export-hero h1 {
  margin: 0 0 14px;
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
}
.export-hero p { max-width: 720px; color: rgba(255,255,255,.86); line-height: 1.75; margin: 0; }
.export-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.export-pdf-action { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.32); }
.export-hero-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(14px);
}
.export-hero-card strong { display: block; color: #fff; font-size: 1.15rem; margin-bottom: 8px; }
.export-hero-card span { color: rgba(255,255,255,.78); line-height: 1.65; }
.export-page { padding-bottom: 70px; }
.export-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.export-card,
.export-panel,
.export-cta {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.export-card { padding: 22px; }
.export-card-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--brand-pale);
  color: var(--brand);
  font-weight: 900;
  margin-bottom: 18px;
}
.export-card h2,
.export-panel h2,
.export-cta h2 { margin: 0 0 10px; font-family: 'Playfair Display', serif; color: var(--text); }
.export-card p,
.export-panel p,
.export-cta p { margin: 0; color: var(--text-muted); line-height: 1.7; }
.export-panel {
  margin-top: 22px;
  padding: 24px;
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 24px;
}
.export-panel--content { margin-top: 0; margin-bottom: 22px; }
.export-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.export-list li {
  padding: 12px 14px;
  border-radius: var(--radius);
  background: var(--bg-warm);
  border: 1px solid var(--border-light);
  color: var(--text-light);
}
.export-cta {
  margin-top: 22px;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.export-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
@media (max-width: 960px) {
  .export-hero-grid,
  .export-panel { grid-template-columns: 1fr; }
  .export-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .export-grid { grid-template-columns: 1fr; }
  .export-cta { flex-direction: column; align-items: flex-start; }
  .export-cta-actions { justify-content: flex-start; }
}

.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; }

/* Cookie consent modal */
.cookie-consent-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(17, 10, 12, 0.56);
  backdrop-filter: blur(3px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.cookie-consent-modal {
  width: min(560px, 100%);
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 22px;
}

.cookie-consent-modal h3 {
  margin: 0 0 10px;
  font-family: var(--sg-font-heading, 'Playfair Display', serif);
  color: var(--text);
  font-size: 1.2rem;
}

.cookie-consent-modal p {
  margin: 0;
  color: var(--text-light);
  line-height: 1.55;
}

.cookie-consent-actions {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.cookie-btn {
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, filter .15s ease;
}

.cookie-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.cookie-btn-accept {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.cookie-btn-reject {
  background: #fff;
  color: var(--text);
}

@media (max-width: 1024px) {
  .cookie-consent-backdrop {
    align-items: flex-end;
    justify-content: stretch;
    background: transparent;
    backdrop-filter: none;
    padding: 12px;
    pointer-events: none;
    z-index: 9980;
  }

  .cookie-consent-modal {
    width: 100%;
    max-width: none;
    padding: 18px;
    border-radius: 18px;
    pointer-events: auto;
  }

  .cookie-consent-actions {
    justify-content: stretch;
  }

  .cookie-btn {
    flex: 1 1 0;
    justify-content: center;
    text-align: center;
  }
}

/* ================================================================
   SGWESTEC IMMO — CARTES DE BIENS (style leboncoin)
   Prix dominant · compact · toute la carte cliquable
   ================================================================ */

.sgw-listing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--theme-border-radius, 10px);
  background: var(--color-card-bg, #fff);
  border: 1px solid var(--color-border, #E4E9F1);
  box-shadow: 0 2px 12px rgba(15,23,42,.06);
  transition: box-shadow 220ms ease, transform 220ms ease, border-color 220ms ease;
  cursor: pointer;
}

.sgw-listing-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(15,23,42,.12);
  border-color: color-mix(in srgb, var(--color-primary, #274C77) 25%, var(--color-border, #E4E9F1));
}

/* IMAGE */
.sgw-listing-card__img {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  text-decoration: none;
  background: color-mix(in srgb, var(--color-primary, #274C77) 8%, var(--color-bg, #F8FAFC));
}

.sgw-listing-card__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 280ms ease;
}

.sgw-listing-card:hover .sgw-listing-card__img img {
  transform: scale(1.04);
}

/* Placeholder photo manquante */
.sgw-listing-card__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  width: 100%;
  height: 100%;
  background: linear-gradient(155deg,
    color-mix(in srgb, var(--color-primary, #274C77) 7%, var(--color-bg, #F8FAFC)) 0%,
    color-mix(in srgb, var(--color-accent, #4F7D5D) 9%, var(--color-bg, #F8FAFC)) 100%);
}

.sgw-listing-card__placeholder svg {
  width: 2.4rem;
  height: 2.4rem;
  color: color-mix(in srgb, var(--color-primary, #274C77) 45%, transparent);
}

.sgw-listing-card__placeholder span {
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .03em;
  color: color-mix(in srgb, var(--color-text, #111827) 42%, transparent);
}

/* Badge transaction (vente / location) */
.sgw-listing-card__badge {
  position: absolute;
  top: .7rem;
  left: .7rem;
  padding: .3rem .75rem;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(15,23,42,.22);
  line-height: 1;
}

/* Date de publication */
.sgw-listing-card__date {
  position: absolute;
  bottom: .6rem;
  right: .6rem;
  padding: .28rem .65rem;
  border-radius: 4px;
  font-size: .68rem;
  font-weight: 600;
  color: #fff;
  background: rgba(10,20,40,.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  letter-spacing: .01em;
}

/* CORPS — lien couvrant toute la zone textuelle */
.sgw-listing-card__body {
  display: flex;
  flex-direction: column;
  gap: .32rem;
  padding: .9rem 1rem 1rem;
  text-decoration: none;
  color: inherit;
  flex: 1;
}

.sgw-listing-card__body:hover {
  text-decoration: none;
}

/* PRIX — élément dominant, premier texte visible */
.sgw-listing-card__price {
  margin: 0;
  font-size: 1.42rem;
  font-weight: 900;
  line-height: 1;
  color: var(--color-primary, #274C77);
  letter-spacing: -.02em;
  display: flex;
  align-items: baseline;
  gap: .28rem;
  flex-wrap: wrap;
}

.sgw-listing-card__currency {
  font-size: .82rem;
  font-weight: 700;
  opacity: .75;
}

.sgw-listing-card__freq {
  font-size: .78rem;
  font-weight: 500;
  color: color-mix(in srgb, var(--color-text, #111827) 58%, transparent);
  letter-spacing: 0;
}

/* TITRE */
.sgw-listing-card__title {
  margin: 0;
  font-size: .93rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-text, #111827);
  font-family: var(--lux-font-body, Inter, sans-serif);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* LOCALISATION */
.sgw-listing-card__location {
  display: flex;
  align-items: center;
  gap: .32rem;
  margin: .12rem 0 0;
  font-size: .8rem;
  color: color-mix(in srgb, var(--color-text, #111827) 60%, transparent);
  line-height: 1.2;
}

.sgw-listing-card__location svg {
  width: .95rem;
  height: .95rem;
  flex-shrink: 0;
  color: color-mix(in srgb, var(--color-primary, #274C77) 70%, transparent);
}

/* CARACTÉRISTIQUES — chips compactes */
.sgw-listing-card__facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .38rem;
  margin-top: .52rem;
}

.sgw-listing-card__facts span {
  display: inline-flex;
  align-items: center;
  gap: .28rem;
  padding: .28rem .62rem;
  border-radius: 6px;
  font-size: .73rem;
  font-weight: 600;
  color: color-mix(in srgb, var(--color-text, #111827) 75%, transparent);
  background: color-mix(in srgb, var(--color-primary, #274C77) 7%, var(--color-bg, #F8FAFC));
  border: 1px solid color-mix(in srgb, var(--color-primary, #274C77) 12%, var(--color-border, #E4E9F1));
  white-space: nowrap;
}

.sgw-listing-card__facts svg {
  width: .82rem;
  height: .82rem;
  flex-shrink: 0;
  opacity: .65;
}

.sgw-listing-card__type-pill {
  background: color-mix(in srgb, var(--color-accent, #4F7D5D) 10%, var(--color-bg, #F8FAFC)) !important;
  border-color: color-mix(in srgb, var(--color-accent, #4F7D5D) 20%, var(--color-border, #E4E9F1)) !important;
  color: color-mix(in srgb, var(--color-accent, #4F7D5D) 85%, var(--color-text, #111827)) !important;
}


/* ================================================================
   PSR — PROPERTY SEARCH REDESIGN (v2 — maquette ChatGPT Image)
   Hero illustré · sidebar pollée · chips sombres · Grille|Liste|Carte
   ================================================================ */

/* Wrapper général */
.psr-wrap {
  background: #F8FAFD;
  min-height: 100vh;
}

/* ── HERO ──────────────────────────────────────────────────────── */
.psr-hero {
  display: grid;
  grid-template-columns: 1fr minmax(0, 48%);
  align-items: center;
  gap: 1.5rem;
  width: min(100% - 2rem, 88rem);
  margin: 0 auto;
  padding: 2.8rem 0 2rem;
  overflow: hidden;
}

.psr-hero__text { min-width: 0; }

.psr-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin: 0 0 .7rem;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-primary, #274C77);
}

.psr-hero__eyebrow-line {
  display: block;
  width: 1.75rem;
  height: 2.5px;
  border-radius: 2px;
  background: var(--color-primary, #274C77);
  flex-shrink: 0;
}

.psr-hero__h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--color-text, #0F172A);
  font-family: var(--lux-font-body, Inter, sans-serif);
}

.psr-hero__count {
  margin: .6rem 0 0;
  font-size: .9rem;
  color: color-mix(in srgb, var(--color-text, #0F172A) 52%, transparent);
}

.psr-hero__illustration {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  overflow: hidden;
  max-height: 220px;
}

.psr-hero__svg {
  width: 100%;
  max-width: 680px;
  height: auto;
  display: block;
}

/* ── LAYOUT PRINCIPAL ──────────────────────────────────────────── */
.psr-layout {
  display: grid;
  grid-template-columns: 272px 1fr;
  gap: 1.5rem;
  align-items: start;
  width: min(100% - 2rem, 88rem);
  margin: 0 auto;
  padding-bottom: 4rem;
}

/* ── SIDEBAR ───────────────────────────────────────────────────── */
.psr-sidebar { position: relative; }

@media (min-width: 1024px) {
  .psr-sidebar {
    position: sticky;
    top: 1.5rem;
    align-self: start;
  }
}

.psr-filters-mobile-btn {
  display: none;
}

.psr-sidebar__card {
  background: #fff;
  border: 1px solid #E8EDF5;
  border-radius: 12px;
  box-shadow: 0 2px 18px rgba(15,23,42,.06);
  padding: 1.35rem 1.25rem 1.5rem;
  overflow: hidden;
}

.psr-sidebar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #EEF2F8;
}

.psr-sidebar__title {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin: 0;
  font-size: .95rem;
  font-weight: 700;
  color: var(--color-text, #0F172A);
  font-family: var(--lux-font-body, Inter, sans-serif);
}

.psr-sidebar__title svg {
  color: var(--color-primary, #274C77);
  flex-shrink: 0;
}

.psr-sidebar__reset {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .8rem;
  font-weight: 600;
  color: color-mix(in srgb, var(--color-text, #0F172A) 55%, transparent);
  text-decoration: none;
  transition: color 160ms;
}

.psr-sidebar__reset:hover { color: var(--color-primary, #274C77); }

.psr-sidebar__fields {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.psr-field {
  display: flex;
  flex-direction: column;
  gap: .38rem;
}

.psr-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}

.psr-label {
  font-size: .78rem;
  font-weight: 600;
  color: color-mix(in srgb, var(--color-text, #0F172A) 68%, transparent);
  letter-spacing: .01em;
}

/* Input commun */
.psr-input,
.psr-select {
  width: 100%;
  height: 2.6rem;
  padding: 0 .85rem;
  border: 1px solid #DDE3EE;
  border-radius: 8px;
  background: #FAFBFD;
  color: var(--color-text, #0F172A);
  font-size: .86rem;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  transition: border-color 150ms, box-shadow 150ms;
}

.psr-input:focus,
.psr-select:focus {
  border-color: var(--color-primary, #274C77);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary, #274C77) 14%, transparent);
  background: #fff;
}

.psr-input::placeholder { color: #A0ABBB; }

.psr-input--icon-right { padding-right: 2.25rem; }

/* Wrappers avec icônes */
.psr-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.psr-input-wrap .psr-input,
.psr-input-wrap .psr-select { flex: 1; }

.psr-input-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #94A3B8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.psr-input-icon--right { right: .75rem; }

.psr-budget-euro,
.psr-unit {
  font-size: .78rem;
  font-weight: 600;
  color: #64748B;
}

/* Budget row */
.psr-budget-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: .5rem;
}

.psr-budget-input {
  min-width: 0;
}

.psr-budget-sep {
  font-size: .9rem;
  font-weight: 700;
  color: #94A3B8;
  text-align: center;
  flex-shrink: 0;
}

/* Select wrapper */
.psr-select-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.psr-select-wrap .psr-select { padding-right: 2.1rem; }

.psr-select-caret {
  position: absolute;
  right: .75rem;
  pointer-events: none;
  color: #64748B;
  width: .9rem;
  height: .9rem;
  flex-shrink: 0;
}

.psr-select--sort {
  height: 2.25rem;
  padding: 0 2rem 0 .75rem;
  border-radius: 8px;
  font-size: .83rem;
  background: #fff;
  border: 1px solid #DDE3EE;
}

/* Bouton submit */
.psr-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  width: 100%;
  height: 2.75rem;
  border: none;
  border-radius: 8px;
  background: var(--color-primary, #274C77);
  color: #fff;
  font-size: .88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 150ms, transform 100ms;
  letter-spacing: .01em;
}

.psr-submit:hover {
  background: color-mix(in srgb, var(--color-primary, #274C77) 88%, black);
}

.psr-submit:active { transform: scale(.98); }

/* Section alerte */
.psr-alert-section {
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid #EEF2F8;
}

.psr-alert-title {
  margin: 0;
  font-size: .88rem;
  font-weight: 700;
  color: var(--color-text, #0F172A);
}

.psr-alert-desc {
  margin: .28rem 0 0;
  font-size: .78rem;
  color: #64748B;
}

.psr-alert-btn {
  display: block;
  width: 100%;
  height: 2.4rem;
  margin-top: .75rem;
  border: 1px solid var(--color-primary, #274C77);
  border-radius: 8px;
  background: transparent;
  color: var(--color-primary, #274C77);
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 150ms, color 150ms;
}

.psr-alert-btn:hover {
  background: color-mix(in srgb, var(--color-primary, #274C77) 8%, transparent);
}

/* ── BARRE RÉSULTATS ────────────────────────────────────────────── */
.psr-results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .85rem;
  padding: 1rem 1.25rem;
  margin-bottom: 1.15rem;
  background: #fff;
  border: 1px solid #E8EDF5;
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(15,23,42,.04);
}

.psr-results-bar__left {
  display: flex;
  align-items: center;
  gap: .85rem;
  min-width: 0;
}

.psr-results-bar__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--color-primary, #274C77) 8%, #F8FAFD);
  color: var(--color-primary, #274C77);
  flex-shrink: 0;
}

.psr-results-bar__title {
  margin: 0;
  font-size: .9rem;
  font-weight: 700;
  color: var(--color-text, #0F172A);
}

.psr-results-bar__subtitle {
  margin: .15rem 0 0;
  font-size: .78rem;
  color: #64748B;
}

.psr-results-bar__right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}

.psr-filter-count {
  display: inline-flex;
  align-items: center;
  padding: .38rem .85rem;
  border-radius: 999px;
  background: var(--color-primary, #274C77);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  white-space: nowrap;
}

.psr-reset-link {
  font-size: .8rem;
  font-weight: 600;
  color: color-mix(in srgb, var(--color-text, #0F172A) 55%, transparent);
  text-decoration: none;
  padding: .35rem .65rem;
  border-radius: 6px;
  transition: background 150ms, color 150ms;
}

.psr-reset-link:hover {
  background: #EEF2F8;
  color: var(--color-primary, #274C77);
}

.psr-active-tag {
  display: inline-flex;
  align-items: center;
  gap: .38rem;
  padding: .35rem .75rem;
  border: 1px solid #DDE3EE;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--color-text, #0F172A);
  text-decoration: none;
  background: #fff;
  transition: background 150ms, border-color 150ms;
  white-space: nowrap;
}

.psr-active-tag svg { color: #64748B; }

.psr-active-tag:hover {
  background: #FEE2E2;
  border-color: #FECACA;
  color: #DC2626;
}
.psr-active-tag:hover svg { color: #DC2626; }

/* ── BARRE D'OUTILS (toggle + tri) ─────────────────────────────── */
.psr-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 1.25rem;
}

.psr-view-toggle {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

.psr-view-label {
  font-size: .82rem;
  font-weight: 600;
  color: #64748B;
  white-space: nowrap;
  margin-right: .15rem;
}

.psr-view-btn {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  height: 2.2rem;
  padding: 0 .85rem;
  border: 1px solid #DDE3EE;
  border-radius: 8px;
  background: #fff;
  color: #64748B;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 150ms, color 150ms, border-color 150ms;
}

.psr-view-btn:hover {
  background: #F1F5FB;
  border-color: #C8D5E8;
  color: var(--color-primary, #274C77);
}

.psr-view-btn.is-active {
  background: var(--color-primary, #274C77);
  border-color: var(--color-primary, #274C77);
  color: #fff;
}

.psr-toolbar__sort {
  display: flex;
  align-items: center;
  gap: .5rem;
}

/* ── GRILLE DE CARTES ──────────────────────────────────────────── */
.psr-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (min-width: 1440px) {
  .psr-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .psr-grid { grid-template-columns: 1fr; }
}

/* ── VUE LISTE ─────────────────────────────────────────────────── */
.psr-list-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.psr-card-list {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: start;
  gap: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #E8EDF5;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(15,23,42,.05);
  transition: box-shadow 200ms, transform 200ms;
}

.psr-card-list:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(15,23,42,.10);
}

.psr-card-list__photo {
  display: block;
  height: 160px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.psr-card-list__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 280ms;
}

.psr-card-list:hover .psr-card-list__photo img { transform: scale(1.03); }

.psr-card-list__body {
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .45rem;
}

.psr-card-list__right {
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .1rem;
  min-width: 0;
  flex-shrink: 0;
  border-left: 1px solid #EEF2F8;
}

/* ── VUE CARTE LEAFLET ─────────────────────────────────────────── */
.psr-map-view { border-radius: 12px; overflow: hidden; }

.psr-map-container {
  width: 100%;
  height: 620px;
  border: 1px solid #E8EDF5;
  border-radius: 12px;
  background: #EEF2F8;
}

/* ── CARTE DE BIEN (PSR CARD) ──────────────────────────────────── */
.psr-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid #E8EDF5;
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(15,23,42,.06);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.psr-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 38px rgba(15,23,42,.12);
  border-color: color-mix(in srgb, var(--color-primary, #274C77) 22%, #E8EDF5);
}

/* Photo */
.psr-card__photo {
  display: block;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #EEF2F8;
  text-decoration: none;
}

.psr-card__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.psr-card:hover .psr-card__photo img { transform: scale(1.04); }

/* Placeholder */
.psr-card__no-photo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  width: 100%;
  height: 100%;
  background: linear-gradient(155deg,
    color-mix(in srgb, var(--color-primary, #274C77) 7%, #F8FAFD) 0%,
    color-mix(in srgb, var(--color-primary, #274C77) 12%, #EEF2F8) 100%);
}

.psr-card__no-photo svg {
  width: 2.5rem; height: 2.5rem;
  color: color-mix(in srgb, var(--color-primary, #274C77) 38%, transparent);
}

.psr-card__no-photo span {
  font-size: .76rem;
  font-weight: 600;
  color: color-mix(in srgb, var(--color-primary, #274C77) 48%, transparent);
  letter-spacing: .03em;
}

/* Badge transaction */
.psr-card__badge {
  position: absolute;
  top: .75rem;
  left: .75rem;
  padding: .3rem .78rem;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  box-shadow: 0 2px 8px rgba(15,23,42,.22);
  line-height: 1;
  z-index: 2;
}

.psr-card__badge--vente {
  background: var(--color-primary, #274C77);
  color: #fff;
}

.psr-card__badge--location {
  background: var(--color-accent, #EDA62A);
  color: #fff;
}

/* Favori */
.psr-card__fav-wrap {
  position: absolute;
  top: .6rem;
  right: .6rem;
  z-index: 5;
}

.psr-card__fav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.6);
  color: #94A3B8;
  cursor: pointer;
  transition: color 180ms, background 180ms, transform 180ms;
  backdrop-filter: blur(4px);
  text-decoration: none;
}

.psr-card__fav svg { width: .95rem; height: .95rem; }

.psr-card__fav:hover,
.psr-card__fav.is-active {
  color: #E11D48;
  background: rgba(255,255,255,.97);
  transform: scale(1.1);
}

/* Corps */
.psr-card__body {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: 1rem 1.1rem 1.1rem;
  flex: 1;
}

/* Ville */
.psr-card__city {
  display: flex;
  align-items: center;
  gap: .32rem;
  margin: 0;
  font-size: .73rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: #64748B;
}

.psr-card__pin {
  width: .85rem;
  height: .85rem;
  flex-shrink: 0;
  color: color-mix(in srgb, var(--color-primary, #274C77) 65%, transparent);
}

/* Titre */
.psr-card__title {
  margin: 0;
  font-size: .98rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text, #0F172A);
  font-family: var(--lux-font-body, Inter, sans-serif);
}

.psr-card__title-link {
  color: inherit;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.psr-card__title-link:hover { color: var(--color-primary, #274C77); }

/* Chips SOMBRES (signature du design de référence) */
.psr-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: .42rem;
  margin: .1rem 0;
}

.psr-chip {
  display: inline-flex;
  align-items: center;
  padding: .28rem .68rem;
  border-radius: 6px;
  font-size: .72rem;
  font-weight: 700;
  white-space: nowrap;
  background: #1E293B;   /* dark chips exactement comme dans le design */
  color: #fff;
  letter-spacing: .01em;
}

/* Pied de carte : prix + CTA */
.psr-card__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: .75rem;
  margin-top: auto;
  padding-top: .6rem;
}

.psr-card__price-block { min-width: 0; }

.psr-card__price {
  margin: 0;
  font-size: 1.52rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.025em;
  color: var(--color-text, #0F172A);
}

.psr-card__currency {
  font-size: .88rem;
  font-weight: 700;
  color: color-mix(in srgb, var(--color-text, #0F172A) 68%, transparent);
}

.psr-card__period {
  margin: .2rem 0 0;
  font-size: .78rem;
  font-weight: 500;
  color: #64748B;
}

/* Bouton "Voir l'annonce →" */
.psr-card__cta {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .52rem 1rem;
  border: 1.5px solid #DDE3EE;
  border-radius: 8px;
  background: #fff;
  color: var(--color-text, #0F172A);
  font-size: .79rem;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  flex-shrink: 0;
  transition: border-color 160ms, background 160ms, color 160ms;
}

.psr-card__cta:hover {
  border-color: var(--color-primary, #274C77);
  background: color-mix(in srgb, var(--color-primary, #274C77) 6%, #fff);
  color: var(--color-primary, #274C77);
}

/* ── ÉTAT VIDE ─────────────────────────────────────────────────── */
.psr-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .85rem;
  padding: 4rem 2rem;
  text-align: center;
  background: #fff;
  border: 1px dashed #DDE3EE;
  border-radius: 12px;
}

.psr-empty__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--color-primary, #274C77) 8%, #F8FAFD);
  color: var(--color-primary, #274C77);
}

.psr-empty h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text, #0F172A);
  font-family: var(--lux-font-body, Inter, sans-serif);
}

.psr-empty p {
  margin: 0;
  max-width: 42rem;
  font-size: .88rem;
  color: #64748B;
  line-height: 1.6;
}

.psr-empty__btn {
  display: inline-flex;
  align-items: center;
  padding: .65rem 1.5rem;
  border: 1.5px solid var(--color-primary, #274C77);
  border-radius: 8px;
  color: var(--color-primary, #274C77);
  font-size: .86rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 150ms;
}

.psr-empty__btn:hover {
  background: color-mix(in srgb, var(--color-primary, #274C77) 7%, transparent);
}

/* ── PAGINATION ─────────────────────────────────────────────────── */
.psr-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1.25rem 0;
  border-top: 1px solid #EEF2F8;
  position: relative;
}

.psr-pagination__pages {
  display: flex;
  align-items: center;
  gap: .35rem;
}

.psr-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.2rem;
  height: 2.2rem;
  padding: 0 .5rem;
  border: 1.5px solid #DDE3EE;
  border-radius: 8px;
  background: #fff;
  color: var(--color-text, #0F172A);
  font-size: .84rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 150ms, border-color 150ms, color 150ms;
}

.psr-page-btn:hover {
  background: #F1F5FB;
  border-color: var(--color-primary, #274C77);
  color: var(--color-primary, #274C77);
}

.psr-page-btn--active {
  background: var(--color-primary, #274C77);
  border-color: var(--color-primary, #274C77);
  color: #fff;
  pointer-events: none;
}

.psr-page-btn--disabled {
  opacity: .35;
  pointer-events: none;
  cursor: default;
}

.psr-pagination__per-page {
  display: flex;
  align-items: center;
  gap: .5rem;
  position: absolute;
  right: 0;
}

/* ── RESPONSIVE ─────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .psr-layout { grid-template-columns: 1fr; }
  .psr-hero { grid-template-columns: 1fr; }
  .psr-hero__illustration { display: none; }

  .psr-filters-mobile-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: .75rem 1rem;
    border: 1px solid #DDE3EE;
    border-radius: 10px;
    background: #fff;
    font-size: .86rem;
    font-weight: 600;
    color: var(--color-text, #0F172A);
    cursor: pointer;
    margin-bottom: .75rem;
  }

  .psr-mobile-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 50%;
    background: var(--color-primary, #274C77);
    color: #fff;
    font-size: .7rem;
    font-weight: 800;
  }

  .psr-sidebar__card { display: none; }
  .psr-sidebar__card.is-open { display: block; }

  .psr-grid { grid-template-columns: repeat(2, 1fr); }
  .psr-pagination__per-page { position: static; }
  .psr-pagination { flex-direction: column; }
}

@media (max-width: 640px) {
  .psr-hero { padding: 1.5rem 0 1rem; }
  .psr-hero__h1 { font-size: 1.75rem; }
  .psr-grid { grid-template-columns: 1fr; }
  .psr-card-list { grid-template-columns: 1fr; }
  .psr-card-list__right { border-left: none; border-top: 1px solid #EEF2F8; align-items: flex-start; }
  .psr-field-row { grid-template-columns: 1fr; }
  .psr-budget-row { grid-template-columns: 1fr auto 1fr; }
  .psr-results-bar { flex-direction: column; align-items: flex-start; }
  .psr-toolbar { flex-direction: column; align-items: flex-start; }
}

/* FIX TOGGLE : classe dedie avec !important pour surclasser tout display CSS */
/* .psr-list-panel { display:flex } et .psr-grid { display:grid } ecrasaient */
/* .hidden { display:none } de Tailwind (meme specificite, cascade gagnee par le CSS custom). */
/* Cette regle CSS + !important est la seule garantie independante de la cascade. */
[data-psr-panel].psr-panel-hidden {
  display: none !important;
}

/* ================================================================
   HEADER GUEST AUTH BUTTONS — Connexion / Inscription
   Visibles uniquement pour les visiteurs non connectés (@guest)
   Disparaissent dès la connexion (remplacés par l'avatar @auth)
   ================================================================ */

.lux-btn--nav-login {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 13px;
  border: 1.5px solid rgba(255,255,255,.3);
  border-radius: var(--lux-radius-sm, 6px);
  background: transparent;
  color: rgba(255,255,255,.88);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.lux-btn--nav-login:hover {
  border-color: rgba(255,255,255,.65);
  background: rgba(255,255,255,.09);
  color: #fff;
}

.lux-btn--nav-register {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 13px;
  border: 1.5px solid rgba(237,166,42,.55);
  border-radius: var(--lux-radius-sm, 6px);
  background: rgba(237,166,42,.12);
  color: #EDA62A;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.lux-btn--nav-register:hover {
  border-color: rgba(237,166,42,.85);
  background: rgba(237,166,42,.22);
  color: #ffc84c;
  box-shadow: 0 4px 14px rgba(237,166,42,.2);
}

/* BOUTON FAVORI */
.sgw-listing-card__fav-form {
  position: absolute;
  top: .6rem;
  right: .6rem;
  z-index: 5;
  margin: 0;
}

.sgw-listing-card__fav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(255,255,255,.55);
  color: color-mix(in srgb, var(--color-primary, #274C77) 50%, transparent);
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.sgw-listing-card__fav-btn svg {
  width: 1rem;
  height: 1rem;
}

.sgw-listing-card__fav-btn:hover,
.sgw-listing-card__fav-btn.is-active {
  color: #e11d48;
  background: rgba(255,255,255,.96);
  transform: scale(1.08);
}

/* GRILLE de cartes — remplacement de .cards-grid */
.sgw-listing-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .sgw-listing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1280px) {
  .sgw-listing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Assurer que .cards-grid hérite aussi du bon espacement */
.cards-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1280px) {
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
}


/* ═══════════════════════════════════════════════════════════════════
   SGWF — FOOTER REDESIGN (dark navy / gold — matching footer.png)
   ═══════════════════════════════════════════════════════════════════ */

.sgwf {
  --sgwf-bg:      #060e1d;
  --sgwf-bg-bot:  #040911;
  --sgwf-gold:    #EDA62A;
  --sgwf-text:    rgba(255,255,255,.80);
  --sgwf-muted:   rgba(255,255,255,.52);
  --sgwf-border:  rgba(255,255,255,.10);
  background: var(--sgwf-bg);
  color: var(--sgwf-text);
  font-family: var(--lux-font-body, Inter, sans-serif);
}

/* ── Corps ────────────────────────────────────────────────── */
.sgwf__body {
  max-width: min(100% - 2.5rem, 86rem);
  margin: 0 auto;
  padding: 4.5rem 0 4rem;
}

.sgwf__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}

/* ── Colonne marque ───────────────────────────────────────── */
.sgwf__logo-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  margin-bottom: .15rem;
}

.sgwf__logo-img {
  height: 64px;
  width: auto;
  object-fit: contain;
  border-radius: 10px;
  flex-shrink: 0;
}

.sgwf__logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: var(--sgwf-gold);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 900;
  flex-shrink: 0;
}

.sgwf__logo-text {
  display: grid;
  gap: .18rem;
}

.sgwf__logo-name {
  display: block;
  font-size: 1.22rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -.01em;
}

.sgwf__logo-tagline {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  color: var(--sgwf-gold);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.sgwf__brand-divider {
  height: 1.5px;
  background: linear-gradient(to right, var(--sgwf-gold), transparent);
  margin: 1.1rem 0 1.1rem;
  width: 80%;
}

.sgwf__desc {
  font-size: .86rem;
  line-height: 1.65;
  color: var(--sgwf-text);
  margin: 0 0 1.5rem;
}

.sgwf__contact-list {
  display: flex;
  flex-direction: column;
  gap: .62rem;
  margin-bottom: 1.5rem;
}

.sgwf__contact-item {
  display: inline-flex;
  align-items: center;
  gap: .72rem;
  font-size: .88rem;
  color: var(--sgwf-text);
  text-decoration: none;
  transition: color 180ms;
}

.sgwf__contact-item:hover { color: var(--sgwf-gold); }

.sgwf__contact-icon {
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
  color: var(--sgwf-gold);
}

/* ── Réseaux sociaux ──────────────────────────────────────── */
.sgwf__social {
  display: flex;
  gap: .65rem;
  flex-wrap: wrap;
}

.sgwf__social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.3);
  color: rgba(255,255,255,.78);
  text-decoration: none;
  transition: border-color 180ms, color 180ms, background 180ms;
}

.sgwf__social-btn svg {
  width: 1rem;
  height: 1rem;
}

.sgwf__social-btn:hover {
  border-color: var(--sgwf-gold);
  color: var(--sgwf-gold);
  background: rgba(237,166,42,.08);
}

/* ── Colonnes navigation ──────────────────────────────────── */
.sgwf__col {
  padding-left: 1.5rem;
  border-left: 1px solid var(--sgwf-border);
}

.sgwf__col-title {
  margin: 0 0 1.1rem;
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: #fff;
  padding-bottom: .65rem;
  border-bottom: 2px solid var(--sgwf-gold);
  display: inline-block;
}

.sgwf__col-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .52rem;
}

.sgwf__col-links a {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .875rem;
  color: var(--sgwf-text);
  text-decoration: none;
  transition: color 170ms, gap 170ms;
}

.sgwf__col-links a::before {
  content: '›';
  color: var(--sgwf-gold);
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform 170ms;
}

.sgwf__col-links a:hover {
  color: #fff;
  gap: .75rem;
}

.sgwf__col-links a:hover::before {
  transform: translateX(2px);
}

.sgwf__col-info {
  font-size: .8rem;
  color: var(--sgwf-muted);
}

/* ── Newsletter ───────────────────────────────────────────── */
.sgwf__newsletter {
  padding-left: 1.5rem;
  border-left: 1px solid var(--sgwf-border);
}

.sgwf__newsletter-desc {
  font-size: .86rem;
  line-height: 1.6;
  color: var(--sgwf-text);
  margin: 0 0 1.3rem;
}

.sgwf__newsletter-row {
  display: flex;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.25);
}

.sgwf__newsletter-input {
  flex: 1;
  min-width: 0;
  padding: .72rem 1rem;
  background: rgba(255,255,255,.06);
  border: none;
  color: #fff;
  font-size: .86rem;
  outline: none;
}

.sgwf__newsletter-input::placeholder { color: rgba(255,255,255,.4); }

.sgwf__newsletter-input:focus {
  background: rgba(255,255,255,.1);
}

.sgwf__newsletter-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  flex-shrink: 0;
  background: var(--sgwf-gold);
  border: none;
  color: #fff;
  cursor: pointer;
  transition: background 180ms;
}

.sgwf__newsletter-btn:hover {
  background: color-mix(in srgb, var(--sgwf-gold) 85%, #000);
}

.sgwf__newsletter-btn svg {
  width: 1.05rem;
  height: 1.05rem;
}

.sgwf__partners {
  margin: 1rem 0 0;
  font-size: .76rem;
  color: var(--sgwf-muted);
}

.sgwf__partners a {
  color: var(--sgwf-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Barre du bas ─────────────────────────────────────────── */
.sgwf__bottom {
  background: var(--sgwf-bg-bot);
  border-top: 1px solid var(--sgwf-border);
}

.sgwf__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .85rem;
  max-width: min(100% - 2.5rem, 86rem);
  margin: 0 auto;
  padding: 1.4rem 0;
}

.sgwf__copyright,
.sgwf__credit {
  margin: 0;
  font-size: .82rem;
  color: var(--sgwf-muted);
}

.sgwf__credit a {
  color: var(--sgwf-gold);
  text-decoration: none;
  font-weight: 600;
  transition: color 160ms;
}

.sgwf__credit a:hover { color: #ffd17a; }

.sgwf__bottom-nav {
  display: flex;
  align-items: center;
  gap: .85rem;
}

.sgwf__bottom-nav a {
  font-size: .82rem;
  color: var(--sgwf-muted);
  text-decoration: none;
  transition: color 160ms;
}

.sgwf__bottom-nav a:hover { color: #fff; }

.sgwf__bottom-nav span {
  color: var(--sgwf-border);
  font-size: .9rem;
}

/* ── Responsive footer ────────────────────────────────────── */
@media (max-width: 1200px) {
  .sgwf__inner {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2rem;
  }
  .sgwf__newsletter { grid-column: 1 / -1; border-left: none; padding-left: 0; border-top: 1px solid var(--sgwf-border); padding-top: 1.5rem; }
  .sgwf__newsletter-row { max-width: 28rem; }
}

@media (max-width: 900px) {
  .sgwf__inner {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
  }
  .sgwf__brand {
    grid-column: 1 / -1;
    border-right: none;
  }
  .sgwf__col { border-left: none; padding-left: 0; border-top: 1px solid var(--sgwf-border); padding-top: 1.25rem; }
}

@media (max-width: 640px) {
  .sgwf__body { padding: 3rem 0 2.5rem; }
  .sgwf__inner { grid-template-columns: 1fr; }
  .sgwf__bottom-inner { flex-direction: column; align-items: flex-start; gap: .65rem; }
  .sgwf__newsletter { grid-column: auto; }
}
