/*
Theme Name: DuraznoShop
Theme URI: https://duraznoshop.com
Author: DuraznoShop
Author URI: https://duraznoshop.com
Description: Tema personalizado para DuraznoShop - Tienda de celulares y notebooks en Durazno, Uruguay
Version: 3.0
License: GNU General Public License v2 or later
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: duraznoshop
Tags: e-commerce, custom-menu, custom-logo, featured-images
*/

/* ========== VARIABLES ========== */
:root {
  --ds-primary: 265 75% 50%;
  --ds-primary-foreground: 0 0% 100%;
  --ds-accent: 30 95% 55%;
  --ds-accent-foreground: 0 0% 100%;
  --ds-background: 0 0% 100%;
  --ds-foreground: 240 10% 10%;
  --ds-muted: 240 10% 96%;
  --ds-muted-foreground: 240 5% 50%;
  --ds-border: 240 10% 90%;
  --ds-secondary: 240 10% 96%;
  --ds-destructive: 0 84% 60%;
  --ds-badge-new: 160 80% 40%;
  --ds-badge-used: 220 60% 55%;
  --ds-glass: 0 0% 100%;
  --ds-glass-border: 240 10% 88%;
  --ds-radius: 0.75rem;
}

/* ========== RESET & BASE ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: hsl(var(--ds-background));
  color: hsl(var(--ds-foreground));
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ========== CONTAINER ========== */
.ds-container { max-width: 1280px; margin: 0 auto; padding: 0 1rem; }

/* ========== GLASS EFFECTS ========== */
.glass {
  background: hsl(var(--ds-glass) / 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid hsl(var(--ds-glass-border) / 0.6);
  box-shadow: 0 1px 3px hsl(240 10% 10% / 0.04);
}
.glass-strong {
  background: hsl(var(--ds-glass) / 0.95);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-bottom: 1px solid hsl(var(--ds-glass-border) / 0.5);
  box-shadow: 0 1px 3px hsl(240 10% 10% / 0.06);
}
.glass-card {
  background: hsl(var(--ds-glass) / 0.6);
  backdrop-filter: blur(24px);
  border: 1px solid hsl(var(--ds-glass-border) / 0.4);
  box-shadow: 0 0 0 1px hsl(var(--ds-glass-border) / 0.1), 0 20px 60px -15px hsl(var(--ds-primary) / 0.06), 0 4px 12px hsl(240 10% 10% / 0.03);
}

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

/* ========== BUTTONS ========== */
.ds-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-weight: 700; border-radius: 9999px; transition: all 0.3s;
  padding: 0.75rem 2rem; font-size: 0.875rem; line-height: 1;
}
.ds-btn-primary {
  background: hsl(var(--ds-primary)); color: hsl(var(--ds-primary-foreground));
  box-shadow: 0 0 20px -5px hsl(var(--ds-primary) / 0.25);
}
.ds-btn-primary:hover { filter: brightness(1.1); transform: translateY(-1px); }
.ds-btn-white {
  background: white; color: hsl(var(--ds-foreground));
  box-shadow: 0 4px 20px hsl(0 0% 0% / 0.1);
}
.ds-btn-white:hover { background: hsl(0 0% 95%); }
.ds-btn-outline {
  background: transparent; border: 2px solid white; color: white;
}
.ds-btn-outline:hover { background: hsl(0 0% 100% / 0.15); }
.ds-btn-ghost {
  background: transparent; color: hsl(var(--ds-muted-foreground));
  padding: 0.5rem 1rem; border-radius: 0.75rem;
}
.ds-btn-ghost:hover { background: hsl(var(--ds-primary) / 0.05); color: hsl(var(--ds-primary)); }
.ds-btn-sm { padding: 0.375rem 1rem; font-size: 0.75rem; }
.ds-btn-lg { padding: 0.875rem 2.5rem; font-size: 1rem; }
.ds-btn-icon {
  width: 2.5rem; height: 2.5rem; padding: 0; border-radius: 0.75rem;
  display: inline-flex; align-items: center; justify-content: center;
}

