/* pedido-pro.css — Hero, carruseles, helados, separadores, responsive */

/* ============ HERO PARALLAX ============ */
.hero-pedido {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 22px;
  overflow: hidden;
  background-image: url('../images/inicio-banner.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}
.hero-pedido-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(214,51,108,.85), rgba(255,105,180,.7));
  z-index: 1;
}
.hero-pedido-content {
  position: relative; z-index: 2;
  max-width: 720px; text-align: center; color: #fff;
}
.hero-tag {
  display: inline-block;
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(10px);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: .85rem; font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,.3);
}
.hero-pedido h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3.6rem; line-height: 1.1;
  margin-bottom: 18px;
  text-shadow: 0 4px 20px rgba(0,0,0,.25);
}
.hero-pedido p {
  font-size: 1.15rem; margin-bottom: 32px;
  opacity: .95; max-width: 560px;
  margin-left: auto; margin-right: auto;
}
.hero-botones {
  display: flex; gap: 14px; justify-content: center;
  flex-wrap: wrap; margin-bottom: 34px;
}
.hero-botones .btn-primario {
  background: #fff; color: var(--rosa);
  padding: 15px 30px; font-size: 1rem;
  box-shadow: 0 8px 30px rgba(0,0,0,.2);
}
.hero-botones .btn-primario:hover { background: #ffe4ec; transform: translateY(-3px); }
.btn-secundario-inv {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 30px; border-radius: 50px;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(10px);
  color: #fff; font-weight: 600; text-decoration: none;
  border: 1.5px solid rgba(255,255,255,.4);
  transition: all .2s;
}
.btn-secundario-inv:hover { background: rgba(255,255,255,.25); transform: translateY(-3px); }
.hero-features {
  display: flex; gap: 18px; justify-content: center;
  flex-wrap: wrap; font-size: .88rem; opacity: .95;
}
.hero-features span {
  background: rgba(0,0,0,.15);
  padding: 7px 14px; border-radius: 50px;
  backdrop-filter: blur(4px);
}

/* ============================================================ */
/* SEPARADORES DE SECCIÓN                                       */
/* ============================================================ */
.separador-ola {
  position: relative;
  height: 90px;
  margin-top: -1px;
  overflow: hidden;
  line-height: 0;
}
.separador-ola svg {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.separador-ola.invertido svg {
  transform: scaleY(-1) translateY(-100%);
  transform-origin: center;
}
.separador-ola svg path { fill: var(--blanco); }
.separador-ola svg path.tinte { fill: var(--rosa-bg); opacity: .35; }

/* Separador de línea decorativa con ícono */
.separador-linea {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 30px 22px;
  max-width: 900px;
  margin: auto;
}
.separador-linea::before,
.separador-linea::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(214,51,108,.3), transparent);
}
.separador-linea .icono-sep {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: var(--rosa-bg);
  border-radius: 50%;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ============================================================ */
/* TÍTULOS DE SECCIÓN ESTANDARIZADOS                            */
/* ============================================================ */
.seccion-titulo-pro {
  text-align: center;
  margin-bottom: 34px;
  padding: 0 22px;
}
.seccion-titulo-pro .titulo-eyebrow {
  display: inline-block;
  background: var(--rosa-bg);
  color: var(--rosa);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.seccion-titulo-pro h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  color: var(--texto);
  line-height: 1.15;
  margin-bottom: 10px;
}
.seccion-titulo-pro p {
  color: var(--texto-suave);
  font-size: 1.02rem;
  max-width: 560px;
  margin: auto;
}

/* ============ CARRUSELES ============ */
.seccion-carrusel {
  padding: 60px 22px 40px;
  max-width: 1400px;
  margin: auto;
  position: relative;
}
.seccion-carrusel.seccion-tips { padding-top: 30px; }
.carrusel-header {
  display: flex; justify-content: space-between;
  align-items: flex-end; margin-bottom: 22px;
  gap: 16px; flex-wrap: wrap;
}
.carrusel-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem; color: var(--texto); margin-bottom: 4px;
}
.carrusel-header p { color: var(--texto-suave); font-size: .95rem; }
.carrusel-nav { display: flex; gap: 8px; }
.carrusel-btn {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--blanco); border: 1px solid var(--borde);
  cursor: pointer; font-size: 1rem; font-weight: 700;
  color: var(--texto); transition: all .2s;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.carrusel-btn:hover {
  background: var(--rosa); color: #fff;
  border-color: var(--rosa); transform: scale(1.05);
}
.carrusel-track {
  display: flex; gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 12px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.carrusel-track::-webkit-scrollbar { display: none; }
.carrusel-track > * { scroll-snap-align: start; flex-shrink: 0; }

/* ============ PROMO CARDS ============ */
.promo-card {
  width: 320px; min-height: 220px; padding: 26px;
  border-radius: 20px; color: #fff;
  box-shadow: 0 12px 40px rgba(0,0,0,.15);
  display: flex; flex-direction: column;
  justify-content: space-between;
  position: relative; overflow: hidden;
  transition: transform .3s;
}
.promo-card::before {
  content: ""; position: absolute;
  top: -50%; right: -30%;
  width: 200px; height: 200px; border-radius: 50%;
  background: rgba(255,255,255,.1);
}
.promo-card:hover { transform: translateY(-6px); }
.promo-badge {
  position: absolute; top: 16px; right: 16px;
  background: rgba(255,255,255,.25);
  backdrop-filter: blur(10px);
  padding: 5px 12px; border-radius: 50px;
  font-size: .75rem; font-weight: 700; letter-spacing: 1px;
}
.promo-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem; margin-bottom: 8px;
  line-height: 1.2; z-index: 1; position: relative;
}
.promo-card p {
  font-size: .95rem; opacity: .92;
  z-index: 1; position: relative; flex: 1;
}
.promo-cta {
  background: #fff; color: var(--texto); border: none;
  padding: 10px 18px; border-radius: 50px;
  font-weight: 700; font-size: .85rem;
  cursor: pointer; align-self: flex-start;
  z-index: 1; position: relative; transition: all .2s;
}
.promo-cta:hover { transform: translateX(4px); }

