/* ═══════════════════ RESET & BASE ═══════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --emerald-50: #ecfdf5; --emerald-100: #d1fae5; --emerald-200: #a7f3d0;
  --emerald-300: #6ee7b7; --emerald-400: #34d399; --emerald-500: #10b981;
  --emerald-600: #059669; --emerald-700: #047857; --emerald-800: #065f46;
  --emerald-900: #064e3b;
  --slate-50: #f8fafc; --slate-100: #f1f5f9; --slate-200: #e2e8f0;
  --slate-300: #cbd5e1; --slate-400: #94a3b8; --slate-500: #64748b;
  --slate-600: #475569; --slate-700: #334155; --slate-800: #1e293b;
  --slate-900: #0f172a;
  --red-500: #ef4444; --amber-400: #fbbf24;
  --radius: 0.75rem; --radius-lg: 1rem; --radius-xl: 1.5rem;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  --transition: 0.2s ease;
}
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--slate-800);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select { font-family: inherit; }
img { max-width: 100%; display: block; }

/* ═══════════════════ BUTTONS ═══════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-weight: 600; font-size: 0.875rem; border-radius: var(--radius);
  padding: 0.625rem 1.25rem; transition: all var(--transition); white-space: nowrap;
}
.btn-lg { padding: 0.75rem 2rem; font-size: 1rem; height: 3rem; }
.btn-primary { background: var(--emerald-600); color: #fff; }
.btn-primary:hover { background: var(--emerald-700); }
.btn-outline { border: 1px solid var(--slate-200); color: var(--slate-700); background: #fff; }
.btn-outline:hover { background: var(--slate-50); }
.btn-outline-light { border: 1px solid rgba(255,255,255,0.3); color: #fff; background: transparent; }
.btn-outline-light:hover { background: rgba(255,255,255,0.1); }
.btn-white { background: #fff; color: var(--emerald-700); }
.btn-white:hover { background: var(--emerald-50); }
.btn-block { width: 100%; }
.text-accent { color: var(--emerald-600); }

/* ═══════════════════ NAVBAR ═══════════════════ */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
}
.navbar-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 1rem; display: flex; align-items: center;
  justify-content: space-between; height: 64px;
}
.logo { display: flex; align-items: center; gap: 0.5rem; }
.logo-icon {
  width: 36px; height: 36px; border-radius: 0.5rem;
  background: linear-gradient(135deg, var(--emerald-500), var(--emerald-700));
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.logo-text { font-size: 1.25rem; font-weight: 800; color: var(--slate-900); letter-spacing: -0.02em; }
.logo-dot { color: var(--emerald-600); }
.nav-links { display: flex; gap: 2rem; }
.nav-link {
  font-size: 0.875rem; font-weight: 500; color: var(--slate-600);
  transition: color var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--emerald-600); }
.nav-actions { display: flex; align-items: center; gap: 0.5rem; }
.nav-icon-btn {
  position: relative; width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--slate-600); transition: background var(--transition);
}
.nav-icon-btn:hover { background: var(--slate-100); }
.cart-badge {
  position: absolute; top: 2px; right: 2px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--emerald-600); color: #fff;
  font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.mobile-menu-btn { display: none; }
.mobile-menu {
  display: none; border-top: 1px solid var(--slate-200); padding: 0.75rem 1rem;
}
.mobile-link {
  display: block; padding: 0.5rem 0.75rem; font-size: 0.875rem;
  font-weight: 500; color: var(--slate-600); border-radius: 0.5rem;
  transition: all var(--transition);
}
.mobile-link:hover { color: var(--emerald-600); background: var(--slate-50); }
.mobile-menu.open { display: block; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: flex; }
}

/* ═══════════════════ HERO ═══════════════════ */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--slate-900) 0%, var(--slate-800) 50%, var(--emerald-900) 100%);
  padding: 4rem 1rem;
}
.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; }
.hero-shape { position: absolute; border-radius: 50%; filter: blur(80px); }
.hero-shape-1 { width: 300px; height: 300px; background: rgba(16,185,129,0.1); top: 5%; left: 5%; }
.hero-shape-2 { width: 400px; height: 400px; background: rgba(20,184,166,0.08); bottom: 5%; right: 10%; }
.hero-shape-3 { width: 500px; height: 500px; background: rgba(52,211,153,0.05); top: 40%; left: 40%; }

