/* ============================================
   TIENDA GABBO — Design System v5.0
   Clean · Always-visible actions · Mobile-first
   ============================================ */

/* ===== TOKENS ===== */
:root {
  --bg: #0a0a0d;
  --bg-soft: #101014;
  --bg-card: #15151b;
  --bg-card-hover: #1a1a22;
  --bg-elevated: #1e1e26;
  --bg-glass: rgba(15, 15, 20, 0.85);

  --green: #00d97e;
  --green-bright: #25f08e;
  --green-dark: #00a862;
  --green-dim: #007a48;
  --green-soft: rgba(0, 217, 126, 0.08);
  --green-glow: rgba(0, 217, 126, 0.15);
  --green-glow-strong: rgba(0, 217, 126, 0.25);

  --gold: #f0b429;

  --text: #f0f0f3;
  --text-secondary: #a0a0ab;
  --text-muted: #6b6b78;
  --text-dim: #4a4a55;

  --border: #1c1c24;
  --border-hover: #282832;
  --border-active: var(--green);

  --red: #ef4444;
  --orange: #f97316;

  --radius-xl: 16px;
  --radius-lg: 14px;
  --radius-md: 10px;
  --radius-sm: 8px;
  --radius-xs: 6px;

  --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.45);
  --shadow-green: 0 4px 20px rgba(0, 217, 126, 0.12);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-fast: 0.15s var(--ease);
  --t-base: 0.25s var(--ease);
  --t-slow: 0.4s var(--ease);

  --max-width: 1240px;
  --header-h: 64px;
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% -5%, rgba(0, 217, 126, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse 50% 35% at 85% 95%, rgba(0, 217, 126, 0.025) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}
a { color: var(--green); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--text); }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select { font-family: inherit; }
::selection { background: var(--green); color: var(--bg); }
::-webkit-scrollbar { width: 7px; height: 7px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb { background: var(--border-hover); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-dim); }

/* ===== LAYOUT ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: box-shadow var(--t-base), border-color var(--t-base);
}
.header.scrolled {
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
  border-bottom-color: var(--border-hover);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}
.header-logo img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px var(--border-hover);
  transition: box-shadow var(--t-base);
}
.header-logo:hover img {
  box-shadow: 0 0 0 1px var(--green-dim), 0 0 16px rgba(0, 217, 126, 0.3);
}
.header-logo span {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text);
  letter-spacing: -0.02em;
}
.header-logo span .accent { color: var(--green); }

/* Nav */
.nav { display: flex; align-items: center; gap: 0.15rem; }
.nav a {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: all var(--t-fast);
}
.nav a:hover { color: var(--text); background: var(--bg-elevated); }
.nav a.active { color: var(--green); }

.cart-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text) !important;
  font-weight: 600 !important;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}
.cart-link:hover { border-color: var(--green-dim) !important; }
.cart-badge {
  background: var(--green);
  color: var(--bg);
  font-size: 0.68rem;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}
.cart-badge.hidden { display: none; }
.cart-badge.bump { animation: bump 0.35s var(--ease-spring); }
@keyframes bump { 0%,100% { transform: scale(1); } 50% { transform: scale(1.35); } }

.menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  color: var(--text);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  align-items: center;
  justify-content: center;
  transition: all var(--t-fast);
}
.menu-toggle:hover { border-color: var(--green-dim); }

/* ===== HERO ===== */
.hero {
  padding: 4.5rem 0 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(0, 217, 126, 0.07) 0%, transparent 70%);
  pointer-events: none;
  animation: heroGlow 6s ease-in-out infinite;
}
@keyframes heroGlow {
  0%, 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.15); }
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.35rem 0.9rem;
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-bottom: 1.4rem;
  position: relative;
}
.hero-badge .dot {
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0, 217, 126, 0.4); }
  50% { opacity: 0.6; box-shadow: 0 0 0 5px rgba(0, 217, 126, 0); }
}
.hero h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 1.1rem;
  position: relative;
}
.hero h1 .accent {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-bright) 50%, var(--green) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4s linear infinite;
}
@keyframes shimmer {
  to { background-position: 200% center; }
}
.hero p {
  color: var(--text-secondary);
  font-size: 1.15rem;
  max-width: 560px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}
