/* =========================================================
   MAISON DORÉE — STYLESHEET
   Structure :
   1. Variables
   2. Reset / Base
   3. Layout
   4. Header & Navigation
   5. Buttons & Badges
   6. Cards, Tables, Forms
   7. Hero & Homepage
   8. Catalogue
   9. Fiche produit
  10. Panier
  11. Checkout
  12. Espace client & Wishlist
  13. Avis clients
  14. Carnet d'adresses
  15. Pages (Contact, FAQ, À propos, Légales, Erreurs)
  16. Newsletter & Footer
  17. Media Queries (Mobile)
========================================================= */

/* ==========================================================
   1. VARIABLES
========================================================== */
:root {
  --bg:        #f8f6f2;
  --panel:     #ffffff;
  --text:      #1c1c1c;
  --muted:     #6b6b6b;
  --line:      #e5e5e5;
  --line-2:    #ededed;
  --accent:    #b79c6d;
  --accent-d:  #9a7f50;
  --accent-bg: #faf4ea;
  --accent-text:#8a6b3a;
  --radius-sm: 10px;
  --radius:    14px;
  --radius-lg: 20px;
  --shadow-sm: 0 4px 12px rgba(0,0,0,.05);
  --shadow:    0 10px 28px rgba(0,0,0,.08);
  --shadow-lg: 0 18px 44px rgba(0,0,0,.10);
  --transition:.25s ease;
}

/* ==========================================================
   2. RESET / BASE
========================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: var(--text); }
a:hover { color: var(--accent); }
button, input, select, textarea { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin-top: 0; font-family: 'Playfair Display', Georgia, serif; color: var(--text); }
p { margin-top: 0; }
input { box-sizing: border-box; }

/* ==========================================================
   3. LAYOUT
========================================================== */
.container, .page-inner { max-width: 1200px; margin: 0 auto; width: 100%; }
.page   { padding: 28px 16px; }
.narrow { max-width: 920px; margin: 0 auto; }

.grid-2 { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; align-items: start; }

.section-title {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; margin-bottom: 30px; padding-left: 4px;
}
.section-title h1, .section-title h2 { margin: 0; }
.section-title h1 { font-weight: 300; letter-spacing: .04em; }

.divider    { height: 1px; background: var(--line); margin: 16px 0; }
.muted      { color: var(--muted); }
.price-micro{ font-size: 12px; color: var(--muted); margin-top: 4px; }
.helptext, .help { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* ==========================================================
   4. HEADER & NAVIGATION
========================================================== */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(250,248,245,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

/* Ligne 1 */
.header-top { border-bottom: 1px solid var(--line); }
.header-top-inner {
  max-width: 1280px; margin: 0 auto; padding: 14px 24px;
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 24px;
}
.brand { display: flex; flex-direction: column; line-height: 1; flex: 0 0 auto; text-decoration: none; }
.brand-mark { font-family: 'Playfair Display', Georgia, serif; font-weight: 600; font-size: 20px; letter-spacing: .03em; color: var(--text); }
.brand-name { font-size: 9px; letter-spacing: .20em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }

.header-search {
  display: flex; align-items: center;
  background: var(--bg); border: 1px solid var(--line); border-radius: 999px; overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
  max-width: 520px; width: 100%; margin: 0 auto;
}
.header-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(183,156,109,.15); }
.header-search input { flex: 1; padding: 10px 16px; border: 0; background: transparent; color: var(--text); font-size: 13px; outline: none; min-width: 0; }
.header-search button { padding: 10px 16px; background: transparent; border: 0; color: var(--muted); cursor: pointer; display: flex; align-items: center; transition: color var(--transition); }
.header-search button:hover { color: var(--accent); }

.header-icons { display: flex; align-items: center; gap: 4px; }
.header-icon-btn {
  position: relative; width: 40px; height: 40px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text); background: transparent;
  transition: background var(--transition), color var(--transition); text-decoration: none;
}
.header-icon-btn:hover { background: var(--bg); color: var(--accent); }
.header-icon-badge {
  position: absolute; top: 4px; right: 4px;
  min-width: 16px; height: 16px; border-radius: 999px;
  background: var(--accent); color: #fff; font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; padding: 0 4px; pointer-events: none;
}
.header-icon-badge-hidden { display: none; }
.header-login-btn { color: var(--muted); }

/* Ligne 2 nav catégories */
.header-nav-bar { overflow-x: auto; scrollbar-width: none; }
.header-nav-bar::-webkit-scrollbar { display: none; }
.header-nav-bar-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; }
.header-nav-item {
  font-size: 12px; font-weight: 500; letter-spacing: .07em; text-transform: uppercase;
  color: var(--muted); padding: 12px 16px; white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition); text-decoration: none;
}
.header-nav-item:hover { color: var(--text); }
.header-nav-item.is-active { color: var(--accent); border-bottom-color: var(--accent); }

/* Toasts */
.messages-container { display: grid; gap: 8px; margin-bottom: 20px; }
.message-toast { padding: 12px 16px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); font-size: 14px; line-height: 1.5; }
.message-toast.message-success { border-color: rgba(47,122,58,.25); background: rgba(47,122,58,.05); color: #2f7a3a; }
.message-toast.message-error   { border-color: rgba(176,0,32,.22);  background: rgba(176,0,32,.04);  color: #b00020; }
.message-toast.message-warning { border-color: rgba(168,106,0,.22); background: rgba(168,106,0,.05); color: #8a5e08; }
.message-toast.message-info    { border-color: rgba(34,94,168,.20); background: rgba(34,94,168,.04); color: #1d4f8f; }

/* User dropdown */
.user-menu { position: relative; }
.avatar-btn {
  width: 40px; height: 40px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--panel);
  color: var(--text); font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600; font-size: 15px; cursor: pointer;
  transition: border-color var(--transition), transform var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.avatar-btn:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }

.dropdown {
  position: absolute; right: 0; top: 48px; min-width: 200px; padding: 6px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); display: none; z-index: 2000;
}
.user-menu:hover .dropdown, .user-menu:focus-within .dropdown { display: block; }
.dropdown a, .dropdown button {
  display: flex; width: 100%; padding: 9px 12px; border-radius: var(--radius-sm);
  color: var(--text); font-size: 14px; background: transparent; border: 0; text-align: left; cursor: pointer;
  transition: background var(--transition);
}
.dropdown a:hover, .dropdown button:hover { background: var(--bg); }
.dropdown-divider { height: 1px; background: var(--line); margin: 4px 8px; }
.dropdown-logout { color: var(--muted) !important; }
.dropdown-logout:hover { color: #b00020 !important; }

/* Mini panier */
.cart-menu { position: relative; }
.cart-dropdown {
  position: absolute; right: 0; top: 48px; width: 320px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 2000;
}
.cart-menu:hover .cart-dropdown,
.cart-menu:focus-within .cart-dropdown,
.cart-dropdown.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.mini-cart-item { display: flex; gap: 10px; margin-bottom: 12px; align-items: flex-start; }
.mini-cart-item img { width: 48px; height: 48px; object-fit: cover; border-radius: var(--radius-sm); flex-shrink: 0; border: 1px solid var(--line); }
.mini-cart-title { font-size: 13px; font-weight: 500; color: var(--text); display: block; margin-bottom: 2px; }
.mini-cart-meta  { font-size: 12px; color: var(--muted); }
.mini-cart-footer { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; }
.mini-cart-total  { font-weight: 600; margin-bottom: 10px; font-size: 14px; display: flex; justify-content: space-between; }
.mini-cart-empty  { text-align: center; padding: 16px 0; display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; }
.mini-cart-actions { display: flex; gap: 8px; }
.mini-cart-actions .btn { flex: 1; text-align: center; }

/* ==========================================================
   5. BUTTONS & BADGES
========================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: var(--radius); font-size: 14px; font-weight: 500;
  border: 1px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition),
              background var(--transition), border-color var(--transition), color var(--transition);
}
.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .6; cursor: not-allowed; pointer-events: none; transform: none; }

.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-d); border-color: var(--accent-d); box-shadow: 0 8px 20px rgba(183,156,109,.35); }
.btn-outline { background: var(--panel); border: 1px solid var(--line); color: var(--text); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--muted); }
.btn-ghost:hover { color: var(--text); background: var(--bg); }
.btn-gold { background: var(--accent); color: #fff; border: none; }
.btn-gold:hover { background: var(--accent-d); box-shadow: 0 8px 18px rgba(183,156,109,.35); }
.btn-soft { background: var(--panel); border: 1px solid var(--line); }
.btn-soft:hover { border-color: var(--text); }
.btn-danger-soft { background: rgba(176,0,32,.06); border: 1px solid rgba(176,0,32,.18); color: #b00020; }
.btn-danger-soft:hover { background: rgba(176,0,32,.10); border-color: rgba(176,0,32,.30); }
.btn-sm  { padding: 8px 14px; border-radius: 10px; font-size: 13px; }
.btn-lg  { padding: 14px 24px; font-size: 15px; }
.btn-block { width: 100%; justify-content: center; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.btn-remove { color: #b00020; background: rgba(176,0,32,.05); border: 1px solid rgba(176,0,32,.15); border-radius: 8px; padding: 6px 10px; font-size: 13px; }
.btn-remove:hover { background: rgba(176,0,32,.10); }

/* Badges */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-2);
  font-size: 12px; color: var(--muted); background: var(--panel);
}
.badge.ok       { border-color: rgba(47,122,58,.25);  color: #2f7a3a;  background: rgba(47,122,58,.05); }
.badge.warn     { border-color: rgba(176,0,32,.25);   color: #b00020;  background: rgba(176,0,32,.05); }
.badge.gold     { border-color: rgba(201,161,74,.35); color: #8c6a1d;  background: #fbf7ef; }
.badge.new      { border-color: #d6e6ff; color: #2f6feb; background: #eef5ff; }
.badge.pending  { border-color: var(--line); color: var(--muted); background: var(--bg); }
.badge.paid     { border-color: rgba(47,122,58,.25);  color: #2f7a3a;  background: rgba(47,122,58,.06); }
.badge.shipped  { border-color: #f1e1b9; color: #8c6a1d; background: #fff6e6; }
.badge.cancelled{ border-color: rgba(176,0,32,.22);  color: #b00020;  background: rgba(176,0,32,.05); }
.badge.low-stock{ border-color: #f3d2a2; color: #b26b00; background: #fff4e8; }

/* Badges produit éditoriaux */
.badge-product { font-weight: 600; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.badge-new        { background: #e8f4fd; color: #1a6fa8; border: 1px solid rgba(26,111,168,.2); }
.badge-bestseller { background: #fdf4e3; color: #a0620a; border: 1px solid rgba(160,98,10,.2); }
.badge-limited    { background: #f4e8fd; color: #7a1fa8; border: 1px solid rgba(122,31,168,.2); }
.badge-promo      { background: #fde8e8; color: #a81a1a; border: 1px solid rgba(168,26,26,.2); }

/* ==========================================================
   6. CARDS, TABLES, FORMS, QTY
========================================================== */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; transition: transform var(--transition), box-shadow var(--transition); }
.card + .card { margin-top: 14px; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.card-header { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 12px; }
.card-md { padding: 24px; }
.icon-btn { cursor: pointer; }
button.icon-btn { border: 1px solid var(--line-2); background: var(--panel); padding: 0; }

.table { width: 100%; border-collapse: collapse; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); overflow: hidden; }
.table th, .table td { padding: 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; font-size: 14px; }
.table th { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--bg); }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: var(--bg); }
.table-right { text-align: right; }
.table-center { text-align: center; white-space: nowrap; }
.line-actions { display: flex; gap: 10px; justify-content: flex-end; align-items: center; }

.form      { display: grid; gap: 14px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field input, .field select, .field textarea { width: 100%; padding: 12px; border-radius: var(--radius); border: 1px solid var(--line-2); background: var(--panel); color: var(--text); outline: none; transition: border-color var(--transition), box-shadow var(--transition); }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(183,156,109,.18); }
.field-error input, .field-error select, .field-error textarea { border-color: #b00020; }
.field-errors { font-size: 12px; color: #b00020; margin-top: 4px; }
.field-optional { font-weight: 400; color: var(--muted); font-size: 11px; text-transform: none; letter-spacing: 0; }
.errorlist { list-style: none; padding: 0; margin: 0 0 10px; }
.errorlist li { background: var(--panel); border: 1px solid rgba(176,0,32,.25); color: #b00020; border-radius: var(--radius); padding: 10px 12px; font-size: 13px; }

.summary { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; position: sticky; top: 88px; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.summary-row:last-of-type { border-bottom: 0; }
.summary-total { display: flex; justify-content: space-between; gap: 12px; padding-top: 12px; margin-top: 6px; font-weight: 700; font-size: 17px; color: var(--text); }

.item { display: flex; align-items: center; gap: 14px; min-width: 0; }
.item-media { width: 64px; height: 64px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg); overflow: hidden; flex: 0 0 auto; }
.item-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.item-title { font-weight: 500; line-height: 1.2; margin: 0; }
.item-title a { color: var(--text); font-weight: 500; }
.item-title a:hover { color: var(--accent); text-decoration: underline; }
.item-meta { color: var(--muted); font-size: 13px; margin-top: 4px; }

.qty-control { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; }
.qty-control form { display: block; margin: 0; }
.qty-btn { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 8px; border: 1px solid var(--line); background: var(--panel); font-size: 18px; line-height: 1; padding: 0; transition: background var(--transition); }
.qty-btn:hover { background: var(--bg); }
.qty-value { min-width: 24px; text-align: center; font-weight: 500; display: inline-block; }
.btn-clear { margin-top: 20px; font-size: 14px; color: var(--muted); }

/* Auth */
.auth-wrap { min-height: calc(100vh - 90px); display: flex; align-items: center; }
.auth-card { width: 100%; max-width: 520px; margin: 0 auto; }
.auth-footer { margin-top: 12px; font-size: 13px; color: var(--muted); }
.auth-footer a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

.avatar { width: 56px; height: 56px; border-radius: 999px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; background: var(--panel); font-family: 'Playfair Display', Georgia, serif; font-weight: 600; letter-spacing: .02em; }
.order-number { font-family: 'Playfair Display', Georgia, serif; font-size: 20px; letter-spacing: .05em; }

/* ==========================================================
   7. HERO & HOMEPAGE
========================================================== */
.hero-home {
  height: 460px; border-radius: var(--radius);
  background-size: cover; background-position: center;
  display: flex; align-items: center; padding: 44px;
  color: white; margin-bottom: 46px; overflow: hidden; position: relative;
}
.hero-home::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.20) 60%, transparent 100%);
  border-radius: inherit; pointer-events: none;
}
.hero-home-content { position: relative; z-index: 1; max-width: 560px; }
.hero-kicker {
  display: inline-flex; align-items: center; padding: 8px 12px;
  border-radius: 999px; border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.08); color: #fff;
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px;
}
.hero-home-content h1 { font-size: 54px; line-height: 1.05; margin: 0 0 16px; color: #fff; max-width: 520px; }
.hero-home-content p  { margin: 0 0 24px; font-size: 17px; line-height: 1.65; color: rgba(255,255,255,.90); max-width: 500px; }
.hero-outline { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.28); color: #fff; }
.hero-outline:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.42); color: #fff; }
.hero-trust { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 24px; font-size: 13px; color: rgba(255,255,255,.85); }
.hero-trust span { position: relative; }
.hero-trust span:not(:last-child)::after { content: '•'; margin-left: 18px; color: rgba(255,255,255,.45); }

.home-section { margin-top: 60px; }
.home-section + .home-section { margin-top: 70px; }

.home-categories { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; }
.home-category-card {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 110px; padding: 20px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--panel); color: var(--text); font-weight: 500;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), color var(--transition);
}
.home-category-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0,0,0,.06); border-color: var(--accent); color: var(--accent); }
.home-category-name { font-family: 'Playfair Display', Georgia, serif; font-size: 20px; font-weight: 400; }
.home-category-arrow { font-size: 16px; color: var(--muted); transition: transform var(--transition), color var(--transition); }
.home-category-card:hover .home-category-arrow { transform: translateX(4px); color: var(--accent); }

.home-products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.home-product-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.home-product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(183,156,109,.30); }
.home-product-media { position: relative; display: block; aspect-ratio: 4 / 5; background: var(--bg); overflow: hidden; }
.home-product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.home-product-card:hover .home-product-media img { transform: scale(1.04); }
.home-product-placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: var(--muted); font-size: 13px; }
.home-product-badge-overlay { position: absolute; top: 12px; left: 12px; z-index: 2; }
.home-product-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.home-product-cat { font-size: 11px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--accent); }
.home-product-name { font-family: 'Playfair Display', Georgia, serif; font-size: 17px; font-weight: 400; color: var(--text); line-height: 1.3; transition: color var(--transition); margin-top: 2px; }
.home-product-name:hover { color: var(--accent); }
.home-product-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); }
.home-product-price { font-size: 17px; font-weight: 700; color: var(--text); }
.home-product-rupture { font-size: 12px; color: var(--muted); }
.home-see-all { font-size: 13px; color: var(--accent); transition: color var(--transition); }
.home-see-all:hover { color: var(--accent-d); }

.home-benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.benefit-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); }
.benefit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(183,156,109,.35); }
.benefit-icon { width: 44px; height: 44px; border-radius: 999px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; background: #fbf7ef; border: 1px solid rgba(183,156,109,.22); font-size: 18px; }
.benefit-card h3 { margin: 0 0 10px; font-size: 20px; font-weight: 400; }
.benefit-card p  { margin: 0; color: var(--muted); line-height: 1.7; font-size: 14px; }

.home-cta-section { margin-top: 80px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--panel); overflow: hidden; }
.home-cta-inner { padding: 56px 40px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.home-cta-inner h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 400; margin: 0 0 12px; }
.home-cta-inner p { color: var(--muted); font-size: 16px; max-width: 50ch; line-height: 1.7; margin: 0; }

