/*
Theme Name: DuraznoShop
Theme URI: https://duraznoshop.com
Author: DuraznoShop
Description: Tema completo para DuraznoShop - Tienda de celulares y notebooks en Durazno, Uruguay. Incluye carrito, variantes, order bumps, búsqueda y checkout por WhatsApp.
Version: 4.1
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: duraznoshop
*/



:root {
  --ds-bg: #ffffff;
  --ds-fg: #1a1a2e;
  --ds-primary: #7C3AED;
  --ds-primary-fg: #ffffff;
  --ds-primary-10: rgba(124,58,237,0.1);
  --ds-primary-20: rgba(124,58,237,0.2);
  --ds-secondary: #f5f5f7;
  --ds-secondary-fg: #1a1a2e;
  --ds-muted: #f5f5f7;
  --ds-muted-fg: #808080;
  --ds-accent: #F59E0B;
  --ds-accent-fg: #ffffff;
  --ds-accent-10: rgba(245,158,11,0.1);
  --ds-destructive: #ef4444;
  --ds-border: #e5e5ea;
  --ds-glass: rgba(255,255,255,0.8);
  --ds-glass-border: rgba(229,229,234,0.6);
  --ds-badge-new: #22c55e;
  --ds-badge-used: #3b82f6;
  --ds-radius: 0.75rem;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--ds-bg);
  color: var(--ds-fg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }

a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; }
img { max-width: 100%; height: auto; }

/* ====== GLASS ====== */
.glass {
  background: var(--ds-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--ds-glass-border);
  box-shadow: 0 1px 3px rgba(26,26,46,0.04);
}
.glass-strong {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-bottom: 1px solid rgba(229,229,234,0.5);
  box-shadow: 0 1px 3px rgba(26,26,46,0.06);
}
.glass-card {
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(229,229,234,0.4);
  box-shadow: 0 0 0 1px rgba(229,229,234,0.1), 0 20px 60px -15px rgba(124,58,237,0.06), 0 4px 12px rgba(26,26,46,0.03);
}

