/* ══════════════════════════════════════════════
   La Poblana — Shared Styles
   ══════════════════════════════════════════════ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --color-primary:  #E91E8C;
  --color-bg:       #FFF5F8;
  --radius-card:    20px;
  --shadow-card:    0 8px 30px rgba(0,0,0,0.08);
  --shadow-hover:   0 20px 50px rgba(0,0,0,0.14);
  --transition:     0.25s ease;
}

html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; background: var(--color-bg); color: #1a1a1a; overflow-x: hidden; }

/* ── HEADER ────────────────────────────────── */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(135deg, #E91E8C 0%, #F15A29 50%, #FDB913 100%);
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
  padding: 20px 0;
}
#site-header.scrolled {
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  padding: 12px 0;
}

.header-inner {
  max-width: 1400px; margin: 0 auto;
  padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
}

.site-logo img { height: 60px; transition: height 0.3s ease; }
#site-header.scrolled .site-logo img { height: 50px; }

/* ── NAV ───────────────────────────────────── */
.main-nav { display: flex; align-items: center; gap: 28px; }

.nav-link {
  color: #fff; text-decoration: none;
  font-size: 15px; font-weight: 500;
  transition: opacity var(--transition);
}
.nav-link:hover { opacity: 0.75; }
#site-header.scrolled .nav-link { color: #1a1a1a; }

/* Categorías dropdown trigger */
.cat-trigger {
  display: flex; align-items: center; gap: 6px;
  color: #fff; background: transparent; border: none;
  font-family: 'Poppins', sans-serif; font-size: 15px; font-weight: 500;
  cursor: pointer; padding: 8px 12px; border-radius: 10px;
  transition: background var(--transition), color var(--transition);
}
.cat-trigger:hover, .cat-trigger.open { background: rgba(255,255,255,0.2); }
#site-header.scrolled .cat-trigger { color: #1a1a1a; }
#site-header.scrolled .cat-trigger:hover,
#site-header.scrolled .cat-trigger.open { background: rgba(0,0,0,0.06); }

.cat-arrow {
  font-size: 10px;
  display: inline-block;
  transition: transform 0.2s ease;
}
.cat-trigger.open .cat-arrow { transform: rotate(180deg); }

/* Dropdown panel */
.cat-dropdown {
  display: none;
  position: absolute; top: calc(100% + 10px); left: 0;
  background: #fff; border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  padding: 10px; min-width: 270px;
  flex-direction: column; gap: 4px;
  animation: dropFade 0.2s ease;
  z-index: 999;
}
.cat-dropdown.open { display: flex; }

