/* ═══════════════════════════════════════════════════════════════
   EUROTEC ESPAÑA — style.css
   Palette : Rouge #d60513 · Jaune #fdcf20 · Noir #0a0a0a · Blanc #f5f3ef
   Fonts   : Syne (display) + Inter (body)
   ═══════════════════════════════════════════════════════════════

   TABLE DES MATIÈRES
   ──────────────────────────────────────────────────────────────
   01. Variables
   02. Reset
   03. Container
   04. Eyebrow / Labels
   05. Navbar
   06. Hero
   07. SEO Intro
   08. Catégories
   09. Sobre / About
   10. FAQ
   11. Newsletter
   12. Footer
   13. Page Header
   14. Forms — shared
   15. Presupuesto Page
   16. Cuenta Page
   17. Typographie — harmonisation Rouge & Jaune
   18. Products Page — grille photo 4 colonnes
   19. Product Modal
   20. Logo Patch & Cart Item Fix
   21. Responsive
   22. WhatsApp Floating Button
   23. Catalogos A4
   24. Chatbot
   25. Category Chips Bar
   ═══════════════════════════════════════════════════════════════ */


/* ══════════════════════════════════════════════
   01. VARIABLES
══════════════════════════════════════════════ */
:root {
  --rouge:       #d60513;
  --rouge-dark:  #a8000f;
  --rouge-light: #ff1a2a;
  --jaune:       #fdcf20;
  --jaune-dark:  #e0b500;
  --jaune-light: #ffe55c;
  --black:       #0a0a0a;
  --black-2:     #111111;
  --black-3:     #1a1a1a;
  --grey-1:      #242424;
  --grey-2:      #3a3a3a;
  --grey-3:      #6b6b6b;
  --grey-4:      #a0a0a0;
  --grey-5:      #d4d4d4;
  --grey-6:      #efefef;
  --cream:       #f8f5f0;
  --beige:       #f2ede6;
  --beige-dark:  #e8e1d8;
  --white:       #ffffff;
  --bleu:        #1a2b5f;

  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   32px;

  --shadow-sm:   0 2px 8px rgba(0,0,0,.12);
  --shadow-md:   0 8px 32px rgba(0,0,0,.18);
  --shadow-lg:   0 20px 60px rgba(0,0,0,.25);
  --shadow-red:  0 8px 24px rgba(214,5,19,.35);

  --transition:  .22s cubic-bezier(.4,0,.2,1);
  --tr:          .22s cubic-bezier(.4,0,.2,1);

  --font-head:   'Syne', sans-serif;
  --font-body:   'Inter', sans-serif;

  --grey-50:     #f9f9f9;
  --grey-100:    #efefef;
  --grey-500:    #6b6b6b;
  --grey-600:    #444444;
}


/* ══════════════════════════════════════════════
   02. RESET
══════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--beige);
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }


/* ══════════════════════════════════════════════
   03. CONTAINER
══════════════════════════════════════════════ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }


/* ══════════════════════════════════════════════
   04. EYEBROW / LABELS
══════════════════════════════════════════════ */
.eyebrow, .section-label {
  display: inline-block;
  font-family: 'Syne', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--rouge);
  margin-bottom: 12px;
}
.section-head { text-align: center; margin-bottom: 56px; }
.section-head h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--black);
  line-height: 1.15;
}
.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
}
.section-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.65);
  margin-top: 12px;
  max-width: 540px;
}


/* ══════════════════════════════════════════════
   05. NAVBAR
══════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,.09);
  height: 80px;
  transition: height .3s ease, box-shadow .3s ease;
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
}
.navbar.scrolled {
  height: 64px;
  box-shadow: 0 4px 20px rgba(0,0,0,.1);
}

.nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 36px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 0;
}

/* ── LOGO ── */
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: 40px;
  gap: 12px;
}
.logo-img {
  height: 52px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  transition: transform .25s ease;
  /* Ombre légère pour ressortir sur fond blanc */
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.12));
}
.navbar.scrolled .logo-img {
  height: 40px;
}
.nav-logo:hover .logo-img {
  transform: scale(1.04);
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.18));
}

.logo-text-block {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  border-left: 2px solid rgba(214,5,19,.2);
  padding-left: 12px;
}
.logo-text-name {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: .06em;
  color: #0a0a0a;
}
.logo-text-name span { color: var(--rouge); }
.logo-text-sub {
  font-family: 'Inter', sans-serif;
  font-size: .63rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(10,10,10,.38);
  margin-top: 1px;
}

.logo-fallback {
  display: none;
  align-items: center;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: .04em;
}
.logo-word   { color: var(--black); }
.logo-accent { color: var(--rouge); margin-left: 2px; }

/* Hero logo overlay */
.hero-logo-overlay {
  position: absolute; top: 90px; right: 60px;
  z-index: 4; filter: drop-shadow(0 4px 24px rgba(0,0,0,.5));
}
.hero-logo-big {
  height: 80px; width: auto; border-radius: 8px;
  background: rgba(255,255,255,.92); padding: 8px 16px;
  backdrop-filter: blur(8px);
}

/* ── NAV LINKS ── */
.nav-cats {
  display: flex;
  align-items: stretch;
  gap: 0;
  flex: 1;
  height: 100%;
}
.nav-cat {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 15px;
  font-family: 'Inter', sans-serif;
  font-size: .83rem;
  font-weight: 500;
  color: rgba(10,10,10,.55);
  transition: color .18s ease;
  white-space: nowrap;
  height: 100%;
}
.nav-cat::after {
  content: '';
  position: absolute;
  bottom: 0; left: 15px; right: 15px;
  height: 2.5px;
  background: var(--rouge);
  border-radius: 2px 2px 0 0;
  transform: scaleX(0);
  transition: transform .2s ease;
}
.nav-cat:hover { color: #0a0a0a; }
.nav-cat:hover::after { transform: scaleX(1); }
.nav-cat.active { color: var(--rouge); font-weight: 600; }
.nav-cat.active::after { transform: scaleX(1); }

/* ── NAV RIGHT ── */
.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: auto;
  padding-left: 20px;
  border-left: 1px solid rgba(0,0,0,.07);
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  font-weight: 700;
  color: rgba(10,10,10,.6);
  padding: 6px 12px;
  border-radius: 6px;
  transition: all .18s ease;
  white-space: nowrap;
}
.nav-phone svg { width: 13px; height: 13px; color: var(--rouge); }
.nav-phone:hover { color: var(--rouge); background: rgba(214,5,19,.05); }

.nav-btn-ghost {
  padding: 7px 16px;
  border-radius: 7px;
  border: 1.5px solid rgba(10,10,10,.14);
  font-size: .81rem;
  font-weight: 600;
  color: rgba(10,10,10,.65);
  transition: all .18s ease;
  white-space: nowrap;
}
.nav-btn-ghost:hover { border-color: var(--rouge); color: var(--rouge); }

.nav-btn-primary {
  padding: 8px 20px;
  border-radius: 7px;
  background: var(--rouge);
  font-size: .81rem;
  font-weight: 700;
  color: #fff;
  transition: all .2s ease;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(214,5,19,.28);
}
.nav-btn-primary:hover { background: var(--rouge-dark); transform: translateY(-1px); box-shadow: 0 5px 16px rgba(214,5,19,.38); }

