/* ============================================================
   TIENDA — Card Producto · Bellísima Mayorista
   Dos variantes:
     .card-producto           → modo normal (home, catálogo)
     .card-producto--oferta   → modo agresivo (feria, destacados)
   ============================================================ */

/* ── Base ─────────────────────────────────────────────────── */

.card-producto {
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.card-producto:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.11);
}

/* ── Imagen ───────────────────────────────────────────────── */

.card-producto__imagen-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f8fafc;
  flex-shrink: 0;
}

.card-producto__imagen {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.32s ease;
  display: block;
}

.card-producto:hover .card-producto__imagen {
  transform: scale(1.05);
}

.card-producto__sin-imagen {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  font-size: 2.5rem;
}

/* ── Badges (posición absoluta sobre imagen) ──────────────── */

.card-producto__badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 3;
  pointer-events: none;
}

.card-producto__badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1.5;
}

.card-producto__badge--oferta {
  background: linear-gradient(135deg, #ef4444, #d946ef);
  color: #fff;
  font-size: 0.75rem;
  padding: 5px 14px;
  box-shadow: 0 2px 10px rgba(217, 70, 239, 0.45);
  font-weight: 800;
}

.card-producto__badge--descuento {
  background: #fbbf24;
  color: #1c1917;
  font-size: 0.82rem;
  font-weight: 900;
  padding: 4px 12px;
  box-shadow: 0 2px 6px rgba(251, 191, 36, 0.4);
}

.card-producto__badge--ultimas {
  background: #ef4444;
  color: #fff;
}

.card-producto__badge--sin-stock {
  background: #e2e8f0;
  color: #64748b;
}

/* ── Body ─────────────────────────────────────────────────── */

.card-producto__body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 6px;
}

