/* ===== Zero One — E-commerce Design System ===== */
:root {
  --green-900: #003d29;
  --green-800: #004731;
  --green-700: #006644;
  --green-600: #00875a;
  --green-100: #e6f4ef;
  --orange-500: #f97316;
  --orange-400: #fb923c;
  --yellow-400: #facc15;
  --blue-200: #bae6fd;
  --beige-200: #f5e6d3;
  --pink-400: #f472b6;
  --red-500: #ef4444;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,.1);
  --shadow-lg: 0 10px 25px -5px rgba(0,0,0,.1);
  --shadow-xl: 0 20px 40px -10px rgba(0,61,41,.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --transition: .3s cubic-bezier(.4,0,.2,1);
  --header-height: 72px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
input, select, textarea { font-family: inherit; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.animate-fade-in-up {
  animation: fadeInUp .8s ease forwards;
  opacity: 0;
}

.animate-delay-1 { animation-delay: .1s; }
.animate-delay-2 { animation-delay: .2s; }
.animate-delay-3 { animation-delay: .3s; }
.animate-delay-4 { animation-delay: .4s; }
.animate-delay-5 { animation-delay: .5s; }

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Top Bar ===== */
.top-bar {
  background: var(--green-900);
  color: var(--white);
  font-size: 13px;
  padding: 8px 0;
  overflow: hidden;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.top-bar-marquee {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
}

.top-bar-marquee span {
  display: inline-block;
  animation: marquee 20s linear infinite;
}

.top-bar-marquee a {
  text-decoration: underline;
  margin-left: 8px;
}

.top-bar-right {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

.top-bar-right select {
  background: transparent;
  color: var(--white);
  border: none;
  font-size: 13px;
  cursor: pointer;
}

.top-bar-right select option { color: var(--gray-800); }

/* ===== Header ===== */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow var(--transition);
}

.header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--header-height);
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 800;
  color: var(--green-900);
  flex-shrink: 0;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--green-100);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  transition: color var(--transition);
  position: relative;
}

.nav-links a:hover { color: var(--green-800); }

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green-800);
  transition: width var(--transition);
}

.nav-links a:hover::after { width: 100%; }

.search-wrapper {
  flex: 1;
  position: relative;
  max-width: 480px;
}

.search-input {
  width: 100%;
  padding: 12px 44px 12px 20px;
  background: var(--gray-100);
  border: 2px solid transparent;
  border-radius: var(--radius-full);
  font-size: 14px;
  transition: all var(--transition);
}

.search-input:focus {
  outline: none;
  background: var(--white);
  border-color: var(--green-700);
  box-shadow: 0 0 0 4px rgba(0,103,68,.1);
}

.search-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
  pointer-events: none;
}

.search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 8px;
  display: none;
  z-index: 100;
  animation: slideDown .3s ease;
  max-height: 400px;
  overflow-y: auto;
}

.search-dropdown.active { display: block; }

.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  transition: background var(--transition);
  cursor: pointer;
}

.search-result-item:hover { background: var(--gray-50); }

.search-result-item img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--gray-100);
}

.search-result-info { flex: 1; }
.search-result-info h4 { font-size: 14px; font-weight: 600; }
.search-result-info .price { font-size: 14px; font-weight: 700; color: var(--green-800); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.header-action {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  transition: color var(--transition);
  position: relative;
}

.header-action:hover { color: var(--green-800); }

.cart-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--orange-500);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 2s infinite;
}

.mobile-menu-btn {
  display: none;
  font-size: 24px;
  color: var(--gray-800);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--green-900);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--green-800);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--green-900);
  border-color: var(--green-900);
}

.btn-outline:hover {
  background: var(--green-900);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-sm { padding: 8px 20px; font-size: 13px; }
.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-block { width: 100%; }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--blue-200) 0%, var(--blue-200) 55%, var(--beige-200) 55%, var(--beige-200) 100%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 60px 0;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--green-900);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 16px;
  color: var(--gray-600);
  margin-bottom: 32px;
  max-width: 440px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 400px;
}

.hero-lottie {
  width: 100%;
  max-width: 480px;
  height: 400px;
}

.hero-platforms {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  animation: float 6s ease-in-out infinite;
}

