/* ═══════════════════════════════════════════
   SELENE — ESTILOS COMPLETOS (MOBILE-FIRST)
   ═══════════════════════════════════════════ */

/* ── UTILIDADES ── */
.section {
  scroll-margin-top: 130px;
}
.section-padding {
  padding: 48px 0;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--p800);
  text-align: center;
  margin-bottom: 4px;
}
.section-subtitle {
  display: block;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-dim);
  margin-bottom: 28px;
}

/* ── 1. TOP ANNOUNCEMENT BAR ── */
.top-bar {
  background: linear-gradient(135deg, var(--p700), var(--p500));
  overflow: hidden;
  height: 36px;
  display: flex;
  align-items: center;
  position: relative;
}
.top-bar-track {
  display: flex;
  gap: 48px;
  animation: scrollAnnounce 24s linear infinite;
  white-space: nowrap;
  padding: 0 24px;
}
.top-bar-item {
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  flex-shrink: 0;
}
.top-bar-item strong {
  font-weight: 700;
  letter-spacing: 1px;
}

@keyframes scrollAnnounce {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── 2. HEADER ── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--p100);
  padding: 10px 16px 8px;
  transition: box-shadow 0.3s;
}
.header-scrolled {
  box-shadow: 0 2px 20px var(--shadow);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.header-logo span {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--p700), var(--p400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.header-logo img {
  height: 36px;
  width: auto;
}
.header-actions {
  display: flex;
  gap: 6px;
}
.header-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--p700);
  transition: var(--transition);
}
.header-icon:hover {
  background: var(--p50);
  color: var(--p500);
}
.header-nav {
  display: flex;
  gap: 5px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.header-nav::-webkit-scrollbar { display: none; }
.nav-btn {
  padding: 7px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-dim);
  background: transparent;
  transition: var(--transition);
  white-space: nowrap;
  border: 1.5px solid transparent;
  flex-shrink: 0;
}
.nav-btn:hover {
  color: var(--p600);
  background: var(--p50);
}
.nav-btn.activo {
  color: var(--white);
  background: linear-gradient(135deg, var(--p600), var(--p400));
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(123, 44, 191, 0.3);
}

/* ── 3. HERO ── */
.hero {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 50px 20px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg .forma {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}
.hero-bg .forma:nth-child(1) {
  width: 300px; height: 300px;
  background: var(--p500);
  top: -80px; left: -80px;
}
.hero-bg .forma:nth-child(2) {
  width: 220px; height: 220px;
  background: var(--p200);
  bottom: -60px; right: -40px;
}
.hero-bg .forma:nth-child(3) {
  width: 150px; height: 150px;
  background: var(--gold);
  top: 50%; left: 55%;
  opacity: 0.15;
}
.hero-contenido {
  position: relative;
  z-index: 1;
  max-width: 500px;
}
.hero-badge {
  display: inline-block;
  padding: 5px 16px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--white);
  background: linear-gradient(135deg, var(--p600), var(--p400));
  margin-bottom: 16px;
  text-transform: uppercase;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--p800);
  margin-bottom: 10px;
  line-height: 1.2;
}
.hero h1 span {
  background: linear-gradient(135deg, var(--p700), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  color: var(--text-dim);
  font-size: 0.95rem;
  max-width: 380px;
  margin: 0 auto 24px;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.hero-cta {
  display: inline-block;
  padding: 13px 32px;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--p600), var(--p400));
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 6px 25px rgba(123, 44, 191, 0.35);
  transition: var(--transition);
}
.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(123, 44, 191, 0.45);
}
.hero-cta-sec {
  display: inline-block;
  padding: 13px 32px;
  border-radius: 50px;
  border: 2px solid var(--p500);
  color: var(--p500);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}
.hero-cta-sec:hover {
  background: var(--p50);
  transform: translateY(-2px);
}
.hero-imagen {
  display: none;
}