/* ====== BUTTONS ====== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-weight: 700; border-radius: 9999px; border: none; transition: all 0.3s;
  padding: 0.625rem 1.5rem; font-size: 0.875rem; line-height: 1.25rem;
}
.btn-primary { background: var(--ds-primary); color: var(--ds-primary-fg); box-shadow: 0 0 20px -5px rgba(124,58,237,0.25); }
.btn-primary:hover { background: #6d28d9; box-shadow: 0 0 30px -5px rgba(124,58,237,0.35); }
.btn-outline { background: transparent; border: 2px solid var(--ds-border); color: var(--ds-fg); }
.btn-outline:hover { background: var(--ds-secondary); border-color: var(--ds-primary-20); }
.btn-ghost { background: transparent; color: var(--ds-muted-fg); }
.btn-ghost:hover { background: var(--ds-primary-10); color: var(--ds-fg); }
.btn-sm { padding: 0.375rem 1rem; font-size: 0.75rem; }
.btn-lg { padding: 0.75rem 2.5rem; font-size: 1.125rem; }
.btn-icon { padding: 0.5rem; width: 2.5rem; height: 2.5rem; border-radius: 0.75rem; }
.btn-white { background: white; color: var(--ds-fg); box-shadow: 0 10px 30px rgba(0,0,0,0.15); }
.btn-white:hover { background: rgba(255,255,255,0.9); }
.btn-active { background: var(--ds-primary); color: var(--ds-primary-fg); box-shadow: 0 0 20px -5px rgba(124,58,237,0.25); }

/* ====== TEXT ====== */
.text-gradient {
  background: linear-gradient(135deg, var(--ds-primary), var(--ds-accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.text-muted { color: var(--ds-muted-fg); }
.text-primary { color: var(--ds-primary); }
.text-destructive { color: var(--ds-destructive); }

/* ====== BADGES ====== */
.badge {
  display: inline-flex; font-size: 9px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.05em; padding: 0.25rem 0.625rem; border-radius: 9999px;
  backdrop-filter: blur(8px);
}
.badge-nuevo { background: rgba(34,197,94,0.9); color: white; }
.badge-usado { background: rgba(59,130,246,0.9); color: white; }
.badge-reacondicionado { background: rgba(245,158,11,0.9); color: white; }
.badge-sinstock { background: rgba(239,68,68,0.9); color: white; }
.badge-stock-low { background: rgba(245,158,11,0.9); color: white; }
.badge-stock { background: rgba(255,255,255,0.8); color: var(--ds-muted-fg); }
.badge-discount {
  background: linear-gradient(135deg, var(--ds-primary), var(--ds-accent)); color: white;
}

/* ====== HEADER ====== */
.ds-header { position: sticky; top: 0; z-index: 50; }
.ds-header .container { height: 4rem; display: flex; align-items: center; justify-content: space-between; }
.ds-header nav { display: flex; align-items: center; gap: 0.25rem; }
.ds-header nav a {
  font-size: 0.875rem; font-weight: 500; color: var(--ds-muted-fg); padding: 0.5rem 1rem;
  border-radius: 0.75rem; transition: all 0.2s;
}
.ds-header nav a:hover { color: var(--ds-primary); background: var(--ds-primary-10); }
.ds-header .logo img { height: 2.5rem; width: auto; }
.ds-header .header-actions { display: flex; align-items: center; gap: 0.25rem; }
.ds-header .search-btn-desktop {
  display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--ds-muted-fg);
  background: rgba(245,245,247,0.6); padding: 0.5rem 0.875rem; border-radius: 0.75rem;
  border: 1px solid rgba(229,229,234,0.5); transition: all 0.2s; margin-right: 0.25rem;
}
.ds-header .search-btn-desktop:hover { color: var(--ds-fg); background: var(--ds-secondary); border-color: var(--ds-border); }
.ds-header .search-btn-desktop kbd {
  font-size: 10px; background: var(--ds-bg); padding: 0.125rem 0.375rem; border-radius: 0.25rem;
  border: 1px solid var(--ds-border); margin-left: 0.5rem;
}
.cart-count {
  position: absolute; top: -2px; right: -2px; width: 1.25rem; height: 1.25rem; border-radius: 9999px;
  background: linear-gradient(135deg, var(--ds-primary), var(--ds-accent)); color: white;
  font-size: 9px; display: flex; align-items: center; justify-content: center; font-weight: 700;
  box-shadow: 0 2px 8px rgba(124,58,237,0.3); animation: scale-in 0.3s ease;
}
.mobile-menu { display: none; border-top: 1px solid rgba(229,229,234,0.5); padding: 1rem; }
.mobile-menu.active { display: block; }
.mobile-menu a {
  display: block; font-size: 0.875rem; font-weight: 500; color: var(--ds-muted-fg);
  padding: 0.625rem 0.75rem; border-radius: 0.75rem; transition: all 0.2s;
}
.mobile-menu a:hover { color: var(--ds-primary); background: var(--ds-primary-10); }

/* ====== HERO / BANNER CAROUSEL ====== */
.ds-hero { position: relative; overflow: hidden; }
.ds-hero .blob {
  position: absolute; width: 500px; height: 500px; filter: blur(60px); opacity: 0.08;
  animation: blob 10s ease-in-out infinite;
}
.ds-hero .blob-1 { top: 5rem; left: -10rem; background: var(--ds-primary); }
.ds-hero .blob-2 { bottom: 5rem; right: -10rem; background: var(--ds-accent); animation-delay: 3s; }
.ds-hero .bg-dots {
  position: absolute; inset: 0; opacity: 0.3;
  background-image: radial-gradient(rgba(229,229,234,0.5) 1px, transparent 1px);
  background-size: 24px 24px;
}
.ds-hero .bg-gradient-hero {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 20% 80%, rgba(124,58,237,0.12), transparent),
              radial-gradient(ellipse 60% 50% at 80% 20%, rgba(245,158,11,0.08), transparent);
}
.banner-carousel { position: relative; }
.banner-slide {
  position: relative; border-radius: 1.5rem; overflow: hidden;
  height: 420px; display: none;
}
.banner-slide.active { display: block; }
.banner-slide .grain {
  position: absolute; inset: 0; opacity: 0.1;
  background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMDAiIGhlaWdodD0iMzAwIj48ZmlsdGVyIGlkPSJhIj48ZmVUdXJidWxlbmNlIHR5cGU9ImZyYWN0YWxOb2lzZSIgYmFzZUZyZXF1ZW5jeT0iLjc1IiBzdGl0Y2hUaWxlcz0ic3RpdGNoIi8+PC9maWx0ZXI+PHJlY3Qgd2lkdGg9IjMwMCIgaGVpZ2h0PSIzMDAiIGZpbHRlcj0idXJsKCNhKSIgb3BhY2l0eT0iLjA1Ii8+PC9zdmc+");
}
.banner-slide .orb {
  position: absolute; border-radius: 9999px; filter: blur(60px); animation: pulse-glow 3s ease-in-out infinite;
}
.banner-slide .orb-1 { top: -5rem; right: -5rem; width: 20rem; height: 20rem; background: rgba(255,255,255,0.1); }
.banner-slide .orb-2 { bottom: -5rem; left: -5rem; width: 15rem; height: 15rem; background: rgba(255,255,255,0.05); animation-delay: 1.5s; }
.banner-content {
  position: relative; z-index: 10; display: flex; flex-direction: column; align-items: center;
  padding: 2rem 1.5rem; gap: 1.25rem; height: 100%; text-align: center;
}
.banner-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.75rem; animation: banner-slide-in 0.6s cubic-bezier(0.16,1,0.3,1) both; }
.banner-tag {
  display: inline-flex; align-items: center; gap: 0.375rem; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.15); padding: 0.5rem 1rem; border-radius: 9999px;
  backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,0.2); align-self: center;
}
.banner-title {
  font-size: 1.875rem; font-weight: 900; color: white; line-height: 1.05;
  letter-spacing: -0.02em; text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.banner-title .orange {
  background: linear-gradient(to right, hsl(30,95%,65%), hsl(30,95%,50%));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.banner-highlight {
  font-size: 1.125rem; font-weight: 900; color: white; background: rgba(255,255,255,0.15);
  padding: 0.375rem 1rem; border-radius: 0.75rem; backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.2); display: inline-block;
  animation: banner-pop 0.5s cubic-bezier(0.34,1.56,0.64,1) 0.3s both;
}
.banner-desc { font-size: 0.875rem; color: rgba(255,255,255,0.8); max-width: 28rem; line-height: 1.6; margin: 0 auto; }
.banner-actions { display: flex; flex-direction: column; gap: 0.75rem; justify-content: center; padding-top: 0.25rem; }
.banner-actions .btn { width: 100%; }
.banner-image-wrap {
  flex-shrink: 0; position: relative; order: -1;
  width: 9rem; height: 9rem;
  animation: banner-image-in 0.8s cubic-bezier(0.16,1,0.3,1) 0.15s both;
}
.banner-image-wrap.hero-img { width: 7rem; height: 7rem; }
.banner-image-wrap .glow-ring {
  position: absolute; inset: 0; border-radius: 9999px; background: rgba(255,255,255,0.1);
  filter: blur(16px); transform: scale(1.1); animation: pulse-glow 3s ease-in-out infinite;
}
.banner-image-wrap img {
  width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 25px 25px rgba(0,0,0,0.25));
  position: relative; padding: 1rem; animation: banner-zoom-pulse 3s ease-in-out infinite;
}
.banner-floating {
  position: absolute; font-size: 1.5rem; opacity: 0.2; animation: float 4s ease-in-out infinite;
  pointer-events: none; user-select: none;
}
.banner-nav-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 20;
  width: 2.5rem; height: 2.5rem; border-radius: 9999px; background: rgba(255,255,255,0.9);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1); display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--ds-border); font-size: 1.25rem; color: var(--ds-fg); transition: all 0.3s;
}
.banner-nav-btn:hover { background: white; transform: translateY(-50%) scale(1.1); }
.banner-nav-btn.prev { left: -0.5rem; }
.banner-nav-btn.next { right: -0.5rem; }
.banner-dots { display: flex; gap: 0.5rem; justify-content: center; margin-top: 1.25rem; }
.banner-dots button {
  height: 0.5rem; border-radius: 9999px; border: none; transition: all 0.5s; cursor: pointer;
}
.banner-dots button.active {
  width: 2rem; background: linear-gradient(to right, var(--ds-primary), var(--ds-accent)); box-shadow: 0 2px 8px rgba(124,58,237,0.3);
}
.banner-dots button:not(.active) { width: 0.5rem; background: rgba(128,128,128,0.2); }
.banner-dots button:not(.active):hover { background: rgba(128,128,128,0.4); }
.banner-bottom-fade {
  position: absolute; bottom: 0; left: 0; right: 0; height: 4rem;
  background: linear-gradient(to top, rgba(0,0,0,0.1), transparent);
}

