/* ============================================================
   Hyalurónica Profesional — Estilos globales
   Estética: clean luxury dermocosmético (ref: bycatarain.com).
   Crema arena + grafito + acento verde botánico / peltre.
   Tipografía: Cormorant Garamond (títulos) + Inter (cuerpo).
   NOTA: el prefijo de clases `.lfc-` es nombre interno heredado
   del scaffold base; NO se renombra (tocaría todas las vistas).
   ============================================================ */

/* ---------- Paleta y tokens (marca) ---------- */
:root {
  /* Tokens de marca Hyalurónica (brief) */
  --color-arena:           #FAF7F2;
  --color-arena-dark:      #F0E8DA;
  --color-grafito:         #3D3935;
  --color-peltre:          #B8A082;
  --color-verde:           #085041;
  --color-borde:           #E8E2D5;
  --color-text-secundario: #8B7355;
  --color-text-muted:      #5C564F;
  --font-serif:            'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans:             'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Escala (recoloreada cálida) — mismos NOMBRES que el scaffold
     para que todas las clases .lfc-* hereden la paleta nueva */
  --lfc-black:      #3D3935;            /* grafito = "texto fuerte" */
  --lfc-charcoal:   #2C2825;
  --lfc-gray-900:   #3D3935;
  --lfc-gray-700:   #5C564F;
  --lfc-gray-500:   #8B7355;
  --lfc-gray-300:   #C9BFAE;
  --lfc-gray-100:   #F0E8DA;
  --lfc-warm-bg:    #FAF7F2;
  --lfc-white:      #ffffff;

  /* Acento = verde botánico (peltre como acento 2) */
  --lfc-amber:      #085041;
  --lfc-amber-dark: #063C30;
  --lfc-peltre:     #B8A082;

  /* Estados (en tono cálido) */
  --lfc-success:    #085041;
  --lfc-error:      #9B2C2C;
  --lfc-info:       #5C564F;

  /* Aliases (compat con clases existentes en vistas) */
  --lfc-primary:        var(--color-grafito);
  --lfc-primary-dark:   var(--lfc-charcoal);
  --lfc-accent:         var(--color-verde);
  --lfc-accent-dark:    var(--lfc-amber-dark);
  --lfc-bg:             var(--color-arena);
  --lfc-bg-soft:        var(--color-arena-dark);
  --lfc-gray-light:     var(--color-arena-dark);
  --lfc-gray:           var(--color-text-muted);
  --lfc-text:           var(--color-grafito);
  --lfc-border:         var(--color-borde);

  /* Geometría: corte limpio, sin sombras dramáticas */
  --lfc-radius:         3px;
  --lfc-radius-lg:      4px;
  --lfc-shadow-sm:      0 1px 2px rgba(61,57,53,.04);
  --lfc-shadow:         0 6px 20px rgba(61,57,53,.06);
  --lfc-shadow-lg:      0 18px 44px rgba(61,57,53,.10);

  --lfc-font-display:   var(--font-serif);
  --lfc-font:           var(--font-sans);

  --lfc-header-h:       76px;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--lfc-font);
  color: var(--lfc-text);
  background: var(--lfc-warm-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv02','cv03','cv04','cv11';
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--lfc-font-display);   /* Cormorant Garamond (serif) */
  font-weight: 600;
  letter-spacing: 0;
  color: var(--color-grafito);
}

a { color: var(--color-grafito); text-decoration: none; }
a:hover { color: var(--color-verde); }

