/* ============================================================
   COFE KEY – style.css  v3.0
   Paleta principal:
     Negro    #1C1410  – fondo navbar, textos fuertes, CTAs
     Café     #6F4E37  – color de marca, botones secundarios
     Café cla #9B7B5A  – hovers, estados suaves
     Amarillo #E8C547  – detalles, badges, acentos dorados
   ============================================================ */

/* ── Variables ──────────────────────────────────────────── */
:root {
  /* Colores base */
  --negro:       #1C1410;
  --negro-l:     #2E2016;
  --cafe:        #6F4E37;
  --cafe-l:      #9B7B5A;
  --cafe-xl:     #F0E8DC;
  --amarillo:    #E8C547;
  --amarillo-l:  #F2D96A;
  --amarillo-xl: #FBF4D0;
  

    --azul:        #1C1410;    /* reemplaza al azul original */
  --azul-xl:     #F0E8DC;    /* versión clara */
  --verde:       #6f4e37;    /* reemplaza al verde original */
  --verde-xl:    #F0E8DC;
  /* UI general */
  --bg:          #6f4e37;
  --bg2:         #F0E8DC;
  --txt:         #1C1410;
  --txt-m:       #7A6555;
  --blanco:      #FFFFFF;

  /* Sombras */
  --card-shadow: 0 8px 32px rgba(28,20,16,.10);
  --card-hover:  0 20px 52px rgba(28,20,16,.18);

  /* Forma */
  --radius:      16px;
  --radius-sm:   10px;
  --transition:  .3s cubic-bezier(.4,0,.2,1);
}


/* ── Reset & base ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--txt);
  overflow-x: hidden;
}

/* ── Transición de página ───────────────────────────────── */
.page-transition-overlay {
  position: fixed; inset: 0;
  background: linear-gradient(135deg, var(--negro), var(--cafe));
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease;
  display: flex; align-items: center; justify-content: center;
}
.page-transition-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.page-transition-overlay i {
  color: var(--amarillo);
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
body { opacity: 1; transition: opacity .4s ease; }

/* ── Navbar ─────────────────────────────────────────────── */
.navbar-cofe {
  background: var(--negro);
  box-shadow: 0 4px 24px rgba(0,0,0,.45);
  padding: .75rem 0;
  border-bottom: 2px solid rgba(232,197,71,.15);
}
.navbar-cofe .navbar-brand {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -.5px;
  color: #fff !important;
}
.navbar-cofe .navbar-brand i { color: var(--amarillo); }

.navbar-cofe .nav-link {
  color: rgba(255,255,255,.78) !important;
  font-weight: 500;
  padding: .5rem .9rem !important;
  border-radius: 8px;
  transition: var(--transition);
}
.navbar-cofe .nav-link:hover {
  color: var(--amarillo) !important;
  background: rgba(255,255,255,.07);
}
.navbar-cofe .nav-link.active { color: var(--amarillo) !important; }

.cart-badge {
  background: var(--amarillo);
  color: var(--negro);
  font-size: .65rem;
  font-weight: 900;
  padding: .2em .5em;
  border-radius: 50px;
  min-width: 20px;
  text-align: center;
  vertical-align: super;
}

/* ── Hero (tienda/catálogo) ─────────────────────────────── */
.hero-section {
  background: linear-gradient(135deg, var(--negro) 0%, var(--cafe) 100%);
  min-height: 82vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23E8C547' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='10'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(232,197,71,.15);
  backdrop-filter: blur(8px);
  color: var(--amarillo);
  border-radius: 50px;
  padding: .4rem 1rem;
  font-size: .85rem; font-weight: 700;
  border: 1px solid rgba(232,197,71,.3);
  margin-bottom: 1.5rem;
}
.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  color: #474141;
  line-height: 1.1;
}
.hero-title span { color: var(--amarillo); }
.hero-subtitle { color: rgba(255,255,255,.82); font-size: 1.15rem; }

.hero-img-wrap img {
  filter: drop-shadow(0 30px 40px rgba(0,0,0,.5));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-18px); }
}

