/* ============ TOKENS ============ */
:root{
  --ink: #1B1F1E;
  --ink-soft: #2A2F2D;
  --concrete: #EDE8DF;
  --concrete-soft: #F7F4EE;
  --steel: #4C5A5E;
  --accent: #F11867;
  --accent-dark: #C10E52;
  --off-white: #F7F4EE;

  --font-display: 'Archivo Black', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius: 4px;
  --container: 1180px;
}

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

html{ scroll-behavior: smooth; }

body{
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--concrete-soft);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Mientras carga, bloqueamos el scroll para que el loader se vea completo */
body.is-loading{ overflow: hidden; }

/* ============ LOADER ============ */
.preloader{
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  transition: opacity .5s ease, visibility .5s ease;
}
.preloader.is-hidden{ opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-logo{
  width: 84px; height: 84px;
  border-radius: 50%;
  animation: preloader-pulse 1.3s ease-in-out infinite;
}
.preloader-text{
  font-family: var(--font-display);
  color: var(--off-white);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
}
.preloader-bar{
  width: 140px; height: 3px;
  background: rgba(247,244,238,0.15);
  border-radius: 2px;
  overflow: hidden;
}
.preloader-bar span{
  display: block;
  width: 35%; height: 100%;
  background: var(--accent);
  animation: preloader-sweep 1.1s ease-in-out infinite;
}
@keyframes preloader-pulse{
  0%, 100%{ transform: scale(1); }
  50%{ transform: scale(1.08); }
}
@keyframes preloader-sweep{
  0%{ transform: translateX(-120%); }
  100%{ transform: translateX(380%); }
}

/* ============ EFECTO DE ENTRADA AL CARGAR ============ */
.site-header{ opacity: 0; transition: opacity .6s ease .15s; }
.hero-inner{ opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
body.is-loaded .site-header{ opacity: 1; }
body.is-loaded .hero-inner{ opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce){
  .preloader-logo, .preloader-bar span{ animation: none; }
  .site-header, .hero-inner{ opacity: 1; transform: none; transition: none; }
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }

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

/* ============ BOTONES ============ */
.btn{
  display: inline-block;
  padding: 14px 28px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  transition: transform .2s ease, background .2s ease;
}
.btn-accent{
  background: var(--accent);
  color: var(--off-white);
}
.btn-accent:hover{ background: var(--accent-dark); transform: translateY(-2px); }
.btn-outline{
  border: 2px solid var(--ink);
  color: var(--ink);
}
.btn-outline:hover{ background: var(--ink); color: var(--off-white); }

/* ============ HEADER ============ */
.site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(27,31,30,0.92);
  backdrop-filter: blur(6px);
}
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.logo{
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  color: var(--off-white);
  font-size: 1rem;
  letter-spacing: 0.04em;
}
.logo-img{ width: 34px; height: 34px; border-radius: 50%; }
.logo span{ color: var(--accent); margin-left: 6px; }

/* ============ CURSOR TIPO BROCHA ============ */
/* Se aplica en elementos interactivos: la puntita de la brocha (marcada con x2,y2 abajo)
   queda justo donde el usuario "hace clic". Si quieres cambiar el ícono, edita el SVG
   codificado en el data-uri o reemplázalo por una imagen en /img (ver nota abajo). */
a, button, .price-tag, .cat-card{
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><g transform="rotate(45 16 16)"><rect x="14" y="2" width="4" height="12" rx="1.5" fill="%23F11867" stroke="%231B1F1E" stroke-width="1"/><rect x="13" y="13" width="6" height="5" fill="%23C10E52" stroke="%231B1F1E" stroke-width="1"/><path d="M13 18 Q12 24 16 29 Q20 24 19 18 Z" fill="%23F7F4EE" stroke="%231B1F1E" stroke-width="1"/></g></svg>') 16 29, pointer;
}

.main-nav{ display: flex; gap: 32px; }
.main-nav a{
  position: relative;
  color: var(--concrete);
  font-size: 0.9rem;
  font-weight: 500;
  padding-bottom: 4px;
  transition: color .2s ease;
}
/* El subrayado es una línea que empieza en 0% de ancho y crece a 100%
   al pasar el mouse — un efecto sutil, muy usado en sitios premium. */
.main-nav a::after{
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0%;
  height: 2px;
  background: var(--accent);
  transition: width .25s ease;
}
.main-nav a:hover{ color: var(--off-white); }
.main-nav a:hover::after{ width: 100%; }

.header-cta{ padding: 10px 20px; font-size: 0.85rem; }

.nav-toggle{
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span{ width: 24px; height: 2px; background: var(--off-white); }

/* ============ HERO ============ */
.hero{
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--ink);
  color: var(--off-white);
  overflow: hidden;
}
.hero-grid{
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(247,244,238,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247,244,238,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 70% 40%, black 0%, transparent 70%);
}
.hero-inner{ position: relative; padding-top: 120px; padding-bottom: 80px; }
.eyebrow{
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.hero-title{
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
}
.hero-title .accent{ color: var(--accent); }
.hero-sub{
  margin-top: 24px;
  max-width: 480px;
  color: var(--concrete);
  font-size: 1.1rem;
}
.hero-actions{ display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; }

.hero-marquee{
  position: relative;
  border-top: 1px solid rgba(247,244,238,0.15);
  overflow: hidden;
  padding: 22px 0;
}
.marquee-track{
  display: flex;
  width: max-content;
  animation: scroll-marquee 22s linear infinite;
}
.marquee-track span{
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  color: var(--accent);
  white-space: nowrap;
  padding-right: 16px;
}
@keyframes scroll-marquee{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

/* ============ SECCIONES GENERALES ============ */
section{ padding: 100px 0; }
.section-label{
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-label.light{ color: var(--accent); }
.section-title{
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.1;
  margin-bottom: 16px;
}
.section-title.light{ color: var(--off-white); }
.section-sub{ color: var(--steel); max-width: 520px; margin-bottom: 48px; }

/* ============ CATEGORÍAS ============ */
.cat-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 2px;
  background: var(--ink);
  margin-top: 40px;
}
.cat-card{
  background: var(--concrete-soft);
  padding: 40px 28px;
  transition: background .25s ease;
}
.cat-card:hover{ background: var(--concrete); }
.cat-icon{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(241,24,103,0.08);
  color: var(--accent);
  margin-bottom: 18px;
  transition: background .25s ease, transform .25s ease;
}
.cat-icon svg{ width: 26px; height: 26px; }
.cat-card:hover .cat-icon{ background: var(--accent); color: var(--off-white); transform: scale(1.06); }
.cat-card h3{ font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 8px; }
.cat-card p{ color: var(--steel); font-size: 0.92rem; }

/* ============ PRODUCTOS: TARJETAS TIPO ETIQUETA ============ */
.productos{ background: var(--concrete); }
.tag-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.price-tag{
  background: var(--concrete-soft);
  border: 1px solid rgba(27,31,30,0.1);
  border-radius: var(--radius);
  padding: 20px;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}
.price-tag{ will-change: transform; }
.price-tag:hover{ box-shadow: 0 20px 34px rgba(27,31,30,0.18); }
.tag-hole{
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--concrete);
  border: 2px solid var(--ink);
  position: absolute;
  top: -7px; left: 20px;
}
.tag-img{
  aspect-ratio: 1/1;
  background: var(--steel);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 16px;
}
.tag-img img{ width: 100%; height: 100%; object-fit: cover; }
.price-tag h3{ font-size: 0.98rem; font-weight: 700; margin-bottom: 4px; }
.tag-meta{ font-size: 0.8rem; color: var(--steel); margin-bottom: 10px; }
.tag-price{
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent-dark);
}

/* ============ PRECIO CON NOTA BCV ============ */
.tag-price-note{
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--steel);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* El efecto 3D del mouse (ver js/script.js) se aplica en JS directamente
   con perspective() dentro del transform — por eso .price-tag no necesita
   perspective ni preserve-3d aquí: todo viaja en una sola línea de transform. */

/* ============ SELECTOR DE COLOR ============ */
.configurador{ background: var(--ink); color: var(--off-white); }
.configurador .section-label{ color: var(--accent); }
.configurador .section-title{ color: var(--off-white); }
.configurador .section-sub{ color: var(--concrete); }

.configurador-panel{
  max-width: 620px;
  margin-top: 40px;
  background: rgba(247,244,238,0.05);
  border: 1px solid rgba(247,244,238,0.1);
  border-radius: 12px;
  padding: 28px;
}
.configurador-panel-label{
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--concrete);
  margin-bottom: 14px;
}

