:root {
  --white: #ffffff;
  --black: #000000;
  --primary: #0891b2;
  --primary-dark: #0e7490;
  --primary-light: #22d3ee;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --success: #10b981;
  --danger: #ef4444;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --bg: var(--white);
  --bg-alt: var(--gray-50);
  --text: var(--gray-900);
  --text-secondary: var(--gray-600);
  --text-muted: var(--gray-400);
  --border: var(--gray-200);
  --card-bg: var(--white);
  --card-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --card-shadow-hover: 0 10px 25px rgba(0,0,0,0.1), 0 4px 10px rgba(0,0,0,0.05);
  --header-bg: rgba(255,255,255,0.9);
  --overlay-bg: rgba(0,0,0,0.5);
  --sidebar-bg: var(--white);
  --modal-bg: var(--white);
  --input-bg: var(--gray-50);
  --slider-overlay: rgba(0,0,0,0.3);
  --badge-bg: var(--danger);
  --toast-bg: var(--gray-900);
  --toast-text: var(--white);
  --whatsapp: #25d366;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.15);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  --bg: var(--gray-900);
  --bg-alt: var(--gray-800);
  --text: var(--gray-50);
  --text-secondary: var(--gray-300);
  --text-muted: var(--gray-500);
  --border: var(--gray-700);
  --card-bg: var(--gray-800);
  --card-shadow: 0 1px 3px rgba(0,0,0,0.3);
  --card-shadow-hover: 0 10px 25px rgba(0,0,0,0.4);
  --header-bg: rgba(15,23,42,0.95);
  --overlay-bg: rgba(0,0,0,0.7);
  --sidebar-bg: var(--gray-800);
  --modal-bg: var(--gray-800);
  --input-bg: var(--gray-700);
  --slider-overlay: rgba(0,0,0,0.5);
  --toast-bg: var(--gray-700);
  --toast-text: var(--gray-50);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  transition: background var(--transition), color var(--transition);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; font-size: inherit; }
input { font-family: inherit; font-size: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), border-color var(--transition);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 68px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.logo {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo svg { width: 28px; height: 28px; }
.search-bar {
  flex: 1;
  max-width: 480px;
  position: relative;
}
.search-bar input {
  width: 100%;
  padding: 0.6rem 1rem 0.6rem 2.75rem;
  border: 2px solid var(--border);
  border-radius: 100px;
  background: var(--input-bg);
  color: var(--text);
  font-size: 0.9rem;
  transition: border-color var(--transition), background var(--transition);
  outline: none;
}
.search-bar input:focus { border-color: var(--primary); }
.search-bar .search-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.theme-toggle, .cart-btn, .login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  transition: background var(--transition), color var(--transition);
  font-size: 0.9rem;
}
.theme-toggle:hover, .cart-btn:hover, .login-btn:hover {
  background: var(--border);
  color: var(--text);
}
.cart-btn { position: relative; }
.cart-count {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--badge-bg);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.cart-count.visible { transform: scale(1); }
.login-btn {
  padding: 0.5rem 1rem;
  background: var(--primary);
  color: #fff;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.85rem;
}
.login-btn:hover { background: var(--primary-dark); color: #fff; }

/* Search toggle (mobile) */
.search-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--text-secondary);
  flex-shrink: 0;
}
.search-toggle:hover { color: var(--text); }

/* Search slide-down (mobile) */
.search-slide {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  z-index: 99;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--primary);
  padding: 0.6rem 0;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.search-slide.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.search-slide-inner {
  position: relative;
  display: flex;
  align-items: center;
}
.search-slide-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  flex-shrink: 0;
}
.search-slide input {
  width: 100%;
  padding: 0.55rem 2.75rem 0.55rem 2.5rem;
  border: 2px solid var(--border);
  border-radius: 100px;
  background: var(--bg);
  color: var(--text);
  font-size: 0.9rem;
  outline: none;
}
.search-slide input:focus { border-color: var(--primary); }
.search-slide-close {
  position: absolute;
  right: 0.35rem;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  border-radius: 50%;
}
.search-slide-close:hover { background: var(--border); color: var(--text); }

