:root {
  color-scheme: light;
  --primary: #FF6B35;
  --primary-strong: #C2410C;
  --primary-dark: #9A3412;
  --price: #C2410C;
  --primary-light: #FFD9A8;
  --primary-soft: #FFF0E4;
  --accent: #2EC4B6;
  --accent-dark: #0F766E;
  --accent-soft: #E3F7F4;
  --bg: #FFF8F2;
  --bg-alt: #FFEFDF;
  --card-bg: #FFFFFF;
  --text: #2D2A32;
  --text-secondary: #5F5A66;
  --text-muted: #6E665E;
  --border: #F0E4D6;
  --border-strong: #E3D2BF;
  --shadow-sm: 0 1px 3px rgba(93, 62, 36, 0.06);
  --shadow: 0 6px 20px rgba(93, 62, 36, 0.08);
  --shadow-lg: 0 16px 40px rgba(93, 62, 36, 0.14);
  --header-bg: rgba(255, 248, 242, 0.88);
  --footer-bg: #2D2A32;
  --footer-text: #F5EFE8;
  --footer-muted: #B8B0A6;
  --whatsapp: #25D366;
  --whatsapp-dark: #075E54;
  --star: #F5A623;
  --success: #2F9E44;
  --danger: #E03131;
  --radius: 20px;
  --radius-md: 14px;
  --radius-pill: 999px;
  --font-heading: 'Baloo 2', 'Nunito', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, sans-serif;
}

[data-theme="dark"] {
  color-scheme: dark;
  --primary: #FF8B57;
  --primary-strong: #C2410C;
  --primary-dark: #9A3412;
  --price: #FF8B57;
  --primary-light: #C9753F;
  --primary-soft: #3A2A1E;
  --accent: #3ED6C8;
  --accent-dark: #2EC4B6;
  --accent-soft: #1F3331;
  --bg: #1B1815;
  --bg-alt: #26211B;
  --card-bg: #26211C;
  --text: #F5EFE8;
  --text-secondary: #CFC6BA;
  --text-muted: #978B7E;
  --border: #3A332B;
  --border-strong: #4A4137;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);
  --header-bg: rgba(27, 24, 21, 0.88);
  --footer-bg: #14110E;
  --footer-text: #F5EFE8;
  --footer-muted: #9C9286;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.3s, color 0.3s;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; }

button { font-family: inherit; cursor: pointer; }

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 999;
  padding: 0.6rem 1.2rem;
  background: var(--primary);
  color: #fff;
  border-radius: 0 0 10px 10px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s;
}

.skip-link:focus { top: 0; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Topbar */
.topbar {
  background: var(--text);
  color: var(--footer-text);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.45rem 0;
}

[data-theme="dark"] .topbar { background: #14110E; }

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  opacity: 0.92;
}

.topbar-item svg { color: var(--accent); }

.topbar-sep { opacity: 0.35; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--price);
  text-decoration: none;
  flex-shrink: 0;
}

.logo svg { width: 30px; height: 30px; }

.search-bar {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--card-bg);
  border: 2px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 0.55rem 1.1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  max-width: 480px;
}

.search-bar:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-soft);
}

.search-icon { color: var(--text-muted); flex-shrink: 0; }

.search-bar input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
}

.search-bar input::placeholder { color: var(--text-muted); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: auto;
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--card-bg);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
  position: relative;
}

.icon-btn:hover {
  border-color: var(--price);
  color: var(--price);
  transform: translateY(-1px);
}

.search-toggle { display: none; }

.icon-sun, .icon-moon { transition: opacity 0.25s, transform 0.25s; }

[data-theme="light"] .icon-moon { display: none; }
[data-theme="dark"] .icon-sun { display: none; }

.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  padding: 0 4px;
  border-radius: var(--radius-pill);
  background: var(--primary-strong);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}

.cart-count.bump { transform: scale(1.35); }

/* Search slide (mobile) */
.search-slide {
  position: sticky;
  top: 61px;
  z-index: 99;
  display: none;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 0.6rem 0;
}

.search-slide.open { display: block; }