.card-producto__nombre {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.35;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-producto__nombre:hover {
  color: #4f46e5;
}

.card-producto__marca {
  font-size: 0.7rem;
  font-weight: 500;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── Precio (modo normal) ─────────────────────────────────── */

.card-producto__precio-bloque {
  margin-top: auto;
  padding-top: 6px;
}

.card-producto__precio {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.2;
}

.card-producto__consultar {
  font-size: 0.8rem;
  color: #94a3b8;
  font-style: italic;
  line-height: 1.4;
}

/* ── Botones ──────────────────────────────────────────────── */

.card-producto__btn {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 10px 14px;
  border: none;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  line-height: 1.4;
  transition: background 0.18s ease, transform 0.12s ease, box-shadow 0.18s ease;
  letter-spacing: 0.01em;
}

.card-producto__btn:active {
  transform: scale(0.97);
}

.card-producto__btn--consultar {
  background: #f1f5f9;
  color: #475569;
}

.card-producto__btn--consultar:hover {
  background: #e2e8f0;
  color: #1e293b;
}

.card-producto__btn--carrito {
  background: #4f46e5;
  color: #fff;
}

.card-producto__btn--carrito:hover {
  background: #4338ca;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
}

.card-producto__btn--sin-stock {
  background: #f1f5f9;
  color: #94a3b8;
  cursor: default;
  pointer-events: none;
  opacity: 0.7;
}

/* ============================================================
   VARIANTE OFERTA — modo agresivo
   ============================================================ */

.card-producto--oferta {
  border: 2px solid rgba(217, 70, 239, 0.2);
  box-shadow: 0 4px 20px rgba(217, 70, 239, 0.1);
}

.card-producto--oferta:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 14px 36px rgba(217, 70, 239, 0.22);
  border-color: rgba(217, 70, 239, 0.4);
}

/* Precio tachado + precio oferta */
.card-producto--oferta .card-producto__precio-tachado {
  font-size: 0.8rem;
  color: #94a3b8;
  text-decoration: line-through;
  margin-bottom: 1px;
  display: block;
}

.card-producto--oferta .card-producto__precio-nuevo {
  font-size: 1.6rem;
  font-weight: 900;
  background: linear-gradient(135deg, #ef4444, #d946ef);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  display: block;
}

.card-producto--oferta .card-producto__precio {
  font-size: 1.25rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ef4444, #d946ef);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Botón modo agresivo */
.card-producto__btn--comprar {
  background: linear-gradient(135deg, #ef4444, #d946ef);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 12px 14px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(217, 70, 239, 0.4);
}

.card-producto__btn--comprar:hover {
  box-shadow: 0 6px 22px rgba(217, 70, 239, 0.55);
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.card-producto__btn--ver-oferta {
  background: linear-gradient(135deg, #f97316, #ef4444);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 11px 14px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35);
}

.card-producto__btn--ver-oferta:hover {
  box-shadow: 0 6px 18px rgba(239, 68, 68, 0.5);
  filter: brightness(1.05);
}

/* ============================================================
   GRID HELPERS — usar en el contenedor padre
   ============================================================ */

.tn-productos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 22px;
}

@media (max-width: 480px) {
  .tn-productos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

/* ============================================================
   VARIABLES GLOBALES TIENDA
   ============================================================ */

:root {
  --tn-brand:        #be185d;
  --tn-brand-dark:   #9d174d;
  --tn-brand-light:  #fdf2f8;
  --tn-brand-mid:    #fce7f3;
  --tn-accent:       #d946ef;
  --tn-text:         #1e293b;
  --tn-text-muted:   #64748b;
  --tn-border:       #f1f5f9;
  --tn-radius:       16px;
  --tn-pad-section:  72px 0;
  --tn-container:    1240px;
}

/* ============================================================
   RESET + BASE BODY
   ============================================================ */

.tn-body {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  color: var(--tn-text);
  background: #fff;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

.tn-body *, .tn-body *::before, .tn-body *::after {
  box-sizing: border-box;
}

.tn-container {
  max-width: var(--tn-container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   NAVBAR
   ============================================================ */

.tn-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--tn-border);
  transition: box-shadow 0.2s ease;
}

.tn-header--scrolled {
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}

.tn-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}

/* Logo */
.tn-logo {
  text-decoration: none;
  flex-shrink: 0;
}
.tn-logo__img {
  height: 38px;
  width: auto;
  display: block;
}
.tn-logo__text {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--tn-brand);
  letter-spacing: -0.03em;
  font-style: italic;
}

/* Nav links */
.tn-nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.tn-nav__links a {
  text-decoration: none;
  color: var(--tn-text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}

.tn-nav__links a:hover {
  color: var(--tn-brand);
  background: var(--tn-brand-light);
}

/* Acciones */
.tn-nav__acciones {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
}

.tn-nav__icono {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  text-decoration: none;
  color: var(--tn-text-muted);
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 1.1rem;
  transition: color 0.15s, background 0.15s;
}

.tn-nav__icono:hover {
  color: var(--tn-brand);
  background: var(--tn-brand-light);
}

.tn-nav__icono-label {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.tn-nav__carrito {
  position: relative;
}

.tn-carrito-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background: var(--tn-brand);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
  pointer-events: none;
}

/* Hamburger */
.tn-nav__burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: 4px;
}
.tn-nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--tn-text);
  border-radius: 2px;
  transition: all 0.2s;
}

@media (max-width: 768px) {
  .tn-nav__links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 20px 20px;
    border-bottom: 1px solid var(--tn-border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    gap: 4px;
    z-index: 99;
  }
  .tn-nav__links.tn-nav__links--open {
    display: flex;
  }
  .tn-nav__links a {
    width: 100%;
    padding: 10px 12px;
  }
  .tn-nav__burger {
    display: flex;
  }
  .tn-nav__icono-label {
    display: none;
  }
  .tn-header {
    position: sticky;
  }
}

/* ============================================================
   BOTONES GLOBALES
   ============================================================ */

.tn-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.18s ease;
  line-height: 1.4;
  white-space: nowrap;
}

.tn-btn--primary {
  background: var(--tn-brand);
  color: #fff;
  box-shadow: 0 4px 16px rgba(190, 24, 93, 0.3);
}
.tn-btn--primary:hover {
  background: var(--tn-brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(190, 24, 93, 0.38);
}

.tn-btn--outline {
  background: transparent;
  color: var(--tn-brand);
  border: 2px solid var(--tn-brand);
}
.tn-btn--outline:hover {
  background: var(--tn-brand-light);
}

.tn-btn--ghost {
  background: var(--tn-border);
  color: var(--tn-text-muted);
  font-weight: 600;
}
.tn-btn--ghost:hover {
  background: #e2e8f0;
  color: var(--tn-text);
}

.tn-btn--oferta-outline {
  background: transparent;
  color: #ef4444;
  border: 2px solid #ef4444;
  font-size: 0.85rem;
}
.tn-btn--oferta-outline:hover {
  background: #fef2f2;
}

.tn-btn--white {
  background: #fff;
  color: var(--tn-brand-dark);
  font-weight: 700;
}
.tn-btn--white:hover {
  background: var(--tn-brand-light);
}

.tn-btn--white-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
}
.tn-btn--white-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
}

.tn-btn--whatsapp {
  background: #22c55e;
  color: #fff;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.35);
  font-size: 1rem;
  padding: 14px 28px;
}
.tn-btn--whatsapp:hover {
  background: #16a34a;
  box-shadow: 0 6px 22px rgba(34, 197, 94, 0.45);
  transform: translateY(-2px);
}

/* ============================================================
   HERO
   ============================================================ */

.tn-hero {
  background: linear-gradient(135deg, var(--tn-brand-light) 0%, #fff9fe 60%, #fff 100%);
  padding: 64px 0 80px;
  overflow: hidden;
}

.tn-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.tn-hero__texto {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tn-hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tn-brand);
  background: var(--tn-brand-mid);
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  width: fit-content;
}

.tn-hero__titulo {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--tn-text);
  margin: 0;
}

.tn-hero__titulo-acento {
  color: var(--tn-brand);
}