.hero-cta {
  display: flex;
  gap: 0.7rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

/* ===== STATS BAR ===== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.5rem 1rem;
  margin-bottom: 2.5rem;
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-soft) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}
.stats-bar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--green-dim) 50%, transparent 100%);
}
.stat-item { text-align: center; }
.stat-value {
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--green);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.25rem;
}

/* Trust badges */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 1.4rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.83rem;
  color: var(--text-secondary);
  font-weight: 500;
}
.trust-badge svg { color: var(--green); flex-shrink: 0; }

/* ===== BRAND BAR ===== */
.brand-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  margin-bottom: 1.8rem;
}
.brand-chip {
  padding: 0.45rem 1rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.83rem;
  color: var(--text-secondary);
  background: var(--bg-card);
  cursor: pointer;
  transition: all var(--t-fast);
  user-select: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.brand-chip:hover { border-color: var(--green-dim); color: var(--green); }
.brand-chip.active {
  background: var(--green);
  color: var(--bg);
  border-color: var(--green);
  font-weight: 700;
}

/* ===== SECTION TITLE ===== */
.section-title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.section-title .line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--border) 0%, transparent 100%);
  margin-left: 1rem;
}

/* ===== PRODUCT GRID ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.2rem;
  padding-bottom: 2.5rem;
}
.product-card {
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-soft) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--t-base), transform var(--t-base), box-shadow var(--t-base);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  position: relative;
}
.product-card:hover {
  border-color: var(--green-dim);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), var(--shadow-green);
}
.product-card:hover .product-img-wrap img { transform: scale(1.06); }

.product-img-wrap {
  width: 100%;
  aspect-ratio: 1;
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}

.product-tags {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  display: flex;
  gap: 0.3rem;
  flex-wrap: wrap;
  z-index: 2;
}
.tag {
  padding: 0.22rem 0.55rem;
  border-radius: var(--radius-xs);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  backdrop-filter: blur(6px);
}
.tag-nuevo { background: var(--green); color: var(--bg); }
.tag-oferta { background: var(--orange); color: #fff; }
.tag-bestseller { background: var(--gold); color: var(--bg); }
.tag-flagship { background: #6366f1; color: #fff; }
.tag-economico { background: #3b82f6; color: #fff; }
.tag-plegable { background: #a855f7; color: #fff; }

/* REMOVED: hover-only quickview overlay — buttons now always visible in card info */

.product-info {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}
.product-brand {
  font-size: 0.7rem;
  color: var(--green);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.product-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}
.product-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--green);
  margin-top: auto;
  padding-top: 0.4rem;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}
.product-price .currency {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ALWAYS-VISIBLE product actions — no more hover dependency */
.product-actions {
  display: flex;
  gap: 0.4rem;
  padding-top: 0.5rem;
}
.product-actions .btn { flex: 1; }

/* ===== HOME CTA SECTION ===== */
.home-cta-section {
  text-align: center;
  padding: 3.5rem 1.5rem;
  margin: 1rem 0 2rem;
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-elevated) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}
.home-cta-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0, 217, 126, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.home-cta-section h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
  position: relative;
}
.home-cta-section p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  position: relative;
}
.home-cta-section .btn { position: relative; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.83rem;
  cursor: pointer;
  border: none;
  transition: all var(--t-fast);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--t-fast);
}
.btn:hover::after { opacity: 1; }
.btn-primary {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: var(--bg);
  box-shadow: 0 2px 6px rgba(0, 217, 126, 0.15);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: var(--green-glow-strong); color: var(--bg); }