/* ========== HEADER ========== */
.ds-header {
  position: sticky; top: 0; z-index: 50;
}
.ds-header-inner { height: 4rem; display: flex; align-items: center; justify-content: space-between; }
.ds-header-logo img { height: 2.5rem; width: auto; }
.ds-nav { display: flex; align-items: center; gap: 0.25rem; }
.ds-nav a {
  font-size: 0.875rem; font-weight: 500; color: hsl(var(--ds-muted-foreground));
  padding: 0.5rem 1rem; border-radius: 0.75rem; transition: all 0.2s;
}
.ds-nav a:hover { color: hsl(var(--ds-primary)); background: hsl(var(--ds-primary) / 0.05); }
.ds-header-actions { display: flex; align-items: center; gap: 0.25rem; }
.ds-search-btn {
  display: flex; align-items: center; gap: 0.5rem; font-size: 0.75rem;
  color: hsl(var(--ds-muted-foreground)); background: hsl(var(--ds-secondary) / 0.6);
  padding: 0.5rem 0.875rem; border-radius: 0.75rem; border: 1px solid hsl(var(--ds-border) / 0.5);
  transition: all 0.2s;
}
.ds-search-btn:hover { background: hsl(var(--ds-secondary)); border-color: hsl(var(--ds-border)); }
.ds-cart-btn { position: relative; }
.ds-cart-count {
  position: absolute; top: -2px; right: -2px; height: 1.25rem; min-width: 1.25rem;
  border-radius: 9999px; background: linear-gradient(135deg, hsl(var(--ds-primary)), hsl(var(--ds-accent)));
  color: white; font-size: 9px; display: flex; align-items: center; justify-content: center;
  font-weight: 700; box-shadow: 0 2px 8px hsl(var(--ds-primary) / 0.3);
}
.ds-mobile-menu {
  display: none; border-top: 1px solid hsl(var(--ds-border) / 0.5);
  padding: 1rem; background: hsl(var(--ds-glass) / 0.95); backdrop-filter: blur(30px);
}
.ds-mobile-menu.active { display: block; }
.ds-mobile-menu a {
  display: block; padding: 0.625rem 0.75rem; font-size: 0.875rem; font-weight: 500;
  color: hsl(var(--ds-muted-foreground)); border-radius: 0.75rem; transition: all 0.2s;
}
.ds-mobile-menu a:hover { color: hsl(var(--ds-primary)); background: hsl(var(--ds-primary) / 0.05); }
@media (max-width: 768px) {
  .ds-nav { display: none; }
  .ds-search-btn .ds-search-text, .ds-search-btn kbd { display: none; }
}