.tn-hero__sub {
  font-size: 1rem;
  color: var(--tn-text-muted);
  line-height: 1.6;
  margin: 0;
}

.tn-hero__botones {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* Imagen derecha */
.tn-hero__imagen-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
}

.tn-hero__imagen-blob {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 50%, var(--tn-brand-mid) 0%, transparent 70%);
  border-radius: 50%;
  transform: scale(1.1);
}

.tn-hero__imagen {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: auto;
  object-fit: contain;
  border-radius: 24px;
  z-index: 1;
  filter: drop-shadow(0 16px 40px rgba(190,24,93,0.15));
}

.tn-hero__imagen-placeholder {
  position: relative;
  z-index: 1;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--tn-brand-mid), var(--tn-brand-light));
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px dashed rgba(190,24,93,0.15);
}

@media (max-width: 768px) {
  .tn-hero {
    padding: 40px 0 48px;
  }
  .tn-hero__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .tn-hero__eyebrow { margin: 0 auto; }
  .tn-hero__botones { justify-content: center; }
  .tn-hero__imagen-wrap {
    min-height: 220px;
    order: -1;
  }
  .tn-hero__imagen-placeholder {
    width: 200px;
    height: 200px;
  }
}

/* ============================================================
   ACCESOS RÁPIDOS
   ============================================================ */

.tn-accesos {
  padding: 0;
  margin-top: -24px;
  position: relative;
  z-index: 2;
}

.tn-accesos__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.tn-acceso {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 22px 12px;
  border-radius: 18px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  background: #fff;
}

.tn-acceso:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.tn-acceso__icono {
  font-size: 2rem;
  line-height: 1;
}

