/* ================================================================
   main.css — La Playa Mega Store
   ================================================================ */

:root {
  --blue:   #2c5bbf;
  --accent: #226bc4;
  --gold:   #f9cd55;
  --green:  #25D366;
  --dark:   #0a1628;
  --max:    1480px;
}

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

body {
  font-family: 'Outfit', sans-serif;
  background: #f0f2f5;
  color: #1a1a2e;
  overflow-x: hidden;
}

/* ── PAGES ─────────────────────────────────────────────────────── */
.page { display: none; animation: pageIn 0.35s ease; }
.page.active { display: block; }
@keyframes pageIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── TOPBAR ─────────────────────────────────────────────────────── */
.topbar {
  background: var(--blue); color: #fff; font-size: 12px;
  padding: 7px; overflow: hidden; white-space: nowrap; position: relative;
}
.topbar::before, .topbar::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 80px;
  z-index: 1; pointer-events: none;
}
.topbar::before { left: 0;  background: linear-gradient(90deg,  var(--blue), transparent); }
.topbar::after  { right: 0; background: linear-gradient(-90deg, var(--blue), transparent); }
.topbar-inner {
  display: inline-block;
  animation: marquee 32s linear infinite;
  padding-right: 80px;
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
/* En teléfono la barra se ve más compacta: letra y alto menores,
   bordes de desvanecido más angostos y el texto corre un poco más rápido. */
@media(max-width:768px) {
  .topbar { font-size: 10.5px; padding: 4px 6px; letter-spacing: .2px; }
  .topbar::before, .topbar::after { width: 40px; }
  .topbar-inner { animation-duration: 24s; padding-right: 60px; }
}

/* ── HEADER ─────────────────────────────────────────────────────── */
.header {
  background: #fff;
  box-shadow: 0 2px 16px rgba(44,91,191,.10);
  position: sticky; top: 0; z-index: 200;
}
.header-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; gap: 14px; padding: 12px 24px;
}
.logo-wrap { display: flex; align-items: center; flex-shrink: 0; }
.logo-wrap img { height: 20px; width: auto; max-width: 150px; object-fit: contain; }

.search-bar {
  flex: 1; max-width: 600px;
  display: flex; border-radius: 50px; overflow: hidden;
  border: 2px solid var(--blue); transition: box-shadow .3s;
}
.search-bar:focus-within { box-shadow: 0 0 0 4px rgba(44,91,191,.15); }
.search-bar input {
  flex: 1; padding: 10px 18px; border: none; outline: none;
  font-family: 'Outfit', sans-serif; font-size: 14px;
  background: #f8f9fc; color: #1a1a2e;
}
.search-bar button {
  background: var(--blue); color: #fff; border: none;
  padding: 0 22px; font-size: 15px; cursor: pointer; transition: background .2s;
}
.search-bar button:hover { background: var(--accent); }

.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.cart-btn {
  position: relative; background: var(--blue); color: #fff; border: none;
  border-radius: 50px; padding: 10px 20px; font-size: 13px; font-weight: 600;
  cursor: pointer; display: flex; align-items: center; gap: 7px;
  white-space: nowrap; font-family: 'Outfit', sans-serif;
  box-shadow: 0 4px 14px rgba(44,91,191,.28); transition: all .2s;
}
.cart-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(44,91,191,.38); }
.cart-count {
  background: #e74c3c; color: #fff; border-radius: 50%;
  width: 19px; height: 19px; font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  position: absolute; top: -5px; right: -5px;
}

/* ── CATS NAV ───────────────────────────────────────────────────── */
.cats-nav { background: var(--blue); border-top: 1px solid rgba(255,255,255,.1); }
.cats-nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 24px;
  display: flex; overflow-x: auto; scrollbar-width: none;
}
.cats-nav-inner::-webkit-scrollbar { display: none; }
.cat-pill {
  background: transparent; border: none;
  color: rgba(255,255,255,.65); padding: 11px 16px;
  font-family: 'Outfit', sans-serif; font-size: 13px; font-weight: 500;
  cursor: pointer; white-space: nowrap;
  border-bottom: 3px solid transparent; transition: all .2s;
}
.cat-pill:hover, .cat-pill.active { color: #fff; border-bottom-color: var(--gold); }

/* ── HERO ────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; height: 480px; background: #000; }
@media(max-width:768px) { .hero { height: 300px; } }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; pointer-events: none; }
.hero-slide.active { opacity: 1; pointer-events: auto; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 120px; background: linear-gradient(to bottom, transparent, #f0f4fb);
  z-index: 2; pointer-events: none;
}
.hero-dots {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 0; z-index: 10; /* sin gap: cada botón ya mide 26px */
}
/* Botón de 26×26 (área táctil accesible); el punto visible es el ::before */
.dot {
  width: 26px; height: 26px; border: none; padding: 0;
  background: transparent; cursor: pointer;
  display: grid; place-items: center;
}
.dot::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,.4); transition: all .35s;
}
.dot.active::before { background: #fff; width: 24px; border-radius: 4px; }

/* ── PROMO BAR ───────────────────────────────────────────────────── */
.promo-bar { background: var(--dark); color: #fff; }
.promo-bar-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  gap: 32px; padding: 10px 24px; font-size: 12px; flex-wrap: wrap;
}
.promo-bar-inner span { display: flex; align-items: center; gap: 6px; opacity: .9; }
.promo-bar-inner b { color: var(--gold); }

/* ── WRAP ────────────────────────────────────────────────────────── */
.wrap { max-width: var(--max); margin: 0 auto; padding: 28px 24px; }
@media(max-width:768px) { .wrap { padding: 16px; } }

/* ── SECTION HEADERS ─────────────────────────────────────────────── */
.sec-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.sec-title {
  font-size: 20px; font-weight: 800; color: #0a1628;
  position: relative; padding-bottom: 8px;
}
.sec-title::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 36px; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--accent));
  border-radius: 2px; transition: width .4s;
}
.sec-title:hover::after { width: 100%; }
.ver-todo {
  font-size: 12px; color: var(--blue); font-weight: 600; cursor: pointer;
  border: 1.5px solid var(--blue); background: none;
  padding: 7px 16px; border-radius: 50px; transition: all .2s;
  font-family: 'Outfit', sans-serif;
}
.ver-todo:hover { background: var(--blue); color: #fff; }

/* ── CATS GRID ───────────────────────────────────────────────────── */
/* min-height: reserva una fila antes de que la API llene la grilla (evita CLS) */
.cats-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 12px; margin-bottom: 32px; min-height: 150px; }
@media(max-width:1024px) { .cats-grid { grid-template-columns: repeat(5,1fr); } }
@media(max-width:768px)  { .cats-grid { grid-template-columns: repeat(3,1fr); gap: 8px; min-height: 118px; } }
.cat-card {
  border-radius: 16px; overflow: hidden; cursor: pointer;
  background: #fff; box-shadow: 0 3px 14px rgba(16,42,84,.08);
  border: 1px solid #e8ecf4;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s, border-color .3s;
  display: flex; flex-direction: column;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(44,91,191,.18); border-color: var(--blue); }
