:root {
  --coral: #e85d3a;
  --coral-dark: #d04a2a;
  --coral-light: #f28b70;
  --coral-bg: #fef3ef;
  --navy: #1e3a5f;
  --navy-light: #2d5080;
  --navy-muted: #5a7394;
  --gold: #d4a030;
  --gold-light: #f0c860;
  --bg: #fcf7f4;
  --card-bg: #ffffff;
  --card-border: #ece2dc;
  --text: #2c1810;
  --text-secondary: #6b5346;
  --text-muted: #a68e82;
  --accent: var(--coral);
  --accent-dark: var(--coral-dark);
  --secondary: var(--navy);
  --header-bg: rgba(252,247,244,0.9);
  --overlay-bg: rgba(30,20,15,0.35);
  --sidebar-bg: #ffffff;
  --modal-bg: #ffffff;
  --input-bg: #fcf7f4;
  --badge-bg: var(--gold);
  --toast-bg: var(--coral);
  --toast-text: #fff;
  --whatsapp: #25d366;
  --footer-bg: #1e3a5f;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 1px 3px rgba(30,20,15,0.04), 0 1px 2px rgba(30,20,15,0.03);
  --shadow-md: 0 4px 16px rgba(30,20,15,0.06), 0 2px 4px rgba(30,20,15,0.03);
  --shadow-lg: 0 12px 40px rgba(30,20,15,0.08);
  --radius: 16px;
  --radius-sm: 10px;
}

[data-theme="dark"] {
  --bg: #14101e;
  --card-bg: #1e1a30;
  --card-border: #2d2845;
  --text: #ece8f5;
  --text-secondary: #a69dbd;
  --text-muted: #6b6385;
  --header-bg: rgba(20,16,30,0.9);
  --overlay-bg: rgba(0,0,0,0.5);
  --sidebar-bg: #1e1a30;
  --modal-bg: #1e1a30;
  --input-bg: #2d2845;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.5);
  --toast-bg: var(--coral);
  --footer-bg: #0e0b18;
  --coral-bg: #2d1530;
  --card-border: #2d2845;
}

*, *::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;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; font-size: inherit; }
input { font-family: inherit; font-size: inherit; }
::selection { background: var(--coral); color: white; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

body::before {
  content: '';
  position: fixed;
  top: -30%;
  right: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(232,93,58,0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--card-border);
  transition: background var(--transition);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 1rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
  flex-shrink: 0;
  letter-spacing: -0.03em;
}
.logo svg { flex-shrink: 0; color: var(--coral); }
.search-bar {
  flex: 1;
  max-width: 400px;
  position: relative;
}
.search-bar input {
  width: 100%;
  padding: 0.55rem 1rem 0.55rem 2.5rem;
  border: 1px solid var(--card-border);
  border-radius: 100px;
  background: var(--input-bg);
  color: var(--text);
  font-size: 0.85rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.search-bar input:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(232,93,58,0.1);
}
.search-bar .search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
  pointer-events: none;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--text-secondary);
  transition: all var(--transition);
}
.theme-toggle:hover { color: var(--coral); }
.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(--coral); }
.cart-btn {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.45rem 0.9rem;
  background: var(--navy);
  color: white;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  transition: all var(--transition);
}
.cart-btn:hover { background: var(--navy-light); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(30,58,95,0.25); }
.cart-count {
  background: var(--gold);
  color: var(--navy);
  padding: 0.05rem 0.45rem;
  font-size: 0.7rem;
  font-weight: 800;
  border-radius: 100px;
}
.login-btn {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.9rem;
  background: transparent;
  border: 1px solid var(--card-border);
  border-radius: 100px;
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  transition: all var(--transition);
}
.login-btn:hover { background: var(--coral); color: white; border-color: var(--coral); }

/* Search slide (mobile) */
.search-slide {
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  z-index: 99;
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--card-border);
  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 {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 1.5rem;
}
.search-slide-icon {
  display: flex;
  align-items: center;
  padding: 0 0 0 0.75rem;
  color: var(--text-secondary);
  pointer-events: none;
  flex-shrink: 0;
}
.search-slide-icon svg { display: block; }
.search-slide input {
  flex: 1;
  min-width: 0;
  padding: 0.55rem 0.5rem;
  border: 1px solid var(--card-border);
  border-radius: 100px;
  background: var(--input-bg);
  color: var(--text);
  font-size: 0.9rem;
  outline: none;
}
.search-slide input:focus { border-color: var(--coral); box-shadow: 0 0 0 3px rgba(232,93,58,0.1); }
.search-slide input::placeholder { color: var(--text-muted); }
.search-slide-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  color: var(--text-secondary);
}
.search-slide-close:hover { color: var(--text); }
.search-slide-close:hover { color: var(--text); }

