*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --primary: #FC80D6; --primary-dark: #D946A8; --primary-light: #FFB3E6;
  --accent: #FF5CB8; --accent-dark: #E91E8C;
  --success: #059669; --danger: #DC2626;
  --gray-100: #FFF5FB; --gray-200: #FCE7F3; --gray-300: #9CA3AF;
  --gray-400: #6B7280; --gray-500: #3D1F35;
  --bg: #FFFFFF; --shadow: 0 1px 4px rgba(252,128,214,.10); --shadow-lg: 0 8px 28px rgba(252,128,214,.16);
  --radius: 10px; --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
body { font-family: 'Poppins', var(--font); background: var(--bg); color: var(--gray-500); line-height: 1.5; min-height: 100vh; -webkit-font-smoothing: antialiased; }
.announcement-bar {
  background: var(--primary-dark); color: #fff; text-align: center; padding: 9px 16px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.03em;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px;
}
.announcement-sep { opacity: 0.45; display: none; }
@media (min-width: 768px) { .announcement-sep { display: inline; } }
.trust-bar { background: #fff; border-bottom: 1px solid var(--gray-200); }
.trust-bar-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; padding: 10px 16px; }
.trust-item { font-size: 11px; font-weight: 800; letter-spacing: 0.06em; color: var(--primary); text-decoration: none; white-space: nowrap; }
.trust-item:hover { color: var(--accent); }
.logo-text { color: var(--primary-dark); font-weight: 800; font-size: 22px; margin-left: 10px; letter-spacing: -0.5px; }
a { color: var(--primary); text-decoration: none; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.header { position: sticky; top: 0; z-index: 100; background: #fff; box-shadow: var(--shadow); }
.header-main { padding: 14px 0; border-bottom: 1px solid var(--gray-200); }
.header-inner { display: flex; align-items: center; gap: 20px; }
.logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.logo-img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; display: block; border: 2px solid var(--gray-200); }
.search-wrap { flex: 1; max-width: 560px; position: relative; }
.search-form { display: flex; background: var(--gray-100); border: 1px solid var(--gray-200); border-radius: 999px; overflow: hidden; width: 100%; }
.search-form input { flex: 1; border: none; padding: 11px 18px; font-size: 15px; outline: none; background: transparent; }
.search-form button { background: transparent; border: none; padding: 0 16px; cursor: pointer; color: var(--gray-400); display: flex; align-items: center; }
.header-actions { display: flex; align-items: center; gap: 14px; margin-left: auto; flex-shrink: 0; }
.header-action { color: var(--gray-500); font-size: 13px; font-weight: 600; white-space: nowrap; }
.header-action:hover { color: var(--primary); }
.header-cart { position: relative; display: flex; color: var(--primary-dark); padding: 6px; }
.search-dropdown { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); z-index: 150; max-height: 420px; overflow-y: auto; border: 1px solid var(--gray-200); }
.search-dropdown-item { display: flex; align-items: center; gap: 12px; padding: 10px 14px; color: var(--gray-500); text-decoration: none; border-bottom: 1px solid var(--gray-100); cursor: pointer; }
.search-dropdown-item:hover, .search-dropdown-item.active { background: var(--gray-100); }
.search-dropdown-item img { width: 48px; height: 48px; object-fit: cover; border-radius: 4px; flex-shrink: 0; background: var(--gray-100); }
.search-dropdown-info { flex: 1; min-width: 0; }
.search-dropdown-name { font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-dropdown-price { font-size: 16px; font-weight: 700; color: var(--primary); margin-top: 2px; }
.search-dropdown-footer { display: block; padding: 12px 14px; text-align: center; font-size: 14px; font-weight: 600; color: var(--primary); text-decoration: none; }
.search-dropdown-footer:hover { background: var(--gray-100); }
.search-dropdown-empty { padding: 20px; text-align: center; color: var(--gray-400); font-size: 14px; }
.header-promo { display: none; }
.header-whatsapp { display: none; }
.header-nav { background: #fff; border-bottom: 1px solid var(--gray-200); padding: 0; }
.nav-inner { display: flex; align-items: center; gap: 12px; font-size: 12px; min-height: 46px; }
.nav-categories-btn { display: flex; align-items: center; gap: 6px; background: var(--primary); color: #fff; border: none; padding: 8px 14px; border-radius: var(--radius); cursor: pointer; font-size: 12px; font-weight: 700; }
.nav-categories-btn:hover { background: var(--primary-dark); }
.nav-links { display: flex; gap: 4px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a { color: var(--gray-500); font-weight: 800; letter-spacing: 0.04em; padding: 12px 10px; white-space: nowrap; font-size: 11px; }
.nav-links a:hover { color: var(--primary); }
.nav-user { display: flex; align-items: center; gap: 12px; margin-left: auto; flex-shrink: 0; }
.nav-user a { color: var(--gray-400); font-size: 11px; font-weight: 800; letter-spacing: 0.04em; white-space: nowrap; }
.nav-user a:hover { color: var(--primary); }
.nav-cart { display: none; }
.cart-badge { position: absolute; top: -4px; right: -6px; background: var(--accent); color: #fff; font-size: 10px; font-weight: 700; min-width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.categories-dropdown { display: none; position: absolute; left: 0; right: 0; background: #fff; box-shadow: var(--shadow-lg); padding: 16px 0; z-index: 99; }
.categories-dropdown.open { display: block; }
.categories-grid { max-width: 1200px; margin: 0 auto; padding: 0 16px; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; }
.cat-link { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 4px; color: var(--gray-500); font-size: 14px; }
.cat-link:hover { background: var(--gray-100); color: var(--primary); }
#app { min-height: 60vh; padding: 0 0 32px; }

/* Hero carousel — estilo editorial (texto izq + producto grande der.) */
.hero-carousel {
  position: relative; margin-bottom: 8px; overflow: hidden;
  background: linear-gradient(135deg, #FFE4F4 0%, #FFF0F8 45%, #FFD6EF 100%);
}
.hero-slide { display: none; min-height: 380px; }
.hero-slide.active { display: block; animation: heroFade .45s ease; }
@keyframes heroFade { from { opacity: 0; } to { opacity: 1; } }
.hero-slide-inner {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 32px;
  max-width: 1240px; margin: 0 auto; padding: 48px 24px; min-height: 380px;
}
.hero-slide-copy { max-width: 480px; color: var(--gray-500); }
.hero-brand {
  display: block; font-size: 13px; font-weight: 800; letter-spacing: 0.18em;
  color: var(--primary-dark); margin-bottom: 12px;
}
.hero-slide-copy .hero-tag {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; margin-bottom: 12px; color: var(--primary);
}
.hero-slide-copy h2 {
  font-size: clamp(28px, 3.8vw, 44px); font-weight: 800; line-height: 1.08;
  margin-bottom: 12px; color: var(--gray-500); letter-spacing: -0.02em;
}
.hero-slide-copy p { font-size: 15px; color: var(--gray-400); margin-bottom: 28px; line-height: 1.55; max-width: 400px; }
.hero-cta {
  display: inline-flex; align-items: center; padding: 14px 32px;
  background: var(--gray-500); color: #fff; font-size: 12px; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase; border-radius: 999px;
  text-decoration: none; transition: background .2s, transform .2s;
}
.hero-cta:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); }
.hero-slide-visual {
  display: flex; align-items: center; justify-content: center;
  position: relative; min-height: 300px; padding: 8px 0;
}
.hero-glow {
  position: absolute; width: min(90%, 380px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(233,30,140,.12) 0%, rgba(168,85,199,.08) 40%, transparent 70%);
  pointer-events: none; animation: heroGlow 4s ease-in-out infinite alternate;
}
@keyframes heroGlow {
  from { transform: scale(0.95); opacity: 0.85; }
  to { transform: scale(1.05); opacity: 1; }
}
.hero-product-stage {
  position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center;
  max-width: min(100%, 440px); width: 100%;
}
.hero-featured {
  display: block; background: transparent; border: none; padding: 0; margin: 0;
  box-shadow: none; max-width: 100%; width: 100%; text-decoration: none;
  transition: transform .35s cubic-bezier(.34,1.4,.64,1);
}
.hero-featured:hover { transform: translateY(-8px) scale(1.02); }
.hero-featured img {
  width: 100%; height: auto; max-height: min(52vw, 360px); object-fit: contain;
  display: block; margin: 0 auto;
}
/* Catálogo JPG: fundo blanco se funde con el degradado */
.hero-featured--cutout img {
  mix-blend-mode: multiply;
  filter: drop-shadow(0 20px 28px rgba(94,34,112,.22)) drop-shadow(0 6px 12px rgba(94,34,112,.12));
}
/* PNG promocional subido en admin: sin blend, sombra suave */
.hero-featured--promo img {
  mix-blend-mode: normal;
  filter: drop-shadow(0 24px 40px rgba(94,34,112,.2));
  max-height: min(55vw, 380px);
}
.hero-product-shadow {
  width: 55%; height: 14px; margin-top: -6px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(94,34,112,.18) 0%, transparent 72%);
  pointer-events: none;
}
.hero-sparkle {
  position: absolute; font-size: 18px; opacity: 0.55; pointer-events: none; animation: heroSparkle 3s ease-in-out infinite;
}
.hero-sparkle--1 { top: 12%; right: 8%; animation-delay: 0s; }
.hero-sparkle--2 { bottom: 18%; right: 22%; font-size: 14px; animation-delay: 1.2s; }
@keyframes heroSparkle {
  0%, 100% { opacity: 0.35; transform: scale(0.9); }
  50% { opacity: 0.75; transform: scale(1.1); }
}
.hero-nav { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 2; }
.hero-dot { width: 8px; height: 8px; border-radius: 50%; border: none; background: rgba(252,128,214,.25); cursor: pointer; padding: 0; transition: all .2s; }
.hero-dot.active { background: var(--primary); width: 24px; border-radius: 6px; }
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--gray-200);
  background: rgba(255,255,255,.95); color: var(--primary-dark); font-size: 22px;
  cursor: pointer; box-shadow: var(--shadow);
}
.hero-arrow--prev { left: 16px; }
.hero-arrow--next { right: 16px; }
.hero-arrow:hover { background: #fff; border-color: var(--primary-light); }

/* Tabs por categoría (estilo Dipaso) */
.category-tabs-section { margin: 28px 0 40px; }
.category-tabs-section > .section-title { margin-bottom: 16px; }
.category-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 18px; scrollbar-width: none; }
.category-tabs::-webkit-scrollbar { display: none; }
.category-tab {
  flex-shrink: 0; padding: 10px 18px; border: 1px solid var(--gray-200); border-radius: 999px;
  background: #fff; font-size: 11px; font-weight: 800; letter-spacing: 0.05em; color: var(--gray-400);
  cursor: pointer; transition: all .2s; font-family: inherit;
}
.category-tab:hover { border-color: var(--primary-light); color: var(--primary); }
.category-tab.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.category-tab-panel { display: none; }
.category-tab-panel.active { display: block; animation: tabIn .3s ease; }
@keyframes tabIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Promo strip entre secciones */
.promo-strip {
  background: linear-gradient(90deg, #FFF0F8, #FFE4F4); border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 20px 24px; margin-bottom: 36px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
}
.promo-strip h3 { font-size: 18px; font-weight: 800; color: var(--primary-dark); }
.promo-strip p { font-size: 13px; color: var(--gray-400); margin-top: 4px; }

@media (max-width: 768px) {
  .hero-slide-inner { grid-template-columns: 1fr; text-align: center; padding: 36px 16px 52px; gap: 20px; }
  .hero-slide-copy { max-width: 100%; margin: 0 auto; }
  .hero-slide-copy p { margin-left: auto; margin-right: auto; }
  .hero-product-stage { max-width: 280px; margin: 0 auto; }
  .hero-featured img, .hero-featured--promo img { max-height: 220px; }
  .hero-sparkle { display: none; }
  .hero-arrow { display: none; }
}

.hero-editorial {
  background: linear-gradient(135deg, #FFE4F4 0%, #FFF0F8 50%, #FFD6EF 100%);
  border-bottom: 1px solid var(--gray-200); margin-bottom: 28px;
}
.hero-inner { padding: 48px 16px; text-align: center; max-width: 720px; margin: 0 auto; }
.hero-tag { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; color: var(--primary); margin-bottom: 12px; text-transform: uppercase; }
.hero-inner h1 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; color: var(--primary-dark); line-height: 1.15; margin-bottom: 12px; }
.hero-inner p { font-size: 16px; color: var(--gray-400); margin-bottom: 24px; }
.carousel-wrap { overflow: hidden; margin: 0 -4px; position: relative; }
.product-carousel { display: flex; gap: 16px; overflow-x: auto; padding: 4px 4px 12px; scroll-snap-type: x mandatory; scrollbar-width: thin; scroll-behavior: smooth; }
.product-carousel .product-card { flex: 0 0 200px; scroll-snap-align: start; }
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--gray-200);
  background: #fff; color: var(--primary); font-size: 18px; cursor: pointer; box-shadow: var(--shadow);
  display: none;
}
.carousel-wrap:hover .carousel-btn { display: flex; align-items: center; justify-content: center; }
.carousel-btn--prev { left: 0; }
.carousel-btn--next { right: 0; }
@media (min-width: 768px) { .product-carousel .product-card { flex-basis: 220px; } }
.section { margin-bottom: 36px; }
.section-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; gap: 12px; }
.section-title { font-size: 22px; font-weight: 800; color: var(--gray-500); }
.section-header a { font-size: 13px; font-weight: 700; color: var(--primary); white-space: nowrap; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.product-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--gray-200); transition: box-shadow .2s, border-color .2s;
  display: flex; flex-direction: column;
}
.product-card:hover { box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.product-card-image { display: block; background: #fff; padding: 12px; }
.product-card-img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; }
.product-card-body { padding: 0 14px 14px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.product-card-name {
  font-size: 13px; color: var(--gray-500); line-height: 1.35; font-weight: 600;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 2.7em;
}
.product-card-name:hover { color: var(--primary); }
.product-card-price { font-size: 18px; font-weight: 800; color: var(--gray-500); }
.product-card-extra { font-size: 11px; color: var(--gray-400); }
.btn-add-cart {
  margin-top: auto; width: 100%; padding: 10px 12px; border: 1px solid var(--primary);
  background: #fff; color: var(--primary); border-radius: 999px; font-size: 12px;
  font-weight: 800; cursor: pointer; transition: background .2s, color .2s;
}
.btn-add-cart:hover { background: var(--primary); color: #fff; }
.product-discount { font-size: 11px; color: var(--accent); font-weight: 700; }
.product-price { font-size: 18px; font-weight: 800; color: var(--gray-500); }
.product-price-original { font-size: 12px; color: var(--gray-300); text-decoration: line-through; }
.product-installments { font-size: 11px; color: var(--gray-400); }
.product-name { font-size: 13px; color: var(--gray-400); line-height: 1.3; }
.categories-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 12px; margin-bottom: 32px; }
.category-chip {
  background: #fff; border-radius: var(--radius); padding: 18px 10px; text-align: center;
  border: 1px solid var(--gray-200); cursor: pointer; color: var(--gray-500); transition: border-color .2s, transform .2s;
}
.category-chip:hover { border-color: var(--primary); transform: translateY(-2px); color: var(--primary); }
.category-chip-icon { font-size: 30px; display: block; margin-bottom: 8px; }
.category-chip-name { font-size: 11px; font-weight: 700; line-height: 1.3; }
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
@media (max-width: 768px) { .product-detail { grid-template-columns: 1fr; } }
.product-detail-img { width: 100%; border-radius: var(--radius); object-fit: contain; background: var(--gray-100); }
.product-gallery { display: flex; flex-direction: column; gap: 12px; }
.product-gallery-main { background: var(--gray-100); border-radius: var(--radius); overflow: hidden; min-height: 280px; display: flex; align-items: center; justify-content: center; }
.product-gallery-thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.product-gallery-thumb { border: 2px solid transparent; border-radius: 6px; padding: 0; background: #fff; cursor: pointer; width: 64px; height: 64px; overflow: hidden; flex-shrink: 0; }
.product-gallery-thumb.active { border-color: var(--primary); }
.product-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-detail-info h1 { font-size: 22px; font-weight: 600; margin-bottom: 16px; }
.product-detail-price { font-size: 36px; margin-bottom: 4px; color: var(--primary); }
.product-detail-actions { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.btn-dozen { min-height: 44px; font-size: 14px; font-weight: 700; }
.product-price-tier { font-size: 13px; color: var(--primary); font-weight: 600; margin-top: 6px; }
.price-tier-badge {
  display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px;
  background: rgba(252,128,214,.1); color: var(--primary); font-size: 11px; font-weight: 700;
}
.cart-item-price { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.qty-selector { display: flex; align-items: center; gap: 8px; }
.qty-selector button { width: 36px; height: 36px; border: 1px solid var(--gray-200); background: #fff; border-radius: 4px; cursor: pointer; font-size: 18px; }
.qty-selector input { width: 50px; text-align: center; border: 1px solid var(--gray-200); border-radius: 4px; padding: 8px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border: none; border-radius: var(--radius); font-size: 16px; font-weight: 600; cursor: pointer; transition: background .2s; text-decoration: none; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-secondary { background: rgba(252,128,214,.08); color: var(--primary); }
.btn-secondary:hover { background: rgba(252,128,214,.15); }
.btn-full { width: 100%; }
.btn-green { background: var(--success); color: #fff; }
.btn-green:hover { background: #047857; color: #fff; }
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-whatsapp:hover { background: #1ebe57; color: #fff; }
.btn-outline { background: transparent; border: 1px solid var(--primary); color: var(--primary); }
.form-page { max-width: 480px; margin: 32px auto; background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.form-page h1 { font-size: 24px; font-weight: 600; margin-bottom: 24px; text-align: center; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px; border: 1px solid var(--gray-200); border-radius: var(--radius); font-size: 16px; font-family: inherit; outline: none; }
.form-group input:focus { border-color: var(--primary); }
.form-group select:focus { border-color: var(--primary); outline: none; }
.form-footer { text-align: center; margin-top: 16px; font-size: 14px; color: var(--gray-400); }
.form-error { color: var(--danger); font-size: 14px; margin-bottom: 12px; text-align: center; }
.form-success { color: var(--success); font-size: 14px; margin-bottom: 12px; text-align: center; }
.legal-content { max-width: 720px; margin: 0 auto; line-height: 1.7; color: #444; }
.legal-content h2 { font-size: 18px; margin: 24px 0 8px; color: #222; }
.legal-content p { margin-bottom: 12px; }
.reviews-section { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--gray-200); }
.review-card { background: var(--gray-100); border-radius: 8px; padding: 14px; margin-bottom: 10px; }
.review-stars { color: #f5a623; letter-spacing: 1px; }
.coupon-row { display: flex; gap: 8px; margin-top: 8px; }
.coupon-row input { flex: 1; }
.cart-page, .checkout-page { display: grid; grid-template-columns: 1fr 340px; gap: 24px; }
@media (max-width: 768px) { .cart-page, .checkout-page { grid-template-columns: 1fr; } }
.cart-items, .cart-summary, .checkout-section, .account-content { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.cart-item { display: flex; gap: 16px; padding: 16px; border-bottom: 1px solid var(--gray-200); align-items: center; }
.cart-item img { width: 80px; height: 80px; object-fit: cover; border-radius: 4px; }
.cart-item-info { flex: 1; }
.cart-item-price { font-size: 18px; font-weight: 600; }
.cart-summary { padding: 24px; height: fit-content; }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 14px; }
.summary-total { font-size: 20px; font-weight: 600; border-top: 1px solid var(--gray-200); padding-top: 12px; margin-top: 12px; }
.cart-empty { text-align: center; padding: 64px; background: #fff; border-radius: var(--radius); }
.checkout-section { padding: 24px; margin-bottom: 16px; }
.payment-option { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--gray-200); border-radius: var(--radius); cursor: pointer; margin-bottom: 8px; }
.payment-option.selected { border-color: var(--primary); background: rgba(252,128,214,.05); }
.account-page { display: grid; grid-template-columns: 240px 1fr; gap: 24px; }
@media (max-width: 768px) { .account-page { grid-template-columns: 1fr; } }
.account-sidebar { background: #fff; border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); height: fit-content; }
.account-sidebar a { display: block; padding: 10px 12px; border-radius: 4px; color: var(--gray-500); font-size: 14px; }
.account-sidebar a.active { background: var(--gray-100); color: var(--primary); }
.account-content { padding: 24px; }
.order-card { border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 16px; margin-bottom: 12px; }
.order-status { font-weight: 600; }
.order-status.paid, .order-status.delivered { color: var(--success); }
.order-status.pending { color: #b45309; }
.order-status.preparing { color: #2563eb; }
.order-status.shipped { color: #4f46e5; }
.order-status.cancelled { color: var(--danger); }
.breadcrumb { font-size: 14px; color: var(--gray-400); margin-bottom: 16px; }
.page-title { font-size: 24px; font-weight: 600; margin-bottom: 24px; }
.footer { background: var(--primary-dark); color: #fff; padding: 48px 0 24px; margin-top: 32px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 32px; margin-bottom: 32px; }
.footer-col h4 { font-size: 14px; font-weight: 600; margin-bottom: 12px; color: #fff; }
.footer-col a, .footer-col p { display: block; font-size: 13px; color: rgba(255,255,255,.75); margin-bottom: 6px; }
.footer-col a:hover { color: var(--accent); }
.footer-logo { border-radius: 50%; display: block; }
.footer-brand p { color: rgba(255,255,255,.75); font-size: 13px; }
.payment-icons { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.payment-icons img { height: 32px; width: auto; max-width: 60px; object-fit: contain; background: #fff; border-radius: 4px; padding: 4px 6px; }
.ship-icon { background: rgba(255,255,255,.15); padding: 4px 8px; border-radius: 4px; font-size: 11px; font-weight: 600; display: inline-block; margin: 2px; }
.payment-option img { height: 24px; width: auto; object-fit: contain; }
.newsletter-form { display: flex; gap: 4px; }
.newsletter-form input { flex: 1; padding: 8px; border: none; border-radius: 4px; }
.newsletter-form button { background: var(--accent); color: #fff; border: none; padding: 8px 12px; border-radius: 4px; cursor: pointer; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); padding-top: 16px; text-align: center; font-size: 12px; color: rgba(255,255,255,.5); }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(100px); background: var(--gray-500); color: #fff; padding: 12px 24px; border-radius: 8px; z-index: 1000; transition: transform .3s; }
.toast.show { transform: translateX(-50%) translateY(0); }
.catalog-layout { display: grid; grid-template-columns: 220px 1fr; gap: 24px; }
@media (max-width: 768px) { .catalog-layout { grid-template-columns: 1fr; } }
.filters-sidebar { background: #fff; border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); height: fit-content; }
.filter-option { display: block; padding: 6px 0; font-size: 14px; color: var(--gray-400); cursor: pointer; }
.filter-option.active { color: var(--primary); font-weight: 600; }
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  width: 60px; height: 60px; background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,.4); transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 32px; height: 32px; fill: #fff; }
.catalog-toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 16px; }
.catalog-toolbar select, .catalog-toolbar input {
  padding: 8px 12px; border: 1px solid var(--gray-200); border-radius: var(--radius); font-size: 14px; font-family: inherit;
}
.filter-group { margin-bottom: 16px; }
.filter-group h4 { font-size: 13px; font-weight: 800; margin-bottom: 8px; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.04em; }
.filter-price-row { display: flex; gap: 8px; align-items: center; }
.filter-price-row input { width: 80px; }
@media (max-width: 768px) {
  .header-actions .header-action:not(.header-action--login) { display: none; }
  .nav-user { display: none; }
}

/* ── Responsive & mobile UX ── */
@media (max-width: 1024px) {
  .hero-slide-inner { padding: 40px 20px; gap: 24px; }
  .product-detail { padding: 24px; gap: 24px; }
}

@media (max-width: 768px) {
  .header-main { padding: 10px 0; }
  .header-inner { flex-wrap: wrap; gap: 10px 12px; }
  .logo-img { width: 40px; height: 40px; }
  .logo-text { font-size: 18px; margin-left: 8px; }
  .search-wrap { order: 3; flex: 1 1 100%; max-width: none; }
  .search-form input { padding: 10px 14px; font-size: 16px; }
  .header-action--login { font-size: 12px; padding: 6px 10px; border-radius: 999px; background: var(--gray-100); }
  .nav-inner { gap: 8px; min-height: 42px; }
  .nav-categories-btn { padding: 7px 12px; font-size: 11px; }
  .nav-links a { padding: 10px 8px; font-size: 10px; }
  .hero-slide { min-height: auto; }
  .hero-slide-inner { min-height: auto; padding: 28px 16px 48px; }
  .hero-slide-copy h2 { font-size: clamp(24px, 7vw, 32px); }
  .hero-slide-copy p { font-size: 14px; margin-bottom: 20px; }
  .hero-cta { padding: 12px 24px; min-height: 44px; }
  .section-title { font-size: 19px; }
  .promo-strip { flex-direction: column; align-items: stretch; text-align: center; padding: 18px 16px; }
  .promo-strip .btn { width: 100%; min-height: 44px; }
  .product-detail { padding: 16px; }
  .product-detail-info h1 { font-size: 18px; }
  .product-detail-price { font-size: 28px; }
  .form-page { margin: 16px auto; padding: 24px 20px; }
  .page-title { font-size: 20px; margin-bottom: 16px; }
  .cart-item { flex-wrap: wrap; gap: 12px; }
  .cart-item img { width: 72px; height: 72px; }
  .footer { padding: 36px 0 20px; }
  .footer-grid { gap: 24px; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form button { min-height: 44px; }
  .filters-toggle { display: flex; }
  .filters-sidebar { display: none; margin-bottom: 16px; }
  .filters-sidebar.open { display: block; }
  .catalog-toolbar { flex-direction: column; align-items: stretch; }
  .catalog-toolbar select { width: 100%; min-height: 44px; }
}

@media (max-width: 480px) {
  .announcement-bar { font-size: 11px; padding: 8px 12px; gap: 6px; }
  .trust-bar-inner { gap: 6px 12px; padding: 8px 12px; }
  .trust-item { font-size: 10px; white-space: normal; text-align: center; line-height: 1.3; }
  .categories-row { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .category-chip { padding: 14px 6px; }
  .category-chip-icon { font-size: 24px; margin-bottom: 4px; }
  .category-chip-name { font-size: 10px; }
  .product-carousel .product-card { flex-basis: 158px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-card-body { padding: 0 10px 10px; }
  .product-card-name { font-size: 12px; min-height: 2.5em; }
  .product-card-price { font-size: 16px; }
  .btn-add-cart { padding: 9px 10px; font-size: 11px; min-height: 40px; }
  .whatsapp-float { width: 54px; height: 54px; }
  .whatsapp-float svg { width: 28px; height: 28px; }
}

@media (min-width: 769px) {
  .nav-links .nav-mobile-only { display: none; }
  .filters-toggle { display: none; }
}

/* Carruseles: flechas visibles en touch / móvil */
@media (hover: none), (max-width: 768px) {
  .carousel-wrap { padding: 0 32px; }
  .carousel-btn {
    display: flex; align-items: center; justify-content: center;
    width: 32px; height: 32px; font-size: 16px;
  }
  .carousel-btn--prev { left: 0; }
  .carousel-btn--next { right: 0; }
}

/* Safe area (notch / barra home iOS) */
body { padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
.whatsapp-float {
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  right: calc(16px + env(safe-area-inset-right, 0px));
}
.toast { bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
.header { padding-top: env(safe-area-inset-top, 0px); }

.filters-toggle {
  display: none; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 12px 16px; margin-bottom: 12px;
  border: 1px solid var(--gray-200); border-radius: var(--radius);
  background: #fff; font-size: 14px; font-weight: 700; color: var(--primary);
  cursor: pointer; font-family: inherit; min-height: 44px;
}
.filters-toggle:hover { border-color: var(--primary-light); background: var(--gray-100); }

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .hero-slide.active { animation: none; }
}

/* Spec Dorimport — home sections */
.section-subtitle { color: var(--gray-400); font-size: 14px; margin: -8px 0 16px; }
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 24px 0 32px; }
.benefit-card { background: var(--gray-100); border-radius: var(--radius); padding: 20px; border: 1px solid var(--gray-200); }
.benefit-icon { font-size: 28px; display: block; margin-bottom: 8px; }
.benefit-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.benefit-card p { font-size: 13px; color: var(--gray-400); line-height: 1.5; }
.brands-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.brands-grid--page { margin-top: 16px; }
.brand-pill { display: inline-flex; align-items: center; padding: 10px 16px; background: #fff; border: 1px solid var(--gray-200); border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; color: var(--primary-dark); }
.brand-logo-card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; align-items: center; gap: 10px; min-height: 120px; justify-content: center; }
.brand-logo-card img { max-width: 100%; max-height: 64px; object-fit: contain; }
.brand-logo-card span { font-size: 11px; font-weight: 700; letter-spacing: 0.04em; color: var(--gray-400); text-align: center; }
.brands-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.brands-grid--page { margin-top: 16px; }
.combo-card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; min-width: 280px; max-width: 320px; flex: 0 0 auto; box-shadow: var(--shadow); }
.combo-card-image { display: block; position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--gray-100); }
.combo-card-image img { width: 100%; height: 100%; object-fit: cover; }
.combo-free-ship { position: absolute; bottom: 10px; left: 10px; background: var(--success); color: #fff; font-size: 10px; font-weight: 800; padding: 5px 10px; border-radius: 999px; }
.combo-card-body { padding: 14px; }
.combo-card-name { font-weight: 700; font-size: 16px; color: var(--gray-500); display: block; margin-bottom: 6px; }
.combo-card-price { font-size: 20px; font-weight: 800; color: var(--primary); margin-bottom: 6px; }
.combo-card-desc { font-size: 12px; color: var(--gray-400); line-height: 1.5; margin-bottom: 10px; }
.combo-page-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.combo-carousel .combo-card { scroll-snap-align: start; }
.brand-logo-card img[alt="MIA SECRET"] { background: var(--primary-dark); padding: 8px; border-radius: 8px; }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.testimonial-card { background: linear-gradient(135deg, #FFE4F4, #FFF0F8); border-radius: var(--radius); padding: 24px; text-decoration: none; color: inherit; border: 1px solid var(--gray-200); display: flex; flex-direction: column; gap: 8px; min-height: 140px; }
.testimonial-card:hover { box-shadow: var(--shadow-lg); }
.testimonial-play { width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.testimonial-card--quote p { font-style: italic; color: var(--gray-500); line-height: 1.6; }
.testimonial-card--quote span { font-size: 12px; color: var(--gray-400); margin-top: auto; }
.tiktok-carousel-wrap { position: relative; margin: 8px 0 12px; }
.tiktok-carousel {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 8px 40px 16px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.tiktok-carousel::-webkit-scrollbar { display: none; }
.tiktok-embed-wrap {
  flex: 0 0 auto; scroll-snap-align: start; width: min(100%, 325px);
  border-radius: var(--radius); overflow: hidden; background: #000;
  box-shadow: var(--shadow-lg); border: 1px solid var(--gray-200);
}
.tiktok-iframe { display: block; width: 100%; height: 575px; border: 0; background: #000; }
.tiktok-profile-embed { display: flex; justify-content: center; padding: 8px 0 16px; min-height: 420px; }
.tiktok-creator-iframe { display: block; width: 100%; max-width: 605px; height: 740px; border: 0; border-radius: var(--radius); background: #000; box-shadow: var(--shadow-lg); }
.tiktok-hint { text-align: center; font-size: 13px; color: var(--gray-400); margin-top: 8px; }
@media (max-width: 768px) {
  .tiktok-iframe { height: 520px; }
  .tiktok-carousel { padding-left: 8px; padding-right: 8px; }
  .tiktok-carousel-wrap .carousel-btn { display: none; }
}
.launch-banner { background: linear-gradient(90deg, var(--primary-dark), var(--accent)); color: #fff; padding: 20px 16px; }
.launch-banner-inner { max-width: 1240px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; justify-content: space-between; }
.launch-tag { font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.9; }
.launch-banner h3 { font-size: clamp(16px, 2.5vw, 20px); font-weight: 700; }
.launch-banner p { font-size: 14px; opacity: 0.95; }
.btn-light { border-color: rgba(255,255,255,.6) !important; color: #fff !important; }
.btn-light:hover { background: rgba(255,255,255,.15) !important; }
.promo-strip--shipping { background: linear-gradient(135deg, #FFD6EF, #FFE4F4); border: 1px solid var(--gray-200); }
.product-card-actions { display: flex; gap: 8px; margin-top: 10px; }
.product-card-actions .btn-add-cart { flex: 1; margin: 0; }
.btn-card-whatsapp { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--radius); background: #25D366; color: #fff; font-size: 16px; flex-shrink: 0; text-decoration: none; }
.product-badge-ship { position: absolute; top: 8px; left: 8px; background: var(--success); color: #fff; font-size: 10px; font-weight: 700; padding: 4px 8px; border-radius: 999px; }
.product-card-image { position: relative; }
.product-wholesale-tip { font-size: 13px; color: var(--primary-dark); background: #FFE4F4; padding: 10px 14px; border-radius: var(--radius); margin-top: 12px; line-height: 1.5; }
.cart-wholesale-note { font-size: 13px; color: var(--success); background: #ECFDF5; padding: 10px 12px; border-radius: var(--radius); margin-bottom: 12px; }
.page-lead { color: var(--gray-400); margin: -8px 0 24px; max-width: 720px; line-height: 1.6; }
.tier-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 20px 0 32px; }
.tier-card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.tier-card--featured { border-color: var(--primary); box-shadow: var(--shadow-lg); }
.tier-badge { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; padding: 6px 12px; border-radius: 999px; margin-bottom: 12px; }
.tier-bronce { background: #FEF3C7; color: #92400E; }
.tier-plata { background: #E5E7EB; color: #374151; }
.tier-oro { background: #FDE68A; color: #78350F; }
.tier-card ul { margin-top: 12px; padding-left: 18px; font-size: 14px; color: var(--gray-400); line-height: 1.8; }
.wholesale-cta { max-width: 520px; margin: 0 auto; }
.btn-lg { padding: 16px 24px; font-size: 15px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 8px; }
.contact-card { background: var(--gray-100); border-radius: var(--radius); padding: 16px; margin-bottom: 12px; }
.contact-card h3 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.contact-map iframe { width: 100%; height: 320px; border: 0; border-radius: var(--radius); }
.promo-launch-card { background: linear-gradient(135deg, #FFE4F4, #FFF0F8); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 28px; text-align: center; }
.promo-launch-tag { display: inline-block; font-size: 11px; font-weight: 800; color: var(--primary); margin-bottom: 8px; }
.search-dropdown-section { border-bottom: 1px solid var(--gray-100); }
.search-dropdown-label { padding: 8px 14px 4px; font-size: 11px; font-weight: 800; letter-spacing: 0.06em; color: var(--gray-400); text-transform: uppercase; }
.search-dropdown-item--cat { padding: 10px 14px; }
@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
  .launch-banner-inner { flex-direction: column; align-items: flex-start; }
}