.cat-img-wrap {
  width: 100%; height: 110px; overflow: hidden;
  background: linear-gradient(135deg,#eef4fb 0%,#dde8f8 55%,#eaf1fc 100%);
  display: flex; align-items: center; justify-content: center;
}
@media(max-width:768px) { .cat-img-wrap { height: 84px; } }
.cat-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.cat-card:hover .cat-img-wrap img { transform: scale(1.08); }
.cat-label {
  width: 100%; padding: 11px 8px; text-align: center; position: relative;
  font-size: 11px; font-weight: 700; color: #16243f;
  letter-spacing: .4px; text-transform: uppercase; line-height: 1.3;
  background: #fff;
}
/* Línea de acento azul que aparece al pasar el mouse (toque premium) */
.cat-label::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 26px; height: 3px; border-radius: 3px; background: var(--blue);
  opacity: 0; transition: opacity .3s, width .3s;
}
.cat-card:hover .cat-label::before { opacity: 1; width: 42px; }

/* ── PRODUCTS GRID ───────────────────────────────────────────────── */
.prods-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
@media(max-width:1024px) { .prods-grid { grid-template-columns: repeat(3,1fr); } }
@media(max-width:768px)  { .prods-grid { grid-template-columns: repeat(2,1fr); gap: 12px; } }

.prod-card {
  background: #fff; border-radius: 18px; overflow: hidden;
  box-shadow: 0 4px 16px rgba(44,91,191,.07); cursor: pointer;
  transition: all .35s cubic-bezier(.34,1.56,.64,1);
  border: 2px solid transparent;
}
.prod-card:hover { border-color: var(--blue); transform: translateY(-7px); box-shadow: 0 22px 50px rgba(44,91,191,.16); }
.prod-img {
  height: 200px; background: #eef4fb; padding: 14px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
@media(max-width:768px) { .prod-img { height: 160px; padding: 10px; } }
.prod-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s cubic-bezier(.34,1.56,.64,1); }
.prod-card:hover .prod-img img { transform: scale(1.15) translateY(-5px); }

.prod-badge {
  position: absolute; top: 12px; left: 0; color: #fff;
  font-size: 10px; font-weight: 800; padding: 5px 13px;
  border-radius: 0 4px 4px 0; letter-spacing: .6px; text-transform: uppercase;
  z-index: 3; display: inline-flex; align-items: center;
}
/* OFERTA con forma de ETIQUETA de tienda (punta a la derecha + "ojal" a la
   izquierda). Look de retail real, sin animación de latido. */