/* ── NAV SEARCH ── */
.nav-search {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 auto;
  max-width: 280px;
  margin: 0 16px;
  padding: 8px 14px;
  background: var(--grey-6);
  border-radius: 8px;
  border: 1px solid transparent;
  transition: border-color .18s ease, background .18s ease;
}
.nav-search:focus-within {
  background: var(--white);
  border-color: rgba(214,5,19,.3);
}
.nav-search svg {
  width: 15px; height: 15px;
  color: var(--grey-3);
  flex-shrink: 0;
}
.nav-search-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  outline: none;
  font-family: 'Inter', sans-serif;
  font-size: .82rem;
  color: var(--black);
}
.nav-search-input::placeholder { color: var(--grey-4); }
.nav-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--grey-3);
  transition: color .18s ease;
}
.nav-search-btn:hover { color: var(--rouge); }
.nav-search-btn svg { width: 15px; height: 15px; }

/* ── HAMBURGER ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
  cursor: pointer;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: #0a0a0a;
  border-radius: 2px;
  transition: var(--transition);
}


/* ══════════════════════════════════════════════
   06. HERO
══════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding-top: 80px;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 60%;
}
.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top,   rgba(10,10,10,.92) 0%,  rgba(10,10,10,.55) 40%, transparent 75%),
    linear-gradient(to right, rgba(10,10,10,.6)  0%,  transparent 60%);
}

.hero::after {
  content: '';
  position: absolute;
  left: 0; top: 80px; bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--jaune), var(--rouge));
  z-index: 2;
}

.hero-body {
  position: relative;
  z-index: 3;
  padding: 80px 48px 48px;
  max-width: 720px;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Syne', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--jaune);
  margin-bottom: 20px;
}
.hero-kicker::before {
  content: '';
  display: block;
  width: 28px; height: 2px;
  background: var(--jaune);
}
.hero-h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.03em;
  color: var(--white);
  margin-bottom: 20px;
}
.hero-h1 em { font-style: normal; color: var(--jaune); }
.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.62);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  background: var(--rouge);
  color: var(--white);
  font-family: 'Syne', sans-serif;
  font-size: .9rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: var(--transition);
  letter-spacing: .02em;
}
.btn-hero-primary svg { width: 16px; height: 16px; }
.btn-hero-primary:hover { background: var(--rouge-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(214,5,19,.35); }

.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.85);
  font-family: 'Syne', sans-serif;
  font-size: .9rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.btn-hero-ghost:hover { border-color: var(--jaune); color: var(--jaune); }

/* Hero trust bar */
.hero-trust {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: stretch;
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(214,5,19,.75);
  backdrop-filter: blur(12px);
}
.trust-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 22px 16px;
  gap: 4px;
}
.trust-item strong {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--jaune);
}
.trust-item span { font-size: .75rem; color: rgba(255,255,255,.8); text-align: center; }
.trust-sep { width: 1px; background: rgba(255,255,255,.2); align-self: stretch; }


/* ══════════════════════════════════════════════
   07. SEO INTRO
══════════════════════════════════════════════ */
.seo-intro-section {
  background: var(--white);
  padding: 80px 0;
  border-bottom: 1px solid var(--beige-dark);
}
.seo-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.seo-intro-text h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 800;
  color: var(--black);
  margin-bottom: 16px;
  line-height: 1.2;
}
.seo-intro-text p {
  font-size: .95rem;
  color: var(--grey-3);
  line-height: 1.75;
  margin-bottom: 12px;
}
.seo-intro-text strong { color: var(--black); }

.seo-intro-features { display: flex; flex-direction: column; gap: 14px; }
.seo-feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--beige);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--rouge);
  font-size: .9rem;
  color: var(--grey-2);
}
.seo-feature-item svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--rouge); }
.seo-feature-item strong { color: var(--black); }


/* ══════════════════════════════════════════════
   08. CATÉGORIES
══════════════════════════════════════════════ */
.cats-section { padding: 96px 0; background: var(--beige); }
.cats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* ── CARTE CATÉGORIE ── */
.cat-card {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
  border: 1px solid #f0f0f0;
  position: relative;
}
.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,.13);
}

/* IMAGE — fond jaune des photos Eurotec bien affiché */
.cat-img-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #f5a623;
  position: relative;
}
.cat-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  transition: transform .5s ease;
  display: block;
}
.cat-card:hover .cat-img-wrap img { transform: scale(1.05); }

/* Placeholder si pas d'image */
.cat-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1a1a, #333);
}
.cat-placeholder-inner {
  font-size: 3.5rem;
  opacity: .6;
}

/* INFO */
.cat-info {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.cat-badge {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--rouge);
  background: rgba(217,26,26,.08);
  padding: 3px 10px;
  border-radius: 20px;
  width: fit-content;
  margin-bottom: 2px;
}
.cat-info h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--black);
  line-height: 1.2;
}
.cat-info p {
  font-size: .8rem;
  color: var(--grey-3);
  line-height: 1.5;
}
.cat-arrow {
  font-size: .78rem;
  font-weight: 700;
  color: var(--rouge);
  margin-top: 6px;
  transition: transform .2s ease;
  display: inline-block;
  opacity: 0;
  transform: translateX(-4px);
}
.cat-card:hover .cat-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* CARTE CTA "VER TODO" */
.cat-card--cta {
  background: linear-gradient(135deg, #1a0000, #d91a1a);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  position: relative;
  overflow: hidden;
}
.cat-card--cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 80%, rgba(255,255,255,.06) 0%, transparent 60%);
}
.cat-all-inner {
  position: relative;
  z-index: 1;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
  align-items: center;
}
.cat-cta-icon {
  font-size: 2.5rem;
  margin-bottom: 4px;
}
.cat-all-inner h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: white;
  line-height: 1.2;
}
.cat-all-inner p {
  font-size: .82rem;
  color: rgba(255,255,255,.55);
  line-height: 1.5;
}
.cat-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 11px 24px;
  background: white;
  color: var(--rouge);
  font-family: 'Syne', sans-serif;
  font-size: .82rem;
  font-weight: 800;
  border-radius: 100px;
  width: fit-content;
  transition: all .2s ease;
}
.cat-card--cta:hover .cat-btn {
  background: var(--rouge);
  color: white;
  transform: scale(1.04);
}


/* ══════════════════════════════════════════════
   09. SOBRE / ABOUT
══════════════════════════════════════════════ */
.sobre-section { padding: 96px 0; background: var(--white); }
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.sobre-text p {
  font-size: .97rem;
  color: var(--grey-3);
  line-height: 1.8;
  margin-bottom: 14px;
}
.sobre-text strong { color: var(--black); }
.btn-sobre {
  display: inline-flex;
  align-items: center;
  margin-top: 20px;
  padding: 13px 26px;
  background: var(--rouge);
  color: var(--white);
  font-family: 'Syne', sans-serif;
  font-size: .88rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.btn-sobre:hover { background: var(--rouge-dark); transform: translateY(-1px); }

.sobre-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--grey-6);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.sobre-stat {
  background: var(--rouge);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sobre-stat strong {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--jaune);
  line-height: 1;
}
.sobre-stat span { font-size: .8rem; color: rgba(255,255,255,.8); }