/* Hero Slider */
.slider-section { margin-top: 68px; }
.slider {
  position: relative;
  height: 420px;
  overflow: hidden;
  margin: 1.5rem 1.5rem 0;
  border-radius: var(--radius);
}
.slider-container {
  display: flex;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 4rem;
  position: relative;
}
.slide-content {
  position: relative;
  z-index: 1;
  max-width: 500px;
}
.slide-content .tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.75rem;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
  border-radius: 100px;
}
.slide-content h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: white;
  line-height: 1.1;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
.slide-content p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 420px;
}
.slide-content .btn.slide-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.8rem;
  background: white;
  color: var(--navy);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
  transition: all var(--transition);
}
.slide-content .btn.slide-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.slider-btn.prev, .slider-btn.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
  color: white;
  border-radius: 50%;
  transition: background var(--transition);
  font-size: 1.2rem;
}
.slider-btn.prev:hover, .slider-btn.next:hover { background: rgba(255,255,255,0.35); }
.slider-btn.prev { left: 1rem; }
.slider-btn.next { right: 1rem; }
.slider-dots {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 0.5rem;
}
.slider-dot {
  width: 8px;
  height: 8px;
  background: rgba(255,255,255,0.35);
  border-radius: 50%;
  transition: all var(--transition);
}
.slider-dot.active { background: white; transform: scale(1.3); }

/* Categories */
.categories {
  padding: 2rem 0 1.5rem;
}
.category-list {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.category-btn {
  padding: 0.5rem 1.2rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  border-radius: 100px;
  transition: all var(--transition);
}
.category-btn:hover {
  border-color: var(--coral);
  color: var(--coral);
}
.category-btn.active {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}

/* Products Section */
.products-section {
  padding: 0.5rem 0 3rem;
}
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.section-title {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.product-grid, #products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.product-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: all var(--transition);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product-image {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--coral-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-image svg, .product-image img {
  width: 48px;
  height: 48px;
  opacity: 0.2;
  color: var(--coral);
  transition: transform 0.5s ease, opacity var(--transition);
}
.product-card:hover .product-image svg { transform: scale(1.15); opacity: 0.35; }
.discount-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.2rem 0.65rem;
  font-size: 0.65rem;
  font-weight: 700;
  background: var(--gold);
  color: var(--navy);
  border-radius: 100px;
}
.product-info {
  padding: 0.9rem 1rem 1rem;
}
.product-category {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--coral-light);
  margin-bottom: 0.25rem;
}
.product-name {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  line-height: 1.3;
}
.product-rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.4rem;
}
.product-rating .stars { color: var(--gold); font-size: 0.7rem; letter-spacing: 1px; }
.product-rating .reviews { font-size: 0.65rem; color: var(--text-muted); }
.product-price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}
.product-price .current {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--coral);
}
.product-price .old {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-decoration: line-through;
}
.add-to-cart {
  width: 100%;
  padding: 0.6rem;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 100px;
  background: var(--navy);
  color: white;
  transition: all var(--transition);
}
.add-to-cart:hover { background: var(--navy-light); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(30,58,95,0.2); }
.add-to-cart:disabled { opacity: 0.5; cursor: default; transform: none; box-shadow: none; }

/* Page buttons */
.page-btn {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  color: var(--text-secondary);
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 700;
  transition: all var(--transition);
}
.page-btn:hover { border-color: var(--coral); color: var(--coral); }
.page-btn.active { background: var(--navy); color: white; border-color: var(--navy); }
.page-btn:disabled { opacity: 0.4; }
.empty-state {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 3rem 1rem;
  color: var(--text-muted);
  text-align: center;
}
.empty-state svg { width: 48px; height: 48px; opacity: 0.3; }
.empty-state h3 { font-size: 1rem; font-weight: 700; color: var(--text-secondary); }
.empty-state p { font-size: 0.85rem; }