/* ====== TRUST BADGES ====== */
.trust-badges { display: grid; grid-template-columns: 1fr; gap: 0.75rem; margin-top: 2rem; }
.trust-badge {
  display: flex; align-items: center; gap: 0.75rem; padding: 1rem 1.5rem;
  border-radius: 0.75rem; animation: slide-up 0.6s ease-out both;
}
.trust-badge:nth-child(1) { animation-delay: 0.1s; }
.trust-badge:nth-child(2) { animation-delay: 0.2s; }
.trust-badge:nth-child(3) { animation-delay: 0.3s; }
.trust-badge .icon-wrap {
  flex-shrink: 0; width: 2.5rem; height: 2.5rem; border-radius: 0.75rem;
  display: flex; align-items: center; justify-content: center; font-size: 1.25rem;
}
.trust-badge .icon-primary { background: var(--ds-primary-10); border: 1px solid var(--ds-primary-20); color: var(--ds-primary); }
.trust-badge .icon-accent { background: var(--ds-accent-10); border: 1px solid rgba(245,158,11,0.2); color: var(--ds-accent); }
.trust-badge h3 { font-weight: 700; font-size: 0.75rem; color: var(--ds-fg); }
.trust-badge p { font-size: 0.6875rem; color: var(--ds-muted-fg); margin-top: 0.125rem; }