.color-swatches{
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}
.swatch{
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 8px;
  border: 2px solid rgba(247,244,238,0.15);
  cursor: pointer;
  transition: transform .15s ease, border-color .15s ease;
}
.swatch:hover{ transform: scale(1.08); }
.swatch.is-active{ border-color: var(--off-white); box-shadow: 0 0 0 2px var(--accent); }

.configurador-panel-label-picker{ margin-top: 4px; }

.color-picker-row{
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
/* Los <input type="color"> nativos vienen feos por defecto (cuadrados,
   con borde raro) — esto los redondea y les da un anillo consistente
   con el resto del panel. El selector real (la rueda de color) sigue
   siendo el que trae el navegador/sistema operativo del usuario. */
.color-picker-input{
  -webkit-appearance: none;
  appearance: none;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(247,244,238,0.3);
  padding: 0;
  cursor: pointer;
  background: none;
  flex-shrink: 0;
}
.color-picker-input::-webkit-color-swatch-wrapper{ padding: 0; border-radius: 50%; }
.color-picker-input::-webkit-color-swatch{ border: none; border-radius: 50%; }
.color-picker-input::-moz-color-swatch{ border: none; border-radius: 50%; }
.color-picker-hint{
  font-size: 0.8rem;
  color: var(--concrete);
  line-height: 1.3;
}

.configurador-selected{
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid rgba(247,244,238,0.12);
  border-bottom: 1px solid rgba(247,244,238,0.12);
  margin-bottom: 20px;
}
.selected-dot{
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(247,244,238,0.3);
  flex-shrink: 0;
  background: var(--steel);
}
.selected-name{ font-weight: 700; font-size: 0.95rem; }
.selected-code{ font-family: var(--font-mono); font-size: 0.78rem; color: var(--concrete); }

.configurador-cta{ width: 100%; text-align: center; }

@media (max-width: 640px){
  .color-swatches{ grid-template-columns: repeat(6, 1fr); }
}

/* ============ NOSOTROS ============ */
.nosotros{ background: var(--ink); color: var(--off-white); }
.nosotros-inner{
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: center;
}
.nosotros-photo{
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/5;
  border: 1px solid rgba(247,244,238,0.12);
}
.nosotros-photo img{ width: 100%; height: 100%; object-fit: cover; }
.nosotros-content{
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
}
.nosotros-text p{ color: var(--concrete); margin-top: 20px; max-width: 460px; }
.nosotros-stats{ display: flex; flex-direction: column; gap: 28px; }
.stat-num{ display: block; font-family: var(--font-display); font-size: 2.4rem; color: var(--accent); }
.stat-label{ font-family: var(--font-mono); font-size: 0.8rem; color: var(--steel); }

/* ============ CRÉDITO RAPIKON ============ */
.credito{ background: var(--accent); color: var(--off-white); padding: 60px 0; }
.credito .section-label{ color: var(--ink); }
.credito .section-title{ color: var(--off-white); margin-bottom: 12px; }
.credito-inner{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.credito-inner p{ max-width: 480px; }
.credito .btn-outline{ border-color: var(--off-white); color: var(--off-white); flex-shrink: 0; }
.credito .btn-outline:hover{ background: var(--off-white); color: var(--accent); }

.payment-methods{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(247,244,238,0.25);
}
.payment-badge{
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(247,244,238,0.12);
  padding: 8px 16px 8px 8px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
}
.payment-logo{
  width: 28px; height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

/* ============ UBICACIÓN ============ */
.ubicacion-inner{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.direccion{ font-size: 1.1rem; margin: 16px 0 4px; }
.horario-list{
  list-style: none;
  margin: 20px 0 28px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  border-top: 1px solid rgba(27,31,30,0.15);
}
.horario-list li{
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(27,31,30,0.15);
  color: var(--ink);
}
.horario-list .cerrado{ color: var(--steel); }
.mapa-embed{
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(27,31,30,0.15);
}
.mapa-embed iframe{ display: block; }

/* ============ FOOTER ============ */
.site-footer{ background: var(--ink); color: var(--concrete); padding-top: 60px; }
.footer-inner{
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(247,244,238,0.12);
}
.footer-logo{ color: var(--off-white); }
.footer-links, .footer-social{ display: flex; flex-wrap: wrap; gap: 16px 20px; font-size: 0.9rem; }
.footer-links a:hover, .footer-social a:hover{ color: var(--accent); }
.footer-copy{
  text-align: center;
  font-size: 0.78rem;
  color: var(--steel);
  padding: 20px 0;
}

/* ============ WHATSAPP FLOTANTE ============ */
.whatsapp-float{
  position: fixed;
  bottom: 24px; right: 24px;
  width: 56px; height: 56px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  z-index: 200;
  transition: transform .2s ease;
}
.whatsapp-float:hover{ transform: scale(1.08); }

/* ============ BOTÓN VOLVER ARRIBA ============ */
/* Va justo encima del botón de WhatsApp (misma columna a la derecha)
   para que ambos se sientan como parte del mismo "grupo" flotante,
   en vez de desperdigados en esquinas distintas de la pantalla. */
.back-to-top{
  position: fixed;
  right: 24px;
  bottom: 92px; /* 24px del whatsapp + 56px de alto + 12px de separación */
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--off-white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0,0,0,0.22);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s ease, background .2s ease;
}
.back-to-top.is-visible{ opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover{ background: var(--accent); }

/* ============ SCROLL REVEAL ============ */
.reveal{
  opacity: 0;
  transform: translateY(24px) scale(0.97);
  filter: blur(8px);
  transition: opacity .7s ease, transform .7s cubic-bezier(0.16, 1, 0.3, 1), filter .7s ease;
}
.reveal.is-visible{ opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }

/* ============ PAPEL TAPIZ ============ */
.tapiz{
  position: relative;
  background: var(--ink);
  color: var(--off-white);
  overflow: hidden;
  padding: 90px 0;
}
/* Patrón decorativo tipo papel tapiz, hecho 100% en CSS (sin imágenes,
   así que no pesa nada y nunca se ve pixelado). Combina un motivo floral
   simple (círculos + tallos con gradientes) repetido en mosaico. */
.tapiz-pattern{
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image:
    radial-gradient(circle at 20px 20px, var(--accent) 6px, transparent 7px),
    radial-gradient(circle at 60px 60px, var(--accent) 6px, transparent 7px),
    repeating-linear-gradient(45deg, transparent 0 18px, rgba(247,244,238,0.15) 18px 19px),
    repeating-linear-gradient(-45deg, transparent 0 18px, rgba(247,244,238,0.15) 18px 19px);
  background-size: 80px 80px, 80px 80px, 80px 80px, 80px 80px;
}
.tapiz-inner{ position: relative; max-width: 640px; }
.tapiz .section-label{ color: var(--accent); }
.tapiz .section-title{ color: var(--off-white); margin-bottom: 16px; }
.tapiz-desc{ color: var(--concrete); margin-bottom: 28px; }

/* ============ CATÁLOGO: GRUPOS POR CATEGORÍA ============ */
.catalogo-categoria-title{
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin: 40px 0 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ink);
}

/* ============ TARJETAS DE OFERTA ============ */
.offer-card{
  background: var(--concrete-soft);
  border: 1px solid rgba(27,31,30,0.1);
  border-radius: var(--radius);
  padding: 20px;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
  will-change: transform;
}
.offer-card:hover{ box-shadow: 0 20px 34px rgba(27,31,30,0.18); }
.offer-badge{
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  background: var(--accent);
  color: var(--off-white);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 5px 12px;
  border-radius: 100px;
}
.offer-img{
  aspect-ratio: 1/1;
  background: var(--steel);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 16px;
}
.offer-img img{ width: 100%; height: 100%; object-fit: cover; }
.offer-card h3{ font-size: 0.98rem; font-weight: 700; margin-bottom: 4px; }
.offer-meta{ font-size: 0.8rem; color: var(--steel); margin-bottom: 10px; }
.offer-prices{ display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.offer-price-old{ font-family: var(--font-mono); font-size: 0.9rem; color: var(--steel); text-decoration: line-through; }
.offer-price-new{ font-family: var(--font-mono); font-weight: 700; font-size: 1.15rem; color: var(--accent-dark); }
.offer-card .btn{ width: 100%; text-align: center; padding: 10px; font-size: 0.85rem; }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px){
  .tag-grid{ grid-template-columns: repeat(2, 1fr); }
  .nosotros-inner, .nosotros-content, .ubicacion-inner{ grid-template-columns: 1fr; }
}

@media (max-width: 640px){
  .main-nav{
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: var(--ink);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    transform: translateY(-150%);
    transition: transform .3s ease;
  }
  .main-nav.is-open{ transform: translateY(0); }
  .nav-toggle{ display: flex; }
  .header-cta{ display: none; }
  .tag-grid{ grid-template-columns: repeat(2, 1fr); gap: 12px; }
  section{ padding: 64px 0; }
  .page-hero{ padding: 140px 0 40px; }

  /* Tarjetas más compactas para que 2 quepan cómodas lado a lado */
  .price-tag, .offer-card{ padding: 12px; }
  .price-tag h3, .offer-card h3{ font-size: 0.85rem; }
  .tag-meta, .offer-meta{ font-size: 0.72rem; }
  .tag-price{ font-size: 0.95rem; }
  .price-tag .btn, .offer-card .btn{ padding: 8px; font-size: 0.78rem; }

  /* Botones flotantes un poco más chicos y cerca del borde en pantallas
     angostas, para que no tapen tanto contenido ni se sientan enormes. */
  .whatsapp-float{ width: 50px; height: 50px; right: 16px; bottom: 16px; }
  .back-to-top{ width: 40px; height: 40px; right: 16px; bottom: 78px; }
  .offer-badge{ font-size: 0.68rem; padding: 4px 9px; }
  .offer-prices{ gap: 6px; flex-wrap: wrap; }
  .offer-price-old{ font-size: 0.78rem; }
  .offer-price-new{ font-size: 1rem; }

  /* En mobile el blur fuerte + scale se siente pesado y lento en
     pantallas táctiles (más aún en equipos gama media/baja) — se
     reduce la distancia e intensidad y se acelera la transición
     para que el scroll se sienta ágil, no “trabado”. */
  .reveal{
    transform: translateY(14px);
    filter: blur(4px);
    transition: opacity .4s ease, transform .4s ease, filter .4s ease;
  }
  .reveal.is-visible{ transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce){
  .reveal{ opacity: 1; transform: none; filter: none; transition: none; }
  .marquee-track{ animation: none; }
}