/* ========== HERO / BANNER CAROUSEL ========== */
.ds-hero { position: relative; overflow: hidden; }
.ds-hero-bg { position: absolute; inset: 0; }
.ds-hero-blob {
  position: absolute; width: 500px; height: 500px; border-radius: 50%;
  filter: blur(80px); opacity: 0.08;
}
.ds-hero-blob-1 { top: 80px; left: -160px; background: hsl(var(--ds-primary)); animation: blob 10s ease-in-out infinite; }
.ds-hero-blob-2 { bottom: 80px; right: -160px; background: hsl(var(--ds-accent)); animation: blob 10s ease-in-out 3s infinite; }
.ds-banner {
  position: relative; border-radius: 1.5rem; overflow: hidden;
  height: 420px; display: flex;
}
@media (min-width: 768px) { .ds-banner { height: 440px; border-radius: 1.5rem; } }
.ds-banner-inner {
  position: relative; z-index: 10; display: flex; flex-direction: column; align-items: center;
  padding: 2rem 1.5rem; gap: 1.25rem; height: 100%; width: 100%;
}
@media (min-width: 768px) {
  .ds-banner-inner { flex-direction: row; padding: 3rem 4rem; gap: 2rem; }
}
.ds-banner-text { flex: 1; min-width: 0; text-align: center; animation: banner-slide-in 0.6s cubic-bezier(0.16,1,0.3,1) both; }
@media (min-width: 768px) { .ds-banner-text { text-align: left; } }
.ds-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: hsl(0 0% 100% / 0.9); background: hsl(0 0% 100% / 0.15);
  padding: 0.5rem 1rem; border-radius: 9999px; backdrop-filter: blur(8px);
  border: 1px solid hsl(0 0% 100% / 0.2);
}
.ds-banner h1, .ds-banner h2 {
  font-size: 1.75rem; font-weight: 900; color: white; line-height: 1.05;
  letter-spacing: -0.02em; text-shadow: 0 2px 10px hsl(0 0% 0% / 0.15); margin-top: 0.75rem;
}
@media (min-width: 640px) { .ds-banner h1, .ds-banner h2 { font-size: 2.25rem; } }
@media (min-width: 768px) { .ds-banner h1, .ds-banner h2 { font-size: 3rem; } }
@media (min-width: 1024px) { .ds-banner h1 { font-size: 4.25rem; } .ds-banner h2 { font-size: 3.75rem; } }
.ds-banner-subtitle {
  background: linear-gradient(135deg, hsl(30 95% 65%), hsl(30 95% 50%));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.ds-banner-highlight {
  display: inline-block; font-size: 1.25rem; font-weight: 900; color: white;
  background: hsl(0 0% 100% / 0.15); padding: 0.375rem 1rem; border-radius: 0.75rem;
  backdrop-filter: blur(8px); border: 1px solid hsl(0 0% 100% / 0.2);
  margin-top: 0.5rem; animation: banner-pop 0.5s cubic-bezier(0.34,1.56,0.64,1) 0.3s both;
}
@media (min-width: 768px) { .ds-banner-highlight { font-size: 1.875rem; padding: 0.5rem 1.25rem; border-radius: 1rem; } }
.ds-banner-desc {
  font-size: 0.875rem; color: hsl(0 0% 100% / 0.8); max-width: 28rem;
  line-height: 1.6; margin-top: 0.75rem;
}
@media (min-width: 768px) { .ds-banner-desc { font-size: 1.125rem; } }
.ds-banner-ctas { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1rem; justify-content: center; }
@media (min-width: 640px) { .ds-banner-ctas { flex-direction: row; } }
@media (min-width: 768px) { .ds-banner-ctas { justify-content: flex-start; } }
.ds-banner-image {
  flex-shrink: 0; position: relative; order: -1;
  width: 144px; height: 144px;
  animation: banner-image-in 0.8s cubic-bezier(0.16,1,0.3,1) 0.15s both;
}
@media (min-width: 640px) { .ds-banner-image { width: 192px; height: 192px; } }
@media (min-width: 768px) { .ds-banner-image { order: 1; width: 288px; height: 288px; } }
@media (min-width: 1024px) { .ds-banner-image { width: 320px; height: 320px; } }
.ds-banner-image.hero-type { width: 112px; height: 112px; }
@media (min-width: 640px) { .ds-banner-image.hero-type { width: 144px; height: 144px; } }
@media (min-width: 768px) { .ds-banner-image.hero-type { width: 224px; height: 224px; } }
@media (min-width: 1024px) { .ds-banner-image.hero-type { width: 256px; height: 256px; } }
.ds-banner-image img {
  width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 10px 30px hsl(0 0% 0% / 0.2));
  animation: banner-zoom-pulse 3s ease-in-out infinite;
}
.ds-banner-glow {
  position: absolute; inset: 0; border-radius: 50%;
  background: hsl(0 0% 100% / 0.1); filter: blur(30px); transform: scale(1.1);
  animation: pulse-glow 3s ease-in-out infinite;
}
.ds-banner-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 20;
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: hsl(0 0% 100% / 0.9); box-shadow: 0 2px 10px hsl(0 0% 0% / 0.1);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s; border: 1px solid hsl(var(--ds-border));
}
@media (min-width: 768px) { .ds-banner-nav { width: 3rem; height: 3rem; } }
.ds-banner-nav:hover { background: white; transform: translateY(-50%) scale(1.1); }
.ds-banner-nav.prev { left: -8px; }
.ds-banner-nav.next { right: -8px; }
@media (min-width: 768px) { .ds-banner-nav.prev { left: 12px; } .ds-banner-nav.next { right: 12px; } }
.ds-banner-dots { display: flex; gap: 0.5rem; justify-content: center; margin-top: 1.25rem; }
.ds-banner-dot {
  height: 0.5rem; border-radius: 9999px; transition: all 0.5s; background: hsl(var(--ds-muted-foreground) / 0.2);
  width: 0.5rem;
}
.ds-banner-dot.active {
  width: 2rem; background: linear-gradient(135deg, hsl(var(--ds-primary)), hsl(var(--ds-accent)));
  box-shadow: 0 1px 4px hsl(var(--ds-primary) / 0.3);
}
.ds-floating-emoji {
  position: absolute; font-size: 1.5rem; opacity: 0.2;
  animation: float 6s ease-in-out infinite; pointer-events: none; user-select: none;
}
@media (min-width: 768px) { .ds-floating-emoji { font-size: 2rem; } }

/* ========== TRUST BADGES ========== */
.ds-trust-grid {
  display: grid; grid-template-columns: 1fr; gap: 0.75rem; margin-top: 2rem;
}
@media (min-width: 640px) { .ds-trust-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .ds-trust-grid { margin-top: 3.5rem; gap: 1rem; } }
.ds-trust-card {
  display: flex; align-items: center; gap: 0.75rem; padding: 1rem;
  border-radius: 0.75rem;
}
@media (min-width: 640px) { .ds-trust-card { align-items: flex-start; } }
@media (min-width: 768px) { .ds-trust-card { gap: 1rem; padding: 1.5rem; border-radius: 1rem; } }
.ds-trust-icon {
  flex-shrink: 0; width: 2.5rem; height: 2.5rem; border-radius: 0.75rem;
  display: flex; align-items: center; justify-content: center;
}
@media (min-width: 768px) { .ds-trust-icon { width: 3rem; height: 3rem; border-radius: 1rem; } }
.ds-trust-icon.primary { background: hsl(var(--ds-primary) / 0.1); border: 1px solid hsl(var(--ds-primary) / 0.2); color: hsl(var(--ds-primary)); }
.ds-trust-icon.accent { background: hsl(var(--ds-accent) / 0.1); border: 1px solid hsl(var(--ds-accent) / 0.2); color: hsl(var(--ds-accent)); }
.ds-trust-title { font-weight: 700; font-size: 0.75rem; color: hsl(var(--ds-foreground)); }
@media (min-width: 768px) { .ds-trust-title { font-size: 0.875rem; } }
.ds-trust-desc { font-size: 0.6875rem; color: hsl(var(--ds-muted-foreground)); margin-top: 0.125rem; }
@media (min-width: 768px) { .ds-trust-desc { font-size: 0.75rem; margin-top: 0.25rem; } }