.tn-acceso__label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.tn-acceso--pink   { background: #fff1f7; color: #be185d; }
.tn-acceso--violet { background: #f5f3ff; color: #6d28d9; }
.tn-acceso--sky    { background: #f0f9ff; color: #0369a1; }
.tn-acceso--fire   {
  background: linear-gradient(135deg, #fff7ed, #fef2f2);
  color: #dc2626;
  border: 2px solid rgba(239,68,68,0.2);
}

@media (max-width: 640px) {
  .tn-accesos__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .tn-accesos {
    margin-top: 0;
    padding-top: 24px;
  }
}

/* ============================================================
   SECCIONES — estructura común
   ============================================================ */

.tn-section {
  padding: var(--tn-pad-section);
}

.tn-section--ofertas {
  background: linear-gradient(180deg, #fff 0%, #fff9fe 100%);
  padding: 64px 0;
}

.tn-section--destacados {
  background: var(--tn-brand-light);
  padding: 64px 0;
}

.tn-section--cats {
  padding: 64px 0;
  background: #fff;
}

.tn-section--beneficios {
  background: #f8fafc;
  padding: 64px 0;
}

/* Section header */
.tn-section-hdr {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.tn-section-hdr__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: 999px;
  margin-bottom: 6px;
  background: var(--tn-border);
  color: var(--tn-text-muted);
}

.tn-section-hdr--oferta .tn-section-hdr__tag {
  background: linear-gradient(135deg, #ef4444, #d946ef);
  color: #fff;
}

.tn-section-hdr__tag--brand {
  background: var(--tn-brand-mid);
  color: var(--tn-brand);
}

.tn-section-hdr__titulo {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin: 0 0 4px;
  color: var(--tn-text);
}

.tn-section-hdr--oferta .tn-section-hdr__titulo {
  background: linear-gradient(135deg, #ef4444, #d946ef);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tn-section-hdr__sub {
  font-size: 0.875rem;
  color: var(--tn-text-muted);
  margin: 0;
}

.tn-section-titulo-centrado {
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  text-align: center;
  margin: 0 0 36px;
  color: var(--tn-text);
}

.tn-empty {
  color: var(--tn-text-muted);
  font-style: italic;
  grid-column: 1 / -1;
  text-align: center;
  padding: 32px 0;
}

@media (max-width: 640px) {
  .tn-section-hdr {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================================
   BANNER MAYORISTA
   ============================================================ */

.tn-banner-mayorista {
  background: linear-gradient(135deg, var(--tn-brand-dark) 0%, #7c3aed 100%);
  padding: 64px 0;
  overflow: hidden;
}

.tn-banner-mayorista__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}

.tn-banner-mayorista__eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 10px;
}

.tn-banner-mayorista__titulo {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
}

.tn-banner-mayorista__sub {
  font-size: 0.925rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  margin: 0 0 28px;
}

.tn-banner-mayorista__botones {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.tn-banner-mayorista__deco {
  flex-shrink: 0;
  width: 160px;
  height: 160px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255,255,255,0.12);
}

.tn-banner-mayorista__deco-pct {
  font-size: 5rem;
  font-weight: 900;
  color: rgba(255,255,255,0.18);
  line-height: 1;
  user-select: none;
}

@media (max-width: 640px) {
  .tn-banner-mayorista__inner {
    grid-template-columns: 1fr;
  }
  .tn-banner-mayorista__deco {
    display: none;
  }
}

/* ============================================================
   CATEGORÍAS
   ============================================================ */

.tn-cats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
}

.tn-cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 12px 20px;
  border-radius: 18px;
  background: var(--tn-brand-light);
  text-decoration: none;
  color: var(--tn-text);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.15s;
  border: 1px solid transparent;
}

.tn-cat:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(190,24,93,0.12);
  background: var(--tn-brand-mid);
  border-color: rgba(190,24,93,0.12);
}

.tn-cat__icono {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.tn-cat__icono img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 8px;
}

.tn-cat__label {
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.02em;
  color: var(--tn-brand-dark);
}

.tn-cat--oferta {
  background: linear-gradient(135deg, #fff7ed, #fef2f2);
  border-color: rgba(239,68,68,0.15);
}
.tn-cat--oferta .tn-cat__label { color: #dc2626; }
.tn-cat--oferta:hover {
  background: linear-gradient(135deg, #ffedd5, #fee2e2);
  box-shadow: 0 10px 28px rgba(239,68,68,0.15);
}

/* ============================================================
   BENEFICIOS
   ============================================================ */

.tn-beneficios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 28px;
}

.tn-beneficio {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.tn-beneficio__icono {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--tn-brand-mid);
  color: var(--tn-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.tn-beneficio__titulo {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--tn-text);
  margin: 0;
}

.tn-beneficio__desc {
  font-size: 0.82rem;
  color: var(--tn-text-muted);
  line-height: 1.55;
  margin: 0;
}

/* ============================================================
   CTA FINAL
   ============================================================ */

.tn-cta-final {
  background: linear-gradient(135deg, var(--tn-brand) 0%, var(--tn-accent) 100%);
  padding: 72px 0;
  text-align: center;
}

.tn-cta-final__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.tn-cta-final__titulo {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.03em;
  margin: 0;
}

.tn-cta-final__sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
  max-width: 520px;
  margin: 0;
}

.tn-cta-final__botones {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 10px;
}

/* ============================================================
   FOOTER
   ============================================================ */

.tn-footer {
  background: var(--tn-text);
  color: rgba(255,255,255,0.65);
  padding: 40px 0;
}

.tn-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.tn-footer .tn-logo__text {
  color: #fff;
  opacity: 0.9;
}

.tn-footer__tagline {
  font-size: 0.78rem;
  opacity: 0.5;
  margin: 4px 0 0;
}

.tn-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
}

.tn-footer__nav a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.82rem;
  padding: 4px 10px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}

.tn-footer__nav a:hover {
  color: #fff;
  background: rgba(255,255,255,0.08);
}

.tn-footer__copy {
  font-size: 0.72rem;
  opacity: 0.35;
  margin: 0;
}

/* ============================================================
   BOTÓN FLOTANTE FERIA
   ============================================================ */

.tn-feria-btn {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ef4444, #d946ef);
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  box-shadow: 0 6px 24px rgba(217, 70, 239, 0.45);
  animation: tn-pulse-feria 2.2s ease-in-out infinite;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.tn-feria-btn:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 10px 32px rgba(217, 70, 239, 0.6);
  animation-play-state: paused;
}

.tn-feria-btn__text {
  display: flex;
  align-items: center;
  gap: 5px;
}

@keyframes tn-pulse-feria {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 6px 24px rgba(217, 70, 239, 0.45);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 8px 32px rgba(217, 70, 239, 0.65), 0 0 0 8px rgba(217, 70, 239, 0.1);
  }
}

@media (max-width: 480px) {
  .tn-feria-btn {
    bottom: 18px;
    right: 14px;
    padding: 12px 18px;
    font-size: 0.82rem;
  }
}

/* ============================================================
   VARIANTE HOME — comercial/impactante sin modo oferta completo
   ============================================================ */

.card-producto--home {
  border: 1.5px solid var(--tn-brand-mid);
  box-shadow: 0 4px 18px rgba(190, 24, 93, 0.08);
}

.card-producto--home:hover {
  transform: translateY(-5px) scale(1.012);
  box-shadow: 0 12px 32px rgba(190, 24, 93, 0.16);
  border-color: rgba(190, 24, 93, 0.3);
}

.card-producto--home:hover .card-producto__imagen {
  transform: scale(1.06);
}

/* Badge Destacado */
.card-producto__badge--destacado {
  background: linear-gradient(135deg, var(--tn-brand), var(--tn-accent));
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 10px;
  box-shadow: 0 2px 8px rgba(190, 24, 93, 0.3);
}

/* Precio con color brand (en lugar de gris oscuro) */
.card-producto--home .card-producto__precio {
  color: var(--tn-brand-dark);
  font-size: 1.2rem;
}

/* Botón carrito → brand color */
.card-producto--home .card-producto__btn--carrito {
  background: var(--tn-brand);
  box-shadow: 0 4px 12px rgba(190, 24, 93, 0.28);
}

.card-producto--home .card-producto__btn--carrito:hover {
  background: var(--tn-brand-dark);
  box-shadow: 0 6px 18px rgba(190, 24, 93, 0.38);
}

/* Botón consultar → brand tinted */
.card-producto--home .card-producto__btn--consultar {
  background: var(--tn-brand-mid);
  color: var(--tn-brand-dark);
  font-weight: 600;
}

.card-producto--home .card-producto__btn--consultar:hover {
  background: #fbcfe8;
  color: var(--tn-brand-dark);
}

/* Nombre con acento en hover */
.card-producto--home .card-producto__nombre:hover {
  color: var(--tn-brand);
}

/* ============================================================
   FERIA — estilos específicos de /feria/
   Prefijo: fr-
   Reutiliza todo lo de .tn- y .card-producto
   ============================================================ */

/* ── Body override feria ──────────────────────────────────── */

.fr-body {
  background: #0d0d0d;
}

/* ── Header feria ─────────────────────────────────────────── */

.fr-header {
  background: #111;
  border-bottom-color: rgba(239, 68, 68, 0.2);
}

.fr-header .tn-logo__text { color: #fff; }

.fr-header .tn-nav__links a { color: rgba(255,255,255,0.6); }
.fr-header .tn-nav__links a:hover {
  color: #fff;
  background: rgba(255,255,255,0.08);
}

.fr-nav__active {
  color: #ef4444 !important;
  font-weight: 700 !important;
}

.fr-header .tn-nav__icono { color: rgba(255,255,255,0.65); }
.fr-header .tn-nav__icono:hover { color: #fff; background: rgba(255,255,255,0.08); }
.fr-header .tn-nav__burger span { background: #fff; }
.fr-header .tn-header--scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.5); }

/* ── Hero feria ───────────────────────────────────────────── */

.fr-hero {
  position: relative;
  background: linear-gradient(135deg, #0d0d0d 0%, #1a0a1a 40%, #0d0d0d 100%);
  padding: 80px 0 96px;
  overflow: hidden;
  text-align: center;
}

/* Línea de acento superior */
.fr-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ef4444, #d946ef, #f59e0b, #ef4444);
  background-size: 200% 100%;
  animation: fr-gradient-move 3s linear infinite;
}

@keyframes fr-gradient-move {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* Fondo radial difuminado */
.fr-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(217,70,239,.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 80% 20%, rgba(239,68,68,.1) 0%, transparent 60%);
  pointer-events: none;
}

.fr-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* Stickers de fondo */
.fr-hero__sticker {
  position: absolute;
  z-index: 1;
  font-weight: 900;
  pointer-events: none;
  user-select: none;
  opacity: 0.06;
  color: #fff;
}
.fr-hero__sticker--1 { top: 10%;  left: 5%;  font-size: 8rem; transform: rotate(-15deg); }
.fr-hero__sticker--2 { top: 20%;  right: 6%; font-size: 10rem; transform: rotate(12deg); }
.fr-hero__sticker--3 { bottom: 15%; left: 8%; font-size: 6rem; transform: rotate(-8deg); }
.fr-hero__sticker--4 { bottom: 20%; right: 4%; font-size: 7rem; transform: rotate(20deg); }

.fr-hero__eyebrow { display: flex; justify-content: center; }

.fr-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 18px;
  border-radius: 999px;
  background: rgba(239,68,68,.15);
  border: 1px solid rgba(239,68,68,.3);
  color: #f87171;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.fr-hero__titulo {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 0.9;
  letter-spacing: -0.04em;
}

.fr-hero__titulo-linea1 {
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 900;
  color: #fff;
  display: block;
}

.fr-hero__titulo-linea2 {
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 900;
  display: block;
  background: linear-gradient(135deg, #ef4444, #d946ef);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.fr-hero__sub {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  margin: 0;
  max-width: 440px;
}

.fr-hero__botones {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}

.fr-btn--hero-primary {
  background: linear-gradient(135deg, #ef4444, #d946ef);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  padding: 14px 32px;
  box-shadow: 0 6px 24px rgba(217,70,239,0.4);
  letter-spacing: 0.02em;
}
.fr-btn--hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(217,70,239,0.55);
  filter: brightness(1.08);
}

.fr-btn--hero-outline {
  background: transparent;
  color: rgba(255,255,255,0.75);
  border: 1.5px solid rgba(255,255,255,0.2);
  padding: 14px 28px;
  font-size: 0.9rem;
}
.fr-btn--hero-outline:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.06);
}

.fr-hero__scroll-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: rgba(255,255,255,0.3);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: fr-bounce 2s ease-in-out infinite;
}

@keyframes fr-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(5px); }
}