.hero-chip {
  position: absolute;
  background: rgba(255,255,255,.96);
  border-radius: 50px; padding: .4rem 1rem;
  font-size: .8rem; font-weight: 700;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  display: flex; align-items: center; gap: .5rem;
  color: var(--negro);
}
.hero-chip-1 { top: 15%; left: -10%; animation: floatchip 4s ease-in-out infinite; }
.hero-chip-2 { bottom: 20%; right: -10%; animation: floatchip 4s ease-in-out infinite .7s; }
@keyframes floatchip {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

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

/* Botón principal amarillo */
.btn-primary-ck {
  background: var(--amarillo);
  color: var(--negro); border: none; border-radius: 50px;
  font-weight: 800; padding: .75rem 2rem;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(232,197,71,.4);
}
.btn-primary-ck:hover {
  color: var(--negro); background: var(--amarillo-l);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(232,197,71,.5);
}

/* btn-verde → ahora café (alias para no romper HTML existente) */
.btn-verde {
  background: var(--cafe);
  color: #fff; border: none; border-radius: 50px;
  font-weight: 700; padding: .75rem 2rem;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(111,78,55,.35);
}
.btn-verde:hover {
  color: #fff; background: var(--cafe-l);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(111,78,55,.45);
}

/* btn-azul → ahora negro (alias) */
.btn-azul {
  background: var(--negro);
  color: #fff; border: none; border-radius: 50px;
  font-weight: 700; padding: .75rem 2rem;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(28,20,16,.35);
}
.btn-azul:hover {
  color: var(--amarillo);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(28,20,16,.45);
}

/* Botón fantasma para fondos oscuros */
.btn-ghost {
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 2px solid rgba(255,255,255,.35);
  border-radius: 50px;
  font-weight: 600; padding: .7rem 2rem;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover {
  background: rgba(232,197,71,.2);
  color: var(--amarillo);
  border-color: var(--amarillo);
}

/* ── Buscador y filtros (barra sticky tienda) ───────────── */
.filter-section {
  background: var(--negro);
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 1.25rem 0;
  position: sticky; top: 70px; z-index: 90;
  box-shadow: 0 6px 20px rgba(0,0,0,.3);
}
.search-wrap { position: relative; }
.search-wrap .fa-search {
  position: absolute; left: 1rem; top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,.4);
}
.search-input {
  padding-left: 2.8rem; border-radius: 50px;
  border: 2px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.08);
  color: #fff; font-size: .95rem;
}
.search-input::placeholder { color: rgba(255,255,255,.38); }
.search-input:focus {
  border-color: var(--amarillo);
  box-shadow: 0 0 0 .2rem rgba(232,197,71,.2);
  outline: none;
  background: rgba(255,255,255,.11);
  color: #fff;
}

.filter-pill {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .5rem 1.1rem; border-radius: 50px;
  border: 2px solid rgba(255,255,255,.18);
  background: transparent;
  font-weight: 600; font-size: .85rem;
  cursor: pointer; transition: var(--transition);
  color: rgba(255,255,255,.62);
}
.filter-pill:hover { border-color: var(--amarillo); color: var(--amarillo); }
.filter-pill.active {
  background: var(--amarillo);
  color: var(--negro);
  border-color: var(--amarillo);
  font-weight: 800;
}

/* ── Título de sección ──────────────────────────────────── */
.section-title { font-size: 1.9rem; font-weight: 900; color: var(--txt); }
.section-title span {
  color: var(--amarillo);
}

/* ── Tarjetas de producto ───────────────────────────────── */
.product-card {
  border: none; border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  overflow: hidden; height: 100%;
  transition: var(--transition);
  background: #fff;
  border-bottom: 3px solid transparent;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--card-hover);
  border-bottom-color: var(--amarillo);
}

.product-img-wrap {
  position: relative; height: 220px; overflow: hidden;
  background: var(--bg2);
}
.product-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.08); }

.product-no-img {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--cafe-xl), #faf0e6);
  color: var(--cafe);
}
.product-no-img i    { font-size: 3.5rem; opacity: .5; }
.product-no-img p    { font-size: .75rem; color: var(--txt-m); margin-top: .5rem; }

.product-badge {
  position: absolute; top: 12px; right: 12px;
  background: var(--amarillo);
  color: var(--negro);
  padding: .25rem .8rem; border-radius: 50px;
  font-size: .75rem; font-weight: 800;
}
.cat-tag {
  display: inline-block;
  background: var(--amarillo);
  color: var(--negro);
  border-radius: 50px;
  padding: .2rem .75rem; font-size: .72rem; font-weight: 700;
  margin-bottom: .5rem;
}
.product-name  { font-size: 1rem; font-weight: 700; line-height: 1.35; color: var(--txt); }
.product-desc  { font-size: .82rem; color: var(--txt-m); line-height: 1.5; }
.product-price { font-size: 1.4rem; font-weight: 900; color: var(--cafe); }
.product-price-unit { font-size: .78rem; font-weight: 400; color: var(--txt-m); }