/* ========== BRANDS BAR ========== */
.ds-brands { padding: 2rem 0 3rem; border-top: 1px solid hsl(var(--ds-border) / 0.5); border-bottom: 1px solid hsl(var(--ds-border) / 0.5); overflow: hidden; position: relative; }
.ds-brands-label { text-align: center; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.25em; color: hsl(var(--ds-muted-foreground)); margin-bottom: 2rem; }
.ds-brands-track { display: flex; gap: 3rem; animation: marquee 20s linear infinite; white-space: nowrap; }
@media (min-width: 768px) { .ds-brands-track { gap: 5rem; } }
.ds-brands-track span { font-size: 1.5rem; font-weight: 900; color: hsl(var(--ds-muted-foreground) / 0.15); user-select: none; transition: all 0.5s; }
@media (min-width: 768px) { .ds-brands-track span { font-size: 2rem; } }
.ds-brands-track span:hover { background: linear-gradient(135deg, hsl(var(--ds-primary)), hsl(var(--ds-accent))); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.ds-brands-fade-l, .ds-brands-fade-r { position: absolute; top: 0; bottom: 0; width: 6rem; z-index: 10; }
.ds-brands-fade-l { left: 0; background: linear-gradient(to right, hsl(var(--ds-background)), transparent); }
.ds-brands-fade-r { right: 0; background: linear-gradient(to left, hsl(var(--ds-background)), transparent); }

/* ========== PRODUCT GRID ========== */
.ds-catalog { padding: 4rem 0; position: relative; }
@media (min-width: 768px) { .ds-catalog { padding: 7rem 0; } }
.ds-catalog-bg { position: absolute; inset: 0; opacity: 0.5; }
.ds-catalog-header { margin-bottom: 2rem; }
@media (min-width: 768px) { .ds-catalog-header { margin-bottom: 3.5rem; } }
.ds-catalog-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em;
  color: hsl(var(--ds-primary)); margin-bottom: 0.75rem;
}
.ds-catalog-title { font-size: 1.875rem; font-weight: 900; color: hsl(var(--ds-foreground)); letter-spacing: -0.02em; }
@media (min-width: 768px) { .ds-catalog-title { font-size: 3rem; } }
.ds-catalog-subtitle { margin-top: 0.5rem; color: hsl(var(--ds-muted-foreground)); font-size: 0.875rem; }
@media (min-width: 768px) { .ds-catalog-subtitle { margin-top: 0.75rem; font-size: 1.125rem; } }

/* Filters */
.ds-filters { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 0.5rem; }
.ds-filter-btn {
  padding: 0.375rem 1rem; border-radius: 9999px; font-size: 0.75rem; font-weight: 600;
  color: hsl(var(--ds-muted-foreground)); transition: all 0.3s; background: transparent;
}
.ds-filter-btn:hover { color: hsl(var(--ds-foreground)); background: hsl(var(--ds-secondary)); }
.ds-filter-btn.active {
  background: hsl(var(--ds-primary)); color: hsl(var(--ds-primary-foreground));
  box-shadow: 0 0 20px -5px hsl(var(--ds-primary) / 0.25);
}
.ds-subfilters { display: flex; gap: 0.375rem; flex-wrap: wrap; }
.ds-subfilter-btn {
  padding: 0.25rem 0.75rem; border-radius: 9999px; font-size: 11px; height: 1.75rem;
  font-weight: 500; color: hsl(var(--ds-muted-foreground)); transition: all 0.3s;
}
.ds-subfilter-btn.active {
  background: hsl(var(--ds-primary) / 0.15); color: hsl(var(--ds-primary));
  border: 1px solid hsl(var(--ds-primary) / 0.3);
}

/* Product cards */
.ds-product-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem;
}
@media (min-width: 768px) { .ds-product-grid { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; } }
@media (min-width: 1024px) { .ds-product-grid { grid-template-columns: repeat(4, 1fr); } }

