/* ============================================================
   DRESSBYLINA - Design System
   Aesthetic: Luxury Editorial — Champagne, Noir & Rose Doré
   ============================================================ */

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

:root {
  --champagne: #F5EDD8;
  --champagne-dark: #E8D8B4;
  --noir: #0D0D0D;
  --noir-soft: #1A1A1A;
  --rose-dore: #C9956C;
  --rose-pale: #F2D6C6;
  --gris: #8C8C8C;
  --gris-light: #F7F5F2;
  --blanc: #FEFEFE;
  --success: #2E7D52;
  --error: #C0392B;
  --warning: #D4860A;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', 'Helvetica Neue', sans-serif;

  --shadow-soft: 0 2px 20px rgba(0,0,0,0.06);
  --shadow-medium: 0 8px 40px rgba(0,0,0,0.10);
  --shadow-strong: 0 20px 60px rgba(0,0,0,0.15);
  --radius: 2px;
  --radius-sm: 1px;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--blanc);
  color: var(--noir);
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
ul { list-style: none; }
button { cursor: pointer; }
input, textarea, select { font-family: var(--font-body); }

/* ---- LAYOUT ---- */
.container { max-width: 1380px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 900px; margin: 0 auto; padding: 0 24px; }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }

.label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gris);
}

/* ---- HEADER ---- */
/* ---- ANCIEN HEADER SUPPRIMÉ — voir section HEADER MOBILE en bas ---- */
.site-header { }
.header-top { }
.header-main { }
.header-logo { }
.header-logo a { }
.header-logo span { }
.header-actions { }
.header-nav { display: none; }
.icon-btn { background: none; border: none; cursor: pointer; display: flex; align-items: center; color: var(--noir); text-decoration: none; position: relative; padding: 4px; transition: color .2s; }
.icon-btn:hover { color: var(--rose-dore); }
.cart-badge { position: absolute; top: -6px; right: -6px; background: var(--rose-dore); color: #fff; width: 18px; height: 18px; border-radius: 50%; font-size: .68rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.nav-wrapper { display: none; }
.main-nav { display: none; }

/* ---- HERO SECTION ---- */
.hero {
  background: linear-gradient(135deg, var(--champagne) 0%, var(--rose-pale) 50%, var(--champagne-dark) 100%);
  min-height: 85vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 50%, rgba(201,149,108,0.15) 0%, transparent 60%);
}

.hero-content {
  padding: 60px 80px;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--rose-dore);
  margin-bottom: 24px;
  font-weight: 500;
}

.hero h1 {
  color: var(--noir);
  margin-bottom: 24px;
  font-style: italic;
  font-weight: 300;
}

.hero p {
  font-size: 1rem;
  color: var(--gris);
  max-width: 400px;
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-image {
  height: 85vh;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.btn:hover::before { transform: scaleX(1); }

.btn-primary {
  background: var(--noir);
  color: var(--blanc);
}

.btn-primary:hover {
  background: var(--noir-soft);
  transform: translateY(-1px);
  box-shadow: var(--shadow-medium);
}

.btn-gold {
  background: var(--rose-dore);
  color: var(--blanc);
}

.btn-gold:hover {
  background: #b8845a;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--noir);
  border: 1px solid var(--noir);
}

.btn-outline:hover {
  background: var(--noir);
  color: var(--blanc);
}

.btn-outline-gold {
  background: transparent;
  color: var(--rose-dore);
  border: 1px solid var(--rose-dore);
}

.btn-outline-gold:hover {
  background: var(--rose-dore);
  color: var(--blanc);
}

.btn-sm { padding: 9px 22px; font-size: 0.67rem; }
.btn-lg { padding: 18px 48px; font-size: 0.78rem; }
.btn-full { width: 100%; justify-content: center; }

/* ---- SECTION TITLES ---- */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  margin-bottom: 12px;
  font-style: italic;
}

.section-header p {
  color: var(--gris);
  max-width: 500px;
  margin: 0 auto;
}

.section-divider {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 12px auto;
  max-width: 200px;
}

.section-divider::before, .section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--rose-dore);
}

.section-divider span { color: var(--rose-dore); font-size: 1rem; }

/* ---- PRODUCT GRID ---- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
}

.product-card {
  position: relative;
  group: true;
}

.product-card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--gris-light);
  margin-bottom: 16px;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-card__image img {
  transform: scale(1.05);
}

.product-card__badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 2;
}

.badge {
  padding: 3px 10px;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: var(--radius-sm);
}

.badge-new { background: var(--noir); color: var(--blanc); }
.badge-promo { background: var(--rose-dore); color: var(--blanc); }
.badge-sale { background: var(--error); color: var(--blanc); }

.product-card__actions {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  gap: 1px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.product-card:hover .product-card__actions {
  transform: translateY(0);
}

.product-card__actions button {
  flex: 1;
  padding: 12px;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
  font-weight: 500;
}

.product-card__actions .btn-cart {
  background: var(--noir);
  color: var(--blanc);
  flex: 2;
}

.product-card__actions .btn-wish {
  background: var(--blanc);
  color: var(--noir);
}

.product-card__actions button:hover {
  opacity: 0.85;
}

.product-card__info { padding: 0 4px; }

.product-card__category {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gris);
  margin-bottom: 4px;
}

.product-card__name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-weight: 400;
}

.product-card__name a:hover { color: var(--rose-dore); }

.product-card__price {
  display: flex;
  align-items: center;
  gap: 10px;
}

.price-current {
  font-size: 1rem;
  font-weight: 500;
  color: var(--noir);
}

.price-old {
  font-size: 0.85rem;
  text-decoration: line-through;
  color: var(--gris);
}

.price-current.is-promo { color: var(--rose-dore); }

/* ---- CATEGORY SECTION ---- */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.category-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  display: block;
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.category-card:hover img { transform: scale(1.06); }

