/* ============================================================
   Contenedores y Caseta Salva - Hoja de estilos principal
   Paleta: aubergine + rojo + crema + verde + terracota
   Tipografias: Sofia Sans (titulos) + Ubuntu (texto)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Sofia+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;0,900;1,400&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,400&display=swap');

:root {
  --color-ink:         #1E0F1C;
  --color-ink-80:      #2C1B29;
  --color-ink-60:      #3E2A3A;
  --color-red:         #A7001E;
  --color-red-dark:    #7E0016;
  --color-red-light:   #C71F35;
  --color-cream:       #E2E9C0;
  --color-cream-dark:  #D2DBA8;
  --color-green:       #7AA95C;
  --color-green-dark:  #5C8442;
  --color-terracotta:  #955149;
  --color-terracotta-dark:#763D37;

  --color-white:       #ffffff;
  --color-bg:          #ffffff;
  --color-bg-soft:     #F7F8F0;
  --color-bg-grid:     #F1F3E6;

  --color-text:        #201417;
  --color-text-mid:    #5A5248;
  --color-text-light:  #8C8778;
  --color-border:      #E4E2D2;
  --color-border-light:#EFEEE2;

  --color-success:     #4C7A34;
  --color-warning:     #B8811A;
  --color-error:       #A7001E;
  --color-info:        #4A6A85;

  --font-display:      'Sofia Sans', sans-serif;
  --font-body:          'Ubuntu', sans-serif;

  --space-xs:   0.25rem;
  --space-sm:   0.5rem;
  --space-md:   1rem;
  --space-lg:   1.5rem;
  --space-xl:   2rem;
  --space-2xl:  3rem;
  --space-3xl:  4rem;
  --space-4xl:  6rem;

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  12px;
  --radius-xl:  20px;
  --radius-full:9999px;

  --shadow-xs:  0 1px 3px rgba(30,15,28,0.06);
  --shadow-sm:  0 2px 8px rgba(30,15,28,0.08);
  --shadow-md:  0 6px 20px rgba(30,15,28,0.10);
  --shadow-lg:  0 16px 40px rgba(30,15,28,0.14);
  --shadow-red: 0 8px 24px rgba(167,0,30,0.22);

  --header-height: 76px;
  --topbar-height: 38px;
  --catbar-height: 44px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; }
ul, ol { list-style: none; }
input, select, textarea { font-family: inherit; font-size: inherit; }

h1, h2, h3, h4, h5 { font-family: var(--font-display); color: var(--color-ink); line-height: 1.15; font-weight: 700; }
h1 { font-size: clamp(2rem, 3.2vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
.font-display { font-family: var(--font-display); }
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-red);
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
}
.eyebrow::before { content:""; width: 20px; height: 2px; background: var(--color-red); display:inline-block; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--space-lg); }
.section { padding: var(--space-3xl) 0; }
.section-tight { padding: var(--space-2xl) 0; }
.section-soft { background: var(--color-bg-soft); }
.section-ink { background: var(--color-ink); color: var(--color-white); }
.section-head { display:flex; align-items:flex-end; justify-content:space-between; gap: var(--space-lg); margin-bottom: var(--space-xl); flex-wrap: wrap; }
.section-head h2 { margin: var(--space-sm) 0 0; }
.section-head p { color: var(--color-text-mid); margin-top: var(--space-sm); max-width: 560px; }

.icon { width: 20px; height: 20px; flex-shrink: 0; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 28px; height: 28px; }
.icon-fill { fill: currentColor; stroke: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-sm);
  padding: 0.85rem 1.6rem; border-radius: var(--radius-md);
  font-weight: 700; font-size: 0.95rem; font-family: var(--font-body);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  border: 1.5px solid transparent; white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--color-red); color: var(--color-white); box-shadow: var(--shadow-red); }
.btn-primary:hover { background: var(--color-red-dark); transform: translateY(-2px); }
.btn-dark { background: var(--color-ink); color: var(--color-white); }
.btn-dark:hover { background: var(--color-ink-80); transform: translateY(-2px); }
.btn-outline { background: transparent; border-color: var(--color-ink); color: var(--color-ink); }
.btn-outline:hover { background: var(--color-ink); color: var(--color-white); }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,.5); color: var(--color-white); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); border-color: var(--color-white); }
.btn-ghost { background: var(--color-bg-soft); color: var(--color-ink); }
.btn-ghost:hover { background: var(--color-border); }
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.85rem; }
.btn-lg { padding: 1.05rem 2.2rem; font-size: 1.02rem; }
.btn-full { width: 100%; }
.btn-green { background: var(--color-green); color: var(--color-ink); }
.btn-green:hover { background: var(--color-green-dark); color: var(--color-white); }

/* HEADER */
.topbar {
  background: var(--color-ink); color: rgba(255,255,255,.82);
  font-size: 0.82rem; height: var(--topbar-height);
}
.topbar .container { display:flex; align-items:center; justify-content:space-between; height:100%; gap: var(--space-lg); }
.topbar-left, .topbar-right { display:flex; align-items:center; gap: var(--space-lg); }
.topbar a { display:flex; align-items:center; gap: 6px; transition: color .15s; }
.topbar a:hover { color: var(--color-white); }
.topbar-phone { font-weight: 700; color: var(--color-white); }
.topbar-hide-mobile { display: flex; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}
.header-main {
  display: flex; align-items: center; gap: var(--space-xl);
  height: var(--header-height);
}
.header-main .container { display:flex; align-items:center; gap: var(--space-xl); height:100%; width:100%; }