/* ====== BRANDS BAR ====== */
.brands-bar {
  padding: 2rem 0 3rem; border-top: 1px solid rgba(229,229,234,0.5);
  border-bottom: 1px solid rgba(229,229,234,0.5); overflow: hidden; position: relative;
}
.brands-bar .label {
  text-align: center; font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.25em; color: var(--ds-muted-fg); margin-bottom: 2rem;
}
.brands-bar .track-wrap { position: relative; }
.brands-bar .fade-l, .brands-bar .fade-r {
  position: absolute; top: 0; bottom: 0; width: 6rem; z-index: 10;
}
.brands-bar .fade-l { left: 0; background: linear-gradient(to right, var(--ds-bg), transparent); }
.brands-bar .fade-r { right: 0; background: linear-gradient(to left, var(--ds-bg), transparent); }
.brands-bar .track {
  display: flex; gap: 3rem; white-space: nowrap; animation: marquee 20s linear infinite;
}
.brands-bar .track span {
  font-size: 1.5rem; font-weight: 900; color: rgba(128,128,128,0.15);
  transition: all 0.5s; cursor: default; user-select: none;
}
.brands-bar .track span:hover { color: var(--ds-primary); }

/* ====== PRODUCT GRID ====== */
.ds-catalog { padding: 4rem 0 6rem; position: relative; }
.ds-catalog .bg-overlay { position: absolute; inset: 0; opacity: 0.5;
  background: radial-gradient(ellipse 80% 60% at 20% 80%, rgba(124,58,237,0.12), transparent),
              radial-gradient(ellipse 60% 50% at 80% 20%, rgba(245,158,11,0.08), transparent);
}
.ds-catalog .section-header { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.ds-catalog .section-tag {
  display: inline-flex; align-items: center; gap: 0.5rem; font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.2em; color: var(--ds-primary);
}
.ds-catalog h2 { font-size: 1.875rem; font-weight: 900; color: var(--ds-fg); letter-spacing: -0.02em; }
.ds-catalog .subtitle { margin-top: 0.5rem; color: var(--ds-muted-fg); font-size: 0.875rem; }
.filter-bar { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.subfilter-bar { display: flex; gap: 0.375rem; flex-wrap: wrap; margin-top: 0.5rem; }
.product-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
}

/* ====== PRODUCT CARD ====== */
.product-card {
  border-radius: 1.5rem; overflow: hidden; transition: all 0.5s;
}
.product-card.out-of-stock { opacity: 0.75; }
.product-card .card-image {
  position: relative; aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  padding: 1rem; overflow: hidden;
  background: linear-gradient(to bottom, rgba(245,245,247,0.4), rgba(245,245,247,0.1));
}
.product-card .card-image img {
  width: 100%; height: 100%; object-fit: contain; transition: transform 0.7s ease-out;
  position: relative; z-index: 10; filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}
.product-card:hover .card-image img { transform: scale(1.1); }
.product-card.out-of-stock .card-image img { filter: grayscale(1); }
.product-card .badges-left { position: absolute; top: 0.75rem; left: 0.75rem; display: flex; gap: 0.375rem; z-index: 20; }
.product-card .badges-right { position: absolute; top: 0.75rem; right: 0.75rem; z-index: 20; }
.product-card .hover-overlay {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.3); backdrop-filter: blur(4px);
  opacity: 0; transition: opacity 0.3s; z-index: 20;
}
.product-card:hover .hover-overlay { opacity: 1; }
.product-card .card-body { padding: 0.75rem; }
.product-card .brand-label {
  font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em;
  color: rgba(124,58,237,0.7);
}
.product-card .product-name {
  margin-top: 0.25rem; font-weight: 700; font-size: 0.75rem; color: var(--ds-fg);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  line-height: 1.4;
}
.product-card .price-row { margin-top: 0.5rem; display: flex; align-items: flex-end; justify-content: space-between; gap: 0.25rem; }
.product-card .price-info { min-width: 0; }
.product-card .old-price {
  font-size: 10px; text-decoration: line-through; font-weight: 600; display: block; height: 1rem;
}
.product-card .old-price.visible { color: var(--ds-destructive); }
.product-card .old-price.invisible { visibility: hidden; }
.product-card .desde-label { font-size: 9px; color: var(--ds-muted-fg); font-weight: 500; display: block; }
.product-card .current-price { font-size: 1rem; font-weight: 900; color: var(--ds-fg); white-space: nowrap; }
.product-card .current-price .currency { font-size: 10px; }
.product-card .add-btn {
  flex-shrink: 0; width: 2rem; height: 2rem; border-radius: 0.5rem; border: none;
  display: flex; align-items: center; justify-content: center; transition: all 0.3s; font-size: 1rem;
}
.product-card .add-btn.primary { background: var(--ds-primary-10); color: var(--ds-primary); }
.product-card .add-btn.primary:hover { background: var(--ds-primary); color: var(--ds-primary-fg); box-shadow: 0 4px 12px rgba(124,58,237,0.2); }
.product-card .add-btn.destructive { background: rgba(239,68,68,0.1); color: var(--ds-destructive); }
.product-card .add-btn.destructive:hover { background: var(--ds-destructive); color: white; }