.category-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 28px 24px;
}

.category-card__name {
  color: var(--blanc);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 300;
  font-style: italic;
}

/* ---- BANNER ---- */
.banner {
  background: var(--champagne);
  padding: 80px 0;
}

.banner-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* ---- FEATURES BAR ---- */
.features-bar {
  background: var(--gris-light);
  padding: 40px 0;
  border-top: 1px solid rgba(0,0,0,0.05);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--blanc);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-soft);
  flex-shrink: 0;
}

.feature-item h4 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.feature-item p {
  font-size: 0.75rem;
  color: var(--gris);
}

/* ---- BREADCRUMB ---- */
.breadcrumb {
  padding: 16px 0;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: var(--gris);
}

.breadcrumb a:hover { color: var(--rose-dore); }
.breadcrumb span { margin: 0 8px; }

/* ---- FILTERS & SHOP ---- */
.shop-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  padding: 40px 0;
}

.filter-sidebar h3 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.filter-group { margin-bottom: 28px; }

.filter-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  font-size: 0.88rem;
}

.filter-item input { accent-color: var(--rose-dore); }

/* ---- PRODUCT PAGE ---- */
.product-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 40px 0 80px;
}

.product-gallery__main {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--gris-light);
}

.product-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 8px;
}

.product-gallery__thumbs img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  cursor: pointer;
  transition: opacity 0.2s;
}

.product-gallery__thumbs img:hover { opacity: 0.75; }

.product-info { padding-top: 20px; }

.product-info__brand {
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--rose-dore);
  margin-bottom: 10px;
}

.product-info h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 16px;
  font-style: italic;
}

.product-info__price {
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 24px;
  color: var(--noir);
  display: flex;
  align-items: center;
  gap: 16px;
}

.product-info__ref {
  font-size: 0.72rem;
  color: var(--gris);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

.product-info__tva {
  font-size: 0.7rem;
  color: var(--gris);
  margin-top: -16px;
  margin-bottom: 24px;
}

.size-selector { margin-bottom: 24px; }

.size-selector label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 12px;
  font-weight: 500;
}

.size-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.size-btn {
  min-width: 44px;
  height: 44px;
  border: 1px solid rgba(0,0,0,0.15);
  background: var(--blanc);
  font-family: var(--font-body);
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition);
  border-radius: var(--radius-sm);
  padding: 0 10px;
}

.size-btn:hover, .size-btn.active {
  background: var(--noir);
  color: var(--blanc);
  border-color: var(--noir);
}

.product-add {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: var(--radius);
}

.qty-control button {
  width: 44px;
  height: 50px;
  border: none;
  background: none;
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
}

.qty-control button:hover { background: var(--gris-light); }

.qty-control input {
  width: 56px;
  height: 50px;
  border: none;
  border-left: 1px solid rgba(0,0,0,0.1);
  border-right: 1px solid rgba(0,0,0,0.1);
  text-align: center;
  font-size: 1rem;
  font-family: var(--font-body);
  outline: none;
}

/* ---- ACCORDION ---- */
.accordion {
  border-top: 1px solid rgba(0,0,0,0.08);
  margin-top: 32px;
}

.accordion-item {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  cursor: pointer;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}

.accordion-header span { transition: transform 0.3s; }
.accordion-header.open span { transform: rotate(45deg); }

.accordion-body {
  padding-bottom: 20px;
  font-size: 0.9rem;
  color: var(--gris);
  line-height: 1.8;
  display: none;
}

.accordion-body.open { display: block; }

/* ---- CART ---- */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  padding: 40px 0 80px;
}

.cart-item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  align-items: start;
}

.cart-item__image {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--gris-light);
}

.cart-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-summary {
  background: var(--gris-light);
  padding: 32px;
  height: fit-content;
  position: sticky;
  top: 100px;
}

.cart-summary h3 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.cart-summary-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.cart-summary-line.total {
  font-weight: 600;
  font-size: 1.1rem;
  padding-top: 16px;
  margin-top: 8px;
  border-top: 1px solid rgba(0,0,0,0.08);
}

/* ---- FORMS ---- */
.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--noir);
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--noir);
  background: var(--blanc);
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--rose-dore);
  box-shadow: 0 0 0 3px rgba(201,149,108,0.12);
}

.form-control::placeholder { color: #aaa; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.form-check input { accent-color: var(--rose-dore); margin-top: 3px; }
.form-check label { font-size: 0.85rem; text-transform: none; letter-spacing: 0; color: var(--gris); }

/* ---- CHECKOUT ---- */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  padding: 40px 0 80px;
}

.checkout-section {
  background: var(--blanc);
  border: 1px solid rgba(0,0,0,0.07);
  padding: 32px;
  margin-bottom: 24px;
  border-radius: var(--radius);
}