/* ============ SECCIÓN HELADOS FRIO FRI ============ */
.seccion-helados {
  padding: 70px 22px;
  max-width: 1400px;
  margin: 20px auto;
  background: linear-gradient(180deg, #fff 0%, #fff7fa 100%);
  border-radius: 30px;
  position: relative;
}
.helados-header {
  text-align: center;
  margin-bottom: 42px;
}
.helados-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  color: var(--texto);
  margin-bottom: 8px;
}
.helados-header p {
  color: var(--texto-suave);
  font-size: 1.05rem;
  max-width: 520px;
  margin: auto;
}
.helados-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.helado-cat-card {
  display: flex; flex-direction: column;
  background: #fff; border-radius: 20px;
  padding: 26px 22px;
  text-decoration: none; color: var(--texto);
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
  border: 2px solid transparent;
  transition: all .25s;
  position: relative; overflow: hidden;
}
.helado-cat-card:hover {
  transform: translateY(-6px);
  border-color: var(--rosa);
  box-shadow: 0 16px 40px rgba(214,51,108,.18);
}
.helado-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
  line-height: 1;
}
.helado-cat-card h3 {
  font-size: 1.1rem; font-weight: 700;
  margin-bottom: 6px; color: var(--texto);
}
.helado-cat-card p {
  font-size: .85rem;
  color: var(--texto-suave);
  margin-bottom: 14px; flex: 1;
}
.helado-link {
  font-size: .85rem;
  font-weight: 700;
  color: var(--rosa);
}
.helado-cat-card.destacado {
  background: linear-gradient(135deg, var(--rosa), var(--rosa-soft));
  color: #fff;
}
.helado-cat-card.destacado h3,
.helado-cat-card.destacado p,
.helado-cat-card.destacado .helado-link { color: #fff; }

/* ============ TIP CARDS ============ */
.tip-card {
  width: 260px; min-height: 200px;
  background: var(--blanco);
  border: 1px solid var(--borde);
  border-radius: 20px; padding: 24px;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
  transition: all .25s;
  display: flex; flex-direction: column; gap: 10px;
}
.tip-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(214,51,108,.15);
  border-color: var(--rosa);
}
.tip-icon {
  font-size: 2rem;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: var(--rosa-bg);
  border-radius: 16px;
  margin-bottom: 8px;
}
.tip-card h3 { font-size: 1.05rem; color: var(--texto); }
.tip-card p { font-size: .88rem; color: var(--texto-suave); line-height: 1.5; }