/* ---------- Bootstrap overrides ---------- */
.btn { border-radius: var(--lfc-radius); font-weight: 600; font-family: var(--lfc-font); }
/* Botones primarios: corte limpio sin radius (brief) */
.btn-primary, .btn-accent, .btn-lg { border-radius: 0; }
.btn-outline-secondary { border-radius: 0; }
.btn-primary {
  --bs-btn-bg: var(--lfc-black);
  --bs-btn-border-color: var(--lfc-black);
  --bs-btn-color: var(--lfc-white);
  --bs-btn-hover-bg: var(--lfc-charcoal);
  --bs-btn-hover-border-color: var(--lfc-charcoal);
  --bs-btn-hover-color: var(--lfc-white);
  --bs-btn-active-bg: var(--lfc-charcoal);
  --bs-btn-active-border-color: var(--lfc-charcoal);
  --bs-btn-disabled-bg: var(--lfc-gray-300);
  --bs-btn-disabled-border-color: var(--lfc-gray-300);
}
.btn-accent {
  --bs-btn-color: var(--lfc-white);
  --bs-btn-bg: var(--lfc-amber);
  --bs-btn-border-color: var(--lfc-amber);
  --bs-btn-hover-bg: var(--lfc-amber-dark);
  --bs-btn-hover-border-color: var(--lfc-amber-dark);
  --bs-btn-hover-color: var(--lfc-white);
  --bs-btn-active-bg: var(--lfc-amber-dark);
}
.btn-outline-secondary {
  --bs-btn-color: var(--lfc-black);
  --bs-btn-border-color: var(--lfc-black);
  --bs-btn-hover-bg: var(--lfc-black);
  --bs-btn-hover-border-color: var(--lfc-black);
  --bs-btn-hover-color: var(--lfc-white);
}
.btn-lg {
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 0.95rem 2rem;   /* sentence case, sin uppercase */
}
.text-primary { color: var(--lfc-black) !important; }
.text-accent  { color: var(--lfc-amber) !important; }
.bg-soft      { background: var(--lfc-warm-bg) !important; }

.form-control, .form-select {
  border-color: var(--lfc-border);
  border-radius: var(--lfc-radius);
}
.form-control:focus, .form-select:focus {
  border-color: var(--lfc-black);
  box-shadow: 0 0 0 3px rgba(10,10,10,.08);
}

/* ---------- Eyebrow + section titles (lookbook style) ---------- */
.lfc-eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--lfc-amber);
  margin-bottom: 0.75rem;
}
.lfc-section-title {
  font-family: var(--lfc-font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

/* ---------- Navbar ---------- */
.lfc-navbar {
  background: var(--lfc-white);
  border-bottom: 1px solid var(--lfc-border);
  min-height: var(--lfc-header-h);
}
.lfc-brand {
  font-family: var(--lfc-font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--lfc-black);
  letter-spacing: -0.03em;
}
.lfc-brand:hover { color: var(--lfc-black); }
.lfc-brand .lfc-brand-accent { color: var(--lfc-amber); }
.lfc-nav .nav-link {
  color: var(--lfc-gray-700);
  font-weight: 500;
  font-size: 0.9rem;
  padding: .5rem 1rem;
  letter-spacing: 0.02em;
  position: relative;
  transition: color .2s ease;
}
.lfc-nav .nav-link::after {
  content: '';
  position: absolute;
  left: 1rem; right: 1rem; bottom: 0.4rem;
  height: 1px; background: var(--lfc-black);
  transform: scaleX(0); transform-origin: right;
  transition: transform .3s ease;
}
.lfc-nav .nav-link:hover::after,
.lfc-nav .nav-link.active::after { transform: scaleX(1); transform-origin: left; }
.lfc-nav .nav-link:hover, .lfc-nav .nav-link.active { color: var(--lfc-black); }

.lfc-icon-btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 0;                /* anguloso */
  background: transparent;
  color: var(--lfc-black);
  border: none;
  font-size: 1.2rem;
  transition: color .2s ease, background .2s ease;
}
.lfc-icon-btn:hover { color: var(--lfc-amber); background: transparent; }
.lfc-cart-badge {
  position: absolute; top: 4px; right: 0px;
  background: var(--lfc-amber);
  color: var(--lfc-white);
  font-size: .65rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 1px 6px;
  min-width: 18px;
  text-align: center;
  line-height: 1.4;
  font-family: var(--lfc-font);
}

/* ---------- Hero (clean luxury, full-bleed claro) ---------- */
.lfc-hero {
  background:
    radial-gradient(120% 90% at 50% 0%, #ffffff 0%, var(--color-arena) 45%, var(--color-arena-dark) 100%);
  color: var(--color-grafito);
  padding: 8rem 0 7rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--color-borde);
}
.lfc-hero .lfc-eyebrow { color: var(--color-text-secundario); }
.lfc-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4.75rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0;
  margin-bottom: 1.5rem;
  color: var(--color-grafito);
}
.lfc-hero h1 em { color: var(--color-verde); font-style: italic; }
.lfc-hero .lead {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto 2.25rem;
  line-height: 1.7;
}