/* ── 4. CATEGORÍAS ── */
.categorias {
  background: var(--white);
}
.categorias .section-title {
  margin-bottom: 20px;
}
.categorias-scroll {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 4px 0 8px;
}
.cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: var(--radius);
  background: var(--bg);
  min-width: 88px;
  scroll-snap-align: start;
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  border: 1.5px solid transparent;
}
.cat-item:hover {
  background: var(--p50);
  border-color: var(--p100);
  transform: translateY(-2px);
}
.cat-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--p50), var(--p100));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--p600);
  transition: var(--transition);
  flex-shrink: 0;
}
.cat-item:hover .cat-icon {
  background: linear-gradient(135deg, var(--p100), var(--p200));
  color: var(--p700);
}
.cat-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text);
  text-align: center;
  white-space: nowrap;
}

/* ── 5. CATÁLOGO ── */
.seccion-catalogo {
  background: var(--bg);
}
.catalogo {
  min-height: 200px;
}
.catalogo-loading {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-dim);
  font-size: 0.95rem;
}
.loading-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--p100);
  border-top-color: var(--p500);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 12px;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ── LÍNEAS / SECCIONES DE PRODUCTOS ── */
.seccion-linea {
  margin-bottom: 36px;
}
.titulo-linea {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--p700);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--p200);
  display: flex;
  align-items: center;
  gap: 10px;
}
.titulo-linea::before {
  content: '';
  width: 4px;
  height: 22px;
  background: linear-gradient(180deg, var(--p500), var(--p200));
  border-radius: 2px;
  flex-shrink: 0;
}

/* ── PRODUCTOS GRID ── */
.productos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.producto-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px var(--shadow);
  transition: var(--transition);
  cursor: pointer;
}
.producto-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px var(--shadow);
}
.producto-card-imagen {
  width: 100%;
  aspect-ratio: 1 / 1.15;
  object-fit: cover;
  background: var(--p50);
  transition: transform 0.5s ease;
}
.producto-card:hover .producto-card-imagen {
  transform: scale(1.05);
}
.producto-card-body {
  padding: 11px 13px 14px;
}
.producto-card-nombre {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--p800);
  margin-bottom: 3px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.producto-card-precio {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--p600);
}

/* ── PLACEHOLDER (sin productos) ── */
.productos-placeholder {
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border-radius: var(--radius);
  border: 2px dashed var(--p200);
}
.productos-placeholder.grande {
  padding: 60px 20px;
}
.placeholder-icon {
  display: block;
  font-size: 2.5rem;
  margin-bottom: 12px;
}
.placeholder-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--p600);
}
.placeholder-sub {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-top: 6px;
}

/* ── SIN PRODUCTOS ── */
.sin-productos {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 20px;
  color: var(--text-dim);
  font-size: 0.95rem;
}
.sin-productos::before {
  content: '✨';
  display: block;
  font-size: 2rem;
  margin-bottom: 8px;
}

/* ── 6. PROMO BANNER ── */
.promo {
  background: var(--white);
}
.promo-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--p700), var(--p500));
  padding: 40px 28px;
  text-align: center;
  isolation: isolate;
}
.promo-content {
  position: relative;
  z-index: 1;
}
.promo-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  background: rgba(255,255,255,0.15);
  color: var(--gold-light);
  margin-bottom: 14px;
  text-transform: uppercase;
}
.promo-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.3;
}
.promo-highlight {
  color: var(--gold);
}
.promo-text {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.promo-code {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px dashed rgba(255,255,255,0.3);
  border-radius: var(--radius-sm);
  padding: 8px 20px;
  margin-bottom: 22px;
}
.promo-code-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
}
.promo-code-value {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
}
.promo-copy {
  background: rgba(255,255,255,0.15);
  border: none;
  border-radius: 6px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  cursor: pointer;
  transition: var(--transition);
}
.promo-copy:hover {
  background: rgba(255,255,255,0.25);
}
.promo-copy.copiado {
  background: rgba(46, 204, 113, 0.4);
}
.promo-cta {
  display: inline-block;
  padding: 12px 36px;
  border-radius: 50px;
  background: var(--white);
  color: var(--p700);
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition);
}
.promo-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}
.promo-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.promo-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
}
.promo-shape:nth-child(1) {
  width: 300px; height: 300px;
  background: var(--white);
  top: -100px; right: -100px;
}
.promo-shape:nth-child(2) {
  width: 200px; height: 200px;
  background: var(--gold);
  bottom: -60px; left: -60px;
}
.promo-shape:nth-child(3) {
  width: 120px; height: 120px;
  background: var(--white);
  top: 30%; left: 10%;
}