.ds-product-card {
  border-radius: 1rem; overflow: hidden; transition: all 0.5s;
}
@media (min-width: 768px) { .ds-product-card { border-radius: 1.5rem; } }
.ds-product-card.out-of-stock { opacity: 0.75; }
.ds-product-card:hover { box-shadow: 0 0 30px -5px hsl(var(--ds-primary) / 0.2), 0 0 60px -15px hsl(var(--ds-primary) / 0.1); border-color: hsl(var(--ds-primary) / 0.3); }

.ds-product-image {
  position: relative; aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  padding: 1rem; overflow: hidden;
  background: linear-gradient(to bottom, hsl(var(--ds-secondary) / 0.4), hsl(var(--ds-secondary) / 0.1));
}
@media (min-width: 768px) { .ds-product-image { padding: 2rem; } }
.ds-product-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 12px hsl(0 0% 0% / 0.1));
}
.ds-product-card:hover .ds-product-image img { transform: scale(1.1); }
.ds-product-card.out-of-stock .ds-product-image img { filter: grayscale(1); }

.ds-product-badge {
  position: absolute; top: 0.75rem; left: 0.75rem; z-index: 20;
  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);
  box-shadow: 0 1px 4px hsl(0 0% 0% / 0.08);
}
.ds-product-badge.nuevo { background: hsl(var(--ds-badge-new) / 0.9); color: white; }
.ds-product-badge.usado { background: hsl(var(--ds-badge-used) / 0.9); color: white; }
.ds-product-badge.reacondicionado { background: hsl(var(--ds-accent) / 0.9); color: white; }

.ds-product-stock-badge {
  position: absolute; top: 0.75rem; right: 0.75rem; z-index: 20;
  font-size: 9px; font-weight: 700; padding: 0.25rem 0.625rem; border-radius: 9999px;
  backdrop-filter: blur(8px); box-shadow: 0 1px 4px hsl(0 0% 0% / 0.08);
}
.ds-product-stock-badge.sin-stock { background: hsl(var(--ds-destructive) / 0.9); color: white; }
.ds-product-stock-badge.low-stock { background: hsl(var(--ds-accent) / 0.9); color: white; }
.ds-product-stock-badge.in-stock { background: hsl(var(--ds-background) / 0.8); color: hsl(var(--ds-muted-foreground)); }

.ds-product-hover-overlay {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: hsl(var(--ds-background) / 0.3); backdrop-filter: blur(4px);
  opacity: 0; transition: opacity 0.3s; z-index: 20;
}
.ds-product-card:hover .ds-product-hover-overlay { opacity: 1; }

.ds-product-info { padding: 0.75rem; }
@media (min-width: 768px) { .ds-product-info { padding: 1.25rem; } }
.ds-product-brand {
  font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em;
  color: hsl(var(--ds-primary) / 0.7);
}
@media (min-width: 768px) { .ds-product-brand { font-size: 10px; } }
.ds-product-name {
  margin-top: 0.25rem; font-weight: 700; font-size: 0.75rem; color: hsl(var(--ds-foreground));
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.4;
}
@media (min-width: 768px) { .ds-product-name { margin-top: 0.375rem; font-size: 0.875rem; } }
.ds-product-pricing { margin-top: 0.5rem; display: flex; align-items: flex-end; justify-content: space-between; gap: 0.25rem; }
@media (min-width: 768px) { .ds-product-pricing { margin-top: 1rem; } }
.ds-product-old-price {
  font-size: 10px; font-weight: 600; text-decoration: line-through; color: hsl(var(--ds-destructive));
  display: block; height: 1rem;
}
@media (min-width: 768px) { .ds-product-old-price { font-size: 0.75rem; } }
.ds-product-old-price.invisible { visibility: hidden; }
.ds-product-from { font-size: 9px; color: hsl(var(--ds-muted-foreground)); font-weight: 500; }
@media (min-width: 768px) { .ds-product-from { font-size: 10px; } }
.ds-product-price { font-size: 1rem; font-weight: 900; color: hsl(var(--ds-foreground)); white-space: nowrap; }
@media (min-width: 768px) { .ds-product-price { font-size: 1.25rem; } }
.ds-product-price .ds-currency { font-size: 10px; }
@media (min-width: 768px) { .ds-product-price .ds-currency { font-size: 0.75rem; } }

.ds-add-to-cart-btn {
  width: 2rem; height: 2rem; border-radius: 0.5rem;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s; flex-shrink: 0;
  background: hsl(var(--ds-primary) / 0.1); color: hsl(var(--ds-primary));
}
@media (min-width: 768px) { .ds-add-to-cart-btn { width: 2.5rem; height: 2.5rem; border-radius: 0.75rem; } }
.ds-add-to-cart-btn:hover {
  background: hsl(var(--ds-primary)); color: hsl(var(--ds-primary-foreground));
  box-shadow: 0 4px 12px hsl(var(--ds-primary) / 0.2);
}
.ds-add-to-cart-btn.notify {
  background: hsl(var(--ds-destructive) / 0.1); color: hsl(var(--ds-destructive));
}
.ds-add-to-cart-btn.notify:hover {
  background: hsl(var(--ds-destructive)); color: white;
}