@media (max-width: 640px) {
  .fr-hero { padding: 56px 0 72px; }
  .fr-hero__sticker { display: none; }
}

/* ── Ticker de promos ─────────────────────────────────────── */

.fr-ticker {
  background: linear-gradient(135deg, #ef4444, #d946ef);
  overflow: hidden;
  padding: 0;
  white-space: nowrap;
}

.fr-ticker__track {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 10px 0;
  animation: fr-ticker-scroll 28s linear infinite;
}

@keyframes fr-ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.fr-ticker:hover .fr-ticker__track {
  animation-play-state: paused;
}

.fr-ticker__item {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  padding: 0 16px;
  white-space: nowrap;
}

.fr-ticker__item--pct {
  color: #fef08a;
  font-size: 0.85rem;
  font-weight: 900;
}

.fr-ticker__item--alert {
  color: #fff;
  font-weight: 800;
}

.fr-ticker__sep {
  color: rgba(255,255,255,0.3);
  font-size: 0.4rem;
  padding: 0 4px;
  flex-shrink: 0;
}

/* ── Secciones feria ──────────────────────────────────────── */

.fr-section {
  padding: 64px 0;
}

.fr-section--main {
  background: #fff;
}

.fr-section--ultimas {
  background: #fff9f9;
  border-top: 3px solid rgba(239,68,68,0.15);
}

.fr-section--mas {
  background: #fdf2f8;
}

/* Section header feria */
.fr-section-hdr {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.fr-section-hdr__pretag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ef4444;
  margin-bottom: 6px;
}

.fr-section-hdr__pretag--rojo {
  color: #dc2626;
}

.fr-section-hdr__titulo {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  margin: 0 0 6px;
  background: linear-gradient(135deg, #ef4444, #d946ef);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.fr-section-hdr__titulo--rojo {
  background: linear-gradient(135deg, #dc2626, #ef4444);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.fr-section-hdr__sub {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
}

/* Badge "HASTA -50%" */
.fr-section-hdr__badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ef4444, #d946ef);
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(239,68,68,0.35);
  animation: fr-badge-pop 3s ease-in-out infinite;
}

@keyframes fr-badge-pop {
  0%, 100% { transform: scale(1) rotate(-3deg); }
  50%       { transform: scale(1.06) rotate(3deg); }
}

.fr-section-hdr__badge-text {
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
  line-height: 1;
}

.fr-section-hdr__badge-pct {
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
}

@media (max-width: 640px) {
  .fr-section-hdr { flex-direction: column; }
  .fr-section-hdr__badge { width: 72px; height: 72px; }
  .fr-section-hdr__badge-pct { font-size: 1rem; }
}

/* Empty state */
.fr-empty {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 48px 0;
  color: #94a3b8;
  font-size: 0.9rem;
}

/* ── Banner urgencia ──────────────────────────────────────── */

.fr-banner-urgencia {
  background: linear-gradient(135deg, #7f1d1d, #831843);
  padding: 28px 0;
}

.fr-banner-urgencia__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.fr-banner-urgencia__texto {
  display: flex;
  align-items: center;
  gap: 16px;
}

.fr-banner-urgencia__icono {
  font-size: 2rem;
  opacity: 0.8;
}

.fr-banner-urgencia__titulo {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 2px;
  letter-spacing: -0.01em;
}

.fr-banner-urgencia__sub {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  margin: 0;
  letter-spacing: 0.02em;
}

.fr-banner-urgencia__acciones {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.fr-btn--urgencia {
  background: #fff;
  color: #7f1d1d;
  font-weight: 700;
  padding: 10px 22px;
}
.fr-btn--urgencia:hover {
  background: #fef2f2;
}

.fr-btn--urgencia-ghost {
  background: transparent;
  color: rgba(255,255,255,0.8);
  border: 1.5px solid rgba(255,255,255,0.25);
  padding: 10px 20px;
  font-size: 0.875rem;
  font-weight: 600;
}
.fr-btn--urgencia-ghost:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.08);
}

@media (max-width: 640px) {
  .fr-banner-urgencia__inner { flex-direction: column; align-items: flex-start; }
}

/* ── Paginación feria ─────────────────────────────────────── */

.fr-paginacion {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

/* ── CTA Final feria ──────────────────────────────────────── */

.fr-cta-final {
  background: linear-gradient(135deg, #0d0d0d 0%, #1a0510 50%, #0d0d0d 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.fr-cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(217,70,239,.1) 0%, transparent 70%);
  pointer-events: none;
}

.fr-cta-final__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.fr-cta-final__sticker {
  font-size: 3rem;
  opacity: 0.7;
  animation: fr-badge-pop 2.5s ease-in-out infinite;
}

.fr-cta-final__titulo {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #fff;
  margin: 0;
}

.fr-cta-final__sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  margin: 0;
}

.fr-cta-final__botones {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 12px;
}

.fr-btn--cta-tienda {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.2);
  font-weight: 600;
}
.fr-btn--cta-tienda:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.4);
}