/* Cart Sidebar */
.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--overlay-bg);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.cart-overlay.open { opacity: 1; pointer-events: all; }
.cart-sidebar {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  max-width: 90vw;
  height: 100%;
  z-index: 300;
  background: var(--sidebar-bg);
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: -10px 0 40px rgba(30,20,15,0.06);
}
.cart-sidebar.open { right: 0; }
.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--card-border);
}
.cart-header h3 { font-size: 1.1rem; font-weight: 800; }
.cart-close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: color var(--transition);
}
.cart-close:hover { color: var(--coral); }
.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 0.75rem 1.25rem;
}
.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--text-muted);
  gap: 0.75rem;
}
.cart-empty svg { opacity: 0.3; }
.cart-item {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--card-border);
}
.cart-item:last-child { border-bottom: none; }
.cart-item-image {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  background: var(--coral-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-item-image svg { width: 24px; height: 24px; opacity: 0.3; color: var(--coral); }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: 0.85rem; font-weight: 700; margin-bottom: 0.15rem; }
.cart-item-price { font-size: 0.85rem; color: var(--coral); font-weight: 700; }
.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.4rem;
}
.quantity-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--card-border);
  color: var(--text-secondary);
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: 700;
  transition: all var(--transition);
}
.quantity-btn:hover { border-color: var(--coral); color: var(--coral); }
.cart-item-quantity {
  font-size: 0.8rem;
  font-weight: 700;
  min-width: 20px;
  text-align: center;
}
.cart-item-remove {
  background: none;
  color: var(--text-muted);
  font-size: 0.7rem;
  margin-left: 0.25rem;
  transition: color var(--transition);
}
.cart-item-remove:hover { color: var(--coral); }
.cart-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--card-border);
}
.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}
.cart-total span:first-child { font-weight: 700; font-size: 0.9rem; }
.cart-total .total-amount {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--coral);
}
.checkout-btn {
  width: 100%;
  padding: 0.75rem;
  background: var(--navy);
  color: white;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
  transition: all var(--transition);
}
.checkout-btn:hover { background: var(--navy-light); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(30,58,95,0.25); }

/* Product Modal */
.modal, #product-modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: var(--overlay-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  overflow: hidden;
}
.modal.open, #product-modal.open { opacity: 1; pointer-events: all; }
#product-modal .product-modal-content {
  display: flex;
  flex-direction: column;
  background: var(--modal-bg);
  max-width: 440px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  border-radius: var(--radius);
  transform: translateY(20px);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
#product-modal.open .product-modal-content { transform: translateY(0); }
.modal.open .modal-content { transform: translateY(0); }
.product-modal-image {
  aspect-ratio: 16/9;
  background: var(--coral-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: var(--radius) var(--radius) 0 0;
}
.product-modal-image svg { width: 64px; height: 64px; opacity: 0.15; color: var(--coral); }
.product-modal-info {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.product-modal-info .product-category {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--coral-light);
}
.product-modal-info h2 {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--navy);
}
.product-modal-rating .stars { color: var(--gold); font-size: 0.85rem; }
.product-modal-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
.product-modal-prices .current {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--coral);
}
.product-modal-prices .old {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 0.5rem;
}
.product-modal-actions {
  display: flex;
  gap: 0.65rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--card-border);
}
.product-modal-actions .add-to-cart {
  flex: 1;
  padding: 0.7rem 1rem;
  background: var(--navy);
  color: white;
  font-weight: 700;
  font-size: 0.85rem;
}
.product-modal-actions .add-to-cart:hover { background: var(--navy-light); }
.whatsapp-btn-modal {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--whatsapp);
  color: white;
  border-radius: 50%;
  flex-shrink: 0;
  transition: transform var(--transition);
}
.whatsapp-btn-modal:hover { transform: scale(1.1); }
.whatsapp-btn-modal svg { width: 20px; height: 20px; }
.product-modal-close {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card-bg);
  color: var(--text-secondary);
  border-radius: 50%;
  transition: all var(--transition);
}
.product-modal-close:hover { color: var(--coral); }