.prod-badge.oferta {
  background: #e4002b;
  padding: 6px 16px 6px 15px;
  border-radius: 0 3px 3px 0;
  clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 50%, calc(100% - 7px) 100%, 0 100%);
  box-shadow: 0 5px 14px rgba(228,0,43,.28);
  font-weight: 900;
}
.prod-badge.oferta::before {
  content: ''; width: 5px; height: 5px; margin-right: 7px;
  border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 2px rgba(255,255,255,.30);
}
.prod-badge.nuevo  { background: #16a085; box-shadow: 0 4px 12px rgba(22,160,133,.28); }
.prod-badge.hot    { background: #e67e22; box-shadow: 0 4px 12px rgba(230,126,34,.28); }
/* Agotado: gris apagado, sin gritar. El producto se ve pero se nota que no hay. */
.prod-badge.agotado { background: #6b7280; box-shadow: 0 4px 12px rgba(107,114,128,.25); }
/* Código de Perseo bajo el nombre: monoespaciado y discreto, para que el
   personal lo lea y busque el precio en Perseo. */
.prod-codigo { font-family: ui-monospace, Menlo, monospace; font-size: 11px;
  color: #94a3b8; margin: 2px 0 4px; letter-spacing: .3px; }
/* Botón "Cargar más productos" (paginación del catálogo grande) */
.load-more-btn { display: block; margin: 28px auto 12px; padding: 14px 34px;
  border: 0; border-radius: 999px; background: var(--blue, #2c5bbf); color: #fff;
  font-family: inherit; font-weight: 700; font-size: 15px; letter-spacing: .3px; cursor: pointer;
  box-shadow: 0 6px 18px rgba(44,91,191,.32); transition: .15s; }
.load-more-btn:hover:not(:disabled) { background: var(--accent, #226bc4); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(44,91,191,.4); }
.load-more-btn:active:not(:disabled) { transform: translateY(0); }
.load-more-btn:disabled { opacity: .6; cursor: default; }
/* En teléfono: ancho cómodo, buen área de toque y separado de los bordes */
@media(max-width:768px) {
  .load-more-btn { width: calc(100% - 32px); max-width: 420px; margin: 22px auto 14px;
    padding: 16px 20px; font-size: 15px; border-radius: 16px; }
}
/* Si el servidor falló, el botón lo dice (antes fallaba en silencio) */
.load-more-btn.error { background: #e53e3e; box-shadow: 0 4px 14px rgba(229,62,62,.3); }
.load-more-btn.error:hover:not(:disabled) { background: #c93030; }
.prod-card:has(.prod-badge.agotado) .prod-img img { filter: grayscale(.7) opacity(.65); }

.prod-body { padding: 14px 16px 16px; }
@media(max-width:768px) { .prod-body { padding: 10px 12px 13px; } }
.prod-cat { font-size: 10px; color: var(--accent); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 4px; font-weight: 700; }
/* Chip azul de regalo (por ahora solo en motos) */
.prod-gift {
  display: inline-block; background: var(--blue); color: #fff;
  font-size: 10.5px; font-weight: 700; letter-spacing: .3px;
  padding: 4px 10px; border-radius: 6px; margin-bottom: 7px;
  box-shadow: 0 2px 8px rgba(44,91,191,.28);
}
@media(max-width:768px) { .prod-gift { font-size: 9.5px; padding: 3px 8px; } }
/* Producto sin foto: se muestra el logo, atenuado y con aire */
.prod-img img.is-logo {
  object-fit: contain; padding: 18%; opacity: .38;
  filter: grayscale(.25);
}
.prod-name { font-size: 14px; font-weight: 700; color: #0a1628; line-height: 1.3; margin-bottom: 12px; }
@media(max-width:768px) { .prod-name { font-size: 12px; } }
.prod-price { font-size: 18px; font-weight: 800; color: var(--blue); margin-bottom: 14px; }
.prod-price small { font-size: 13px; color: #aaa; text-decoration: line-through; margin-left: 6px; font-weight: 400; }
.prod-price.consultar { font-size: 13px; color: #5b6472; font-weight: 600; } /* contraste AA */

.prod-actions { display: flex; gap: 8px; }
.prod-btn {
  flex: 1; padding: 10px 8px;
  background: linear-gradient(135deg, var(--blue), var(--accent));
  color: #fff; border: none; border-radius: 11px;
  font-family: 'Outfit', sans-serif; font-size: 12px; font-weight: 700;
  letter-spacing: .5px; cursor: pointer; transition: all .25s;
  box-shadow: 0 3px 12px rgba(44,91,191,.28);
}
.prod-btn:hover { transform: translateY(-2px); box-shadow: 0 7px 20px rgba(44,91,191,.4); }
.prod-cart-btn {
  padding: 10px 12px; background: #f0f4ff; color: var(--blue);
  border: none; border-radius: 11px; font-size: 15px; cursor: pointer; transition: all .25s;
}
.prod-cart-btn:hover { background: var(--blue); color: #fff; }

/* ── MODAL ───────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(10,22,40,.72);
  backdrop-filter: blur(8px); z-index: 900;
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: #fff; border-radius: 24px; max-width: 640px; width: 100%;
  max-height: 90vh; overflow-y: auto; position: relative;
  box-shadow: 0 40px 80px rgba(0,0,0,.3);
  scrollbar-width: thin; scrollbar-color: #c3d0e6 transparent;
}
.modal::-webkit-scrollbar { width: 8px; }
.modal::-webkit-scrollbar-track { background: transparent; margin: 8px 0; }
.modal::-webkit-scrollbar-thumb { background: #c3d0e6; border-radius: 20px; }
.modal::-webkit-scrollbar-thumb:hover { background: #a3b4d1; }
.modal-img-wrap {
  height: 300px; background: #eef4fb;
  display: flex; align-items: center; justify-content: center; position: relative;
  overflow: hidden;
}
@media(max-width:600px) { .modal-img-wrap { height: 250px; } }
.modal-img-wrap img {
  max-width: 240px; max-height: 240px; object-fit: contain;
  cursor: default; transition: transform .15s ease; will-change: transform;
}
/* La lupa (cursor + zoom) solo se activa en PC vía la clase .zoomable */
.modal-img-wrap img.zoomable { cursor: zoom-in; }
.modal-close {
  position: absolute; top: 14px; right: 14px;
  background: rgba(255,255,255,.9); border: none; border-radius: 50%;
  width: 36px; height: 36px; font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.15); transition: all .2s; z-index: 10;
}
.modal-close:hover { background: #fff; transform: scale(1.1); }
.modal-body { padding: 24px 28px 32px; }
.modal-badge { display: inline-block; margin-bottom: 10px; }
.modal-cat { font-size: 11px; color: var(--accent); text-transform: uppercase; letter-spacing: 1.5px; font-weight: 700; margin-bottom: 6px; }
.modal-name { font-size: 22px; font-weight: 800; color: #0a1628; margin-bottom: 10px; line-height: 1.2; }
.modal-price { font-size: 28px; font-weight: 900; color: var(--blue); margin-bottom: 16px; }
.modal-price small { font-size: 16px; color: #aaa; text-decoration: line-through; margin-left: 8px; font-weight: 400; }
.modal-price.consultar { font-size: 16px; color: #5b6472; font-weight: 600; } /* contraste AA */
.modal-desc { font-size: 14px; color: #444; line-height: 1.7; margin-bottom: 20px; white-space: pre-line; }
.modal-specs { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.spec-item { display: flex; gap: 12px; font-size: 13px; padding: 8px 0; border-bottom: 1px solid #f0f2f5; }
.spec-label { font-weight: 700; color: #0a1628; min-width: 120px; flex-shrink: 0; }
.spec-val { color: #555; }
.modal-actions { display: flex; gap: 10px; }
.modal-wa {
  flex: 1; background: linear-gradient(135deg, var(--green), #128C7E);
  color: #fff; border: none; border-radius: 14px; padding: 14px 20px;
  font-family: 'Outfit', sans-serif; font-size: 14px; font-weight: 700;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: 0 4px 18px rgba(37,211,102,.35); transition: all .25s;
}
.modal-wa:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(37,211,102,.45); }
.modal-cart {
  background: #f0f4ff; color: var(--blue); border: 2px solid rgba(44,91,191,.2);
  border-radius: 14px; padding: 14px 18px; font-family: 'Outfit', sans-serif;
  font-size: 14px; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; gap: 7px; transition: all .25s;
}
.modal-cart:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ── CART DRAWER ─────────────────────────────────────────────────── */
.cart-overlay { position: fixed; inset: 0; background: rgba(10,22,40,.55); backdrop-filter: blur(6px); z-index: 998; display: none; }
.cart-overlay.open { display: block; }
.cart-drawer {
  position: fixed; right: 0; top: 0; bottom: 0; width: 400px; max-width: 100%;
  background: #fff; z-index: 999; display: flex; flex-direction: column;
  box-shadow: -8px 0 40px rgba(0,0,0,.18); transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.cart-drawer.open { transform: translateX(0); }
.cart-header {
  padding: 20px 24px; border-bottom: 1px solid #eef0f5;
  display: flex; align-items: center; justify-content: space-between;
}
.cart-title { font-size: 17px; font-weight: 800; color: #0a1628; display: flex; align-items: center; gap: 9px; }
.cart-close { background: #f0f2f5; border: none; border-radius: 50%; width: 34px; height: 34px; font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.cart-close:hover { background: #e0e4ee; }
.cart-items { flex: 1; overflow-y: auto; padding: 16px 24px; }
.cart-empty { text-align: center; padding: 60px 20px; color: #aaa; }
.cart-empty i { font-size: 48px; margin-bottom: 12px; display: block; opacity: .4; }
.cart-empty p { font-size: 14px; }
.cart-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f0f2f5; }
.cart-item img { width: 54px; height: 54px; object-fit: contain; border-radius: 10px; background: #f4f6fc; flex-shrink: 0; }
.cart-item-info { flex: 1; }
.cart-item-name { font-size: 13px; font-weight: 700; color: #0a1628; }
.cart-item-cat { font-size: 11px; color: #888; margin-top: 2px; }
.cart-item-remove { background: none; border: none; color: #ccc; cursor: pointer; font-size: 14px; padding: 4px 8px; border-radius: 6px; transition: all .2s; }
.cart-item-remove:hover { background: #fee; color: #e74c3c; }
.cart-footer { padding: 16px 24px; border-top: 1px solid #eef0f5; }
.cart-total { display: flex; justify-content: space-between; font-size: 15px; font-weight: 800; color: #0a1628; margin-bottom: 14px; }
.cart-wa {
  width: 100%; background: linear-gradient(135deg, var(--green), #128C7E);
  color: #fff; border: none; border-radius: 14px; padding: 14px;
  font-family: 'Outfit', sans-serif; font-size: 14px; font-weight: 700;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: 0 4px 16px rgba(37,211,102,.3); transition: all .25s;
}
.cart-wa:hover { transform: translateY(-2px); }

/* ── DEPT PAGE ───────────────────────────────────────────────────── */
.dept-header { background: var(--blue); }
.dept-header-inner {
  max-width: var(--max); margin: 0 auto; padding: 16px 24px;
  display: flex; align-items: center; gap: 14px; color: #fff;
}
.dept-back {
  background: rgba(255,255,255,.15); border: none; color: #fff;
  border-radius: 50%; width: 38px; height: 38px; font-size: 18px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .2s; flex-shrink: 0;
}
.dept-back:hover { background: rgba(255,255,255,.25); }
.dept-title { font-size: 20px; font-weight: 700; }
.dept-sub { font-size: 12px; opacity: .65; margin-top: 2px; }
/* Hero de categoría: muestra la imagen/publicidad COMPLETA (contain) sobre
   fondo blanco, en PC y móvil. Así ni las motos ni los banners anchos se
   recortan. */
.dept-hero { height: 240px; overflow: hidden; position: relative; background: #fff; }
@media(max-width:768px) { .dept-hero { height: 150px; } }
.dept-hero img, #deptHeroImg {
  width: 100%; height: 100%; object-fit: contain; object-position: center;
  background: #fff; display: block;
}
/* Modo BANNER de publicidad: tarjeta con bordes redondeados sobre el fondo gris
   de la página (sin bloque blanco alrededor). Alto según su proporción real. */
.dept-hero.dept-hero--banner {
  height: auto; overflow: visible; background: transparent;
  max-width: var(--max); margin: 0 auto; padding: 16px 24px 0;
}
.dept-hero.dept-hero--banner img,
.dept-hero.dept-hero--banner #deptHeroImg {
  width: 100%; height: auto !important; object-fit: contain;
  border-radius: 16px; background: transparent;
  box-shadow: 0 6px 22px rgba(16,42,84,.12);
}
@media(max-width:768px) {
  .dept-hero.dept-hero--banner { padding: 10px 16px 0; }
  .dept-hero.dept-hero--banner img,
  .dept-hero.dept-hero--banner #deptHeroImg { border-radius: 12px; }
}

/* ── FLOAT WA ────────────────────────────────────────────────────── */
.float-wa {
  position: fixed; bottom: 28px; right: 28px;
  background: linear-gradient(135deg,#25D366,#128C7E); color: #fff;
  border: none; border-radius: 50px; padding: 14px 22px;
  font-family: 'Outfit', sans-serif; font-size: 13px; font-weight: 700;
  cursor: pointer; display: flex; align-items: center; gap: 8px;
  text-decoration: none; box-shadow: 0 8px 28px rgba(37,211,102,.45);
  z-index: 500; transition: all .3s; animation: pulse-wa 2.5s infinite;
}
@keyframes pulse-wa {
  0%,100% { box-shadow: 0 8px 28px rgba(37,211,102,.45); }
  50%      { box-shadow: 0 8px 36px rgba(37,211,102,.7), 0 0 0 8px rgba(37,211,102,.1); }
}

/* ── REVIEWS ─────────────────────────────────────────────────────── */
.reviews-section { background: #f8fbff; border-radius: 20px; padding: 28px 24px; margin: 8px 0; }
.reviews-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 16px; }
@media(max-width:768px) { .reviews-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:480px) { .reviews-grid { grid-template-columns: 1fr; } }
.review-card { background: #fff; border-radius: 14px; padding: 16px; box-shadow: 0 2px 10px rgba(44,91,191,.07); }
.review-stars { color: #f59e0b; font-size: 14px; margin-bottom: 6px; }
.review-text { font-size: 13px; color: #444; line-height: 1.5; margin-bottom: 10px; }
.review-author { display: flex; align-items: center; gap: 8px; }
.review-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), #4a9fd4);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 14px; flex-shrink: 0;
}
.review-name { font-size: 12px; font-weight: 700; color: #1a2a4a; }
.review-date { font-size: 11px; color: #888; }

/* ── RELATED ─────────────────────────────────────────────────────── */
.related-section { margin-top: 18px; padding-top: 16px; border-top: 1px solid #eef0f5; }
.related-title { font-size: 14px; font-weight: 700; color: #1a2a4a; margin-bottom: 12px; }
.related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.related-card { background: #f8fbff; border-radius: 12px; padding: 10px; cursor: pointer; transition: all .2s; border: 1px solid #eef0f5; }
.related-card:hover { border-color: var(--blue); transform: translateY(-2px); }
.related-card img {
  width: 100%; height: 120px; object-fit: contain;
  background: #eef4fb; border-radius: 8px; padding: 10px; margin-bottom: 8px;
}
@media(max-width:600px) { .related-card img { height: 100px; padding: 8px; } }
.related-card-name { font-size: 11px; font-weight: 600; color: #1a2a4a; line-height: 1.3; }
.related-card-cat { font-size: 10px; color: #888; margin-top: 2px; }

/* ── DEPT: layout con barra lateral de filtros ───────────────────── */
.dept-wrap { display: flex; gap: 24px; align-items: flex-start; }
.dept-main { flex: 1; min-width: 0; }
.dept-sidebar {
  width: 190px; flex-shrink: 0;
  position: sticky; top: 84px;             /* queda fija bajo el header al scrollear */
  max-height: calc(100vh - 100px); overflow-y: auto;
}
/* Chips compactos que se acomodan (no barras grandes): ocupan lo justo */
.dept-sidebar .subcat-row { flex-direction: row; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }
.dept-sidebar .subcat-chip { width: auto; padding: 5px 11px; font-size: 12px; border-radius: 50px; }
.dept-sidebar .subcat-group-label { margin: 10px 0 4px; }

/* Móvil/tablet: la barra pasa ARRIBA, horizontal y pegada bajo el header */
@media(max-width:768px) {
  .dept-wrap { flex-direction: column; gap: 0; }
  .dept-sidebar {
    width: 100%; position: sticky; top: 54px; z-index: 90;
    background: #f0f2f5; max-height: none; overflow: visible;
    padding: 10px 0 6px; margin: 0 0 6px;
  }
  .dept-sidebar .subcat-row { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .dept-sidebar .subcat-row::-webkit-scrollbar { display: none; }
  .dept-sidebar .subcat-chip { width: auto; text-align: center; border-radius: 50px; flex-shrink: 0; }
  .dept-sidebar .subcat-clear { width: auto; }
}

/* ── SUBCATEGORÍAS (FILTROS) ─────────────────────────────────────── */
.subcat-filters { margin-bottom: 20px; }
.subcat-group-label { font-size: 12px; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: 1px; margin: 10px 0 8px; }
.subcat-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.subcat-chip {
  background: #fff; border: 1.5px solid #e2e8f0; color: #1a2a4a;
  font-size: 13px; font-weight: 600; font-family: 'Outfit', sans-serif;
  padding: 8px 16px; border-radius: 50px; cursor: pointer; transition: all .18s;
  white-space: nowrap;
}
.subcat-chip:hover { border-color: var(--blue); color: var(--blue); }
.subcat-chip.active { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 4px 12px rgba(44,91,191,.28); }
/* Chips con LOGO de marca: TODOS con la misma caja; el logo se ajusta adentro
   (object-fit: contain) → tamaño uniforme sin importar la proporción del logo. */
.subcat-chip.has-logo { width: 96px; height: 38px; padding: 5px 8px; display: inline-flex; align-items: center; justify-content: center; }
.subcat-logo { width: 100% !important; height: 100% !important; max-width: none !important; max-height: none !important; object-fit: contain; display: block; }
.dept-sidebar .subcat-chip.has-logo { width: 84px; height: 34px; padding: 4px 6px; }
/* Seleccionado con logo: fondo blanco + aro azul (el logo se sigue viendo) */
.subcat-chip.has-logo.active { background: #fff; border-color: var(--blue); box-shadow: 0 0 0 2px rgba(44,91,191,.35); }
/* Chip "🔥 Ofertas": rojo para diferenciarlo de los filtros normales */
.subcat-chip.ofertas-chip { border-color: #e4002b; color: #e4002b; }
.subcat-chip.ofertas-chip i { margin-right: 5px; }
.subcat-chip.ofertas-chip:hover { border-color: #e4002b; color: #e4002b; background: #fff5f5; }
.subcat-chip.ofertas-chip.active { background: #e4002b; border-color: #e4002b; color: #fff; box-shadow: 0 4px 12px rgba(228,0,43,.30); }
.subcat-clear {
  background: #fee2e2; border: none; color: #b91c1c; font-size: 12px; font-weight: 600;
  padding: 7px 14px; border-radius: 50px; cursor: pointer; margin-top: 6px;
  display: inline-flex; align-items: center; gap: 6px; font-family: 'Outfit', sans-serif;
}
.subcat-clear:hover { background: #fecaca; }
@media(max-width:600px) {
  .subcat-row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
  .subcat-row::-webkit-scrollbar { display: none; }
  .subcat-chip { flex-shrink: 0; font-size: 12px; padding: 7px 13px; }
}

/* ── CARRUSEL (OFERTAS) ──────────────────────────────────────────── */
.carousel { position: relative; }
.carousel-track {
  display: flex; gap: 16px; overflow-x: auto; scroll-behavior: smooth;
  scrollbar-width: none; padding: 4px 2px 8px;
  /* Reservar la altura de una fila de tarjetas ANTES de que lleguen los
     productos de la API → evita el salto de diseño (CLS). */
  min-height: 334px;
}
@media(max-width:768px) { .carousel-track { min-height: 292px; } }
@media(max-width:600px) { .carousel-track { min-height: 266px; } }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > .prod-card { flex: 0 0 220px; }
@media(max-width:600px) { .carousel-track > .prod-card { flex: 0 0 160px; } }
.carousel-arrow {
  position: absolute; top: 42%; transform: translateY(-50%); z-index: 10;
  width: 42px; height: 42px; border-radius: 50%; background: #fff;
  border: 1px solid #e2e8f0; box-shadow: 0 5px 18px rgba(16,42,84,.20);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: var(--blue); font-size: 15px; transition: all .2s;
}
/* Pegadas al borde INTERIOR (antes a -10px, se cortaban con overflow-x:hidden) */
.carousel-arrow.left  { left: 4px; }
.carousel-arrow.right { right: 4px; }
.carousel-arrow:hover { background: var(--blue); color: #fff; transform: translateY(-50%) scale(1.08); }
.carousel-arrow[hidden] { display: none; }
/* En móvil/tablet las flechas SÍ se muestran (antes estaban ocultas): más
   pequeñas y pegadas al borde para poder avanzar sin tener que deslizar. */
@media(max-width:768px) {
  .carousel-arrow { width: 34px; height: 34px; font-size: 13px; }
  .carousel-arrow.left  { left: 2px; }
  .carousel-arrow.right { right: 2px; }
}

/* ── IMAGEN ESPECIAL DE CATEGORÍA ────────────────────────────────── */
/* Nombre neutro ("especial") a propósito: los bloqueadores de anuncios
   esconden clases con "promo"/"publicidad"/"banner"/"ads". */
.cat-especial { margin: 0 0 20px; display: none; }
.cat-especial img { width: 100%; height: auto; border-radius: 16px; display: block; box-shadow: 0 6px 22px rgba(16,42,84,.12); }

/* ── CREDIT BANNER ───────────────────────────────────────────────── */
.credit-banner { border-radius: 9px; overflow: hidden; position: relative; min-height: 210px; display: flex; align-items: center; margin-top: 40px; margin-bottom: 32px; }
.credit-bg { position: absolute; inset: 0; background: linear-gradient(120deg,#061020 0%,#0d1f42 38%,#15347e 68%,#e3e6f1 100%); }
/* Textura de puntos sutil para que no se vea plano/genérico */
.credit-bg::after { content: ''; position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px); background-size: 22px 22px; }
.credit-watermark { position: absolute; right: 33%; bottom: -34px; font-size: 210px; color: rgba(255,255,255,.045); z-index: 1; pointer-events: none; }
@media(max-width:768px) { .credit-watermark { display: none; } }
.credit-content { padding: 34px 40px; z-index: 2; position: relative; display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 32px; flex-wrap: wrap; }
@media(max-width:768px) { .credit-content { padding: 26px 22px; flex-direction: column; align-items: flex-start; gap: 18px; } }
.credit-badge { display: inline-flex; align-items: center; gap: 6px; background: rgb(255, 255, 255); color: var(--white); font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 6px 14px; border-radius: 40px; margin-bottom: 14px; }
.credit-left h2 { font-size: 34px; font-weight: 900; color: #fff; line-height: 1.05; margin-bottom: 8px; letter-spacing: -1px; }
.credit-left h2 em { font-style: normal; color: var(--white); }
.credit-sub { font-size: 13px; color: rgba(255,255,255,.55); font-weight: 300; }
.credit-feats { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 16px; }
.credit-feats span { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: rgba(255,255,255,.82); font-weight: 500; }
.credit-feats i { color: #46d17f; font-size: 12px; }
.credit-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--green), #14e05c);
  color: #0a1628; border: none; border-radius: 50px; padding: 13px 30px;
  font-family: 'Outfit', sans-serif; font-size: 14px; font-weight: 800;
  cursor: pointer; transition: all .3s; box-shadow: 0 6px 24px rgba(105, 240, 64, 0.4);
}
.credit-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(64, 240, 70, 0.55); }

/* ── FOOTER ──────────────────────────────────────────────────────── */
.footer { background: linear-gradient(135deg,#061020,#0d1f42,#1e3a8a); color: #fff; padding: 40px 0 28px; }
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 28px; }
@media(max-width:900px) and (min-width:769px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media(max-width:768px) { .footer-top { grid-template-columns: 1fr; gap: 20px; text-align: center; } }
.footer-brand img { height: 48px; background: rgba(255,255,255,.08); border-radius: 12px; padding: 6px 12px; object-fit: contain; border: 1px solid rgba(255,255,255,.12); margin-bottom: 12px; }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,.5); font-weight: 300; line-height: 1.6; }
.footer-col h3 { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 14px; }
.footer-col-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,.65); margin-bottom: 8px; font-weight: 300; }
.footer-col-item b { color: #fff; font-weight: 600; }
/* Evita que el móvil pinte de azul el número de teléfono autodetectado */
.footer-col-item a, .footer-col-item a b {
  color: inherit !important; -webkit-text-fill-color: currentColor !important; text-decoration: none;
}
.footer-btns { display: flex; flex-direction: column; gap: 8px; }
@media(max-width:768px) { .footer-btns { flex-direction: row; justify-content: center; flex-wrap: wrap; } }
.footer-wa {
  background: var(--green); color: #fff; border: none; border-radius: 50px;
  padding: 11px 22px; font-family: 'Outfit', sans-serif; font-size: 13px; font-weight: 700;
  cursor: pointer; display: flex; align-items: center; gap: 7px; text-decoration: none;
  box-shadow: 0 4px 14px rgba(37,211,102,.32); transition: all .25s;
}
.footer-wa:hover { transform: translateY(-2px); }
.footer-call {
  background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.18);
  border-radius: 50px; padding: 11px 22px; font-family: 'Outfit', sans-serif;
  font-size: 13px; font-weight: 500; text-decoration: none;
  display: flex; align-items: center; gap: 7px; transition: all .25s;
}
.footer-call:hover { background: rgba(255,255,255,.18); }
/* Enlaces de la columna "Ayuda" */
.footer-link { display: block; font-size: 13px; color: rgba(255,255,255,.65); text-decoration: none; margin-bottom: 9px; font-weight: 300; transition: color .18s; }
.footer-link:hover { color: #fff; }
.footer-divider { height: 1px; background: rgba(255,255,255,.07); margin-bottom: 18px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,.3); }
.footer-legal-links { display: flex; gap: 18px; }
.footer-legal-links a { font-size: 12px; color: rgba(255,255,255,.45); text-decoration: none; transition: color .18s; }
.footer-legal-links a:hover { color: #fff; }
.footer-badges { display: flex; gap: 8px; }
.footer-badge { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); border-radius: 6px; padding: 3px 10px; font-size: 11px; color: rgba(255,255,255,.3); }

/* ── TOAST ───────────────────────────────────────────────────────── */
#xtoast {
  position: fixed; bottom: 90px; left: 50%; transform: translateX(-50%);
  background: #2c5bbf; color: #fff; padding: 11px 24px;
  border-radius: 50px; font-size: 13px; font-weight: 600;
  z-index: 9999; transition: opacity .3s; white-space: nowrap;
  box-shadow: 0 6px 20px rgba(44,91,191,.3); opacity: 0; pointer-events: none;
}
#xtoast.show { opacity: 1; }

/* ── INTRO SPLASH ────────────────────────────────────────────────── */
body.intro-lock { overflow: hidden; }
.intro-splash {
  position: fixed; inset: 0; z-index: 9000;
  background: linear-gradient(135deg,#061020 0%,#0d1f42 50%,#1a3a6e 100%);
  display: flex; align-items: center; justify-content: center;
  padding: 20px; transition: opacity .52s ease, transform .52s ease;
}
.intro-splash.hide { opacity: 0; transform: scale(1.04); pointer-events: none; }
.intro-card { text-align: center; max-width: 440px; width: 100%; }
.intro-kicker {
  font-size: 11px; font-weight: 700; letter-spacing: 4px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 16px; opacity: .8;
}
.intro-title {
  font-size: clamp(36px,8vw,64px); font-weight: 900; color: #fff;
  line-height: 1.05; margin-bottom: 4px;
}
.intro-title em { font-style: normal; color: var(--gold); }
.intro-sub { font-size: 14px; color: rgba(255,255,255,.5); margin-top: 14px; font-weight: 300; line-height: 1.6; }
.intro-actions { margin-top: 28px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.intro-btn {
  background: linear-gradient(135deg, var(--gold), #e0a800);
  color: #0a1628; border: none; border-radius: 50px; padding: 13px 28px;
  font-family: 'Outfit', sans-serif; font-size: 14px; font-weight: 800;
  cursor: pointer; box-shadow: 0 6px 24px rgba(249,205,85,.4); transition: all .3s;
}
.intro-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(249,205,85,.55); }

/* ── RESPONSIVE MOBILE ───────────────────────────────────────────── */
@media(max-width:600px) {
  /* Promo-bar: en móvil, una sola línea deslizable (no apilada = no ocupa tanto) */
  .promo-bar-inner {
    flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start;
    gap: 18px; padding: 8px 14px; font-size: 11px;
    white-space: nowrap; -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .promo-bar-inner::-webkit-scrollbar { display: none; }
  .promo-bar-inner span { flex-shrink: 0; }
  .header-inner { padding: 8px 12px; gap: 8px; }
  .logo-wrap img { height: 22x; max-width: 100px; }
  .search-bar { border-radius: 40px; }
  .search-bar input { font-size: 13px; padding: 9px 14px; }
  .cart-btn { padding: 9px 12px; font-size: 12px; }
  .cart-btn span { display: none; }
  .cats-nav-inner { padding: 0 10px; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
  .cat-pill { padding: 10px 13px; font-size: 12px; white-space: nowrap; flex-shrink: 0; }
  .hero { height: 220px; }
  .cats-grid { grid-template-columns: repeat(3,1fr); gap: 8px; }
  .cat-img-wrap { height: 60px; }
  .cat-label { font-size: 9px; padding: 5px 4px; }
  .prods-grid { grid-template-columns: repeat(2,1fr); gap: 8px; }
  .prod-img { height: 150px; padding: 8px; }
  .prod-img img { width: 100%; height: 100%; }
  .prod-body { padding: 8px 10px 12px; }
  .prod-name { font-size: 11px; }
  .prod-cat { font-size: 9px; }
  .modal-overlay { padding: 6px; align-items: flex-end; }
  .modal { border-radius: 20px 20px 0 0; max-height: 92vh; width: 100%; }
  .modal-body { padding: 14px 16px 24px; }
  .modal-name { font-size: 16px; }
  .modal-actions { flex-direction: column; gap: 8px; }
  .modal-wa, .modal-cart { width: 100%; justify-content: center; }
  .float-wa { bottom: 16px; right: 12px; padding: 10px 16px; font-size: 13px; }
  .cart-drawer { max-width: 100%; border-radius: 20px 20px 0 0; top: auto; height: 85vh; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-btns { flex-direction: row; justify-content: center; }
  .dept-hero { height: 130px; }
  .credit-content { padding: 18px 16px; flex-direction: column; gap: 10px; }
  .credit-left h2 { font-size: 20px; }
}

@keyframes glowIn {
  from { opacity: 0; transform: translateY(16px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ═══════════════════════════════════════════════════════════════════
   ESTILO GLASS (glassmorphism) — solo 3 zonas pedidas:
   barra de beneficios, buscador y tarjetas de testimonios.
   Vidrio esmerilado: fondo traslúcido + desenfoque + borde con brillo.
   ═══════════════════════════════════════════════════════════════════ */

/* Logo: interactivo → clic lleva al inicio */
.logo-wrap { cursor: pointer; transition: transform .18s ease, filter .18s ease; }
.logo-wrap:hover { transform: scale(1.06); filter: drop-shadow(0 4px 10px rgba(44,91,191,.28)); }
.logo-wrap:active { transform: scale(.96); }
.logo-wrap:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 8px; }

/* 1. Barra de beneficios — PASTILLA de vidrio CLARO neumórfico (estilo
   "download/upload"): frost blanco, esquinas muy redondeadas, sombra suave.
   CLAVE: texto OSCURO (no blanco) para que se lea sobre el vidrio claro. */
.promo-bar {
  background: transparent !important;
  padding: 16px;
  color: #16233f;
}
.promo-bar-inner {
  position: relative; overflow: hidden;
  border-radius: 26px;
  padding: 14px 28px !important;
  color: #16233f;
  font-weight: 600;
  background: linear-gradient(135deg, rgba(255,255,255,.66), rgba(255,255,255,.42)) !important;
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255,255,255,.85);
  box-shadow:
    0 12px 30px rgba(30,45,90,.18),        /* flotación */
    inset 0 1px 0 rgba(255,255,255,.95),    /* brillo superior */
    inset 0 -2px 6px rgba(120,140,180,.12);
  text-shadow: 0 1px 1px rgba(255,255,255,.7);
}
.promo-bar-inner::before {                 /* reflejo diagonal sutil */
  content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(120deg, rgba(255,255,255,.45) 0%, rgba(255,255,255,.08) 26%, rgba(255,255,255,0) 52%);
}
.promo-bar-inner span { position: relative; z-index: 1; opacity: 1 !important; }
.promo-bar-inner b { position: relative; z-index: 1; color: #b07d0a !important; }  /* dorado oscuro legible */

/* 2. Buscador — PASTILLA de vidrio con brillo diagonal y borde luminoso.
   Tinte más lechoso + halo azul detrás para que el vidrio se lea sobre el header. */
.search-bar {
  position: relative;
  background: linear-gradient(135deg, rgba(255,255,255,.42), rgba(226,236,255,.22)) !important;
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  backdrop-filter: blur(24px) saturate(200%);
  border: 1.5px solid rgba(255,255,255,.85) !important;
  box-shadow: 0 12px 34px rgba(44,91,191,.22),
              0 2px 8px rgba(44,91,191,.10),
              inset 0 1px 0 rgba(255,255,255,1),
              inset 0 -2px 6px rgba(44,91,191,.08);
}
.search-bar::after {            /* halo de color detrás → el blur lo difumina */
  content: ''; position: absolute; inset: -40% -8%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 120% at 10% 50%, rgba(44,91,191,.20), transparent 70%),
    radial-gradient(40% 120% at 92% 50%, rgba(37,211,102,.16), transparent 70%);
  filter: blur(6px);
}
.search-bar::before {           /* reflejo/brillo de vidrio en diagonal */
  content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(115deg, rgba(255,255,255,.75) 0%, rgba(255,255,255,.10) 30%, rgba(255,255,255,0) 55%);
}
.search-bar input  { background: transparent; position: relative; z-index: 1; }
.search-bar button { background: rgba(44,91,191,.94); position: relative; z-index: 1; }
.search-bar:focus-within {
  box-shadow: 0 0 0 4px rgba(44,91,191,.18),
              0 14px 36px rgba(44,91,191,.26),
              inset 0 1px 0 rgba(255,255,255,1);
}

/* 3. Testimonios — tarjetas de vidrio sobre un fondo "aurora".
   El fondo con manchas de color le da al vidrio QUÉ desenfocar, y ahí es
   donde el efecto se ve elegante de verdad. */
.reviews-section {
  position: relative; overflow: hidden;
  background:
    radial-gradient(60% 90% at 12% 8%,  rgba(44,91,191,.18), transparent 60%),
    radial-gradient(52% 80% at 88% 18%, rgba(249,205,85,.20), transparent 60%),
    radial-gradient(70% 90% at 72% 105%, rgba(37,211,102,.12), transparent 60%),
    linear-gradient(135deg, #eef4ff, #f6fbff) !important;
}
.review-card {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, rgba(255,255,255,.48), rgba(255,255,255,.20)) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  border: 1.5px solid rgba(255,255,255,.9) !important;
  box-shadow: 0 12px 38px rgba(31,45,90,.18),
              inset 0 1px 0 rgba(255,255,255,.95),
              inset 0 -2px 8px rgba(44,91,191,.06) !important;
  transition: transform .2s ease, box-shadow .2s ease;
}
.review-card::before {          /* brillo diagonal de vidrio */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(120deg, rgba(255,255,255,.5) 0%, rgba(255,255,255,0) 46%);
}
.review-card > * { position: relative; z-index: 1; }
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 46px rgba(31,45,90,.2),
              inset 0 1px 0 rgba(255,255,255,.95) !important;
}