/* ══════════════════════════════════════════════
   10. FAQ
══════════════════════════════════════════════ */
.faq-section { padding: 96px 0; background: var(--beige); }
.faq-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 72px;
  align-items: start;
}
.faq-left h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: var(--black);
  margin-bottom: 14px;
}
.faq-left p { font-size: .95rem; color: var(--grey-3); line-height: 1.7; }
.faq-cta {
  display: inline-block;
  margin-top: 22px;
  font-family: 'Syne', sans-serif;
  font-size: .88rem;
  font-weight: 700;
  color: var(--rouge);
  text-decoration: none;
  transition: var(--transition);
}
.faq-cta:hover { color: var(--rouge-dark); }

.faq-list { display: flex; flex-direction: column; gap: 2px; }
.faq-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--grey-6);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  font-family: 'Syne', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  color: var(--black);
  text-align: left;
  transition: var(--transition);
  background: none;
  border: none;
  cursor: pointer;
}
.faq-q:hover { color: var(--rouge); }
.faq-chevron { width: 18px; height: 18px; flex-shrink: 0; transition: transform var(--transition); }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-item.open .faq-q { color: var(--rouge); }
.faq-a {
  display: none;
  padding: 0 22px 20px;
  border-top: 1px solid var(--grey-6);
}
.faq-a p { font-size: .9rem; color: var(--grey-3); line-height: 1.75; }
.faq-item.open .faq-a { display: block; }


/* ══════════════════════════════════════════════
   11. NEWSLETTER
══════════════════════════════════════════════ */
.newsletter-section { padding: 80px 0; background: var(--rouge); }
.newsletter-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 48px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,.08);
  background: var(--rouge-dark);
  position: relative;
  overflow: hidden;
}
.newsletter-box::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(253,207,32,.15) 0%, transparent 65%);
  pointer-events: none;
}
.newsletter-text h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
}
.newsletter-text p { font-size: .9rem; color: rgba(255,255,255,.75); }
.newsletter-form { display: flex; gap: 10px; flex-shrink: 0; }
.newsletter-form input {
  padding: 13px 18px;
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.12);
  color: var(--white);
  font-size: .9rem;
  font-family: 'Inter', sans-serif;
  min-width: 260px;
  outline: none;
  transition: var(--transition);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.3); }
.newsletter-form input:focus { border-color: var(--jaune); background: rgba(253,207,32,.1); }
.newsletter-form button {
  padding: 13px 24px;
  background: var(--jaune);
  color: var(--black);
  font-family: 'Syne', sans-serif;
  font-size: .88rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: var(--transition);
  white-space: nowrap;
}
.newsletter-form button:hover { background: #e8b800; color: var(--black); }


/* ══════════════════════════════════════════════
   12. FOOTER
══════════════════════════════════════════════ */
.footer { background: var(--rouge-dark); padding: 80px 0 0; border-top: 1px solid rgba(255,255,255,.1); }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.footer-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: .06em;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-logo span { color: var(--rouge); }
.footer-brand p { font-size: .85rem; color: rgba(255,255,255,.7); line-height: 1.7; max-width: 280px; }
.footer-socials { display: flex; gap: 10px; margin-top: 22px; }
.footer-socials a {
  width: 38px; height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.8);
  transition: var(--transition);
}
.footer-socials a svg { width: 16px; height: 16px; }
.footer-socials a:hover { border-color: var(--jaune); color: var(--jaune); }

.footer-col h4 {
  font-family: 'Syne', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: .88rem; color: rgba(255,255,255,.75); transition: var(--transition); }
.footer-col ul a:hover { color: var(--jaune); }

.footer-contact-block { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.footer-contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .88rem;
  color: rgba(255,255,255,.8);
  transition: var(--transition);
  text-decoration: none;
}
.footer-contact-link svg { width: 16px; height: 16px; flex-shrink: 0; color: rgba(255,255,255,.5); }
.footer-contact-link:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: .8rem;
  color: rgba(255,255,255,.6);
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: rgba(255,255,255,.6); transition: var(--transition); }
.footer-bottom-links a:hover { color: rgba(255,255,255,.6); }


/* ══════════════════════════════════════════════
   13. PAGE HEADER (presupuesto, productos)
══════════════════════════════════════════════ */
.page-header {
  background: var(--rouge-dark);
  padding: 128px 40px 56px;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  left: -60px; top: -60px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(0,0,0,.1) 0%, transparent 65%);
  pointer-events: none;
}
.page-header::after {
  content: '';
  position: absolute;
  right: -40px; bottom: -40px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(253,207,32,.08) 0%, transparent 65%);
  pointer-events: none;
}
.page-header .container { position: relative; z-index: 2; }
.page-header .section-label { color: var(--jaune); margin-bottom: 10px; }
.page-header h1 { color: var(--white); }
.page-header .section-sub { color: rgba(255,255,255,.55); margin-top: 14px; }


/* ══════════════════════════════════════════════
   14. FORMS — shared
══════════════════════════════════════════════ */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--black);
  letter-spacing: .01em;
}
.form-input, .form-textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--grey-5);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--black);
  font-size: .9rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: var(--transition);
  width: 100%;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--grey-4); }
.form-input:focus, .form-textarea:focus { border-color: var(--rouge); box-shadow: 0 0 0 3px rgba(214,5,19,.08); }
.form-input.error, .form-textarea.error { border-color: var(--rouge); }
.form-textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.form-error {
  font-size: .78rem;
  color: var(--rouge);
  display: none;
  font-weight: 500;
}
.form-group.has-error .form-error { display: block; }
.form-group.has-error .form-input,
.form-group.has-error .form-textarea { border-color: var(--rouge); }

.form-input-wrap { position: relative; }
.form-input-wrap .form-input { padding-right: 44px; }
.toggle-pass {
  position: absolute;
  right: 12px; top: 50%;
  transform: translateY(-50%);
  color: var(--grey-4);
  transition: var(--transition);
  padding: 4px;
}
.toggle-pass svg { width: 18px; height: 18px; }
.toggle-pass:hover { color: var(--rouge); }

.btn-auth {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 24px;
  background: var(--rouge);
  color: var(--white);
  font-family: 'Syne', sans-serif;
  font-size: .9rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: .02em;
  margin-top: 8px;
}
.btn-auth:hover { background: var(--rouge-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(214,5,19,.28); }
.btn-auth:active { transform: translateY(0); }
.btn-auth:disabled { opacity: .55; cursor: not-allowed; transform: none; }


/* ══════════════════════════════════════════════
   15. PRESUPUESTO PAGE
══════════════════════════════════════════════ */
.presup-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  max-width: 1100px;
  margin: 48px auto;
  padding: 0 32px 80px;
}
.presup-form-card, .presup-cart-card, .presup-info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--grey-6);
  box-shadow: var(--shadow-sm);
}
.presup-form-card h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 8px;
}
.presup-form-card > p { font-size: .88rem; color: var(--grey-3); margin-bottom: 28px; }
.presup-form-card form { display: flex; flex-direction: column; gap: 18px; }

.presup-sidebar { display: flex; flex-direction: column; gap: 20px; }