.btn-outline {
  background: transparent;
  color: var(--green);
  border: 1px solid var(--green-dim);
}
.btn-outline:hover { background: var(--green-soft); color: var(--text); border-color: var(--green); }
.btn-whatsapp {
  background: #25d366;
  color: #fff;
  box-shadow: 0 2px 6px rgba(37, 211, 102, 0.15);
}
.btn-whatsapp:hover { background: #1da851; color: #fff; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25); }
.btn-ghost {
  background: var(--bg-elevated);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.btn-ghost:hover { color: var(--text); border-color: var(--border-hover); background: var(--bg-card-hover); }
.btn-block { width: 100%; }
.btn-lg { padding: 0.85rem 2rem; font-size: 0.95rem; }
.btn-sm { padding: 0.4rem 0.8rem; font-size: 0.78rem; }

/* ===== FILTERS ===== */
.filters-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.3rem;
  padding: 0.9rem 1.1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.search-wrap { position: relative; flex: 1; min-width: 180px; }
.search-wrap .search-icon {
  position: absolute;
  left: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  pointer-events: none;
  display: flex;
}
.search-box {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.55rem 1rem 0.55rem 2.4rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  outline: none;
  transition: all var(--t-fast);
}
.search-box:focus { border-color: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.filters-bar select {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.83rem;
  cursor: pointer;
  outline: none;
  transition: border-color var(--t-fast);
}
.filters-bar select:hover { border-color: var(--border-hover); }
.filters-bar select:focus { border-color: var(--green); }
.results-count {
  font-size: 0.83rem;
  color: var(--text-muted);
  margin-left: auto;
  font-weight: 500;
}

/* ===== PRODUCT DETAIL ===== */
.product-detail { padding: 1.5rem 0 2.5rem; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.3rem;
  cursor: pointer;
  transition: all var(--t-fast);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
}
.back-link:hover { color: var(--green); border-color: var(--green-dim); transform: translateX(-2px); }
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.detail-gallery {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}
.detail-img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.detail-gallery:hover .detail-img { transform: scale(1.04); }
.detail-info h1 { font-size: 1.8rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 0.3rem; }
.detail-brand { color: var(--green); font-weight: 700; font-size: 0.83rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5rem; }
.detail-price { font-size: 2.5rem; font-weight: 900; color: var(--green); margin-bottom: 0.3rem; letter-spacing: -0.02em; }
.detail-price .currency { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }
.detail-price-note { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 1.4rem; }

.variant-group { margin-bottom: 1.2rem; }
.variant-label { font-size: 0.78rem; font-weight: 700; color: var(--text-secondary); margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 0.05em; }
.variant-options { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.variant-option {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.83rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--t-fast);
  background: var(--bg-card);
  user-select: none;
  font-weight: 500;
}
.variant-option:hover { border-color: var(--green-dim); color: var(--text); }
.variant-option.active { border-color: var(--green); background: var(--green-soft); color: var(--green); font-weight: 700; }

.detail-actions { display: flex; gap: 0.7rem; margin: 1.5rem 0; }
.detail-desc { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.8; margin-bottom: 1.8rem; }

.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.8rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.specs-table th, .specs-table td { padding: 0.7rem 1.1rem; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.875rem; }
.specs-table tr:last-child th, .specs-table tr:last-child td { border-bottom: none; }
.specs-table th { color: var(--text-muted); font-weight: 600; width: 40%; background: var(--bg-card); }
.specs-table td { color: var(--text); }
.specs-table tr:hover td { background: var(--bg-card-hover); }

.trust-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.3rem;
}
.trust-section h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.9rem; }
.trust-section ul { list-style: none; padding: 0; }
.trust-section ul li {
  padding: 0.45rem 0;
  color: var(--text-secondary);
  font-size: 0.875rem;
  position: relative;
  padding-left: 1.7rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.trust-section ul li svg { color: var(--green); flex-shrink: 0; position: absolute; left: 0; }

/* ===== CART ===== */
.cart-page { padding: 2rem 0; }
.cart-page h1 { font-size: 1.7rem; font-weight: 800; margin-bottom: 1.3rem; letter-spacing: -0.02em; }
.cart-empty {
  text-align: center;
  padding: 3.5rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
}
.cart-empty .icon-wrap { color: var(--text-dim); margin-bottom: 1rem; display: flex; justify-content: center; }
.cart-empty p { color: var(--text-secondary); font-size: 1rem; margin-bottom: 1.3rem; }

.cart-items { display: flex; flex-direction: column; gap: 0.7rem; margin-bottom: 1.8rem; }
.cart-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0.9rem;
  transition: border-color var(--t-fast);
}
.cart-item:hover { border-color: var(--border-hover); }
.cart-item-img { width: 60px; height: 60px; border-radius: var(--radius-sm); background: var(--bg-elevated); overflow: hidden; flex-shrink: 0; }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-weight: 700; font-size: 0.92rem; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-variant { font-size: 0.78rem; color: var(--text-muted); }

.cart-qty { display: flex; align-items: center; gap: 0.4rem; background: var(--bg-elevated); border-radius: var(--radius-sm); padding: 0.2rem; }
.cart-qty button {
  width: 26px; height: 26px;
  background: var(--bg-card);
  color: var(--text);
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t-fast);
}
.cart-qty button:hover { background: var(--green); color: var(--bg); }
.cart-qty span { min-width: 26px; text-align: center; font-weight: 700; font-size: 0.875rem; }