/* Hero Slider */
.hero-slider {
  margin-top: 68px;
  position: relative;
  overflow: hidden;
  height: 420px;
}
.slider-container {
  display: flex;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
  padding: 0 5rem;
}
.slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--slider-overlay);
  z-index: 1;
}
.slide:nth-child(1) { background: linear-gradient(135deg, #0c4a6e, #0891b2); }
.slide:nth-child(2) { background: linear-gradient(135deg, #065f46, #10b981); }
.slide:nth-child(3) { background: linear-gradient(135deg, #7c2d12, #ea580c); }
.slide-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 560px;
}
.slide-content .tag {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
.slide-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
.slide-content p {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.slide-content .btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: #fff;
  color: var(--gray-900);
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform var(--transition), box-shadow var(--transition);
}
.slide-content .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.slide-illustration {
  position: absolute;
  right: 5rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  opacity: 0.3;
}
.slide-illustration svg { width: 280px; height: 280px; }
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.slider-btn:hover { background: rgba(255,255,255,0.35); }
.slider-btn.prev { left: 1.5rem; }
.slider-btn.next { right: 1.5rem; }
.slider-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}
.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  transition: background var(--transition), transform var(--transition);
  cursor: pointer;
}
.slider-dot.active { background: #fff; transform: scale(1.3); }

/* Categories */
.categories {
  display: flex;
  gap: 0.5rem;
  padding: 1.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  flex-wrap: nowrap;
  -ms-overflow-style: none;
}
.categories::-webkit-scrollbar { display: none; }
.category-btn {
  padding: 0.55rem 1.25rem;
  border-radius: 100px;
  background: var(--bg-alt);
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.85rem;
  white-space: nowrap;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.category-btn:hover { border-color: var(--primary); color: var(--primary); }
.category-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Products Section */
.products-section { padding: 1rem 1.5rem 4rem; }
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.section-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.section-header .result-count {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

/* Product Card */
.product-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--primary-light);
}
.product-image {
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
}
.product-image svg { width: 50%; height: 50%; opacity: 0.4; }
.product-image .discount-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--danger);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
}
.product-info {
  padding: 1rem 1.25rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-category {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}
.product-name {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  line-height: 1.3;
}
.product-rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}
.product-rating .stars { color: var(--accent); font-size: 0.85rem; }
.product-rating .count { font-size: 0.8rem; color: var(--text-muted); }
.product-price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 1rem;
  margin-top: auto;
}
.product-price .current {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
}
.product-price .old {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: line-through;
}
.add-to-cart {
  width: 100%;
  padding: 0.65rem;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background var(--transition), transform var(--transition);
}
.add-to-cart:hover { background: var(--primary-dark); }
.add-to-cart:active { transform: scale(0.97); }

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 2.5rem;
}
.page-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.page-btn:hover { border-color: var(--primary); color: var(--primary); }
.page-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.page-btn:disabled { opacity: 0.4; pointer-events: none; }

/* Cart Sidebar */
.overlay {
  position: fixed;
  inset: 0;
  background: var(--overlay-bg);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.overlay.open { opacity: 1; pointer-events: auto; }
.cart-sidebar {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  max-width: 100vw;
  height: 100vh;
  background: var(--sidebar-bg);
  z-index: 300;
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -10px 0 40px rgba(0,0,0,0.1);
}
.cart-sidebar.open { right: 0; }
.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
.cart-header h3 { font-size: 1.15rem; font-weight: 700; }
.cart-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: background var(--transition);
}
.cart-close:hover { background: var(--border); }
.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.5rem;
}
.cart-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
}
.cart-empty svg { width: 64px; height: 64px; margin-bottom: 1rem; opacity: 0.5; }
.cart-empty p { font-size: 0.95rem; }
.cart-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.cart-item:last-child { border-bottom: none; }
.cart-item-image {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-item-image svg { width: 32px; height: 32px; opacity: 0.4; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: 0.9rem; font-weight: 600; margin-bottom: 0.2rem; }
.cart-item-price { font-size: 0.9rem; color: var(--primary); font-weight: 700; }
.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.quantity-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-secondary);
  transition: background var(--transition), color var(--transition);
}
.quantity-btn:hover { background: var(--border); color: var(--text); }
.cart-item-quantity {
  font-weight: 600;
  font-size: 0.95rem;
  min-width: 24px;
  text-align: center;
}
.cart-item-remove {
  margin-left: auto;
  color: var(--text-muted);
  font-size: 0.8rem;
  padding: 0.25rem;
  transition: color var(--transition);
}
.cart-item-remove:hover { color: var(--danger); }
.cart-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border);
}
.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.cart-total span:first-child { font-weight: 600; font-size: 0.95rem; }
.cart-total .total-amount { font-size: 1.35rem; font-weight: 800; color: var(--primary); }
.checkout-btn {
  width: 100%;
  padding: 0.8rem;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  transition: background var(--transition);
}
.checkout-btn:hover { background: var(--primary-dark); }