@keyframes dropFade {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.cat-item {
  display: flex; align-items: center; gap: 14px;
  padding: 11px 14px; border-radius: 12px;
  text-decoration: none; color: #1a1a1a;
  font-size: 14px; font-weight: 600;
  transition: background 0.15s ease;
}
.cat-item:hover { background: var(--item-bg); }

.cat-item-icon {
  width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; flex-shrink: 0;
}
.cat-item-arrow { margin-left: auto; color: #ccc; font-size: 14px; }

/* Contenedor relativo para el dropdown */
.nav-cat-wrap { position: relative; }

/* Botón search */
.btn-search {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.25);
  border: none; color: #fff; font-size: 17px;
  cursor: pointer; transition: background var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.btn-search:hover { background: rgba(255,255,255,0.4); }
#site-header.scrolled .btn-search { background: var(--color-primary); }

/* ── HERO CATEGORÍA ────────────────────────── */
.cat-hero {
  margin-top: 90px;
  padding: 70px 40px 60px;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; text-align: center;
  position: relative; overflow: hidden;
  min-height: 280px;
}
.cat-hero h1 {
  font-family: 'Fredoka', sans-serif;
  font-size: 56px; font-weight: 700;
  color: #fff; line-height: 1.1;
  text-shadow: 0 4px 20px rgba(0,0,0,0.15);
  margin-bottom: 12px;
}
.cat-hero p { color: rgba(255,255,255,0.92); font-size: 18px; font-weight: 500; }
.cat-hero .badge-count {
  margin-top: 16px;
  display: inline-block;
  background: rgba(255,255,255,0.22);
  color: #fff; font-weight: 700; font-size: 14px;
  padding: 6px 18px; border-radius: 50px;
  backdrop-filter: blur(8px);
}
.cat-hero-bubble {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,0.12);
  pointer-events: none;
}

/* ── BREADCRUMB ───────────────────────────── */
.breadcrumb {
  max-width: 1200px; margin: 28px auto 0; padding: 0 40px;
  font-size: 13px; color: #888; display: flex; gap: 6px; align-items: center;
}
.breadcrumb a { color: var(--color-primary); text-decoration: none; font-weight: 500; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: #ccc; }

/* ── PRODUCT GRID ──────────────────────────── */
.catalog-section { padding: 40px 40px 80px; max-width: 1300px; margin: 0 auto; }
.catalog-section h2 {
  font-family: 'Fredoka', sans-serif;
  font-size: 32px; font-weight: 600; color: #1a1a1a;
  margin-bottom: 28px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

/* ── PRODUCT CARD ──────────────────────────── */
.product-card {
  background: #fff;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: flex; flex-direction: column;
  border: 2px solid transparent;
  position: relative;
}
.product-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: var(--shadow-hover);
  border-color: var(--cat-accent);
}

/* ── SHINE BORDER (animated) ──────────────── */
@keyframes shine-pulse {
  0%   { background-position: 0% 0%; }
  to   { background-position: 300% 300%; }
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-card);
  padding: 2px;
  background-image: radial-gradient(
    transparent, transparent,
    var(--cat-accent, #E91E8C),
    transparent, transparent
  );
  background-size: 300% 300%;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  will-change: background-position;
  animation: shine-pulse 8s infinite linear;
  pointer-events: none;
  z-index: 0;
}

.card-img-wrap {
  aspect-ratio: 1 / 1;
  overflow: hidden; position: relative;
  background: var(--cat-bg-light);
}
.card-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.35s ease;
}
.product-card:hover .card-img-wrap img { transform: scale(1.05); }

.card-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 56px;
  background: var(--cat-bg-light, #fce4ef);
  opacity: 0.7;
}

.card-badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--cat-accent); color: #fff;
  font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 50px;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.card-picante {
  position: absolute; top: 10px; right: 10px;
  font-size: 13px; background: rgba(255,255,255,0.9);
  padding: 3px 8px; border-radius: 50px;
}