.hero-platform {
  background: var(--yellow-400);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition);
}

.hero-platform:hover { transform: translateY(-8px) scale(1.02); }

.hero-platform img {
  width: 120px;
  height: 100px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.hero-platform:nth-child(1) { height: 180px; }
.hero-platform:nth-child(2) { height: 240px; }
.hero-platform:nth-child(3) { height: 300px; }

/* ===== Trust Bar ===== */
.trust-bar {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 20px 0;
}

.trust-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.trust-item-icon {
  width: 48px;
  height: 48px;
  background: var(--green-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.trust-item h4 { font-size: 14px; font-weight: 700; }
.trust-item p { font-size: 12px; color: var(--gray-500); }

/* ===== Section ===== */
.section { padding: 64px 0; }

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.section-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--gray-900);
}

.section-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--green-800);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition);
}

.section-link:hover { gap: 8px; }

/* ===== Categories ===== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.category-card {
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.1);
  opacity: 0;
  transition: opacity var(--transition);
}

.category-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: var(--shadow-xl);
}

.category-card:hover::before { opacity: 1; }

.category-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  position: relative;
  z-index: 1;
}

.category-card img {
  width: 100%;
  height: 120px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  transition: transform var(--transition);
}

.category-card:hover img { transform: scale(1.1); }

.cat-furniture { background: #0d9488; }
.cat-handbag { background: #fb923c; }
.cat-books { background: #dc2626; }
.cat-tech { background: #16a34a; }
.cat-sneakers { background: #f472b6; }
.cat-travel { background: #eab308; }

/* ===== Product Cards ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.product-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--red-500);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  z-index: 2;
}

.product-card-wishlist {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  z-index: 2;
  transition: all var(--transition);
  font-size: 18px;
}

.product-card-wishlist:hover,
.product-card-wishlist.active {
  background: #fef2f2;
  color: var(--red-500);
  transform: scale(1.1);
}

.product-card-image {
  background: var(--gray-100);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 220px;
  overflow: hidden;
}

.product-card-image img {
  max-height: 180px;
  object-fit: contain;
  transition: transform var(--transition);
}

.product-card:hover .product-card-image img { transform: scale(1.08); }

.product-card-body { padding: 16px; }

.product-card-body h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-desc {
  font-size: 12px;
  color: var(--gray-500);
  margin-bottom: 8px;
}

.product-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
}

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

.product-price {
  font-size: 18px;
  font-weight: 800;
}

.product-price-old {
  font-size: 13px;
  color: var(--gray-400);
  text-decoration: line-through;
  margin-right: 6px;
  font-weight: 400;
}

.product-colors {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.color-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--gray-200);
  cursor: pointer;
  transition: transform var(--transition);
}

.color-dot:hover,
.color-dot.active {
  transform: scale(1.2);
  border-color: var(--gray-800);
}

.add-to-cart-btn {
  width: 100%;
  padding: 10px;
  border: 2px solid var(--gray-800);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  background: var(--white);
  transition: all var(--transition);
}

.add-to-cart-btn:hover,
.add-to-cart-btn.added {
  background: var(--green-900);
  color: var(--white);
  border-color: var(--green-900);
}

/* ===== Banner ===== */
.promo-banner {
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  border-radius: var(--radius-xl);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  position: relative;
}

.promo-banner::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,.05);
  border-radius: 50%;
}

.promo-banner h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
}

.promo-banner p { opacity: .85; margin-bottom: 24px; }

.promo-banner .btn-primary {
  background: var(--white);
  color: var(--green-900);
}

.promo-banner .btn-primary:hover { background: var(--gray-100); }

/* ===== Filters ===== */
.filters-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 32px;
}

.filter-pill {
  padding: 8px 16px;
  background: var(--gray-100);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all var(--transition);
  border: 1px solid transparent;
}

.filter-pill:hover,
.filter-pill.active {
  background: var(--green-100);
  border-color: var(--green-700);
  color: var(--green-800);
}

.sort-select {
  margin-left: auto;
  padding: 8px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  font-size: 13px;
  background: var(--white);
  cursor: pointer;
}

/* ===== Product Detail ===== */
.breadcrumbs {
  padding: 16px 0;
  font-size: 13px;
  color: var(--gray-500);
}