/* Login Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.modal.open { opacity: 1; pointer-events: auto; }
.modal-content {
  background: var(--modal-bg);
  border-radius: var(--radius-lg);
  width: 420px;
  max-width: 90vw;
  padding: 2.5rem;
  position: relative;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: background var(--transition);
}
.modal-close:hover { background: var(--border); }
.modal-content .logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-align: center;
  margin-bottom: 0.35rem;
}
.modal-content .modal-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.75rem;
}
.auth-tabs {
  display: flex;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  padding: 0.25rem;
  margin-bottom: 1.5rem;
}
.auth-tab {
  flex: 1;
  padding: 0.55rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: all var(--transition);
  text-align: center;
}
.auth-tab.active {
  background: var(--modal-bg);
  color: var(--text);
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.form-group {
  margin-bottom: 1rem;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-secondary);
}
.form-group input {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--input-bg);
  color: var(--text);
  font-size: 0.95rem;
  transition: border-color var(--transition), background var(--transition);
  outline: none;
}
.form-group input:focus { border-color: var(--primary); }
.auth-submit {
  width: 100%;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  margin-top: 0.5rem;
  transition: background var(--transition);
}
.auth-submit:hover { background: var(--primary-dark); }
.auth-divider {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin: 1rem 0;
  position: relative;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 42%;
  height: 1px;
  background: var(--border);
}
.auth-divider::before { left: 0; }
.auth-divider::after { right: 0; }

/* Toast */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--toast-bg);
  color: var(--toast-text);
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  z-index: 500;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* WhatsApp Button */
.whatsapp-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
}
.whatsapp-btn svg { width: 28px; height: 28px; fill: #fff; }

/* Footer */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 3rem 1.5rem 1.5rem;
  margin-top: 2rem;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
}
.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.footer-col p, .footer-col a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: block;
  margin-bottom: 0.5rem;
}
.footer-col a:hover { color: var(--primary); }
.footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom a { color: var(--primary); }

/* Product Modal */
.product-modal-content {
  width: 560px;
  max-width: 90vw;
  padding: 0;
  overflow: hidden;
  background: var(--modal-bg);
}
.product-modal-body {
  display: flex;
  flex-direction: column;
}
.product-modal-image {
  width: 100%;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  position: relative;
}
.product-modal-image svg {
  width: 120px;
  height: 120px;
  opacity: 0.3;
}
.product-modal-image .discount-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--danger);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
}
.product-modal-info {
  padding: 1.5rem 2rem 2rem;
  background: var(--modal-bg);
}
.product-modal-info .product-category {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}
.product-modal-info h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.product-modal-rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}
.product-modal-rating .stars { color: var(--accent); font-size: 0.95rem; }
.product-modal-rating .count { font-size: 0.85rem; color: var(--text-muted); }
.product-modal-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.product-modal-prices {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}
.product-modal-prices .current {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
}
.product-modal-prices .old {
  font-size: 1rem;
  color: var(--text-muted);
  text-decoration: line-through;
}
.product-modal-actions {
  display: flex;
  gap: 0.75rem;
}
.product-modal-actions .add-to-cart {
  flex: 1;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  transition: background var(--transition);
}
.product-modal-actions .add-to-cart:hover { background: var(--primary-dark); }
.product-modal-actions .add-to-cart:disabled {
  background: var(--border);
  color: var(--text-muted);
  cursor: default;
}
.product-modal-actions .whatsapp-btn-modal {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-sm);
  background: var(--whatsapp);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity var(--transition);
}
.product-modal-actions .whatsapp-btn-modal:hover { opacity: 0.9; }
.product-modal-actions .whatsapp-btn-modal svg { width: 20px; height: 20px; fill: #fff; }

@media (max-width: 480px) {
  .product-modal-actions {
    flex-direction: column;
  }
  .product-modal-info { padding: 1rem 1.25rem 1.5rem; }
  .product-modal-info h2 { font-size: 1.15rem; }
  .product-modal-prices .current { font-size: 1.3rem; }
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-muted);
  grid-column: 1 / -1;
}
.empty-state svg { width: 80px; height: 80px; margin-bottom: 1rem; opacity: 0.4; }
.empty-state h3 { font-size: 1.2rem; color: var(--text-secondary); margin-bottom: 0.5rem; }
.empty-state p { font-size: 0.9rem; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* Responsive */
@media (max-width: 768px) {
  .header-inner { gap: 0.75rem; height: 60px; }
  .search-bar input { padding: 0.5rem 0.75rem 0.5rem 2.25rem; font-size: 0.85rem; }
  .hero-slider { height: 320px; margin-top: 60px; }
  .slide { padding: 0 2rem; }
  .slide-content h2 { font-size: 1.6rem; }
  .slide-content p { font-size: 0.9rem; }
  .slide-illustration { display: none; }
  .slider-btn { width: 36px; height: 36px; font-size: 1.15rem; }
  .slider-btn.prev { left: 0.75rem; }
  .slider-btn.next { right: 0.75rem; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; }
  .product-info { padding: 0.75rem 1rem 1rem; }
  .product-price .current { font-size: 1.1rem; }
  .cart-sidebar { width: 100vw; right: -100vw; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .login-btn span { display: none; }
}

@media (max-width: 540px) {
  .header-inner { justify-content: space-between; }
  .search-toggle { display: flex; }
  .search-bar { display: none; }
  .logo .logo-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .hero-slider { margin-top: 60px; }
}
@media (max-width: 480px) {
  .hero-slider { height: 260px; }
  .slide-content h2 { font-size: 1.3rem; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .categories { padding: 1rem; }
  .footer-grid { grid-template-columns: 1fr; }
}