/* ============ PRECIO 0 (CONSULTAR) ============ */
.producto-card .precio.consultar {
  font-size: .82rem;
  color: var(--texto-suave);
  font-weight: 600;
}
.btn-agregar.consultar {
  background: var(--texto);
  color: #fff;
  font-size: .78rem;
}
.btn-agregar.consultar:hover { background: #000; }

/* Grupo de categorías en el sidebar */
.filtros .grupo-titulo {
  font-size: .7rem;
  font-weight: 700;
  color: var(--texto-suave);
  letter-spacing: 1.5px;
  padding: 14px 12px 6px;
  pointer-events: none;
  cursor: default;
  background: transparent !important;
}

/* ============================================================ */
/* ANIMACIONES DE SCROLL (reveal on scroll)                     */
/* ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1);
  will-change: opacity, transform;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1);
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-zoom {
  opacity: 0;
  transform: scale(.92);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal-zoom.visible {
  opacity: 1;
  transform: scale(1);
}

/* Retrasos escalonados (para grillas y listas) */
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }
.reveal-delay-5 { transition-delay: .40s; }
.reveal-delay-6 { transition-delay: .48s; }

/* Respetar preferencias de accesibilidad */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right, .reveal-zoom {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ============================================================ */
/* RESPONSIVE — Mobile first (arreglado)                        */
/* ============================================================ */

/* Tablet */
@media (max-width: 1024px) {
  .hero-pedido { background-attachment: scroll; }
  .seccion-helados { border-radius: 24px; margin: 20px 14px; }
  .seccion-titulo-pro h2 { font-size: 2rem; }
  .helados-header h2 { font-size: 2rem; }
}

/* Mobile grande */
@media (max-width: 768px) {
  .hero-pedido {
    min-height: 500px;
    padding: 60px 18px;
    background-position: center;
  }
  .hero-pedido h1 { font-size: 2.4rem; }
  .hero-pedido p { font-size: 1rem; max-width: 100%; }
  .hero-botones { gap: 10px; margin-bottom: 26px; }
  .hero-botones .btn-primario,
  .btn-secundario-inv { padding: 13px 22px; font-size: .92rem; }
  .hero-features { font-size: .8rem; gap: 8px; }
  .hero-features span { padding: 6px 12px; }

  /* Separadores */
  .separador-ola { height: 60px; }

  /* Títulos */
  .seccion-titulo-pro h2 { font-size: 1.7rem; }
  .seccion-titulo-pro p { font-size: .95rem; }
  .carrusel-header h2 { font-size: 1.4rem; }
  .carrusel-header p { font-size: .88rem; }
  .carrusel-nav { display: none; } /* Ocultamos flechas en mobile: se usa swipe */

  /* Carruseles con padding para que la primera/última card respire */
  .seccion-carrusel { padding: 40px 0 30px; }
  .seccion-carrusel .carrusel-header { padding: 0 18px; }
  .carrusel-track { padding-left: 18px; padding-right: 18px; gap: 14px; }
  .promo-card { width: 270px; min-height: 190px; padding: 22px; }
  .promo-card h3 { font-size: 1.2rem; }
  .promo-card p { font-size: .88rem; }
  .tip-card { width: 220px; min-height: 170px; padding: 20px; }
  .tip-card h3 { font-size: .98rem; }
  .tip-card p { font-size: .82rem; }

  /* Sección helados */
  .seccion-helados { padding: 50px 18px; margin: 20px 12px; }
  .helados-header { margin-bottom: 30px; }
  .helados-header h2 { font-size: 1.7rem; }
  .helados-header p { font-size: .95rem; }
  .helados-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .helado-cat-card { padding: 18px 14px; }
  .helado-icon { font-size: 1.7rem; margin-bottom: 10px; }
  .helado-cat-card h3 { font-size: .92rem; margin-bottom: 4px; }
  .helado-cat-card p { font-size: .74rem; margin-bottom: 10px; }
  .helado-link { font-size: .78rem; }
}

/* Mobile chico */
@media (max-width: 480px) {
  .hero-pedido {
    min-height: 460px;
    padding: 50px 16px;
  }
  .hero-tag { font-size: .74rem; padding: 6px 14px; margin-bottom: 14px; }
  .hero-pedido h1 { font-size: 1.9rem; }
  .hero-pedido p { font-size: .92rem; margin-bottom: 22px; }
  .hero-botones { flex-direction: column; align-items: stretch; }
  .hero-botones .btn-primario,
  .btn-secundario-inv { width: 100%; justify-content: center; }
  .hero-features { font-size: .72rem; }
  .hero-features span { padding: 5px 10px; }

  .separador-ola { height: 40px; }
  .separador-linea { padding: 20px 16px; gap: 10px; }
  .separador-linea .icono-sep { width: 34px; height: 34px; font-size: .95rem; }

  .seccion-titulo-pro { margin-bottom: 24px; padding: 0 16px; }
  .seccion-titulo-pro .titulo-eyebrow { font-size: .7rem; padding: 5px 12px; }
  .seccion-titulo-pro h2 { font-size: 1.5rem; }
  .seccion-titulo-pro p { font-size: .88rem; }

  .carrusel-header h2 { font-size: 1.25rem; }
  .carrusel-header p { font-size: .8rem; }
  .promo-card { width: 240px; min-height: 180px; padding: 18px; }
  .promo-card h3 { font-size: 1.1rem; }
  .promo-card p { font-size: .82rem; }
  .promo-cta { padding: 8px 14px; font-size: .78rem; }
  .tip-card { width: 200px; min-height: 160px; padding: 18px; }
  .tip-icon { width: 46px; height: 46px; font-size: 1.6rem; }
  .tip-card h3 { font-size: .92rem; }
  .tip-card p { font-size: .78rem; }

  .seccion-helados { padding: 40px 14px; margin: 14px 8px; border-radius: 20px; }
  .helados-header h2 { font-size: 1.5rem; }
  .helados-header p { font-size: .88rem; }
  .helados-grid { gap: 10px; }
  .helado-cat-card { padding: 16px 12px; border-radius: 16px; }
  .helado-icon { font-size: 1.5rem; }
  .helado-cat-card h3 { font-size: .85rem; }
  .helado-cat-card p { font-size: .7rem; }
}

/* ============================================================ */
/* FIX CATÁLOGO EN MOBILE — override de pedido.css              */
/* ============================================================ */

/* Reset de imágenes SOLO en el catálogo */
.grid-productos .producto-img {
  width: 100% !important;
  max-width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
  position: relative !important;
  background: var(--gris-bg) !important;
}
.grid-productos .producto-img img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
}