/* ---------- Cards / Productos ---------- */
.lfc-card {
  background: var(--lfc-white);
  border: 1px solid var(--lfc-border);
  border-radius: var(--lfc-radius-lg);
  box-shadow: none;
  transition: transform .25s ease, box-shadow .25s ease;
}

.lfc-product-card {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  transition: transform .25s ease;
}
.lfc-product-card:hover { transform: translateY(-4px); box-shadow: none; }

.lfc-product-card .lfc-product-img {
  background: var(--lfc-gray-100);
  aspect-ratio: 4 / 5;                /* formato lookbook, más vertical */
  border-radius: var(--lfc-radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--lfc-gray-300);
  overflow: hidden;
  position: relative;
}
.lfc-product-card .lfc-product-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s cubic-bezier(.22,.61,.36,1);
}
.lfc-product-card:hover .lfc-product-img img { transform: scale(1.04); }

.lfc-product-card .lfc-product-body { padding: 1rem 0 0.25rem; }
.lfc-product-card .lfc-product-name {
  font-family: var(--lfc-font);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0;
  color: var(--lfc-black);
  margin-bottom: 0.25rem;
  line-height: 1.3;
}
.lfc-product-card .lfc-product-price {
  font-family: var(--lfc-font);
  font-weight: 700;
  font-size: 1rem;
  color: var(--lfc-black);
  letter-spacing: -0.01em;
}

/* ---------- Bloque de confianza / valores ---------- */
.lfc-trust {
  padding: 5rem 0;
  background: var(--lfc-white);
  border-top: 1px solid var(--lfc-border);
  border-bottom: 1px solid var(--lfc-border);
}
.lfc-trust .item {
  text-align: left;
  padding: 0 1.5rem;
  position: relative;
}
.lfc-trust .item::before {
  content: attr(data-num);
  display: block;
  font-family: var(--lfc-font-display);
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--lfc-amber);
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}
.lfc-trust .item h5 {
  font-family: var(--lfc-font-display);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.lfc-trust .item p { color: var(--lfc-gray-500); font-size: 0.95rem; margin: 0; }

/* ---------- Footer ---------- */
.lfc-footer {
  background: var(--lfc-black);
  color: rgba(255,255,255,.6);
  padding: 5rem 0 1.5rem;
  margin-top: 5rem;
}
.lfc-footer h5 {
  color: var(--lfc-white);
  font-family: var(--lfc-font-display);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.25rem;
}
.lfc-footer a { color: rgba(255,255,255,.6); transition: color .2s ease; }
.lfc-footer a:hover { color: var(--lfc-amber); }
.lfc-footer ul { list-style: none; padding: 0; }
.lfc-footer ul li { margin-bottom: 0.5rem; font-size: 0.9rem; }
.lfc-footer .lfc-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 3rem;
  padding-top: 1.5rem;
  font-size: .8rem;
  color: rgba(255,255,255,.4);
  text-align: center;
  letter-spacing: 0.05em;
}

/* ---------- Botón flotante WhatsApp (más sutil, anguloso) ---------- */
.lfc-whatsapp-fab {
  position: fixed; right: 24px; bottom: 24px;
  width: 56px; height: 56px;
  background: var(--lfc-black); color: var(--lfc-white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--lfc-shadow-lg);
  z-index: 1030;
  transition: transform .2s ease, background .2s ease;
}
.lfc-whatsapp-fab:hover {
  background: #25d366;
  color: var(--lfc-white);
  transform: scale(1.05);
}

/* ---------- Selector talle / color (detalle producto) ---------- */
.lfc-variant-btn {
  min-width: 56px;
  padding: 0.6rem 1rem;
  border: 1px solid var(--lfc-border);
  background: var(--lfc-white);
  color: var(--lfc-black);
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--lfc-radius);
  transition: all .15s ease;
  cursor: pointer;
}
.lfc-variant-btn:hover { border-color: var(--lfc-black); }
.lfc-variant-btn.is-active {
  background: var(--lfc-black);
  border-color: var(--lfc-black);
  color: var(--lfc-white);
}