.breadcrumbs a { color: var(--gray-500); }
.breadcrumbs a:hover { color: var(--green-800); }

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 32px 0 64px;
}

.product-gallery-main {
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  position: relative;
  overflow: hidden;
}

.product-gallery-main img {
  max-height: 360px;
  object-fit: contain;
  transition: transform .5s ease;
}

.product-gallery-main:hover img { transform: scale(1.05); }

.product-thumbnails {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.product-thumbnail {
  width: 80px;
  height: 80px;
  background: var(--gray-100);
  border-radius: var(--radius-md);
  padding: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-thumbnail.active,
.product-thumbnail:hover {
  border-color: var(--green-800);
}

.product-thumbnail img {
  max-height: 60px;
  object-fit: contain;
}

.product-info h1 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 8px;
}

.product-info-desc {
  color: var(--gray-500);
  font-size: 14px;
  margin-bottom: 16px;
}

.product-info-price {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 4px;
}

.product-info-finance {
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 24px;
}

.color-picker { margin-bottom: 24px; }
.color-picker label {
  font-size: 14px;
  font-weight: 600;
  display: block;
  margin-bottom: 12px;
}

.color-swatches { display: flex; gap: 10px; }

.color-swatch {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid transparent;
  transition: all var(--transition);
  position: relative;
}

.color-swatch.active {
  border-color: var(--gray-800);
  transform: scale(1.15);
}

.quantity-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.quantity-selector {
  display: flex;
  align-items: center;
  background: var(--gray-100);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.qty-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  transition: background var(--transition);
}

.qty-btn:hover { background: var(--gray-200); }

.qty-value {
  width: 48px;
  text-align: center;
  font-weight: 700;
  font-size: 16px;
}

.stock-alert {
  font-size: 13px;
  color: var(--gray-600);
}

.stock-alert strong { color: var(--orange-500); }

.product-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.product-actions .btn { flex: 1; }

.shipping-info {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.shipping-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
}

.shipping-row + .shipping-row {
  border-top: 1px solid var(--gray-200);
}

.shipping-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.shipping-icon svg {
  width: 22px;
  height: 22px;
}

.shipping-icon--dispatch {
  background: linear-gradient(135deg, #f97316, #fbbf24);
}

.shipping-icon--returns {
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
}

.shipping-icon--cod {
  background: linear-gradient(135deg, #0d4f3c, #22c55e);
}

.shipping-row h4 { font-size: 14px; font-weight: 700; }
.shipping-row p { font-size: 13px; color: var(--gray-500); }
.shipping-row a { color: var(--blue-200); text-decoration: underline; color: #2563eb; }

/* ===== Cart ===== */
.cart-page { padding: 40px 0 64px; }

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
}

.cart-items { display: flex; flex-direction: column; gap: 16px; }

.cart-item {
  display: flex;
  gap: 20px;
  padding: 20px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: box-shadow var(--transition);
}

.cart-item:hover { box-shadow: var(--shadow-md); }

.cart-item-image {
  width: 100px;
  height: 100px;
  background: var(--gray-100);
  border-radius: var(--radius-md);
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cart-item-image img { max-height: 80px; object-fit: contain; }

.cart-item-details { flex: 1; }
.cart-item-details h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.cart-item-details p { font-size: 13px; color: var(--gray-500); }

.cart-item-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}

.cart-item-price { font-size: 18px; font-weight: 800; }

.remove-btn {
  color: var(--red-500);
  font-size: 13px;
  font-weight: 500;
}

.cart-summary {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: calc(var(--header-height) + 24px);
  height: fit-content;
}

.cart-summary h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 20px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
}

.summary-row.total {
  border-top: 2px solid var(--gray-200);
  margin-top: 12px;
  padding-top: 16px;
  font-size: 18px;
  font-weight: 800;
}

.coupon-row {
  display: flex;
  gap: 8px;
  margin: 16px 0;
}

.coupon-row input {
  flex: 1;
  padding: 10px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  font-size: 13px;
}

.empty-cart {
  text-align: center;
  padding: 80px 20px;
}

.empty-cart-mark {
  display: block;
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  border-radius: 18px;
  box-shadow: 0 12px 32px -12px rgba(124, 58, 237, 0.35);
}

.empty-cart-lottie { width: 200px; height: 200px; margin: 0 auto 24px; }

/* ===== Checkout ===== */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 32px;
  padding: 32px 0 64px;
}

.checkout-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
}