.catalogo-checks { display: flex; flex-direction: column; gap: 10px; }
.check-card { display: block; cursor: pointer; }
.check-card input { position: absolute; opacity: 0; pointer-events: none; }
.check-card-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1.5px solid var(--grey-5);
  border-radius: var(--radius-md);
  transition: var(--transition);
  user-select: none;
}
.check-card input:checked ~ .check-card-inner {
  border-color: var(--rouge);
  background: rgba(214,5,19,.04);
}
.check-card-icon {
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.check-card-icon svg { width: 18px; height: 18px; }
.check-card-inner > div:nth-child(2) { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.check-card-inner > div:nth-child(2) strong { font-size: .9rem; font-weight: 700; color: var(--black); }
.check-card-inner > div:nth-child(2) span { font-size: .78rem; color: var(--grey-3); }
.check-tick { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--grey-5); display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.check-tick svg { width: 12px; height: 12px; color: transparent; }
.check-card input:checked ~ .check-card-inner .check-tick { background: var(--rouge); border-color: var(--rouge); }
.check-card input:checked ~ .check-card-inner .check-tick svg { color: var(--white); }

.presup-cart-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 18px;
}
.cart-count-badge {
  background: var(--rouge);
  color: var(--white);
  font-size: .72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 12px;
  font-family: 'Syne', sans-serif;
}
.cart-items { display: flex; flex-direction: column; gap: 10px; min-height: 48px; }
.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--cream);
  border-radius: var(--radius-md);
  font-size: .84rem;
  color: var(--black);
}
.cart-item-remove {
  margin-left: auto;
  color: var(--grey-4);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  transition: var(--transition);
}
.cart-item-remove:hover { color: var(--rouge); }

.presup-info-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.presup-info-card p { font-size: .85rem; color: var(--grey-3); line-height: 1.6; margin-bottom: 16px; }
.presup-contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--black);
  transition: var(--transition);
}
.presup-contact-link svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--rouge); }
.presup-contact-link:hover { color: var(--rouge); }


/* ══════════════════════════════════════════════
   16. CUENTA PAGE
══════════════════════════════════════════════ */
.cuenta-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100svh;
  padding-top: 80px;
}

.cuenta-left {
  background: var(--rouge-dark);
  display: flex;
  align-items: center;
  padding: 72px 64px;
  position: relative;
  overflow: hidden;
}
.cuenta-left::before {
  content: '';
  position: absolute;
  left: -60px; top: 20%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(214,5,19,.18) 0%, transparent 65%);
  pointer-events: none;
}
.cuenta-left::after {
  content: '';
  position: absolute;
  right: 0; bottom: 10%;
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(253,207,32,.08) 0%, transparent 65%);
  pointer-events: none;
}
.cuenta-left > .cuenta-left-content { position: relative; z-index: 2; }
.cuenta-tagline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: var(--white);
}
.cuenta-tagline em { font-style: normal; color: var(--jaune); }

.cuenta-features { display: flex; flex-direction: column; gap: 16px; margin-top: 36px; }
.cuenta-feature {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: .9rem;
  color: rgba(255,255,255,.65);
}
.cuenta-feature-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(214,5,19,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cuenta-feature-icon svg { width: 16px; height: 16px; color: var(--rouge); }

.cuenta-right {
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 72px 64px;
}
.auth-box { width: 100%; max-width: 420px; }

.auth-tabs {
  display: flex;
  gap: 4px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 4px;
  margin-bottom: 32px;
  border: 1px solid var(--grey-6);
}
.auth-tab {
  flex: 1;
  text-align: center;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-family: 'Syne', sans-serif;
  font-size: .88rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--grey-3);
  transition: var(--transition);
}
.auth-tab.active { background: var(--rouge); color: var(--white); }
.auth-tab:not(.active):hover { color: var(--black); }

.auth-form { display: none; flex-direction: column; gap: 18px; }
.auth-form.active { display: flex; }
.auth-form h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--black);
}
.auth-form > p { font-size: .88rem; color: var(--grey-3); margin-top: -10px; }

.pass-strength { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.pass-strength-bar { flex: 1; height: 4px; background: var(--grey-6); border-radius: 4px; overflow: hidden; }
.pass-strength-fill { height: 100%; width: 0; border-radius: 4px; transition: width .3s, background .3s; }
.pass-strength-label { font-size: .75rem; font-weight: 600; color: var(--grey-3); white-space: nowrap; }

.btn, .btn-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius-md);
  font-size: .86rem;
  font-weight: 600;
  font-family: 'Syne', sans-serif;
  transition: var(--transition);
  cursor: pointer;
}
.btn-outline-dark {
  background: transparent;
  border: 1.5px solid var(--grey-5);
  color: var(--black);
}
.btn-outline-dark:hover { border-color: var(--rouge); color: var(--rouge); }


/* ══════════════════════════════════════════════
   17. TYPOGRAPHIE — harmonisation Rouge & Jaune
══════════════════════════════════════════════ */
.eyebrow, .section-label, .header-eyebrow { color: var(--rouge); }
/* Sur fond rouge → jaune */
.newsletter-section .eyebrow,
.newsletter-section .section-label,
.newsletter-box .eyebrow,
.footer .eyebrow,
.footer .section-label,
.page-header .eyebrow { color: var(--jaune) !important; }

.section-head h2,
.faq-left h2,
.seo-intro-text h2 { color: var(--black); }

.section-head h2 em,
.hero-h1 em { color: var(--jaune); }

.btn-hero-primary,
.btn-sobre,
.faq-cta,
.cat-btn,
.btn-auth,
.nav-btn-primary {
  background: var(--rouge) !important;
  color: var(--white) !important;
}
.btn-hero-primary:hover,
.btn-sobre:hover,
.cat-btn:hover { background: var(--rouge-dark) !important; }

.nav-cat:hover { color: var(--rouge) !important; }
.nav-btn-primary { background: var(--rouge) !important; }
.trust-item strong { color: var(--jaune) !important; }
.footer-logo { color: var(--white); }
.footer-logo span { color: var(--jaune) !important; }
.sobre-stat strong { color: var(--white) !important; }
.cat-card:hover .cat-arrow { color: var(--rouge) !important; }
.hero-kicker { color: var(--jaune) !important; }
.hero-kicker::before { background: var(--jaune) !important; }


/* ══════════════════════════════════════════════
   18. PRODUCTS PAGE — grille photo 4 colonnes
══════════════════════════════════════════════ */
#productsGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding: 8px 2px;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.07);
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
  transition: transform .28s ease, box-shadow .28s ease;
  cursor: pointer;
  position: relative;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,.14);
}

.product-card-img {
  display: block;
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--beige);
  flex-shrink: 0;
}
.product-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.06); }

.product-card-cat {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--rouge);
  color: var(--white);
  font-family: 'Syne', sans-serif;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
}

.product-card-ref {
  position: absolute;
  bottom: 10px; left: 10px;
  background: rgba(0,0,0,.55);
  color: rgba(255,255,255,.85);
  font-size: .65rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
}

.product-card-zoom {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.product-card:hover .product-card-zoom { opacity: 1; }
.product-card-zoom svg { width: 32px; height: 32px; }

.product-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px;
  gap: 6px;
}
.product-card-name {
  font-family: 'Syne', sans-serif;
  font-size: .88rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.3;
  transition: color var(--transition);
}
.product-card:hover .product-card-name { color: var(--rouge); }