/* Auth Modal */
.modal-content {
  background: var(--modal-bg);
  width: 100%;
  max-width: 400px;
  padding: 2rem;
  border-radius: var(--radius);
  transform: translateY(20px);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.auth-tabs {
  display: flex;
  background: var(--input-bg);
  border-radius: 100px;
  padding: 0.2rem;
  margin-bottom: 1.5rem;
}
.auth-tab {
  flex: 1;
  padding: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  border-radius: 100px;
  transition: all var(--transition);
}
.auth-tab.active {
  background: var(--navy);
  color: white;
}
.auth-form { display: flex; flex-direction: column; gap: 1rem; }
.auth-form h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 0.25rem; color: var(--navy); }
.form-group { display: flex; flex-direction: column; gap: 0.25rem; }
.form-group label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
}
.form-group input {
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--card-border);
  border-radius: 100px;
  background: var(--input-bg);
  color: var(--text);
  font-size: 0.9rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(232,93,58,0.1);
}
.auth-submit {
  padding: 0.7rem;
  background: var(--navy);
  color: white;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
  transition: all var(--transition);
  margin-top: 0.5rem;
}
.auth-submit:hover { background: var(--navy-light); }

/* Toast */
.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  z-index: 500;
  background: var(--toast-bg);
  color: var(--toast-text);
  padding: 0.7rem 1.3rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(232,93,58,0.2);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Footer */
.footer {
  background: var(--footer-bg);
  color: rgba(255,255,255,0.6);
  padding: 3rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
}
.footer-brand .logo { color: var(--gold-light); }
.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
  margin-top: 0.75rem;
  max-width: 280px;
}
.footer-col h4 {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: white;
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col li { font-size: 0.85rem; }
.footer-col a { color: rgba(255,255,255,0.4); transition: color var(--transition); }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}
.footer-bottom a { color: var(--gold-light); }

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 50;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--whatsapp);
  color: white;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(37,211,102,0.3);
  transition: all var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); }

/* Overlay */
#overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
}
#overlay.open {
  background: var(--overlay-bg);
  pointer-events: all;
}

/* Responsive */
@media (max-width: 900px) {
  .product-grid, #products-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .slider { margin: 1rem 1rem 0; height: 360px; }
  .slide { padding: 0 2.5rem; }
  .slide-content h2 { font-size: 1.8rem; }
}
@media (max-width: 768px) {
  .header-inner { height: 60px; gap: 0.5rem; }
  .search-bar input { font-size: 0.8rem; padding: 0.45rem 0.75rem 0.45rem 2.25rem; }
  .login-btn span { display: none; }
  .slider-section { margin-top: 60px; }
  .slider { height: 320px; margin: 1rem 1rem 0; border-radius: 12px; }
  .slide-content h2 { font-size: 1.5rem; }
  .slide-content p { font-size: 0.85rem; }
  .slider-dot { width: 6px; height: 6px; }
  .cart-sidebar { width: 100vw; right: -100vw; }
  .product-modal-image { aspect-ratio: 16/9; }
  .product-modal-info { padding: 1.25rem; }
}
@media (max-width: 540px) {
  .header-inner { justify-content: space-between; }
  .search-toggle { display: flex; }
  .search-bar { display: none; }
  .slider { margin: 0.75rem 0.75rem 0; height: 280px; border-radius: 12px; }
  .slide { padding: 0 1.5rem; }
  .slide-content h2 { font-size: 1.3rem; }
  .slide-content p { font-size: 0.8rem; }
  .slide-content .btn.slide-cta { padding: 0.55rem 1.2rem; font-size: 0.75rem; }
  .slider-btn.prev, .slider-btn.next { width: 34px; height: 34px; font-size: 1rem; }
  .slider-btn.prev { left: 0.5rem; }
  .slider-btn.next { right: 0.5rem; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 0.25rem; }
  .categories { padding: 1.5rem 0 1.25rem; }
  .category-list { gap: 0.35rem; }
  .category-btn { padding: 0.45rem 0.95rem; font-size: 0.7rem; }
  .cart-sidebar { width: 100%; right: -100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}
@media (max-width: 480px) {
  .product-grid, #products-grid { grid-template-columns: 1fr 1fr; gap: 0.65rem; }
  .slider { height: 240px; margin: 0.5rem 0.5rem 0; border-radius: 10px; }
  .slide-content h2 { font-size: 1.1rem; }
  .slide-content .tag { font-size: 0.55rem; padding: 0.15rem 0.6rem; }
  .product-info { padding: 0.7rem 0.75rem 0.85rem; }
  .product-price .current { font-size: 1rem; }
  .product-name { font-size: 0.8rem; }
  .product-category { font-size: 0.55rem; }
}