/* ── 7. BENEFICIOS ── */
.beneficios {
  background: var(--bg);
}
.beneficios-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.beneficio-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px 16px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--p50);
}
.beneficio-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--p100);
}
.beneficio-icon {
  display: inline-flex;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--p50), var(--p100));
  align-items: center;
  justify-content: center;
  color: var(--p600);
  margin-bottom: 12px;
}
.beneficio-titulo {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--p800);
  margin-bottom: 4px;
}
.beneficio-texto {
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.4;
}

/* ── 8. TESTIMONIOS ── */
.testimonios {
  background: var(--white);
}
.testimonios-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  padding: 4px 4px 12px;
  -webkit-mask-image: linear-gradient(to right, transparent, black 24px, black calc(100% - 24px), transparent);
  mask-image: linear-gradient(to right, transparent, black 24px, black calc(100% - 24px), transparent);
}
.testimonios-scroll::-webkit-scrollbar { display: none; }
.testimonio-card {
  min-width: 300px;
  max-width: 340px;
  flex-shrink: 0;
  scroll-snap-align: start;
  background: var(--bg);
  border-radius: var(--radius);
  padding: 24px 22px;
  border: 1px solid var(--p50);
  transition: var(--transition);
}
.testimonio-card:hover {
  border-color: var(--p100);
  box-shadow: var(--shadow);
}
.testimonio-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 12px;
}
.testimonio-texto {
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 18px;
  font-style: italic;
}
.testimonio-autor {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonio-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}
.testimonio-nombre {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--p800);
}
.testimonio-rol {
  display: block;
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* ── 9. BLOG ── */
.blog {
  background: var(--bg);
}
.blog-grid {
  display: grid;
  gap: 18px;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 2px 12px var(--shadow);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px var(--shadow);
}
.blog-img {
  height: 180px;
  background: linear-gradient(135deg, var(--p100), var(--p50));
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 12px;
}
.blog-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 40%, var(--p200) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, var(--p400) 0%, transparent 50%);
  opacity: 0.4;
}
.blog-card:nth-child(1) .blog-img {
  background: linear-gradient(135deg, #E8D5FF, #F5ECFF);
}
.blog-card:nth-child(2) .blog-img {
  background: linear-gradient(135deg, #D5F0FF, #ECF5FF);
}
.blog-card:nth-child(3) .blog-img {
  background: linear-gradient(135deg, #FFECD5, #FFF5EC);
}
.blog-cat {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: rgba(255,255,255,0.85);
  color: var(--p700);
  position: relative;
  z-index: 1;
}
.blog-body {
  padding: 18px 20px 22px;
}
.blog-date {
  font-size: 0.75rem;
  color: var(--text-dim);
  display: block;
  margin-bottom: 6px;
}
.blog-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--p800);
  margin-bottom: 8px;
  line-height: 1.4;
}
.blog-excerpt {
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 12px;
}
.blog-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--p500);
  transition: var(--transition);
}
.blog-link:hover {
  color: var(--p700);
  gap: 4px;
}

/* ── 10. NEWSLETTER ── */
.newsletter {
  background: var(--white);
}
.newsletter-card {
  background: linear-gradient(135deg, var(--p700), var(--p500));
  border-radius: 20px;
  padding: 40px 24px;
  text-align: center;
  isolation: isolate;
  position: relative;
  overflow: hidden;
}
.newsletter-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
  pointer-events: none;
}
.newsletter-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--gold-light);
  margin-bottom: 16px;
}
.newsletter-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.newsletter-text {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 24px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 400px;
  margin: 0 auto;
}
.newsletter-input {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: none;
  font-size: 0.9rem;
  background: rgba(255,255,255,0.12);
  color: var(--white);
  transition: var(--transition);
}
.newsletter-input::placeholder {
  color: rgba(255,255,255,0.5);
}
.newsletter-input:focus {
  outline: none;
  background: rgba(255,255,255,0.2);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.15);
}
.newsletter-btn {
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  border: none;
  background: var(--white);
  color: var(--p700);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}