.product-card-desc {
  font-size: .78rem;
  color: var(--grey-3);
  line-height: 1.5;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  transition: all .2s ease;
}
.product-card:hover .product-card-desc {
  -webkit-line-clamp: unset;
  overflow: visible;
  display: block;
}

.product-card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 4px;
}
.product-card-specs span {
  font-size: .65rem;
  font-weight: 600;
  color: var(--grey-3);
  background: var(--beige);
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid var(--beige-dark);
}

.product-card-spacer { flex: 1; }

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--beige-dark);
  margin-top: 8px;
}
.product-price {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--rouge);
}

.btn-zoom {
  width: 34px; height: 34px;
  border-radius: 8px;
  border: 1.5px solid var(--grey-5);
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  color: var(--grey-3);
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}
.btn-zoom svg { width: 14px; height: 14px; }
.btn-zoom:hover { border-color: var(--rouge); color: var(--rouge); }

.btn-add {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: var(--rouge);
  color: var(--white);
  font-family: 'Syne', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  flex: 1;
  justify-content: center;
}
.btn-add svg { width: 12px; height: 12px; }
.btn-add:hover { background: var(--rouge-dark); transform: translateY(-1px); }
.btn-add.added { background: var(--jaune); color: var(--black); cursor: default; }
.btn-add.added:hover { background: var(--jaune); transform: none; }

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 64px 24px;
  color: var(--grey-4);
  gap: 12px;
  grid-column: 1 / -1;
}
.empty-state svg { width: 40px; height: 40px; }
.empty-state p { font-size: .9rem; color: var(--grey-3); }

.cart-bubble {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  display: none;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: var(--rouge);
  color: var(--white);
  font-family: 'Syne', sans-serif;
  font-size: .88rem;
  font-weight: 700;
  border-radius: 50px;
  box-shadow: 0 8px 32px rgba(214,5,19,.35);
  text-decoration: none;
  transition: var(--transition);
}
.cart-bubble svg { width: 18px; height: 18px; }
.cart-bubble:hover { background: var(--rouge-dark); transform: translateY(-2px); }
.cart-bubble.show { display: flex; }
.cart-bubble-count {
  background: var(--jaune);
  color: var(--black);
  font-size: .72rem;
  font-weight: 800;
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

.products-zone { background: var(--beige); }
.results-line { border-bottom-color: var(--beige-dark); }
.search-bar-btn { background: var(--rouge); }
.search-bar-btn:hover { background: var(--rouge-dark); }

.product-card.reveal { opacity: 0; transform: translateY(16px); }
.product-card.reveal.visible { opacity: 1; transform: translateY(0); transition: opacity .35s ease, transform .35s ease; }


/* ══════════════════════════════════════════════
   19. PRODUCT MODAL
══════════════════════════════════════════════ */
.prod-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  align-items: center;
  justify-content: center;
}
.prod-modal.open { display: flex; }

.prod-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.prod-modal-box {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: var(--radius-xl);
  width: 94vw;
  max-width: 1000px;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 40px 100px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.08);
  animation: modalIn .3s cubic-bezier(.22,1,.36,1);
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(.93) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.prod-modal-close {
  position: absolute;
  top: 18px; right: 18px;
  z-index: 10;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.95);
  border: 1.5px solid var(--grey-5);
  display: flex; align-items: center; justify-content: center;
  color: var(--grey-2);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
.prod-modal-close svg { width: 16px; height: 16px; }
.prod-modal-close:hover { background: var(--rouge); border-color: var(--rouge); color: #fff; transform: scale(1.08); }

.prod-modal-inner {
  display: grid;
  grid-template-columns: 45% 55%;
  overflow: auto;
  flex: 1;
}

.modal-gallery {
  background: linear-gradient(145deg, #f8f5f2 0%, #ede9e4 100%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px 24px 24px;
  position: relative;
}
.modal-main-img {
  flex: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  aspect-ratio: 4/3;
  box-shadow: 0 8px 32px rgba(0,0,0,.1);
}
.modal-main-img img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 12px;
  transition: transform .4s ease;
}
.modal-main-img:hover img { transform: scale(1.06); }

.modal-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.modal-thumb {
  width: 68px; height: 68px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  cursor: pointer;
  opacity: .55;
  border: 2.5px solid transparent;
  transition: var(--transition);
  background: var(--white);
}
.modal-thumb.active,
.modal-thumb:hover { opacity: 1; border-color: var(--rouge); box-shadow: 0 4px 12px rgba(214,5,19,.25); }

.modal-info {
  padding: 40px 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
  border-left: 1px solid var(--grey-6);
}

.modal-cat-badge {
  display: inline-flex;
  align-self: flex-start;
  background: var(--rouge);
  color: var(--white);
  font-family: 'Syne', sans-serif;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  box-shadow: 0 4px 12px rgba(214,5,19,.3);
}

.modal-ref { font-size: .8rem; color: var(--grey-3); letter-spacing: .02em; }
.modal-ref strong { color: var(--grey-2); font-weight: 700; }

.modal-serie { font-size: .78rem; color: var(--grey-3); letter-spacing: .05em; }
.modal-serie strong { color: var(--rouge); }

.modal-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--black);
  line-height: 1.2;
  letter-spacing: -.025em;
  border-bottom: 2px solid var(--beige-dark);
  padding-bottom: 14px;
  margin-bottom: 2px;
}

.modal-desc {
  font-size: .88rem;
  color: var(--grey-3);
  line-height: 1.8;
  border-left: 3px solid var(--jaune);
  padding-left: 14px;
  margin: 2px 0;
  flex: 1;
}

.modal-specs-block h4 {
  font-family: 'Syne', sans-serif;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--rouge);
  margin-bottom: 10px;
}
.specs-table { width: 100%; border-collapse: collapse; }
.specs-table tr { border-bottom: 1px solid var(--beige-dark); }
.specs-table tr:last-child { border-bottom: none; }
.spec-label {
  font-size: .78rem;
  font-weight: 700;
  color: var(--grey-3);
  padding: 8px 12px 8px 0;
  white-space: nowrap;
  width: 40%;
}
.spec-val { font-size: .88rem; font-weight: 600; color: var(--black); padding: 8px 0; }

.modal-price {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--rouge);
  line-height: 1;
  margin-top: 4px;
}
.modal-price span { font-size: 1rem; font-weight: 500; color: var(--grey-3); }

.modal-btn-add { margin-top: auto; padding: 15px 28px; font-size: .9rem; border-radius: var(--radius-md); }