.search-slide-inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--card-bg);
  border: 2px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 0.5rem 1rem;
  color: var(--text-muted);
}

.search-slide-inner:focus-within { border-color: var(--primary); }

.search-slide-inner input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
}

.search-slide-close {
  border: none;
  background: none;
  color: var(--text-muted);
  display: inline-flex;
  padding: 0.2rem;
}

/* Category nav */
.catnav {
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
}

.catnav-inner {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
  scrollbar-width: none;
}

.catnav-inner::-webkit-scrollbar { display: none; }

.catnav-link {
  flex-shrink: 0;
  border: 2px solid var(--border);
  background: var(--card-bg);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-pill);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.catnav-link:hover {
  border-color: var(--price);
  color: var(--price);
}

.catnav-link.active {
  background: var(--primary-strong);
  border-color: var(--primary-strong);
  color: #fff;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.hero::before {
  content: '';
  position: absolute;
  top: -220px;
  right: -160px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary-soft) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -240px;
  left: -180px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 3rem;
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.1rem;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.hero h1 span {
  color: var(--price);
}

.hero-sub {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 480px;
  margin-bottom: 1.6rem;
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 1.6rem;
}

.hero-btn,
.hero-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.85rem 1.7rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.hero-btn {
  background: var(--primary-strong);
  color: #fff;
  box-shadow: 0 8px 24px rgba(194, 65, 12, 0.35);
}

.hero-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(194, 65, 12, 0.45);
}

.hero-btn-outline {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border-strong);
}

.hero-btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
  transform: translateY(-2px);
}

.hero-trust {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.hero-trust svg { color: var(--success); }

.hero-visual { display: flex; justify-content: center; }

.hero-visual svg {
  width: 100%;
  max-width: 460px;
  height: auto;
  filter: drop-shadow(0 20px 30px rgba(93, 62, 36, 0.12));
}

/* Stats band */
.stats-band {
  background: var(--primary-strong);
  padding: 1.8rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
}

/* Sections */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.8rem;
}

.section-eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-dark);
  margin-bottom: 0.3rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  max-width: 560px;
  margin-top: 0.5rem;
}

.categories-section,
.products-section,
.content-section,
.compare-section,
.testimonials-section,
.faq-section {
  padding: 3.5rem 0;
}

/* Category grid */
.category-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  padding: 1.6rem 1rem;
  background: var(--card-bg);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-secondary);
  transition: border-color 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.category-card svg {
  width: 44px;
  height: 44px;
  color: var(--primary);
}

.category-card:hover {
  border-color: var(--price);
  color: var(--price);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.category-card.active {
  border-color: var(--price);
  background: var(--primary-soft);
  color: var(--price);
}

.category-card-name {
  font-size: 0.82rem;
  font-weight: 800;
}

/* Products */
.result-count {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--card-bg);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
  cursor: pointer;
}

.product-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.product-image-wrap {
  position: relative;
}

.product-image-btn {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--bg-alt);
  border: none;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.product-image-btn svg {
  width: 62%;
  height: 62%;
  color: var(--primary);
  transition: transform 0.3s;
}

.product-card:hover .product-image-btn svg { transform: scale(1.06) rotate(-2deg); }

.discount-badge {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  background: var(--danger);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-pill);
  z-index: 1;
}

.product-label {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  background: var(--accent-dark);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-pill);
  z-index: 1;
}

.product-info {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1rem 1.1rem 1.2rem;
  flex: 1;
}

.product-category {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--accent-dark);
}

.product-name {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
}

.stars { color: var(--star); letter-spacing: 1px; }

.reviews { color: var(--text-muted); }

.product-price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-top: 0.1rem;
}

.current {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--price);
}