/* Tablet (≤1024px) */
@media (max-width: 1024px) {
  .pedido-layout {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    padding: 0 14px !important;
  }
  .filtros {
    position: static !important;
    top: auto !important;
  }
}

/* Mobile (≤768px) */
@media (max-width: 768px) {
  .pedido-layout {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    margin: 18px auto !important;
    padding: 0 12px !important;
    max-width: 100% !important;
  }

  /* Sidebar de categorías como chips horizontales */
  .filtros {
    position: static !important;
    padding: 14px 12px !important;
    border-radius: 14px !important;
    overflow: hidden !important;
  }
  .filtros h3 {
    font-size: .78rem !important;
    margin-bottom: 8px !important;
  }
  .filtros ul {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
    overflow-x: auto !important;
    padding-bottom: 4px !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .filtros ul::-webkit-scrollbar { display: none !important; }
  .filtros ul li {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    padding: 8px 14px !important;
    font-size: .82rem !important;
    margin-bottom: 0 !important;
  }
  .filtros .grupo-titulo { display: none !important; }
  .filtros .info-minimo { display: none !important; }

  /* Header del catálogo */
  .catalogo-header {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    margin-bottom: 14px !important;
  }
  .catalogo-header h1 {
    font-size: 1.2rem !important;
    text-align: left !important;
  }
  #buscador {
    width: 100% !important;
    padding: 11px 16px !important;
    font-size: .9rem !important;
  }

  /* Grid de productos: 2 columnas */
  .grid-productos {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Card de producto */
  .producto-card {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    border-radius: 14px !important;
  }
  .producto-img {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    overflow: hidden !important;
  }
  .producto-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
  .producto-info {
    padding: 10px !important;
    gap: 6px !important;
  }
  .producto-info h3 {
    font-size: .85rem !important;
    line-height: 1.25 !important;
    margin: 0 !important;
  }
  .producto-info p {
    font-size: .72rem !important;
    line-height: 1.35 !important;
    margin: 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }
  .producto-footer {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 6px !important;
    margin-top: 6px !important;
  }
  .producto-footer .precio {
    font-size: .95rem !important;
    text-align: center !important;
  }
  .btn-agregar {
    width: 100% !important;
    justify-content: center !important;
    padding: 8px 10px !important;
    font-size: .75rem !important;
    border-radius: 40px !important;
  }
}

/* Mobile chico (≤480px) */
@media (max-width: 480px) {
  .pedido-layout {
    padding: 0 10px !important;
    gap: 14px !important;
  }
  .grid-productos {
    gap: 10px !important;
  }
  .producto-info h3 {
    font-size: .78rem !important;
  }
  .producto-info p {
    font-size: .68rem !important;
    -webkit-line-clamp: 2 !important;
  }
  .producto-footer .precio {
    font-size: .88rem !important;
  }
  .btn-agregar {
    font-size: .7rem !important;
    padding: 7px 8px !important;
  }
  .badge-18 {
    font-size: .6rem !important;
    padding: 2px 6px !important;
  }
  .catalogo-header h1 {
    font-size: 1.1rem !important;
  }
}
/* ============================================================ */
/* PERFORMANCE — Optimización de render                         */
/* ============================================================ */

/* 1. Parallax solo en desktop. En móvil, scroll normal (mucho más rápido) */
@media (max-width: 1024px) {
  .hero-pedido {
    background-attachment: scroll !important;
  }
}

/* 2. Aceleración GPU solo cuando hace falta */
.hero-pedido-overlay,
.promo-card,
.helado-cat-card,
.tip-card,
.producto-card {
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* 3. Sombras más livianas (menos costosas de calcular) */
.promo-card {
  box-shadow: 0 6px 20px rgba(0,0,0,.12);
}
.helado-cat-card,
.tip-card,
.producto-card {
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.helado-cat-card:hover,
.tip-card:hover,
.producto-card:hover {
  box-shadow: 0 8px 24px rgba(214,51,108,.15);
}

/* 4. Content-visibility: solo renderiza lo que está visible */
.seccion-carrusel,
.seccion-helados,
.pedido-layout,
.ubicacion-section {
  content-visibility: auto;
  contain-intrinsic-size: 500px;
}

/* 5. Optimizar carrusel (menos repaint) */
.carrusel-track {
  will-change: scroll-position;
  transform: translateZ(0);
}
.promo-card,
.tip-card {
  contain: layout style paint;
}

/* 6. Animaciones más livianas (solo transform + opacity) */
.reveal,
.reveal-left,
.reveal-right,
.reveal-zoom {
  transition-duration: .6s;
}

/* 7. Reducir complejidad de separadores SVG */
.separador-ola svg {
  shape-rendering: optimizeSpeed;
}

/* 8. Scroll suave solo en desktop (en mobile usa el default que es más rápido) */
@media (max-width: 768px) {
  html { scroll-behavior: auto !important; }
}

/* 9. Reducir animación de typing (chatbot) — si pesa mucho */
@media (prefers-reduced-motion: reduce) {
  .cb-msg.typing span { animation: none !important; }
}

/* ============ PRÓXIMAMENTE ============ */
.producto-card.proximamente {
  opacity: .92;
  background: linear-gradient(180deg, #fff 0%, #f8f5f7 100%);
}
.producto-card.proximamente:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
}
.badge-prox {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(135deg, #f5a623, #d48806);
  color: #fff;
  font-size: .68rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 1px;
  animation: pulseProx 2s ease-in-out infinite;
}
@keyframes pulseProx {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}
.btn-prox {
  width: 100%;
  background: linear-gradient(135deg, #f5a623, #d48806);
  color: #fff;
  border: none;
  padding: 10px 14px;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all .2s;
}
.btn-prox:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(245,166,35,.4);
}