.btn-cart {
  background: var(--negro);
  color: #fff; border: none; border-radius: 50px;
  font-weight: 700; font-size: .88rem;
  padding: .6rem 1.5rem; width: 100%;
  transition: var(--transition);
}
.btn-cart:hover {
  background: var(--cafe);
  color: #fff;
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(111,78,55,.4);
}
.btn-cart:active { transform: scale(.97); }

/* ── Categorías (cards de portada) ──────────────────────── */
.cat-card {
  border: none; border-radius: var(--radius);
  overflow: hidden; cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--card-shadow);
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--card-hover); }
.cat-card-body {
  background: linear-gradient(135deg, var(--negro), var(--cafe));
  padding: 2rem; text-align: center; color: #fff;
  border-bottom: 3px solid var(--amarillo);
}
.cat-card-body i {
  font-size: 2.5rem;
  color: var(--amarillo);
  margin-bottom: .75rem;
}

/* ── Carrito ─────────────────────────────────────────────── */
.cart-item {
  background: #fff; border-radius: var(--radius-sm);
  padding: 1rem; transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  border-left: 3px solid transparent;
}
.cart-item:hover {
  box-shadow: 0 4px 16px rgba(111,78,55,.12);
  border-left-color: var(--amarillo);
}
.cart-item-img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; }
.cart-no-img {
  width: 72px; height: 72px;
  background: var(--cafe-xl); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--cafe);
}
.qty-btn {
  width: 30px; height: 30px; border-radius: 8px;
  border: 2px solid #dee2e6; background: #fff;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: .2s;
}
.qty-btn:hover {
  border-color: var(--amarillo);
  color: var(--negro);
  background: var(--amarillo-xl);
}
.qty-display { width: 38px; text-align: center; font-weight: 700; border: none; background: transparent; }