.card-body { padding: 16px 16px 18px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.card-name {
  font-family: 'Fredoka', sans-serif;
  font-size: 17px; font-weight: 600; color: #1a1a1a; line-height: 1.3;
}
.card-sabor { font-size: 12px; color: #888; }
.card-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 4px; }
.card-tag {
  font-size: 11px; font-weight: 600; color: #666;
  background: #f4f4f4; padding: 3px 9px; border-radius: 50px;
}
.card-cta {
  margin-top: auto; padding-top: 12px;
}
.btn-cotizar {
  display: block; text-align: center; width: 100%;
  background: var(--cat-accent); color: #fff;
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 13px;
  padding: 10px 0; border-radius: 12px; text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.btn-cotizar:hover { opacity: 0.88; transform: scale(1.02); }

/* ── FOOTER ────────────────────────────────── */
.site-footer {
  background: #1a1a1a; color: #fff;
  padding: 60px 40px 30px;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 40px; border-bottom: 1px solid #333;
}
.footer-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Fredoka', sans-serif; font-size: 26px; color: #FDB913; margin-bottom: 10px;
}
.footer-logo-img {
  width: 48px; height: 48px; object-fit: contain;
  border-radius: 50%; background: #fff; padding: 3px;
}
.footer-inner p, .footer-inner a {
  font-size: 14px; color: #aaa; line-height: 1.8; text-decoration: none;
}
.footer-inner a:hover { color: #fff; }
.footer-inner h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: #fff; margin-bottom: 14px; }
.btn-wa-footer {
  display: inline-block; margin-top: 14px;
  background: #25D366; color: #fff !important;
  font-weight: 700; font-size: 13px;
  padding: 9px 20px; border-radius: 50px; text-decoration: none !important;
  transition: opacity 0.2s ease;
}
.btn-wa-footer:hover { opacity: 0.88; }
.footer-bottom { max-width: 1200px; margin: 24px auto 0; text-align: center; color: #555; font-size: 12px; }

/* ══════════════════════════════════════════════
   CARRITO — Header actions
   ══════════════════════════════════════════════ */
.header-actions {
  display: flex; align-items: center; gap: 8px;
}

.btn-cart {
  position: relative;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,0.25);
  border: none; color: #fff; font-size: 19px;
  cursor: pointer;
  transition: background var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.btn-cart:hover, .btn-cart.open { background: rgba(255,255,255,0.4); }
#site-header.scrolled .btn-cart { background: var(--color-primary); }

.cart-badge {
  position: absolute; top: -4px; right: -4px;
  min-width: 18px; height: 18px;
  background: #ff3b30; color: #fff;
  font-size: 10px; font-weight: 700;
  border-radius: 50px; padding: 0 4px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--color-bg);
  pointer-events: none;
}

@keyframes cart-flash {
  0%, 100% { transform: scale(1); }
  40%       { transform: scale(1.3); }
}
.cart-btn-flash { animation: cart-flash 0.5s ease; }

/* ── Panel del carrito ──────────────────────── */
.cart-panel {
  position: fixed;
  top: 80px; right: 16px;
  width: 360px;
  max-height: calc(100vh - 100px);
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
  display: flex; flex-direction: column;
  overflow: hidden;
  transform: translateY(-12px) scale(0.97);
  opacity: 0; pointer-events: none;
  transition: transform 0.22s ease, opacity 0.22s ease;
  z-index: 1100;
}
.cart-panel.open {
  transform: translateY(0) scale(1);
  opacity: 1; pointer-events: all;
}

.cart-panel-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; flex-shrink: 0;
  background: linear-gradient(135deg, #E91E8C 0%, #F15A29 50%, #FDB913 100%);
  color: #fff;
  font-family: 'Fredoka', sans-serif; font-size: 18px; font-weight: 600;
}
.cart-close {
  background: rgba(255,255,255,0.25); border: none; color: #fff;
  width: 28px; height: 28px; border-radius: 50%;
  cursor: pointer; font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
.cart-close:hover { background: rgba(255,255,255,0.4); }

.cart-items-list {
  flex: 1; overflow-y: auto; padding: 12px 16px;
  display: flex; flex-direction: column; gap: 8px;
  min-height: 80px;
}
.cart-empty {
  color: #aaa; font-size: 14px; text-align: center;
  padding: 30px 0; line-height: 1.6;
}

.cart-item {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; padding: 10px 12px;
  background: #f9f9f9; border-radius: 12px; flex-shrink: 0;
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { display: block; font-size: 13px; font-weight: 600; color: #1a1a1a; line-height: 1.3; }
.cart-item-pres { display: block; font-size: 11px; color: #888; margin-top: 2px; }
.cart-item-controls { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }

.cqty-btn {
  width: 26px; height: 26px; border-radius: 8px;
  background: #eee; border: none; cursor: pointer;
  font-size: 16px; font-weight: 700; color: #333;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
.cqty-btn:hover { background: #E91E8C; color: #fff; }
.cqty-val { font-size: 14px; font-weight: 700; min-width: 22px; text-align: center; }

.cart-remove {
  width: 26px; height: 26px; border-radius: 8px;
  background: transparent; border: none; cursor: pointer;
  font-size: 12px; color: #ccc;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s, color 0.15s; margin-left: 2px;
}
.cart-remove:hover { background: #fff0f0; color: #ff3b30; }

/* Estado vacío */
.cart-empty-state {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; padding: 30px 16px;
}
.cart-empty-icon {
  font-size: 40px; margin-bottom: 10px;
  opacity: 0.35;
}
.cart-empty {
  color: #aaa; font-size: 13px; text-align: center; line-height: 1.7;
}

/* Footer del carrito (vaciar pedido) */
.cart-footer {
  display: flex; align-items: center; justify-content: flex-end;
  padding: 6px 16px 8px;
  border-top: 1px solid #f5f5f5;
  flex-shrink: 0;
}
.cart-clear-btn {
  background: none; border: none; cursor: pointer;
  font-size: 12px; color: #ccc; font-family: 'Poppins', sans-serif;
  padding: 4px 8px; border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
.cart-clear-btn:hover { background: #fff0f0; color: #ff3b30; }

.cart-form-section {
  padding: 14px 16px 18px; flex-shrink: 0;
  border-top: 1px solid #f0f0f0;
}
.cart-form-title {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: #aaa; margin-bottom: 10px;
}
.cart-input {
  display: block; width: 100%;
  padding: 10px 14px; margin-bottom: 8px;
  border: 1.5px solid #eee; border-radius: 10px;
  font-family: 'Poppins', sans-serif; font-size: 13px; color: #1a1a1a;
  outline: none; transition: border-color 0.15s; background: #fafafa;
}
.cart-input:focus { border-color: #E91E8C; background: #fff; }

.btn-solicitar {
  display: block; width: 100%;
  background: linear-gradient(135deg, #25D366, #1ea952);
  color: #fff; font-family: 'Poppins', sans-serif;
  font-weight: 700; font-size: 14px;
  padding: 12px 0; border: none; border-radius: 12px;
  cursor: pointer; transition: opacity 0.2s, transform 0.2s;
  margin-top: 2px;
}
.btn-solicitar:hover { opacity: 0.9; transform: scale(1.01); }

/* ══════════════════════════════════════════════
   CONTROLES DE TARJETA — presentación, qty, CTA
   ══════════════════════════════════════════════ */
.card-present {
  display: flex; gap: 6px; margin-top: 8px;
}
.btn-present {
  flex: 1; padding: 7px 0;
  border: 1.5px solid #e8e8e8; border-radius: 8px;
  background: #f7f7f7; color: #666;
  font-family: 'Poppins', sans-serif; font-size: 12px; font-weight: 600;
  cursor: pointer; transition: all 0.15s ease;
}
.btn-present:hover { border-color: var(--cat-accent); color: var(--cat-accent); background: #fff; }
.btn-present.active { background: var(--cat-accent); color: #fff; border-color: var(--cat-accent); }

.card-qty {
  display: flex; align-items: center; gap: 8px; margin-top: 10px;
}
.qty-btn {
  width: 30px; height: 30px; border-radius: 8px;
  background: #f0f0f0; border: none; cursor: pointer;
  font-size: 17px; font-weight: 700; color: #444;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s, color 0.15s;
}
.qty-btn:hover { background: var(--cat-accent); color: #fff; }
.qty-num {
  font-size: 15px; font-weight: 700; min-width: 24px; text-align: center; color: #1a1a1a;
}

.btn-add {
  display: block; width: 100%;
  background: var(--cat-accent); color: #fff;
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 13px;
  padding: 11px 0; border: none; border-radius: 12px;
  cursor: pointer; transition: opacity 0.2s, transform 0.2s, background 0.25s;
  margin-top: 10px;
}
.btn-add:hover { opacity: 0.88; transform: scale(1.02); }
.btn-add--done { background: #00A651 !important; opacity: 1 !important; }

/* ══════════════════════════════════════════════
   EFFECTS — progress bar · scroll reveal · toast ·
              typewriter · image zoom · nav underline
   ══════════════════════════════════════════════ */

/* 1. Progress bar */
#scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 9999;
  height: 3px; width: 0%;
  background: linear-gradient(90deg, #E91E8C, #F15A29, #FDB913);
  transition: width 0.1s linear;
  pointer-events: none;
}

/* 2. Scroll reveal */
/* ── SCROLL REVEAL — base ─────────────────────────────── */
.lp-reveal {
  opacity: 0;
  will-change: opacity, transform, filter;
}
.lp-reveal.lp-revealed {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

/* Variante: sube suavemente */
.lp-rv-up {
  transform: translateY(36px);
  transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1),
              transform 0.65s cubic-bezier(0.22,1,0.36,1);
}

/* Variante: entra desde la izquierda */
.lp-rv-left {
  transform: translateX(-42px);
  transition: opacity 0.60s cubic-bezier(0.22,1,0.36,1),
              transform 0.60s cubic-bezier(0.22,1,0.36,1);
}

/* Variante: entra desde la derecha */
.lp-rv-right {
  transform: translateX(42px);
  transition: opacity 0.60s cubic-bezier(0.22,1,0.36,1),
              transform 0.60s cubic-bezier(0.22,1,0.36,1);
}

/* Variante: escala + sube (tarjetas) */
.lp-rv-scale {
  transform: translateY(28px) scale(0.94);
  transition: opacity 0.60s cubic-bezier(0.34,1.56,0.64,1),
              transform 0.60s cubic-bezier(0.34,1.56,0.64,1);
}

/* Variante: blur + sube (títulos hero) */
.lp-rv-blur-up {
  transform: translateY(24px);
  filter: blur(6px);
  transition: opacity 0.70s cubic-bezier(0.22,1,0.36,1),
              transform 0.70s cubic-bezier(0.22,1,0.36,1),
              filter 0.70s cubic-bezier(0.22,1,0.36,1);
}

/* 3. Image zoom en tarjetas */
.card-img-wrap {
  overflow: hidden;
}
.card-img-wrap img {
  transition: transform 0.4s ease;
  width: 100%; height: 100%; object-fit: cover;
}
.product-card:hover .card-img-wrap img {
  transform: scale(1.08);
}

/* 4. Toast notifications */
.lp-toast-wrap {
  position: fixed;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 9990;
  display: flex; flex-direction: column; align-items: center;
  gap: 10px; pointer-events: none;
}
.lp-toast {
  display: flex; align-items: center; gap: 12px;
  background: #1a1a1a; color: #fff;
  padding: 12px 20px; border-radius: 50px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.22);
  font-family: 'Poppins', sans-serif; font-size: 13px;
  opacity: 0; transform: translateY(16px) scale(0.95);
  transition: opacity 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
}
.lp-toast--in  { opacity: 1; transform: translateY(0) scale(1); }
.lp-toast--out { opacity: 0; transform: translateY(-10px) scale(0.95); }

.lp-toast-check {
  width: 24px; height: 24px; border-radius: 50%;
  background: #00A651; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; flex-shrink: 0;
}
.lp-toast-body { display: flex; flex-direction: column; }
.lp-toast-name { font-weight: 700; font-size: 13px; line-height: 1.3; }
.lp-toast-sub  { font-size: 11px; color: rgba(255,255,255,0.65); }

/* 5. Typewriter cursor */
.tw-cursor::after {
  content: '|';
  animation: tw-blink 0.7s step-end infinite;
  margin-left: 2px;
  opacity: 0.7;
}
@keyframes tw-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* 6. Nav links — underline animado */
.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute; bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--color-primary, #E91E8C);
  border-radius: 2px;
  transition: width 0.25s ease;
}
.nav-link:hover::after { width: 100%; }

/* 7. Gradient animado en textos especiales */
@keyframes gradient-shift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.text-gradient-anim {
  background: linear-gradient(135deg, #E91E8C, #F15A29, #FDB913, #E91E8C);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 4s ease infinite;
}

/* ── RESPONSIVE ────────────────────────────── */
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .cat-hero h1 { font-size: 40px; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}
@media (max-width: 600px) {
  .header-inner { padding: 0 20px; }
  .main-nav { display: none; }
  .cat-hero { padding: 50px 20px 40px; }
  .cat-hero h1 { font-size: 32px; }
  .catalog-section { padding: 28px 20px 60px; }
  .breadcrumb { padding: 0 20px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .site-footer { padding: 40px 20px 24px; }
}

/* ── BARRA DE NAVEGACIÓN ENTRE CATEGORÍAS ─────────────────── */
.cat-nav-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.cat-nav-hint {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #aaa;
  white-space: nowrap;
  margin-right: 4px;
}
.cat-nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 50px;
  background: var(--pill-bg);
  color: var(--pill-color);
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s;
}
.cat-nav-pill:hover {
  border-color: var(--pill-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.10);
}
.cat-nav-emoji { font-size: 16px; line-height: 1; }
.cat-nav-label { line-height: 1; }

@media (max-width: 600px) {
  .cat-nav-bar { padding: 12px 20px 16px; gap: 8px; }
  .cat-nav-hint { width: 100%; margin-bottom: 2px; }
  .cat-nav-pill { font-size: 12px; padding: 6px 12px; }
}

/* ── BANNER INFO CAJA ─────────────────────────────────── */
.catalog-info-banner {
  display: flex;
  align-items: center;
  gap: 0;
  background: #fff;
  border: 1.5px solid #f0f0f0;
  border-radius: 16px;
  padding: 18px 28px;
  margin-bottom: 36px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  flex-wrap: wrap;
  gap: 0;
}
.cib-item {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 160px;
  padding: 6px 12px;
}
.cib-icon {
  font-size: 26px;
  flex-shrink: 0;
}
.cib-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cib-text strong {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.2;
}
.cib-text span {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  color: #666;
  line-height: 1.3;
}
.cib-text em {
  font-style: normal;
  font-weight: 700;
  color: var(--cat-accent, #E91E8C);
}
.cib-note .cib-text strong { color: #E91E8C; }
.cib-divider {
  width: 1px;
  height: 40px;
  background: #eee;
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .catalog-info-banner { flex-direction: column; align-items: flex-start; padding: 16px 20px; gap: 12px; }
  .cib-divider { width: 100%; height: 1px; }
  .cib-item { padding: 0; }
}

/* ── HAMBURGUESA Y MENÚ MÓVIL ─────────────────────────── */
.btn-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: none; border: none;
  cursor: pointer; padding: 4px;
}
.btn-hamburger span {
  display: block;
  height: 2.5px;
  background: #1a1a1a;
  border-radius: 2px;
  transition: transform 0.28s ease, opacity 0.28s ease;
}
.btn-hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.btn-hamburger.open span:nth-child(2) { opacity: 0; }
.btn-hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Panel deslizante */
/* Overlay backdrop */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0);
  z-index: 999;
  transition: background 0.35s ease;
  pointer-events: none;
  backdrop-filter: blur(0px);
}
.mobile-menu.open {
  background: rgba(0,0,0,0.42);
  pointer-events: all;
  backdrop-filter: blur(2px);
}

/* Panel deslizante */
.mobile-menu-inner {
  background: #fff;
  width: min(85vw, 320px);
  height: 100%;
  padding: 28px 20px 40px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateX(-110%);
  transition: transform 0.38s cubic-bezier(0.22,1,0.36,1);
  box-shadow: 8px 0 40px rgba(0,0,0,0.18);
}
.mobile-menu.open .mobile-menu-inner {
  transform: translateX(0);
}

/* Logo dentro del panel */
.mobile-menu-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1.5px solid #f0f0f0;
}
.mobile-menu-logo img {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
  padding: 2px;
  border: 1.5px solid #eee;
}
.mobile-menu-logo span {
  font-family: 'Fredoka', sans-serif;
  font-size: 17px; font-weight: 700;
  color: #1a1a1a; line-height: 1.2;
}

/* Título de sección */
.mobile-cat-title {
  font-family: 'Poppins', sans-serif;
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: #bbb; padding: 0 4px; margin-bottom: 6px;
}

/* Links con animación de entrada escalonada */
.mobile-cat-link, .mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 15px; font-weight: 600;
  color: #1a1a1a; text-decoration: none;
  padding: 12px 14px;
  border-radius: 12px;
  transition: background 0.18s, transform 0.18s, color 0.18s;
  opacity: 0;
  transform: translateX(-18px);
}
.mobile-menu.open .mobile-cat-link,
.mobile-menu.open .mobile-nav-link {
  opacity: 1;
  transform: translateX(0);
}

/* Escalonamiento de cada item */
.mobile-menu.open .mobile-cat-link:nth-child(1),
.mobile-menu.open .mobile-nav-link:nth-child(1) { transition-delay: 0.12s; }
.mobile-menu.open .mobile-cat-link:nth-child(2) { transition-delay: 0.17s; }
.mobile-menu.open .mobile-cat-link:nth-child(3) { transition-delay: 0.22s; }
.mobile-menu.open .mobile-cat-link:nth-child(4) { transition-delay: 0.27s; }
.mobile-menu.open .mobile-cat-link:nth-child(5) { transition-delay: 0.32s; }
.mobile-menu.open .mobile-cat-link:nth-child(6) { transition-delay: 0.37s; }
.mobile-menu.open .mobile-nav-link:nth-child(2) { transition-delay: 0.42s; }
.mobile-menu.open .mobile-nav-link:nth-child(3) { transition-delay: 0.47s; }
.mobile-menu.open .mobile-nav-link:nth-child(4) { transition-delay: 0.50s; }

.mobile-cat-link:hover  {
  background: #fce4ef;
  color: #E91E8C;
  transform: translateX(4px);
}
.mobile-nav-link:hover {
  background: #f5f5f5;
  transform: translateX(4px);
}

.mobile-menu-divider {
  height: 1.5px;
  background: linear-gradient(to right, #eee, transparent);
  margin: 12px 4px;
  opacity: 0;
  transition: opacity 0.3s ease 0.38s;
}
.mobile-menu.open .mobile-menu-divider {
  opacity: 1;
}
.mobile-nav-link { color: #555; font-weight: 500; }

@media (max-width: 768px) {
  .main-nav { display: none !important; }
  .btn-hamburger { display: flex; }
  .mobile-menu { display: block; }
  .cart-panel { width: 100% !important; right: 0 !important; }
}