.hero-inner {
  position: relative; max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.375rem;
  background: rgba(16,185,129,0.2); color: #6ee7b7;
  border: 1px solid rgba(16,185,129,0.3);
  padding: 0.375rem 1rem; border-radius: 9999px; font-size: 0.875rem; font-weight: 500;
  margin-bottom: 1.5rem;
}
.hero-title {
  font-size: 3.5rem; font-weight: 800; color: #fff; line-height: 1.1;
  letter-spacing: -0.02em; margin-bottom: 1.5rem;
}
.hero-title-accent {
  background: linear-gradient(to right, #34d399, #5eead4);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc { font-size: 1.125rem; color: var(--slate-300); max-width: 28rem; margin-bottom: 2rem; line-height: 1.7; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }
.hero-stats { display: flex; gap: 2rem; }
.hero-stat-val { display: block; font-size: 1.5rem; font-weight: 700; color: #fff; }
.hero-stat-lbl { font-size: 0.875rem; color: var(--slate-400); }

.hero-visual { display: flex; justify-content: center; position: relative; }
.hero-card-main {
  width: 320px; height: 320px; border-radius: 1.5rem;
  background: linear-gradient(135deg, rgba(16,185,129,0.2), rgba(20,184,166,0.2));
  border: 1px solid rgba(16,185,129,0.2);
  backdrop-filter: blur(8px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1rem;
}
.hero-emoji { font-size: 5rem; }
.hero-card-label { font-size: 1.125rem; font-weight: 600; color: rgba(255,255,255,0.8); }
.hero-card-offer { font-size: 2rem; font-weight: 700; color: #34d399; }

.hero-float {
  position: absolute; background: #fff; border-radius: 0.75rem;
  padding: 0.75rem; box-shadow: var(--shadow-xl);
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.875rem; font-weight: 600; color: var(--slate-700);
}
.hero-float svg { color: var(--emerald-600); }
.hero-float-top { top: 1rem; right: -1rem; animation: floatUp 3s ease-in-out infinite; }
.hero-float-bottom { bottom: 1rem; left: -1rem; animation: floatDown 3s ease-in-out infinite; }
@keyframes floatUp { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes floatDown { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-btns { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }
}
@media (max-width: 640px) {
  .hero { padding: 2.5rem 1rem; }
  .hero-title { font-size: 2.25rem; }
  .hero-desc { font-size: 1rem; }
}

/* ═══════════════════ TRUST BAR ═══════════════════ */
.trust-bar { background: #fff; border-bottom: 1px solid var(--slate-100); padding: 1.5rem 1rem; }
.trust-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.trust-item { display: flex; align-items: center; gap: 0.75rem; }
.trust-icon {
  width: 40px; height: 40px; border-radius: 0.5rem; flex-shrink: 0;
  background: var(--emerald-50); display: flex; align-items: center; justify-content: center;
  color: var(--emerald-600);
}
.trust-label { font-size: 0.875rem; font-weight: 600; color: var(--slate-800); }
.trust-sub { font-size: 0.75rem; color: var(--slate-500); }
@media (max-width: 768px) {
  .trust-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .trust-inner { grid-template-columns: 1fr; }
}

/* ═══════════════════ PRODUCTS SECTION ═══════════════════ */
.products-section { padding: 4rem 1rem; background: var(--slate-50); }
.products-inner { max-width: 1280px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 2.5rem; }
.section-title { font-size: 2.25rem; font-weight: 700; color: var(--slate-900); margin-bottom: 0.75rem; }
.section-desc { color: var(--slate-500); max-width: 28rem; margin: 0 auto; }

/* Filters */
.filters-bar {
  background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius-lg);
  padding: 1rem 1.25rem; margin-bottom: 2rem; box-shadow: var(--shadow-sm);
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
}
.filter-categories { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.filter-cat-btn {
  padding: 0.5rem 1rem; border-radius: 0.5rem; font-size: 0.875rem; font-weight: 500;
  color: var(--slate-600); background: var(--slate-100); transition: all var(--transition);
}
.filter-cat-btn:hover { background: var(--slate-200); }
.filter-cat-btn.active { background: var(--emerald-600); color: #fff; box-shadow: var(--shadow-md); }
.filter-actions { display: flex; gap: 0.75rem; align-items: center; }
.search-box { position: relative; }
.search-icon { position: absolute; left: 0.75rem; top: 50%; transform: translateY(-50%); color: var(--slate-400); }
.search-input {
  padding: 0.5rem 0.75rem 0.5rem 2.25rem; border: 1px solid var(--slate-200);
  border-radius: var(--radius); font-size: 0.875rem; width: 200px; outline: none;
  transition: border-color var(--transition);
}
.search-input:focus { border-color: var(--emerald-500); box-shadow: 0 0 0 3px rgba(16,185,129,0.1); }
.sort-select {
  padding: 0.5rem 0.75rem; border: 1px solid var(--slate-200); border-radius: var(--radius);
  font-size: 0.875rem; color: var(--slate-600); background: #fff; outline: none;
}
.sort-select:focus { border-color: var(--emerald-500); }

@media (max-width: 768px) {
  .filters-bar { flex-direction: column; align-items: stretch; }
  .filter-actions { flex-direction: column; }
  .search-input { width: 100%; }
  .sort-select { width: 100%; }
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
@media (max-width: 1024px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .product-grid { grid-template-columns: 1fr; } }

/* Product Card */
.product-card {
  background: #fff; border-radius: var(--radius-xl); border: 1px solid var(--slate-200);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: all 0.3s ease;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.product-card-img {
  position: relative; aspect-ratio: 1/1; overflow: hidden; background: var(--slate-50);
}
.product-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.05); }
.product-card-gradient {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
}
.product-card-gradient span { font-size: 3.5rem; opacity: 0.8; }
.product-badges { position: absolute; top: 0.75rem; left: 0.75rem; display: flex; flex-direction: column; gap: 0.375rem; }
.product-badge {
  padding: 0.125rem 0.5rem; border-radius: 9999px; font-size: 10px; font-weight: 700;
  color: #fff; text-transform: uppercase; letter-spacing: 0.02em;
}
.product-badge-green { background: var(--emerald-600); }
.product-badge-red { background: var(--red-500); }
.product-wishlist {
  position: absolute; top: 0.75rem; right: 0.75rem;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.8); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--transition); color: var(--slate-500);
}
.product-card:hover .product-wishlist { opacity: 1; }
.product-wishlist:hover { background: #fff; }

.product-card-body { padding: 1rem; }
.product-category { font-size: 0.75rem; font-weight: 500; color: var(--emerald-600); text-transform: uppercase; letter-spacing: 0.05em; }
.product-name {
  font-size: 0.875rem; font-weight: 600; color: var(--slate-800); margin-top: 0.25rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  line-height: 1.4;
}
.product-desc {
  font-size: 0.75rem; color: var(--slate-500); margin-top: 0.5rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-rating { display: flex; align-items: center; gap: 0.375rem; margin-top: 0.5rem; }
.product-stars { display: flex; gap: 1px; }
.product-stars svg { width: 14px; height: 14px; }
.star-filled { color: var(--amber-400); fill: var(--amber-400); }
.star-empty { color: var(--slate-300); }
.product-rating-text { font-size: 0.75rem; color: var(--slate-500); }

.product-price-row { display: flex; align-items: center; justify-content: space-between; margin-top: 0.5rem; padding-top: 0.25rem; }
.product-price { font-size: 1.125rem; font-weight: 700; color: var(--slate-900); }
.product-original-price { font-size: 0.875rem; color: var(--slate-400); text-decoration: line-through; margin-left: 0.5rem; }
.add-to-cart-btn {
  padding: 0.5rem 0.75rem; border-radius: var(--radius);
  background: var(--emerald-600); color: #fff; font-size: 0.875rem; font-weight: 600;
  display: flex; align-items: center; gap: 0.25rem; transition: background var(--transition);
}
.add-to-cart-btn:hover { background: var(--emerald-700); }
.add-to-cart-btn.added { background: var(--emerald-800); }

.product-count { text-align: center; font-size: 0.875rem; color: var(--slate-400); margin-top: 2rem; }

.empty-state { text-align: center; padding: 5rem 1rem; grid-column: 1 / -1; }
.empty-state-icon { font-size: 4rem; margin-bottom: 1rem; }
.empty-state-title { font-size: 1.25rem; font-weight: 600; color: var(--slate-700); }
.empty-state-desc { color: var(--slate-500); margin-top: 0.5rem; }

/* ═══════════════════ PROMO BANNERS ═══════════════════ */
.promo-section { padding: 3rem 1rem; background: #fff; }
.promo-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.promo-card {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  padding: 2.5rem; color: #fff;
}
.promo-card-green { background: linear-gradient(135deg, var(--emerald-600), var(--emerald-800)); }
.promo-card-dark { background: linear-gradient(135deg, var(--slate-800), var(--slate-900)); }
.promo-bg-circle {
  position: absolute; width: 160px; height: 160px; border-radius: 50%;
}
.promo-bg-circle-1 { background: rgba(255,255,255,0.1); top: -20%; right: -10%; }
.promo-bg-circle-2 { background: rgba(16,185,129,0.1); bottom: -20%; left: -10%; }
.promo-content { position: relative; z-index: 1; }
.promo-badge {
  display: inline-flex; align-items: center; gap: 0.25rem;
  background: rgba(255,255,255,0.2); color: #fff; border: 1px solid rgba(255,255,255,0.3);
  padding: 0.25rem 0.75rem; border-radius: 9999px; font-size: 0.875rem; font-weight: 500;
  margin-bottom: 1rem;
}
.promo-badge-accent { background: rgba(16,185,129,0.2); color: #6ee7b7; border-color: rgba(16,185,129,0.3); }
.promo-title { font-size: 1.75rem; font-weight: 700; margin-bottom: 0.5rem; }
.promo-desc { font-size: 0.9375rem; opacity: 0.8; margin-bottom: 1.5rem; line-height: 1.6; }
@media (max-width: 768px) {
  .promo-inner { grid-template-columns: 1fr; }
  .promo-card { padding: 2rem; }
}

/* ═══════════════════ CART DRAWER ═══════════════════ */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 200;
  opacity: 0; visibility: hidden; transition: all 0.3s ease;
}
.cart-overlay.open { opacity: 1; visibility: visible; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: 100%; max-width: 440px;
  background: #fff; z-index: 201; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 0.3s ease;
  box-shadow: var(--shadow-xl);
}
.cart-drawer.open { transform: translateX(0); }

.cart-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem; border-bottom: 1px solid var(--slate-200);
}
.cart-title { display: flex; align-items: center; gap: 0.5rem; font-size: 1.125rem; font-weight: 600; color: var(--slate-800); }
.cart-title svg { color: var(--emerald-600); }
.cart-count-badge {
  background: var(--emerald-100); color: var(--emerald-700);
  padding: 0.125rem 0.5rem; border-radius: 9999px; font-size: 0.75rem; font-weight: 600;
}
.cart-close-btn {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--slate-400); transition: all var(--transition);
}
.cart-close-btn:hover { background: var(--slate-100); color: var(--slate-800); }

.cart-body { flex: 1; overflow-y: auto; padding: 1rem 1.5rem; }
.cart-empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 100%; text-align: center; padding: 2rem;
}
.cart-empty-icon {
  width: 80px; height: 80px; border-radius: 50%; background: var(--slate-100);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1rem;
  color: var(--slate-300);
}
.cart-empty-title { font-size: 1.125rem; font-weight: 600; color: var(--slate-700); }
.cart-empty-desc { font-size: 0.875rem; color: var(--slate-500); margin-top: 0.5rem; margin-bottom: 1.5rem; }

.cart-item {
  display: flex; gap: 1rem; padding: 0.75rem;
  border-radius: var(--radius-lg); background: var(--slate-50);
  border: 1px solid var(--slate-100); margin-bottom: 0.75rem;
  animation: slideIn 0.2s ease;
}
@keyframes slideIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
.cart-item-img {
  width: 80px; height: 80px; border-radius: 0.5rem; overflow: hidden;
  flex-shrink: 0; background: var(--slate-100);
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-gradient {
  width: 100%; height: 100%; display: flex; align-items: center;
  justify-content: center; font-size: 1.5rem;
}
.cart-item-details { flex: 1; min-width: 0; }
.cart-item-name { font-size: 0.875rem; font-weight: 600; color: var(--slate-800); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-cat { font-size: 0.75rem; color: var(--slate-500); margin-top: 0.125rem; }
.cart-item-prices { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.25rem; }
.cart-item-price { font-size: 0.875rem; font-weight: 700; color: var(--slate-900); }
.cart-item-orig-price { font-size: 0.75rem; color: var(--slate-400); text-decoration: line-through; }
.cart-item-controls { display: flex; align-items: center; justify-content: space-between; margin-top: 0.5rem; }
.qty-controls {
  display: flex; align-items: center; border: 1px solid var(--slate-200);
  border-radius: var(--radius); background: #fff; overflow: hidden;
}
.qty-btn {
  width: 28px; height: 28px; display: flex; align-items: center; justify-content: center;
  color: var(--slate-600); transition: background var(--transition); font-size: 0.875rem;
}
.qty-btn:hover { background: var(--slate-100); }
.qty-value { width: 32px; text-align: center; font-size: 0.875rem; font-weight: 600; color: var(--slate-700); }
.cart-remove-btn {
  width: 28px; height: 28px; display: flex; align-items: center; justify-content: center;
  color: var(--slate-400); border-radius: var(--radius); transition: all var(--transition);
}
.cart-remove-btn:hover { color: var(--red-500); background: #fef2f2; }

.cart-footer {
  border-top: 1px solid var(--slate-200); padding: 1rem 1.5rem;
  background: #fff; display: flex; flex-direction: column; gap: 0.5rem;
}
.cart-savings { display: flex; justify-content: space-between; font-size: 0.875rem; color: var(--emerald-600); font-weight: 500; }
.cart-subtotal { display: flex; justify-content: space-between; align-items: center; }
.cart-subtotal span:first-child { font-size: 0.875rem; color: var(--slate-500); }
.cart-subtotal-price { font-size: 1.25rem; font-weight: 700; color: var(--slate-900); }
.cart-tax-note { font-size: 0.75rem; color: var(--slate-400); }

/* ═══════════════════ CHECKOUT MODAL ═══════════════════ */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 300;
  opacity: 0; visibility: hidden; transition: all 0.3s ease;
  display: flex; align-items: center; justify-content: center;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.checkout-modal {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.95);
  background: #fff; border-radius: var(--radius-xl); z-index: 301;
  width: 90%; max-width: 560px; max-height: 90vh; overflow-y: auto;
  opacity: 0; visibility: hidden; transition: all 0.3s ease;
  box-shadow: var(--shadow-xl);
}
.checkout-modal.open { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }

.checkout-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem; border-bottom: 1px solid var(--slate-200);
}
.checkout-title { display: flex; align-items: center; gap: 0.5rem; font-size: 1.125rem; font-weight: 600; }
.checkout-title svg { color: var(--emerald-600); }

/* Steps */
.checkout-steps {
  display: flex; align-items: center; gap: 0.5rem; padding: 1rem 1.5rem;
  justify-content: center;
}
.step {
  display: flex; align-items: center; gap: 0.375rem;
  padding: 0.375rem 0.75rem; border-radius: 9999px;
  font-size: 0.75rem; font-weight: 600;
  background: var(--slate-100); color: var(--slate-400);
}
.step.active { background: var(--emerald-100); color: var(--emerald-700); }
.step.completed { background: var(--emerald-600); color: #fff; }
.step-arrow { color: var(--slate-300); }
.step-label { display: none; }
@media (min-width: 640px) { .step-label { display: inline; } }

.checkout-step-content { padding: 1.5rem; }
.step-content-title { font-size: 1.0625rem; font-weight: 600; color: var(--slate-800); margin-bottom: 1rem; }

/* Form */
.checkout-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; }
.form-label { font-size: 0.875rem; font-weight: 500; color: var(--slate-700); margin-bottom: 0.25rem; }
.form-input {
  padding: 0.5rem 0.75rem; border: 1px solid var(--slate-200); border-radius: var(--radius);
  font-size: 0.875rem; color: var(--slate-800); outline: none;
  transition: border-color var(--transition);
}
.form-input:focus { border-color: var(--emerald-500); box-shadow: 0 0 0 3px rgba(16,185,129,0.1); }

/* Order Summary */
.order-summary {
  background: var(--slate-50); border-radius: var(--radius-lg); padding: 1rem;
  margin-bottom: 1rem;
}
.order-summary h4 { font-size: 0.875rem; font-weight: 600; color: var(--slate-700); margin-bottom: 0.5rem; }
.order-summary-row { display: flex; justify-content: space-between; font-size: 0.875rem; padding: 0.25rem 0; }
.order-summary-row.total { font-weight: 700; font-size: 1.125rem; color: var(--slate-900); border-top: 1px solid var(--slate-200); padding-top: 0.5rem; margin-top: 0.5rem; }
.order-summary-divider { border: none; border-top: 1px solid var(--slate-200); margin: 0.5rem 0; }
.free-shipping { color: var(--emerald-600); font-weight: 600; }

/* Payment */
.payment-options { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1rem; }
.payment-option {
  display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1rem;
  border: 1px solid var(--slate-200); border-radius: var(--radius-lg);
  cursor: pointer; transition: all var(--transition);
}
.payment-option:hover { border-color: var(--emerald-300); background: rgba(16,185,129,0.02); }
.payment-option input[type="radio"] { accent-color: var(--emerald-600); }
.payment-icon { font-size: 1.25rem; }
.payment-label { font-size: 0.875rem; font-weight: 500; color: var(--slate-700); }

.checkout-btn-row { display: flex; gap: 0.75rem; }

/* Confirmation */
.confirmation-content { text-align: center; padding: 2rem 0; }
.confirmation-icon {
  width: 80px; height: 80px; border-radius: 50%; background: var(--emerald-100);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem; color: var(--emerald-600);
  animation: popIn 0.4s ease;
}
@keyframes popIn { from { transform: scale(0); } to { transform: scale(1); } }
.confirmation-title { font-size: 1.5rem; font-weight: 700; color: var(--slate-900); }
.confirmation-desc { font-size: 0.9375rem; color: var(--slate-500); max-width: 24rem; margin: 0.5rem auto 1.5rem; }
.order-id-box { background: var(--slate-50); border-radius: var(--radius-lg); padding: 1rem; max-width: 250px; margin: 0 auto 1.5rem; }
.order-id-label { font-size: 0.875rem; color: var(--slate-500); }
.order-id-value { font-size: 1.25rem; font-weight: 700; color: var(--emerald-600); }

/* ═══════════════════ TOAST ═══════════════════ */
.toast-container { position: fixed; top: 80px; right: 1rem; z-index: 500; display: flex; flex-direction: column; gap: 0.5rem; }
.toast {
  background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius-lg);
  padding: 0.875rem 1.25rem; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 0.75rem; min-width: 280px;
  animation: toastIn 0.3s ease, toastOut 0.3s ease 2.7s forwards;
  font-size: 0.875rem;
}
@keyframes toastIn { from { opacity: 0; transform: translateX(100%); } to { opacity: 1; transform: translateX(0); } }
@keyframes toastOut { from { opacity: 1; } to { opacity: 0; transform: translateY(-10px); } }
.toast-icon { width: 20px; height: 20px; border-radius: 50%; background: var(--emerald-100); color: var(--emerald-600); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.toast-content { flex: 1; }
.toast-title { font-weight: 600; color: var(--slate-800); }
.toast-desc { font-size: 0.75rem; color: var(--slate-500); margin-top: 0.125rem; }

/* ═══════════════════ FOOTER ═══════════════════ */
.footer { background: var(--slate-900); color: #fff; padding: 3rem 1rem 1.5rem; }
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
.footer-brand { max-width: 280px; }
.footer-logo { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }
.footer-logo .logo-icon { width: 32px; height: 32px; }
.footer-logo .logo-text { font-size: 1.125rem; }
.footer-about { font-size: 0.875rem; color: var(--slate-400); line-height: 1.7; }
.footer-heading { font-size: 0.875rem; font-weight: 600; color: var(--slate-200); margin-bottom: 0.75rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { font-size: 0.875rem; color: var(--slate-400); transition: color var(--transition); }
.footer-links a:hover { color: var(--emerald-400); }
.footer-divider { border: none; border-top: 1px solid var(--slate-800); margin: 2rem 0 1rem; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; font-size: 0.875rem; color: var(--slate-500); }
.footer-payments { display: flex; gap: 1rem; }
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
}