/* ====== PRODUCT DETAIL MODAL ====== */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 100;
  display: none; align-items: center; justify-content: center; padding: 1rem;
}
.modal-backdrop.active { display: flex; }
.modal-content {
  background: var(--ds-bg); border-radius: 1rem; max-width: 32rem; width: 100%;
  max-height: 90vh; overflow-y: auto; box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}
.modal-content .modal-image {
  aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center;
  padding: 2rem; overflow: hidden;
  background: linear-gradient(to bottom, rgba(245,245,247,0.4), rgba(245,245,247,0.1));
}
.modal-content .modal-image img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1)); transition: all 0.5s; }
.modal-content .modal-body { padding: 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.variant-group label {
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--ds-muted-fg); margin-bottom: 0.5rem; display: block;
}
.variant-group label .selected-label { color: var(--ds-primary); margin-left: 0.5rem; text-transform: none; letter-spacing: normal; font-weight: 600; }
.variant-options { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.variant-btn {
  padding: 0.625rem 1rem; border-radius: 0.75rem; font-size: 0.875rem; font-weight: 600;
  transition: all 0.3s; border: 1px solid var(--ds-border); background: rgba(245,245,247,0.5);
  color: var(--ds-fg);
}
.variant-btn:hover { border-color: rgba(124,58,237,0.4); background: var(--ds-primary-10); }
.variant-btn.active {
  background: var(--ds-primary); color: white; border-color: var(--ds-primary);
  box-shadow: 0 4px 12px rgba(124,58,237,0.2);
}
.variant-btn .modifier { font-size: 10px; opacity: 0.7; margin-left: 0.25rem; }
.modal-price { font-size: 1.875rem; font-weight: 900; color: var(--ds-fg); }
.modal-price .old { font-size: 0.875rem; color: var(--ds-muted-fg); text-decoration: line-through; margin-left: 0.5rem; font-weight: 400; }
.modal-actions { display: flex; gap: 0.75rem; padding-top: 0.5rem; }
.modal-actions .btn { flex: 1; }
.modal-close {
  position: absolute; top: 0.75rem; right: 0.75rem; width: 2rem; height: 2rem;
  border-radius: 9999px; background: rgba(0,0,0,0.3); color: white; border: none;
  display: flex; align-items: center; justify-content: center; font-size: 1.25rem;
  z-index: 10; transition: all 0.2s;
}
.modal-close:hover { background: rgba(0,0,0,0.5); }

/* ====== CART DRAWER ====== */
.cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 100; display: none; }
.cart-overlay.active { display: block; }
.cart-drawer {
  position: fixed; top: 0; right: -100%; width: 100%; max-width: 28rem; height: 100%;
  background: var(--ds-bg); border-left: 1px solid var(--ds-border); z-index: 101;
  display: flex; flex-direction: column; transition: right 0.3s ease;
}
.cart-drawer.active { right: 0; }
.cart-drawer .cart-header {
  padding: 1rem 1.5rem; border-bottom: 1px solid rgba(229,229,234,0.5);
  display: flex; align-items: center; justify-content: space-between;
}
.cart-drawer .cart-header h2 { display: flex; align-items: center; gap: 0.5rem; font-weight: 700; font-size: 1.125rem; }
.cart-drawer .cart-items { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: 1rem; }
.cart-item { display: flex; gap: 0.75rem; padding: 0.75rem; border-radius: 0.75rem; }
.cart-item img { width: 5rem; height: 5rem; border-radius: 0.5rem; object-fit: cover; background: var(--ds-secondary); }
.cart-item .item-info { flex: 1; min-width: 0; }
.cart-item .item-brand { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(124,58,237,0.7); }
.cart-item .item-name { font-size: 0.875rem; font-weight: 600; color: var(--ds-fg); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cart-item .item-price { font-size: 0.875rem; font-weight: 900; color: var(--ds-fg); margin-top: 0.25rem; }
.cart-item .qty-controls { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.5rem; }
.cart-item .qty-btn {
  width: 1.75rem; height: 1.75rem; border-radius: 0.5rem; border: none;
  background: transparent; display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem; color: var(--ds-fg); transition: all 0.2s;
}
.cart-item .qty-btn:hover { background: var(--ds-secondary); }
.cart-item .qty-btn.delete { color: var(--ds-destructive); margin-left: auto; }
.cart-item .qty-btn.delete:hover { color: white; background: var(--ds-destructive); }
.cart-item .qty-count { font-size: 0.875rem; font-weight: 700; width: 1.5rem; text-align: center; }
.cart-footer { border-top: 1px solid rgba(229,229,234,0.5); padding: 1rem 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.cart-total { display: flex; justify-content: space-between; align-items: center; }
.cart-total span:first-child { color: var(--ds-muted-fg); font-weight: 500; }
.cart-total span:last-child { font-size: 1.5rem; font-weight: 900; color: var(--ds-fg); }
.cart-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; color: var(--ds-muted-fg); }
.cart-empty svg { width: 4rem; height: 4rem; opacity: 0.3; }
/* Order bumps */
.order-bumps-header { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ds-primary); }
.bump-item {
  display: flex; align-items: center; gap: 0.75rem; padding: 0.625rem; border-radius: 0.75rem;
  border: 1px solid var(--ds-primary-20); background: var(--ds-primary-10); cursor: pointer;
  transition: background 0.2s;
}
.bump-item:hover { background: rgba(124,58,237,0.15); }
.bump-item img { width: 3rem; height: 3rem; border-radius: 0.5rem; object-fit: cover; background: var(--ds-secondary); }
.bump-item .bump-info { flex: 1; min-width: 0; }
.bump-item .bump-name { font-size: 0.75rem; font-weight: 600; color: var(--ds-fg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bump-item .bump-price { font-size: 0.75rem; font-weight: 900; color: var(--ds-fg); margin-top: 0.125rem; }
.bump-item .bump-old { font-size: 10px; color: var(--ds-muted-fg); text-decoration: line-through; margin-left: 0.5rem; }
.bump-item .bump-add-btn {
  font-size: 10px; font-weight: 700; padding: 0.375rem 0.75rem; border-radius: 9999px;
  background: var(--ds-primary-20); color: var(--ds-primary); border: none; transition: all 0.2s;
  white-space: nowrap; flex-shrink: 0;
}
.bump-item .bump-add-btn:hover { background: var(--ds-primary); color: white; }

/* ====== SEARCH MODAL ====== */
.search-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 100; display: none; align-items: flex-start; justify-content: center; padding: 5rem 1rem; }
.search-backdrop.active { display: flex; }
.search-modal { background: var(--ds-bg); border-radius: 1rem; max-width: 36rem; width: 100%; max-height: 70vh; display: flex; flex-direction: column; box-shadow: 0 25px 50px rgba(0,0,0,0.2); overflow: hidden; }
.search-input-row { display: flex; align-items: center; gap: 0.75rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--ds-border); }
.search-input-row input {
  flex: 1; background: transparent; border: none; outline: none; font-size: 1rem;
  color: var(--ds-fg); font-family: inherit;
}
.search-input-row input::placeholder { color: var(--ds-muted-fg); }
.search-results { flex: 1; overflow-y: auto; }
.search-results .group-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em; color: var(--ds-muted-fg); padding: 0.5rem 0.75rem; }
.search-result-item {
  display: flex; align-items: center; gap: 0.75rem; padding: 0.625rem; border-radius: 0.75rem;
  transition: background 0.2s; cursor: pointer; margin: 0 0.75rem;
}
.search-result-item:hover { background: rgba(245,245,247,0.8); }
.search-result-item img { width: 3rem; height: 3rem; border-radius: 0.5rem; object-fit: cover; background: var(--ds-secondary); flex-shrink: 0; }
.search-result-item .info { flex: 1; min-width: 0; }
.search-result-item .info .brand { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(124,58,237,0.6); }
.search-result-item .info .name { font-size: 0.875rem; font-weight: 600; color: var(--ds-fg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-result-item .info .price { font-size: 0.875rem; font-weight: 900; color: var(--ds-fg); margin-top: 0.125rem; }
.search-result-item .info .price .old { font-size: 10px; color: var(--ds-muted-fg); text-decoration: line-through; margin-left: 0.5rem; }
.search-result-item .highlight { color: var(--ds-primary); font-weight: 700; }
.search-footer { border-top: 1px solid var(--ds-border); padding: 0.75rem 1.25rem; display: flex; justify-content: space-between; font-size: 11px; color: var(--ds-muted-fg); }
.search-no-results { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 4rem 1rem; text-align: center; color: var(--ds-muted-fg); }

/* ====== NOTIFY ME MODAL ====== */
.notify-modal .modal-content { max-width: 28rem; }
.notify-modal .product-preview { display: flex; align-items: center; gap: 1rem; padding: 1.5rem; }
.notify-modal .product-preview img { width: 5rem; height: 5rem; border-radius: 1rem; object-fit: contain; background: var(--ds-secondary); padding: 0.5rem; }
.notify-modal .notify-form { padding: 0 1.5rem 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.notify-modal .alert-box { background: var(--ds-accent-10); border: 1px solid rgba(245,158,11,0.2); border-radius: 1rem; padding: 1rem; }
.notify-modal input[type="tel"] {
  width: 100%; padding: 0.75rem 1rem; border-radius: 0.75rem; border: 1px solid var(--ds-border);
  background: rgba(245,245,247,0.3); font-family: inherit; font-size: 0.875rem;
  outline: none; transition: border-color 0.2s;
}
.notify-modal input[type="tel"]:focus { border-color: var(--ds-primary); }
.notify-success { padding: 2.5rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.notify-success .check-circle { width: 4rem; height: 4rem; border-radius: 9999px; background: var(--ds-primary-10); display: flex; align-items: center; justify-content: center; font-size: 2rem; color: var(--ds-primary); }

/* ====== WHY US ====== */
.ds-whyus { padding: 4rem 0 7rem; position: relative; overflow: hidden; }
.ds-whyus .blob-bg { position: absolute; width: 24rem; height: 24rem; border-radius: 9999px; filter: blur(60px); }
.ds-whyus .blob-bg-1 { top: 0; left: 25%; background: rgba(124,58,237,0.05); }
.ds-whyus .blob-bg-2 { bottom: 0; right: 25%; background: rgba(245,158,11,0.05); }
.whyus-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.whyus-card {
  position: relative; padding: 1.75rem; border-radius: 1.5rem; overflow: hidden; cursor: default;
  transition: all 0.5s;
}
.whyus-card .gradient-bg { position: absolute; inset: 0; opacity: 0; transition: opacity 0.5s; }
.whyus-card:hover .gradient-bg { opacity: 1; }
.whyus-card .card-inner { position: relative; z-index: 10; }
.whyus-card .icon-box {
  width: 3.5rem; height: 3.5rem; border-radius: 1rem; display: flex; align-items: center;
  justify-content: center; margin-bottom: 1.25rem; font-size: 1.5rem; transition: all 0.5s;
  background: var(--ds-primary-10); border: 1px solid var(--ds-primary-20); color: var(--ds-primary);
}
.whyus-card:hover .icon-box { background: var(--ds-primary); border-color: var(--ds-primary); color: white; box-shadow: 0 4px 12px rgba(124,58,237,0.2); }
.whyus-card h3 { font-weight: 700; font-size: 1.125rem; color: var(--ds-fg); }
.whyus-card p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--ds-muted-fg); line-height: 1.6; }

/* ====== CTA ====== */
.ds-cta { padding: 4rem 0 7rem; position: relative; overflow: hidden; text-align: center; }
.ds-cta .glow-bg {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 37.5rem; height: 37.5rem; background: rgba(124,58,237,0.08); border-radius: 9999px;
  filter: blur(60px); animation: pulse-glow 3s ease-in-out infinite;
}
.ds-cta h2 { font-size: 1.875rem; font-weight: 900; color: var(--ds-fg); line-height: 1.2; letter-spacing: -0.02em; }
.ds-cta .cta-desc { margin-top: 1rem; font-size: 1rem; color: var(--ds-muted-fg); max-width: 32rem; margin-left: auto; margin-right: auto; }
.ds-cta .cta-actions { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; justify-content: center; align-items: center; }

/* ====== FOOTER ====== */
.ds-footer { border-top: 1px solid rgba(229,229,234,0.5); padding: 2.5rem 0 4rem; position: relative; overflow: hidden; }
.ds-footer .gradient-bg { position: absolute; inset: 0; background: linear-gradient(to top, rgba(124,58,237,0.03), transparent); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; position: relative; z-index: 10; }
.footer-about img { height: 5rem; width: auto; margin-bottom: 1.25rem; }
.footer-about p { font-size: 0.875rem; color: var(--ds-muted-fg); line-height: 1.6; max-width: 24rem; }
.footer-links h4, .footer-contact h4 { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: var(--ds-fg); margin-bottom: 1.25rem; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-links a { font-size: 0.875rem; color: var(--ds-muted-fg); transition: color 0.2s; }
.footer-links a:hover { color: var(--ds-primary); }
.footer-contact ul { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; font-size: 0.875rem; color: var(--ds-muted-fg); }
.footer-bottom { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid rgba(229,229,234,0.5); text-align: center; font-size: 0.75rem; color: rgba(128,128,128,0.5); }

/* ====== WHATSAPP FLOAT ====== */
.wa-float {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 50;
  width: 3.5rem; height: 3.5rem; border-radius: 9999px; background: #25D366;
  color: white; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15); transition: all 0.3s; font-size: 1.5rem;
}
.wa-float:hover { background: #20BD5A; transform: scale(1.1); }

/* ====== ANIMATIONS ====== */
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
@keyframes pulse-glow { 0%,100%{opacity:0.4} 50%{opacity:1} }
@keyframes slide-up { from{opacity:0;transform:translateY(30px)} to{opacity:1;transform:translateY(0)} }
@keyframes scale-in { from{transform:scale(0)} to{transform:scale(1)} }
@keyframes banner-slide-in { from{opacity:0;transform:translateX(-40px)} to{opacity:1;transform:translateX(0)} }
@keyframes banner-image-in { from{opacity:0;transform:scale(0.5) translateX(60px)} to{opacity:1;transform:scale(1) translateX(0)} }
@keyframes banner-zoom-pulse { 0%,100%{transform:scale(1) translateY(0)} 50%{transform:scale(1.08) translateY(-6px)} }
@keyframes banner-pop { from{opacity:0;transform:scale(0.5)} to{opacity:1;transform:scale(1)} }
@keyframes banner-shine { 0%{transform:translateX(-100%)} 30%,100%{transform:translateX(200%)} }
@keyframes marquee { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
@keyframes blob { 0%,100%{border-radius:60% 40% 30% 70%/60% 30% 70% 40%} 50%{border-radius:50% 60% 30% 60%/30% 40% 70% 60%} }
@keyframes shine { 0%{transform:rotate(30deg) translateX(-100%)} 20%,100%{transform:rotate(30deg) translateX(100%)} }
@keyframes fade-in { from{opacity:0} to{opacity:1} }

.shine-effect { position: relative; overflow: hidden; }
.shine-effect::after {
  content:''; position:absolute; top:-50%; left:-50%; width:200%; height:200%;
  background:linear-gradient(to right,transparent 0%,rgba(255,255,255,0.1) 45%,rgba(255,255,255,0.3) 50%,rgba(255,255,255,0.1) 55%,transparent 100%);
  transform:rotate(30deg); animation:shine 4s ease-in-out infinite;
}

/* ====== RESPONSIVE ====== */
@media(min-width:640px) {
  .banner-content { flex-direction: row; text-align: left; padding: 3rem; gap: 2rem; }
  .banner-text { align-items: flex-start; }
  .banner-tag { align-self: flex-start; }
  .banner-actions { flex-direction: row; }
  .banner-actions .btn { width: auto; }
  .banner-image-wrap { order: 1; width: 12rem; height: 12rem; }
  .banner-image-wrap.hero-img { width: 9rem; height: 9rem; }
  .banner-slide { height: 380px; }
  .banner-title { font-size: 2.25rem; }
  .trust-badges { grid-template-columns: repeat(3,1fr); }
  .whyus-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
  .ds-cta .cta-actions { flex-direction: row; }
}
@media(min-width:768px) {
  .banner-slide { height: 440px; }
  .banner-title { font-size: 3rem; }
  .banner-highlight { font-size: 1.5rem; padding: 0.5rem 1.25rem; border-radius: 1rem; }
  .banner-image-wrap { width: 18rem; height: 18rem; }
  .banner-image-wrap.hero-img { width: 14rem; height: 14rem; }
  .banner-image-wrap img { padding: 1.5rem; }
  .banner-nav-btn { width: 3rem; height: 3rem; }
  .banner-nav-btn.prev { left: 0.75rem; }
  .banner-nav-btn.next { right: 0.75rem; }
  .ds-catalog h2 { font-size: 3rem; }
  .product-grid { grid-template-columns: repeat(3,1fr); }
  .product-card .card-body { padding: 1.25rem; }
  .product-card .product-name { font-size: 0.875rem; }
  .product-card .current-price { font-size: 1.25rem; }
  .product-card .current-price .currency { font-size: 0.75rem; }
  .product-card .add-btn { width: 2.5rem; height: 2.5rem; border-radius: 0.75rem; }
  .brands-bar .track span { font-size: 2.5rem; }
  .brands-bar .track { gap: 5rem; }
  .ds-header nav { display: flex; }
  .ds-header .mobile-toggle { display: none; }
  .ds-header .search-btn-mobile { display: none; }
  .ds-cta h2 { font-size: 3.75rem; }
}
@media(min-width:1024px) {
  .product-grid { grid-template-columns: repeat(4,1fr); }
  .whyus-grid { grid-template-columns: repeat(3,1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .banner-image-wrap { width: 20rem; height: 20rem; }
  .banner-image-wrap.hero-img { width: 16rem; height: 16rem; }
  .banner-title { font-size: 3.75rem; }
}
@media(max-width:767px) {
  .ds-header nav { display: none; }
  .ds-header .search-btn-desktop { display: none; }
}