/* ── Checkout (pasos) ───────────────────────────────────── */
.checkout-step {
  display: flex; align-items: center; gap: .5rem;
  color: var(--txt-m); font-weight: 600; font-size: .9rem;
}
.checkout-step .step-num {
  width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid #dee2e6;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .85rem; flex-shrink: 0;
}
.checkout-step.active            { color: var(--cafe); }
.checkout-step.active .step-num  { border-color: var(--cafe); background: var(--cafe); color: #fff; }
.checkout-step.done .step-num    { border-color: var(--amarillo); background: var(--amarillo); color: var(--negro); }
.checkout-step-line { flex: 1; height: 2px; background: #dee2e6; }
.checkout-step-line.done { background: var(--amarillo); }

/* ── Métodos de pago ────────────────────────────────────── */
.payment-method-card {
  border: 2px solid #e9ecef; border-radius: var(--radius-sm);
  padding: 1.25rem; cursor: pointer; transition: var(--transition);
}
.payment-method-card:hover { border-color: var(--cafe); }
.payment-method-card.selected {
  border-color: var(--cafe);
  background: var(--cafe-xl);
}
.payment-method-card.selected .pm-check { display: flex !important; }
.pm-check {
  display: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--cafe); color: #fff;
  align-items: center; justify-content: center; font-size: .7rem;
}

/* ── Formularios ────────────────────────────────────────── */
.form-control,
.form-select {
  border-radius: var(--radius-sm);
  border: 2px solid #e9ecef;
  padding: .65rem 1rem; font-size: .95rem;
  transition: var(--transition);
}
.form-control:focus,
.form-select:focus {
  border-color: var(--cafe);
  box-shadow: 0 0 0 .2rem rgba(111,78,55,.18);
}

/* ── Modales ─────────────────────────────────────────────── */
.modal-content { border: none; border-radius: 20px; overflow: hidden; }
.modal-header-grad {
  background: linear-gradient(135deg, var(--negro), var(--cafe));
  color: #fff; padding: 1.5rem;
}
.modal-header-grad .btn-close { filter: invert(1); }

/* ── Toast ───────────────────────────────────────────────── */
.toast-container-cofe { position: fixed; top: 80px; right: 1.5rem; z-index: 9999; }
.cofe-toast {
  min-width: 280px; border-radius: 14px;
  box-shadow: 0 8px 30px rgba(0,0,0,.2);
  animation: slideInRight .35s cubic-bezier(.4,0,.2,1);
}
@keyframes slideInRight {
  from { transform: translateX(110%); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}

/* ── Footer ──────────────────────────────────────────────── */
.footer-cofe {
  background: linear-gradient(135deg, #0e0a07, var(--negro));
  color: rgba(255,255,255,.78);
  padding: 4rem 0 1.5rem;
  border-top: 3px solid rgba(232,197,71,.18);
}
.footer-brand       { font-size: 1.8rem; font-weight: 900; color: #fff; }
.footer-brand i     { color: var(--amarillo); }
.footer-link        { color: rgba(255,255,255,.62); text-decoration: none; font-size: .9rem; display: block; margin-bottom: .4rem; transition: .2s; }
.footer-link:hover  { color: var(--amarillo); padding-left: 4px; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.1); color: #fff;
  font-size: 1rem; margin-right: .5rem;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--amarillo); color: var(--negro); transform: translateY(-3px); }
.footer-divider { border-color: rgba(255,255,255,.08); }

/* ── Reveal on scroll ───────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Spinner ─────────────────────────────────────────────── */
.spinner-cofe {
  width: 3rem; height: 3rem;
  border: 4px solid rgba(111,78,55,.2);
  border-top-color: var(--cafe);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
.no-products { text-align: center; padding: 5rem 1rem; color: var(--txt-m); }
.no-products i { font-size: 4rem; opacity: .25; display: block; margin-bottom: 1rem; }

/* ── Página de inicio – secciones de marca ──────────────── */
.brand-section     { padding: 6rem 0; }
.brand-section-alt { background: #fff; }
.brand-section-dark {
  background: linear-gradient(135deg, #0e0a07 0%, var(--negro) 100%);
  color: rgba(255,255,255,.9);
}

/* Label de sección */
.sec-label {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--cafe);
  background: var(--cafe-xl);
  border-radius: 50px; padding: .35rem 1rem;
  margin-bottom: 1.25rem;
}
.brand-section-dark .sec-label { color: var(--amarillo); background: rgba(232,197,71,.12); }

/* Título de sección marca */
.sec-title {
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
  font-weight: 900; line-height: 1.15; color: var(--txt);
}
.brand-section-dark .sec-title { color: #fff; }
.sec-title span {
  color: var(--cafe);
}
.brand-section-dark .sec-title span {
  color: var(--amarillo);
}
.sec-body { font-size: 1.05rem; line-height: 1.8; color: var(--txt-m); max-width: 520px; }
.brand-section-dark .sec-body { color: rgba(255,255,255,.72); }

/* Slots de imagen placeholder */
.img-slot {
  border-radius: 20px; overflow: hidden; position: relative;
  background: linear-gradient(135deg, var(--cafe-xl), #faf0e6);
  aspect-ratio: 4/3;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  border: 2px dashed rgba(111,78,55,.22);
}
.img-slot img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.img-slot .slot-placeholder {
  display: flex; flex-direction: column;
  align-items: center; gap: .75rem;
  padding: 2rem; text-align: center; color: var(--cafe);
  pointer-events: none; z-index: 1;
}
.img-slot .slot-placeholder i   { font-size: 2.8rem; opacity: .4; }
.img-slot .slot-placeholder p   { font-size: .82rem; font-weight: 600; opacity: .55; text-transform: uppercase; letter-spacing: .06em; margin: 0; }
.img-slot img ~ .slot-placeholder { display: none; }
.img-slot-wide { aspect-ratio: 16/9; }
.img-slot-tall { aspect-ratio: 3/4; }
.img-slot-sq   { aspect-ratio: 1/1; }

/* Tarjetas de valor */
.value-card {
  background: #fff; border-radius: 18px;
  padding: 2rem 1.75rem;
  box-shadow: var(--card-shadow);
  transition: var(--transition); height: 100%;
  border-bottom: 3px solid transparent;
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--card-hover); border-bottom-color: var(--amarillo); }
.value-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 1.25rem;
}

/* Timeline */
.timeline { position: relative; padding-left: 2.5rem; }
.timeline::before {
  content: '';
  position: absolute; left: .85rem; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(to bottom, var(--negro), var(--cafe));
}
.tl-item    { position: relative; margin-bottom: 2.25rem; }
.tl-item:last-child { margin-bottom: 0; }
.tl-dot {
  position: absolute; left: -2.5rem;
  width: 18px; height: 18px; border-radius: 50%;
  background: linear-gradient(135deg, var(--negro), var(--cafe));
  border: 3px solid #fff; box-shadow: 0 0 0 3px rgba(111,78,55,.2);
  top: .2rem;
}
.tl-year  { font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--cafe); margin-bottom: .25rem; }
.tl-title { font-weight: 700; font-size: 1rem; color: var(--txt); margin-bottom: .25rem; }
.tl-body  { font-size: .9rem; color: var(--txt-m); line-height: 1.65; }

/* Pasos de elaboración */
.process-step { display: flex; gap: 1.25rem; align-items: flex-start; }
.process-num {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--negro), var(--cafe));
  color: var(--amarillo); font-weight: 800; font-size: .95rem;
  display: flex; align-items: center; justify-content: center;
}
.process-body h6 { font-weight: 700; margin-bottom: .25rem; }
.process-body p  { font-size: .88rem; color: var(--txt-m); margin: 0; line-height: 1.6; }

/* Separador decorativo */
.deco-divider {
  display: flex; align-items: center; gap: 1rem; margin: 1.5rem 0;
}
.deco-divider::before,
.deco-divider::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(111,78,55,.25), transparent);
}
.deco-divider i { color: var(--amarillo); font-size: .9rem; }