.fr-btn--cta-reg {
  font-size: 0.82rem;
  padding: 10px 18px;
}

/* ── Footer feria: usa .tn-footer sin cambios ─────────────── */

/* ============================================================
   CATÁLOGO  —  prefijo ct-
   ============================================================ */

/* Cabecera de sección */
.ct-cabecera {
  background: var(--tn-brand-light);
  padding: 32px 0 28px;
  border-bottom: 1px solid var(--tn-brand-mid);
}
.ct-cabecera__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.ct-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--tn-text-muted);
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.ct-breadcrumb a {
  color: var(--tn-text-muted);
  text-decoration: none;
}
.ct-breadcrumb a:hover { color: var(--tn-brand); }
.ct-cabecera__titulo {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--tn-text);
  margin: 0 0 4px;
}
.ct-cabecera__count {
  font-size: 0.8rem;
  color: var(--tn-text-muted);
  margin: 0;
}

/* Filtros */
.ct-filtros-wrap {
  position: sticky;
  top: 64px;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--tn-border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.ct-filtros__form {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  flex-wrap: wrap;
}
.ct-filtros__search {
  position: relative;
  flex: 1;
  min-width: 180px;
}
.ct-filtros__search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--tn-text-muted);
  font-size: 0.85rem;
  pointer-events: none;
}
.ct-filtros__input {
  width: 100%;
  padding: 9px 14px 9px 36px;
  border: 1.5px solid var(--tn-border);
  border-radius: 10px;
  font-size: 0.875rem;
  font-family: inherit;
  color: var(--tn-text);
  background: #f8fafc;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.ct-filtros__input:focus {
  border-color: var(--tn-brand);
  box-shadow: 0 0 0 3px rgba(190, 24, 93, 0.1);
  background: #fff;
}
.ct-filtros__select {
  padding: 9px 14px;
  border: 1.5px solid var(--tn-border);
  border-radius: 10px;
  font-size: 0.875rem;
  font-family: inherit;
  color: var(--tn-text);
  background: #f8fafc;
  cursor: pointer;
  outline: none;
  min-width: 160px;
  transition: border-color 0.15s;
}
.ct-filtros__select:focus { border-color: var(--tn-brand); }
.ct-filtros__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border: 1.5px solid var(--tn-border);
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--tn-text-muted);
  background: #f8fafc;
  transition: all 0.15s;
  white-space: nowrap;
}
.ct-filtros__toggle:hover {
  border-color: var(--tn-brand);
  color: var(--tn-brand);
}
.ct-filtros__toggle--activo {
  background: var(--tn-brand-mid);
  border-color: var(--tn-brand);
  color: var(--tn-brand-dark);
}
.ct-filtros__toggle-input { display: none; }
.ct-filtros__btn-buscar {
  padding: 9px 20px;
  background: var(--tn-brand);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
}
.ct-filtros__btn-buscar:hover { background: var(--tn-brand-dark); }
.ct-filtros__limpiar {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  color: var(--tn-text-muted);
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}
.ct-filtros__limpiar:hover { color: var(--tn-brand); background: var(--tn-brand-light); }