/* ==========================================================
   8. CATALOGUE
========================================================== */
.product-list-page { padding-top: 6px; }

.catalog-toolbar { display: flex; align-items: center; margin-bottom: 24px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.catalog-toolbar-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; }
.catalog-toolbar-left { display: flex; align-items: center; gap: 12px; }
.catalog-count { font-size: 14px; color: var(--muted); }
.catalog-label { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.catalog-sort-form { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.catalog-select { padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); color: var(--text); font-size: 14px; }
.catalog-reset { font-size: 13px; color: var(--muted); border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; transition: color var(--transition), border-color var(--transition); }
.catalog-reset:hover { color: #b00020; border-color: rgba(176,0,32,.25); }

.catalog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.catalog-product-card { padding: 14px; display: flex; flex-direction: column; min-height: 100%; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); }
.catalog-product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(183,156,109,.35); }

.catalog-product-media { display: block; border-radius: 12px; overflow: hidden; position: relative; }
.catalog-product-media img { width: 100%; height: 260px; object-fit: cover; border-radius: 12px; transition: transform .45s ease; }
.catalog-product-card:hover .catalog-product-media img { transform: scale(1.05); }
.catalog-product-placeholder { height: 260px; border-radius: 12px; background: var(--bg); display: flex; align-items: center; justify-content: center; color: var(--muted); border: 1px solid var(--line); }

.catalog-card-badge { position: absolute; bottom: 12px; left: 12px; z-index: 2; }

.catalog-product-body     { margin-top: 14px; display: flex; flex-direction: column; flex: 1; }
.catalog-product-top      { flex: 1; }
.catalog-product-category { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.catalog-product-title    { font-size: 16px; line-height: 1.3; font-weight: 500; }
.catalog-product-title a  { color: var(--text); }
.catalog-product-title a:hover { color: var(--accent); }

.catalog-product-rating { display: flex; align-items: center; gap: 4px; margin-top: 6px; }
.catalog-rating-stars { display: flex; gap: 1px; }
.catalog-rating-count { font-size: 12px; color: var(--muted); }
.star-on  { color: #c9a96e; font-size: 13px; }
.star-off { color: var(--line); font-size: 13px; }

.catalog-product-price-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.catalog-product-price { color: var(--accent); font-weight: 700; font-size: 20px; line-height: 1.1; }
.catalog-stock-ok  { font-size: 12px; color: #2f7a3a; font-weight: 500; }
.catalog-stock-low { font-size: 12px; color: #b26b00; font-weight: 500; }

.catalog-product-actions  { margin-top: 14px; display: flex; gap: 8px; align-items: center; }
.catalog-cart-btn, .catalog-disabled-btn { flex: 1; }
.catalog-cart-btn { transition: transform .15s ease, box-shadow .2s ease; }
.catalog-cart-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 18px rgba(183,156,109,.35); }
.catalog-view-btn { padding: 12px 14px; font-size: 14px; white-space: nowrap; }
.catalog-disabled-btn { padding: 12px 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg); color: var(--muted); font-size: 14px; font-weight: 500; cursor: not-allowed; text-align: center; }

.wishlist-overlay-form { position: absolute; top: 12px; right: 12px; z-index: 3; margin: 0; }
.wishlist-heart-btn {
  width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.7); border-radius: 999px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; font-size: 20px; line-height: 1; color: #222;
  box-shadow: 0 8px 20px rgba(0,0,0,.08); padding: 0;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), color var(--transition);
}
.wishlist-heart-btn:hover { transform: translateY(-1px) scale(1.04); box-shadow: 0 12px 24px rgba(0,0,0,.12); border-color: rgba(183,156,109,.45); color: var(--accent); }
.wishlist-heart-btn:focus { outline: none; box-shadow: 0 0 0 4px rgba(183,156,109,.16); }
.wishlist-heart-btn.is-active { color: #b00020; border-color: rgba(176,0,32,.18); background: rgba(255,255,255,.96); }
.wishlist-heart-btn:disabled  { opacity: .7; cursor: wait; transform: none; }

.catalog-pagination { margin-top: 28px; display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* Product cards génériques */
.product-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; position: relative; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

/* ==========================================================
   9. FICHE PRODUIT
========================================================== */
.pd-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: start; }
.pd-media-col { display: flex; flex-direction: column; gap: 16px; }
.pd-media { overflow: hidden; border-radius: var(--radius); position: relative; }
.pd-media img { width: 100%; height: 520px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); display: block; transition: transform .4s ease; }
.pd-media:hover img { transform: scale(1.03); }
.pd-media-placeholder { width: 100%; height: 520px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 14px; flex-direction: column; gap: 12px; }

.pd-share { display: flex; align-items: center; gap: 10px; }
.pd-share-label { font-size: 12px; color: var(--muted); }
.pd-share-btn { width: 34px; height: 34px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--muted); transition: border-color var(--transition), color var(--transition), background var(--transition); }
.pd-share-btn:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-bg); }

.pd-info-col { display: flex; flex-direction: column; gap: 18px; }
.pd-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.pd-breadcrumb a { color: var(--muted); transition: color var(--transition); }
.pd-breadcrumb a:hover { color: var(--accent); }
.pd-breadcrumb-current { color: var(--text); font-weight: 500; }

.pd-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pd-category { font-size: 11px; font-weight: 600; letter-spacing: .10em; text-transform: uppercase; color: var(--accent); transition: color var(--transition); }
.pd-category:hover { color: var(--accent-d); }

.pd-title { font-size: 36px; font-weight: 400; line-height: 1.15; margin: 0; }
.pd-price-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pd-price { font-size: 30px; font-weight: 700; color: var(--text); line-height: 1; }
.pd-price-note { font-size: 13px; color: var(--muted); }
.pd-description { color: var(--muted); line-height: 1.75; font-size: 15px; }