/* Stats band */
.stat-band {
  background: linear-gradient(135deg, var(--negro) 0%, var(--cafe) 100%);
  padding: 3.5rem 0;
}
.stat-number { font-size: 2.8rem; font-weight: 900; color: #fff; line-height: 1; }
.stat-label  { font-size: .85rem; color: rgba(255,255,255,.68); margin-top: .25rem; }

/* Hero de marca */
.brand-hero {
  background: linear-gradient(160deg, #0a0704 0%, var(--negro) 55%, #3B2314 100%);
  min-height: 88vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.brand-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 65% 50%, rgba(232,197,71,.06) 0%, transparent 70%);
}
.brand-hero-content { position: relative; z-index: 1; }
.brand-hero-scroll {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.45); font-size: .8rem; text-align: center;
  z-index: 1; animation: bounceDown 2s ease-in-out infinite;
}
@keyframes bounceDown {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* Quote central */
.brand-quote {
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 800; line-height: 1.4;
  font-style: italic; color: #fff;
}


/* ── Videos – Hero ──────────────────────────────────────── */
.videos-hero {
  background: linear-gradient(135deg, var(--negro) 0%, #3B2314 100%);
  padding: 5rem 0 3.5rem;
  position: relative; overflow: hidden;
}
.videos-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(232,197,71,.06) 0%, transparent 65%);
}

/* Tabs de temporada */
.temp-tabs-wrap {
  background: #111;
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding: .65rem 0;
  position: sticky; top: 70px; z-index: 89;
}
.temp-tabs-inner {
  display: flex; gap: .5rem;
  overflow-x: auto; padding-bottom: 2px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--cafe) transparent;
}
.temp-tabs-inner::-webkit-scrollbar        { height: 3px; }
.temp-tabs-inner::-webkit-scrollbar-thumb  { background: var(--cafe); border-radius: 4px; }

.temp-tab {
  display: inline-flex; align-items: center; gap: .5rem;
  flex-shrink: 0; white-space: nowrap;
  padding: .52rem 1.2rem; border-radius: 50px; border: none;
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.58);
  font-size: .84rem; font-weight: 600;
  cursor: pointer; transition: .22s;
  scroll-snap-align: start;
}
.temp-tab:hover { background: rgba(255,255,255,.12); color: #fff; }
.temp-tab.active {
  background: var(--tab-color, var(--cafe));
  color: #fff; font-weight: 800;
  box-shadow: 0 4px 14px rgba(0,0,0,.4);
}
.tab-live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--amarillo); flex-shrink: 0;
  box-shadow: 0 0 6px var(--amarillo);
  animation: livePulse 1.6s ease-in-out infinite;
}
@keyframes livePulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(.7); }
}

/* Filtros de categoría (videos) */
.cat-filter-wrap {
  background: var(--bg);
  border-bottom: 1px solid rgba(0,0,0,.08);
  padding: .8rem 0;
}
.cat-pill {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .45rem 1.1rem; border-radius: 50px;
  border: 2px solid #ddd; background: #fff;
  font-weight: 600; font-size: .82rem;
  cursor: pointer; transition: .22s; color: var(--txt-m);
}
.cat-pill:hover { border-color: var(--cafe); color: var(--cafe); }
.cat-pill.active { background: var(--negro); color: var(--amarillo); border-color: var(--negro); font-weight: 800; }

