/* ============================================================
   FollowMeCare — Hoja de estilos principal
   Paleta: rosa y dorado, cálido, premium, aspiracional
   Referencia: Dieux Skin (dieuxskin.com)
   ============================================================ */

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

/* ── Tokens ── */
:root {
  --canvas:          #FDFAF7;
  --canvas-soft:     #FFF5F0;
  --canvas-card:     #FFFFFF;
  --canvas-dark:     #3D1A24;
  --canvas-dark2:    #2A0F18;

  --text-primary:    #1C0A10;
  --text-secondary:  #7A5A62;
  --text-muted:      #B49AA0;
  --text-on-dark:    #FDF0EA;

  --rose:            #D4607A;
  --rose-light:      #F0A0B4;
  --rose-pale:       #FAE8ED;
  --rose-dark:       #A8435A;

  --gold:            #C9924A;
  --gold-light:      #E8C48A;
  --gold-pale:       #FBF3E8;

  --border:          rgba(212,96,122,0.12);
  --border-hover:    rgba(212,96,122,0.35);

  --ml-yellow:       #FFE600;
  --ml-blue:         #3483FA;

  --ease-out:        cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:     cubic-bezier(0.65, 0, 0.35, 1);

  --font-display:    'Cormorant Garamond', Georgia, serif;
  --font-body:       'DM Sans', system-ui, sans-serif;

  --fs-hero:         clamp(2.8rem, 7vw, 6.5rem);
  --fs-h1:           clamp(2rem, 4.5vw, 3.5rem);
  --fs-h2:           clamp(1.5rem, 3vw, 2.2rem);
  --fs-h3:           clamp(1rem, 1.8vw, 1.25rem);
  --fs-body:         1rem;
  --fs-small:        0.875rem;
  --fs-micro:        0.75rem;

  --section-gap:     clamp(4rem, 9vw, 8rem);
  --inner-gap:       clamp(2rem, 4vw, 3.5rem);
  --gutter:          clamp(1.5rem, 6vw, 5rem);
  --grid-gap:        clamp(1rem, 2vw, 1.5rem);
  --card-radius:     16px;
  --radius:          8px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: clip; scroll-behavior: smooth; }
body {
  overflow-x: clip;
  background: var(--canvas);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; background: none; border: none; font: inherit; color: inherit; }

/* ── Skip link ── */
.skip-link {
  position: absolute; top: -100%; left: 1rem;
  background: var(--rose); color: #fff;
  padding: 0.5rem 1rem; border-radius: var(--radius);
  font-size: var(--fs-small); font-weight: 500; z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ============================================================
   BARRA DE ANUNCIO
   ============================================================ */
#announcement {
  background: var(--canvas-dark);
  color: var(--gold-light);
  font-size: var(--fs-micro);
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 0.6rem var(--gutter);
  position: relative;
  z-index: 900;
}
#announcement a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }
.ann-close {
  position: absolute; right: 1rem; top: 50%; transform: translateY(-50%);
  color: var(--gold-light); opacity: 0.6; font-size: 1rem;
  transition: opacity 0.2s;
}
.ann-close:hover { opacity: 1; }

/* ============================================================
   PRELOADER
   ============================================================ */
#preloader {
  position: fixed; inset: 0; z-index: 9000;
  background: var(--canvas);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1.5rem;
  transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}
#preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.pre-logo-text {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  color: var(--rose);
  letter-spacing: 0.1em;
  opacity: 0;
  animation: pre-in 0.5s 0.2s var(--ease-out) forwards;
}
.pre-tagline {
  font-family: var(--font-body);
  font-size: var(--fs-micro);
  color: var(--text-muted);
  letter-spacing: 0.12em;
  opacity: 0;
  animation: pre-in 0.5s 0.4s var(--ease-out) forwards;
}
.pre-bar-wrap { width: 160px; height: 1px; background: var(--border); }
.pre-bar { height: 100%; background: linear-gradient(90deg, var(--rose), var(--gold)); width: 0%; transition: width 0.1s linear; }
.pre-pct { font-size: var(--fs-micro); color: var(--text-muted); letter-spacing: 0.08em; }
@keyframes pre-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ============================================================
   NAVEGACIÓN
   ============================================================ */