.header-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-logo-mark {
  width: 42px; height: 42px; border-radius: var(--radius-md);
  background: var(--color-ink); display:flex; align-items:center; justify-content:center; color: var(--color-white);
}
.header-logo-text { font-family: var(--font-display); font-weight: 800; font-size: 1.28rem; color: var(--color-ink); line-height:1.05; }
.header-logo-text span { display:block; font-family: var(--font-body); font-weight: 500; font-size: 0.68rem; color: var(--color-text-mid); text-transform: uppercase; letter-spacing: .06em; }

.header-search {
  flex: 1; display: flex; align-items: center; max-width: 720px;
  background: var(--color-bg-soft); border: 1.5px solid transparent; border-radius: var(--radius-full);
  overflow: hidden; transition: border-color .15s, background .15s;
}
.header-search:focus-within { border-color: var(--color-ink); background: var(--color-white); }
.header-search-select {
  background: transparent; border: none;
  padding: 0 1.8rem 0 1.1rem; font-size: 0.85rem; color: var(--color-text-mid);
  appearance: none; -webkit-appearance:none; max-width: 140px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235A5248' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.6rem center; background-size: 14px;
}
.header-search-select + .header-search-input { border-left: 1.5px solid var(--color-border); }
.header-search-input {
  flex: 1; background: transparent; border: none; padding: 0 1.1rem; font-size: 0.95rem;
  min-width: 0; height: 46px;
}
.header-search-input:focus, .header-search-select:focus { outline: none; }
.header-search-btn {
  background: transparent; color: var(--color-ink);
  width: 46px; height: 46px; flex-shrink:0; margin-right: 4px; border-radius: 50%;
  display:flex; align-items:center; justify-content:center;
  transition: background .15s, color .15s;
}
.header-search-btn:hover { background: var(--color-red); color: var(--color-white); }

.header-actions { display:flex; align-items:center; gap: var(--space-sm); flex-shrink:0; }
.header-action-btn {
  display:flex; flex-direction:column; align-items:center; gap:4px;
  padding: 0.3rem 0.85rem; border-radius: var(--radius-md); color: var(--color-ink);
  font-size: 0.7rem; font-weight: 600; text-align:center; position:relative;
  transition: background .15s;
}
.header-action-btn svg { width: 22px; height: 22px; }
.header-action-btn:hover { background: var(--color-bg-soft); }
.header-action-badge {
  position:absolute; top:0; right:2px; background: var(--color-red); color:#fff;
  font-size: 0.62rem; font-weight:800; min-width:16px; height:16px; border-radius: 999px;
  display:flex; align-items:center; justify-content:center; padding: 0 3px;
}

/* Bouton "Menú" desktop — dans la catbar, façon Boulanger */
.header-menu-toggle {
  display:flex; align-items:center; gap: 8px; flex-shrink:0;
  padding: 0.5rem 0.6rem; border-radius: var(--radius-sm); color: var(--color-ink);
  font-size: 0.85rem; font-weight: 700; transition: background .15s;
}
.header-menu-toggle:hover { background: rgba(30,15,28,.06); }
.header-menu-toggle svg { width: 20px; height:20px; }

/* Bouton hamburger mobile — à côté du logo, seulement en dessous de 860px */
.mobile-menu-toggle {
  display: none; flex-shrink:0;
  width: 40px; height: 40px; align-items:center; justify-content:center;
  border-radius: var(--radius-md); color: var(--color-ink);
  transition: background .15s;
}
.mobile-menu-toggle:hover { background: var(--color-bg-soft); }
.mobile-menu-toggle svg { width: 24px; height:24px; }

.catbar { background: var(--color-white); border-top: 1px solid var(--color-border-light); }
.catbar .container { display:flex; align-items:center; height: var(--catbar-height); gap: var(--space-xs); }
.catbar-divider { width:1px; align-self: stretch; margin: 10px 4px; background: var(--color-border); flex-shrink:0; }
.catbar-all {
  display:flex; align-items:center; gap: 8px; font-weight: 800; font-size: 0.85rem;
  padding: 0.4rem 0.8rem; border-radius: var(--radius-sm); flex-shrink:0; color: var(--color-red);
  text-transform: uppercase; letter-spacing: .02em;
}
.catbar-all:hover { background: rgba(167,0,30,.08); }
.catbar-nav { display:flex; align-items:center; gap: 4px; overflow-x:auto; scrollbar-width:none; }
.catbar-nav::-webkit-scrollbar { display:none; }
.nav-link {
  font-size: 0.85rem; font-weight: 500; padding: 0.4rem 0.75rem; border-radius: var(--radius-sm);
  white-space: nowrap; transition: background .15s, color .15s; color: var(--color-text);
}
.nav-link:hover { background: var(--color-bg-soft); color: var(--color-ink); }

.nav-item { position: relative; }
.mega-menu {
  position:absolute; top: 100%; left:0; background: var(--color-white); color: var(--color-text);
  border-radius: var(--radius-md); box-shadow: var(--shadow-lg); border: 1px solid var(--color-border);
  min-width: 260px; padding: var(--space-md); margin-top: 6px;
  opacity:0; visibility:hidden; transform: translateY(6px); transition: all .18s ease; z-index: 50;
}
.nav-item:hover .mega-menu { opacity:1; visibility:visible; transform: translateY(0); }
.mega-link { display:flex; align-items:center; gap:8px; padding: 0.55rem 0.6rem; border-radius: var(--radius-sm); font-size:0.88rem; color: var(--color-text); }
.mega-link:hover { background: var(--color-bg-soft); color: var(--color-red); }
.mega-link svg { color: var(--color-text-light); }