/* ========== WHY US ========== */
.ds-why-us { padding: 4rem 0; position: relative; overflow: hidden; }
@media (min-width: 768px) { .ds-why-us { padding: 7rem 0; } }
.ds-why-us-header { text-align: center; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .ds-why-us-header { margin-bottom: 4rem; } }
.ds-why-us-tag { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.25em; color: hsl(var(--ds-primary)); }
.ds-why-us-title { margin-top: 0.75rem; font-size: 1.875rem; font-weight: 900; color: hsl(var(--ds-foreground)); letter-spacing: -0.02em; }
@media (min-width: 768px) { .ds-why-us-title { margin-top: 1rem; font-size: 3rem; } }
.ds-why-us-subtitle { margin-top: 0.75rem; font-size: 0.875rem; color: hsl(var(--ds-muted-foreground)); max-width: 28rem; margin-left: auto; margin-right: auto; }
@media (min-width: 768px) { .ds-why-us-subtitle { margin-top: 1rem; font-size: 1.125rem; } }
.ds-features-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .ds-features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ds-features-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.ds-feature-card { position: relative; padding: 1.75rem; border-radius: 1.5rem; overflow: hidden; transition: all 0.5s; }
.ds-feature-card:hover { box-shadow: 0 0 30px -5px hsl(var(--ds-primary) / 0.2); border-color: hsl(var(--ds-primary) / 0.3); }
.ds-feature-icon {
  width: 3.5rem; height: 3.5rem; border-radius: 1rem; display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem; background: hsl(var(--ds-primary) / 0.1);
  border: 1px solid hsl(var(--ds-primary) / 0.2); color: hsl(var(--ds-primary)); transition: all 0.5s;
}
.ds-feature-card:hover .ds-feature-icon {
  background: hsl(var(--ds-primary)); border-color: hsl(var(--ds-primary));
  color: white; box-shadow: 0 4px 15px hsl(var(--ds-primary) / 0.2);
}
.ds-feature-title { font-weight: 700; font-size: 1.125rem; color: hsl(var(--ds-foreground)); }
.ds-feature-desc { margin-top: 0.5rem; font-size: 0.875rem; color: hsl(var(--ds-muted-foreground)); line-height: 1.6; }

/* ========== CTA SECTION ========== */
.ds-cta { padding: 4rem 0; position: relative; overflow: hidden; text-align: center; }
@media (min-width: 768px) { .ds-cta { padding: 7rem 0; } }
.ds-cta-bg { position: absolute; inset: 0; background: linear-gradient(to bottom, hsl(var(--ds-primary) / 0.08), hsl(var(--ds-primary) / 0.12), hsl(var(--ds-accent) / 0.05)); }
.ds-cta-tag { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.25em; color: hsl(var(--ds-primary)); margin-bottom: 1rem; }
.ds-cta-title { font-size: 1.875rem; font-weight: 900; color: hsl(var(--ds-foreground)); line-height: 1.15; letter-spacing: -0.02em; }
@media (min-width: 768px) { .ds-cta-title { font-size: 3.75rem; } }
.ds-cta-desc { margin-top: 1rem; font-size: 1rem; color: hsl(var(--ds-muted-foreground)); max-width: 32rem; margin-left: auto; margin-right: auto; }
@media (min-width: 768px) { .ds-cta-desc { margin-top: 1.5rem; font-size: 1.25rem; } }
.ds-cta-buttons { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; justify-content: center; align-items: center; }
@media (min-width: 640px) { .ds-cta-buttons { flex-direction: row; flex-wrap: wrap; } }
@media (min-width: 768px) { .ds-cta-buttons { margin-top: 2.5rem; gap: 1rem; } }

/* ========== FOOTER ========== */
.ds-footer { border-top: 1px solid hsl(var(--ds-border) / 0.5); padding: 2.5rem 0 4rem; position: relative; overflow: hidden; }
@media (min-width: 768px) { .ds-footer { padding: 4rem 0; } }
.ds-footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .ds-footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.ds-footer-logo img { height: 5rem; width: auto; margin-bottom: 1.25rem; }
.ds-footer-desc { font-size: 0.875rem; color: hsl(var(--ds-muted-foreground)); line-height: 1.6; max-width: 24rem; }
.ds-footer-heading { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: hsl(var(--ds-foreground)); margin-bottom: 1.25rem; }
.ds-footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.ds-footer-links a { font-size: 0.875rem; color: hsl(var(--ds-muted-foreground)); transition: color 0.2s; }
.ds-footer-links a:hover { color: hsl(var(--ds-primary)); }
.ds-footer-contact { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; font-size: 0.875rem; color: hsl(var(--ds-muted-foreground)); }
.ds-footer-bottom {
  margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid hsl(var(--ds-border) / 0.5);
  text-align: center; font-size: 0.75rem; color: hsl(var(--ds-muted-foreground) / 0.5);
}

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