#nav {
  position: sticky; top: 0; z-index: 800;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem var(--gutter);
  background: rgba(253,250,247,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: padding 0.3s;
}
#nav.scrolled { padding-top: 0.75rem; padding-bottom: 0.75rem; }

.nav-brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--rose-dark);
  letter-spacing: 0.05em;
}

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  font-size: var(--fs-small); font-weight: 400;
  color: var(--text-secondary);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0;
  width: 0; height: 1px; background: var(--rose);
  transition: width 0.3s var(--ease-out);
}
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta-btn {
  background: var(--rose);
  color: #fff !important;
  padding: 0.55em 1.4em;
  border-radius: var(--radius);
  font-weight: 500;
  transition: background 0.2s, transform 0.2s !important;
}
.nav-cta-btn::after { display: none !important; }
.nav-cta-btn:hover { background: var(--rose-dark) !important; transform: translateY(-1px); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 24px; }
.nav-toggle span { display: block; height: 1.5px; background: var(--text-primary); border-radius: 2px; transition: transform 0.3s var(--ease-out), opacity 0.3s, width 0.3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile {
  display: none; position: fixed; inset: 0; z-index: 700;
  background: var(--canvas); flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile a { font-family: var(--font-display); font-size: clamp(1.8rem, 5vw, 2.8rem); font-weight: 300; color: var(--text-secondary); transition: color 0.2s; }
.nav-mobile a:hover { color: var(--rose); }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
}

/* ============================================================
   BOTONES
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 0.5em;
  padding: 0.85em 2em; font-size: var(--fs-small); font-weight: 500;
  border-radius: var(--radius); border: none; cursor: pointer;
  transition: background 0.2s var(--ease-out), transform 0.2s var(--ease-out), box-shadow 0.2s;
  white-space: nowrap;
}
.btn:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }
@media (pointer: coarse) { .btn { min-height: 44px; } }

.btn-primary { background: var(--rose); color: #fff; }
.btn-primary:hover { background: var(--rose-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(212,96,122,0.3); }

.btn-ml {
  background: var(--ml-yellow); color: #1a1a1a;
  font-weight: 600;
}
.btn-ml:hover { background: #FFD000; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,214,0,0.35); }

.btn-outline {
  background: transparent; color: var(--rose);
  border: 1.5px solid var(--rose);
}
.btn-outline:hover { background: var(--rose-pale); transform: translateY(-2px); }

.btn-ghost {
  background: transparent; color: var(--text-secondary);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--border-hover); color: var(--text-primary); }

/* ============================================================
   SECCIONES — estructura general
   ============================================================ */
.section { padding: var(--section-gap) var(--gutter); }
.section-alt { background: var(--canvas-soft); }

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 1.13rem;
  color: var(--rose);
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-primary);
}
.section-sub {
  margin-top: 0.75rem;
  font-size: clamp(0.9rem, 1.4vw, 1rem);
  color: var(--text-secondary);
  max-width: 58ch; line-height: 1.7;
}

/* Entrances */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); }
.reveal.visible { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: 0.07s; }
.reveal:nth-child(3) { transition-delay: 0.14s; }
.reveal:nth-child(4) { transition-delay: 0.21s; }
.reveal:nth-child(5) { transition-delay: 0.28s; }
.reveal:nth-child(6) { transition-delay: 0.35s; }

/* ============================================================
   HERO
   ============================================================ */
#hero {
  position: relative;
  min-height: 90svh;
  display: flex; align-items: center;
  padding: 5rem var(--gutter);
  overflow: hidden;
  background: var(--canvas-soft);
}
.hero-bg-img {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.22;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(105deg, rgba(253,250,247,0.92) 45%, rgba(253,250,247,0.4) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 680px;
}
.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 1.13rem;
  color: var(--rose);
  letter-spacing: 0.14em;
  margin-bottom: 1.25rem;
  display: flex; align-items: center; gap: 0.6rem;
}
.hero-eyebrow::before { content: ''; display: block; width: 20px; height: 1px; background: var(--rose); }
.hero-headline {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}
.hero-headline strong { font-weight: 600; color: var(--rose-dark); }
.hero-sub {
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  color: var(--text-secondary);
  max-width: 50ch; line-height: 1.75; margin-bottom: 2.5rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

/* ============================================================
   CATEGORÍAS
   ============================================================ */
#categorias { padding: var(--section-gap) var(--gutter); }
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(160px, 100%), 1fr));
  gap: var(--grid-gap);
  margin-top: var(--inner-gap);
}
.cat-card {
  position: relative; border-radius: var(--card-radius);
  overflow: hidden; aspect-ratio: 3/4; cursor: pointer;
  background: var(--canvas-soft);
  text-decoration: none;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(60,10,20,0.12); }