.pd-variants { display: flex; flex-direction: column; gap: 18px; }
.pd-variant-group { display: flex; flex-direction: column; gap: 8px; }
.pd-variant-label { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.pd-variant-selected { font-weight: 400; color: var(--accent); text-transform: none; letter-spacing: 0; }
.pd-variant-options { display: flex; flex-wrap: wrap; gap: 8px; }
.pd-variant-btn { padding: 8px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--panel); color: var(--text); font-size: 14px; font-weight: 500; cursor: pointer; transition: border-color var(--transition), background var(--transition), color var(--transition); position: relative; }
.pd-variant-btn:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.pd-variant-btn.is-selected { border-color: var(--accent-d); background: var(--text); color: #fff; font-weight: 600; }
.pd-variant-out { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.pd-variant-out::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: repeating-linear-gradient(-45deg, transparent, transparent 4px, rgba(0,0,0,.06) 4px, rgba(0,0,0,.06) 5px); pointer-events: none; }

.pd-actions { display: flex; flex-direction: column; gap: 10px; }
.pd-cart-form { display: flex; flex-direction: column; gap: 8px; }

.pd-reassurance { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pd-reassurance-item { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.pd-reassurance-item:last-child { border-bottom: 0; }
.pd-reassurance-icon { font-size: 18px; flex-shrink: 0; }
.pd-reassurance-item strong { font-size: 14px; font-weight: 600; display: block; margin-bottom: 2px; }
.pd-reassurance-item span { font-size: 13px; color: var(--muted); }

.pd-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.pd-tab-btn { padding: 12px 20px; font-size: 14px; font-weight: 500; color: var(--muted); background: transparent; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; cursor: pointer; transition: color var(--transition), border-color var(--transition); white-space: nowrap; }
.pd-tab-btn:hover { color: var(--text); }
.pd-tab-btn.is-active { color: var(--accent); border-bottom-color: var(--accent); }
.pd-tab-panel { display: none; }
.pd-tab-panel.is-active { display: block; }
.pd-accordion-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 16px 0; font-size: 15px; font-weight: 500; background: none; border: 0; border-bottom: 1px solid var(--line); cursor: pointer; text-align: left; }
.pd-accordion-btn:hover { color: var(--accent); }

.pd-catalog-product-media { display: block; border-radius: var(--radius); overflow: hidden; position: relative; }
.catalog-product-media img { width: 100%; }

/* ==========================================================
   10. PANIER
========================================================== */
.cart-page { padding-bottom: 72px; }
.cart-progress-wrap { margin-bottom: 20px; }
.cart-progress-bar-bg { height: 5px; background: var(--line); border-radius: 999px; overflow: hidden; }
.cart-progress-bar-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--accent-d)); transition: width .5s ease; }
.cart-progress-msg { font-size: 13px; color: var(--muted); margin-top: 8px; }
.cart-progress-msg.shipping-free { color: #2f7a3a; font-weight: 500; }

.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
.cart-sticky  { position: sticky; top: 88px; }
.cart-items   { display: flex; flex-direction: column; }
.cart-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.cart-item:first-child { border-top: 1px solid var(--line); }
.cart-item-media { width: 88px; height: 88px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg); overflow: hidden; flex-shrink: 0; }
.cart-item-media img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.cart-item-top  { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.cart-item-cat  { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.cart-item-name { font-size: 15px; font-weight: 500; color: var(--text); line-height: 1.3; display: block; }
.cart-item-name:hover { color: var(--accent); }
.cart-item-unit-price { font-size: 13px; color: var(--muted); }
.cart-item-variant { font-size: 12px; color: var(--accent); font-weight: 500; margin-bottom: 2px; }
.cart-item-remove { width: 28px; height: 28px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: var(--muted); display: flex; align-items: center; justify-content: center; font-size: 12px; flex-shrink: 0; transition: color var(--transition), border-color var(--transition), background var(--transition); }
.cart-item-remove:hover { color: #b00020; border-color: rgba(176,0,32,.25); background: rgba(176,0,32,.05); }
.cart-item-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cart-item-total { font-size: 16px; font-weight: 700; color: var(--text); text-align: right; }
.cart-item-total-detail { font-size: 12px; color: var(--muted); font-weight: 400; }

.cart-summary-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.cart-summary-header { padding: 18px 20px; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: 500; }
.cart-summary-body { padding: 16px 20px; display: flex; flex-direction: column; gap: 10px; }
.cart-summary-row { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--muted); }
.cart-summary-row.total { font-size: 17px; font-weight: 700; color: var(--text); padding-top: 10px; border-top: 1px solid var(--line); }
.cart-summary-free { color: #2f7a3a; font-weight: 500; font-size: 13px; }
.cart-checkout-btn { margin: 16px 20px 20px; display: flex; flex-direction: column; gap: 8px; }
.cart-payment-badges { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
.cart-payment-badge { padding: 4px 10px; border: 1px solid var(--line); border-radius: 6px; font-size: 12px; color: var(--muted); background: var(--bg); }

.cart-empty-wrap { text-align: center; padding: 72px 24px; max-width: 400px; margin: 0 auto; }
.cart-empty-icon { font-size: 48px; margin-bottom: 20px; }
.cart-empty-wrap h2 { font-size: 26px; font-weight: 400; margin-bottom: 10px; }
.cart-empty-wrap p  { color: var(--muted); margin-bottom: 28px; line-height: 1.7; }

.cart-suggestions { margin-top: 48px; }
.cart-suggestions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.cart-suggestion-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cart-suggestion-card img { width: 100%; height: 180px; object-fit: cover; }
.cart-suggestion-body { padding: 12px 14px; }
.cart-suggestion-cat   { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.cart-suggestion-name  { font-size: 14px; font-weight: 500; margin: 4px 0 6px; color: var(--text); display: block; }
.cart-suggestion-name:hover { color: var(--accent); }
.cart-suggestion-price { font-size: 14px; font-weight: 700; color: var(--accent); margin-bottom: 10px; }

/* ==========================================================
   11. CHECKOUT
========================================================== */
.checkout-tunnel { max-width: 1100px; margin: 0 auto; padding: 24px 0 60px; }

.checkout-steps { display: flex; align-items: center; justify-content: center; gap: 0; margin-bottom: 36px; }
.checkout-step { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 500; }
.checkout-step.active { color: var(--text); }
.checkout-step.done   { color: var(--accent); }
.checkout-step-num { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; background: var(--panel); flex-shrink: 0; }
.checkout-step.active .checkout-step-num { border-color: var(--accent); background: var(--accent); color: #fff; }
.checkout-step.done .checkout-step-num { border-color: var(--accent); background: var(--accent); color: #fff; }
.checkout-step-sep { width: 48px; height: 1px; background: var(--line); margin: 0 4px; }

.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 24px; align-items: start; }
.checkout-summary-panel { position: sticky; top: 88px; }
.checkout-section-title { font-size: 18px; font-weight: 500; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.checkout-submit { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.checkout-secure { text-align: center; font-size: 12px; color: var(--muted); display: flex; align-items: center; justify-content: center; gap: 6px; }
.checkout-reassurance { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.checkout-reassurance-item { display: flex; align-items: flex-start; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); font-size: 13px; }
.checkout-reassurance-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.checkout-reassurance-item strong { display: block; font-size: 13px; font-weight: 600; margin-bottom: 2px; }
.checkout-reassurance-item span { color: var(--muted); font-size: 12px; line-height: 1.4; }
.checkout-back { text-align: center; margin-top: 14px; font-size: 13px; }
.checkout-back a { color: var(--muted); transition: color var(--transition); }
.checkout-back a:hover { color: var(--accent); }

.checkout-lines { display: grid; gap: 14px; margin-bottom: 16px; }
.checkout-line { display: flex; align-items: center; gap: 12px; }
.checkout-line-img { position: relative; width: 52px; height: 52px; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); background: var(--bg); flex-shrink: 0; }
.checkout-line-img img { width: 100%; height: 100%; object-fit: cover; }
.checkout-line-qty { position: absolute; top: -6px; right: -6px; width: 18px; height: 18px; border-radius: 50%; background: var(--text); color: var(--panel); font-size: 10px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.checkout-line-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.checkout-line-name { font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.checkout-line-cat  { font-size: 12px; color: var(--muted); }
.checkout-line-price { font-size: 13px; font-weight: 600; white-space: nowrap; }

.checkout-saved-addresses { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.checkout-saved-label { font-size: 12px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.checkout-saved-list  { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.checkout-saved-addr  { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px; text-align: left; cursor: pointer; transition: border-color var(--transition), background var(--transition); display: flex; flex-direction: column; gap: 2px; min-width: 160px; }
.checkout-saved-addr:hover { border-color: var(--accent); }
.checkout-saved-addr.is-selected { border-color: var(--accent); background: #fdf9f3; }
.checkout-saved-addr-name   { font-size: 13px; font-weight: 600; color: var(--text); display: flex; align-items: center; gap: 6px; }
.checkout-saved-addr-detail { font-size: 12px; color: var(--muted); }
.checkout-saved-add { font-size: 13px; color: var(--accent); padding: 10px 14px; border: 1px dashed rgba(183,156,109,.4); border-radius: var(--radius); transition: border-color var(--transition), background var(--transition); white-space: nowrap; }
.checkout-saved-add:hover { border-color: var(--accent); background: #fdf9f3; color: var(--accent-d); }

.checkout-discount { padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.checkout-discount-form { display: flex; gap: 8px; }
.checkout-discount-input { flex: 1; min-height: 38px; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); color: var(--text); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; transition: border-color var(--transition), box-shadow var(--transition); }
.checkout-discount-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(183,156,109,.12); }
.checkout-discount-result { font-size: 13px; padding: 8px 12px; border-radius: var(--radius-sm); line-height: 1.5; }
.discount-ok    { background: rgba(47,122,58,.07);  color: #2f7a3a; border: 1px solid rgba(47,122,58,.20); }
.discount-error { background: rgba(176,0,32,.06);   color: #b00020; border: 1px solid rgba(176,0,32,.18); }
.checkout-discount-amount { color: #2f7a3a; font-weight: 600; }
.checkout-shipping { font-size: 12px; color: var(--muted); }

.confirmation-page { max-width: 580px; margin: 0 auto; padding: 40px 0 72px; text-align: center; }
.confirmation-icon { width: 64px; height: 64px; border-radius: 50%; background: rgba(47,122,58,.10); color: #2f7a3a; font-size: 28px; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; border: 1.5px solid rgba(47,122,58,.20); }
.confirmation-title { font-size: clamp(26px, 4vw, 36px); font-weight: 400; margin-bottom: 10px; }
.confirmation-subtitle { color: var(--muted); font-size: 15px; line-height: 1.7; margin-bottom: 28px; }
.confirmation-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 28px; text-align: left; }
.confirmation-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 13px 18px; font-size: 14px; border-bottom: 1px solid var(--line); }
.confirmation-row:last-child { border-bottom: 0; }
.confirmation-row span:first-child { color: var(--muted); }
.confirmation-step { display: flex; align-items: flex-start; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); font-size: 14px; }
.confirmation-step-num { width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.confirmation-step strong { display: block; margin-bottom: 2px; font-weight: 600; }
.confirmation-step span { color: var(--muted); font-size: 13px; }
.confirmation-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }

/* ==========================================================
   12. ESPACE CLIENT & WISHLIST
========================================================== */
.account-page { padding-bottom: 72px; }
.account-page-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.account-page-title { font-size: clamp(24px, 3.5vw, 36px); font-weight: 400; margin: 0; }

.account-layout { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: start; }
.account-sidebar { position: sticky; top: 88px; }
.account-nav { display: flex; flex-direction: column; gap: 2px; }
.account-nav-item { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: var(--radius-sm); font-size: 14px; color: var(--muted); border-left: 2px solid transparent; transition: color var(--transition), border-color var(--transition), background var(--transition); }
.account-nav-item:hover, .account-nav-item.is-active { color: var(--text); background: var(--bg); }
.account-nav-item.is-active { color: var(--accent); border-left-color: var(--accent); font-weight: 500; }
.account-nav-icon { font-size: 14px; width: 18px; text-align: center; flex-shrink: 0; }
.account-nav-count { margin-left: auto; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; min-width: 18px; height: 18px; border-radius: 999px; display: flex; align-items: center; justify-content: center; padding: 0 4px; }
.account-nav-logout { margin-top: 8px; }

.account-section-title { font-size: 18px; font-weight: 500; margin-bottom: 16px; }
.account-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.account-info-item { display: flex; flex-direction: column; gap: 4px; padding: 14px; background: var(--bg); border-radius: var(--radius-sm); }
.account-info-label { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.account-info-value { font-size: 15px; font-weight: 500; color: var(--text); }
.account-help-text { font-size: 14px; color: var(--muted); line-height: 1.6; margin-bottom: 14px; }

.account-orders-list { display: flex; flex-direction: column; gap: 10px; }
.account-order-row { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--bg); border-radius: var(--radius); border: 1px solid var(--line); transition: border-color var(--transition); }
.account-order-row:hover { border-color: var(--accent); }
.account-order-num   { font-family: 'Playfair Display', Georgia, serif; font-size: 14px; letter-spacing: .04em; font-weight: 500; }
.account-order-date  { font-size: 12px; color: var(--muted); }
.account-order-total { font-size: 14px; font-weight: 700; margin-left: auto; }

.account-empty-page { text-align: center; padding: 60px 24px; max-width: 400px; margin: 0 auto; }
.account-empty-icon { font-size: 40px; margin-bottom: 16px; }
.account-empty-page h2 { font-size: 22px; font-weight: 400; margin-bottom: 10px; }
.account-empty-page p  { color: var(--muted); margin-bottom: 24px; line-height: 1.7; }

/* Wishlist */
.wishlist-page { padding-bottom: 72px; }
.wishlist-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.wishlist-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); }
.wishlist-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(183,156,109,.25); }
.wishlist-card-media { display: block; aspect-ratio: 4/5; overflow: hidden; background: var(--bg); }
.wishlist-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.wishlist-card:hover .wishlist-card-media img { transform: scale(1.03); }
.wishlist-card-placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: var(--muted); font-size: 13px; }
.wishlist-card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.wishlist-card-cat   { font-size: 11px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--accent); }
.wishlist-card-name  { font-size: 16px; font-weight: 500; color: var(--text); line-height: 1.3; transition: color var(--transition); }
.wishlist-card-name:hover { color: var(--accent); }
.wishlist-card-price { font-size: 18px; font-weight: 700; color: var(--text); }
.wishlist-card-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); }

/* ==========================================================
   13. AVIS CLIENTS
========================================================== */
.reviews-section { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--line); }
.reviews-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.reviews-title { font-size: 24px; font-weight: 400; margin: 0 0 16px; }
.reviews-global { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.reviews-global-score { font-family: 'Playfair Display', Georgia, serif; font-size: 52px; font-weight: 400; line-height: 1; color: var(--text); }
.reviews-global-count { font-size: 13px; color: var(--muted); margin-top: 4px; }
.reviews-stars-display, .review-stars { display: flex; gap: 2px; }
.reviews-star, .review-star-display { font-size: 18px; color: var(--line); }
.reviews-star.filled, .review-star-display.filled { color: #c9a96e; }
.catalog-product-rating .star-on  { color: #c9a96e; }
.catalog-product-rating .star-off { color: var(--line); }

.reviews-distribution { display: flex; flex-direction: column; gap: 6px; min-width: 200px; }
.reviews-dist-row   { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.reviews-dist-label { width: 28px; text-align: right; color: var(--muted); flex-shrink: 0; }
.reviews-dist-bar   { flex: 1; height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; }
.reviews-dist-fill  { height: 100%; border-radius: 999px; background: #c9a96e; transition: width .3s ease; }
.reviews-dist-count { width: 20px; color: var(--muted); flex-shrink: 0; }
.reviews-empty-msg  { font-size: 14px; color: var(--muted); margin: 0; }

.review-form-wrap { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 36px; }
.review-form { display: flex; flex-direction: column; gap: 18px; }
.review-form-label { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.review-required { color: #b00020; }
.review-textarea { width: 100%; padding: 12px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--panel); color: var(--text); font-size: 15px; line-height: 1.6; resize: vertical; min-height: 120px; outline: none; transition: border-color var(--transition); }
.review-textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(183,156,109,.12); }

.star-picker { display: flex; flex-direction: row-reverse; gap: 4px; margin-bottom: 16px; }
.star-radio { display: none; }
.star-label { font-size: 32px; color: var(--line); cursor: pointer; transition: color .15s ease; line-height: 1; }
.star-label:hover, .star-label:hover ~ .star-label, .star-radio:checked ~ .star-label { color: #c9a96e; }

.reviews-list { display: flex; flex-direction: column; gap: 20px; }
.review-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px 24px; }
.review-card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.review-avatar { width: 36px; height: 36px; border-radius: 999px; background: var(--accent-bg); color: var(--accent-text); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; flex-shrink: 0; }
.review-author-name { font-weight: 600; font-size: 14px; }
.review-date   { font-size: 12px; color: var(--muted); }
.review-verified-badge { font-size: 11px; }
.review-title  { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.review-body   { font-size: 14px; color: var(--muted); line-height: 1.75; }
.review-delete-form { margin-top: 10px; }

/* ==========================================================
   14. CARNET D'ADRESSES
========================================================== */
.address-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.address-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 14px; transition: border-color var(--transition), box-shadow var(--transition); }
.address-card:hover { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.address-card-default { border-color: rgba(183,156,109,.35); background: #fdf9f3; }
.address-card-header { display: flex; align-items: center; justify-content: space-between; }
.address-card-label { font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 8px; color: var(--text); }
.address-card-body { font-style: normal; font-size: 14px; line-height: 1.8; color: var(--muted); flex: 1; }
.address-card-body strong { color: var(--text); }
.address-card-actions { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 12px; border-top: 1px solid var(--line); }
.address-delete-btn { color: var(--muted) !important; }
.address-delete-btn:hover { color: #b00020 !important; }
.address-default-field { margin-top: 4px; }
.address-checkbox-label { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; }
.address-checkbox-label input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--accent); cursor: pointer; }

/* ==========================================================
   15. PAGES (Contact, FAQ, À propos, Légales, Erreurs)
========================================================== */

/* Légales */
.legal-wrap { max-width: 780px; margin: 0 auto; padding: 0 0 60px; }
.legal-header { padding: 32px 0 28px; border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.legal-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.legal-breadcrumb a { color: var(--muted); transition: color var(--transition); }
.legal-breadcrumb a:hover { color: var(--accent); }
.legal-header h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 400; margin-bottom: 10px; }
.legal-updated { font-size: 13px; color: var(--muted); margin: 0; }
.legal-highlight { padding: 16px 20px; border-radius: var(--radius); border-left: 3px solid var(--accent); background: #fbf7ef; color: #6b4f1e; font-size: 15px; line-height: 1.6; margin-bottom: 32px; }
.legal-section { margin-bottom: 36px; }
.legal-section h2 { font-size: 18px; font-weight: 500; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.legal-section p  { color: var(--text); font-size: 15px; line-height: 1.8; margin-bottom: 12px; }
.legal-section ul, .legal-section ol { padding-left: 20px; margin-bottom: 12px; }
.legal-section li { font-size: 15px; line-height: 1.8; color: var(--text); margin-bottom: 4px; }
.legal-section a { color: var(--accent); }
.legal-section a:hover { color: var(--accent-d); text-decoration: underline; }
.legal-footer { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.legal-footer p { margin: 0; font-size: 14px; color: var(--muted); }
.legal-nav { display: flex; gap: 16px; flex-wrap: wrap; }
.legal-nav a { font-size: 13px; color: var(--muted); transition: color var(--transition); }
.legal-nav a:hover { color: var(--accent); }

/* Erreurs */
.error-page { min-height: 60vh; display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.error-page-inner { text-align: center; max-width: 480px; }
.error-code { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(80px, 15vw, 140px); font-weight: 400; color: var(--line); line-height: 1; margin: 0 0 8px; letter-spacing: -.04em; }
.error-title { font-size: clamp(22px, 4vw, 32px); font-weight: 400; margin-bottom: 16px; }
.error-message { color: var(--muted); font-size: 15px; line-height: 1.75; margin-bottom: 32px; }
.error-actions { justify-content: center; margin-top: 0; }

/* Contact */
.contact-page { padding-bottom: 72px; }
.contact-header { text-align: center; padding: 40px 0 36px; }
.contact-title  { font-size: clamp(30px, 4vw, 44px); font-weight: 400; margin: 0 0 12px; }
.contact-subtitle { font-size: 16px; color: var(--muted); line-height: 1.7; max-width: 50ch; margin: 0 auto; }
.contact-subtitle a { color: var(--accent); }
.contact-layout { display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: start; }
.contact-info { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.contact-info-block { display: flex; align-items: flex-start; gap: 14px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.contact-info-block:last-child { border-bottom: 0; }
.contact-info-icon { font-size: 18px; width: 28px; text-align: center; flex-shrink: 0; margin-top: 2px; }
.contact-info-label { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.contact-info-value { font-size: 14px; font-weight: 500; color: var(--text); }
a.contact-info-value:hover { color: var(--accent); }
.contact-info-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.contact-quick-links { padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.contact-quick-link { font-size: 13px; color: var(--accent); transition: color var(--transition); }
.contact-quick-link:hover { color: var(--accent-d); }
.contact-privacy { font-size: 12px; color: var(--muted); margin-top: 14px; line-height: 1.6; text-align: center; }
.contact-privacy a { color: var(--accent); }
.contact-form-card { max-width: 100%; }

/* FAQ */
.faq-page { padding-bottom: 72px; }
.faq-header { text-align: center; padding: 40px 0 36px; }
.faq-title  { font-size: clamp(30px, 4vw, 44px); font-weight: 400; margin: 0 0 10px; }
.faq-subtitle { font-size: 16px; color: var(--muted); margin: 0; }
.faq-subtitle a { color: var(--accent); }
.faq-layout { display: grid; grid-template-columns: 200px 1fr; gap: 36px; align-items: start; }
.faq-nav { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 2px; }
.faq-nav-item { font-size: 13px; font-weight: 500; color: var(--muted); padding: 9px 12px; border-radius: var(--radius-sm); border-left: 2px solid transparent; transition: color var(--transition), border-color var(--transition), background var(--transition); text-decoration: none; }
.faq-nav-item:hover { color: var(--text); background: var(--bg); }
.faq-nav-item.is-active { color: var(--accent); border-left-color: var(--accent); background: var(--bg); }
.faq-section { margin-bottom: 48px; }
.faq-section-title { font-size: 20px; font-weight: 500; margin: 0 0 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; background: none; border: none; text-align: left; font-size: 15px; font-weight: 500; color: var(--text); cursor: pointer; transition: color var(--transition); }
.faq-question:hover { color: var(--accent); }
.faq-arrow { font-size: 20px; color: var(--muted); flex-shrink: 0; transition: transform .2s ease; line-height: 1; }
.faq-answer { padding: 0 0 16px; font-size: 15px; line-height: 1.8; color: var(--muted); }
.faq-answer p { margin: 0 0 10px; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer a { color: var(--accent); }
.faq-answer strong { color: var(--text); font-weight: 600; }
.faq-contact-cta { text-align: center; padding: 36px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); margin-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.faq-contact-cta p { margin: 0; font-size: 16px; color: var(--muted); }

/* À propos */
.about-page { padding-bottom: 0; }
.about-hero { background: linear-gradient(135deg, #1a1814 0%, #2d2820 100%); padding: 80px 24px; text-align: center; margin: -28px -16px 0; }
.about-hero-content { max-width: 680px; margin: 0 auto; }
.about-hero-title { font-size: clamp(36px, 6vw, 64px); font-weight: 400; color: #fff; margin: 16px 0 20px; line-height: 1.1; }
.about-hero-text { font-size: 17px; line-height: 1.8; color: rgba(255,255,255,.75); max-width: 52ch; margin: 0 auto; }
.about-section { padding: 72px 24px; }
.about-section-alt { background: var(--panel); }
.about-section-inner { max-width: 1100px; margin: 0 auto; }
.about-label { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.about-section-header { text-align: center; margin-bottom: 48px; }
.about-section-header h2 { font-size: clamp(26px, 3.5vw, 40px); font-weight: 400; margin: 0; }
.about-story { display: grid; grid-template-columns: 1fr 360px; gap: 60px; align-items: center; }
.about-story-text h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 400; margin: 0 0 20px; }
.about-story-text p { font-size: 16px; line-height: 1.85; color: var(--muted); margin-bottom: 16px; }
.about-story-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.about-story-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; text-align: center; }
.about-story-stat { font-family: 'Playfair Display', Georgia, serif; font-size: 36px; font-weight: 400; color: var(--accent); line-height: 1; margin-bottom: 6px; }
.about-story-stat-label { font-size: 12px; color: var(--muted); font-weight: 500; }
.about-values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.about-value-card { padding: 28px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.about-value-icon { font-size: 24px; color: var(--accent); margin-bottom: 14px; }
.about-value-card h3 { font-size: 18px; font-weight: 500; margin: 0 0 10px; }
.about-value-card p  { font-size: 14px; line-height: 1.75; color: var(--muted); margin: 0; }
.about-commitments { display: flex; flex-direction: column; }
.about-commitment { display: flex; gap: 28px; padding: 28px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.about-commitment:last-child { border-bottom: 0; }
.about-commitment-num { font-family: 'Playfair Display', Georgia, serif; font-size: 32px; font-weight: 400; color: var(--accent); opacity: .5; flex-shrink: 0; width: 56px; line-height: 1; margin-top: 4px; }
.about-commitment h3 { font-size: 18px; font-weight: 500; margin: 0 0 8px; }
.about-commitment p  { font-size: 15px; line-height: 1.75; color: var(--muted); margin: 0; }
.about-cta { background: var(--text); padding: 72px 24px; text-align: center; }
.about-cta-inner { max-width: 560px; margin: 0 auto; }
.about-cta h2 { font-size: clamp(26px, 3.5vw, 40px); font-weight: 400; color: #fff; margin: 0 0 12px; }
.about-cta p { color: rgba(255,255,255,.65); font-size: 16px; margin: 0; }
.about-cta .btn-outline { border-color: rgba(255,255,255,.3); color: #fff; }
.about-cta .btn-outline:hover { border-color: var(--accent); color: var(--accent); background: transparent; }

/* ==========================================================
   16. NEWSLETTER & FOOTER
========================================================== */
.footer-newsletter { padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--text); display: flex; align-items: center; gap: 24px; flex-wrap: wrap; justify-content: space-between; margin-bottom: 24px; }
.footer-newsletter-text h3 { font-size: 18px; font-weight: 500; color: #fff; margin: 0 0 4px; }
.footer-newsletter-text p  { font-size: 14px; color: rgba(255,255,255,.55); margin: 0; }
.footer-newsletter-form { display: flex; gap: 8px; flex: 1; max-width: 440px; }
.footer-newsletter-input { flex: 1; padding: 11px 16px; border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.07); color: #fff; font-size: 14px; outline: none; transition: border-color var(--transition); }
.footer-newsletter-input::placeholder { color: rgba(255,255,255,.35); }
.footer-newsletter-input:focus { border-color: var(--accent); }
.footer-newsletter-btn { white-space: nowrap; flex-shrink: 0; }
.footer-newsletter-msg { width: 100%; font-size: 13px; padding: 8px 12px; border-radius: var(--radius-sm); margin-top: 4px; }
.footer-newsletter-msg.msg-ok    { background: rgba(47,122,58,.15);  color: #7dd87d; }
.footer-newsletter-msg.msg-error { background: rgba(176,0,32,.15);   color: #ff8a8a; }

.site-footer { margin-top: 60px; border-top: 1px solid var(--line); background: var(--panel); }
.footer-inner { padding: 36px 20px 20px; max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; margin-bottom: 28px; }
.footer-brand .brand-mark { font-size: 16px; }
.footer-brand p { margin-top: 10px; color: var(--muted); font-size: 13px; line-height: 1.7; max-width: 28ch; }
.footer-col h3 { font-size: 13px; font-weight: 600; margin-bottom: 10px; letter-spacing: .04em; text-transform: uppercase; color: var(--text); }
.footer-links { display: grid; gap: 6px; }
.footer-links a { color: var(--muted); font-size: 13px; transition: color var(--transition); }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }

/* ==========================================================
   17. MEDIA QUERIES — MOBILE
========================================================== */

/* Tablette 980px */
@media (max-width: 980px) {
  .grid-2 { grid-template-columns: 1fr; }
  .summary { position: static; }
  .table  { display: block; overflow-x: auto; }
  .catalog-toolbar-row { flex-direction: column; align-items: stretch; }
  .catalog-sort-form { justify-content: space-between; }
  .catalog-select { width: 100%; }
  .hero-home { height: 360px; padding: 28px; }
  .hero-home-content h1 { font-size: 38px; }
  .hero-home-content p  { font-size: 15px; }
  .hero-trust { gap: 10px; font-size: 12px; }
  .hero-trust span:not(:last-child)::after { margin-left: 10px; }
  .cart-dropdown { right: -60px; width: 290px; }
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-summary-panel { position: static; order: -1; }
  .checkout-reassurance { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .about-story { grid-template-columns: 1fr; gap: 36px; }
  .about-values-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}

/* Mobile 768px */
@media (max-width: 768px) {
  .page { padding: 16px; }

  /* Header */
  .header-top-inner { padding: 10px 16px; gap: 10px; }
  .brand-mark { font-size: 17px; }
  .header-icon-btn { width: 36px; height: 36px; }
  .header-nav-item { font-size: 11px; padding: 10px 12px; }
  .cart-dropdown { width: calc(100vw - 32px); right: -16px; }

  /* Catalogue */
  .catalog-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .catalog-product-card { padding: 10px; }
  .catalog-product-media img, .catalog-product-placeholder { height: 180px; }
  .catalog-product-title { font-size: 13px; }
  .catalog-product-price { font-size: 16px; }
  .catalog-product-actions { display: grid; grid-template-columns: 1fr auto; gap: 6px; }
  .catalog-product-actions .js-cart-add-btn { font-size: 12px; padding: 9px 8px; white-space: nowrap; }
  .catalog-view-btn { width: auto; padding: 9px 12px; font-size: 12px; white-space: nowrap; }
  .catalog-product-placeholder { height: 160px; font-size: 11px; }

  /* Fiche produit */
  .pd-layout { display: flex; flex-direction: column; gap: 20px; }
  .pd-media img, .pd-media-placeholder { height: 320px; }
  .pd-title { font-size: 24px; }
  .pd-price { font-size: 24px; }
  .pd-variant-btn { padding: 7px 12px; font-size: 13px; }
  .pd-actions { position: sticky; bottom: 0; background: var(--panel); padding: 12px 16px; z-index: 50; border-top: 1px solid var(--line); margin: 0 -16px; }
  .pd-tab-btn { font-size: 13px; padding: 10px 14px; white-space: nowrap; }
  .reviews-header { flex-direction: column; gap: 16px; }

  /* Panier */
  .cart-layout { grid-template-columns: 1fr; }
  .cart-sticky { position: static; }

  /* Checkout */
  .checkout-steps { gap: 0; }
  .checkout-step-label { display: none; }
  .checkout-saved-list { flex-direction: column; }
  .checkout-saved-addr { min-width: auto; width: 100%; }

  /* Espace client */
  .account-layout { grid-template-columns: 1fr; }
  .account-sidebar { position: static; }
  .account-nav { flex-direction: row; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
  .account-nav-item { font-size: 12px; padding: 7px 10px; border-left: 0; border-bottom: 2px solid transparent; }
  .account-nav-item.is-active { border-left-color: transparent; border-bottom-color: var(--accent); }
  .address-grid { grid-template-columns: 1fr; }
  .wishlist-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .wishlist-card-actions { flex-direction: column; gap: 6px; }
  .wishlist-card-actions .btn { width: 100%; font-size: 12px; padding: 8px; }

  /* Hero */
  .hero-home { height: auto; min-height: 260px; padding: 28px 16px 24px; }
  .hero-home-content .btn-row { flex-direction: column; gap: 8px; width: 100%; }
  .hero-home-content .btn-row .btn { width: 100%; justify-content: center; }
  .hero-home-content h1 { font-size: 26px; }

  /* Homepage */
  .home-products-grid, .home-categories, .home-benefits { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .home-product-name { font-size: 14px; }
  .home-product-body { padding: 10px 12px 12px; }
  .home-product-media { aspect-ratio: 1 / 1; }
  .home-cta-inner { padding: 36px 24px; }

  /* Pages statiques */
  .contact-layout { grid-template-columns: 1fr; }
  .faq-layout { grid-template-columns: 1fr; }
  .faq-nav { flex-direction: row; flex-wrap: wrap; gap: 6px; position: static; }
  .faq-nav-item { font-size: 12px; padding: 6px 10px; border-left: 0; border-bottom: 2px solid transparent; }
  .faq-nav-item.is-active { border-left-color: transparent; border-bottom-color: var(--accent); }
  .about-hero { padding: 48px 16px; margin: -16px -16px 0; }
  .about-section { padding: 48px 16px; }
  .about-commitment { flex-direction: column; gap: 12px; }
  .about-cta { padding: 48px 16px; }

  /* Footer */
  .footer-newsletter { flex-direction: column; align-items: flex-start; gap: 14px; padding: 16px; }
  .footer-newsletter-form { width: 100%; max-width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .footer-bottom { flex-direction: column; gap: 6px; font-size: 11px; }
}

/* Mobile 480px */
@media (max-width: 480px) {
  .header-top-inner { grid-template-columns: auto auto; grid-template-rows: auto auto; gap: 8px; }
  .brand        { grid-row: 1; grid-column: 1; }
  .header-icons { grid-row: 1; grid-column: 2; justify-self: end; }
  .header-search { grid-row: 2; grid-column: 1 / -1; max-width: none; width: 100%; }
  .catalog-grid { grid-template-columns: 1fr; }
  .catalog-product-media img, .catalog-product-placeholder { height: 220px; }
  .home-products-grid, .home-categories, .home-benefits { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { width: 100%; }
  .confirmation-actions { flex-direction: column; }
  .confirmation-actions .btn { width: 100%; }
  .checkout-step-sep { width: 24px; }
}

@media (max-width: 560px) {
  .checkout-steps { gap: 4px; }
  .legal-footer { flex-direction: column; align-items: start; }
}

/* =========================================================
   CART SUMMARY — RÉCAPITULATIF AMÉLIORÉ
========================================================= */

.cart-summary {
  position: sticky;
  top: 88px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.cart-summary-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}
.cart-summary-title {
  font-size: 17px;
  font-weight: 500;
  margin: 0;
}

/* Lignes produit miniatures */
.cart-summary-lines {
  padding: 12px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  max-height: 260px;
  overflow-y: auto;
}
.cart-summary-line {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cart-summary-line-img {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg);
}
.cart-summary-line-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-summary-line-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 16px; color: var(--muted);
}
.cart-summary-line-qty {
  position: absolute;
  top: -5px; right: -5px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--text); color: #fff;
  font-size: 9px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.cart-summary-line-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cart-summary-line-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-summary-line-variant {
  font-size: 11px;
  color: var(--accent);
}
.cart-summary-line-price {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Totaux */
.cart-summary-totals {
  padding: 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-bottom: 1px solid var(--line);
}
.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--muted);
}
.cart-summary-free     { color: #2f7a3a; font-weight: 600; font-size: 13px; }
.cart-summary-shipping { font-size: 13px; color: var(--muted); }

.cart-summary-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  border-bottom: 1px solid var(--line);
}

/* CTA */
.cart-cta { margin: 16px 20px 8px; width: calc(100% - 40px); }
.cart-continue-link {
  display: block;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  padding: 0 20px 14px;
  transition: color var(--transition);
}
.cart-continue-link:hover { color: var(--accent); }

/* Réassurance */
.cart-summary-reassurance {
  padding: 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.cart-summary-reassurance-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
}
.cart-reassurance-icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.cart-summary-reassurance-item strong { display: block; font-size: 12px; font-weight: 600; margin-bottom: 1px; }
.cart-summary-reassurance-item span  { font-size: 11px; color: var(--muted); }

/* =========================================================
   RECHERCHE — AUTOCOMPLETE
========================================================= */

.search-autocomplete {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 3000;
  overflow: hidden;
  display: none;
}

.search-autocomplete-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  transition: background var(--transition);
  color: var(--text);
}
.search-autocomplete-item:last-of-type { border-bottom: 0; }
.search-autocomplete-item:hover { background: var(--bg); }

.search-autocomplete-img {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg);
}
.search-autocomplete-img img { width: 100%; height: 100%; object-fit: cover; }
.search-autocomplete-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 16px; color: var(--muted);
}

.search-autocomplete-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.search-autocomplete-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-autocomplete-cat {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.search-autocomplete-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
  flex-shrink: 0;
}

.search-autocomplete-all {
  display: block;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--accent);
  background: var(--bg);
  border-top: 1px solid var(--line);
  transition: background var(--transition);
  text-align: center;
}
.search-autocomplete-all:hover { background: var(--accent-bg); color: var(--accent-d); }

/* Bannière résultats de recherche */
.search-results-banner {
  padding: 14px 0 18px;
  margin-bottom: 4px;
}
.search-results-title {
  font-size: 22px;
  font-weight: 400;
  margin: 0 0 4px;
}
.search-results-count {
  font-size: 14px;
  color: var(--muted);
}
.search-results-count strong { color: var(--accent); }
.search-no-results {
  text-align: center;
  padding: 60px 24px;
  max-width: 400px;
  margin: 0 auto;
}
.search-no-results h2 { font-size: 22px; font-weight: 400; margin-bottom: 10px; }
.search-no-results p  { color: var(--muted); margin-bottom: 24px; line-height: 1.7; }

/* =========================================================
   PRIX BARRÉ / PROMOTIONS
========================================================= */

/* Bloc prix avec promo */
.catalog-product-price-block {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.pd-price-block {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

/* Prix de vente en promo */
.price-sale { color: #b00020 !important; }

/* Prix barré */
.catalog-product-price-old {
  font-size: 14px;
  color: var(--muted);
  text-decoration: line-through;
  font-weight: 400;
}
.pd-price-old {
  font-size: 20px;
  color: var(--muted);
  text-decoration: line-through;
  font-weight: 400;
}

/* Badge réduction */
.catalog-discount-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(176,0,32,.10);
  color: #b00020;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid rgba(176,0,32,.20);
}
.pd-discount-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(176,0,32,.10);
  color: #b00020;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid rgba(176,0,32,.20);
}

/* =========================================================
   CORRECTIONS — CLASSES MANQUANTES
========================================================= */

/* Panier — barre livraison offerte */
.cart-free-shipping { margin-bottom: 20px; }
.cart-free-shipping-bar { height: 5px; background: var(--line); border-radius: 999px; overflow: hidden; margin-bottom: 8px; }
.cart-free-shipping-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--accent-d)); transition: width .5s ease; }
.cart-free-shipping-msg { font-size: 13px; color: var(--muted); margin: 0; }
.cart-free-shipping-ok  { color: #2f7a3a; font-weight: 500; }

/* Panier — structure principale */
.cart-main   { min-width: 0; }
.cart-header { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.cart-title  { font-size: clamp(24px, 3.5vw, 36px); font-weight: 400; margin: 0; }
.cart-footer-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.cart-continue { font-size: 14px; color: var(--muted); transition: color var(--transition); }
.cart-continue:hover { color: var(--accent); }

/* Panier vide */
.cart-empty-page { text-align: center; padding: 72px 24px; max-width: 400px; margin: 0 auto; }
.cart-empty-page .cart-empty-icon { font-size: 48px; margin-bottom: 20px; }
.cart-empty-page h1 { font-size: 26px; font-weight: 400; margin-bottom: 10px; }
.cart-empty-page p  { color: var(--muted); margin-bottom: 28px; line-height: 1.7; }

/* Fiche produit — note TTC */
.pd-price-ttc { font-size: 13px; color: var(--muted); }

/* Catalogue — état vide (alias) */
.catalog-empty-state { text-align: center; padding: 60px 24px; max-width: 400px; margin: 0 auto; }
.catalog-empty-state .catalog-empty-icon { font-size: 40px; margin-bottom: 16px; }
.catalog-empty-state h2 { font-size: 22px; font-weight: 400; margin-bottom: 10px; }
.catalog-empty-state p  { color: var(--muted); margin-bottom: 24px; line-height: 1.7; }

/* =========================================================
   MES COMMANDES — LISTE
========================================================= */

.orders-list { display: flex; flex-direction: column; gap: 12px; }

.order-card {
  display: flex;
  align-items: stretch;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
  text-decoration: none;
  color: var(--text);
}
.order-card:hover {
  box-shadow: var(--shadow);
  border-color: rgba(183,156,109,.3);
  transform: translateY(-2px);
}

/* Barre statut gauche */
.order-card-status-bar { width: 4px; flex-shrink: 0; }
.order-card-status-paid     .order-card-status-bar,
.order-card-status-bar.order-card-status-paid     { background: #2f7a3a; }
.order-card-status-shipped  .order-card-status-bar,
.order-card-status-bar.order-card-status-shipped  { background: #b79c6d; }
.order-card-status-cancelled .order-card-status-bar,
.order-card-status-bar.order-card-status-cancelled{ background: #b00020; }
.order-card-status-pending_payment .order-card-status-bar,
.order-card-status-bar.order-card-status-pending_payment { background: var(--line); }

.order-card-content { flex: 1; padding: 16px 18px; min-width: 0; }

.order-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.order-card-ref {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: .03em;
  color: var(--text);
}

.order-card-meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
}

/* Miniatures produits */
.order-card-thumbs { display: flex; gap: 6px; }
.order-card-thumb {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 14px; color: var(--muted);
  flex-shrink: 0;
}
.order-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.order-card-thumb-more {
  font-size: 12px; font-weight: 600; color: var(--muted);
  background: var(--bg); font-family: inherit;
}

.order-card-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  padding: 16px 18px;
  flex-shrink: 0;
}
.order-card-total { font-size: 18px; font-weight: 700; color: var(--text); }
.order-card-arrow { font-size: 20px; color: var(--muted); }

/* =========================================================
   DÉTAIL COMMANDE
========================================================= */

.order-detail-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.order-detail-ref {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 400;
  margin: 0 0 6px;
  letter-spacing: .04em;
}
.order-detail-date { font-size: 14px; color: var(--muted); margin: 0; }
.order-detail-badges { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.order-detail-total { font-size: 22px; font-weight: 700; color: var(--text); }

.order-detail-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 20px;
  align-items: start;
}
.order-detail-main { display: flex; flex-direction: column; gap: 0; }
.order-detail-aside { display: flex; flex-direction: column; gap: 0; position: sticky; top: 88px; }

/* Timeline */
.order-timeline { display: flex; flex-direction: column; gap: 0; padding: 8px 0; }
.order-timeline-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  position: relative;
  padding-bottom: 20px;
}
.order-timeline-item:last-child { padding-bottom: 0; }

.order-timeline-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: var(--panel);
  flex-shrink: 0;
  margin-top: 3px;
  position: relative;
  z-index: 1;
}
.order-timeline-item.done .order-timeline-dot {
  background: #2f7a3a;
  border-color: #2f7a3a;
}
.order-timeline-item.cancelled .order-timeline-dot {
  background: #b00020;
  border-color: #b00020;
}
.order-timeline-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 17px;
  bottom: 0;
  width: 2px;
  background: var(--line);
}
.order-timeline-item.done:not(:last-child)::after { background: #2f7a3a; }

.order-timeline-body { display: flex; flex-direction: column; gap: 3px; }
.order-timeline-body strong { font-size: 14px; font-weight: 600; }
.order-timeline-body span  { font-size: 13px; color: var(--muted); }
.order-timeline-pending  { color: var(--muted) !important; }
.order-timeline-cancelled{ color: #b00020 !important; }

/* Articles */
.order-items-list { display: flex; flex-direction: column; gap: 0; }
.order-item-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.order-item-row:last-child { border-bottom: 0; }

.order-item-media {
  width: 64px; height: 64px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg);
  flex-shrink: 0;
}
.order-item-media img { width: 100%; height: 100%; object-fit: cover; }
.order-item-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px; color: var(--muted);
}
.order-item-info { flex: 1; min-width: 0; }
.order-item-name { font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.order-item-name a { color: var(--text); }
.order-item-name a:hover { color: var(--accent); }
.order-item-meta { display: flex; gap: 12px; font-size: 13px; color: var(--muted); }
.order-item-total { font-size: 15px; font-weight: 700; color: var(--text); flex-shrink: 0; }

/* Total commande */
.order-total-row {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.order-total-line {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--muted);
}
.order-total-promo span:last-child { color: #2f7a3a; font-weight: 600; }
.order-total-final {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  padding-top: 8px;
  border-top: 1px solid var(--line);
  margin-top: 4px;
}

/* Adresse */
.order-address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}
.order-address strong { color: var(--text); font-size: 15px; }
.order-address a { color: var(--accent); font-size: 13px; }

/* Récap paiement */
.order-recap-rows { display: flex; flex-direction: column; gap: 0; }
.order-recap-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.order-recap-row:last-child { border-bottom: 0; }
.order-recap-row span:first-child { color: var(--muted); }

/* Responsive */
@media (max-width: 900px) {
  .order-detail-layout { grid-template-columns: 1fr; }
  .order-detail-aside { position: static; }
}
@media (max-width: 600px) {
  .order-card-meta { flex-direction: column; gap: 4px; }
  .order-card-thumbs { display: none; }
  .order-detail-header { flex-direction: column; gap: 12px; }
}

/* =========================================================
   MES COMMANDES — LISTE
========================================================= */

.orders-list { display: flex; flex-direction: column; gap: 12px; }

.order-card {
  display: flex;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  color: var(--text);
  text-decoration: none;
}
.order-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: rgba(183,156,109,.3); }

/* Barre colorée statut à gauche */
.order-card-status-bar { width: 4px; align-self: stretch; flex-shrink: 0; }
.order-card-status-paid          { background: #2f7a3a; }
.order-card-status-shipped       { background: #b79c6d; }
.order-card-status-pending_payment { background: var(--line); }
.order-card-status-cancelled     { background: #b00020; }

.order-card-content { flex: 1; padding: 16px 20px; min-width: 0; }
.order-card-top  { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.order-card-ref  { font-family: 'Playfair Display', Georgia, serif; font-size: 16px; font-weight: 500; letter-spacing: .04em; }
.order-card-meta { display: flex; gap: 16px; font-size: 13px; color: var(--muted); margin-bottom: 12px; }

/* Miniatures produits */
.order-card-thumbs { display: flex; gap: 6px; }
.order-card-thumb {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 14px; color: var(--muted);
  flex-shrink: 0;
}
.order-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.order-card-thumb-more { background: var(--bg); font-size: 12px; font-weight: 600; color: var(--muted); font-family: inherit; }

.order-card-right { padding: 16px 20px; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex-shrink: 0; }
.order-card-total { font-size: 17px; font-weight: 700; color: var(--text); }
.order-card-arrow { font-size: 20px; color: var(--muted); }

/* =========================================================
   DÉTAIL COMMANDE
========================================================= */

.order-detail-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.order-detail-ref  { font-size: clamp(24px, 4vw, 36px); font-weight: 400; margin: 0 0 6px; }
.order-detail-date { font-size: 14px; color: var(--muted); margin: 0; }
.order-detail-badges { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.order-detail-total { font-size: 22px; font-weight: 700; color: var(--text); }

.order-detail-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 20px;
  align-items: start;
}
.order-detail-main  { display: flex; flex-direction: column; gap: 16px; }
.order-detail-aside { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 16px; }

/* Timeline */
.order-timeline { display: flex; flex-direction: column; gap: 0; padding-top: 8px; }
.order-timeline-item { display: flex; gap: 14px; position: relative; padding-bottom: 20px; }
.order-timeline-item:last-child { padding-bottom: 0; }

.order-timeline-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: var(--panel);
  flex-shrink: 0;
  margin-top: 3px;
  position: relative;
  z-index: 1;
  transition: border-color var(--transition), background var(--transition);
}
.order-timeline-item.done .order-timeline-dot { border-color: #2f7a3a; background: #2f7a3a; }
.order-timeline-item.pending .order-timeline-dot { border-color: var(--line); background: var(--panel); }
.order-timeline-item.cancelled .order-timeline-dot { border-color: #b00020; background: #b00020; }

.order-timeline-line {
  position: absolute;
  left: 7px;
  top: 17px;
  bottom: 0;
  width: 2px;
  background: var(--line);
}
.order-timeline-item.done .order-timeline-line { background: #2f7a3a; }

.order-timeline-body { display: flex; flex-direction: column; gap: 2px; }
.order-timeline-body strong { font-size: 14px; font-weight: 600; color: var(--text); }
.order-timeline-body span { font-size: 13px; color: var(--muted); }
.order-timeline-pending   { color: var(--muted) !important; }
.order-timeline-cancelled { color: #b00020 !important; }

/* Articles commandés */
.order-items-list { display: flex; flex-direction: column; gap: 0; }
.order-item-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.order-item-row:last-child { border-bottom: 0; }
.order-item-media {
  width: 64px; height: 64px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg);
  overflow: hidden;
  flex-shrink: 0;
}
.order-item-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.order-item-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px; color: var(--muted);
}
.order-item-info { flex: 1; min-width: 0; }
.order-item-name { font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.order-item-name a { color: var(--text); transition: color var(--transition); }
.order-item-name a:hover { color: var(--accent); }
.order-item-meta { display: flex; gap: 12px; font-size: 13px; color: var(--muted); }
.order-item-total { font-size: 15px; font-weight: 700; color: var(--text); flex-shrink: 0; }

/* Totaux commande */
.order-total-row { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.order-total-line { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--muted); }
.order-total-promo { color: #2f7a3a; }
.order-total-final { font-size: 17px; font-weight: 700; color: var(--text); padding-top: 8px; border-top: 1px solid var(--line); }

/* Adresse */
.order-address { font-style: normal; display: flex; flex-direction: column; gap: 4px; font-size: 14px; line-height: 1.7; }
.order-address strong { color: var(--text); font-weight: 600; }
.order-address span, .order-address a { color: var(--muted); }
.order-address a:hover { color: var(--accent); }

/* Récapitulatif sidebar */
.order-recap-rows { display: flex; flex-direction: column; gap: 0; }
.order-recap-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.order-recap-row:last-child { border-bottom: 0; }
.order-recap-row span:first-child { color: var(--muted); }

/* Responsive */
@media (max-width: 900px) {
  .order-detail-layout { grid-template-columns: 1fr; }
  .order-detail-aside { position: static; }
}
@media (max-width: 600px) {
  .order-card-meta { flex-direction: column; gap: 4px; }
  .order-card-thumbs { display: none; }
  .order-detail-badges { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   LISTE COMMANDES — STYLE SIMPLE
========================================================= */
.order-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.order-row:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); transform: translateY(-1px); }

.order-row-left  { display: flex; align-items: center; gap: 20px; min-width: 0; }
.order-row-right { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }

.order-row-ref   { font-family: 'Playfair Display', Georgia, serif; font-size: 16px; font-weight: 500; letter-spacing: .04em; }
.order-row-date  { font-size: 13px; color: var(--muted); }
.order-row-items { font-size: 13px; color: var(--muted); }
.order-row-total { font-size: 15px; font-weight: 700; color: var(--text); }
.order-row-arrow { font-size: 16px; color: var(--muted); }

@media (max-width: 600px) {
  .order-row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .order-row-right { width: 100%; justify-content: space-between; }
  .order-row-date, .order-row-items { display: none; }
}

/* =========================================================
   NAVIGATION — STICKY + HAMBURGER + TIROIR MOBILE
========================================================= */

/* Sticky nav bar */
.header-nav-bar {
  position: sticky;
  top: var(--header-top-height, 69px);
  z-index: 900;
  background: rgba(250,248,245,.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}
.header-nav-bar::-webkit-scrollbar { display: none; }
.header-nav-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
}
.header-nav-links {
  display: flex;
  align-items: center;
  flex: 1;
}

/* Hamburger — caché sur desktop */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  transition: background var(--transition);
  flex-shrink: 0;
  margin-right: 8px;
}
.nav-hamburger:hover { background: var(--bg); }
.nav-hamburger span {
  display: block;
  width: 20px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
  transform-origin: center;
}
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Tiroir latéral */
.nav-drawer {
  position: fixed;
  top: 0; left: 0;
  width: 300px;
  height: 100vh;
  height: 100dvh;
  background: var(--panel);
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  box-shadow: 4px 0 24px rgba(0,0,0,.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.nav-drawer.is-open { transform: translateX(0); }

.nav-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}
.nav-drawer-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 17px;
  font-weight: 500;
  color: var(--text);
}
.nav-drawer-close {
  width: 32px; height: 32px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), color var(--transition);
}
.nav-drawer-close:hover { background: var(--panel); color: var(--text); }

.nav-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0;
}
.nav-drawer-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 20px;
  font-size: 15px;
  color: var(--text);
  border-bottom: 1px solid var(--line-2);
  transition: background var(--transition), color var(--transition);
  text-decoration: none;
}
.nav-drawer-item:hover { background: var(--bg); color: var(--accent); }
.nav-drawer-item.is-active { color: var(--accent); font-weight: 600; background: var(--accent-bg); }
.nav-drawer-arrow { font-size: 18px; color: var(--muted); }

/* Overlay */
.nav-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.nav-drawer-overlay.is-open { opacity: 1; visibility: visible; }

/* Mobile — afficher le hamburger, masquer les liens */
@media (max-width: 768px) {
  .nav-hamburger { display: flex; }
  .header-nav-links { display: none; }
  .header-nav-bar-inner { padding: 4px 16px; }
}

/* =========================================================
   TIROIR MOBILE — VERSION COMPLÈTE
========================================================= */

/* Header profil */
.nav-drawer-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 20px 18px 16px;
  background: linear-gradient(135deg, #1c1c1c 0%, #2d2820 100%);
  flex-shrink: 0;
}
.nav-drawer-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-drawer-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 18px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-drawer-profile-info { display: flex; flex-direction: column; gap: 2px; }
.nav-drawer-profile-name  { font-size: 15px; font-weight: 600; color: #fff; }
.nav-drawer-profile-email { font-size: 12px; color: rgba(255,255,255,.5); }

.nav-drawer-auth { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.nav-drawer-brand {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 18px; font-weight: 600;
  color: var(--accent);
}
.nav-drawer-auth-btns { display: flex; gap: 8px; }
.nav-drawer-btn-login {
  padding: 7px 14px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,.2);
  color: #fff; font-size: 13px; font-weight: 500;
  transition: background var(--transition);
}
.nav-drawer-btn-login:hover { background: rgba(255,255,255,.1); color: #fff; }
.nav-drawer-btn-signup {
  padding: 7px 14px; border-radius: 8px;
  background: var(--accent); color: #fff;
  font-size: 13px; font-weight: 600;
  transition: background var(--transition);
}
.nav-drawer-btn-signup:hover { background: var(--accent-d); color: #fff; }

.nav-drawer-close {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.7);
  font-size: 14px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-left: 10px;
  transition: background var(--transition);
}
.nav-drawer-close:hover { background: rgba(255,255,255,.2); color: #fff; }

/* Recherche */
.nav-drawer-search {
  padding: 12px 16px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.nav-drawer-search-form {
  display: flex; align-items: center; gap: 10px;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 10px; padding: 9px 14px;
  transition: border-color var(--transition);
}
.nav-drawer-search-form:focus-within { border-color: var(--accent); }
.nav-drawer-search-icon { font-size: 15px; flex-shrink: 0; }
.nav-drawer-search-input {
  flex: 1; border: none; background: transparent;
  font-size: 14px; color: var(--text); outline: none;
}
.nav-drawer-search-input::placeholder { color: var(--muted); }

/* Body */
.nav-drawer-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 8px 0;
  -webkit-overflow-scrolling: touch;
  min-height: 0;
}

.nav-drawer-section-title {
  padding: 12px 18px 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav-drawer-divider {
  height: 8px;
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 6px 0;
}

/* Items */
.nav-drawer-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  font-size: 15px;
  color: var(--text);
  border-bottom: 1px solid var(--line-2);
  transition: background var(--transition), color var(--transition);
  text-decoration: none;
}
.nav-drawer-item:hover { background: var(--bg); }
.nav-drawer-item.is-active {
  color: var(--accent);
  font-weight: 600;
  background: var(--accent-bg);
}
.nav-drawer-item-icon {
  font-size: 18px;
  width: 26px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--muted);
}
.nav-drawer-item.is-active .nav-drawer-item-icon { color: var(--accent); }
.nav-drawer-item:hover .nav-drawer-item-icon { color: var(--accent); }
.nav-drawer-item span:nth-child(2) { flex: 1; }
.nav-drawer-arrow { font-size: 16px; color: var(--muted); margin-left: auto; }
.nav-drawer-count {
  background: var(--accent);
  color: #fff;
  font-size: 11px; font-weight: 700;
  min-width: 18px; height: 18px;
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
}

/* Footer */
.nav-drawer-footer {
  padding: 14px 18px 28px;
  border-top: 1px solid var(--line);
  background: var(--bg);
  flex-shrink: 0;
  margin-top: auto;
}
.nav-drawer-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-bottom: 4px;
}
.nav-drawer-footer-links a {
  font-size: 13px;
  color: var(--muted);
  transition: color var(--transition);
}
.nav-drawer-footer-links a:hover { color: var(--accent); }
.nav-drawer-logout {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition);
  text-align: center;
}
.nav-drawer-logout:hover { color: #b00020; border-color: rgba(176,0,32,.25); }

/* =========================================================
   PAGE MON COMPTE — PROFIL REDESIGN
========================================================= */

.profile-page { padding-bottom: 72px; }

/* Hero */
.profile-hero {
  background: var(--text);
  border: 1px solid rgba(183,156,109,.2);
  border-radius: var(--radius-lg);
  margin: 0 0 24px;
  padding: 28px 32px;
}
.profile-hero-inner {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.profile-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--accent);
  color: #fff; font-family: 'Playfair Display', Georgia, serif;
  font-size: 24px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; border: 2px solid rgba(183,156,109,.4);
}
.profile-hero-info { flex: 1; min-width: 0; }
.profile-hero-greeting { font-size: 13px; color: rgba(255,255,255,.4); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; }
.profile-hero-name  { font-size: clamp(22px, 2.5vw, 32px); font-weight: 400; color: #fff; margin: 0 0 10px; font-family: 'Playfair Display', Georgia, serif; letter-spacing: .02em; }
.profile-hero-meta  { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.profile-hero-email { font-size: 13px; color: rgba(255,255,255,.5); }
.profile-hero-sep   { color: rgba(255,255,255,.2); }
.profile-hero-since { font-size: 13px; color: rgba(255,255,255,.35); }

.profile-hero-stats {
  display: flex; align-items: center; gap: 0;
  background: rgba(255,255,255,.06); border: 1px solid rgba(183,156,109,.2);
  border-radius: 10px; overflow: hidden;
}
.profile-stat { padding: 10px 20px; text-align: center; }
.profile-stat-value { display: block; font-size: 20px; font-weight: 700; color: var(--accent); line-height: 1; }
.profile-stat-label { display: block; font-size: 10px; color: rgba(255,255,255,.4); margin-top: 4px; text-transform: uppercase; letter-spacing: .08em; }
.profile-stat-sep { width: 1px; background: rgba(183,156,109,.2); align-self: stretch; }

/* Layout */
.profile-layout { display: grid; grid-template-columns: 220px 1fr; gap: 24px; margin-top: 28px; align-items: start; }

/* Sidebar nav */
.profile-sidebar { position: sticky; top: 88px; }
.profile-nav { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.profile-nav-item {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 18px; font-size: 14px; font-weight: 500;
  color: var(--muted); border-bottom: 1px solid var(--line);
  transition: background var(--transition), color var(--transition);
  text-decoration: none; cursor: pointer;
  background: transparent; border-left: none; border-right: none; border-top: none;
  width: 100%; text-align: left;
}
.profile-nav-item:last-child { border-bottom: 0; }
.profile-nav-item:hover { background: var(--bg); color: var(--text); }
.profile-nav-item.is-active { color: var(--accent); background: var(--accent-bg); font-weight: 600; }
.profile-nav-icon { font-size: 16px; width: 22px; text-align: center; flex-shrink: 0; }
.profile-nav-badge {
  margin-left: auto; background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 700; min-width: 20px; height: 20px;
  border-radius: 999px; display: flex; align-items: center; justify-content: center; padding: 0 5px;
}
.profile-nav-divider { height: 1px; background: var(--line); }
.profile-nav-logout { color: var(--muted) !important; }
.profile-nav-logout:hover { color: #b00020 !important; background: rgba(176,0,32,.04) !important; }

/* Cards */
.profile-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 16px; }
.profile-card-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.profile-card-header h2 { font-size: 16px; font-weight: 600; margin: 0; color: var(--text); }
.profile-card-link { font-size: 13px; color: var(--accent); font-weight: 500; transition: color var(--transition); }
.profile-card-link:hover { color: var(--accent-d); }

/* Infos grid */
.profile-info-grid { display: flex; flex-direction: column; }
.profile-info-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 20px; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.profile-info-row:last-child { border-bottom: 0; }
.profile-info-label { color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; flex-shrink: 0; }
.profile-info-value { color: var(--text); font-weight: 500; text-align: right; }
.profile-info-link { color: var(--accent); font-size: 13px; font-weight: 500; transition: color var(--transition); }
.profile-info-link:hover { color: var(--accent-d); }

/* Commandes */
.profile-orders { display: flex; flex-direction: column; }
.profile-order-row { display: flex; align-items: center; gap: 14px; padding: 14px 20px; border-bottom: 1px solid var(--line-2); transition: background var(--transition); text-decoration: none; color: var(--text); }
.profile-order-row:last-child { border-bottom: 0; }
.profile-order-row:hover { background: var(--bg); }

.profile-order-thumbs { display: flex; gap: 4px; flex-shrink: 0; }
.profile-order-thumb { width: 40px; height: 40px; border-radius: 8px; border: 1px solid var(--line); overflow: hidden; background: var(--bg); display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', Georgia, serif; font-size: 14px; color: var(--muted); }
.profile-order-thumb img { width: 100%; height: 100%; object-fit: cover; }

.profile-order-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.profile-order-ref   { font-family: 'Playfair Display', Georgia, serif; font-size: 14px; font-weight: 500; }
.profile-order-date  { font-size: 12px; color: var(--muted); }
.profile-order-items { font-size: 12px; color: var(--muted); }

.profile-order-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.profile-order-total { font-size: 14px; font-weight: 700; color: var(--text); }
.profile-order-arrow { font-size: 16px; color: var(--muted); }

/* Adresses */
.profile-addresses { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 16px 20px; }
.profile-address-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; position: relative; }
.profile-address-card.is-default { border-color: rgba(183,156,109,.4); background: var(--accent-bg); }
.profile-address-default-badge { position: absolute; top: 10px; right: 10px; background: var(--accent); color: #fff; font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 999px; }
.profile-address-label { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.profile-address-detail { font-size: 13px; line-height: 1.7; color: var(--text); }

/* Empty state */
.profile-empty { padding: 24px 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.profile-empty p { margin: 0; font-size: 14px; color: var(--muted); }

/* Main container */
.profile-main { display: flex; flex-direction: column; }

/* Responsive */
@media (max-width: 900px) {
  .profile-layout { grid-template-columns: 1fr; }
  .profile-sidebar { position: static; }
  .profile-nav { display: flex; flex-wrap: wrap; border-radius: var(--radius); }
  .profile-nav-item { border-bottom: 0; border-right: 1px solid var(--line); flex: 0 0 auto; padding: 10px 14px; font-size: 13px; }
  .profile-nav-divider { display: none; }
  .profile-addresses { grid-template-columns: 1fr; }
  .profile-hero-stats { width: 100%; }
}
@media (max-width: 600px) {
  .profile-hero { padding: 24px 16px 32px; }
  .profile-hero-inner { gap: 16px; }
  .profile-avatar { width: 56px; height: 56px; font-size: 22px; }
  .profile-hero-stats { display: none; }
  .profile-order-thumbs { display: none; }
}

/* =========================================================
   PAGINATION NUMÉROTÉE
========================================================= */
.catalog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.catalog-page-btn {
  min-width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  font-size: 14px; font-weight: 500;
  padding: 0 6px;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
  text-decoration: none;
  cursor: pointer;
}
.catalog-page-btn:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-bg); }
.catalog-page-btn.is-active { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 700; cursor: default; }
.catalog-page-btn.is-disabled { opacity: .35; cursor: not-allowed; pointer-events: none; }
.catalog-page-ellipsis { color: var(--muted); font-size: 14px; padding: 0 4px; line-height: 38px; }
.catalog-pagination-info { font-size: 13px; color: var(--muted); margin-left: 8px; white-space: nowrap; }

@media (max-width: 480px) {
  .catalog-pagination-info { display: none; }
  .catalog-page-btn { min-width: 34px; height: 34px; font-size: 13px; }
}

/* =========================================================
   FILTRE PRIX — DOUBLE SLIDER
========================================================= */
.catalog-price-form { display: flex; align-items: center; }
.catalog-price-filter { display: flex; align-items: center; gap: 12px; }

.catalog-price-range { display: flex; flex-direction: column; gap: 6px; min-width: 160px; }

.catalog-price-slider-wrap {
  position: relative;
  height: 20px;
  display: flex;
  align-items: center;
}
.catalog-price-track {
  position: absolute;
  left: 0; right: 0;
  height: 4px;
  background: var(--line);
  border-radius: 999px;
}
.catalog-price-fill {
  position: absolute;
  height: 100%;
  background: var(--accent);
  border-radius: 999px;
}
.catalog-range-input {
  position: absolute;
  width: 100%;
  height: 4px;
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
  pointer-events: none;
  outline: none;
  cursor: pointer;
}
.catalog-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
  pointer-events: all;
  cursor: grab;
  transition: transform .15s ease;
}
.catalog-range-input::-webkit-slider-thumb:active { transform: scale(1.2); cursor: grabbing; }
.catalog-range-input::-moz-range-thumb {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
  pointer-events: all;
  cursor: grab;
}
.catalog-price-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}

@media (max-width: 768px) {
  .catalog-price-form { display: none; }
}

/* =========================================================
   BARRE DE FILTRES — PILLS STYLE VINTED
========================================================= */

.filter-bar {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  background: var(--bg);
  position: sticky;
  top: 117px;
  z-index: 800;
  margin: 0 -16px;
  padding: 0 16px;
}
.filter-bar-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  overflow-x: auto;
  scrollbar-width: none;
  flex-wrap: nowrap;
}
.filter-bar-inner::-webkit-scrollbar { display: none; }

.filter-pill-group { position: static; flex-shrink: 0; }
.filter-pill-group-right { margin-left: auto; }

.filter-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--panel);
  color: var(--text);
  font-size: 13px; font-weight: 500;
  cursor: pointer; white-space: nowrap;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.filter-pill:hover { border-color: var(--accent); color: var(--accent); }
.filter-pill.is-active {
  border-color: var(--text);
  background: var(--text);
  color: #fff;
  font-weight: 600;
}

/* Dropdown — position fixed pour sortir du overflow */
.filter-dropdown { position: static; }
.filter-dropdown-menu {
  position: fixed;
  min-width: 220px;
  max-height: 360px;
  overflow-y: auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  padding: 6px;
  display: none;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.filter-dropdown-menu::-webkit-scrollbar { width: 4px; }
.filter-dropdown-menu::-webkit-scrollbar-track { background: transparent; }
.filter-dropdown-menu::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; }
.filter-dropdown-menu.is-open { display: block; }

.filter-dropdown-title {
  padding: 10px 12px 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  margin-bottom: 4px;
  position: sticky;
  top: 0;
  background: var(--panel);
}

.filter-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text);
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
  gap: 12px;
}
.filter-dropdown-item:hover { background: var(--bg); }
.filter-dropdown-item.is-active {
  color: var(--accent);
  font-weight: 600;
  background: var(--accent-bg);
}
.filter-dropdown-item.is-active::after {
  content: '✓';
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}
.filter-dropdown-sep {
  height: 1px;
  background: var(--line);
  margin: 4px 6px;
}

/* Compteur + effacer */
.filter-bar-count {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--muted);
  flex-shrink: 0; white-space: nowrap;
}
.filter-clear {
  font-size: 12px; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 5px 12px; background: var(--panel);
  transition: color var(--transition), border-color var(--transition);
}
.filter-clear:hover { color: #b00020; border-color: rgba(176,0,32,.3); }

@media (max-width: 768px) {
  .filter-bar { top: 108px; }
  .filter-bar-count { display: none; }
}

/* Prix barré homepage */
.home-product-price-block {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.home-product-price-old {
  font-size: 13px;
  color: var(--muted);
  text-decoration: line-through;
  font-weight: 400;
}

/* =========================================================
   GALERIE IMAGES PRODUIT
========================================================= */
#pd-main-img {
  transition: opacity .15s ease;
}
.pd-gallery {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.pd-gallery-thumb {
  width: 72px; height: 72px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--line);
  overflow: hidden;
  padding: 0;
  background: var(--bg);
  cursor: pointer;
  transition: border-color var(--transition), transform var(--transition);
  flex-shrink: 0;
}
.pd-gallery-thumb img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.pd-gallery-thumb:hover { border-color: var(--accent); transform: translateY(-1px); }
.pd-gallery-thumb.is-active { border-color: var(--accent); border-width: 2px; }

@media (max-width: 768px) {
  .pd-gallery-thumb { width: 56px; height: 56px; }
}

/* =========================================================
   HOMEPAGE REDESIGN
========================================================= */

/* ── Hero Slider ─────────────────────────────────────────── */
.hero-slider {
  position: relative;
  height: clamp(480px, 75vh, 720px);
  overflow: hidden;
}
.hero-slides { height: 100%; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity .8s ease;
  display: flex; align-items: center;
}
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,.3) 55%, transparent 100%);
}
.hero-slide-content {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto; padding: 0 48px;
  color: #fff;
}
.hero-slide-content h1 {
  font-size: clamp(36px, 5vw, 64px);
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400; line-height: 1.15;
  margin: 12px 0 16px; color: #fff;
}
.hero-slide-content p {
  font-size: clamp(14px, 1.5vw, 18px);
  color: rgba(255,255,255,.8); margin: 0 0 28px; line-height: 1.7;
}
.hero-outline {
  border-color: rgba(255,255,255,.6) !important;
  color: #fff !important;
  background: transparent !important;
}
.hero-outline:hover { border-color: #fff !important; background: rgba(255,255,255,.1) !important; }

/* Contrôles */
.hero-prev, .hero-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 10; background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3); color: #fff;
  width: 44px; height: 44px; border-radius: 50%;
  font-size: 22px; cursor: pointer;
  transition: background var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.hero-prev { left: 20px; }
.hero-next { right: 20px; }
.hero-prev:hover, .hero-next:hover { background: rgba(255,255,255,.3); }

/* Dots */
.hero-dots {
  position: absolute; bottom: 56px; left: 50%;
  transform: translateX(-50%); z-index: 10;
  display: flex; gap: 8px;
}
.hero-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.4); border: none; cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.hero-dot.is-active { background: #fff; transform: scale(1.3); }

/* Trust bar */
.hero-trust-bar {
  position: absolute; bottom: 0; left: 0; right: 0;
  z-index: 10; background: rgba(0,0,0,.5);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  gap: clamp(16px, 4vw, 48px); padding: 12px 24px;
  font-size: 13px; color: rgba(255,255,255,.85);
  font-weight: 500; letter-spacing: .04em;
}

@media (max-width: 600px) {
  .hero-slide-content { padding: 0 20px; }
  .hero-trust-bar span:nth-child(3), .hero-trust-bar span:nth-child(4) { display: none; }
}

/* ── Bannière promo ──────────────────────────────────────── */
.promo-banner {
  background: var(--text);
  padding: 36px 24px;
  margin: 32px 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.promo-banner-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto auto;
  gap: 32px; align-items: center;
}
.promo-banner-label {
  display: inline-block; font-size: 12px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 10px;
}
.promo-banner-title {
  font-size: clamp(20px, 2.5vw, 30px); color: #fff;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400; margin: 0 0 8px;
}
.promo-banner-sub { font-size: 14px; color: rgba(255,255,255,.5); margin: 0 0 20px; }

/* Countdown */
.promo-countdown-label { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.4); margin-bottom: 10px; }
.promo-countdown { display: flex; align-items: center; gap: 6px; }
.countdown-block {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px; padding: 10px 14px; text-align: center; min-width: 56px;
}
.countdown-val { display: block; font-size: 28px; font-weight: 700; color: var(--accent); line-height: 1; }
.countdown-unit { font-size: 10px; text-transform: uppercase; color: rgba(255,255,255,.4); letter-spacing: .08em; }
.countdown-sep { font-size: 24px; font-weight: 700; color: var(--accent); }

/* Mini produits promo */
.promo-banner-products { display: flex; gap: 8px; }
.promo-mini-card {
  width: 72px; height: 72px; border-radius: var(--radius-sm);
  overflow: hidden; position: relative; flex-shrink: 0;
  border: 1px solid rgba(255,255,255,.1);
}
.promo-mini-card img { width: 100%; height: 100%; object-fit: cover; }
.promo-mini-badge {
  position: absolute; bottom: 3px; right: 3px;
  background: #e53935; color: #fff;
  font-size: 9px; font-weight: 700; padding: 2px 5px; border-radius: 4px;
}

@media (max-width: 900px) {
  .promo-banner-inner { grid-template-columns: 1fr; }
  .promo-banner-products { display: none; }
}

/* ── Catégories avec images ──────────────────────────────── */
.home-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.home-cat-card {
  position: relative; border-radius: var(--radius-lg);
  overflow: hidden; aspect-ratio: 3/4;
  display: flex; align-items: flex-end;
  text-decoration: none;
}
.home-cat-bg { position: absolute; inset: 0; }
.home-cat-bg img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.home-cat-placeholder { width: 100%; height: 100%; background: var(--line); }
.home-cat-card:hover .home-cat-bg img { transform: scale(1.05); }
.home-cat-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, rgba(0,0,0,.1) 60%, transparent 100%);
}
.home-cat-info {
  position: relative; z-index: 1;
  padding: 16px; width: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.home-cat-name { font-size: 15px; font-weight: 600; color: #fff; letter-spacing: .02em; }
.home-cat-arrow { color: rgba(255,255,255,.7); font-size: 18px; transition: transform var(--transition); }
.home-cat-card:hover .home-cat-arrow { transform: translateX(4px); }

@media (max-width: 900px) { .home-cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .home-cat-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } }

/* ── Témoignages ─────────────────────────────────────────── */
.home-reviews-section { background: var(--bg); }
.home-reviews-rating { display: flex; align-items: center; gap: 8px; }
.home-reviews-stars { color: var(--accent); font-size: 18px; letter-spacing: 2px; }
.home-reviews-score { font-size: 14px; font-weight: 600; color: var(--text); }

.home-reviews-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.home-review-card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 20px;
  display: flex; flex-direction: column; gap: 12px;
}
.home-review-header { display: flex; align-items: flex-start; gap: 12px; }
.home-review-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent); color: #fff;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 16px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.home-review-author { font-size: 14px; font-weight: 600; color: var(--text); }
.home-review-stars { font-size: 13px; margin-top: 2px; }
.home-review-product {
  margin-left: auto; font-size: 11px; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; padding: 3px 8px;
  white-space: nowrap; flex-shrink: 0;
}
.home-review-title { font-size: 14px; font-weight: 600; color: var(--text); }
.home-review-body { font-size: 14px; color: var(--muted); line-height: 1.7; flex: 1; margin: 0; }
.home-review-footer { display: flex; align-items: center; justify-content: space-between; }
.home-review-date { font-size: 12px; color: var(--muted); }
.home-review-verified { font-size: 11px; color: #2f7a3a; font-weight: 600; }

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

/* =========================================================
   SYSTÈME DE RETOURS
========================================================= */
.return-item-row {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 20px; border-bottom: 1px solid var(--line-2);
  cursor: pointer; transition: background var(--transition);
}
.return-item-row:last-child { border-bottom: 0; }
.return-item-row:hover { background: var(--bg); }
.return-item-info { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.return-item-thumb { width: 48px; height: 48px; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--line); flex-shrink: 0; }
.return-item-thumb-placeholder {
  width: 48px; height: 48px; background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', Georgia, serif; color: var(--muted); font-size: 18px; flex-shrink: 0;
}