.modal-footer-bar {
  padding: 16px 32px;
  border-top: 1px solid var(--beige-dark);
  background: var(--beige);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.toast {
  position: fixed;
  bottom: 28px; left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: var(--black);
  color: var(--white);
  padding: 13px 22px;
  border-radius: 50px;
  font-family: 'Syne', sans-serif;
  font-size: .88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  z-index: 9999;
  transition: opacity .25s, transform .25s;
  box-shadow: 0 8px 32px rgba(0,0,0,.25);
  white-space: nowrap;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast-icon { width: 16px; height: 16px; color: var(--jaune); flex-shrink: 0; }


/* ══════════════════════════════════════════════
   20. LOGO PATCH & CART ITEM FIX
══════════════════════════════════════════════ */

.cart-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--cream);
  border-radius: 10px;
  font-size: .84rem;
  color: var(--black);
}
.cart-item-img {
  width: 48px; height: 48px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  background: var(--grey-6);
}
.cart-item-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cart-item-name {
  font-family: 'Syne', sans-serif;
  font-size: .82rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.cart-item-cat { font-size: .72rem; color: var(--grey-3); font-weight: 500; }
.cart-item-remove {
  margin-left: auto;
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 6px;
  border: none;
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  color: var(--grey-4);
  cursor: pointer;
  transition: all .2s;
  padding: 0;
}
.cart-item-remove svg { width: 14px; height: 14px; }
.cart-item-remove:hover { background: rgba(214,5,19,.1); color: var(--rouge); }
.cart-empty {
  text-align: center;
  padding: 20px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.cart-empty svg { width: 32px; height: 32px; opacity: .4; }
.cart-empty p { font-size: .83rem; color: var(--grey-3); line-height: 1.6; }


/* ══════════════════════════════════════════════
   21. RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 1100px) {
  #productsGrid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
  .cats-grid { grid-template-columns: repeat(2, 1fr); }
  .sobre-grid { grid-template-columns: 1fr; gap: 40px; }
  .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .presup-layout { grid-template-columns: 1fr; }
  .presup-sidebar { display: grid; grid-template-columns: 1fr 1fr; }
  .seo-intro-grid { grid-template-columns: 1fr; gap: 36px; }
  .cuenta-page { grid-template-columns: 1fr; }
  .cuenta-left { display: none; }
  .cuenta-right { min-height: calc(100svh - 80px); }
}

@media (max-width: 1024px) {
  .nav-search { display: none; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav-cats { display: none; }
  .nav-hamburger { display: flex; }
  .nav-phone { display: none; }
  .nav-btn-primary { display: none; }
  .nav-right { padding-left: 0; border-left: none; margin-left: 0; }
  .nav-inner { gap: 16px; }
  .logo-text-block { display: none; }

  .nav-cats.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 80px; left: 0; right: 0;
    height: auto;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    background: var(--white);
    border-top: 1px solid var(--grey-6);
    padding: 12px;
    z-index: 999;
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
  }

  .nav-cats.open .nav-cat {
    height: auto;
    width: 100%;
    padding: 14px 12px;
    border-bottom: 1px solid var(--grey-6);
  }
  .nav-cats.open .nav-cat::after { display: none; }
  .nav-cats.open .nav-cat.active { background: var(--grey-6); border-radius: 8px; }

  .nav-cat-cta {
    margin-top: 8px;
    text-align: center;
    background: var(--rouge);
    color: #fff !important;
    border-radius: 8px;
    border-bottom: none !important;
    padding: 14px !important;
    font-weight: 700;
  }

  .hero-body { padding: 48px 24px 32px; }
  .hero-logo-overlay { right: 20px; top: 80px; }
  .hero-logo-big { height: 56px; padding: 6px 12px; }
  .hero-trust { flex-wrap: wrap; }
  .trust-sep { display: none; }
  .trust-item { flex: 1 1 calc(50% - 1px); border: 1px solid rgba(255,255,255,.06); }

  .cats-section { padding: 64px 0; }
  .cats-grid { grid-template-columns: 1fr; }
  .sobre-stats { grid-template-columns: 1fr 1fr; }
  .sobre-section { padding: 64px 0; }
  .faq-section { padding: 64px 0; }
  .newsletter-box { flex-direction: column; padding: 32px 24px; text-align: center; }
  .newsletter-form { flex-direction: column; width: 100%; }
  .newsletter-form input { min-width: unset; }
  .footer-top { grid-template-columns: 1fr; }
  .presup-sidebar { grid-template-columns: 1fr; }
  .presup-layout { padding: 0 20px 60px; }
  .form-row { grid-template-columns: 1fr; }
  .cuenta-right { padding: 40px 24px; }
  .page-header { padding: 108px 24px 48px; }

  #productsGrid { grid-template-columns: repeat(2, 1fr); gap: 14px; }

  .prod-modal-box { width: 96vw; max-height: 92vh; border-radius: var(--radius-lg); }
  .prod-modal-inner { grid-template-columns: 1fr; }
  .modal-gallery { padding: 20px; aspect-ratio: auto; }
  .modal-main-img { aspect-ratio: 16/10; }
  .modal-info { padding: 24px 20px; }
  .modal-title { font-size: 1.2rem; }

  .subcats-bar { padding: 8px 20px; top: calc(80px + 48px); }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .btn-hero-primary, .btn-hero-ghost { width: 100%; justify-content: center; }
  .sobre-stats { grid-template-columns: 1fr 1fr; }
  .sobre-stat { padding: 24px 18px; }
  .sobre-stat strong { font-size: 1.6rem; }
  #productsGrid { grid-template-columns: 1fr; }
}


/* ══════════════════════════════════════════════
   22. WHATSAPP FLOATING BUTTON
══════════════════════════════════════════════ */
.wa-menu-wrap {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
}
.wa-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 12px 16px;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
  transition: all .25s ease;
  animation: wa-pulse 2.5s infinite;
}
.wa-btn:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,.25); }
.wa-btn svg { width: 22px; height: 22px; }
.wa-btn-label { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.wa-btn-label small { font-size: 11px; opacity: .85; }

/* Popover de choix du numéro */
.wa-popover {
  display: none;
  flex-direction: column;
  position: absolute;
  bottom: calc(100% + 12px);
  right: 0;
  min-width: 240px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0,0,0,.2);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.06);
}
.wa-popover.open { display: flex; }
.wa-popover-title {
  padding: 12px 16px 6px;
  font-family: 'Inter', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--grey-4, #888);
}
.wa-popover a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  font-family: 'Inter', sans-serif;
  font-size: .88rem;
  font-weight: 600;
  color: #0a0a0a;
  text-decoration: none;
  border-top: 1px solid var(--grey-6, #eee);
  transition: background .15s ease;
}
.wa-popover a:hover { background: #f4f9f6; }
.wa-popover a svg { width: 18px; height: 18px; color: #25D366; flex-shrink: 0; }

@keyframes wa-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  70%  { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

@media (max-width: 600px) {
  .wa-btn { padding: 14px; border-radius: 50%; }
  .wa-btn-label { display: none; }
  .wa-menu-wrap { right: 16px; bottom: 16px; }
  .wa-popover { min-width: 210px; max-width: calc(100vw - 32px); }
}


/* ══════════════════════════════════════════════
   23. CATALOGOS A4
══════════════════════════════════════════════ */
.catalogos-a4-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  margin-top: 40px;
}
.a4-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 35px rgba(0,0,0,.10);
  transition: all .35s ease;
}
.a4-card:hover { transform: translateY(-10px); box-shadow: 0 20px 60px rgba(0,0,0,.18); }
.a4-cover { width: 100%; height: 420px; overflow: hidden; background: #eee; }
.a4-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.a4-card:hover .a4-cover img { transform: scale(1.05); }
.a4-info { padding: 22px; }
.a4-info h3 { font-size: 20px; margin-bottom: 8px; }
.a4-info p { font-size: 14px; color: #666; line-height: 1.5; }
.a4-info span { display: inline-block; margin-top: 12px; font-weight: 600; color: #d40000; }


/* ══════════════════════════════════════════════
   24. CHATBOT EUROTEC
══════════════════════════════════════════════ */

/* ── Position bottom (index.html) ── */
#chatbot {
  position: fixed;
  bottom: 90px;
  right: 24px;
  z-index: 9000;
  font-family: 'Inter', sans-serif;
}

/* ── Position top-right (autres pages) ── */
#chatbot.chatbot-top {
  bottom: auto;
  top: 96px;
  right: 16px;
}

.chatbot-btn {
  width: 52px; height: 52px;
  background: var(--rouge);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(214,5,19,.35);
  transition: transform .2s ease, box-shadow .2s ease;
  border: none;
  margin-left: auto;
}
.chatbot-btn svg { width: 22px; height: 22px; }
.chatbot-btn:hover { transform: scale(1.08); box-shadow: 0 8px 28px rgba(214,5,19,.45); }

/* Box bottom */
.chatbot-box {
  display: none;
  width: 340px;
  max-width: calc(100vw - 32px);
  max-height: 480px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,.18);
  margin-bottom: 12px;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid rgba(0,0,0,.07);
}
/* Box top (s'ouvre vers le bas) */
.chatbot-box-top {
  margin-bottom: 0;
  margin-top: 12px;
  position: absolute;
  right: 0;
  top: 64px;
}
.chatbot-box.open { display: flex; }

@media (max-width: 480px) {
  #chatbot {
    right: 12px;
  }
  .chatbot-box,
  .chatbot-box-top {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    max-height: 70vh;
  }
  .chatbot-box-top { right: -4px; }
}