.cat-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease-out); }
.cat-card:hover .cat-card-img { transform: scale(1.05); }
.cat-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(61,26,36,0.72) 0%, rgba(61,26,36,0.1) 55%, transparent 100%);
  display: flex; align-items: flex-end; padding: 1.25rem 1rem;
}
.cat-card-name {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  font-weight: 300; color: #fff;
  line-height: 1.2;
}

/* ============================================================
   PRODUCTOS — CARDS
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
  gap: var(--grid-gap);
  margin-top: var(--inner-gap);
}
.product-card {
  background: var(--canvas-card);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(60,10,20,0.1); }

.product-card-img-wrap {
  position: relative; aspect-ratio: 1/1;
  overflow: hidden; background: var(--canvas-soft); cursor: pointer;
}
.product-card-img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.5s var(--ease-out); padding: 0.5rem; }
.product-card:hover .product-card-img { transform: scale(1.04); }

.product-badge {
  position: absolute; top: 0.75rem; left: 0.75rem;
  font-size: var(--fs-micro); font-weight: 600;
  padding: 0.2em 0.7em; border-radius: 20px; letter-spacing: 0.04em;
}
.badge-bestseller { background: var(--rose); color: #fff; }
.badge-nuevo      { background: var(--gold); color: #fff; }
.badge-oferta     { background: var(--canvas-dark); color: var(--gold-light); }

.platform-badge {
  position: absolute; top: 0.75rem; right: 0.75rem;
  font-size: 9px; font-weight: 700;
  padding: 0.2em 0.6em; border-radius: 4px;
  background: var(--ml-yellow); color: #333;
  letter-spacing: 0.04em;
}

.product-card-body { padding: 1.1rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.product-brand { font-size: var(--fs-micro); color: var(--text-muted); letter-spacing: 0.06em; text-transform: uppercase; }
.product-name {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 400;
  color: var(--text-primary); line-height: 1.3; cursor: pointer;
}
.product-name:hover { color: var(--rose-dark); }
.product-rating { display: flex; align-items: center; gap: 0.3rem; font-size: var(--fs-micro); color: var(--text-secondary); }
.stars { color: var(--gold); letter-spacing: -2px; font-size: 0.7rem; }
.product-price-row { display: flex; align-items: baseline; gap: 0.5rem; margin-top: 0.25rem; }
.product-price { font-size: 1.05rem; font-weight: 600; color: var(--text-primary); }
.product-price-original { font-size: var(--fs-small); color: var(--text-muted); text-decoration: line-through; }
.product-card-cta { margin-top: auto; padding-top: 0.75rem; }
.product-card-cta .btn { width: 100%; justify-content: center; font-size: var(--fs-micro); padding: 0.7em 1em; }

/* Nota de afiliado */
.affiliate-note {
  font-size: var(--fs-micro); color: var(--text-muted);
  line-height: 1.5; margin-top: 0.5rem; max-width: 44ch;
}

/* ============================================================
   ACORDEÓN DE PRODUCTOS POR SUBCATEGORÍA (solo móvil)
   ============================================================ */