/* ========== CART DRAWER ========== */
.ds-cart-overlay {
  position: fixed; inset: 0; background: hsl(0 0% 0% / 0.5); z-index: 60;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.ds-cart-overlay.active { opacity: 1; pointer-events: auto; }
.ds-cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: 100%; max-width: 28rem;
  background: hsl(var(--ds-background)); z-index: 70; transform: translateX(100%);
  transition: transform 0.3s ease; display: flex; flex-direction: column;
  border-left: 1px solid hsl(var(--ds-border));
}
.ds-cart-drawer.active { transform: translateX(0); }
.ds-cart-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.5rem; border-bottom: 1px solid hsl(var(--ds-border) / 0.5);
}
.ds-cart-header h3 { display: flex; align-items: center; gap: 0.5rem; font-weight: 700; font-size: 1.125rem; }
.ds-cart-items { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: 1rem; }
.ds-cart-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; text-align: center; color: hsl(var(--ds-muted-foreground)); }
.ds-cart-item { display: flex; gap: 0.75rem; padding: 0.75rem; border-radius: 0.75rem; }
.ds-cart-item img { height: 5rem; width: 5rem; border-radius: 0.5rem; object-fit: cover; background: hsl(var(--ds-secondary) / 0.3); }
.ds-cart-item-brand { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: hsl(var(--ds-primary) / 0.7); }
.ds-cart-item-name { font-size: 0.875rem; font-weight: 600; color: hsl(var(--ds-foreground)); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ds-cart-item-price { font-size: 0.875rem; font-weight: 900; color: hsl(var(--ds-foreground)); margin-top: 0.25rem; }
.ds-cart-qty { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.5rem; }
.ds-cart-qty button {
  width: 1.75rem; height: 1.75rem; border-radius: 0.5rem; display: flex; align-items: center; justify-content: center;
  background: transparent; color: hsl(var(--ds-foreground)); transition: background 0.2s;
}
.ds-cart-qty button:hover { background: hsl(var(--ds-secondary)); }
.ds-cart-qty span { font-size: 0.875rem; font-weight: 700; width: 1.5rem; text-align: center; }
.ds-cart-qty .ds-remove { color: hsl(var(--ds-destructive)); margin-left: auto; }
.ds-cart-qty .ds-remove:hover { color: white; background: hsl(var(--ds-destructive)); }
.ds-cart-footer { border-top: 1px solid hsl(var(--ds-border) / 0.5); padding: 1rem 1.5rem; }
.ds-cart-total { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.ds-cart-total-label { font-weight: 500; color: hsl(var(--ds-muted-foreground)); }
.ds-cart-total-value { font-size: 1.5rem; font-weight: 900; color: hsl(var(--ds-foreground)); }

/* Order bumps */
.ds-bumps-section { padding-top: 0.5rem; }
.ds-bumps-header { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; }
.ds-bumps-header span { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: hsl(var(--ds-primary)); }
.ds-bump-item {
  display: flex; align-items: center; gap: 0.75rem; padding: 0.625rem; border-radius: 0.75rem;
  border: 1px solid hsl(var(--ds-primary) / 0.2); background: hsl(var(--ds-primary) / 0.05);
  cursor: pointer; transition: background 0.2s; margin-bottom: 0.5rem;
}
.ds-bump-item:hover { background: hsl(var(--ds-primary) / 0.1); }
.ds-bump-item img { height: 3rem; width: 3rem; border-radius: 0.5rem; object-fit: cover; background: hsl(var(--ds-secondary) / 0.3); }
.ds-bump-name { font-size: 0.75rem; font-weight: 600; color: hsl(var(--ds-foreground)); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.ds-bump-price { font-size: 0.75rem; font-weight: 900; color: hsl(var(--ds-foreground)); }
.ds-bump-old-price { font-size: 10px; color: hsl(var(--ds-muted-foreground)); text-decoration: line-through; }
.ds-bump-add {
  padding: 0.25rem 0.75rem; border-radius: 9999px; font-size: 10px; font-weight: 700;
  background: hsl(var(--ds-primary) / 0.2); color: hsl(var(--ds-primary)); transition: all 0.2s; margin-left: auto; flex-shrink: 0;
}
.ds-bump-add:hover { background: hsl(var(--ds-primary)); color: white; }

/* ========== MODALS ========== */
.ds-modal-overlay {
  position: fixed; inset: 0; background: hsl(0 0% 0% / 0.5); z-index: 80;
  display: flex; align-items: center; justify-content: center; padding: 1rem;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.ds-modal-overlay.active { opacity: 1; pointer-events: auto; }
.ds-modal {
  background: hsl(var(--ds-background)); border-radius: 1rem; max-width: 32rem; width: 100%;
  max-height: 90vh; overflow-y: auto; border: 1px solid hsl(var(--ds-border));
  transform: scale(0.95); transition: transform 0.3s;
}
.ds-modal-overlay.active .ds-modal { transform: scale(1); }
.ds-modal-close {
  position: absolute; top: 1rem; right: 1rem; z-index: 10;
  width: 2rem; height: 2rem; border-radius: 0.5rem; display: flex; align-items: center; justify-content: center;
  background: hsl(var(--ds-background) / 0.8); backdrop-filter: blur(8px);
  color: hsl(var(--ds-muted-foreground)); transition: all 0.2s;
}
.ds-modal-close:hover { background: hsl(var(--ds-secondary)); color: hsl(var(--ds-foreground)); }
.ds-modal-image {
  aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; padding: 2rem; position: relative;
  background: linear-gradient(to bottom, hsl(var(--ds-secondary) / 0.4), hsl(var(--ds-secondary) / 0.1));
}
.ds-modal-image img { max-height: 100%; max-width: 100%; object-fit: contain; filter: drop-shadow(0 4px 12px hsl(0 0% 0% / 0.1)); transition: all 0.5s; }
.ds-modal-body { padding: 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; }

/* Variant selectors */
.ds-variant-group-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: hsl(var(--ds-muted-foreground)); margin-bottom: 0.5rem; }
.ds-variant-selected { color: hsl(var(--ds-primary)); font-weight: 600; text-transform: none; letter-spacing: normal; margin-left: 0.5rem; }
.ds-variant-options { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.ds-variant-btn {
  padding: 0.625rem 1rem; border-radius: 0.75rem; font-size: 0.875rem; font-weight: 600;
  transition: all 0.3s; border: 1px solid hsl(var(--ds-border));
  background: hsl(var(--ds-secondary) / 0.5); color: hsl(var(--ds-foreground));
}
.ds-variant-btn:hover { border-color: hsl(var(--ds-primary) / 0.4); background: hsl(var(--ds-primary) / 0.05); }
.ds-variant-btn.selected {
  background: hsl(var(--ds-primary)); color: hsl(var(--ds-primary-foreground));
  border-color: hsl(var(--ds-primary)); box-shadow: 0 4px 12px hsl(var(--ds-primary) / 0.2);
}
.ds-variant-modifier { font-size: 10px; opacity: 0.7; }

/* ========== SEARCH MODAL ========== */
.ds-search-input-wrap {
  display: flex; align-items: center; gap: 0.75rem; padding: 1rem 1.25rem;
  border-bottom: 1px solid hsl(var(--ds-border));
}
.ds-search-input {
  flex: 1; background: transparent; border: none; outline: none;
  font-size: 1rem; color: hsl(var(--ds-foreground));
}
.ds-search-input::placeholder { color: hsl(var(--ds-muted-foreground)); }
.ds-search-results { max-height: 60vh; overflow-y: auto; padding: 0.75rem; }
.ds-search-category-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em; color: hsl(var(--ds-muted-foreground)); padding: 0.5rem; margin-bottom: 0.25rem; }
.ds-search-item {
  display: flex; align-items: center; gap: 0.75rem; padding: 0.625rem; border-radius: 0.75rem;
  transition: background 0.2s; width: 100%; text-align: left;
}
.ds-search-item:hover { background: hsl(var(--ds-secondary) / 0.8); }
.ds-search-item img { height: 3rem; width: 3rem; border-radius: 0.5rem; object-fit: cover; background: hsl(var(--ds-secondary) / 0.3); flex-shrink: 0; }
.ds-search-footer { border-top: 1px solid hsl(var(--ds-border)); padding: 0.75rem 1.25rem; display: flex; justify-content: space-between; font-size: 0.6875rem; color: hsl(var(--ds-muted-foreground)); }

/* ========== 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 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%; } 25% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; } 50% { border-radius: 50% 60% 30% 60% / 30% 40% 70% 60%; } 75% { border-radius: 60% 40% 60% 40% / 70% 30% 50% 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; } }
@keyframes scale-in { from { transform: scale(0); } to { transform: scale(1); } }

/* ========== SVG ICONS (inline) ========== */
.ds-icon { display: inline-block; width: 1em; height: 1em; vertical-align: -0.125em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