.cart-item-price { font-weight: 800; color: var(--green); font-size: 1.05rem; white-space: nowrap; }
.cart-item-remove {
  color: var(--text-dim);
  cursor: pointer;
  padding: 0.35rem;
  border-radius: var(--radius-xs);
  transition: all var(--t-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-item-remove:hover { color: var(--red); background: rgba(239, 68, 68, 0.1); }

.cart-summary { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.3rem; }
.cart-summary h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.9rem; }
.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.9rem;
}
.cart-total .label { font-size: 0.95rem; color: var(--text-secondary); }
.cart-total .amount { font-size: 1.8rem; font-weight: 900; color: var(--green); letter-spacing: -0.02em; }

/* ===== PAGES ===== */
.page-content { padding: 2rem 0 2.5rem; max-width: 800px; }
.page-content h1 { font-size: 2rem; font-weight: 800; margin-bottom: 1rem; letter-spacing: -0.02em; }
.page-content h2 { font-size: 1.25rem; font-weight: 700; margin-top: 2rem; margin-bottom: 0.7rem; color: var(--text); }
.page-content p { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 0.7rem; line-height: 1.8; }
.page-content ul { list-style: none; padding: 0; margin-bottom: 1rem; }
.page-content ul li { color: var(--text-secondary); padding: 0.4rem 0; padding-left: 1.6rem; position: relative; line-height: 1.6; }
.page-content ul li::before { content: ''; position: absolute; left: 0; top: 0.85rem; width: 5px; height: 5px; background: var(--green); border-radius: 50%; }

/* FAQ */
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); margin-bottom: 0.7rem; overflow: hidden; transition: border-color var(--t-fast); }
.faq-item:hover { border-color: var(--border-hover); }
.faq-question { padding: 1rem 1.2rem; font-weight: 700; font-size: 0.92rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: color var(--t-fast); }
.faq-question:hover { color: var(--green); }
.faq-question .arrow { transition: transform var(--t-base); display: flex; color: var(--text-muted); }
.faq-item.open .faq-question .arrow { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height var(--t-base); }
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p { padding: 0 1.2rem 1rem; color: var(--text-secondary); font-size: 0.875rem; line-height: 1.7; }

/* ===== ANIMATIONS ===== */
.fade-in { animation: fadeIn 0.4s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.stagger > * { animation: fadeIn 0.4s var(--ease) both; }
.stagger > *:nth-child(1) { animation-delay: 0.04s; }
.stagger > *:nth-child(2) { animation-delay: 0.08s; }
.stagger > *:nth-child(3) { animation-delay: 0.12s; }
.stagger > *:nth-child(4) { animation-delay: 0.16s; }
.stagger > *:nth-child(5) { animation-delay: 0.2s; }
.stagger > *:nth-child(6) { animation-delay: 0.24s; }
.stagger > *:nth-child(7) { animation-delay: 0.28s; }
.stagger > *:nth-child(8) { animation-delay: 0.32s; }

/* ===== WHATSAPP FLOAT ===== */
.wa-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 54px;
  height: 54px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 90;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  transition: all var(--t-base);
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45); }
.wa-float::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid #25d366;
  opacity: 0;
  animation: waPulse 2s infinite;
}
@keyframes waPulse { 0% { opacity: 0.5; transform: scale(1); } 100% { opacity: 0; transform: scale(1.35); } }