.checkout-section h2 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.checkout-section h2 .step-num {
  width: 28px;
  height: 28px;
  background: var(--noir);
  color: var(--blanc);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.payment-method-option {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  border: 1px solid rgba(0,0,0,0.1);
  cursor: pointer;
  transition: var(--transition);
  border-radius: var(--radius);
}

.payment-method-option:has(input:checked) {
  border-color: var(--rose-dore);
  background: rgba(201,149,108,0.04);
}

.payment-method-option input { accent-color: var(--rose-dore); margin-top: 2px; }

.payment-method-info h4 {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 4px;
}

.payment-method-info p { font-size: 0.8rem; color: var(--gris); }

.shipping-options { display: flex; flex-direction: column; gap: 10px; }

.shipping-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border: 1px solid rgba(0,0,0,0.1);
  cursor: pointer;
  transition: var(--transition);
  border-radius: var(--radius);
}

.shipping-option:has(input:checked) {
  border-color: var(--rose-dore);
  background: rgba(201,149,108,0.04);
}

.shipping-option input { accent-color: var(--rose-dore); }

.shipping-option-info { flex: 1; }
.shipping-option-info h4 { font-size: 0.9rem; font-weight: 500; font-family: var(--font-body); }
.shipping-option-info p { font-size: 0.78rem; color: var(--gris); }
.shipping-option-price { font-weight: 600; font-size: 0.95rem; }

/* ---- FLASH MESSAGES ---- */
.flash {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  margin-bottom: 20px;
  border-radius: var(--radius);
  font-size: 0.88rem;
}

.flash-success { background: #d4edda; color: #155724; border-left: 3px solid var(--success); }
.flash-error { background: #f8d7da; color: #721c24; border-left: 3px solid var(--error); }
.flash-warning { background: #fff3cd; color: #856404; border-left: 3px solid var(--warning); }
.flash-info { background: #d1ecf1; color: #0c5460; border-left: 3px solid #17a2b8; }

/* ---- PAGINATION ---- */
.pagination {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 48px;
}

.page-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0,0,0,0.12);
  font-size: 0.85rem;
  transition: var(--transition);
  cursor: pointer;
}

.page-btn:hover, .page-btn.active {
  background: var(--noir);
  color: var(--blanc);
  border-color: var(--noir);
}

/* ---- FOOTER ---- */
.site-footer {
  background: var(--noir);
  color: rgba(255,255,255,0.65);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand .logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--blanc);
  letter-spacing: 0.15em;
  display: block;
  margin-bottom: 20px;
}

.footer-brand p { font-size: 0.85rem; line-height: 1.8; max-width: 280px; }

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--blanc);
  font-weight: 600;
  margin-bottom: 24px;
}

.footer-col a {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--rose-dore); }

.footer-bottom {
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  opacity: 0.6;
}

.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--rose-dore);
  border-color: var(--rose-dore);
  color: white;
}

.newsletter-form {
  display: flex;
  gap: 0;
  margin-top: 16px;
}

.newsletter-form input {
  flex: 1;
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05);
  color: var(--blanc);
  font-size: 0.82rem;
  font-family: var(--font-body);
  outline: none;
}

.newsletter-form input::placeholder { color: rgba(255,255,255,0.35); }

.newsletter-form button {
  padding: 10px 18px;
  background: var(--rose-dore);
  border: none;
  color: var(--blanc);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 500;
  transition: var(--transition);
}

.newsletter-form button:hover { background: #b8845a; }

/* ---- ACCOUNT ---- */
.account-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  padding: 40px 0 80px;
}

.account-nav li {
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.account-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

.account-nav a:hover, .account-nav a.active { color: var(--rose-dore); }

/* ---- STARS ---- */
.stars { color: var(--rose-dore); font-size: 0.9rem; letter-spacing: 2px; }

/* ---- NO IMAGE PLACEHOLDER ---- */
.no-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--champagne) 0%, var(--rose-pale) 100%);
  color: var(--rose-dore);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  text-align: center;
  padding: 20px;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-image { height: 350px; }
  .hero-content { padding: 40px 24px; }
  .product-page { grid-template-columns: 1fr; gap: 40px; }
  .shop-layout { grid-template-columns: 1fr; }
  .filter-sidebar { display: none; }
  .cart-layout { grid-template-columns: 1fr; }
  .checkout-layout { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .banner-inner { grid-template-columns: 1fr; }
  /* old header rules removed */
}

@media (max-width: 600px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .account-layout { grid-template-columns: 1fr; }
}

/* ---- PAGE SECTIONS ---- */
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 100px 0; }

/* ---- ORDER STATUS BADGES ---- */
.order-status {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

/* ---- COUPON INPUT ---- */
.coupon-form {
  display: flex;
  gap: 8px;
  margin: 16px 0;
}

.coupon-form input {
  flex: 1;
  padding: 10px 14px;
  border: 1px dashed rgba(0,0,0,0.2);
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  outline: none;
}

.coupon-form input:focus { border-color: var(--rose-dore); }

/* ---- TABLE ---- */
.table {
  width: 100%;
  border-collapse: collapse;
}

.table th {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 12px 16px;
  text-align: left;
  border-bottom: 2px solid rgba(0,0,0,0.08);
  background: var(--gris-light);
}

.table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  font-size: 0.88rem;
  vertical-align: middle;
}

.table tr:hover td { background: rgba(0,0,0,0.01); }