.grid-mobile-accordion { display: none; margin-top: var(--inner-gap); }
.acc-item { border-bottom: 1px solid var(--border); }
.acc-head {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 1.1rem 0; background: none; border: none;
  cursor: pointer; text-align: left; font-family: inherit;
}
.acc-head h3 {
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 500;
  color: var(--text-primary); margin: 0;
}
.acc-meta { display: flex; align-items: center; gap: 0.5rem; }
.acc-count { font-size: var(--fs-micro); color: var(--rose); font-weight: 600; }
.acc-chevron { font-size: 0.85rem; color: var(--text-secondary); transition: transform 0.25s; display: inline-block; }
.acc-item.open .acc-chevron { transform: rotate(180deg); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.acc-item.open .acc-body { max-height: 760px; }
.card-row { display: flex; gap: 0.85rem; overflow-x: auto; padding: 0 0 1.2rem; scroll-snap-type: x mandatory; }
.card-row .product-card { flex: 0 0 auto; width: 200px; scroll-snap-align: start; }

@media (max-width: 600px) {
  .products-grid-with-accordion { display: none; }
  .grid-mobile-accordion { display: block; }
}

/* ============================================================
   ANTES Y DESPUÉS
   ============================================================ */
#resultados { background: var(--canvas-soft); }
.ba-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: var(--grid-gap);
  margin-top: var(--inner-gap);
}
.ba-card {
  background: var(--canvas-card);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  overflow: hidden;
  transition: box-shadow 0.3s;
}
.ba-card:hover { box-shadow: 0 8px 28px rgba(60,10,20,0.1); }
.ba-img-wrap { aspect-ratio: 3/2; overflow: hidden; background: var(--canvas-soft); }
.ba-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.ba-body { padding: 1.25rem; }
.ba-quote {
  font-family: var(--font-display);
  font-size: 0.95rem; font-style: italic;
  color: var(--text-secondary); line-height: 1.65;
  margin-bottom: 1rem;
}
.ba-quote::before { content: '"'; }
.ba-quote::after  { content: '"'; }
.ba-author { font-size: var(--fs-micro); color: var(--text-muted); }
.ba-author strong { color: var(--text-secondary); display: block; margin-bottom: 0.2rem; }

/* ============================================================
   TESTIMONIOS
   ============================================================ */