.back-to-top {
  position: fixed;
  bottom: 86px;
  right: 22px;
  width: 42px;
  height: 42px;
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  z-index: 89;
  opacity: 0;
  pointer-events: none;
  transition: all var(--t-base);
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { border-color: var(--green); color: var(--green); transform: translateY(-2px); }

/* ===== FOOTER ===== */
.footer { background: var(--bg-soft); border-top: 1px solid var(--border); margin-top: 3rem; padding: 2.5rem 0 1.3rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.2rem; margin-bottom: 1.8rem; }
.footer-brand { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-brand .logo-row { display: flex; align-items: center; gap: 0.55rem; }
.footer-brand .logo-row img { width: 34px; height: 34px; border-radius: 50%; }
.footer-brand .logo-row span { font-weight: 800; font-size: 1.05rem; }
.footer-brand .logo-row span .accent { color: var(--green); }
.footer-brand p { color: var(--text-muted); font-size: 0.83rem; line-height: 1.7; max-width: 290px; }
.footer-col h4 { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-muted); margin-bottom: 0.9rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a { color: var(--text-secondary); font-size: 0.85rem; transition: color var(--t-fast); }
.footer-col ul li a:hover { color: var(--green); }
.footer-contact-item { display: flex; align-items: center; gap: 0.5rem; color: var(--text-secondary); font-size: 0.83rem; margin-bottom: 0.5rem; }
.footer-contact-item svg { color: var(--green); flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom p { color: var(--text-dim); font-size: 0.78rem; }
.footer-bottom .payment-badges { display: flex; gap: 0.4rem; }
.footer-bottom .payment-badges span { padding: 0.2rem 0.55rem; border: 1px solid var(--border); border-radius: var(--radius-xs); background: var(--bg-card); font-size: 0.72rem; color: var(--text-muted); }

/* ===== TOAST ===== */
#toast {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  background: var(--bg-elevated);
  border: 1px solid var(--green-dim);
  color: var(--text);
  padding: 0.7rem 1.3rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.875rem;
  z-index: 200;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: all var(--t-base);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
#toast .toast-icon { color: var(--green); display: flex; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.8rem; }
  .footer-brand { grid-column: 1 / -1; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav {
    display: none;
    position: fixed;
    top: 0; right: 0;
    width: 270px;
    height: 100vh;
    flex-direction: column;
    background: var(--bg-soft);
    border-left: 1px solid var(--border);
    padding: 4.5rem 1rem 1rem;
    gap: 0.2rem;
    z-index: 99;
    transform: translateX(100%);
    transition: transform var(--t-base);
    box-shadow: var(--shadow-lg);
  }
  .nav.nav-open { display: flex; transform: translateX(0); }
  .nav a { padding: 0.75rem 1rem; width: 100%; font-size: 0.92rem; }
  .nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); backdrop-filter: blur(3px); z-index: 98; }
  .nav-overlay.show { display: block; }
  .menu-toggle { display: flex; }
  .detail-grid { grid-template-columns: 1fr; gap: 1.3rem; }
  .detail-gallery { position: static; }
  .detail-actions { flex-direction: column; }
  .filters-bar { flex-direction: column; align-items: stretch; }
  .filters-bar select { width: 100%; }
  .results-count { margin-left: 0; text-align: right; }
  .cart-item { flex-wrap: wrap; }
  .cart-item-price { width: 100%; text-align: right; }
  .hero { padding: 3rem 0 2rem; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.3rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .hero h1 { font-size: 1.9rem; }
  .hero p { font-size: 0.92rem; }
  .trust-badges { gap: 1rem; }
  .trust-badge { font-size: 0.73rem; }
  .product-grid { grid-template-columns: 1fr; }
  .detail-price { font-size: 2.1rem; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }
  .stat-value { font-size: 1.5rem; }
}