/* Sur mobile, le header (recherche, catégories) est trop haut pour un
   positionnement "top: 96px" : les bulles flottantes finissent par
   recouvrir la barre de recherche. On les redescend en bas d'écran,
   empilées au-dessus du bouton panier "Mi presupuesto". */
@media (max-width: 768px) {
  #chatbot.chatbot-top {
    top: auto;
    bottom: 84px;
    right: 16px;
  }
  #chatbot.chatbot-top .chatbot-box-top {
    top: auto;
    bottom: 64px;
    margin-top: 0;
    margin-bottom: 12px;
  }
  .cart-bubble {
    bottom: 16px;
    right: 16px;
    padding: 12px 18px;
    font-size: .8rem;
  }
}

/* Header */
.chat-header {
  background: var(--rouge);
  color: #fff;
  padding: 14px 16px;
  font-weight: 700;
  font-size: .9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  letter-spacing: .01em;
}
.chat-close {
  background: rgba(255,255,255,.2);
  border: none; color: #fff;
  width: 24px; height: 24px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 12px;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.chat-close:hover { background: rgba(255,255,255,.35); }

/* Messages */
.chat-messages {
  flex: 1;
  padding: 14px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #f9f9f9;
}
.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-thumb { background: #ddd; border-radius: 4px; }

.user-msg {
  align-self: flex-end;
  background: var(--rouge);
  color: #fff;
  padding: 9px 14px;
  border-radius: 18px 18px 4px 18px;
  max-width: 78%;
  font-size: .82rem;
  line-height: 1.4;
  box-shadow: 0 2px 8px rgba(214,5,19,.2);
}
.bot-msg {
  align-self: flex-start;
  background: #fff;
  color: #1a1a1a;
  padding: 9px 14px;
  border-radius: 18px 18px 18px 4px;
  max-width: 78%;
  font-size: .82rem;
  line-height: 1.4;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

/* Suggestions */
.chat-suggestions {
  padding: 10px 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  background: #fff;
  border-top: 1px solid rgba(0,0,0,.06);
}
.chat-suggestions button {
  border: 1.5px solid rgba(214,5,19,.2);
  background: rgba(214,5,19,.04);
  color: var(--rouge);
  padding: 5px 11px;
  border-radius: 20px;
  cursor: pointer;
  font-size: .75rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  transition: all .15s ease;
}
.chat-suggestions button:hover {
  background: var(--rouge);
  color: #fff;
  border-color: var(--rouge);
}

/* Input */
.chat-input {
  display: flex;
  border-top: 1px solid rgba(0,0,0,.08);
  background: #fff;
}
.chat-input input {
  flex: 1;
  padding: 11px 14px;
  border: none;
  outline: none;
  font-size: .83rem;
  font-family: 'Inter', sans-serif;
  background: transparent;
  color: #1a1a1a;
}
.chat-input input::placeholder { color: #aaa; }
.chat-input button {
  background: var(--rouge);
  color: #fff;
  border: none;
  padding: 11px 16px;
  cursor: pointer;
  font-size: 16px;
  transition: background .15s;
}
.chat-input button:hover { background: var(--rouge-dark); }

/* ── WA top button (autres pages) ── */
.wa-menu-wrap-top {
  position: fixed;
  top: 96px;
  right: 76px;
  z-index: 9000;
}
.wa-btn-top {
  position: relative;
  width: 52px; height: 52px;
  background: #25D366;
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(37,211,102,.4);
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa-btn-top svg { width: 26px; height: 26px; }
.wa-btn-top:hover { transform: scale(1.08); box-shadow: 0 8px 28px rgba(37,211,102,.5); }

.wa-popover-top {
  display: none;
  flex-direction: column;
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 220px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0,0,0,.2);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.06);
}
.wa-popover-top.open { display: flex; }
.wa-popover-top a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  font-family: 'Inter', sans-serif;
  font-size: .85rem;
  font-weight: 600;
  color: #0a0a0a;
  text-decoration: none;
  border-top: 1px solid var(--grey-6, #eee);
  transition: background .15s ease;
}
.wa-popover-top a:first-child { border-top: none; }
.wa-popover-top a:hover { background: #f4f9f6; }
.wa-popover-top a svg { width: 18px; height: 18px; color: #25D366; flex-shrink: 0; }

@media (max-width: 768px) {
  .wa-menu-wrap-top { top: auto; bottom: 148px; right: 16px; }
  .wa-popover-top { top: auto; bottom: calc(100% + 12px); }
}



/* ══════════════════════════════════════════════
   25. CATEGORY CHIPS BAR
══════════════════════════════════════════════ */
.cats-chips-bar {
  background: var(--white);
  border-bottom: 2px solid var(--grey-6);
  position: sticky;
  top: 80px;
  z-index: 100;
}

.cats-chips-scroll-wrap {
  position: relative;
  display: flex;
  align-items: stretch;
}

/* Dégradés fondu bords */
.cats-chips-scroll-wrap::before,
.cats-chips-scroll-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 60px;
  z-index: 2;
  pointer-events: none;
  transition: opacity .25s;
}
.cats-chips-scroll-wrap::before {
  left: 0;
  background: linear-gradient(to right, #fff 0%, transparent 100%);
}
.cats-chips-scroll-wrap::after {
  right: 0;
  background: linear-gradient(to left, #fff 0%, transparent 100%);
}
.cats-chips-scroll-wrap.at-start::before { opacity: 0; }
.cats-chips-scroll-wrap.at-end::after    { opacity: 0; }

.cats-chips-inner {
  display: flex;
  gap: 0;
  padding: 0 16px;
  overflow-x: scroll;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex: 1;
}
.cats-chips-inner::-webkit-scrollbar { display: none; }

.cat-chip {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  font-family: 'Syne', sans-serif;
  font-size: .82rem;
  font-weight: 700;
  color: var(--grey-3);
  background: transparent;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  transition: color .2s ease;
}
.cat-chip.active {
  color: var(--rouge);
  transform: scale(1.05);
}
.cat-chip::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--rouge);
  transform: scaleX(0);
  transition: transform .2s ease;
}
.cat-chip:hover { color: var(--black); }
.cat-chip:hover::after,
.cat-chip.active::after { transform: scaleX(1); }

.cat-chip-emoji { font-size: 1.1rem; }

.chip-sep {
  width: 1px;
  background: var(--grey-6);
  align-self: stretch;
  flex-shrink: 0;
  margin: 10px 4px;
}

.cat-chip-pill {
  background: var(--grey-6);                  /* ✓ var existante */
  color: var(--grey-3);                       /* ✓ var existante */
  font-size: .65rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 100px;
  transition: all var(--transition);
  font-family: 'Inter', sans-serif;
}
.cat-chip.active .cat-chip-pill {            /* ✓ état actif */
  background: rgba(214,5,19,.1);
  color: var(--rouge);
}

/* ── SUBCATEGORY BAR (productos.html) ── */
.subcats-bar {
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,.08);
  padding: 0 40px;
  position: sticky;
  top: calc(80px + 52px);
  z-index: 99;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.subcats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  padding: 12px 0;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}
.subcats-inner::-webkit-scrollbar { display: none; }
.subcat-label {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--grey-3);
  margin-right: 8px;
  flex-shrink: 0;
}
.subcat-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  font-family: 'Inter', sans-serif;
  font-size: .78rem;
  font-weight: 500;
  color: var(--grey-2);
  background: var(--grey-6, #f4f4f4);
  border: 1.5px solid transparent;
  border-radius: 50px;
  cursor: pointer;
  transition: all .18s ease;
  white-space: nowrap;
  flex-shrink: 0;
}
.subcat-chip:hover {
  border-color: var(--rouge);
  color: var(--rouge);
  background: rgba(214,5,19,.05);
}
.subcat-chip.active {
  background: var(--rouge);
  border-color: var(--rouge);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(214,5,19,.3);
}
.subcat-chip-count {
  font-size: .66rem;
  font-weight: 700;
  background: rgba(0,0,0,.1);
  padding: 1px 6px;
  border-radius: 100px;
  opacity: .8;
}
.subcat-chip.active .subcat-chip-count {
  background: rgba(255,255,255,.25);
  opacity: 1;
}

/* Modal serie badge */
.modal-serie { font-size: .78rem; color: var(--grey-3); letter-spacing: .05em; }
.modal-serie strong { color: var(--rouge); }
/* ══════════════════════════════════════════════════════════════
   EUROTEC — PRODUCT CARDS AMÉLIORÉES
   Ajouté en bas de style.css — surcharge/complète les règles existantes
   ══════════════════════════════════════════════════════════════ */

/* ── 1. HAUTEUR UNIFORME ─────────────────────────────────────── */
#productsGrid {
  align-items: stretch;
}

.product-card {
  height: 100%;
  box-sizing: border-box;
  min-height: 420px;
  transition: transform .3s ease, box-shadow .3s ease;
}

/* ── 2. IMAGE PRODUIT — CONTAIN SANS DÉFORMATION ────────────── */
.product-card-img {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--beige);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.product-card-img img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform .45s ease;
  display: block;
}

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