.checkout-card h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.checkout-item {
  display: flex;
  gap: 16px;
  align-items: center;
}

.checkout-item img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  background: var(--gray-100);
  border-radius: var(--radius-md);
  padding: 8px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group { margin-bottom: 16px; }
.form-group.full { grid-column: 1 / -1; }

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 14px;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--green-700);
  box-shadow: 0 0 0 3px rgba(0,103,68,.1);
}

.payment-methods { display: flex; flex-direction: column; gap: 12px; }

.payment-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
}

.payment-option:hover,
.payment-option.active {
  border-color: var(--green-800);
  background: var(--green-100);
}

.payment-option input[type="radio"] {
  accent-color: var(--green-800);
  width: 18px;
  height: 18px;
}

.payment-option label {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.card-icons { display: flex; gap: 8px; margin-top: 8px; }

.card-icon {
  padding: 4px 10px;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-600);
}

.card-form { margin-top: 16px; display: none; }
.card-form.active { display: block; animation: fadeInUp .4s ease; }

/* ===== Footer ===== */
.footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: 64px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-brand p { font-size: 14px; line-height: 1.7; margin-bottom: 20px; }

.footer-social { display: flex; gap: 12px; }

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  font-size: 18px;
}

.footer-social a:hover {
  background: var(--green-700);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  padding: 4px 0;
  transition: color var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

/* ===== Toast ===== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  background: var(--gray-900);
  color: var(--white);
  padding: 14px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideDown .4s ease;
  font-size: 14px;
  font-weight: 500;
  min-width: 280px;
}

.toast.success { border-left: 4px solid var(--green-600); }
.toast.error { border-left: 4px solid var(--red-500); }

/* ===== Cart Drawer ===== */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.cart-drawer-overlay.active { opacity: 1; visibility: visible; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 420px;
  max-width: 100vw;
  height: 100vh;
  background: var(--white);
  z-index: 2001;
  transition: right var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xl);
}

.cart-drawer.active { right: 0; }

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--gray-200);
}

.cart-drawer-header h3 { font-size: 18px; font-weight: 800; }

.cart-drawer-close {
  font-size: 24px;
  color: var(--gray-500);
  transition: color var(--transition);
}

.cart-drawer-close:hover { color: var(--gray-800); }

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}

.cart-drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--gray-200);
}

.drawer-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-100);
}

.drawer-item img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 4px;
}

.drawer-item-info { flex: 1; }
.drawer-item-info h4 { font-size: 14px; font-weight: 600; }
.drawer-item-info p { font-size: 13px; color: var(--gray-500); }

/* ===== Modal ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.modal-overlay.active { opacity: 1; visibility: visible; }

.modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  max-width: 480px;
  width: 90%;
  text-align: center;
  transform: scale(.9);
  transition: transform var(--transition);
}

.modal-overlay.active .modal { transform: scale(1); }

.modal-lottie { width: 160px; height: 160px; margin: 0 auto 20px; }

.modal-brand-icon {
  display: block;
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 16px;
  box-shadow: 0 12px 32px -12px rgba(124, 58, 237, 0.45);
}

.modal h2 { font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.modal p { color: var(--gray-500); margin-bottom: 24px; }

/* ===== Category Hero ===== */
.category-hero {
  background: var(--beige-200);
  padding: 48px 0;
  margin-bottom: 0;
}

.category-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.category-hero h1 {
  font-size: 36px;
  font-weight: 800;
  color: var(--green-900);
  margin-bottom: 16px;
}

.category-hero img {
  border-radius: var(--radius-lg);
  max-height: 320px;
  object-fit: cover;
  width: 100%;
}

/* ===== Loading Skeleton ===== */
.skeleton {
  background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-md);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-content p { margin: 0 auto 32px; }
  .hero-visual { display: none; }
  .promo-banner { grid-template-columns: 1fr; }
  .product-detail { grid-template-columns: 1fr; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .top-bar-inner { flex-direction: column; text-align: center; }
  .category-hero-inner { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .header-actions span { display: none; }
}