.mobile-nav-overlay { display:none; }

/* HERO */
.hero {
  position: relative; overflow: hidden; background: var(--color-ink);
  min-height: 560px; display:flex; align-items:center;
}
.hero-media {
  position:absolute; inset:0; background-size: cover; background-position:center;
  background-color: var(--color-ink-80);
}
.hero-overlay {
  position:absolute; inset:0;
  background: linear-gradient(100deg, rgba(30,15,28,.94) 0%, rgba(30,15,28,.78) 38%, rgba(30,15,28,.35) 68%, rgba(30,15,28,.15) 100%);
}
.hero-content { position:relative; z-index:2; max-width: 620px; color: var(--color-white); animation: heroIn .7s ease both; }
.hero-content .eyebrow { color: var(--color-cream); }
.hero-content .eyebrow::before { background: var(--color-cream); }
.hero-content h1 { color: var(--color-white); margin: var(--space-md) 0 var(--space-lg); }
.hero-content p { color: rgba(255,255,255,.82); font-size: 1.05rem; max-width: 520px; margin-bottom: var(--space-xl); }
.hero-actions { display:flex; gap: var(--space-md); flex-wrap: wrap; }
.hero-stats { display:flex; gap: var(--space-xl); margin-top: var(--space-2xl); }
.hero-stat strong { display:block; font-family: var(--font-display); font-size: 1.6rem; color: var(--color-white); }
.hero-stat span { font-size: 0.78rem; color: rgba(255,255,255,.65); text-transform: uppercase; letter-spacing: .04em; }

@keyframes heroIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-finder {
  position: relative; z-index: 2; margin-top: var(--space-2xl);
  background: rgba(255,255,255,.98); border-radius: var(--radius-lg); padding: var(--space-lg);
  display:flex; flex-wrap:wrap; gap: var(--space-md); box-shadow: var(--shadow-lg); max-width: 900px;
}
.hero-finder-field { flex: 1; min-width: 160px; }
.hero-finder-field label { display:block; font-size: 0.72rem; font-weight:700; color: var(--color-text-mid); text-transform:uppercase; letter-spacing:.04em; margin-bottom: 4px; }
.hero-finder-field select, .hero-finder-field input {
  width:100%; border:1.5px solid var(--color-border); border-radius: var(--radius-sm); padding: 0.6rem 0.7rem; font-size:0.9rem;
}
.hero-finder-field select:focus, .hero-finder-field input:focus { outline:none; border-color: var(--color-ink); }

.cat-grid { display:flex; flex-wrap:wrap; gap: var(--space-lg); justify-content:center; }
.cat-grid .cat-card { flex: 1 1 230px; max-width: 320px; }
.cat-card {
  position:relative; border-radius: var(--radius-lg); overflow:hidden; aspect-ratio: 4/3;
  background: var(--color-bg-grid); display:flex; align-items:flex-end;
  transition: transform .25s ease, box-shadow .25s ease;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.cat-card-media { position:absolute; inset:0; background-size:cover; background-position:center; transition: transform .5s ease; }
.cat-card:hover .cat-card-media { transform: scale(1.06); }
.cat-card-overlay { position:absolute; inset:0; background: linear-gradient(180deg, rgba(30,15,28,0) 30%, rgba(30,15,28,.85) 100%); }
.cat-card-body { position:relative; z-index:2; padding: var(--space-lg); color: var(--color-white); width:100%; }
.cat-card-body h3 { color: var(--color-white); font-size:1.05rem; margin-bottom:4px; }
.cat-card-body span { font-size:0.8rem; color: rgba(255,255,255,.75); display:flex; align-items:center; gap:6px; }

.product-grid { display:flex; flex-wrap:wrap; gap: var(--space-lg); }
.product-grid .product-card { flex: 1 1 260px; max-width: 320px; }
.product-card {
  background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  overflow:hidden; display:flex; flex-direction:column; transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--color-border-light); }