/* Skeleton pendant chargement */
.product-card-img img[src=""],
.product-card-img img:not([src]) {
  background: linear-gradient(90deg, var(--beige) 25%, var(--beige-dark) 50%, var(--beige) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.4s infinite;
}

@keyframes skeleton-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── 3. DESCRIPTION — 3 LIGNES + ELLIPSIS ───────────────────── */
.product-card-desc {
  font-size: .78rem;
  color: var(--grey-3);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: calc(1.55em * 3);
  word-break: break-word;
  overflow-wrap: break-word;
}

/* ── 4. BADGE CATÉGORIE PREMIUM ─────────────────────────────── */
.product-card-cat {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--rouge);
  color: var(--white);
  font-family: 'Syne', sans-serif;
  font-size: .60rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(214, 5, 19, .35);
  line-height: 1.3;
  max-width: calc(100% - 20px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── 5. RÉFÉRENCE PRODUIT — DISCRÈTE ────────────────────────── */
.product-card-ref {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0, 0, 0, .45);
  color: rgba(255, 255, 255, .72);
  font-size: .58rem;
  font-weight: 500;
  font-family: 'Courier New', monospace;
  letter-spacing: .04em;
  padding: 2px 7px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,.12);
  line-height: 1.4;
}

/* ── 6. FOOTER + BOUTONS UNIFORMISÉS ────────────────────────── */
.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--beige-dark);
  margin-top: auto;
  flex-shrink: 0;
}

.btn-add {
  min-height: 34px;
  min-width: 110px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 7px 11px;
  font-size: .70rem;
  font-weight: 700;
  font-family: 'Syne', sans-serif;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  background: var(--rouge);
  color: var(--white);
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
  white-space: nowrap;
  will-change: transform;
}

.btn-add svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.btn-add:hover {
  background: var(--rouge-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(214, 5, 19, .28);
}

.btn-add.added {
  background: #e8f5e9;
  color: #2e7d32;
  cursor: default;
  border: 1.5px solid #a5d6a7;
  box-shadow: none;
}

.btn-add.added:hover {
  transform: none;
  box-shadow: none;
  background: #e8f5e9;
}

.btn-zoom {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 8px;
  border: 1.5px solid var(--grey-5);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease, box-shadow .2s ease;
  flex-shrink: 0;
}

.btn-zoom:hover {
  border-color: var(--rouge);
  color: var(--rouge);
  box-shadow: 0 2px 8px rgba(214, 5, 19, .18);
}

/* ── 7. PERFORMANCE — ISOLATION RENDERING ───────────────────── */
.product-card.reveal {
  contain: layout style;
}

/* ── 8. RESPONSIVE MOBILE ───────────────────────────────────── */
@media (max-width: 600px) {
  .product-card {
    min-height: 360px;
  }

  .product-card-img {
    aspect-ratio: 16 / 10;
  }

  .product-card-body {
    padding: 12px;
    gap: 5px;
  }

  .product-card-name {
    font-size: .82rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .product-card-desc {
    -webkit-line-clamp: 2;
    max-height: calc(1.55em * 2);
  }

  .product-card-cat {
    font-size: .55rem;
    padding: 3px 7px;
  }

  .product-card-footer {
    padding-top: 8px;
    gap: 6px;
  }

  .btn-add {
    min-width: 90px;
    padding: 6px 8px;
    font-size: .65rem;
  }

  .product-card-specs {
    display: none;
  }
}

@media (max-width: 420px) {
  #productsGrid {
    grid-template-columns: 1fr !important;
  }
}
/* ══ FIN PRODUCT CARDS AMÉLIORÉES ══════════════════════════════ */
.opening-notice{
  display: inline-block;
  margin: 20px 0;
  padding: 14px 22px;
  background: rgba(214, 7, 20, 0.12);
  border: 1px solid rgba(214, 7, 20, 0.25);
  border-left: 4px solid #2e7d32;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  max-width: 700px;
}
.opening-notice strong{
  color:#2e7d32;
}