.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: var(--grid-gap);
  margin-top: var(--inner-gap);
}
.testi-card {
  background: var(--canvas-card);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 1.75rem; display: flex; flex-direction: column; gap: 1rem;
  transition: border-color 0.3s;
}
.testi-card:hover { border-color: var(--border-hover); }
.testi-stars { color: var(--gold); letter-spacing: -1px; font-size: 0.85rem; }
.testi-quote { font-family: var(--font-display); font-size: 0.95rem; font-style: italic; color: var(--text-secondary); line-height: 1.7; flex: 1; }
.testi-quote::before { content: '"'; } .testi-quote::after { content: '"'; }
.testi-author { display: flex; align-items: center; gap: 0.75rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.testi-avatar { width: 38px; height: 38px; border-radius: 50%; overflow: hidden; background: var(--rose-pale); flex-shrink: 0; }
.testi-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testi-name { font-size: var(--fs-small); font-weight: 500; color: var(--text-primary); }
.testi-city { font-size: var(--fs-micro); color: var(--text-muted); }

/* ============================================================
   BLOG PREVIEW
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: var(--grid-gap);
  margin-top: var(--inner-gap);
}
.blog-card {
  background: var(--canvas-card);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(60,10,20,0.08); }
.blog-card-img { aspect-ratio: 16/9; overflow: hidden; background: var(--canvas-soft); }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease-out); }
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-body { padding: 1.25rem; }
.blog-cat { font-size: var(--fs-micro); color: var(--rose); letter-spacing: 0.08em; margin-bottom: 0.5rem; }
.blog-title { font-family: var(--font-display); font-size: 1.05rem; font-weight: 400; line-height: 1.35; color: var(--text-primary); margin-bottom: 0.5rem; }
.blog-excerpt { font-size: var(--fs-small); color: var(--text-secondary); line-height: 1.65; margin-bottom: 1rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-meta { font-size: var(--fs-micro); color: var(--text-muted); }

/* ============================================================
   CTA BANNER
   ============================================================ */
#cta-banner {
  background: linear-gradient(135deg, var(--canvas-dark) 0%, var(--canvas-dark2) 100%);
  padding: clamp(4rem, 8vw, 7rem) var(--gutter);
  text-align: center;
}
.cta-headline { font-family: var(--font-display); font-size: var(--fs-h1); font-weight: 300; color: var(--text-on-dark); line-height: 1.15; margin-bottom: 1rem; }
.cta-sub { font-size: clamp(0.9rem, 1.4vw, 1rem); color: rgba(253,240,234,0.65); margin-bottom: 2.5rem; max-width: 46ch; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ============================================================
   EMAIL CAPTURE
   ============================================================ */
#email-capture {
  background: var(--rose-pale);
  border-top: 1px solid var(--border);
  padding: clamp(3rem, 6vw, 5rem) var(--gutter);
  text-align: center;
}
.email-headline { font-family: var(--font-display); font-size: var(--fs-h2); font-weight: 300; margin-bottom: 0.5rem; }
.email-sub { font-size: var(--fs-small); color: var(--text-secondary); margin-bottom: 1.75rem; }
.email-form {
  display: flex; gap: 0.75rem; max-width: 420px;
  margin: 0 auto; flex-wrap: wrap; justify-content: center;
}
.email-form input[type="email"] {
  flex: 1; min-width: 200px;
  padding: 0.8em 1.2em;
  border: 1.5px solid var(--border-hover);
  border-radius: var(--radius);
  font-family: var(--font-body); font-size: var(--fs-small);
  background: #fff; color: var(--text-primary);
  outline: none; transition: border-color 0.2s;
}
.email-form input[type="email"]:focus { border-color: var(--rose); }
.email-disclaimer { font-size: var(--fs-micro); color: var(--text-muted); margin-top: 0.75rem; }

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  background: var(--canvas-dark);
  color: var(--text-on-dark);
  padding: clamp(3rem, 6vw, 5rem) var(--gutter) 2rem;
}
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem; padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 2rem;
}
.footer-brand { font-family: var(--font-display); font-size: 1.5rem; font-weight: 300; color: var(--gold-light); margin-bottom: 0.75rem; }
.footer-desc { font-size: var(--fs-small); color: rgba(253,240,234,0.55); line-height: 1.65; max-width: 34ch; }
.footer-col-title { font-size: var(--fs-small); font-weight: 500; color: var(--text-on-dark); margin-bottom: 1rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { font-size: var(--fs-small); color: rgba(253,240,234,0.55); transition: color 0.2s; }
.footer-links a:hover { color: var(--gold-light); }
.footer-socials { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.social-link {
  width: 34px; height: 34px; background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}
.social-link:hover { background: rgba(212,96,122,0.2); border-color: var(--rose); }
.social-link svg { width: 15px; height: 15px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-copy { font-size: var(--fs-micro); color: rgba(253,240,234,0.35); }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { font-size: var(--fs-micro); color: rgba(253,240,234,0.35); transition: color 0.2s; }
.footer-legal a:hover { color: rgba(253,240,234,0.7); }
.footer-affiliate-note { font-size: var(--fs-micro); color: rgba(253,240,234,0.3); margin-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.06); padding-top: 1rem; }

@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-top { grid-template-columns: 1fr; gap: 2rem; } .footer-bottom { flex-direction: column; align-items: flex-start; } }

/* ============================================================
   PÁGINA DE DETALLE DE PRODUCTO
   ============================================================ */
.product-detail-wrap {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: start;
  padding: 3rem var(--gutter) var(--section-gap);
  max-width: 1200px; margin: 0 auto;
}
.gallery-main { aspect-ratio: 1/1; border-radius: var(--card-radius); overflow: hidden; background: var(--canvas-soft); margin-bottom: 0.75rem; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; transition: opacity 0.3s; }
.gallery-thumbs { display: flex; gap: 0.5rem; }
.gallery-thumb { width: 72px; height: 72px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; cursor: pointer; transition: border-color 0.2s; background: var(--canvas-soft); }
.gallery-thumb.active { border-color: var(--rose); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; }

.product-detail-info { display: flex; flex-direction: column; gap: 1rem; }
.detail-category { font-size: var(--fs-micro); color: var(--rose); letter-spacing: 0.1em; }
.detail-brand { font-size: var(--fs-micro); color: var(--text-muted); letter-spacing: 0.06em; text-transform: uppercase; }
.detail-name { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 400; line-height: 1.2; }
.detail-rating { display: flex; align-items: center; gap: 0.5rem; font-size: var(--fs-small); color: var(--text-secondary); }
.detail-price { font-size: 1.6rem; font-weight: 600; color: var(--text-primary); }
.detail-price-original { font-size: var(--fs-small); color: var(--text-muted); text-decoration: line-through; margin-left: 0.5rem; }
.detail-desc { font-size: var(--fs-small); color: var(--text-secondary); line-height: 1.75; max-width: 52ch; border-top: 1px solid var(--border); padding-top: 1rem; }
.detail-cta { display: flex; flex-direction: column; gap: 0.5rem; }
.detail-cta .btn { justify-content: center; padding: 1em 2em; font-size: var(--fs-body); }

.detail-tabs { margin-top: 2rem; border-top: 1px solid var(--border); }
.tab-btns { display: flex; gap: 0; border-bottom: 1px solid var(--border); }
.tab-btn { font-size: var(--fs-small); font-weight: 400; color: var(--text-secondary); padding: 0.85rem 1.5rem; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color 0.2s, border-color 0.2s; }
.tab-btn.active { color: var(--text-primary); border-bottom-color: var(--rose); }
.tab-content { display: none; padding: 1.5rem 0; font-size: var(--fs-small); color: var(--text-secondary); line-height: 1.75; }
.tab-content.active { display: block; }
.tab-content ul { display: flex; flex-direction: column; gap: 0.5rem; list-style: disc; padding-left: 1.2rem; }

.related-section { padding: var(--section-gap) var(--gutter); background: var(--canvas-soft); }

@media (max-width: 768px) {
  .product-detail-wrap { grid-template-columns: 1fr; gap: 2rem; }
}

/* ============================================================
   PÁGINAS INTERNAS — hero genérico
   ============================================================ */
.page-hero {
  padding: 5rem var(--gutter) 3rem;
  background: var(--canvas-soft);
  border-bottom: 1px solid var(--border);
}
.page-hero-label { font-size: var(--fs-micro); color: var(--rose); letter-spacing: 0.12em; margin-bottom: 0.75rem; }
.page-hero-title { font-family: var(--font-display); font-size: var(--fs-h1); font-weight: 300; line-height: 1.15; max-width: 22ch; }
.page-hero-sub { font-size: clamp(0.9rem, 1.4vw, 1rem); color: var(--text-secondary); margin-top: 0.75rem; max-width: 52ch; line-height: 1.7; }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  padding: 1rem var(--gutter);
  font-size: var(--fs-micro); color: var(--text-muted);
  display: flex; align-items: center; gap: 0.5rem;
  border-bottom: 1px solid var(--border);
}
.breadcrumb a { color: var(--text-muted); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--rose); }
.breadcrumb span { opacity: 0.4; }