/* ---- CARD ---- */
.card {
  background: var(--blanc);
  border: 1px solid rgba(0,0,0,0.07);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

/* ---- MOBILE MENU ---- */
/* mobile-menu-btn removed */

@media (max-width: 900px) {
  /* old mobile-menu-btn removed */
}

/* ---- LOADER ---- */
.loader {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(0,0,0,0.1);
  border-top-color: var(--rose-dore);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ---- OVERLAY ---- */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.overlay.open { opacity: 1; pointer-events: all; }

/* Misc */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-gold { color: var(--rose-dore); }
.text-gris { color: var(--gris); }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; } .mb-32 { margin-bottom: 32px; }
.hidden { display: none !important; }
.d-flex { display: flex; } .gap-8 { gap: 8px; } .gap-16 { gap: 16px; } .gap-24 { gap: 24px; }
.align-center { align-items: center; } .justify-between { justify-content: space-between; }
.fw-500 { font-weight: 500; } .fw-600 { font-weight: 600; }

/* ============================================================
   RESPONSIVE COMPLET — PC / TABLETTE / MOBILE
   ============================================================ */

/* ─── Checkout nouveau design ──────────────────────────────── */
.checkout-container { padding: 40px 20px 80px; }
.checkout-title { font-size: clamp(1.6rem, 3vw, 2.4rem); font-style: italic; margin-bottom: 32px; }
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
.checkout-form-col { display: flex; flex-direction: column; gap: 0; }
.checkout-section { background: #fff; border: 1px solid rgba(0,0,0,.07); border-radius: var(--radius); padding: 28px 32px; margin-bottom: 24px; }
.checkout-section h2 { font-size: 1rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 24px; display: flex; align-items: center; gap: 12px; }
.step-num { width: 28px; height: 28px; border-radius: 50%; background: var(--noir); color: #fff; display: flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 700; flex-shrink: 0; }
.two-col-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Shipping options */
.shipping-options { display: flex; flex-direction: column; gap: 10px; }
.shipping-option { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border: 1.5px solid rgba(0,0,0,.1); border-radius: 10px; cursor: pointer; transition: border-color .2s, background .2s; }
.shipping-option:has(input:checked) { border-color: var(--rose-dore); background: rgba(201,169,110,.05); }
.shipping-option input { accent-color: var(--rose-dore); width: 18px; height: 18px; flex-shrink: 0; }
.shipping-option-info { flex: 1; }
.shipping-option-name { font-size: .9rem; font-weight: 500; margin-bottom: 2px; }
.shipping-option-price { font-weight: 700; font-size: .95rem; white-space: nowrap; }

/* Payment options */
.payment-methods { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.payment-option { display: block; border: 1.5px solid rgba(0,0,0,.1); border-radius: 10px; overflow: hidden; cursor: pointer; transition: border-color .2s; }
.payment-option:has(input:checked) { border-color: var(--rose-dore); }
.payment-option input { display: none; }
.payment-option-body { padding: 16px 20px; }
.payment-option-header { display: flex; align-items: center; justify-content: space-between; font-weight: 600; font-size: .95rem; }
.card-logos { display: flex; gap: 6px; align-items: center; }
.payment-detail-box { margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(0,0,0,.06); }

/* CGV */
.cgv-label { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; cursor: pointer; font-size: .85rem; color: var(--gris); }
.cgv-label input { accent-color: var(--rose-dore); width: 16px; height: 16px; flex-shrink: 0; }
.cgv-label a { color: var(--rose-dore); }

/* Summary sidebar */
.checkout-summary { background: var(--champagne); border-radius: var(--radius); padding: 28px; position: sticky; top: 100px; }
.checkout-summary h3 { font-size: 1rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 20px; }
.summary-items { display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }
.summary-item { display: flex; align-items: center; gap: 12px; }
.summary-item-img { position: relative; width: 56px; height: 72px; border-radius: 6px; overflow: hidden; flex-shrink: 0; }
.summary-item-img img { width: 100%; height: 100%; object-fit: cover; }
.summary-item-qty { position: absolute; top: -6px; right: -6px; background: var(--noir); color: #fff; width: 20px; height: 20px; border-radius: 50%; font-size: .7rem; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.summary-item-info { flex: 1; min-width: 0; }
.summary-item-info span { display: block; font-size: .85rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.summary-item-info small { color: var(--gris); font-size: .75rem; }
.summary-item-price { font-weight: 600; font-size: .9rem; white-space: nowrap; }
.summary-coupon { border-top: 1px solid rgba(0,0,0,.08); padding-top: 16px; margin-bottom: 16px; }
.coupon-input-row { display: flex; gap: 8px; }
.coupon-input-row .form-control { font-size: .85rem; }
.coupon-applied { background: rgba(25,135,84,.1); border: 1px solid rgba(25,135,84,.2); padding: 10px 14px; border-radius: 8px; font-size: .85rem; display: flex; align-items: center; justify-content: space-between; }
.remove-coupon { color: #c0392b; text-decoration: none; font-weight: 700; }
.summary-totals { border-top: 1px solid rgba(0,0,0,.08); padding-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.summary-row { display: flex; justify-content: space-between; font-size: .88rem; color: var(--gris); }
.discount-row { color: var(--rose-dore); }
.total-row { font-size: 1.1rem; font-weight: 700; color: var(--noir); border-top: 1px solid rgba(0,0,0,.1); padding-top: 12px; margin-top: 4px; }
.summary-secure { text-align: center; font-size: .75rem; color: var(--gris); margin-top: 16px; }

/* ─── Boutons globaux ──────────────────────────────────────── */
.btn-full { width: 100%; text-align: center; }
.btn-sm { padding: 8px 16px; font-size: .8rem; }

/* ─── RESPONSIVE TABLETTE (768px - 1024px) ─────────────────── */
@media (max-width: 1024px) {
  .checkout-layout { grid-template-columns: 1fr 320px; gap: 28px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .hero { gap: 0; }
}

/* ─── RESPONSIVE MOBILE & TABLETTE PORTRAIT (< 768px) ─────── */
@media (max-width: 768px) {
  /* Layout */
  .container { padding: 0 16px; }
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-summary { position: static; order: -1; margin-bottom: 24px; }
  .two-col-grid { grid-template-columns: 1fr; }

  /* Header */
  /* old header responsive removed */

  /* Hero */
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-content { padding: 40px 20px; text-align: center; }
  .hero-content h1 { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-image { height: 280px; order: -1; }
  .hero-actions { justify-content: center; }

  /* Grilles */
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .features-grid { grid-template-columns: 1fr 1fr; gap: 16px; }

  /* Catalogue */
  .shop-layout { grid-template-columns: 1fr; }
  .filter-sidebar { display: none; }
  .shop-toolbar { flex-wrap: wrap; gap: 10px; }
  .filter-toggle-btn { display: flex; }

  /* Fiche produit */
  .product-page { grid-template-columns: 1fr; gap: 32px; }
  .product-gallery { position: static; }
  .product-gallery-main { height: 380px; }
  .product-gallery-thumbs { gap: 8px; }

  /* Panier */
  .cart-layout { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 80px 1fr; gap: 14px; }
  .cart-item-image { width: 80px; height: 100px; }
  .cart-item-qty-actions { flex-direction: row; align-items: center; gap: 12px; }

  /* Compte */
  .account-grid { grid-template-columns: 1fr; }
  .account-nav { position: static; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  /* Checkout */
  .checkout-section { padding: 20px 18px; }
  .checkout-title { font-size: 1.5rem; }
}

/* ─── RESPONSIVE TRÈS PETIT MOBILE (< 480px) ───────────────── */
@media (max-width: 480px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-card__image { aspect-ratio: 3/4; }
  .product-card__name { font-size: .85rem; }
  .product-card__price { font-size: .9rem; }
  .categories-grid { grid-template-columns: 1fr 1fr; }
  .category-card { height: 150px; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-image { height: 220px; }

  /* Panier simplifié */
  .cart-table thead { display: none; }
  .cart-table tbody tr { display: grid; grid-template-columns: 70px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid rgba(0,0,0,.06); }
  .cart-table td { border: none; padding: 0; font-size: .82rem; }

  /* Checkout compact */
  .checkout-container { padding: 20px 14px 60px; }
  .payment-option-header { font-size: .85rem; }
  .shipping-option { padding: 12px 14px; }
  .summary-item-img { width: 44px; height: 56px; }
}

/* ─── TOUCH & HOVER fixes ──────────────────────────────────── */
@media (hover: none) {
  .product-card:hover { transform: none; }
  .btn:hover { opacity: 1; }
  .product-card__actions { opacity: 1; transform: translateY(0); }
}

/* ─── PRINT ────────────────────────────────────────────────── */
@media print {
  .site-header, .footer, .btn, .breadcrumb { display: none !important; }
  .container { max-width: 100%; padding: 0; }
}

/* ============================================================
   FIXES MOBILE — images produits + catégories
   ============================================================ */

/* Grille produits : jamais en dessous de 150px par carte */
.product-grid {
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

/* Image produit : toujours visible, jamais écrasée */
.product-card__image {
  aspect-ratio: 3/4;
  width: 100%;
  display: block;
  overflow: hidden;
  background: var(--gris-light);
}
.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Catégories : jamais plus de 2 colonnes sur mobile */
@media (max-width: 900px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
  }
  .category-card {
    aspect-ratio: 4/3;
  }
  .category-card__name {
    font-size: 1rem;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 12px; }

  /* 2 colonnes produits bien proportionnées */
  .product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px;
  }
  .product-card__image {
    aspect-ratio: 3/4;
    min-height: 160px;
  }
  .product-card__name { font-size: .8rem; }
  .product-card__price { font-size: .85rem; }
  .product-card__info { padding: 8px 2px 0; }

  /* 2 colonnes catégories compactes */
  .categories-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px;
  }
  .category-card {
    aspect-ratio: 1/1;
  }
  .category-card__overlay { padding: 12px; }
  .category-card__name { font-size: .9rem; }
}

/* Garantit que le cadre image n'est jamais vide/invisible */
.product-card__image {
  min-height: 180px;
  background: #f5f0eb;
}
.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 180px;
}
@media (max-width: 480px) {
  .product-card__image { min-height: 150px; }
  .product-card__image img { min-height: 150px; }
}

/* ============================================================
   HEADER MOBILE — réécriture complète
   ============================================================ */

/* Barre principale */
.header-bar { background: #fff; border-bottom: 1px solid rgba(0,0,0,.07); position: sticky; top: 0; z-index: 1000; }
.header-inner { display: flex; align-items: center; gap: 16px; padding: 14px 20px; }

/* Logo */
.header-logo { font-family: var(--font-display); font-size: 1.7rem; font-weight: 300; letter-spacing: .15em; text-transform: uppercase; color: var(--noir); text-decoration: none; white-space: nowrap; flex-shrink: 0; }
.header-logo span { color: var(--rose-dore); }

/* Nav desktop */
.header-nav-desktop { display: flex; align-items: center; gap: 24px; flex: 1; justify-content: center; flex-wrap: nowrap; overflow: hidden; }
.header-nav-desktop a { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--noir); text-decoration: none; white-space: nowrap; transition: color .2s; }
.header-nav-desktop a:hover { color: var(--rose-dore); }
.header-nav-desktop .nav-new { color: var(--rose-dore); }
.header-nav-desktop .nav-promo { color: #c0392b; font-weight: 600; }

/* Actions */
.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.icon-btn { background: none; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--noir); text-decoration: none; position: relative; padding: 4px; transition: color .2s; }
.icon-btn:hover { color: var(--rose-dore); }
.cart-btn { position: relative; }
.cart-badge { position: absolute; top: -6px; right: -6px; background: var(--rose-dore); color: #fff; width: 18px; height: 18px; border-radius: 50%; font-size: .68rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }

/* Recherche desktop */
.header-search { display: flex; align-items: center; gap: 6px; border-bottom: 1px solid rgba(0,0,0,.15); padding: 4px 0; }
.header-search input { border: none; outline: none; font-family: var(--font-body); font-size: .82rem; background: transparent; width: 130px; }
.header-search button { background: none; border: none; cursor: pointer; padding: 2px; color: var(--gris); }

/* Icône recherche mobile — cachée sur desktop */
.search-toggle { display: none; }

/* Hide on mobile */
.hide-mobile { display: flex; }

/* Hamburger — caché sur desktop */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; flex-shrink: 0; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--noir); transition: all .3s; border-radius: 2px; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Barre de recherche mobile */
.mobile-search-bar { display: none; background: #faf7f4; border-top: 1px solid rgba(0,0,0,.07); padding: 10px 16px; }
.mobile-search-bar.open { display: block; }
.mobile-search-bar form { display: flex; align-items: center; gap: 10px; border: 1px solid rgba(0,0,0,.12); border-radius: 8px; padding: 10px 14px; background: #fff; }
.mobile-search-bar input { flex: 1; border: none; outline: none; font-size: .9rem; font-family: var(--font-body); background: transparent; }
.mobile-search-bar button { background: none; border: none; cursor: pointer; color: var(--gris); }

/* ─── MENU MOBILE DRAWER ──────────────────────────────────── */
.mobile-menu { position: fixed; top: 0; left: -100%; width: 85%; max-width: 320px; height: 100vh; background: #fff; z-index: 2000; transition: left .3s cubic-bezier(.4,0,.2,1); overflow-y: auto; box-shadow: 4px 0 30px rgba(0,0,0,.15); }
.mobile-menu.open { left: 0; }
.mobile-menu-inner { display: flex; flex-direction: column; height: 100%; }
.mobile-menu-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 20px 16px; border-bottom: 1px solid rgba(0,0,0,.07); }
.mobile-menu-close { background: none; border: none; font-size: 1.4rem; cursor: pointer; color: var(--gris); padding: 4px; line-height: 1; }

.mobile-nav { display: flex; flex-direction: column; padding: 16px 0; flex: 1; }
.mobile-nav a { display: block; padding: 14px 24px; font-size: .9rem; color: var(--noir); text-decoration: none; border-bottom: 1px solid rgba(0,0,0,.04); transition: background .15s, color .15s; letter-spacing: .03em; }
.mobile-nav a:hover, .mobile-nav a:active { background: #faf7f4; color: var(--rose-dore); }
.mobile-nav .nav-new { color: var(--rose-dore); }
.mobile-nav .nav-promo { color: #c0392b; font-weight: 600; }

.mobile-menu-actions { border-top: 1px solid rgba(0,0,0,.07); padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.mobile-menu-actions a { display: flex; align-items: center; gap: 12px; padding: 12px 8px; color: var(--noir); text-decoration: none; font-size: .9rem; border-radius: 8px; transition: background .15s; }
.mobile-menu-actions a:hover { background: #faf7f4; color: var(--rose-dore); }
.badge-count { background: var(--rose-dore); color: #fff; border-radius: 10px; padding: 1px 7px; font-size: .72rem; font-weight: 700; margin-left: auto; }

/* Overlay */
.mobile-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 1999; }
.mobile-overlay.open { display: block; }

/* ─── BREAKPOINTS ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .header-nav-desktop { display: none; }
  .header-search { display: none; }
  .hide-mobile { display: none !important; }
  .hamburger { display: flex; }
  .search-toggle { display: flex; }
  .header-logo { font-size: 1.4rem; flex: 1; text-align: center; }
  .header-inner { padding: 12px 16px; gap: 10px; }
  .header-top { font-size: .68rem; padding: 6px 12px; text-align: center; }
}

@media (max-width: 480px) {
  .header-logo { font-size: 1.2rem; }
  .header-inner { padding: 10px 12px; }
  .icon-btn svg { width: 22px; height: 22px; }
}

/* ============================================================
   HEADER DESKTOP — logo centré, nav gauche, actions droite
   ============================================================ */
@media (min-width: 901px) {

  /* Structure 3 colonnes : nav | logo | actions */
  .header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 20px 24px;
    gap: 0;
  }

  /* Hamburger caché */
  .hamburger { display: none !important; }
  .search-toggle { display: none !important; }

  /* Nav desktop à gauche */
  .header-nav-desktop {
    display: flex;
    justify-content: flex-start;
    gap: 28px;
    flex: none;
    overflow: visible;
  }

  /* Logo au centre */
  .header-logo {
    grid-column: 2;
    font-size: 2rem;
    text-align: center;
    flex-shrink: 0;
  }

  /* Actions à droite */
  .header-actions {
    justify-content: flex-end;
  }

  /* Recherche visible */
  .header-search { display: flex; }
  .hide-mobile { display: flex !important; }

  /* Bandeau promo */
  .header-top {
    background: var(--noir);
    color: var(--champagne);
    text-align: center;
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 8px 0;
    display: block;
  }

  /* Barre nav secondaire avec toutes les catégories */
  .header-bar::after {
    content: none;
  }
}

/* ─── Barre catégories desktop ────────────────────────────── */
.header-nav-bar {
  border-top: 1px solid rgba(0,0,0,.06);
  background: #fff;
}
.header-cat-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 12px 0;
}
.header-cat-nav li a {
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--noir);
  text-decoration: none;
  padding: 6px 0;
  position: relative;
  transition: color .2s;
}
.header-cat-nav li a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--rose-dore);
  transition: width .3s ease;
}
.header-cat-nav li a:hover { color: var(--rose-dore); }
.header-cat-nav li a:hover::after { width: 100%; }

/* Cachée sur mobile */
@media (max-width: 900px) {
  .header-nav-bar { display: none; }
}

/* ============================================================
   HEADER DESKTOP — correctif final
   ============================================================ */
@media (min-width: 901px) {

  /* Cacher la nav intégrée dans la barre principale
     (les catégories sont dans header-nav-bar en dessous) */
  .header-nav-desktop { display: none !important; }

  /* Grille : logo centré | recherche+icônes à droite */
  .header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 22px 24px;
  }

  /* Logo au centre exact */
  .header-logo {
    grid-column: 2;
    font-size: 2rem;
    text-align: center;
  }

  /* Hamburger et loupe mobile : cachés */
  .hamburger   { display: none !important; }
  .search-toggle { display: none !important; }

  /* Actions (recherche + icônes) alignées à droite
     sur la 3ème colonne */
  .header-actions {
    grid-column: 3;
    justify-content: flex-end;
    gap: 20px;
  }

  /* Recherche visible */
  .header-search { display: flex; }
  .hide-mobile   { display: flex !important; }
}

/* ─── Social icons footer ──────────────────────────────────── */
.footer-social { display: flex; gap: 12px; align-items: center; margin-top: 16px; }
.social-icon {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: var(--champagne);
  transition: all .2s;
  border: 1px solid rgba(255,255,255,.1);
}
.social-icon:hover {
  background: var(--rose-dore);
  color: #fff;
  border-color: var(--rose-dore);
  transform: translateY(-2px);
}
.social-icon svg { display: block; }

/* ============================================================
   DRESSBYLINA SITE — Thèmes additionnels
   ============================================================ */

/* ─── Ivory & Black ──────────────────────────────────────────── */
body.theme-ivory-black {
  --champagne:   #fffff8;
  --rose-pale:   #f0f0e8;
  --rose-dore:   #000000;
  --noir:        #000000;
  --gris:        #666666;
  --gris-light:  #f5f5f0;
  --blanc:       #fffff8;
}
body.theme-ivory-black .btn-primary { background:#000; border-color:#000; }
body.theme-ivory-black .header-top  { background:#000; }

/* ─── Rose Nude ──────────────────────────────────────────────── */
body.theme-rose-nude {
  --champagne:   #fdf6f5;
  --rose-pale:   #f9e8e6;
  --rose-dore:   #c9837a;
  --or:          #c9837a;
  --noir:        #3d1c1a;
  --gris:        #9a7070;
  --gris-light:  #f9f0ef;
  --blanc:       #ffffff;
}
body.theme-rose-nude .btn-primary { background:#c9837a; border-color:#c9837a; }
body.theme-rose-nude .header-top  { background:#3d1c1a; }
body.theme-rose-nude .header-logo span { color:#c9837a; }

/* ─── Sage & Cream ───────────────────────────────────────────── */
body.theme-sage-green {
  --champagne:   #f7f9f5;
  --rose-pale:   #e8f0e5;
  --rose-dore:   #7a9b76;
  --or:          #7a9b76;
  --noir:        #1a2d18;
  --gris:        #6a8068;
  --gris-light:  #eef4ec;
  --blanc:       #ffffff;
}
body.theme-sage-green .btn-primary { background:#7a9b76; border-color:#7a9b76; }
body.theme-sage-green .header-top  { background:#1a2d18; }
body.theme-sage-green .header-logo span { color:#7a9b76; }

/* ─── Midnight Luxury ────────────────────────────────────────── */
body.theme-midnight-luxury {
  --champagne:   #1e1a22;
  --rose-pale:   #2a2430;
  --rose-dore:   #d4af6e;
  --or:          #d4af6e;
  --noir:        #f5ede0;
  --gris:        #b0a090;
  --gris-light:  #252030;
  --blanc:       #0e0b0f;
}
body.theme-midnight-luxury { background:#0e0b0f; color:#f5ede0; }
body.theme-midnight-luxury .header-bar { background:#0e0b0f; border-bottom-color:#2a2430; }
body.theme-midnight-luxury .header-top { background:#1e1a22; }
body.theme-midnight-luxury .header-logo { color:#f5ede0; }
body.theme-midnight-luxury .header-logo span { color:#d4af6e; }
body.theme-midnight-luxury .header-nav-bar { background:#0e0b0f; border-top-color:#2a2430; }
body.theme-midnight-luxury .header-cat-nav li a { color:#f5ede0; }
body.theme-midnight-luxury .btn-primary { background:#d4af6e; border-color:#d4af6e; color:#0e0b0f; }
body.theme-midnight-luxury .site-footer { background:#0a0810; }

/* ─── Cobalt & White ─────────────────────────────────────────── */
body.theme-cobalt-white {
  --champagne:   #f0f5ff;
  --rose-pale:   #e8efff;
  --rose-dore:   #1a4eb5;
  --or:          #1a4eb5;
  --noir:        #0f1f4a;
  --gris:        #5a6a90;
  --gris-light:  #eef2ff;
  --blanc:       #ffffff;
}
body.theme-cobalt-white .btn-primary { background:#1a4eb5; border-color:#1a4eb5; }
body.theme-cobalt-white .header-top  { background:#0f1f4a; }
body.theme-cobalt-white .header-logo span { color:#1a4eb5; }

/* ─── Star rating selector ───────────────────────────────── */
.star-rating { display:flex; flex-direction:row-reverse; justify-content:flex-end; gap:6px; }
.star-rating input { display:none; }
.star-rating label {
  font-size:2.8rem; color:#ddd; cursor:pointer;
  transition:color .15s, transform .1s;
  line-height:1;
}
.star-rating label:hover { transform: scale(1.15); }
.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
  color:#c9a96e;
}

/* ─── Barre avis rapide ──────────────────────────────────── */
.review-bar {
  display: flex; align-items: center; gap: 10px;
  font-size: .82rem; margin-bottom: 24px; flex-wrap: wrap;
}
.review-bar-stars { color: #c9a96e; font-size: 1rem; letter-spacing: 1px; }
.review-bar-score { font-weight: 700; color: var(--noir); }
.review-bar-link  { color: var(--rose-dore); text-decoration: underline; text-underline-offset: 3px; font-size: .82rem; background: none; border: none; cursor: pointer; padding: 0; font-family: inherit; }
.review-bar-sep   { color: var(--gris); }
.review-bar-empty { color: var(--gris); font-style: italic; }

/* ─── Modal avis ─────────────────────────────────────────── */
.review-modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.55); z-index: 2000;
  align-items: center; justify-content: center;
  padding: 20px;
}
.review-modal-overlay.open { display: flex; }
.review-modal {
  background: #fff; border-radius: 20px;
  width: 100%; max-width: 540px; max-height: 85vh;
  overflow-y: auto; position: relative;
  padding: 32px; box-shadow: 0 24px 80px rgba(0,0,0,.25);
}
.review-modal-close {
  position: absolute; top: 16px; right: 20px;
  background: none; border: none; font-size: 1.3rem;
  cursor: pointer; color: var(--gris); line-height: 1;
  padding: 4px 8px; border-radius: 6px;
}
.review-modal-close:hover { background: #f5f0eb; }

.review-modal-tabs { display: flex; gap: 4px; margin-bottom: 24px; border-bottom: 1px solid #f0e8dc; }
.review-tab {
  padding: 10px 18px; border: none; background: none;
  cursor: pointer; font-size: .88rem; font-weight: 500;
  color: var(--gris); border-bottom: 2px solid transparent;
  margin-bottom: -1px; transition: all .2s; font-family: inherit;
}
.review-tab.active { color: var(--rose-dore); border-bottom-color: var(--rose-dore); font-weight: 600; }

.review-summary { display: flex; align-items: center; gap: 16px; padding: 16px; background: #faf7f4; border-radius: 12px; margin-bottom: 20px; }
.review-big-score { font-size: 2.8rem; font-weight: 800; color: var(--noir); line-height: 1; }
.review-stars-big { font-size: 1.3rem; color: #c9a96e; margin-bottom: 4px; }

.review-list { display: flex; flex-direction: column; gap: 16px; }
.review-item { padding: 16px; border: 1px solid #f0e8dc; border-radius: 12px; }
.review-item-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.review-stars-sm { color: #c9a96e; font-size: .95rem; }
.review-date { font-size: .72rem; color: var(--gris); }
.review-title { font-size: .9rem; font-weight: 600; color: var(--noir); margin-bottom: 4px; }
.review-comment { font-size: .85rem; color: var(--gris); line-height: 1.7; }
.review-author { font-size: .75rem; color: var(--gris); margin-top: 8px; font-style: italic; }

.review-empty { text-align: center; padding: 32px 0; color: var(--gris); }
.review-success { text-align: center; padding: 32px; background: #d4edda; color: #155724; border-radius: 12px; font-weight: 600; }
.review-error { background: #f8d7da; color: #721c24; padding: 12px 16px; border-radius: 8px; font-size: .85rem; margin-bottom: 16px; }

.form-group-rv { margin-bottom: 18px; }
.form-group-rv label { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--gris); margin-bottom: 8px; }
.rv-input {
  width: 100%; padding: 10px 14px;
  border: 1px solid #ddd5c8; border-radius: 8px;
  font-size: .88rem; background: #faf7f4; outline: none;
  box-sizing: border-box; font-family: inherit;
  transition: border-color .2s;
}
.rv-input:focus { border-color: var(--rose-dore); }
textarea.rv-input { resize: vertical; min-height: 90px; }

/* Forcer taille étoiles dans modal */
.review-modal .star-rating label { font-size: 3rem !important; }

/* Shake animation for required selection */
@keyframes shake {
  0%,100% { transform: translateX(0); }
  20%      { transform: translateX(-6px); }
  40%      { transform: translateX(6px); }
  60%      { transform: translateX(-4px); }
  80%      { transform: translateX(4px); }
}
.shake { animation: shake .5s ease; }