.newsletter-btn:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

/* ── 11. FOOTER ── */
.footer {
  background: var(--p900);
  color: var(--p300);
  padding: 48px 0 0;
}
.footer-grid {
  display: grid;
  gap: 28px;
}
.footer-brand {
  text-align: center;
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.footer-tagline {
  font-size: 0.82rem;
  color: var(--p400);
  margin-bottom: 16px;
}
.footer-redes {
  display: flex;
  justify-content: center;
  gap: 12px;
}
.footer-redes a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: var(--p300);
  transition: var(--transition);
}
.footer-redes a:hover {
  background: var(--p600);
  color: var(--white);
  transform: translateY(-2px);
}
.footer-col-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 8px;
}
.footer-links a {
  font-size: 0.82rem;
  color: var(--p400);
  transition: var(--transition);
}
.footer-links a:hover {
  color: var(--gold-light);
  padding-left: 4px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 28px;
  padding: 18px 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.footer-pagos {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-pago-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 26px;
  border-radius: 4px;
  background: rgba(255,255,255,0.08);
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--p400);
  letter-spacing: 0.5px;
}
.footer-copy {
  font-size: 0.75rem;
  color: var(--p500);
}

/* ── MODAL ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none;
  align-items: flex-end;
  justify-content: center;
  animation: fadeIn 0.25s ease;
}
.modal-overlay.abierto {
  display: flex;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.modal-contenido {
  background: var(--white);
  border-radius: var(--radius) var(--radius) 0 0;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 24px 24px 32px;
  animation: slideUp 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
.modal-cerrar {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--p50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--p700);
  transition: var(--transition);
  border: none;
  cursor: pointer;
}
.modal-cerrar:hover {
  background: var(--p100);
}
.modal-imagen {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--p50);
  margin-bottom: 16px;
}
.modal-linea-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white);
  background: var(--p500);
  margin-bottom: 10px;
}
.modal-nombre {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--p800);
  margin-bottom: 8px;
}
.modal-descripcion {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 16px;
}
.modal-precio {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--p600);
  margin-bottom: 20px;
}
.modal-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
  text-decoration: none;
}
.modal-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}
.modal-whatsapp svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* ── SEARCH DROPDOWN ── */
.search-dropdown {
  position: relative;
  z-index: 99;
  background: var(--white);
  border-bottom: 1px solid var(--p100);
  box-shadow: 0 4px 20px var(--shadow);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.search-dropdown.abierto {
  max-height: 500px;
}
.search-dropdown-inner {
  max-width: 600px;
  margin: 0 auto;
  padding: 12px 16px;
}
.search-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--p100);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
  transition: var(--transition);
  outline: none;
}
.search-input:focus {
  border-color: var(--p500);
  box-shadow: 0 0 0 3px rgba(123, 44, 191, 0.1);
}
.search-input::placeholder {
  color: var(--text-dim);
}
.search-resultados {
  margin-top: 8px;
  max-height: 360px;
  overflow-y: auto;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1px solid var(--p100);
}
.search-result {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  cursor: pointer;
  transition: var(--transition);
  border-bottom: 1px solid var(--p50);
}
.search-result:last-child {
  border-bottom: none;
}
.search-result:hover {
  background: var(--p50);
}
.search-result-img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--p50);
  flex-shrink: 0;
}
.search-result-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.search-result-nombre {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--p800);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-result-precio {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--p600);
  font-family: 'Playfair Display', serif;
}
.search-no-results {
  text-align: center;
  padding: 20px;
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* ── VER CATÁLOGO COMPLETO ── */
.ver-catalogo-btn {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 24px;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--p600), var(--p400));
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(123, 44, 191, 0.3);
  text-decoration: none;
}
.ver-catalogo-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(123, 44, 191, 0.4);
}