/* ============================================================
   FILTROS DEL CATÁLOGO
   ============================================================ */
.catalog-filters {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  padding: 1.5rem var(--gutter);
  border-bottom: 1px solid var(--border);
  background: var(--canvas-card);
  position: sticky; top: 60px; z-index: 100;
}
.filter-pill {
  font-size: var(--fs-micro); font-weight: 400;
  padding: 0.4em 1em; border-radius: 20px;
  border: 1px solid var(--border);
  color: var(--text-secondary); background: transparent;
  cursor: pointer; transition: all 0.2s;
}
.filter-pill.active { background: var(--rose); color: #fff; border-color: var(--rose); }
.filter-pill:hover:not(.active) { border-color: var(--border-hover); color: var(--text-primary); }

/* ── Descripción corta del producto ── */
.product-short-desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin: 0.1rem 0 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Texto "No te olvides de ver las reseñas" ── */
.product-reviews-hint {
  font-size: 0.74rem;
  color: #C9924A;
  font-weight: 500;
  text-align: center;
  margin: 0.35rem 0 0;
  letter-spacing: 0.01em;
}

.product-card-cta { display: flex; flex-direction: column; gap: 0.35rem; }

/* ── Hero eyebrow "tú" énfasis ── */
.eyebrow-tu {
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--rose, #D4607A);
  letter-spacing: 0.03em;
}