/* Banner temporada activa */
.temporada-banner { display: none; border-radius: 14px; }

/* Tarjeta de video */
.video-card {
  background: #fff; border-radius: var(--radius);
  overflow: hidden; cursor: pointer;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  height: 100%;
  border-bottom: 3px solid transparent;
}
.video-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--card-hover);
  border-bottom-color: var(--amarillo);
}
.video-card-featured .video-thumb-wrap { aspect-ratio: 16/9; }
.video-thumb-wrap {
  position: relative; overflow: hidden;
  aspect-ratio: 16/9; background: var(--negro); flex-shrink: 0;
}
.video-thumb-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease; display: block;
}
.video-card:hover .video-thumb-wrap img { transform: scale(1.06); }
.video-no-thumb {
  width: 100%; height: 100%; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--negro), var(--cafe));
  color: var(--amarillo); font-size: 3rem;
}
.video-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.72) 0%, transparent 55%);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: .28s;
}
.video-card:hover .video-overlay { opacity: 1; }
.play-btn {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--amarillo);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--negro);
  transform: scale(.82); transition: .28s;
  box-shadow: 0 8px 32px rgba(0,0,0,.45);
}
.video-card:hover .play-btn { transform: scale(1); }

.video-badges   { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: .35rem; z-index: 2; }
.vid-cat-badge,
.vid-temp-badge { font-size: .69rem; font-weight: 700; border-radius: 6px; padding: .22em .7em; display: inline-block; width: fit-content; line-height: 1.5; }
.vid-temp-badge { color: #fff; }
.vid-featured-flag {
  position: absolute; top: 10px; right: 10px;
  background: var(--amarillo); color: var(--negro);
  font-size: .68rem; font-weight: 800;
  border-radius: 6px; padding: .22em .7em; z-index: 2;
}
.video-info     { padding: 1.1rem 1.25rem; }
.video-title    { font-weight: 800; font-size: .97rem; color: var(--txt); line-height: 1.35; margin-bottom: .4rem; }
.video-desc     { font-size: .82rem; color: var(--txt-m); line-height: 1.5; margin-bottom: .75rem; }
.video-meta     { display: flex; align-items: center; font-size: .78rem; color: var(--txt-m); border-top: 1px solid #f0ece8; padding-top: .6rem; }

/* Lightbox */
#lightbox {
  display: none; position: fixed; inset: 0; z-index: 9998;
  background: rgba(0,0,0,.92); backdrop-filter: blur(10px);
  align-items: center; justify-content: center; padding: 1rem;
}
#lightboxContent,
#lbContent {
  background: #fff; border-radius: 20px;
  width: 100%; max-width: 800px;
  max-height: 92vh; overflow-y: auto;
  box-shadow: 0 40px 80px rgba(0,0,0,.65);
  animation: lbIn .28s cubic-bezier(.4,0,.2,1);
}
@keyframes lbIn { from{transform:scale(.94);opacity:0} to{transform:scale(1);opacity:1} }
.lb-video  { background: var(--negro); border-radius: 20px 20px 0 0; overflow: hidden; }
.lb-info   { padding: 1.5rem; }
.lb-close,
#lbClose {
  position: fixed; top: 1.1rem; right: 1.4rem; z-index: 9999;
  width: 44px; height: 44px; border-radius: 50%; border: none;
  background: rgba(255,255,255,.14); color: #fff; font-size: 1.2rem;
  cursor: pointer; transition: .22s; backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
}
.lb-close:hover,
#lbClose:hover { background: var(--amarillo); color: var(--negro); }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero-section    { min-height: auto; padding: 4rem 0 3rem; text-align: center; }
  .hero-chip-1, .hero-chip-2 { display: none; }
  .filter-section  { position: relative; top: 0; }
  .product-img-wrap { height: 180px; }
  .brand-section   { padding: 4rem 0; }
  .brand-hero      { min-height: auto; padding: 6rem 0 5rem; }
  #lightboxContent,
  #lbContent       { border-radius: 14px; }
  .play-btn        { width: 52px; height: 52px; font-size: 1.15rem; }
}