/* Grid principal */
.ct-main {
  padding: 40px 0 64px;
}

/* Paginación */
.ct-paginacion {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.ct-pag__btn--nav {
  padding: 9px 18px;
  background: var(--tn-brand-light);
  color: var(--tn-brand-dark);
  text-decoration: none;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.15s;
}
.ct-pag__btn--nav:hover { background: var(--tn-brand-mid); }
.ct-pag__nums {
  display: flex;
  align-items: center;
  gap: 4px;
}
.ct-pag__num {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--tn-text-muted);
  transition: background 0.15s, color 0.15s;
}
.ct-pag__num:hover { background: var(--tn-brand-light); color: var(--tn-brand); }
.ct-pag__num--activo {
  background: var(--tn-brand);
  color: #fff;
  pointer-events: none;
}
.ct-pag__ellipsis {
  width: 28px;
  text-align: center;
  color: var(--tn-text-muted);
  font-size: 0.85rem;
}

/* Empty state */
.ct-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 72px 24px;
  text-align: center;
}
.ct-empty__icono {
  font-size: 3.5rem;
  color: var(--tn-brand-mid);
  line-height: 1;
}
.ct-empty__icono i { color: var(--tn-brand); opacity: 0.4; }
.ct-empty__titulo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--tn-text);
  margin: 0;
}
.ct-empty__desc {
  font-size: 0.9rem;
  color: var(--tn-text-muted);
  max-width: 340px;
  margin: 0;
}
.ct-empty__acciones {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}

@media (max-width: 640px) {
  .ct-filtros__form {
    flex-direction: column;
    align-items: stretch;
  }
  .ct-filtros__search { min-width: unset; }
  .ct-filtros__select { min-width: unset; }
  .ct-cabecera__feria-link { display: none; }
}

/* ============================================================
   DETALLE DE PRODUCTO  —  prefijo pd-
   ============================================================ */

/* Breadcrumb (reutiliza .ct-breadcrumb) */
.pd-breadcrumb-wrap {
  padding: 16px 0;
  background: var(--tn-brand-light);
  border-bottom: 1px solid var(--tn-brand-mid);
}