/* ---------- Flash messages ---------- */
.lfc-flash { border-radius: var(--lfc-radius); border-width: 0; border-left: 4px solid; }
.alert-success.lfc-flash { background: #f0fdf4; color: #15803d; border-left-color: #15803d; }
.alert-danger.lfc-flash  { background: #fef2f2; color: #b91c1c; border-left-color: #b91c1c; }
.alert-warning.lfc-flash { background: #FBF3E8; color: #8B5E34; border-left-color: var(--color-peltre); }
.alert-info.lfc-flash    { background: #f0f9ff; color: #0369a1; border-left-color: #0369a1; }

/* ============================================================
   LAYOUT ADMIN (intacto en lo funcional, retoques de paleta)
   ============================================================ */
.lfc-admin-body { background: var(--lfc-warm-bg); min-height: 100vh; }

.lfc-admin-sidebar {
  background: var(--lfc-black);
  color: rgba(255,255,255,.7);
  width: 240px;
  min-height: 100vh;
  position: fixed; left: 0; top: 0; bottom: 0;
  padding: 1.5rem 0;
  z-index: 1020;
}
.lfc-admin-sidebar .lfc-admin-brand {
  padding: 0 1.5rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: var(--lfc-white);
  font-family: var(--lfc-font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  display: block;
}
.lfc-admin-nav { padding: 1rem 0; }
.lfc-admin-nav .lfc-admin-link {
  display: flex; align-items: center; gap: .75rem;
  padding: .75rem 1.5rem;
  color: rgba(255,255,255,.7);
  font-weight: 500;
  font-size: 0.9rem;
  border-left: 2px solid transparent;
  text-decoration: none;
  transition: all .15s ease;
}
.lfc-admin-nav .lfc-admin-link:hover { background: rgba(255,255,255,.04); color: var(--lfc-white); }
.lfc-admin-nav .lfc-admin-link.active {
  background: rgba(255,255,255,.06);
  color: var(--lfc-white);
  border-left-color: var(--lfc-amber);
}
.lfc-admin-nav .lfc-admin-sep { border-top: 1px solid rgba(255,255,255,.08); margin: 1rem 1.5rem; }

.lfc-admin-main { margin-left: 240px; min-height: 100vh; display: flex; flex-direction: column; }
.lfc-admin-topbar {
  background: var(--lfc-white);
  border-bottom: 1px solid var(--lfc-border);
  padding: 1rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.lfc-admin-content { padding: 1.5rem; flex: 1; }

@media (max-width: 991.98px) {
  .lfc-admin-sidebar { transform: translateX(-100%); transition: transform .2s ease; }
  .lfc-admin-sidebar.is-open { transform: translateX(0); }
  .lfc-admin-main { margin-left: 0; }
  .lfc-admin-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 1010; display: none; }
  .lfc-admin-sidebar.is-open + .lfc-admin-overlay { display: block; }
}

/* ---------- Utilidades ---------- */
.lfc-empty { text-align: center; padding: 3rem 1rem; color: var(--lfc-gray-500); }

/* Borrar el border default de los <hr> en footer dark */
hr { border-top: 1px solid var(--lfc-border); opacity: 0.5; }

/* Pequeño ajuste a tablas en admin */
.table > :not(caption) > * > * { padding: 0.85rem 0.75rem; }
.table-light > th { background: var(--lfc-gray-100); font-weight: 600; color: var(--lfc-gray-700); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; }

/* ============================================================
   FASE 2 — Componentes Hyalurónica (home / layout)
   ============================================================ */

/* Top bar de USPs sobre el navbar */
.hyp-topbar {
  background: var(--color-grafito);
  color: var(--color-arena);
  font-size: .76rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
  padding: .5rem 1rem;
}
.hyp-topbar span { margin: 0 .9rem; white-space: nowrap; }
.hyp-topbar .sep { color: var(--color-peltre); }

/* Marca tipográfica (sin logo) */
.lfc-brand { font-family: var(--font-serif); font-weight: 600; letter-spacing: .01em; }
.lfc-brand .lfc-brand-accent { color: var(--color-verde); }

/* Banda 3 USPs */
.hyp-usps { background: var(--color-arena); border-bottom: 1px solid var(--color-borde); padding: 3.5rem 0; }
.hyp-usps .item { text-align: center; padding: 0 1.25rem; }
.hyp-usps .item i { font-size: 1.6rem; color: var(--color-verde); }
.hyp-usps .item h3 { font-size: 1.25rem; margin: .75rem 0 .35rem; }
.hyp-usps .item p { color: var(--color-text-muted); font-size: .92rem; margin: 0; }

/* Bloque manifiesto */
.hyp-manifiesto {
  background: var(--color-arena-dark);
  padding: 5.5rem 0;
  text-align: center;
}
.hyp-manifiesto h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.9rem);
  font-weight: 600;
  max-width: 760px;
  margin: 0 auto 1.25rem;
  line-height: 1.25;
}
.hyp-manifiesto p { color: var(--color-text-muted); max-width: 620px; margin: 0 auto 2rem; line-height: 1.8; }
.hyp-metricas { display: flex; gap: 2.5rem; justify-content: center; flex-wrap: wrap; }
.hyp-metricas .m b { font-family: var(--font-serif); font-size: 1.9rem; color: var(--color-verde); display: block; }
.hyp-metricas .m span { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--color-text-secundario); }

/* Banda "Libre de" */
.hyp-freefrom { padding: 3rem 0; background: #fff; border-bottom: 1px solid var(--color-borde); }
.hyp-freefrom .ff { display: flex; gap: 1.5rem 2.5rem; flex-wrap: wrap; justify-content: center; }
.hyp-freefrom .ff span {
  font-size: .82rem; color: var(--color-text-secundario);
  text-transform: uppercase; letter-spacing: .08em;
  display: inline-flex; align-items: center; gap: .45rem;
}
.hyp-freefrom .ff i { color: var(--color-peltre); }

/* Grilla "explorar por categorías" */
.hyp-cats { padding: 5rem 0; }
.hyp-cat-card {
  display: block; height: 100%;
  background: #fff; border: 1px solid var(--color-borde);
  padding: 1.6rem 1.4rem; transition: border-color .2s ease, transform .2s ease;
}
.hyp-cat-card:hover { border-color: var(--color-verde); transform: translateY(-3px); }
.hyp-cat-card h3 { font-size: 1.2rem; margin: 0 0 .4rem; }
.hyp-cat-card p { color: var(--color-text-muted); font-size: .88rem; margin: 0; line-height: 1.55; }
.hyp-cat-card .go { color: var(--color-verde); font-size: .8rem; font-weight: 600; margin-top: .9rem; display: inline-block; }

/* Precio con transferencia / combo (card + ficha) */
.hyp-price-now  { font-weight: 700; color: var(--color-grafito); }
.hyp-price-old  { color: var(--color-text-secundario); text-decoration: line-through; margin-right: .4rem; }
.hyp-price-transf { display: block; font-size: .78rem; color: var(--color-verde); margin-top: .15rem; }
.hyp-badge {
  display: inline-block; font-size: .62rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; padding: 2px 7px; border-radius: 2px;
  background: var(--color-arena-dark); color: var(--color-text-secundario); margin: 0 .25rem .25rem 0;
}
.hyp-badge.is-verde { background: #E1F5EE; color: var(--color-verde); }

/* ============================================================
   FASE 3 — Ficha de producto (6 tabs + badges + precio + WA)
   ============================================================ */

/* Badges grandes de certificación (columna derecha de la ficha) */
.hyp-fbadges { display:flex; flex-wrap:wrap; gap:.5rem; margin:.5rem 0 1.25rem; }
.hyp-fbadge {
  display:inline-flex; align-items:center; gap:.4rem;
  padding:.3rem .65rem; border-radius:3px;
  font-size:.72rem; font-weight:700; letter-spacing:.05em; text-transform:uppercase;
  background: var(--color-arena-dark); color: var(--color-text-secundario);
}
.hyp-fbadge i { font-size: .95rem; }
.hyp-fbadge.is-vegano   { background:#E1F5EE; color:#085041; }
.hyp-fbadge.is-anmat    { background:#F0E8DA; color:#8B7355; }
.hyp-fbadge.is-cruelty  { background:#FBEAF0; color:#B5377A; }
.hyp-fbadge.is-dermo    { background:#EEEDFE; color:#4338CA; }
.hyp-fbadge.is-oftalmo  { background:#E0F2FE; color:#0369A1; }
.hyp-fbadge.is-hipo     { background:#FFF7E6; color:#92400E; }

/* Bloque de precio (principal + transferencia + cuotas) */
.hyp-price-block { margin: 1rem 0 1.25rem; }
.hyp-price-main {
  font-family: var(--font-sans); font-weight: 700;
  font-size: 1.8rem; color: var(--color-grafito); line-height: 1;
}
.hyp-price-main .hyp-price-old {
  font-size: 1.1rem; font-weight: 500; color: var(--color-text-secundario);
  text-decoration: line-through; margin-right: .5rem;
}
.hyp-price-transf-line {
  font-size: .92rem; color: var(--color-verde); margin-top: .35rem;
}
.hyp-price-transf-line b { font-weight: 700; }
.hyp-price-cuotas {
  font-size: .86rem; color: var(--color-text-muted); margin-top: .2rem;
}

/* Botón "Consultar por WhatsApp" (verde outline) */
.hyp-wa-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  width: 100%; padding: .85rem 1rem; margin-top: .6rem;
  border: 1.5px solid var(--color-verde); color: var(--color-verde);
  background: transparent; font-weight: 600; border-radius: 0;
  transition: background .15s ease, color .15s ease;
  text-decoration: none;
}
.hyp-wa-btn:hover { background: var(--color-verde); color: #fff; }

/* Envío chico abajo del CTA */
.hyp-ficha-envio { font-size:.85rem; color: var(--color-text-muted); margin-top: .8rem; }
.hyp-ficha-envio i { color: var(--color-peltre); }

/* Línea + categoría arriba del título */
.hyp-ficha-linea {
  font-size:.78rem; letter-spacing:.1em; text-transform:uppercase;
  color: var(--color-text-secundario); margin-bottom:.4rem;
}

/* Tabs */
.hyp-tabs { margin-top: 3.5rem; }
.hyp-tabs-nav {
  display:flex; gap: 0; flex-wrap:wrap; border-bottom: 1px solid var(--color-borde);
}
.hyp-tabs-nav button {
  background: transparent; border: 0; padding: .9rem 1.25rem;
  font-family: var(--font-sans); font-weight: 500; font-size: .9rem;
  color: var(--color-text-muted); cursor: pointer; position: relative;
  letter-spacing: .02em;
}
.hyp-tabs-nav button::after {
  content:''; position:absolute; left:1.25rem; right:1.25rem; bottom:-1px;
  height:2px; background: var(--color-grafito);
  transform: scaleX(0); transform-origin:left; transition: transform .2s ease;
}
.hyp-tabs-nav button.is-active { color: var(--color-grafito); }
.hyp-tabs-nav button.is-active::after { transform: scaleX(1); }
.hyp-tabs-panel { padding: 2rem .25rem; }
.hyp-tabs-panel h4 {
  font-family: var(--font-serif); font-weight: 600; font-size: 1.1rem;
  letter-spacing: 0; margin: 0 0 .6rem;
}
.hyp-tabs-panel ul { padding-left: 1.2rem; }
.hyp-tabs-panel ul li { margin-bottom: .35rem; line-height: 1.55; }

/* Placeholder "[A COMPLETAR DEL ENVASE]" — visualmente identificable */
.hyp-pending {
  display: inline-block;
  font-style: italic; color: var(--color-text-secundario);
  border: 1px dashed var(--color-borde); padding: .35rem .6rem; border-radius: 3px;
  font-size: .88rem;
}

/* Grid de certificaciones (tab) */
.hyp-cert-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}
.hyp-cert-grid .cert {
  border: 1px solid var(--color-borde); padding: 1rem; text-align: center;
  background: #fff;
}
.hyp-cert-grid .cert i { font-size: 1.6rem; color: var(--color-verde); }
.hyp-cert-grid .cert h5 {
  font-family: var(--font-serif); font-size: 1rem; margin: .5rem 0 .25rem;
}
.hyp-cert-grid .cert p { font-size: .8rem; color: var(--color-text-muted); margin: 0; }

/* Bloque "Libre de" al pie de la ficha */
.hyp-libre-de {
  margin-top: 3rem; padding: 2rem 0;
  background: var(--color-arena-dark); border-top: 1px solid var(--color-borde);
  border-bottom: 1px solid var(--color-borde);
}
.hyp-libre-de h4 {
  font-family: var(--font-serif); font-size: 1.1rem; text-align:center;
  margin: 0 0 1rem; color: var(--color-grafito);
}
.hyp-libre-de .ff { display:flex; gap: 1.25rem 2rem; flex-wrap:wrap; justify-content:center; }
.hyp-libre-de .ff span {
  font-size:.85rem; color: var(--color-text-secundario);
  text-transform: uppercase; letter-spacing:.08em;
  display: inline-flex; align-items: center; gap: .4rem;
}
.hyp-libre-de .ff i { color: var(--color-peltre); font-size: 1.05rem; }

/* "Beneficios" / "Indicado para" en dos columnas en la tab Descripción */
.hyp-desc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 1.5rem; }
@media (max-width: 575px) { .hyp-desc-cols { grid-template-columns: 1fr; } }

/* ============================================================
   FASE 4 — Filtros del catálogo (sidebar)
   ============================================================ */
.hyp-filtros { background: #fff; }
.hyp-filtros h3 {
  font-family: var(--font-sans);
  font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--color-text-secundario);
  margin: 1rem 0 .55rem; padding-top: .65rem;
  border-top: 1px solid var(--color-borde);
}
.hyp-filtros h3:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.hyp-filtros .group { margin-bottom: .25rem; }
.hyp-filtros .group-scroll {
  max-height: 220px; overflow-y: auto;
  padding-right: .25rem;
}
.hyp-check {
  display: flex; align-items: center; gap: .55rem;
  padding: .2rem 0; cursor: pointer; user-select: none;
  font-size: .88rem; color: var(--color-grafito);
}
.hyp-check input[type=checkbox] {
  appearance: none; -webkit-appearance: none;
  width: 16px; height: 16px;
  border: 1.5px solid var(--color-borde);
  background: #fff; border-radius: 2px;
  display: inline-grid; place-content: center;
  transition: border-color .15s ease, background .15s ease;
  cursor: pointer; flex: 0 0 16px;
}
.hyp-check input[type=checkbox]:checked {
  border-color: var(--color-verde); background: var(--color-verde);
}
.hyp-check input[type=checkbox]:checked::after {
  content: ''; width: 9px; height: 9px;
  background: #fff;
  clip-path: polygon(14% 44%, 0 60%, 40% 100%, 100% 20%, 86% 6%, 40% 70%);
}
.hyp-check:hover { color: var(--color-verde); }
.hyp-check input:focus-visible { outline: 2px solid rgba(8,80,65,.25); outline-offset: 1px; }

/* ============================================================
   FASE 5 — Acordeón FAQ + bloque Newsletter
   ============================================================ */
.hyp-accordion .item {
  border-bottom: 1px solid var(--color-borde);
}
.hyp-accordion .q {
  width: 100%; text-align: left;
  background: transparent; border: 0;
  padding: 1.1rem 0;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-family: var(--font-sans);
  font-size: 1rem; font-weight: 500; color: var(--color-grafito);
  cursor: pointer;
}
.hyp-accordion .q:hover { color: var(--color-verde); }
.hyp-accordion .q i { color: var(--color-text-secundario); transition: color .15s ease; }
.hyp-accordion .q:hover i { color: var(--color-verde); }
.hyp-accordion .a {
  padding: 0 0 1.25rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  max-width: 720px;
}

.hyp-newsletter {
  background: var(--color-arena-dark);
  padding: 4rem 0;
  text-align: center;
  border-top: 1px solid var(--color-borde);
  border-bottom: 1px solid var(--color-borde);
}
.hyp-newsletter h2 {
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin: 0 0 .6rem;
}
.hyp-newsletter p {
  color: var(--color-text-muted);
  max-width: 540px; margin: 0 auto 1.5rem;
}
.hyp-newsletter form {
  display: flex; gap: .5rem; justify-content: center;
  max-width: 440px; margin: 0 auto; flex-wrap: wrap;
}
.hyp-newsletter input[type=email] {
  flex: 1 1 220px;
  border: 1px solid var(--color-borde); background: #fff;
  padding: .7rem .9rem; font-family: var(--font-sans); font-size: .95rem;
  color: var(--color-grafito); border-radius: 0;
}
.hyp-newsletter input[type=email]:focus {
  outline: none; border-color: var(--color-verde);
  box-shadow: 0 0 0 3px rgba(8,80,65,.08);
}
.hyp-newsletter button {
  background: var(--color-grafito); color: var(--color-arena);
  border: 0; border-radius: 0;
  padding: .7rem 1.2rem; font-weight: 600; cursor: pointer;
  font-family: var(--font-sans);
}
.hyp-newsletter button:hover { background: var(--color-verde); }

/* Mini form de newsletter en el footer (compacto, sobre fondo grafito) */
.lfc-footer .hyp-news-mini { display: flex; gap: .4rem; max-width: 320px; }
.lfc-footer .hyp-news-mini input[type=email] {
  flex: 1;
  background: rgba(255,255,255,.08); color: #fff;
  border: 1px solid rgba(255,255,255,.15);
  padding: .5rem .65rem; font-size: .85rem;
}
.lfc-footer .hyp-news-mini input[type=email]::placeholder { color: rgba(255,255,255,.5); }
.lfc-footer .hyp-news-mini button {
  background: var(--color-verde); color: #fff; border: 0;
  padding: .5rem .85rem; font-size: .85rem; font-weight: 600; cursor: pointer;
}
.lfc-footer .hyp-news-mini button:hover { background: var(--color-arena); color: var(--color-verde); }

/* ============================================================
   FASE 6 — Admin form acordeón + Home testimonios + IG feed
   ============================================================ */

/* Acordeón nativo del admin form */
.hyp-form-section {
  background: #fff; border: 1px solid var(--color-borde); border-radius: 3px;
  margin-bottom: 1rem;
}
.hyp-form-section > summary {
  list-style: none; cursor: pointer; padding: 1rem 1.25rem;
  font-family: var(--font-sans); font-weight: 600; color: var(--color-grafito);
  display: flex; align-items: center; justify-content: space-between;
  user-select: none;
}
.hyp-form-section > summary::-webkit-details-marker { display: none; }
.hyp-form-section > summary::after {
  content: '\F285'; /* bi-chevron-down */
  font-family: 'bootstrap-icons'; color: var(--color-text-secundario);
  transition: transform .2s ease;
}
.hyp-form-section[open] > summary::after { transform: rotate(180deg); }
.hyp-form-section[open] > summary { border-bottom: 1px solid var(--color-borde); }
.hyp-form-section .content { padding: 1.25rem; }
.hyp-checks {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: .25rem .75rem;
}

/* Home — testimonios */
.hyp-testimonios { padding: 5rem 0; background: #fff; border-bottom: 1px solid var(--color-borde); }
.hyp-testimonios .tcard {
  text-align: center; margin: 0; padding: 0 .5rem;
  display: flex; flex-direction: column; align-items: center;
}
.hyp-testimonios .avatar {
  width: 72px; height: 72px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--color-arena-dark); margin-bottom: 1rem;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--color-arena-dark); color: var(--color-text-secundario);
  font-size: 1.5rem;
}
.hyp-testimonios blockquote {
  font-family: var(--font-serif); font-style: italic; font-weight: 500;
  font-size: 1.05rem; color: var(--color-grafito); line-height: 1.6;
  max-width: 320px; margin: 0 0 1rem; quotes: '"' '"';
}
.hyp-testimonios blockquote::before { content: open-quote; color: var(--color-peltre); margin-right: 2px; }
.hyp-testimonios blockquote::after  { content: close-quote; color: var(--color-peltre); margin-left: 2px; }
.hyp-testimonios figcaption { font-size: .9rem; color: var(--color-text-muted); }
.hyp-testimonios figcaption b { color: var(--color-grafito); display: block; font-family: var(--font-sans); font-weight: 600; }
.hyp-testimonios figcaption .handle { color: var(--color-verde); font-size: .8rem; }

/* Home — Instagram grid */
.hyp-ig { padding: 4rem 0; }
.hyp-ig-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px;
}
@media (max-width: 767px) { .hyp-ig-grid { grid-template-columns: repeat(3, 1fr); } }
.hyp-ig-cell {
  position: relative; display: block; aspect-ratio: 1; overflow: hidden;
  background: var(--color-arena-dark);
}
.hyp-ig-cell img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.hyp-ig-cell:hover img { transform: scale(1.05); }