.product-card-media { position:relative; aspect-ratio: 4/3; background: var(--color-bg-soft); overflow:hidden; }
.product-card-media img { width:100%; height:100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .product-card-media img { transform: scale(1.05); }
.product-badge {
  position:absolute; top:10px; left:10px; background: var(--color-red); color:#fff;
  font-size:0.68rem; font-weight:800; padding: 4px 9px; border-radius: var(--radius-sm); text-transform:uppercase; letter-spacing:.03em;
}
.product-badge.badge-used { background: var(--color-terracotta); }
.product-wish-btn {
  position:absolute; top:10px; right:10px; width:34px; height:34px; border-radius:50%;
  background: rgba(255,255,255,.92); display:flex; align-items:center; justify-content:center; color: var(--color-ink);
  transition: background .15s, color .15s;
}
.product-wish-btn:hover { background: var(--color-red); color:#fff; }
.product-card-body { padding: var(--space-md) var(--space-md) var(--space-lg); display:flex; flex-direction:column; gap:6px; flex:1; }
.product-cat { font-size:0.72rem; color: var(--color-text-light); text-transform:uppercase; letter-spacing:.04em; font-weight:600; }
.product-title { font-size: 0.98rem; font-weight:700; color: var(--color-ink); line-height:1.3; }
.product-rating { display:flex; align-items:center; gap:4px; font-size:0.78rem; color: var(--color-text-mid); }
.product-rating .stars { display:flex; gap:1px; color: var(--color-terracotta); }
.product-specs { display:flex; flex-wrap:wrap; gap: 6px 12px; font-size:0.76rem; color: var(--color-text-mid); margin: 2px 0; }
.product-specs span { display:flex; align-items:center; gap:4px; }
.product-price-row { margin-top:auto; display:flex; align-items:flex-end; justify-content:space-between; gap: var(--space-sm); }
.product-price { font-family: var(--font-display); font-weight:800; font-size:1.25rem; color: var(--color-ink); }
.product-price small { font-family: var(--font-body); font-weight:500; font-size:0.7rem; color: var(--color-text-light); display:block; }
.product-add-btn {
  width:38px; height:38px; border-radius: var(--radius-md); background: var(--color-ink); color:#fff;
  display:flex; align-items:center; justify-content:center; transition: background .15s, transform .15s;
  flex-shrink:0;
}
.product-add-btn:hover { background: var(--color-red); transform: scale(1.06); }

.trust-strip { display:grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); }
.trust-item { display:flex; align-items:flex-start; gap: var(--space-md); }
.trust-icon {
  width:48px; height:48px; border-radius: var(--radius-md); background: var(--color-cream);
  display:flex; align-items:center; justify-content:center; color: var(--color-ink); flex-shrink:0;
}
.trust-item h4 { font-size:0.95rem; margin-bottom:2px; }
.trust-item p { font-size:0.82rem; color: var(--color-text-mid); }

.review-grid { display:flex; flex-wrap:wrap; gap: var(--space-lg); justify-content:center; }
.review-grid .review-card { flex: 1 1 300px; max-width: 380px; }
.review-card {
  background: var(--color-white); border:1px solid var(--color-border); border-radius: var(--radius-lg);
  padding: var(--space-lg); display:flex; flex-direction:column; gap: var(--space-sm);
}
.review-stars { display:flex; gap:2px; color: var(--color-terracotta); }
.review-title { font-weight:700; font-size:0.98rem; color: var(--color-ink); }
.review-content { font-size:0.9rem; color: var(--color-text-mid); flex:1; }
.review-meta { display:flex; align-items:center; gap:10px; margin-top:6px; padding-top: var(--space-sm); border-top:1px solid var(--color-border-light); }
.review-avatar {
  width:36px; height:36px; border-radius:50%; background: var(--color-cream); color: var(--color-ink);
  display:flex; align-items:center; justify-content:center; font-weight:700; font-size:0.85rem; flex-shrink:0;
}
.review-meta strong { font-size:0.85rem; display:block; }
.review-meta span { font-size:0.75rem; color: var(--color-text-light); }

.review-summary {
  display:flex; align-items:center; gap: var(--space-xl); background: var(--color-cream); border-radius: var(--radius-lg);
  padding: var(--space-xl); margin-bottom: var(--space-2xl); flex-wrap:wrap;
}
.review-summary-score { text-align:center; }
.review-summary-score strong { font-family: var(--font-display); font-size: 3rem; color: var(--color-ink); line-height:1; }
.review-summary-score .stars { justify-content:center; margin: 6px 0; }
.review-summary-score span { font-size:0.8rem; color: var(--color-text-mid); }
.review-summary-bars { flex:1; min-width:220px; display:flex; flex-direction:column; gap:6px; }
.review-bar-row { display:flex; align-items:center; gap:8px; font-size:0.78rem; color: var(--color-text-mid); }
.review-bar-track { flex:1; height:8px; border-radius:999px; background: rgba(30,15,28,.08); overflow:hidden; }
.review-bar-fill { height:100%; background: var(--color-red); border-radius:999px; }

.review-form-card { background: var(--color-white); border:1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-xl); }
.form-row { margin-bottom: var(--space-md); }
.form-row label { display:block; font-size:0.85rem; font-weight:700; color: var(--color-ink); margin-bottom:6px; }
.form-row input, .form-row textarea, .form-row select {
  width:100%; border:1.5px solid var(--color-border); border-radius: var(--radius-sm); padding: 0.7rem 0.9rem; font-size:0.92rem;
  transition: border-color .15s;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus { outline:none; border-color: var(--color-ink); }
.form-row-2 { display:grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }
.star-picker { display:flex; gap:6px; }
.star-picker button { color: var(--color-border); transition: color .15s, transform .15s; }
.star-picker button.active, .star-picker button:hover { color: var(--color-terracotta); transform: scale(1.1); }

.cta-band {
  background: var(--color-red); color:#fff; border-radius: var(--radius-xl);
  padding: var(--space-2xl); display:flex; align-items:center; justify-content:space-between; gap: var(--space-xl); flex-wrap:wrap;
}
.cta-band h2 { color:#fff; }
.cta-band p { color: rgba(255,255,255,.85); margin-top: var(--space-sm); max-width: 480px; }

/* FOOTER */
.site-footer { background: var(--color-ink); color: rgba(255,255,255,.72); }
.footer-top { padding: var(--space-3xl) 0 var(--space-2xl); }
.footer-grid { display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: var(--space-xl); }
.footer-brand { display:flex; align-items:center; gap:10px; margin-bottom: var(--space-md); }
.footer-brand .header-logo-mark { background: rgba(255,255,255,.1); }
.footer-brand-text { font-family: var(--font-display); font-weight:800; color:#fff; font-size:1.1rem; }
.footer-desc { font-size:0.85rem; line-height:1.6; margin-bottom: var(--space-md); }
.footer-col h5 { color:#fff; font-family: var(--font-body); font-size:0.85rem; font-weight:700; text-transform:uppercase; letter-spacing:.04em; margin-bottom: var(--space-md); }
.footer-col ul li { margin-bottom: 0.55rem; }
.footer-col a { font-size:0.86rem; transition: color .15s; }
.footer-col a:hover { color:#fff; }
.footer-legal-line { display:flex; align-items:center; gap:8px; font-size:0.82rem; margin-bottom: 0.5rem; }
.footer-legal-line .icon { color: var(--color-cream); flex-shrink:0; }
.footer-social { display:flex; gap:10px; margin-top: var(--space-md); }
.footer-social a { width:36px; height:36px; border-radius:50%; background: rgba(255,255,255,.08); display:flex; align-items:center; justify-content:center; transition: background .15s; }
.footer-social a:hover { background: var(--color-red); }
.footer-bottom { border-top:1px solid rgba(255,255,255,.1); padding: var(--space-lg) 0; }
.footer-bottom .container { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap: var(--space-md); font-size:0.78rem; }
.footer-bottom-links { display:flex; gap: var(--space-lg); flex-wrap:wrap; }

.cookie-banner {
  position:fixed; left: var(--space-lg); right: var(--space-lg); bottom: var(--space-lg); z-index: 200;
  background: var(--color-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border:1px solid var(--color-border);
  padding: var(--space-lg); display:flex; align-items:center; gap: var(--space-lg); flex-wrap:wrap; max-width: 720px; margin: 0 auto;
}
.cookie-banner p { font-size:0.85rem; color: var(--color-text-mid); flex:1; min-width:220px; }

/* RESPONSIVE */
@media (max-width: 1080px) {
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-grid .footer-brand-col { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .topbar-hide-mobile { display:none; }

  .mobile-menu-toggle { display:flex; }
  .header-main .container { flex-wrap:wrap; height:auto; padding: var(--space-sm) var(--space-md); row-gap: var(--space-sm); gap: var(--space-sm); }
  .header-main { height:auto; }
  .header-actions { margin-left:auto; gap: 2px; }

  .header-search { order:3; max-width:none; width:100%; flex-basis:100%; }
  .header-search-select { display:none; }
  .header-search-select + .header-search-input { border-left:none; }

  .header-logo-mark { width:36px; height:36px; }
  .header-logo-text { font-size: 1.05rem; }
  .header-logo-text span { display:none; }
  .header-logo img { max-height:34px; max-width:130px; width:auto; object-fit:contain; }

  .header-action-btn { padding: 0.3rem 0.55rem; }
  .header-action-btn span.action-label { display:none; }

  /* La catbar (Menú desktop + catégories + liens) devient redondante sur mobile :
     tout son contenu est déjà accessible dans le tiroir de navigation mobile. */
  .catbar { display:none; }

  .trust-strip { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero { min-height: 480px; }
  .hero-finder { flex-direction:column; }
  .cta-band { flex-direction:column; align-items:flex-start; }

  .mobile-nav-overlay {
    display:block; position:fixed; inset:0; background: rgba(30,15,28,.5); z-index: 150;
    opacity:0; visibility:hidden; transition: opacity .2s ease;
  }
  .mobile-nav-overlay.open { opacity:1; visibility:visible; }
  .mobile-nav {
    position:fixed; top:0; left:0; bottom:0; width: 300px; max-width:85vw; background:#fff; z-index:151;
    transform: translateX(-100%); transition: transform .25s ease; overflow-y:auto; padding: var(--space-lg);
  }
  .mobile-nav-overlay.open .mobile-nav { transform: translateX(0); }
  .mobile-nav-link { display:flex; align-items:center; justify-content:space-between; padding: 0.85rem 0.2rem; border-bottom:1px solid var(--color-border-light); font-weight:600; }
  .mobile-nav-sublink { display:block; padding: 0.6rem 0.2rem 0.6rem 1rem; font-size:0.88rem; color: var(--color-text-mid); }
  .mobile-nav-close { display:flex; justify-content:flex-end; margin-bottom: var(--space-md); }
}

@media (max-width: 480px) {
  .header-logo-text { font-size: 1rem; }
}

@media (max-width: 560px) {
  .trust-strip { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: var(--space-2xl) 0; }
  h1 { font-size: 1.9rem; }
  .review-summary { flex-direction:column; align-items:flex-start; }
}

.fade-up { opacity: 1; transform: none; }
.js-ready .fade-up { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.js-ready .fade-up.in-view { opacity: 1; transform: translateY(0); }

/* ============================================================
   MOBILE — corrections de mise en page (pages publiques)
   ============================================================ */

/* Hauteur totale réelle du header sticky (topbar + header-main + catbar),
   utilisée pour positionner correctement les panneaux "sticky" des pages. */
:root { --header-total-height: calc(var(--topbar-height) + var(--header-height) + var(--catbar-height)); }

/* Catálogo : sidebar de filtros + grille de produits */
.catalog-layout { display:grid; grid-template-columns:250px 1fr; gap:2rem; align-items:start; }
.filter-toggle-btn { display:none; }
@media (max-width: 860px) {
  .catalog-layout { grid-template-columns: 1fr; }
  button.filter-toggle-btn { display:flex; align-items:center; justify-content:space-between; }
  #filterSidebar { display:none; }
  #filterSidebar.open { display:block; }
}

/* Contacto / Financiación / Alquiler / Opiniones : colonne principale + colonne latérale */
.contact-layout, .financing-layout, .rental-layout, .reviews-layout {
  display:grid; gap: var(--space-2xl); align-items:start;
}
.contact-layout    { grid-template-columns: 1fr 420px; }
.financing-layout  { grid-template-columns: 1fr 400px; }
.rental-layout      { grid-template-columns: 1fr 380px; }
.reviews-layout     { grid-template-columns: 1.6fr 1fr; }
@media (max-width: 860px) {
  .contact-layout, .financing-layout, .rental-layout, .reviews-layout {
    grid-template-columns: 1fr;
  }
}

/* Panneaux latéraux "sticky" (simulateur, formulaire de réservation/avis) :
   décalés sous le header complet en desktop, redevenus statiques en mobile
   pour ne jamais chevaucher le contenu ni le header. */
.sticky-side-panel { position: sticky; top: calc(var(--header-total-height) + 1rem); }
.financing-widget   { position: sticky; top: calc(var(--header-total-height) + 1rem); }
@media (max-width: 860px) {
  .sticky-side-panel, .financing-widget { position: static; top: auto; }
}

/* Paires de champs / infos côte à côte : restent en 2 colonnes tant qu'il y a la place,
   repassent en 1 colonne sur très petit écran pour rester lisibles. */
@media (max-width: 480px) {
  .grid-2, .form-row-2 { grid-template-columns: 1fr !important; gap: 0.75rem !important; }
}

/* Onglets de la fiche produit (Descripción / Ficha técnica / Opiniones) :
   défilement horizontal contenu au lieu de casser la mise en page ou de tasser le texte. */
.product-tabs { overflow-x:auto; scrollbar-width:none; -webkit-overflow-scrolling:touch; }
.product-tabs::-webkit-scrollbar { display:none; }
.product-tabs .tab-btn { white-space:nowrap; flex-shrink:0; }

/* Espace "Mi cuenta" : menu latéral + contenu */
.account-layout { display:grid; grid-template-columns:240px 1fr; gap:2rem; align-items:start; }
@media (max-width: 860px) {
  .account-layout { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .catalog-layout, .contact-layout, .financing-layout, .rental-layout, .reviews-layout {
    gap: var(--space-lg);
  }
  h1 { font-size: 1.5rem; }
  .btn-lg { padding: 0.9rem 1.6rem; font-size: 0.95rem; }
}

/* ============================================================
   CAPA DE COMPATIBILIDAD — formularios, breadcrumb, tablas,
   badges, utilidades de espaciado (usadas por páginas internas:
   cuenta, autenticación, checkout, páginas legales)
   ============================================================ */

.breadcrumb-bar { background: var(--color-bg-soft); border-bottom: 1px solid var(--color-border); padding: 0.85rem 0; }
.breadcrumb { display:flex; align-items:center; gap:8px; font-size:0.82rem; color: var(--color-text-mid); flex-wrap:wrap; }
.breadcrumb a { color: var(--color-text-mid); }
.breadcrumb a:hover { color: var(--color-red); }
.breadcrumb-sep { color: var(--color-text-light); }
.breadcrumb-current { color: var(--color-ink); font-weight: 600; }

.form-group { margin-bottom: var(--space-md); }
.form-label { display:block; font-size:0.85rem; font-weight:700; color: var(--color-ink); margin-bottom:6px; }
.form-label .required { color: var(--color-red); }
.required { color: var(--color-red); }
.form-control {
  width:100%; border:1.5px solid var(--color-border); border-radius: var(--radius-sm); padding: 0.7rem 0.9rem;
  font-size:0.92rem; font-family: var(--font-body); color: var(--color-text); background: var(--color-white);
  transition: border-color .15s;
}
.form-control:focus { outline:none; border-color: var(--color-ink); }
textarea.form-control { resize: vertical; }
.form-hint { font-size:0.76rem; color: var(--color-text-light); margin-top:4px; }
.form-error { font-size:0.78rem; color: var(--color-red); margin-top:4px; }
select.form-control { appearance:none; -webkit-appearance:none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235A5248' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position: right 0.75rem center; background-size:14px; padding-right:2.2rem;
}

.legal-section { margin-bottom: 2rem; }
.legal-section h2 { font-family: var(--font-display); font-size:1.1rem; color: var(--color-ink); border-bottom:2px solid var(--color-red); padding-bottom:0.5rem; margin-bottom:1rem; }
.legal-section h3 { font-size:1rem; color: var(--color-text); margin:1.25rem 0 0.5rem; }
.legal-section p { color: var(--color-text-mid); line-height:1.8; margin-bottom:0.75rem; }
.legal-section ul li { color: var(--color-text-mid); }
.legal-table { width:100%; border-collapse:collapse; font-size:0.9rem; }
.legal-table td { padding:0.5rem 0; border-bottom:1px solid var(--color-border-light); color: var(--color-text-mid); }
.legal-table td:first-child { font-weight:600; color: var(--color-text); width:180px; }

.alert { padding:0.8rem 1rem; border-radius: var(--radius-sm); font-size:0.85rem; margin-bottom:1.25rem; line-height:1.5; }
.alert.ae { background:#fbe3e3; border:1px solid #f0bcbc; color:#7a1010; }
.alert.as { background:#eaf3de; border:1px solid #c0dd97; color:#27500a; }
.alert.ai { background:#f3f1e6; border:1px solid #ddd8c9; color: var(--color-ink); }

/* Utilidades de espaciado y flexbox (compatibilidad) */
.flex { display:flex; }
.flex-wrap { flex-wrap:wrap; }
.flex-between { display:flex; align-items:center; justify-content:space-between; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.text-sm { font-size:0.85rem; }
.text-muted { color: var(--color-text-mid); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.section-sm { padding: var(--space-xl) 0; }
.section-header { margin-bottom: var(--space-lg); }
.section-eyebrow { font-size:0.78rem; font-weight:700; letter-spacing:0.06em; text-transform:uppercase; color: var(--color-red); }

/* Badges (fiches produit et listes) */
.badge { display:inline-flex; align-items:center; padding:3px 9px; border-radius: var(--radius-sm); font-size:0.68rem; font-weight:800; text-transform:uppercase; letter-spacing:.03em; background: var(--color-bg-grid); color: var(--color-text-mid); }
.badge-new { background: var(--color-red); color:#fff; }
.badge-used { background: var(--color-terracotta); color:#fff; }
.badge-promo { background: var(--color-green); color: var(--color-ink); }

/* Paginación */
.pagination { display:flex; align-items:center; gap:6px; justify-content:center; margin-top: var(--space-xl); }
.page-item { min-width:36px; height:36px; display:flex; align-items:center; justify-content:center; border-radius: var(--radius-sm); border:1px solid var(--color-border); font-size:0.85rem; color: var(--color-text); }
.page-item.active { background: var(--color-ink); color:#fff; border-color: var(--color-ink); }
.page-item:hover:not(.active) { background: var(--color-bg-soft); }

/* Cantidad +/- */
.qty-wrap, .qty-control { display:inline-flex; align-items:center; border:1.5px solid var(--color-border); border-radius: var(--radius-sm); overflow:hidden; }
.qty-btn { width:32px; height:34px; display:flex; align-items:center; justify-content:center; color: var(--color-ink); font-weight:700; }
.qty-btn:hover { background: var(--color-bg-soft); }
.qty-input { width:44px; height:34px; text-align:center; border:none; border-left:1px solid var(--color-border); border-right:1px solid var(--color-border); font-size:0.92rem; }

/* Opciones de pago */
.pay-option { display:flex; align-items:center; gap:12px; border:1.5px solid var(--color-border); border-radius: var(--radius-md); padding: var(--space-md); cursor:pointer; transition: border-color .15s, background .15s; margin-bottom:10px; }
.pay-option:hover { border-color: var(--color-ink); }
.pay-radio:checked + .pay-label .pay-option, .pay-option.selected { border-color: var(--color-red); background: #fdf3f3; }
.pay-icon-wrap { width:38px; height:38px; border-radius: var(--radius-sm); background: var(--color-bg-soft); display:flex; align-items:center; justify-content:center; color: var(--color-ink); flex-shrink:0; }
.pay-label { font-weight:700; font-size:0.92rem; color: var(--color-ink); }
.pay-desc { font-size:0.8rem; color: var(--color-text-mid); }
.pay-check { margin-left:auto; }

/* Resumen carrito / checkout */
.cart-summary-row { display:flex; align-items:center; justify-content:space-between; padding:0.6rem 0; font-size:0.9rem; color: var(--color-text-mid); border-bottom:1px solid var(--color-border-light); }
.cart-summary-row:last-child { border-bottom:none; }
.spec-row { display:flex; align-items:center; justify-content:space-between; padding:0.5rem 0; font-size:0.85rem; border-bottom:1px solid var(--color-border-light); }

/* ============================================================
   ADMIN — panel de administración
   ============================================================ */
.admin-layout { display:flex; min-height:100vh; background: var(--color-bg-soft); }
.admin-sidebar { width:250px; background: var(--color-ink); color: rgba(255,255,255,.85); display:flex; flex-direction:column; flex-shrink:0; position:sticky; top:0; height:100vh; overflow-y:auto; }
.admin-nav-brand { padding: var(--space-lg) var(--space-lg) var(--space-md); border-bottom:1px solid rgba(255,255,255,.08); }
.admin-nav-group-title { font-size:0.68rem; font-weight:700; text-transform:uppercase; letter-spacing:.06em; color: rgba(255,255,255,.35); padding: var(--space-md) var(--space-lg) 0.4rem; }
.admin-nav-link { display:flex; align-items:center; gap:10px; padding:0.6rem var(--space-lg); font-size:0.85rem; color: rgba(255,255,255,.75); transition: background .15s, color .15s; }
.admin-nav-link:hover { background: rgba(255,255,255,.06); color:#fff; }
.admin-nav-link.active { background: var(--color-red); color:#fff; }
.admin-main { flex:1; min-width:0; display:flex; flex-direction:column; }
.admin-topbar { background:#fff; border-bottom:1px solid var(--color-border); padding: var(--space-md) var(--space-xl); display:flex; align-items:center; justify-content:space-between; position:sticky; top:0; z-index:10; }
.admin-content { padding: var(--space-xl); flex:1; }
.sidebar-mobile-toggle { display:none; }

.admin-card { background:#fff; border:1px solid var(--color-border); border-radius: var(--radius-lg); margin-bottom: var(--space-lg); overflow:hidden; }
.admin-card-header { display:flex; align-items:center; justify-content:space-between; padding: var(--space-md) var(--space-lg); border-bottom:1px solid var(--color-border-light); }
.admin-card-title { font-family: var(--font-display); font-weight:700; font-size:1rem; color: var(--color-ink); }

.kpi-card { background:#fff; border:1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-lg); }
.kpi-label { font-size:0.76rem; color: var(--color-text-mid); text-transform:uppercase; letter-spacing:.04em; font-weight:700; margin-bottom:6px; }
.kpi-value { font-family: var(--font-display); font-size:1.9rem; font-weight:800; color: var(--color-ink); }
.kpi-trend { font-size:0.78rem; font-weight:700; margin-top:4px; }
.kpi-trend.up { color: var(--color-green-dark); }
.kpi-trend.down { color: var(--color-red); }

.table-wrap { overflow-x:auto; }
.data-table { width:100%; border-collapse:collapse; font-size:0.87rem; }
.data-table th { text-align:left; padding:0.7rem 1rem; background: var(--color-bg-soft); color: var(--color-text-mid); font-weight:700; font-size:0.76rem; text-transform:uppercase; letter-spacing:.03em; border-bottom:1px solid var(--color-border); }
.data-table td { padding:0.7rem 1rem; border-bottom:1px solid var(--color-border-light); color: var(--color-text); }
.data-table tr:hover td { background: var(--color-bg-soft); }

.sidebar-block { background:#fff; border:1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-lg); margin-bottom: var(--space-md); }
.sidebar-title { font-family: var(--font-display); font-weight:700; font-size:0.95rem; color: var(--color-ink); margin-bottom: var(--space-md); }

.drop-zone { border:2px dashed var(--color-border); border-radius: var(--radius-lg); padding: var(--space-2xl); text-align:center; color: var(--color-text-mid); }
.tab-content { padding-top: var(--space-md); }
.range-slider { width:100%; }

/* Alias antigua nomenclatura de tarjeta de producto (algunas vistas heredadas) */
.products-grid { display:grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); }
.product-card-image { position:relative; aspect-ratio: 4/3; background: var(--color-bg-soft); overflow:hidden; }
.product-card-image img { width:100%; height:100%; object-fit:cover; }
.product-card-name { font-size:0.95rem; font-weight:700; color: var(--color-ink); }
.product-card-brand { font-size:0.72rem; color: var(--color-text-light); text-transform:uppercase; }
.product-card-footer { display:flex; align-items:center; justify-content:space-between; padding: var(--space-md); }
.product-price-main { font-family: var(--font-display); font-weight:800; font-size:1.1rem; color: var(--color-ink); }
.product-price-vat { font-size:0.7rem; color: var(--color-text-light); }
.product-card-action-btn { width:36px; height:36px; border-radius: var(--radius-md); background: var(--color-ink); color:#fff; display:flex; align-items:center; justify-content:center; }
.product-card-action-btn:hover { background: var(--color-red); }

.financing-label { font-size:0.85rem; font-weight:700; color: var(--color-ink); }

@media (max-width: 960px) {
  .admin-sidebar { position:fixed; left:0; top:0; bottom:0; z-index:200; transform:translateX(-100%); transition: transform .2s ease; }
  .admin-sidebar.open { transform:translateX(0); }
  .sidebar-mobile-toggle { display:flex; align-items:center; justify-content:center; width:36px; height:36px; }
}

/* Simulador de financiación */
.financing-widget { background: var(--color-ink); border-radius: var(--radius-xl); padding: var(--space-xl); position:sticky; top:96px; }
.financing-result { background: rgba(255,255,255,.08); border-radius: var(--radius-md); padding: var(--space-lg); margin-top: var(--space-lg); text-align:center; }
.financing-monthly { font-family: var(--font-display); font-size:2rem; font-weight:800; color:#fff; margin:6px 0; }
.financing-widget .financing-label { color: rgba(255,255,255,.65); font-weight:500; }

/* Feedback ajout panier */
.product-add-btn.added, .qty-btn.added { background: var(--color-green); }

/* Galería y ficha de producto */
.product-gallery { display:flex; flex-direction:column; gap:0.75rem; }
.gallery-main { aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow:hidden; background: var(--color-bg-soft); border:1px solid var(--color-border-light); }
.gallery-main img { width:100%; height:100%; object-fit:cover; }
.gallery-thumbs { display:flex; gap:0.5rem; flex-wrap:wrap; }
.gallery-thumb { width:70px; height:56px; border-radius: var(--radius-sm); overflow:hidden; cursor:pointer; border:2px solid transparent; opacity:.7; transition: all .15s; }
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--color-red); opacity:1; }
.gallery-thumb img { width:100%; height:100%; object-fit:cover; }
.product-spec-tag { font-size:0.76rem; padding:3px 9px; border-radius: var(--radius-sm); background: var(--color-bg-soft); color: var(--color-text-mid); font-weight:600; }
.product-price-block { border-top:1px solid var(--color-border-light); border-bottom:1px solid var(--color-border-light); padding: 1rem 0; margin-bottom:1.25rem; }
.product-main-price { font-family: var(--font-display); font-size:2.1rem; font-weight:800; color: var(--color-ink); }
.product-promo-price { font-family: var(--font-display); font-size:2.1rem; font-weight:800; color: var(--color-red); }
.review-text { font-size:0.92rem; color: var(--color-text-mid); margin:0.5rem 0 0.75rem; font-style:italic; }
.review-author { display:flex; align-items:center; gap:10px; }
.review-name { font-size:0.85rem; font-weight:700; }
.review-date { font-size:0.75rem; color: var(--color-text-light); }
.tab-btn.active { color: var(--color-ink) !important; border-bottom-color: var(--color-red) !important; }

@media (max-width: 860px) {
  #productLayout { grid-template-columns: 1fr !important; gap: 1.5rem !important; }
}

/* Estados (pedidos, financiaciones, alquileres) */
.status { display:inline-flex; align-items:center; padding:3px 10px; border-radius:999px; font-size:0.72rem; font-weight:700; text-transform:capitalize; }
.status-success { background:#eaf3de; color:#27500a; }
.status-error   { background:#fbe3e3; color:#7a1010; }
.status-pending { background:#fdf3e0; color:#8a6100; }