/* Layout 2 columnas */
.pd-section {
  padding: 40px 0 64px;
}
.pd-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* Galería */
.pd-galeria { position: sticky; top: 84px; }

.pd-galeria__main-wrap {
  position: relative;
  background: #f8fafc;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}
.pd-galeria__main {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: opacity 0.2s ease;
}
.pd-galeria__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
}
.pd-galeria__badge-oferta {
  position: absolute;
  top: 14px;
  left: 14px;
  background: linear-gradient(135deg, #ef4444, #d946ef);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 999px;
  z-index: 2;
  box-shadow: 0 2px 10px rgba(217, 70, 239, 0.4);
  letter-spacing: 0.04em;
}

.pd-galeria__thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.pd-thumb {
  width: 68px;
  height: 68px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid var(--tn-border);
  background: #f8fafc;
  cursor: pointer;
  padding: 0;
  transition: border-color 0.15s;
  flex-shrink: 0;
}
.pd-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pd-thumb:hover { border-color: var(--tn-brand); }
.pd-thumb--activo { border-color: var(--tn-brand); box-shadow: 0 0 0 2px var(--tn-brand-mid); }

/* Info: columna derecha */
.pd-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pd-info__marca {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--tn-brand);
  background: var(--tn-brand-mid);
  padding: 3px 10px;
  border-radius: 999px;
  display: inline-block;
  width: fit-content;
}
.pd-info__nombre {
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--tn-text);
  margin: 0;
  line-height: 1.2;
}
.pd-info__disponibilidad { display: flex; gap: 8px; flex-wrap: wrap; }
.pd-stock {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
}
.pd-stock--ok { background: #dcfce7; color: #166534; }
.pd-stock--agotado { background: #fee2e2; color: #991b1b; }

/* Precios */
.pd-info__precio-bloque {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px;
  background: var(--tn-brand-light);
  border-radius: 14px;
  border: 1px solid var(--tn-brand-mid);
}
.pd-precio-tachado {
  font-size: 0.9rem;
  color: #94a3b8;
  text-decoration: line-through;
}
.pd-precio-oferta {
  font-size: 2.2rem;
  font-weight: 900;
  background: linear-gradient(135deg, #ef4444, #d946ef);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  letter-spacing: -0.03em;
}
.pd-precio {
  font-size: 2rem;
  font-weight: 900;
  color: var(--tn-brand-dark);
  line-height: 1;
  letter-spacing: -0.03em;
}
.pd-precio-ahorro {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--tn-brand);
  letter-spacing: 0.02em;
}
.pd-precio-consultar {
  font-size: 0.9rem;
  color: var(--tn-text-muted);
  font-style: italic;
  line-height: 1.5;
}
.pd-info__link-registro {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--tn-brand);
  text-decoration: none;
  margin-top: 4px;
}
.pd-info__link-registro:hover { text-decoration: underline; }

/* Botones acción */
.pd-info__botones {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.pd-btn--carrito {
  flex: 1;
  background: var(--tn-brand);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 24px;
  box-shadow: 0 4px 14px rgba(190, 24, 93, 0.3);
  justify-content: center;
}
.pd-btn--carrito:hover {
  background: var(--tn-brand-dark);
  box-shadow: 0 6px 20px rgba(190, 24, 93, 0.4);
}
.pd-btn--whatsapp {
  flex: 1;
  background: #22c55e;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 14px 20px;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.3);
  justify-content: center;
}
.pd-btn--whatsapp:hover { background: #16a34a; }
.pd-btn--whatsapp-sec {
  width: 48px;
  height: 48px;
  background: #22c55e;
  color: #fff;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  text-decoration: none;
  transition: background 0.15s;
}
.pd-btn--whatsapp-sec:hover { background: #16a34a; }
.pd-btn--sin-stock {
  flex: 1;
  background: #f1f5f9;
  color: #94a3b8;
  font-size: 0.9rem;
  padding: 14px 20px;
  cursor: not-allowed;
  opacity: 0.8;
  justify-content: center;
}

/* Descripción + meta */
.pd-info__desc {
  font-size: 0.9rem;
  color: var(--tn-text-muted);
  line-height: 1.65;
  padding-top: 4px;
  border-top: 1px solid var(--tn-border);
}
.pd-info__desc p { margin: 0; }
.pd-info__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 8px;
  border-top: 1px solid var(--tn-border);
}
.pd-meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pd-meta-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
}
.pd-meta-val {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--tn-text);
  text-decoration: none;
}
a.pd-meta-val:hover { color: var(--tn-brand); }

/* Relacionados */
.pd-relacionados {
  padding: 48px 0 64px;
  background: var(--tn-brand-light);
  border-top: 1px solid var(--tn-brand-mid);
}

/* Responsive detalle */
@media (max-width: 768px) {
  .pd-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .pd-galeria { position: static; }
  .pd-btn--carrito { flex: auto; width: 100%; }
  .pd-btn--whatsapp { flex: auto; width: 100%; }
}