.old {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.add-to-cart {
  margin-top: 0.6rem;
  border: none;
  border-radius: var(--radius-pill);
  background: var(--primary-strong);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.65rem 1rem;
  transition: background 0.2s, transform 0.2s;
}

.add-to-cart:hover { background: var(--primary-dark); transform: translateY(-1px); }

.add-to-cart:disabled {
  background: var(--success);
  cursor: default;
  opacity: 0.9;
  transform: none;
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3.5rem 1rem;
  color: var(--text-muted);
}

.empty-state svg {
  width: 72px;
  height: 72px;
  margin: 0 auto 0.8rem;
  color: var(--border-strong);
}

.empty-state h3 {
  font-family: var(--font-heading);
  color: var(--text);
  margin-bottom: 0.3rem;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.page-btn {
  min-width: 40px;
  height: 40px;
  padding: 0 0.6rem;
  border: 2px solid var(--border);
  background: var(--card-bg);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 800;
  border-radius: 12px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.page-btn:hover:not(:disabled):not(.active) {
  border-color: var(--price);
  color: var(--price);
}

.page-btn.active {
  background: var(--primary-strong);
  border-color: var(--primary-strong);
  color: #fff;
}

.page-btn:disabled {
  opacity: 0.45;
  cursor: default;
}

/* Content (AEO) */
.content-section { background: var(--bg-alt); }

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.content-block {
  background: var(--card-bg);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: border-color 0.2s, transform 0.2s;
}

.content-block:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.content-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
}

.content-block p {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

/* Comparison table */
.compare-table-wrap {
  overflow-x: auto;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--card-bg);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

.compare-table th,
.compare-table td {
  text-align: left;
  padding: 1rem 1.2rem;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--border);
}

.compare-table thead th {
  background: var(--primary-soft);
  color: var(--primary-strong);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td { border-bottom: none; }

.compare-table tbody tr:hover { background: var(--accent-soft); }

.compare-name {
  font-weight: 800;
  color: var(--text);
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.testimonial-card {
  background: var(--card-bg);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.testimonial-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.testimonial-stars {
  color: var(--star);
  font-size: 0.9rem;
  letter-spacing: 2px;
}

.testimonial-card blockquote {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-style: italic;
  flex: 1;
}

.testimonial-card figcaption {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary-strong);
  font-weight: 800;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial-card figcaption strong {
  display: block;
  font-size: 0.85rem;
}

.testimonial-card figcaption small {
  color: var(--text-muted);
  font-size: 0.72rem;
}

/* FAQ */
.faq-container { max-width: 780px; }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--card-bg);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item[open] { border-color: var(--price); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.25rem;
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  color: var(--text);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--price);
  flex-shrink: 0;
  transition: transform 0.25s;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item summary:hover { color: var(--price); }

.faq-item p {
  padding: 0 1.25rem 1.2rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Cart sidebar */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  z-index: 199;
  pointer-events: none;
  transition: background 0.3s;
}

.cart-overlay.open {
  background: rgba(0, 0, 0, 0.4);
  pointer-events: auto;
}

.cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  height: 100dvh;
  width: min(420px, 100%);
  background: var(--card-bg);
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
}

.cart-sidebar.open { transform: translateX(0); }

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.4rem;
  border-bottom: 1px solid var(--border);
}

.cart-header h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
}

.cart-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: none;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, color 0.2s;
}

.cart-close:hover { border-color: var(--danger); color: var(--danger); }

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1.2rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.cart-empty {
  text-align: center;
  color: var(--text-muted);
  padding: 2.5rem 0;
}

.cart-empty svg {
  width: 72px;
  height: 72px;
  margin: 0 auto 0.8rem;
  color: var(--border-strong);
}

.cart-item {
  display: flex;
  gap: 0.9rem;
  padding: 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.cart-item-image {
  width: 68px;
  height: 68px;
  flex-shrink: 0;
  background: var(--bg-alt);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-image svg {
  width: 70%;
  height: 70%;
  color: var(--primary);
}

.cart-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.cart-item-name {
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.3;
}

.cart-item-price {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: var(--price);
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.4rem;
}

.quantity-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--card-bg);
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, color 0.2s;
}

.quantity-btn:hover { border-color: var(--primary); color: var(--primary); }

.cart-item-quantity {
  min-width: 24px;
  text-align: center;
  font-weight: 800;
  font-size: 0.9rem;
}

.cart-item-remove {
  border: none;
  background: none;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  margin-left: auto;
}

.cart-item-remove:hover { color: var(--danger); }

