/* ======================================================
   TODO BOX — ESTILOS GLOBALES
   (Variables en /css/variables.css)
   ====================================================== */

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: var(--font-body); }

/* ── Container ── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ─────────────────────────────────────────
   BARRA ANUNCIO
───────────────────────────────────────── */
.announcement-bar {
  background: var(--grad);
  color: #fff;
  text-align: center;
  padding: 9px 20px;
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .02em;
  position: relative;
  overflow: hidden;
}
.announcement-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent 0, transparent 200px,
    rgba(255,255,255,.04) 200px, rgba(255,255,255,.04) 201px
  );
}
.announcement-bar .marquee-content { display: inline-flex; gap: 60px; }
.announcement-bar span { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }

/* ─────────────────────────────────────────
   HEADER
───────────────────────────────────────── */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 20px;
  max-width: var(--container);
  margin: 0 auto;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-icon {
  width: 42px;
  height: 42px;
}
.logo-text {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.35rem;
  line-height: 1;
}
.logo-text .todo { color: var(--primary-dark); }
.logo-text .box  { color: var(--secondary); }
.logo-sub {
  font-family: var(--font-head);
  font-size: .58rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: .08em;
  text-transform: uppercase;
  display: block;
  margin-top: 1px;
}

/* Search */
.header-search {
  flex: 1;
  max-width: 520px;
  position: relative;
}
.header-search input {
  width: 100%;
  padding: 11px 50px 11px 18px;
  border: 2px solid var(--border);
  border-radius: var(--radius-full);
  font-size: .9rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--bg);
}
.header-search input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(29,78,216,.12);
  background: #fff;
}
.header-search input::placeholder { color: var(--text-light); }
.search-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--grad);
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  transition: opacity var(--transition);
}
.search-btn:hover { opacity: .85; }

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.header-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 12px;
  border-radius: var(--radius);
  font-size: .72rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: background var(--transition), color var(--transition);
  position: relative;
}
.header-action-btn:hover { background: var(--bg); color: var(--primary); }
.header-action-btn svg,
.header-action-btn .ico { display:flex; align-items:center; justify-content:center; }
.cart-badge {
  position: absolute;
  top: 4px;
  right: 6px;
  background: var(--accent);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-whatsapp-header {
  display: flex;
  align-items: center;
  gap: 7px;
  background: #25D366;
  color: #fff;
  padding: 9px 16px;
  border-radius: var(--radius-full);
  font-size: .82rem;
  font-weight: 700;
  font-family: var(--font-head);
  transition: background var(--transition), transform var(--transition);
}
.btn-whatsapp-header:hover { background: #128C7E; transform: translateY(-1px); }

/* Nav */
.main-nav {
  background: var(--primary-dark);
}
.main-nav .container {
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-item {
  position: relative;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 12px 18px;
  color: rgba(255,255,255,.88);
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .01em;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.nav-link:hover,
.nav-link.active { background: rgba(255,255,255,.12); color: #fff; }
.nav-link.highlight {
  background: var(--accent);
  color: #fff;
  border-radius: 0;
}
.nav-link.highlight:hover { background: #be123c; }
.nav-dropdown { font-size: .7rem; opacity: .7; }

/* Submenu */
.nav-sub {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  z-index: 200;
  border-top: 3px solid var(--primary);
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}
.nav-item:hover .nav-sub { display: block; }
.nav-sub a {
  display: block;
  padding: 10px 18px;
  font-size: .85rem;
  color: var(--text);
  transition: background var(--transition), color var(--transition);
}
.nav-sub a:hover { background: var(--bg); color: var(--primary); }

/* ─────────────────────────────────────────
   BOTONES
───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius-full);
  font-family: var(--font-head);
  font-size: .9rem;
  font-weight: 700;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,0,0,.15); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 4px 14px rgba(29,78,216,.35);
}
.btn-secondary {
  background: var(--secondary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(124,58,237,.35);
}
.btn-accent {
  background: var(--grad-accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(225,29,72,.35);
}
.btn-outline-primary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline-primary:hover { background: var(--primary-light); }
.btn-white {
  background: #fff;
  color: var(--primary-dark);
}
.btn-white:hover { background: #f0f4ff; }
.btn-success {
  background: var(--success);
  color: #fff;
  box-shadow: 0 4px 14px rgba(5,150,105,.3);
}
.btn-lg { padding: 15px 36px; font-size: 1rem; }
.btn-sm { padding: 8px 18px; font-size: .8rem; }
.btn-full { width: 100%; }
.btn-icon { padding: 10px; border-radius: var(--radius); }
/* Favoritos: estado fill/ghosty para botones con addToFav_prod_* */
[class*="addToFav_prod_"].fill svg path { fill: currentColor; }
[class*="addToFav_prod_"].ghosty svg path { fill: none; }

/* ─────────────────────────────────────────
   BADGES
───────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: .72rem;
  font-weight: 700;
  font-family: var(--font-head);
  letter-spacing: .02em;
  text-transform: uppercase;
}
.badge-offer  { background: var(--primary); color: #fff; }
.badge-new    { background: linear-gradient(135deg, #7C3AED, #DB2777); color: #fff; }
.badge-hot    { background: linear-gradient(90deg,#E11D48,#F97316); color: #fff; }
.badge-free   { background: var(--success); color: #fff; }
.badge-promo  { background: var(--secondary); color: #fff; }
.badge-sale   { background: #FFD700; color: #1E3A8A; }

/* ─────────────────────────────────────────
   PRODUCT CARD — Modern Liquid Glass
───────────────────────────────────────── */
.product-card {
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
  border: 1px solid rgba(255,255,255,0.5);
  transition: transform .5s cubic-bezier(.22,1,.36,1), box-shadow .5s cubic-bezier(.22,1,.36,1);
  position: relative;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(29,78,216,0.15);
}
/* Glass shimmer on hover */
.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%, rgba(125,100,237,0.05) 100%);
  opacity: 0;
  transition: opacity .5s ease;
  pointer-events: none;
  z-index: 1;
  border-radius: var(--radius-lg);
}
.product-card:hover::before { opacity: 1; }

.product-card-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 6px;
  z-index: 3;
}
.product-card-badges .badge {
  font-size: .68rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.badge-offer  { background: var(--primary); color: #fff; }
.badge-new    { background: linear-gradient(135deg, #7C3AED, #DB2777); color: #fff; }
.badge-hot    { background: linear-gradient(90deg,#E11D48,#F97316); color: #fff; }
.badge-free   { background: var(--success); color: #fff; }
.badge-promo  { background: var(--secondary); color: #fff; }
.badge-sale   { background: #FFD700; color: #1E3A8A; }

.product-card-img {
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
  background: linear-gradient(145deg, #FFF, #FFF);
  display: block;
}
.product-card-img img,
.product-card-img-placeholder {
  width: 100%;
  height: 100%;
  transition: transform .7s cubic-bezier(.22,1,.36,1);
}
.product-card:hover .product-card-img img,
.product-card:hover .product-card-img-placeholder {
  transform: scale(1.1);
}
.product-card-img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  color: var(--primary);
  opacity: .3;
  gap: 8px;
}
.product-card-img-placeholder span:last-child {
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-muted);
  opacity: 1;
  text-align: center;
  max-width: 90%;
}

/* Out of stock overlay */
.product-card-out-of-stock {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.product-card-out-of-stock span {
  font-size: .88rem;
  font-weight: 700;
  color: var(--text-muted);
}

.product-card-wishlist {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(12px);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  font-size: 1rem;
  color: var(--text-light);
  transition: color .3s ease, transform .3s ease, box-shadow .3s ease;
  z-index: 3;
  border: none;
  cursor: pointer;
}
.product-card-wishlist:hover {
  color: var(--accent);
  transform: scale(1.25);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.product-card-wishlist:active { transform: scale(.95); }
.product-card-wishlist.active { color: var(--accent); }

.product-card-body {
  padding: 16px 16px 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  z-index: 2;
}
.product-card-cat {
  font-size: .65rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .15em;
  opacity: .8;
}
.product-card-name {
  font-family: var(--font-head);
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .3s ease;
  text-decoration: none;
}
.product-card:hover .product-card-name { color: var(--primary); }

.product-card-price-wrap {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.product-card-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.price-original {
  font-size: .8rem;
  color: var(--text-light);
  text-decoration: line-through;
  font-weight: 500;
}
.price-current {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.price-discount {
  font-size: .72rem;
  font-weight: 700;
  color: var(--accent);
}
.price-tax-free {
  font-size: .7rem;
  color: var(--text-light);
  opacity: .8;
  font-weight: 500;
  margin-top: 1px;
}
.price-tax-free span {
  opacity: .65;
}
.price-unit {
  font-size: .72rem;
  color: var(--text-muted);
}
.product-card-installments {
  font-size: .67rem;
  font-weight: 600;
  color: var(--success);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
}
.product-card-installments::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--success);
  display: inline-block;
}

.product-card-footer {
  padding: 12px 16px 16px;
  position: relative;
  z-index: 2;
}
.btn-add-cart {
  width: 100%;
  background: var(--grad);
  color: #fff;
  border: none;
  padding: 11px;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: opacity .3s ease, transform .3s ease, box-shadow .3s ease;
  box-shadow: 0 4px 16px rgba(29,78,216,0.2);
}
.btn-add-cart:hover {
  opacity: .92;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(29,78,216,0.3);
}
.btn-add-cart:active { transform: scale(.97); }

/* Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.products-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.products-list product-card {
  display: block;
  width: 100%;
}
.products-list product-card::part(card-wrap) {
  display: flex;
  flex-direction: row;
  height: 140px;
  overflow: hidden;
  transform: none !important;
}
.products-list product-card::part(img_produto) {
  width: 140px;
  min-width: 140px;
  flex-shrink: 0;
  height: 140px;
  aspect-ratio: unset;
}
.products-list product-card::part(card_detail) {
  flex: 1;
  overflow: hidden;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 0;
}
.products-list product-card::part(card_footer) {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 14px;
  flex-shrink: 0;
  width: 180px;
}
.products-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.products-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

/* ─────────────────────────────────────────
   SECTION HEADERS
───────────────────────────────────────── */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.section-title {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-title .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grad);
  display: inline-block;
}
.section-link {
  font-size: .85rem;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition);
}
.section-link:hover { gap: 8px; }

/* ─────────────────────────────────────────
   CATEGORY CARDS
───────────────────────────────────────── */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 14px;
}
.cat-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 20px 14px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  border: 2px solid transparent;
}
.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}
.cat-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
}
.cat-card:nth-child(1) .cat-icon { background: #EEF2FF; }
.cat-card:nth-child(2) .cat-icon { background: #FCE7F3; }
.cat-card:nth-child(3) .cat-icon { background: #ECFDF5; }
.cat-card:nth-child(4) .cat-icon { background: #FEF3C7; }
.cat-card:nth-child(5) .cat-icon { background: #F5F3FF; }
.cat-card:nth-child(6) .cat-icon { background: #FFF1F2; }
.cat-card:nth-child(7) .cat-icon { background: #E0F2FE; }
.cat-card:nth-child(8) .cat-icon { background: #F0FDF4; }
.cat-name {
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}
.cat-count {
  font-size: .7rem;
  color: var(--text-light);
}

/* ─────────────────────────────────────────
   PROMO BANNERS
───────────────────────────────────────── */
.promo-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.promo-banner {
  border-radius: var(--radius-xl);
  padding: 36px 40px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 180px;
}
.promo-banner::before {
  content: '';
  position: absolute;
  right: -40px;
  top: -40px;
  width: 220px;
  height: 220px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
}
.promo-banner::after {
  content: '';
  position: absolute;
  right: 40px;
  bottom: -60px;
  width: 160px;
  height: 160px;
  background: rgba(255,255,255,.06);
  border-radius: 50%;
}
.promo-banner-blue  { background: linear-gradient(135deg, #1E3A8A, #1D4ED8); color: #fff; }
.promo-banner-purple{ background: linear-gradient(135deg, #5B21B6, #7C3AED); color: #fff; }
.promo-banner-rose  { background: linear-gradient(135deg, #9F1239, #E11D48); color: #fff; }
.promo-banner-teal  { background: linear-gradient(135deg, #0F766E, #0D9488); color: #fff; }
.promo-banner-tag {
  display: inline-flex;
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(4px);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: .72rem;
  font-weight: 700;
  margin-bottom: 8px;
  width: fit-content;
}
.promo-banner-title {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.2;
  position: relative;
  z-index: 1;
}
.promo-banner-sub {
  font-size: .9rem;
  opacity: .85;
  margin-top: 6px;
  position: relative;
  z-index: 1;
}
.promo-banner-cta {
  margin-top: 18px;
  position: relative;
  z-index: 1;
}

/* ─────────────────────────────────────────
   COUNTDOWN TIMER
───────────────────────────────────────── */
.countdown-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.countdown-label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-muted);
}
.countdown-timer {
  display: flex;
  align-items: center;
  gap: 4px;
}
.countdown-unit {
  background: var(--primary-dark);
  color: #fff;
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 800;
  padding: 5px 9px;
  border-radius: var(--radius-sm);
  min-width: 36px;
  text-align: center;
}
.countdown-sep {
  font-weight: 800;
  color: var(--primary-dark);
  font-size: 1rem;
}

/* ─────────────────────────────────────────
   TRUST/BENEFITS BAR
───────────────────────────────────────── */
.trust-bar {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
}
.trust-item {
  background: #fff;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 28px;
}
.trust-ico {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}
.trust-text strong {
  font-family: var(--font-head);
  font-size: .88rem;
  font-weight: 700;
  display: block;
  color: var(--text);
}
.trust-text span {
  font-size: .78rem;
  color: var(--text-muted);
}

/* ─────────────────────────────────────────
   HERO SECTION
───────────────────────────────────────── */
.hero {
  background: var(--grad);
  color: #fff;
  position: relative;
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: rgba(255,255,255,.05);
  border-radius: 50%;
  right: -100px;
  top: -100px;
}
.hero::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,.04);
  border-radius: 50%;
  left: -50px;
  bottom: -100px;
}
.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 60px 20px;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: .8rem;
  font-weight: 700;
  margin-bottom: 16px;
  border: 1px solid rgba(255,255,255,.3);
}
.hero-title {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 16px;
}
.hero-title .highlight {
  background: linear-gradient(90deg,#FFD700,#FFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.05rem;
  opacity: .9;
  margin-bottom: 28px;
  line-height: 1.6;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero-img-wrap {
  width: 340px;
  height: 340px;
  background: rgba(255,255,255,.12);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
  position: relative;
  animation: float 3s ease-in-out infinite;
  border: 2px solid rgba(255,255,255,.2);
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}
.hero-floating-badge {
  position: absolute;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 10px 16px;
  box-shadow: var(--shadow-lg);
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--primary-dark);
  font-size: .85rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-floating-badge.top-right { top: 10px; right: -20px; }
.hero-floating-badge.bottom-left { bottom: 20px; left: -20px; font-size: .82rem; }
.hero-floating-badge .badge-ico { font-size: 1.1rem; }

/* ─────────────────────────────────────────
   FLASH SALE SECTION
───────────────────────────────────────── */
.flash-sale-bar {
  background: linear-gradient(90deg, #1E3A8A, #7C3AED, #E11D48);
  color: #fff;
  padding: 18px 0;
}
.flash-sale-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.flash-sale-label {
  display: flex;
  align-items: center;
  gap: 12px;
}
.flash-icon {
  font-size: 1.8rem;
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.2); }
}
.flash-title {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 800;
}
.flash-sub { font-size: .82rem; opacity: .85; }

/* ─────────────────────────────────────────
   SECTION WRAPPER
───────────────────────────────────────── */
.section {
  padding: 56px 0;
}
.section-sm { padding: 36px 0; }
.section-bg { background: #fff; }
.section-alt { background: #F1F5FF; }

/* ─────────────────────────────────────────
   BREADCRUMB
───────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  color: var(--text-muted);
  padding: 14px 0;
}
.breadcrumb a { color: #ffffff; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { color: var(--border-dark); }

/* ─────────────────────────────────────────
   TABS
───────────────────────────────────────── */
.tabs {
  border-bottom: 2px solid var(--border);
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
}
.tab-btn {
  padding: 11px 22px;
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color var(--transition), border-color var(--transition);
  cursor: pointer;
}
.tab-btn:hover { color: var(--primary); }
.tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}
.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* ─────────────────────────────────────────
   FORMS
───────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}
.form-label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
}
.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: .9rem;
  color: var(--text);
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(29,78,216,.1);
}
.form-control::placeholder { color: var(--text-light); }
.form-control.error { border-color: var(--accent); }
.form-error { font-size: .78rem; color: var(--accent); }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ─────────────────────────────────────────
   CART
───────────────────────────────────────── */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th, .cart-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.cart-table th {
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text-muted);
  background: var(--bg);
}
.cart-product-info {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cart-product-img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  background: linear-gradient(145deg,#EEF2FF,#F5F3FF);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}
.cart-qty {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.cart-qty-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition);
  border: none;
}
.cart-qty-btn:hover { background: var(--primary-light); color: var(--primary); }
.cart-qty-val {
  width: 40px;
  text-align: center;
  font-weight: 600;
  font-size: .9rem;
  border: none;
  outline: none;
}
.cart-remove-btn {
  color: var(--text-light);
  font-size: 1rem;
  transition: color var(--transition);
  cursor: pointer;
}
.cart-remove-btn:hover { color: var(--accent); }

/* Order summary box */
.order-summary-box {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 90px;
}
.order-summary-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--border);
}
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: .9rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.summary-row:last-of-type { border-bottom: none; }
.summary-row strong { color: var(--text); font-weight: 600; }
.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  padding: 14px 0 20px;
  border-top: 2px solid var(--primary);
  margin-top: 4px;
}
.summary-total .total-price { color: var(--primary); font-size: 1.4rem; }

/* Shipping bar */
.shipping-bar {
  background: var(--success-light);
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-bottom: 16px;
  font-size: .85rem;
}
.shipping-bar-label { font-weight: 600; color: var(--success); margin-bottom: 8px; }
.progress-track {
  background: #fff;
  border-radius: var(--radius-full);
  height: 8px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: var(--success);
  border-radius: var(--radius-full);
  transition: width .5s ease;
}
.progress-note {
  font-size: .75rem;
  color: var(--success);
  margin-top: 6px;
  font-weight: 600;
}

/* Coupon */
.coupon-row {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
.coupon-row .form-control { border-radius: var(--radius) 0 0 var(--radius); flex: 1; }
.coupon-row .btn { border-radius: 0 var(--radius) var(--radius) 0; white-space: nowrap; }

/* ─────────────────────────────────────────
   CHECKOUT STEPS
───────────────────────────────────────── */
.checkout-steps {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 40px;
}
.checkout-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  position: relative;
}
.checkout-step::after {
  content: '';
  position: absolute;
  right: -1px;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 60%;
  background: var(--border);
}
.checkout-step:last-child::after { display: none; }
.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 700;
  background: var(--border);
  color: var(--text-muted);
  flex-shrink: 0;
}
.checkout-step.done .step-num  { background: var(--success); color: #fff; }
.checkout-step.active .step-num { background: var(--grad); color: #fff; }
.step-label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-muted);
}
.checkout-step.active .step-label { color: var(--primary); font-weight: 700; }
.checkout-step.done .step-label  { color: var(--success); }

/* Payment methods */
.payment-method {
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  transition: border-color var(--transition), background var(--transition);
}
.payment-method:hover,
.payment-method.selected { border-color: var(--primary); background: var(--primary-light); }
.payment-method input[type="radio"] { accent-color: var(--primary); width: 18px; height: 18px; }
.payment-method-info strong { font-weight: 700; display: block; font-size: .88rem; }
.payment-method-info span { font-size: .78rem; color: var(--text-muted); }
.card-icons { display: flex; gap: 6px; margin-left: auto; }
.card-ico {
  width: 38px;
  height: 24px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .65rem;
  font-weight: 800;
}
.card-ico.visa  { background: #1434CB; color: #fff; }
.card-ico.mc    { background: #EB001B; color: #fff; }
.card-ico.amex  { background: #007BC1; color: #fff; }
.card-ico.naranja { background: #FF5000; color: #fff; }

/* ─────────────────────────────────────────
   NEWSLETTER
───────────────────────────────────────── */
.newsletter-section {
  background: var(--grad);
  color: #fff;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.newsletter-section::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: rgba(255,255,255,.06);
  border-radius: 50%;
  right: -100px;
  top: -100px;
}
.newsletter-inner {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}
.newsletter-title {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 10px;
}
.newsletter-sub {
  opacity: .88;
  margin-bottom: 28px;
}
.newsletter-form {
  display: flex;
  gap: 8px;
  max-width: 460px;
  margin: 0 auto;
}
.newsletter-form input {
  flex: 1;
  padding: 13px 18px;
  border-radius: var(--radius-full);
  border: 2px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.15);
  color: #fff;
  font-size: .9rem;
  backdrop-filter: blur(8px);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.65); }
.newsletter-form input:focus { outline: none; border-color: #fff; }

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,.8);
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 56px 0 40px;
}
.footer-brand .logo-text .todo { color: #fff; }
.footer-brand .logo-text .box  { color: #93C5FD; }
.footer-brand-desc {
  font-size: .85rem;
  line-height: 1.7;
  margin: 14px 0 20px;
  opacity: .75;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  transition: background var(--transition), transform var(--transition);
}
.social-btn:hover { background: var(--primary); transform: translateY(-2px); }
.footer-col-title {
  font-family: var(--font-head);
  font-size: .88rem;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: .85rem;
  color: rgba(255,255,255,.65);
  transition: color var(--transition), padding-left var(--transition);
  display: flex;
  align-items: center;
  gap: 7px;
}
.footer-col ul li a:hover { color: #fff; padding-left: 4px; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .85rem;
  color: rgba(255,255,255,.65);
  margin-bottom: 12px;
}
.footer-contact-item .ico { flex-shrink: 0; color: #93C5FD; margin-top: 2px; display:flex; align-items:center; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
  color: rgba(255,255,255,.5);
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,.5); transition: color var(--transition); }
.footer-bottom-links a:hover { color: #fff; }
.afip-logo {
  background: rgba(255,255,255,.1);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  font-size: .72rem;
  font-weight: 700;
  color: #93C5FD;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ─────────────────────────────────────────
   PRODUCT DETAIL
───────────────────────────────────────── */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.product-detail-grid > div:first-child {
  min-width: 0;
  max-width: 100%;
}
.product-gallery-main {
  aspect-ratio: 1;
  max-height: 500px;
  width: 100%;
  background: linear-gradient(145deg, #EEF2FF, #F5F3FF);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
  overflow: hidden;
}
.gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.gallery-thumb {
  width: 74px;
  height: 74px;
  border-radius: var(--radius);
  background: linear-gradient(145deg,#EEF2FF,#F5F3FF);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--transition);
}
.gallery-thumb.active,
.gallery-thumb:hover { border-color: var(--primary); }
.product-brand {
  font-size: .82rem;
  font-weight: 600;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 8px;
}
.product-detail-name {
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
}
.product-ratings {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: .88rem;
}
.stars { color: #F59E0B; }
.rating-count { color: var(--text-muted); }
.stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--success);
  background: var(--success-light);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}
.product-price-wrap {
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 16px 0;
}
.product-original-price {
  font-size: 1rem;
  color: var(--text-light);
  text-decoration: line-through;
  margin-bottom: 2px;
}
.product-current-price {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary-dark);
  line-height: 1;
}
.product-discount-badge {
  display: inline-flex;
  background: var(--accent);
  color: #fff;
  font-size: .82rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-left: 12px;
  vertical-align: middle;
}
.product-installments {
  font-size: .85rem;
  color: var(--success);
  font-weight: 600;
  margin-top: 8px;
}
.product-sku {
  font-size: .78rem;
  color: var(--text-light);
  margin-bottom: 4px;
}
.qty-selector {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.qty-selector-label {
  font-weight: 600;
  font-size: .88rem;
}
.qty-control {
  display: flex;
  align-items: center;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.qty-control-btn {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  background: var(--bg);
  transition: background var(--transition);
  border: none;
}
.qty-control-btn:hover { background: var(--primary-light); }
.qty-control-val {
  width: 50px;
  text-align: center;
  font-weight: 700;
  font-size: .95rem;
  border: none;
  outline: none;
  background: #fff;
  padding: 8px 0;
}
.product-actions {
  display: flex;
  gap: 12px;
}
.product-features {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.product-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .85rem;
  color: var(--text-muted);
}
.product-feature .ico { color: var(--success); }

/* ─────────────────────────────────────────
   PRODUCT LISTING SIDEBAR + FILTERS
───────────────────────────────────────── */
.products-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: start;
}
.filter-sidebar {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 90px;
}
.filter-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.filter-clear {
  font-size: .78rem;
  font-weight: 600;
  color: var(--accent);
  cursor: pointer;
}
.filter-group {
  margin-bottom: 24px;
}
.filter-group-title {
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  cursor: pointer;
  border-bottom: 1px solid var(--border);
}
.filter-option:last-child { border-bottom: none; }
.filter-option input[type="checkbox"] { accent-color: var(--primary); width: 15px; height: 15px; }
.filter-option-label { font-size: .85rem; flex: 1; }
.filter-option-count { font-size: .75rem; color: var(--text-light); }
.filter-option:hover .filter-option-label { color: var(--primary); }

/* Price range */
.price-range-inputs {
  display: flex;
  gap: 8px;
  align-items: center;
}
.price-range-inputs input {
  flex: 1;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .82rem;
  text-align: center;
}
.price-range-sep { font-size: .8rem; color: var(--text-muted); }

/* Sort / toolbar */
.products-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-radius: var(--radius);
  padding: 12px 18px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  gap: 12px;
}
.toolbar-count {
  font-size: .88rem;
  color: var(--text-muted);
  flex-shrink: 0;
}
.toolbar-count strong { color: var(--text); font-weight: 700; }
.toolbar-sort-label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}
.toolbar-sort-select {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .85rem;
  background: var(--bg);
  cursor: pointer;
}
.toolbar-view-btns {
  display: flex;
  gap: 4px;
}
@media (max-width: 640px) {
  .toolbar-view-btns { display: none; }
}
.view-btn {
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  color: var(--text-muted);
  transition: background var(--transition), color var(--transition);
}
.view-btn.active,
.view-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 36px;
}
.page-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  transition: all var(--transition);
}
.page-btn:hover { border-color: var(--primary); color: var(--primary); }
.page-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ─────────────────────────────────────────
   CONTACT
───────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 40px;
  align-items: start;
}
.contact-info-card {
  background: var(--grad);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 36px;
  height: 100%;
}
.contact-info-title {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.contact-info-sub { opacity: .85; margin-bottom: 30px; }
.contact-info-items { display: flex; flex-direction: column; gap: 20px; }
.contact-info-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-info-ico {
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,.2);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-info-text strong { display: block; font-weight: 700; font-size: .9rem; }
.contact-info-text span  { font-size: .85rem; opacity: .8; }
.contact-form-wrap {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}
.contact-form-title {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 24px;
}
.map-placeholder {
  height: 200px;
  background: linear-gradient(145deg, #EEF2FF, #E0E7FF);
  border-radius: var(--radius-lg);
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  font-size: .9rem;
  color: var(--text-muted);
  border: 2px dashed var(--border-dark);
}
.map-placeholder .map-ico { font-size: 2.5rem; }

/* ─────────────────────────────────────────
   TERMS
───────────────────────────────────────── */
.terms-wrap {
  max-width: 860px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 48px 56px;
  box-shadow: var(--shadow-md);
}
.terms-wrap h2 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-top: 32px;
  margin-bottom: 12px;
}
.terms-wrap h2:first-of-type { margin-top: 0; }
.terms-wrap p, .terms-wrap li {
  font-size: .9rem;
  line-height: 1.8;
  color: var(--text-muted);
}
.terms-wrap ul { padding-left: 20px; margin-top: 8px; }
.terms-wrap ul li { list-style: disc; margin-bottom: 6px; }
.terms-wrap hr { border: none; border-top: 1px solid var(--border); margin: 24px 0; }

/* ─────────────────────────────────────────
   PAGE HERO
───────────────────────────────────────── */
.page-hero {
  background: var(--grad);
  color: #fff;
  padding: 40px 0;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero-content {
  position: relative;
  z-index: 1;
}
.page-hero-title {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 4px;
}
.page-hero-sub { opacity: .85; font-size: .95rem; }

/* ─────────────────────────────────────────
   CHECKOUT FORM BOX
───────────────────────────────────────── */
.checkout-section-box {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}
.checkout-section-title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}
.checkout-section-title .step-num { background: var(--grad); color: #fff; }
.delivery-option {
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
  transition: border-color var(--transition), background var(--transition);
}
.delivery-option:hover,
.delivery-option.selected { border-color: var(--primary); background: var(--primary-light); }
.delivery-ico  { font-size: 1.5rem; }
.delivery-info strong { font-weight: 700; font-size: .9rem; display: block; }
.delivery-info span   { font-size: .8rem; color: var(--text-muted); }
.delivery-price {
  margin-left: auto;
  font-weight: 800;
  font-family: var(--font-head);
  color: var(--primary);
  font-size: .95rem;
}
.delivery-price.free { color: var(--success); }

/* ─────────────────────────────────────────
   SCROLL TO TOP
───────────────────────────────────────── */
.scroll-top {
  position: fixed;
  bottom: 80px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--grad);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  z-index: 50;
  font-size: 1.2rem;
  transition: transform var(--transition), opacity var(--transition);
  opacity: 0;
  pointer-events: none;
}
.scroll-top.visible { opacity: 1; pointer-events: all; }
.scroll-top:hover { transform: translateY(-3px); }

/* WhatsApp flotante */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 50;
  background: #25D366;
  color: #fff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  cursor: pointer;
  transition: transform var(--transition), background var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); background: #128C7E; }

/* ─────────────────────────────────────────
   HAMBURGER MENU + MOBILE OVERLAY
───────────────────────────────────────── */
.hamburger-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  color: var(--text);
  transition: background var(--transition);
}
.hamburger-btn:hover { background: var(--bg); }

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0,0,0,.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
}
.mobile-menu {
  position: absolute;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 85vw;
  height: 100%;
  background: #fff;
  box-shadow: var(--shadow-xl);
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.mobile-menu-overlay.open .mobile-menu {
  transform: translateX(0);
}
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.mobile-menu-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  color: var(--text-muted);
  transition: background var(--transition);
}
.mobile-menu-close:hover { background: var(--bg); }
.mobile-menu-nav {
  padding: 12px 0;
  display: flex;
  flex-direction: column;
}
.mobile-menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  font-family: var(--font-head);
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
  transition: background var(--transition), color var(--transition);
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
}
.mobile-menu-link:hover { background: var(--bg); color: var(--primary); }
.mobile-menu-highlight {
  color: var(--accent) !important;
  font-weight: 800 !important;
}
.mobile-menu-sub {
  display: none;
  background: var(--bg);
}
.mobile-menu-sub a { display: block; width: 100%; }
.mobile-menu-sub a {
  display: block !important;
  width: 100%;
  padding: 10px 20px 10px 36px;
  font-size: .85rem;
  color: var(--text-muted);
  transition: color var(--transition), background var(--transition);
}
.mobile-menu-sub a:hover { color: var(--primary); background: var(--primary-light); }
.mobile-menu-sub-link {
  display: block !important;
  width: 100%;
  padding: 10px 20px 10px 36px;
  font-size: .85rem;
  color: var(--text-muted);
  transition: color var(--transition), background var(--transition);
}
.mobile-menu-sub-link:hover { color: var(--primary); background: var(--primary-light); }

/* ─────────────────────────────────────────
   NAV MEGA MENU — dropdown desde main-nav
───────────────────────────────────────── */
.nav-item-mega { position: relative; }
.nav-item-mega .nav-mega-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border-top: 3px solid var(--primary);
  z-index: 300;
  min-width: 640px;
  overflow: hidden;
}
.nav-item-mega:hover .nav-mega-menu { display: block; }

/* ─────────────────────────────────────────
   HOME CATEGORIES SWIPER
───────────────────────────────────────── */
.home-categories-swiper {
  padding-block: 8px 20px;
  overflow: hidden;
}
.home-categories-swiper .swiper-wrapper { align-items: stretch; }
.home-categories-swiper .swiper-slide { width: auto !important; flex-shrink: 0; }
.home-categories-swiper .swiper-scrollbar {
  height: 3px;
  background: var(--border);
}
.home-categories-swiper .swiper-scrollbar-drag {
  background: var(--primary);
  border-radius: 10px;
}

/* ─────────────────────────────────────────
   FILTER — extras
───────────────────────────────────────── */
.filter-group-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.filter-group-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  transition: background var(--transition);
}
.filter-group-toggle:hover { background: var(--bg); }
.filter-group-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.checkboxs { display: none; margin-top: 6px; }
.filter-option-label:hover { color: var(--primary); }
.cagetories_selected {
  color: var(--primary) !important;
  font-weight: 700 !important;
}

/* ─────────────────────────────────────────
   NAV MEGA MENU (desktop product dropdown)
───────────────────────────────────────── */
.nav-mega-menu { display: none; }
.nav-mega-inner {
  display: flex;
  gap: 0;
  min-width: 680px;
}
.nav-mega-section-title {
  font-family: var(--font-head);
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  padding: 10px 16px 8px;
  border-bottom: 1px solid var(--border);
}
.nav-mega-cats {
  width: 200px;
  flex-shrink: 0;
  border-right: 1px solid var(--border);
  padding: 8px 0;
}
.nav-mega-cat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 16px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  border-radius: var(--radius-sm);
  margin: 1px 4px;
  color: var(--text);
}
.nav-mega-cat-item:hover,
.nav-mega-cat-item.is_hover {
  background: var(--primary-light, #eff6ff);
  color: var(--primary);
}
.nav-mega-cat-link {
  font-size: .88rem;
  font-weight: 600;
  color: inherit;
  text-decoration: none;
  flex: 1;
}
.nav-mega-subs {
  flex: 1;
  padding: 8px 0;
}
.nav-mega-sub { display: none; padding: 0 8px; }
.nav-mega-sub.is_hover { display: block; }
.nav-mega-sub-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 8px 0;
}
.nav-mega-sub-link {
  padding: 6px 12px;
  font-size: .84rem;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}
.nav-mega-sub-link:hover { background: var(--bg); color: var(--primary); }

/* ─────────────────────────────────────────
   HOME CATEGORIES SWIPER ITEM
───────────────────────────────────────── */
.home-cat-item {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}
.home-cat-item:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

/* ─────────────────────────────────────────
   MOBILE PRODUCT SUBMENU SLIDE PANELS
───────────────────────────────────────── */
.menu-prod-slide {
  position: absolute;
  inset: 0;
  background: #fff;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform .28s cubic-bezier(.4,0,.2,1);
  z-index: 10;
  overflow-y: auto;
}
.menu-prod-slide-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}
.menu-prod-slide-back {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
.menu-prod-slide-back:hover { background: var(--bg); color: var(--primary); }
.menu-prod-slide-title {
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 800;
  color: var(--text);
  flex: 1;
}
.menu-prod-slide-link {
  display: block;
  padding: 11px 20px;
  font-size: .88rem;
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), color var(--transition), padding-left var(--transition);
}
.menu-prod-slide-link:hover {
  background: var(--bg);
  color: var(--primary);
  padding-left: 28px;
}

/* ─────────────────────────────────────────
   MOBILE CATEGORY ITEM (cat-responsive menu)
───────────────────────────────────────── */
.mobile-menu-cat-item { cursor: pointer; }

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 1100px) {
  .products-grid-5 { grid-template-columns: repeat(4, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 1300px) {
  .hamburger-btn { display: flex; }
  .main-nav      { display: none; }
}

@media (max-width: 900px) {
  .hero-content       { grid-template-columns: 1fr; gap: 30px; }
  .hero-visual        { display: none; }
  .hero-title         { font-size: 2.2rem; }
  .hero .hero-content { padding: 40px 20px; }
  .products-grid-4    { grid-template-columns: repeat(2, 1fr); }
  .products-grid-5    { grid-template-columns: repeat(3, 1fr); }
  .product-detail-grid{ grid-template-columns: 1fr; }
  .contact-grid       { grid-template-columns: 1fr; }
  .trust-bar-inner    { grid-template-columns: 1fr 1fr; }
  .products-layout    { grid-template-columns: 1fr; }
  .filter-sidebar     { display: none; }
  .promo-grid-2       { grid-template-columns: 1fr; }
  .checkout-steps     { flex-wrap: wrap; }
  .cart-layout        { grid-template-columns: 1fr; }
  .checkout-layout    { grid-template-columns: 1fr; }
  .swiper-button-next,
  .swiper-button-prev { width: 34px !important; height: 34px !important; }
  /* Hamburger visible, nav hidden */
  .header-action-btn span:not(.ico):not(.cart-badge) { display: none; }
  .header-action-btn { padding: 8px; }
  .btn-whatsapp-header { padding: 9px; font-size: 0; width: 38px; height: 38px; justify-content: center; }
  .btn-whatsapp-header::before { content: 'WA'; font-size: .75rem; font-weight: 800; }
  .bestsellers-strip  { flex-direction: column; gap: 16px; text-align: center; }
  .bs-divider          { display: none; }
  .bs-tags             { justify-content: center; }
}

@media (max-width: 640px) {
  .header-inner       { flex-wrap: wrap; gap: 10px; padding: 10px 12px; }
  .header-search      { order: 3; width: 100%; max-width: 100%; }
  .hero-title         { font-size: 1.6rem; }
  .hero-content       { padding: 28px 14px !important; gap: 16px; }
  .hero-sub           { font-size: .9rem; }
  .hero-ctas          { flex-direction: column; gap: 8px; }
  .hero-ctas .btn     { width: 100%; }
  .products-grid-4,
  .products-grid-5    { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .products-grid      { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .trust-bar-inner    { grid-template-columns: 1fr; }
  .footer-top         { grid-template-columns: 1fr; gap: 24px; }
  .terms-wrap         { padding: 28px 22px; }
  .checkout-steps     { display: none; }
  .form-row           { grid-template-columns: 1fr; }
  .why-grid           { grid-template-columns: 1fr; }
  .cat-grid           { grid-template-columns: repeat(2, 1fr) !important; gap: 10px; }
  .swiper-button-next,
  .swiper-button-prev { display: none !important; }
  .swiper             { padding-bottom: 36px !important; }
  /* Cart table mobile */
  .cart-table thead   { display: none; }
  .cart-table,
  .cart-table tbody,
  .cart-table tr,
  .cart-table td      { display: block; width: 100%; }
  .cart-table tr      { padding: 16px 0; border-bottom: 1px solid var(--border); }
  .cart-table td      { padding: 4px 0; border: none; text-align: left; }
  .cart-table td::before {
    content: attr(data-label);
    font-weight: 700; font-size: .78rem; color: var(--text-light);
    display: block; margin-bottom: 2px;
  }
  .cart-product-info  { flex-direction: column; gap: 8px; }
  .announcement-bar .marquee-content { animation: marquee 18s linear infinite; }
  @keyframes marquee {
    from { transform: translateX(0%); }
    to   { transform: translateX(-50%); }
  }
  /* Product card compact */
  .product-card-body  { padding: 10px 10px 0; }
  .product-card-name  { font-size: .78rem; }
  .price-current      { font-size: 1rem; }
  .product-card-footer { padding: 8px 10px 12px; }
  .btn-add-cart       { padding: 8px; font-size: .75rem; }
  .product-card-installments { font-size: .6rem; }
  .product-card-cat   { font-size: .58rem; }
  /* Promo banners */
  .promo-banner       { padding: 24px 20px; min-height: auto; }
  .promo-banner-title { font-size: 1.15rem; }
  /* Sections */
  .section            { padding: 36px 0; }
  .section-title      { font-size: 1.15rem; }
  .section-header     { flex-direction: column; align-items: flex-start; gap: 8px; }
  /* Newsletter */
  .newsletter-title   { font-size: 1.3rem; }
  .newsletter-form    { flex-direction: column; }
  /* Footer */
  .footer-bottom      { flex-direction: column; gap: 12px; text-align: center; }
  /* Terms layout mobile */
  .terms-layout       { display: block !important; }
  .terms-toc          { position: static !important; margin-bottom: 20px; }
  /* Product detail */
  .product-detail-name { font-size: 1.3rem; }
  .product-current-price { font-size: 1.6rem; }
  .product-actions    { flex-direction: column; }
  .product-actions .btn { width: 100%; }
  .benefits-row       { grid-template-columns: 1fr; }
  .qty-add-row        { flex-direction: column; }
  /* Contact */
  .contact-grid       { gap: 24px; }
  /* Page hero */
  .page-hero-title    { font-size: 1.4rem; }
}

/* ─────────────────────────────────────────
   UTILITIES
───────────────────────────────────────── */
.text-center  { text-align: center; }
.text-muted   { color: var(--text-muted); }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.gap-8  { gap: 8px; }
.gap-16 { gap: 16px; }
.flex   { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }
.font-head { font-family: var(--font-head); }
.color-primary { color: var(--primary); }
.color-accent  { color: var(--accent); }
.color-success { color: var(--success); }
.bg-white { background: #fff; }
.shadow-box {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 28px;
}

.alert {
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: .88rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.alert-success { background: var(--success-light); color: var(--success); border-left: 4px solid var(--success); }
.alert-warning { background: var(--warning-light); color: var(--warning); border-left: 4px solid var(--warning); }
.alert-info    { background: var(--primary-light); color: var(--primary); border-left: 4px solid var(--primary); }
.alert-danger  { background: #fef2f2; color: #dc2626; border-left: 4px solid #dc2626; }

/* ─────────────────────────────────────────
   SKIP NAVIGATION (Accessibility)
───────────────────────────────────────── */
.skip-nav {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  background: var(--primary);
  color: #fff;
  padding: 12px 24px;
  border-radius: 0 0 var(--radius) var(--radius);
  font-family: var(--font-head);
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
  transition: top .2s ease;
  box-shadow: var(--shadow-lg);
}
.skip-nav:focus {
  top: 0;
  outline: 3px solid #FFD700;
  outline-offset: 2px;
}

/* ─────────────────────────────────────────
   FOCUS VISIBLE (Accessibility)
───────────────────────────────────────── */
*:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
  border-radius: 2px;
}
.btn:focus-visible,
.nav-link:focus-visible,
.product-card:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px rgba(29,78,216,.15);
}
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(29,78,216,.15);
}

/* ─────────────────────────────────────────
   MARQUEE ANIMATION (Announcement Bar)
───────────────────────────────────────── */
.announcement-bar .marquee-content {
  display: inline-flex;
  gap: 60px;
  animation: marquee-scroll 25s linear infinite;
  will-change: transform;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─────────────────────────────────────────
   GSAP REVEAL HELPERS — initial state managed by JS
───────────────────────────────────────── */

/* ─────────────────────────────────────────
   SWIPER THEME OVERRIDES
───────────────────────────────────────── */
.swiper {
  width: 100%;
  padding-bottom: 48px !important;
  overflow: hidden;
  position: relative;
}
.swiper-wrapper {
  display: flex;
}
.swiper-slide {
  height: auto !important;
  flex-shrink: 0;
  box-sizing: border-box;
}
.swiper-pagination-bullet {
  background: var(--primary) !important;
  opacity: 0.3 !important;
  width: 10px !important;
  height: 10px !important;
  transition: all .3s ease !important;
}
.swiper-pagination-bullet-active {
  opacity: 1 !important;
  width: 28px !important;
  border-radius: 5px !important;
}
.swiper-button-next,
.swiper-button-prev {
  background: #fff !important;
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  box-shadow: 0 4px 16px rgba(0,0,0,.1) !important;
  transition: transform .2s ease, box-shadow .2s ease !important;
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
  transform: scale(1.1) !important;
  box-shadow: 0 6px 24px rgba(0,0,0,.15) !important;
}
.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 16px !important;
  font-weight: 900 !important;
  color: var(--primary-dark) !important;
}
.swiper-slide .product-card {
  height: 100%;
}

/* ─────────────────────────────────────────
   PREFERS REDUCED MOTION
───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .gsap-reveal,
  .gsap-reveal-left,
  .gsap-reveal-right,
  .gsap-reveal-scale {
    opacity: 1 !important;
    transform: none !important;
  }
  .hero-img-wrap {
    animation: none !important;
  }
  .announcement-bar .marquee-content {
    animation: none !important;
  }
}

/* ============================================================
   CARRO  
   ============================================================ */

/************************************************* CARRO **********************************************/
	.tooltip_cart {
		position: absolute;
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%);
		z-index: 1070;
		display: block;
		line-height: 1.4;
		visibility: visible;
		background: var(--light-color);
		color: var(--dark-color);
		font-weight: 500;
		padding: 0.1rem 0.5rem;
		width: 130px;
		text-align: center;
	}
	.button_share_cart {
		border-radius: var(--radius-base);
		font-size: 0.9rem;
		position: relative;
    	padding: 0.3rem 0.7rem;
	}
	
	.terminarCompra {
		width: 30%;	
		min-width: 240px;
		position: sticky;
		top: calc( 80px + var(--header-total-height));
	}
	.cart_cards{
		background: #ffff;
		border-radius: var(--radius-base);
		box-shadow: var(--shadow-md);
		margin-bottom: 0.4rem;
	}
	.conten_carro {
		display: flex;
		align-items: flex-start;
		justify-content: center;
		gap: 1rem;
		padding-bottom: 3rem;
	}
	.table_pedido{
		border-radius: var(--radius-base);
		width: 70%;
	}
	.container_title_cart {
		padding: 0.5rem;
		display: grid; 
		justify-items: center;
    	align-items: center;
		grid-template-columns: 0.5fr 1.5fr 1fr 1fr 1fr; 
		grid-template-rows: 1fr; 
		gap: 0px 0px; 
		grid-template-areas: 
			"title_col_1 title_col_2 title_col_3 title_col_3 title_col_6"; 
		position: sticky;
		top: var(--header-total-height);
		gap: 5px;
	}
	.title_col_1 { grid-area: title_col_1; }
	.title_col_2 { grid-area: title_col_2; }
	.title_col_3 { grid-area: title_col_3; }
	.title_col_6 { grid-area: title_col_6; }

	.title_col_2, .title_col_4, .title_col_5, .title_col_6{
		font-size: var(--text-base);
		font-weight: 600;
		color: var(--main-color);
		min-width: max-content;
	}	
	.container_product_cart{
		padding-inline: 0.5rem;
		display: grid; 
		justify-items: center;
    	align-items: center;
		grid-template-columns: 0.2fr 1fr 1fr 1fr 1fr 1fr; 
  		grid-template-rows: 1fr 0.4fr; 
		gap: 0px 0px; 
		grid-template-areas: 
			"product_col_1 product_col_2 product_col_3 product_col_3 product_col_3 product_col_6"
			"product_col_1 product_col_2 product_col_4 product_col_4 . product_col_5"; 
	}
	.container_product_cart.list{
		grid-template-areas: 
			"product_col_1 product_col_3 product_col_3 product_col_3 product_col_3 product_col_6"
			"product_col_1 product_col_4 product_col_4 product_col_4 . product_col_5"; 
	}
	.container_product_cart.list .product_col_2{
		display: none;
	}
	.container_product_cart.list .info_producto_carro{
		margin: 0;
	}
	.container_product_cart.list .content_sku_cart{
		display: flex;
		gap: 5px;
	}
	.product_col_1,.product_col_2,.product_col_3,.product_col_4,.product_col_5, .product_col_6 {
		box-sizing: border-box;
	}
	.product_col_1 { grid-area: product_col_1; }
	.product_col_2 { grid-area: product_col_2; }
	.product_col_3 { 
		grid-area: product_col_3; 
		width: 100%;
		padding-left: 1rem;
	}
	.product_col_4 { 
		grid-area: product_col_4; 
		width: 100%;
		padding-left: 1rem;
		font-weight: 500;
		display: flex;
		align-items: center;
		gap: 10px;
	}
	.old_price_cart{
		color: var(--medium-color);
		font-size: var(--text-xs);
		text-decoration: line-through;
	}
	.product_col_5 { grid-area: product_col_5; }
	.product_col_6 { grid-area: product_col_6; }

	.titulo_carro{
		color: var(--medium-color);
		font-size: 32px;
		padding: 20px 5px;
		display: flex;
		align-items: center;
		justify-content: space-between;
	}
	
	.text_info{
		text-align:center;
		font-size:20pt;
		font-weight:300;
		color:#545454;
		padding:200px 0px;
	}
	
	.tabla_producto td{
		padding:20px 0px 10px 0px;
	}
	
	.borrar_carro{
		width:100%;
		height: 50%;
		display: flex;
		align-items: center;
		justify-content: center;
		margin:0 auto;
		cursor:pointer;
	}
	.img_producto a img{
		object-fit: contain;
		aspect-ratio: 2 / 3;
		width: 100%;
	}
	
	.card_wrap .img_producto{
		width: 100%;
		height: auto;
		aspect-ratio: 2 / 2;
	}
	
	.img_producto_carro{
		width:100%;
		display:block;
	}
	.img_producto_carro img{
		max-height: 112px;
	}
	
	.nombre_producto_carro{
		min-width: max-content;
	}
	
	.nombre_producto_carro span{
		font-size:var(--text-s);
		font-weight:100;
		color: var(--dark-color);
		font-weight: 500;
	}
	
	.nombre_producto_carro a{
		font-weight:100;
		color: var(--dark-color);
		font-weight: 500;
		text-decoration:none;
	}
	
	.info_producto_carro{
		font-size:var(--text-s);
		margin-bottom: 5px;
		color: var(--medium-color);
	}
	
	
	.cantidad_carro{
		font-size:12pt;
		width:60px;
		text-align:center;
		display: flex;
    	align-items: center;
    	justify-content: center;
	}
	
	.cantidad_carro input{
		padding: 2px 5px;
		width:95%;
		outline:none;
		border:0px;
		text-align:center;
		border-radius: var(--radius-base);
	}
	
	.btn_cant_carro{
		width:60px;
		border:1px solid var(--dark-color);
		background-color:#fff;
		color:var(--dark-color);
		border-radius:var(--radius-base);
		float:left;
		margin-bottom: 2px;
	}
	
	.unidad{
		float:left;
		margin-left:10px;
		padding-top:12px;
	}
	
	.resumen_carro_paso1{
		padding:1rem;
	}
	
	.content_text_btns_carro{
		float:left;
		width:70%;
		margin-top:10px;
	}
	
	.checkbox_terminos{
		margin-top:10px;
	}
	
	
	
	.titulo_resumen_pedido_paso1{
		font-size:14pt;
		font-weight:600;
	
	}
	
	.content_btns_carro{
		width: 100%;
		height: 40px;
		margin-top: 1rem; 
	}

  	.bot_confirmar_paso1{
		width: 100%;
		height: 100%;
		background-color: var(--dark-color);
		color: var(--light-color);
		font-weight: 600;
		cursor: pointer;
		border-radius: var(--radius-base);
		font-size: var(--text-base);display: flex;
		justify-content: center;
		align-items: center;
	}
	
	.bot_confirmar_paso1:hover{
		background: var(--light-color);
		color: var(--dark-color);
	}
	
	.bot_seguir_comprando_paso1{
		width:240px;
		background-color:var(--light-color);
		padding-top:12px;
		text-align:center;
		padding-bottom:12px;
		margin-top:10px;
		margin-bottom:10px;
		cursor:pointer;
		float:left;
	}
	
	.bot_seguir_comprando_paso1 a{
		text-decoration:none;
		color:var(--light-color);
	}
	
	.tabla_resultado_final_paso1{
		font-size:22px;
		padding: 2rem 0.5rem;
	}
	.content_descount_cart{
		display: flex;
		align-items: center;
    	justify-content: space-between;
		padding-block: 1rem;
	}
	
	.texto_codigo_descuento{
		color:#000000;
		font-size:16px;
		font-weight:700;
	}
	
	.img_codigo_descuento{
		margin-top: 1rem;
		height: max-content;
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 1rem;
	}
	
	.img_codigo_descuento input{
		width:calc(100% - 7px);
		height: 40px;
		border:1px solid var(--dark-color);
		padding:0px;
		padding-left:5px;
		outline:none;
		border-radius: var(--radius-base);
		box-sizing: border-box;
	}
	
	.btn_validar_descuento{
		width: 170px;
		height: 40px;
		color: var(--light-color);
		cursor: pointer;
		border-radius: var(--radius-base);
		background: var(--main-color);
		display: flex;
		align-items: center;
		justify-content: center;		
		border: solid 2px var(--main-color);
		box-sizing: border-box;
	}
	.btn_validar_descuento:hover{
		color: var(--main-color);
		background: var(--light-color);
		font-weight: 600;
	}
	
	.conten_final_compra{
		width:70%;
		margin:0 auto;
		padding:20px;
		background-color: var(--light-color);
		border: 1px solid #e0e0e0;
	}
	
	.texto_final_compra{
		text-align:center;
		font-size:20px;
		font-weight:300;
		color:#6d6d6d;
	}
	
	.conten_numero_final_compra{
		width:100%;
		max-width:1200px;
		margin:0 auto;
		margin-top:40px;
	}
	
	.numero_final_compra{
		text-align:center;
		font-size:25px;
		font-weight:700;
		color:#6d6d6d;
	}
	
	.fondo_total_pedido{
		-webkit-box-shadow: 0 -5px 10px 0 #e8e8e8;
		box-shadow: 0 -5px 10px 0 #e8e8e8;
		margin-top:10px;
	}
	
	.conten_total_pedido{
		width:100%;
		max-width:1200px;
		margin:0 auto;
		margin-bottom:20px;
	}
	
	.conten_texto_confirmar{
		width:40%;
		float:left;
		margin-left:10%;
		margin-top:20px;
		padding-bottom:30px;
	}
	
	.texto_total_pedido{
		font-size: 30px;
		font-weight:300;
		color: #4a4a4a;
	}
	
	.bot_confirmar{
		width:100%;
		background-color:#FF0000;
		border:1px solid #FF0000;
		color:var(--light-color);
		font-size:20px;
		padding-top:10px;
		text-align:center;
		padding-bottom:10px;
		margin-top:10px;
		margin-bottom:10px;
		cursor:pointer;
	}
	
	.bot_seguir_comprando{
		width:100%;
		background-color:#eaeaea;
		border:1px solid #989898;
		color:#989898;
		font-size:20px;
		padding-top:10px;
		text-align:center;
		padding-bottom:10px;
		margin-top:10px;
		margin-bottom:10px;
		cursor:pointer;
	}
	
	.bot_seguir_comprando a{
		text-decoration:none;
		color:#989898;
	}
	
	
	.conten_precio_total{
		margin-top:20px;
		padding-bottom:20px;
	}
	
	.tabla_resultado_final{
		width:100%;
		font-size:20px;
		margin-top:10px;
	}
	
	.texto_resultado{
		color:#4a4a4a;
		text-align:right;
		font-size: var(--text-base);
	}
	
	.texto_resultado_total{
		font-size: var(--text-base-important);
		text-align:right;
		margin-right:20px;
	}
	
	.numero_resultado{
		color:#4a4a4a;
		text-align:right;
		font-size: var(--text-md);
	}
	
	.numero_resultado_total{
		font-size: var(--text-md);
		text-align:right;
		font-weight:600;
	}
	
	.linea_total{
		width:100%;
		height:1px;
		background-color:#4a4a4a;
	}
	@media(max-width:800px){
		.img_codigo_descuento{
			flex-direction: column;
			gap: 0.5rem;
		}
		
		.btn_validar_descuento{
			width: 100%;
		}
	}
	@media(max-width:650px){
		.conten_carro{
			flex-direction: column;
			align-items: end;
		}
		.table_pedido{
			width: 100%;
		}
		.terminarCompra{
			width: 90%;
		}
		.img_codigo_descuento{
			flex-direction: row;
		}
		.btn_validar_descuento{
			width: 170px;
		}
		.product_col_6, .nombre_producto_carro a, .nombre_producto_carro span, .product_col_4, .info_producto_carro{
			font-size: var(--text-xs);
		}
		/* .img_responsive {
			width: 77%;
		} */
	}

/* ============================================================
   FIN CARRO
   ============================================================ */


/* ============================================================
   CARRO LATERAL (FullGlass drawer)
   ============================================================ */

.fondo_black_cart {
  background-color: rgba(0,0,0,.7);
  width: 100%;
  height: 100%;
  display: none;
  position: fixed;
  z-index: 1100;
  top: 0;
  left: 0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Panel wrapper */
.lateral_panel_content {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
}

.lateral_panel_content_selector_container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--space-1, .5rem);
}

.lateral_panel_content_selector_container > .lateral_panel_content_selector {
  width: 90%;
  height: 100%;
}

/* Botón cerrar */
.close_carro_lateral {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: var(--radius-md, .5rem);
  cursor: pointer;
  transition: var(--duration-4, .15s);
  aspect-ratio: 1;
  height: 100%;
}

/* Toggle cart / favoritos */
.option_toggle_selector {
  --toggle-switch-selector-bg-color:                     var(--main-color-shade, #dbeafe);
  --toggle-switch-selector-option-bg-color-selected:     var(--main-color-tint, #12265e);
  --toggle-switch-selector-option-bg-color:              var(--main-color-contrast, #1e3a8a);
  --toggle-switch-selector-option-bg-color-hover:        var(--main-color, #1D4ED8);
  display: flex;
  gap: var(--space-1, .5rem);
  padding: var(--space-s, .25rem);
  border-radius: var(--radius-base, .5rem);
  background: var(--toggle-switch-selector-bg-color);
  width: 100%;
}

.option_toggle {
  padding: var(--space-s, .25rem);
  border-radius: .4rem;
  color: var(--toggle-switch-selector-option-bg-color);
  font-weight: 400;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  cursor: pointer;
}

.option_toggle.selected {
  background: var(--toggle-switch-selector-option-bg-color-selected);
}

.option_toggle:hover {
  background: var(--toggle-switch-selector-option-bg-color-hover);
}

.option_toggle_selector.light {
  --toggle-switch-selector-bg-color:                     var(--light-color-shade, #f1f5f9);
  --toggle-switch-selector-option-bg-color:              var(--light-color-contrast, #1e293b);
  --toggle-switch-selector-option-bg-color-selected:     var(--light-color-tint, #062e63);
  --toggle-switch-selector-option-bg-color-hover:        var(--light-color, #f8fafc);
}

/* ── El drawer ── */
div#carroLateral * { box-sizing: border-box; }

.carro_lateral {
  width: var(--cart-width);
  height: 100%;
  position: fixed;
  top: 0;
  right: calc(var(--cart-width) * -1);
  z-index: 2500;
  background-color: var(--cart-base-color);
  color: var(--cart-text-color);
  display: flex;
  flex-direction: column;
}

.header_carro_lat {
  height: var(--cart-header-height);
  border-bottom: 1px solid #ccc;
  display: flex;
  padding: var(--space-2, 1rem);
  justify-content: space-between;
  align-items: center;
  background: var(--primary, #1D4ED8);
  color: #fff;
  font-weight: 500;
}

.content_carro_lat {
  flex: 1;
  padding: var(--space-1, .5rem);
  overflow: auto;
  display: grid;
  gap: var(--space-1, .5rem);
  grid-auto-rows: max-content;
}

/* Scrollbar del carro */
.content_carro_lat::-webkit-scrollbar        { width: var(--cart-content-scrollbar-width); }
.content_carro_lat::-webkit-scrollbar-track  { background: var(--cart-content-scrollbar-bgcolor); }
.content_carro_lat::-webkit-scrollbar-thumb  { background: var(--cart-content-scrollbar-color); border-radius: var(--cart-content-scrollbar-radius); }

/* Línea de producto */
.linea_carro_lat {
  width: 100%;
  overflow: hidden;
  height: var(--cart-line-height);
  border-radius: var(--radius-base, .5rem);
  padding-top: var(--space-s, .25rem);
  display: flex;
  box-shadow: var(--shadow, 0 1px 3px rgba(0,0,0,.1));
  background: var(--light-color-lighter, #f8fafc);
}

.description_carro_lat {
  width: 100%;
  padding-left: var(--space-2, 1rem);
  font-size: var(--text-xs, .75rem);
  overflow: hidden;
  margin: auto;
}

.img_carro_lat {
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-l, .75rem);
  flex-shrink: 0;
  aspect-ratio: 1;
}

.img_carro_lat img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.desc_carro_lat {
  width: 80%;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
}

.borrar_carro_lat {
  flex-shrink: 0;
  cursor: pointer;
  padding-right: .5rem;
  min-width: 30px;
}

.borrar_carro_lat img { width: var(--cart-line-delete-size); }

/* Footer totales */
.footer_carro_lat {
  padding: var(--space-1, .5rem) var(--space-2, 1rem);
  display: flex;
  flex-direction: column;
  gap: var(--space-1, .5rem);
  background: var(--cart-bot-line-bgcolor, #f8fafc);
  box-shadow: var(--cart-bot-line-shadow);
}

.resume_data_cart {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-s, .25rem);
  font-size: var(--text-xxs, .7rem);
}

.resume_data_cart .data_row {
  display: flex;
  gap: var(--space-1, .5rem);
}

.resume_data_cart .data_row .data_value { font-weight: 600; }

.data_row.subtotal_row {
  display: var(--cart-bot-line-subtotal-display);
  font-size: var(--cart-bot-line-subtotal-font-size);
}
.data_row.iva_row {
  display: var(--cart-bot-line-iva-display);
  justify-content: space-between;
  align-items: center;
}
.data_row.discount_row {
  display: var(--cart-bot-line-descount-display);
  font-size: var(--cart-bot-line-descount-font-size);
}
.data_row.total_row {
  display: var(--cart-bot-line-total-display);
  font-size: var(--cart-bot-line-total-font-size);
}

/* Barra de envío gratis */
.free_ship_progress_wrap {
  padding: var(--space-1, .5rem) var(--space-2, 1rem);
  font-size: var(--text-xxs, .7rem);
}

.free_ship_progress_bar {
  width: 100%;
  height: 6px;
  background: var(--light-color-shade, #e2e8f0);
  border-radius: 99px;
  overflow: hidden;
  margin-top: 4px;
}

.free_ship_progress_bar .progress_fill {
  height: 100%;
  background: linear-gradient(to right, var(--primary, #1D4ED8), var(--secondary, #7C3AED));
  border-radius: 99px;
  transition: width .4s ease;
}

.free_ship_list {
  width: max-content;
  padding-inline: 10px;
  padding-block: 6px;
  border-radius: var(--radius-s, .25rem);
  font-weight: 600;
  border: 1px solid var(--accent-color, #E11D48);
}

/* Panel de favoritos */
.favorites_panel {
  width: var(--fav-drawer-width);
  height: 100%;
  position: fixed;
  top: 0;
  left: calc(var(--fav-drawer-width) * -1);
  z-index: 2500;
  background-color: var(--cart-base-color, #fff);
  color: var(--cart-text-color, #1e293b);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

@media (max-width: 640px) {
  .favorites_panel {
    width: 100%;
    height: var(--fav-drawer-height);
    bottom: calc(var(--fav-drawer-height) * -1);
    left: 0;
    top: initial;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }
}

/* Responsive: pantallas ≤ 1040px */
@media (max-width: 1040px) {
  :root { --cart-width: 380px; }
}

/* Responsive: teléfonos muy pequeños */
@media (max-width: 376px) {
  .carro_lateral { width: 95%; }
}
/* ============================================================
   FIN CARRO LATERAL
   ============================================================ */

/* ─────────────────────────────────────────
   CAPAS Y OVERLAYS DEL SISTEMA
───────────────────────────────────────── */
.layer_cargando {
  position: fixed;
  z-index: 200000;
  width: 100%;
  height: 100%;
  background-color: rgba(255,255,255,.9);
  text-align: center;
  display: none;
}
.spinner {
  width: 40px;
  height: 40px;
  position: relative;
  margin: 100px auto 50px;
}
.double-bounce1,
.double-bounce2 {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #333;
  opacity: .6;
  position: absolute;
  top: 0;
  left: 0;
  animation: sk-bounce 2s infinite ease-in-out;
}
.double-bounce2 { animation-delay: -1s; }
@keyframes sk-bounce {
  0%, 100% { transform: scale(0); }
  50%       { transform: scale(1); }
}
.title_loading {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: .5rem;
}
.text_loading {
  font-size: .9rem;
  color: var(--text-muted);
}
.layer_mail_ok {
  width: 300px;
  position: fixed;
  z-index: 8050;
  top: 60px;
  left: calc(50% - 150px);
  background-color: #fff;
  color: #3EA9F5;
  text-align: center;
  font-size: 18px;
  padding: 20px 0;
  border-radius: 10px;
  box-shadow: 0 0 10px 0 #919191;
  display: none;
}
.info_emergente {
  background-color: #ED1C24;
  position: fixed;
  top: 20px;
  left: 50%;
  margin-left: -275px;
  width: 550px;
  height: 30px;
  text-align: center;
  padding-top: 10px;
  border-radius: 10px;
  z-index: 10000000;
  font-size: 16px;
  color: #fff;
  display: none;
}
.fondo_black_cart {
  background-color: rgba(0,0,0,.7);
  width: 100%;
  height: 100%;
  display: none;
  position: fixed;
  z-index: 1100;
  top: 0;
  left: 0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.fondo_black_header,
.fondo_black_header_menu {
  background-color: rgba(0,0,0,.6);
  width: 100%;
  height: 100vh;
  position: fixed;
  z-index: 180;
  top: 0;
  left: 0;
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  display: none;
}
.fondo_white_header {
  background-color: rgba(2,2,2,.3);
  width: 100%;
  height: calc(100% - 75px);
  display: none;
  position: fixed;
  z-index: 180;
  top: var(--header-total-height, 108px);
  left: 0;
}