/* ── HERO IMAGEN COMPLETA (index) ── */
.hero-imagen-only {
  min-height: auto;
  padding: 0;
  display: block;
  overflow: hidden;
  background: var(--bg);
}
.hero-imagen-full {
  display: block;
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  object-position: center top;
}
@media (min-width: 1024px) {
  .hero-imagen-full {
    max-height: 600px;
  }
}

/* ── TESTIMONIOS LÍNEA (carrusel infinito) ── */
.testimonios-linea {
  background: var(--bg);
  overflow: hidden;
}
.testimonios-linea-scroll {
  overflow: hidden;
  width: 100%;
}
.testimonios-linea-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: scrollTestimonios 50s linear infinite;
}
.testimonio-linea-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 22px;
  min-width: 280px;
  max-width: 300px;
  border: 1px solid var(--p50);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.testimonio-linea-stars {
  display: flex;
  gap: 1px;
}
.testimonio-linea-card p {
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.6;
  font-style: italic;
  flex: 1;
}
.testimonio-linea-nombre {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--p700);
}
@keyframes scrollTestimonios {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── CATEGORY HERO (páginas de línea) ── */
.hero-categoria {
  min-height: 220px;
  padding: 40px 20px 30px;
}
.hero-categoria h1 {
  font-size: 1.6rem;
}
.hero-categoria p {
  margin-bottom: 0;
}

/* ═══════════════════════════════════════════
   TABLET (640px+)
   ═══════════════════════════════════════════ */
@media (min-width: 640px) {
  .section-padding {
    padding: 64px 0;
  }
  .section-title {
    font-size: 1.8rem;
  }

  .hero {
    min-height: 450px;
    padding: 60px 40px;
  }
  .hero h1 {
    font-size: 2.6rem;
  }
  .hero p {
    font-size: 1rem;
  }

  .categorias-scroll {
    justify-content: center;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .cat-item {
    min-width: 100px;
    padding: 18px 22px;
  }

  .productos-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .promo-card {
    padding: 50px 40px;
    border-radius: 24px;
  }
  .promo-title {
    font-size: 1.7rem;
  }

  .beneficios-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .testimonios-scroll {
    justify-content: center;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .newsletter-form {
    flex-direction: row;
  }
  .newsletter-input {
    flex: 1;
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }

  .modal-contenido {
    border-radius: var(--radius);
    margin-bottom: 40px;
    max-height: 85vh;
  }
  .modal-overlay {
    align-items: center;
  }
}

/* ═══════════════════════════════════════════
   DESKTOP (1024px+)
   ═══════════════════════════════════════════ */
@media (min-width: 1024px) {
  .header {
    padding: 0 40px;
  }
  .header-row {
    margin-bottom: 0;
    padding: 14px 0;
  }
  .header-logo span {
    font-size: 1.6rem;
  }
  .header-nav {
    gap: 8px;
  }
  .nav-btn {
    font-size: 0.88rem;
    padding: 9px 22px;
  }

  .hero {
    min-height: 520px;
    text-align: left;
    padding: 0 40px;
    gap: 40px;
  }
  .hero-contenido {
    flex: 1;
    max-width: 500px;
  }
  .hero h1 {
    font-size: 3rem;
  }
  .hero p {
    margin: 0 0 28px;
    max-width: 420px;
  }
  .hero-actions {
    justify-content: flex-start;
  }
  .hero-imagen {
    display: block;
    flex: 1;
    max-width: 420px;
    position: relative;
    z-index: 1;
  }
  .hero-imagen-inner {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .hero-svg {
    width: 100%;
    height: 100%;
  }
  .hero-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
  }
  .hero-svg-glow {
    position: absolute;
    inset: 20px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--p300) 0%, transparent 70%);
    opacity: 0.3;
    filter: blur(40px);
    animation: pulseGlow 4s ease-in-out infinite;
  }
  @keyframes pulseGlow {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.05); }
  }

  .productos-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
  }

  .beneficios-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
  }
  .footer-brand {
    grid-column: auto;
    text-align: left;
  }
  .footer-redes {
    justify-content: flex-start;
  }
}