.cart-footer {
  border-top: 1px solid var(--border);
  padding: 1.2rem 1.4rem;
}

.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.total-amount {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--price);
}

.free-ship-note {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--success);
  margin-bottom: 0.8rem;
}

.checkout-btn {
  width: 100%;
  border: none;
  border-radius: var(--radius-pill);
  background: var(--primary-strong);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  padding: 0.85rem;
  transition: background 0.2s;
}

.checkout-btn:hover { background: var(--primary-dark); }

/* Product modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 210;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.modal.open { display: flex; }

.product-modal-content {
  position: relative;
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  width: min(520px, 100%);
  max-height: 90dvh;
  overflow-y: auto;
  animation: modal-in 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.product-modal-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--card-bg);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, color 0.2s;
}

.product-modal-close:hover { border-color: var(--danger); color: var(--danger); }

.product-modal-image {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.product-modal-image svg {
  width: 42%;
  height: 42%;
  color: var(--primary);
}

.product-modal-info {
  padding: 1.4rem 1.6rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.product-modal-info h2 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.2;
}

.product-modal-rating {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.product-modal-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.product-modal-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.2rem 0;
}

.product-modal-specs span {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.8rem;
  font-size: 0.76rem;
  color: var(--text-secondary);
}

.product-modal-specs strong { color: var(--text); }

.product-modal-prices {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.product-modal-prices .current { font-size: 1.6rem; }

.product-modal-actions {
  display: flex;
  gap: 0.7rem;
  margin-top: 0.8rem;
  flex-wrap: wrap;
}

.product-modal-actions .add-to-cart { flex: 1; margin-top: 0; }

.whatsapp-btn-modal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 1.1rem;
  border-radius: var(--radius-pill);
  background: var(--whatsapp-dark);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.whatsapp-btn-modal:hover {
  background: #064D47;
  transform: translateY(-1px);
}

/* Toast */
.toast {
  position: fixed;
  bottom: 1.6rem;
  left: 50%;
  transform: translate(-50%, 20px);
  background: var(--text);
  color: var(--footer-text);
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  max-width: calc(100vw - 2rem);
  text-align: center;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Overlay */
#overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 195;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

#overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* Footer */
.footer-top {
  background: var(--primary-strong);
  padding: 2.6rem 0;
  text-align: center;
}

.footer-top h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.4rem;
}

.footer-top p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.92rem;
  margin-bottom: 1.2rem;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  color: var(--primary-strong);
  font-weight: 800;
  font-size: 0.88rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.footer-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

.footer-main {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 2rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  margin-bottom: 0.7rem;
}

.footer-logo svg { width: 26px; height: 26px; }

.footer-brand p {
  color: var(--footer-muted);
  font-size: 0.85rem;
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--footer-muted);
  color: var(--footer-muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.social-link:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.social-link svg {
  width: 16px;
  height: 16px;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  margin-bottom: 0.9rem;
}

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: 0.45rem; }

.footer-col a {
  color: var(--footer-muted);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--primary); }

.footer-bottom {
  background: #14110E;
  color: var(--footer-muted);
  font-size: 0.78rem;
  padding: 1.1rem 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.footer-bottom a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
}

.footer-bottom a:hover { text-decoration: underline; }

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  bottom: 1.4rem;
  right: 1.4rem;
  z-index: 180;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  transition: transform 0.25s, box-shadow 0.25s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.55);
}

/* Responsive */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .category-grid { grid-template-columns: repeat(5, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 3rem; padding-bottom: 3rem; gap: 2rem; }
  .hero-visual { order: -1; }
  .hero-visual svg { max-width: 320px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .content-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .search-bar { display: none; }
  .search-toggle { display: inline-flex; }
  .header-inner { gap: 1rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .section-title { font-size: 1.5rem; }
  .section-header { align-items: flex-start; flex-direction: column; }
  .categories-section, .products-section, .content-section, .compare-section, .testimonials-section, .faq-section { padding: 2.5rem 0; }
}

@media (max-width: 420px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-actions { flex-direction: column; }
  .hero-btn, .hero-btn-outline { justify-content: center; }
  .logo { font-size: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
