/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #7c3aed;
  --primary-dark: #5b21b6;
  --primary-light: #ede9fe;
  --secondary: #f59e0b;
  --success: #10b981;
  --danger: #ef4444;
  --dark: #1e1b4b;
  --text: #374151;
  --text-light: #6b7280;
  --border: #e5e7eb;
  --bg: #f9fafb;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
  --radius: 12px;
  --radius-sm: 8px;
}

html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; color: var(--text); background: var(--bg); overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
ul { list-style: none; }
button { cursor: pointer; border: none; outline: none; font-family: 'Poppins', sans-serif; }
input { font-family: 'Poppins', sans-serif; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ===== ANNOUNCEMENT BAR ===== */
.announcement-bar {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white; text-align: center; padding: 8px; font-size: 13px; font-weight: 500;
}
.announcement-bar span { color: var(--secondary); font-weight: 700; }

/* ===== HEADER ===== */
header {
  background: white; position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}
.header-main {
  max-width: 1400px; margin: 0 auto; padding: 12px 20px;
  display: flex; align-items: center; gap: 20px;
}
.logo { display: flex; align-items: center; gap: 10px; min-width: 160px; }
.logo-icon {
  width: 42px; height: 42px; background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.logo-text { font-size: 22px; font-weight: 800; color: var(--primary); line-height: 1; }
.logo-text span { color: var(--secondary); }
.logo-tagline { font-size: 10px; color: var(--text-light); }

.search-bar {
  flex: 1; display: flex; align-items: center;
  border: 2px solid var(--primary); border-radius: 50px; overflow: hidden;
  background: white; max-width: 600px;
}
.search-bar input {
  flex: 1; padding: 10px 18px; border: none; outline: none; font-size: 14px; color: var(--text);
}
.search-btn {
  background: var(--primary); color: white; padding: 10px 20px;
  font-size: 18px; transition: all 0.2s;
}
.search-btn:hover { background: var(--primary-dark); }

.header-actions { display: flex; align-items: center; gap: 15px; margin-left: auto; }
.header-btn {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  background: none; color: var(--text); font-size: 11px; font-weight: 500;
  padding: 6px 10px; border-radius: var(--radius-sm); transition: all 0.2s;
  position: relative;
}
.header-btn:hover { color: var(--primary); background: var(--primary-light); }
.header-btn .icon { font-size: 22px; }
.cart-count {
  position: absolute; top: 2px; right: 6px;
  background: var(--danger); color: white; border-radius: 50%;
  width: 18px; height: 18px; font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* ===== NAV ===== */
nav {
  background: white; border-top: 1px solid var(--border);
  padding: 0 20px;
}
.nav-inner {
  max-width: 1400px; margin: 0 auto;
  display: flex; align-items: center; gap: 5px;
}
.nav-item {
  padding: 13px 16px; font-size: 13px; font-weight: 500;
  border-bottom: 2px solid transparent; transition: all 0.2s;
  color: var(--text); white-space: nowrap; cursor: pointer;
}
.nav-item:hover, .nav-item.active { color: var(--primary); border-bottom-color: var(--primary); }

/* ===== HERO SLIDER ===== */
.hero { position: relative; overflow: hidden; background: var(--dark); }
.hero-slide {
  display: none; padding: 60px 20px;
  background: linear-gradient(135deg, #1e1b4b 0%, #4c1d95 50%, #7c3aed 100%);
  min-height: 380px; align-items: center; justify-content: center;
}
.hero-slide.active { display: flex; }
.hero-content { max-width: 1400px; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.hero-text { color: white; flex: 1; }
.hero-badge {
  display: inline-block; background: var(--secondary); color: var(--dark);
  padding: 4px 14px; border-radius: 50px; font-size: 12px; font-weight: 700; margin-bottom: 15px;
}
.hero-title { font-size: 42px; font-weight: 800; line-height: 1.2; margin-bottom: 12px; }
.hero-title span { color: var(--secondary); }
.hero-subtitle { font-size: 16px; opacity: 0.9; margin-bottom: 25px; }
.hero-cta {
  display: flex; gap: 12px; flex-wrap: wrap;
}
.btn-primary {
  background: var(--secondary); color: var(--dark); padding: 12px 28px;
  border-radius: 50px; font-weight: 700; font-size: 14px;
  transition: all 0.3s; border: 2px solid transparent;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(245,158,11,0.4); }
.btn-outline {
  background: transparent; color: white; padding: 12px 28px;
  border-radius: 50px; font-weight: 600; font-size: 14px;
  border: 2px solid white; transition: all 0.3s;
}
.btn-outline:hover { background: white; color: var(--dark); }
.hero-image { flex: 0 0 auto; width: 280px; text-align: center; }
.hero-image img { width: 250px; height: 300px; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow-lg); }

.hero-dots { position: absolute; bottom: 15px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; transition: all 0.2s; }
.dot.active { background: white; width: 24px; border-radius: 4px; }
.hero-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 100%; display: flex; justify-content: space-between; padding: 0 15px; pointer-events: none; }
.hero-nav button { pointer-events: all; background: rgba(255,255,255,0.2); color: white; border-radius: 50%; width: 40px; height: 40px; font-size: 18px; backdrop-filter: blur(5px); transition: all 0.2s; }
.hero-nav button:hover { background: rgba(255,255,255,0.4); }

/* ===== SECTIONS ===== */
.section { padding: 50px 20px; }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 25px; }
.section-title { font-size: 24px; font-weight: 700; color: var(--dark); }
.section-title span { color: var(--primary); }
.view-all { color: var(--primary); font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 4px; cursor: pointer; }
.view-all:hover { text-decoration: underline; }
.container { max-width: 1400px; margin: 0 auto; }

/* ===== CATEGORY CARDS ===== */
.categories-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 15px; }
.category-card {
  background: white; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); cursor: pointer; transition: all 0.3s; text-align: center;
}
.category-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.category-card img { width: 100%; height: 130px; object-fit: cover; }
.category-card-body { padding: 12px 10px; }
.category-card-name { font-weight: 600; font-size: 13px; color: var(--dark); }
.category-card-count { font-size: 11px; color: var(--text-light); margin-top: 2px; }

/* ===== OFFERS BANNER ===== */
.offers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.offer-card {
  border-radius: var(--radius); padding: 25px; color: white;
  position: relative; overflow: hidden; min-height: 140px;
  display: flex; flex-direction: column; justify-content: space-between; cursor: pointer;
}
.offer-card.purple { background: linear-gradient(135deg, #7c3aed, #4c1d95); }
.offer-card.orange { background: linear-gradient(135deg, #f59e0b, #d97706); }
.offer-card.teal { background: linear-gradient(135deg, #0891b2, #0e7490); }
.offer-card h3 { font-size: 22px; font-weight: 800; }
.offer-card p { font-size: 13px; opacity: 0.9; }
.offer-card .offer-discount { font-size: 36px; font-weight: 900; opacity: 0.15; position: absolute; right: 15px; bottom: 10px; }
.offer-btn { background: rgba(255,255,255,0.25); color: white; padding: 6px 16px; border-radius: 50px; font-size: 12px; font-weight: 600; width: fit-content; transition: all 0.2s; }
.offer-btn:hover { background: rgba(255,255,255,0.4); }

/* ===== FILTERS ===== */
.filters-bar {
  background: white; padding: 15px 20px; margin-bottom: 25px;
  border-radius: var(--radius); box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 15px; flex-wrap: wrap;
}
.filter-label { font-size: 13px; font-weight: 600; color: var(--dark); }
.filter-btns { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; }
.filter-btn {
  padding: 6px 16px; border-radius: 50px; font-size: 12px; font-weight: 500;
  background: var(--bg); border: 1.5px solid var(--border); color: var(--text);
  transition: all 0.2s;
}
.filter-btn:hover, .filter-btn.active { background: var(--primary); border-color: var(--primary); color: white; }
.sort-select {
  margin-left: auto; padding: 7px 12px; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); font-size: 12px; font-family: 'Poppins', sans-serif;
  color: var(--text); background: white; cursor: pointer;
}
.sort-select:focus { outline: none; border-color: var(--primary); }

/* ===== PRODUCTS GRID ===== */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }

/* ===== PRODUCT CARD ===== */
.product-card {
  background: white; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: all 0.3s; cursor: pointer; position: relative;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.product-image { position: relative; overflow: hidden; height: 260px; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.product-card:hover .product-image img { transform: scale(1.06); }
.product-badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--danger); color: white; padding: 3px 10px;
  border-radius: 50px; font-size: 10px; font-weight: 700;
}
.product-badge.green { background: var(--success); }
.product-badge.blue { background: var(--primary); }
.product-badge.yellow { background: var(--secondary); color: var(--dark); }
.wishlist-btn {
  position: absolute; top: 10px; right: 10px;
  background: white; border-radius: 50%; width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center; font-size: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15); transition: all 0.2s;
  opacity: 0;
}
.product-card:hover .wishlist-btn { opacity: 1; }
.wishlist-btn:hover { transform: scale(1.1); }
.wishlist-btn.active { color: var(--danger); }
.product-body { padding: 14px; }
.product-brand { font-size: 11px; color: var(--text-light); font-weight: 500; text-transform: uppercase; margin-bottom: 4px; }
.product-name { font-size: 14px; font-weight: 600; color: var(--dark); line-height: 1.4; margin-bottom: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-rating { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.stars { color: #f59e0b; font-size: 12px; }
.rating-count { font-size: 11px; color: var(--text-light); }
.product-price { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.price-current { font-size: 18px; font-weight: 700; color: var(--dark); }
.price-original { font-size: 13px; color: var(--text-light); text-decoration: line-through; }
.price-discount { font-size: 12px; color: var(--success); font-weight: 600; }
.product-sizes { display: flex; gap: 5px; margin-bottom: 12px; flex-wrap: wrap; }
.size-chip { padding: 3px 8px; border: 1px solid var(--border); border-radius: 4px; font-size: 10px; color: var(--text-light); }
.add-to-cart-btn {
  width: 100%; background: var(--primary); color: white;
  padding: 10px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 600;
  transition: all 0.2s;
}
.add-to-cart-btn:hover { background: var(--primary-dark); }
.add-to-cart-btn.added { background: var(--success); }

/* ===== CART SIDEBAR ===== */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  z-index: 2000; opacity: 0; visibility: hidden; transition: all 0.3s;
}
.cart-overlay.open { opacity: 1; visibility: visible; }
.cart-sidebar {
  position: fixed; top: 0; right: -100%; width: 420px; max-width: 100%;
  height: 100vh; background: white; z-index: 2001;
  box-shadow: -10px 0 40px rgba(0,0,0,0.2);
  display: flex; flex-direction: column; transition: right 0.3s ease;
}
.cart-sidebar.open { right: 0; }
.cart-header {
  padding: 20px 24px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  background: var(--primary); color: white;
}
.cart-header h3 { font-size: 18px; font-weight: 700; }
.cart-close { background: rgba(255,255,255,0.2); color: white; border-radius: 50%; width: 34px; height: 34px; font-size: 18px; }
.cart-close:hover { background: rgba(255,255,255,0.4); }
.cart-items { flex: 1; overflow-y: auto; padding: 20px; }
.cart-empty { text-align: center; padding: 60px 20px; }
.cart-empty .empty-icon { font-size: 64px; margin-bottom: 15px; }
.cart-empty p { color: var(--text-light); font-size: 15px; margin-bottom: 20px; }
.cart-item {
  display: flex; gap: 14px; padding: 15px 0;
  border-bottom: 1px solid var(--border);
}
.cart-item img { width: 75px; height: 90px; object-fit: cover; border-radius: var(--radius-sm); flex-shrink: 0; }
.cart-item-info { flex: 1; }
.cart-item-name { font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.cart-item-meta { font-size: 11px; color: var(--text-light); margin-bottom: 8px; }
.cart-item-price { font-size: 15px; font-weight: 700; color: var(--primary); }
.cart-item-controls { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.qty-btn { background: var(--bg); border: 1px solid var(--border); border-radius: 6px; width: 28px; height: 28px; font-size: 16px; font-weight: 600; transition: all 0.2s; }
.qty-btn:hover { background: var(--primary); color: white; border-color: var(--primary); }
.qty-value { font-size: 14px; font-weight: 600; min-width: 20px; text-align: center; }
.remove-item { margin-left: auto; color: var(--danger); font-size: 18px; background: none; }
.cart-footer { padding: 20px 24px; border-top: 1px solid var(--border); background: white; }
.cart-summary { margin-bottom: 15px; }
.cart-summary-row { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 8px; }
.cart-summary-row.total { font-size: 16px; font-weight: 700; color: var(--dark); padding-top: 10px; border-top: 1px solid var(--border); margin-top: 5px; }
.cart-summary-row .savings { color: var(--success); font-weight: 600; }
.checkout-btn {
  width: 100%; background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white; padding: 14px; border-radius: var(--radius);
  font-size: 15px; font-weight: 700; transition: all 0.3s;
}
.checkout-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(124,58,237,0.4); }
.checkout-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* ===== CHECKOUT MODAL ===== */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6);
  z-index: 3000; display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: white; border-radius: 16px; width: 100%; max-width: 600px;
  max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-lg);
}
.modal-header {
  padding: 22px 28px; background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white; border-radius: 16px 16px 0 0;
  display: flex; align-items: center; justify-content: space-between;
}
.modal-header h3 { font-size: 20px; font-weight: 700; }
.modal-close { background: rgba(255,255,255,0.2); color: white; border-radius: 50%; width: 34px; height: 34px; font-size: 18px; }
.modal-close:hover { background: rgba(255,255,255,0.4); }
.modal-body { padding: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--dark); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 10px 14px; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); font-size: 14px; font-family: 'Poppins', sans-serif;
  color: var(--text); transition: border 0.2s; background: white;
}
.form-group input:focus, .form-group select:focus { outline: none; border-color: var(--primary); }
.payment-methods { margin-bottom: 20px; }
.payment-methods h4 { font-size: 14px; font-weight: 700; margin-bottom: 12px; color: var(--dark); }
.payment-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.payment-option {
  border: 2px solid var(--border); border-radius: var(--radius-sm);
  padding: 12px; cursor: pointer; transition: all 0.2s; text-align: center;
}
.payment-option:hover { border-color: var(--primary); background: var(--primary-light); }
.payment-option.selected { border-color: var(--primary); background: var(--primary-light); }
.payment-option img { height: 28px; object-fit: contain; margin-bottom: 4px; }
.payment-option p { font-size: 11px; font-weight: 600; color: var(--text); }
.payment-option .pay-icon { font-size: 28px; margin-bottom: 4px; }
.order-summary-mini { background: var(--bg); border-radius: var(--radius-sm); padding: 16px; margin-bottom: 20px; }
.order-summary-mini h4 { font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.summary-item { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 6px; }
.summary-total { display: flex; justify-content: space-between; font-size: 15px; font-weight: 700; border-top: 1px solid var(--border); padding-top: 10px; margin-top: 8px; }
.place-order-btn {
  width: 100%; background: linear-gradient(135deg, var(--success), #059669);
  color: white; padding: 14px; border-radius: var(--radius); font-size: 16px; font-weight: 700;
  transition: all 0.3s;
}
.place-order-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(16,185,129,0.4); }
.razorpay-note { text-align: center; margin-top: 10px; font-size: 11px; color: var(--text-light); }
.razorpay-note span { color: var(--primary); font-weight: 600; }

/* ===== PRODUCT MODAL ===== */
.product-modal-content { max-width: 800px; }
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.product-detail-img { height: 380px; object-fit: cover; border-radius: var(--radius); width: 100%; }
.product-detail-info { padding: 10px 0; }
.product-detail-name { font-size: 20px; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.product-detail-rating { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; }
.rating-badge { background: var(--success); color: white; padding: 3px 10px; border-radius: 50px; font-size: 13px; font-weight: 600; }
.product-detail-price { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.product-detail-price .price-main { font-size: 26px; font-weight: 800; color: var(--dark); }
.product-detail-price .price-orig { font-size: 16px; color: var(--text-light); text-decoration: line-through; }
.product-detail-price .price-save { font-size: 14px; color: var(--success); font-weight: 600; }
.size-selector { margin-bottom: 20px; }
.size-selector h4 { font-size: 13px; font-weight: 700; margin-bottom: 10px; color: var(--dark); }
.size-options { display: flex; gap: 8px; flex-wrap: wrap; }
.size-opt {
  width: 40px; height: 40px; border: 2px solid var(--border); border-radius: var(--radius-sm);
  font-size: 12px; font-weight: 600; color: var(--text); transition: all 0.2s;
}
.size-opt:hover, .size-opt.selected { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.color-selector { margin-bottom: 20px; }
.color-selector h4 { font-size: 13px; font-weight: 700; margin-bottom: 10px; color: var(--dark); }
.color-options { display: flex; gap: 8px; flex-wrap: wrap; }
.color-opt {
  padding: 5px 12px; border: 2px solid var(--border); border-radius: 50px;
  font-size: 11px; font-weight: 500; color: var(--text); transition: all 0.2s; cursor: pointer;
}
.color-opt:hover, .color-opt.selected { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.detail-btns { display: flex; gap: 10px; }
.detail-btns .add-to-cart-btn { flex: 1; padding: 12px; font-size: 14px; }
.detail-btns .wishlist-detail-btn {
  background: var(--bg); border: 2px solid var(--border); color: var(--text);
  padding: 12px 16px; border-radius: var(--radius-sm); font-size: 20px;
  transition: all 0.2s;
}
.detail-btns .wishlist-detail-btn:hover { border-color: var(--danger); color: var(--danger); background: #fef2f2; }

/* ===== SUCCESS MODAL ===== */
.success-modal { max-width: 420px; text-align: center; }
.success-icon { font-size: 80px; margin-bottom: 15px; }
.success-modal h3 { font-size: 24px; font-weight: 800; color: var(--dark); margin-bottom: 10px; }
.success-modal p { color: var(--text-light); font-size: 14px; margin-bottom: 5px; }
.order-id { background: var(--primary-light); color: var(--primary); padding: 8px 16px; border-radius: var(--radius-sm); font-weight: 700; font-size: 15px; display: inline-block; margin: 15px 0; }
.continue-shopping-btn {
  background: var(--primary); color: white; padding: 12px 28px;
  border-radius: 50px; font-size: 14px; font-weight: 700; transition: all 0.3s; margin-top: 10px;
}
.continue-shopping-btn:hover { background: var(--primary-dark); }

/* ===== FEATURES SECTION ===== */
.features-bar { background: white; padding: 30px 20px; border-top: 1px solid var(--border); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.feature-item { display: flex; align-items: center; gap: 14px; }
.feature-icon { font-size: 36px; }
.feature-title { font-size: 14px; font-weight: 700; color: var(--dark); }
.feature-desc { font-size: 12px; color: var(--text-light); }

/* ===== FOOTER ===== */
footer {
  background: var(--dark); color: white; padding: 50px 20px 20px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; max-width: 1400px; margin: 0 auto; }
.footer-brand .logo-text { color: white; font-size: 24px; font-weight: 800; }
.footer-brand .logo-text span { color: var(--secondary); }
.footer-brand p { font-size: 13px; opacity: 0.7; margin: 12px 0; line-height: 1.7; }
.social-links { display: flex; gap: 10px; }
.social-btn { background: rgba(255,255,255,0.1); color: white; width: 36px; height: 36px; border-radius: 50%; font-size: 16px; display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
.social-btn:hover { background: var(--primary); }
.footer-links h4 { font-size: 15px; font-weight: 700; margin-bottom: 16px; color: white; }
.footer-links ul li { margin-bottom: 10px; }
.footer-links ul li a { font-size: 13px; opacity: 0.7; transition: all 0.2s; }
.footer-links ul li a:hover { opacity: 1; color: var(--secondary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; margin-top: 40px; max-width: 1400px; margin: 40px auto 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: gap; }
.footer-bottom p { font-size: 12px; opacity: 0.6; }
.payment-icons { display: flex; gap: 10px; align-items: center; }
.payment-icon { background: white; border-radius: 4px; padding: 4px 8px; font-size: 11px; font-weight: 700; color: var(--dark); }

/* ===== TOAST ===== */
.toast-container { position: fixed; bottom: 20px; right: 20px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; }
.toast {
  background: var(--dark); color: white; padding: 12px 20px;
  border-radius: var(--radius-sm); font-size: 13px; font-weight: 500;
  display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow-lg);
  transform: translateX(100%); transition: transform 0.3s ease; max-width: 300px;
}
.toast.show { transform: translateX(0); }
.toast.success { border-left: 4px solid var(--success); }
.toast.error { border-left: 4px solid var(--danger); }
.toast.info { border-left: 4px solid var(--primary); }

/* ===== LOADING ===== */
.loading-spinner {
  display: flex; justify-content: center; padding: 40px;
}
.spinner { width: 40px; height: 40px; border: 4px solid var(--border); border-top-color: var(--primary); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed; bottom: 25px; left: 25px;
  background: var(--primary); color: white; width: 44px; height: 44px;
  border-radius: 50%; font-size: 20px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: all 0.3s; z-index: 999;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .offers-grid { grid-template-columns: 1fr 1fr; }
  .product-detail-grid { grid-template-columns: 1fr; }
  .product-detail-img { height: 280px; }
}
@media (max-width: 768px) {
  .hero-title { font-size: 28px; }
  .hero-image { display: none; }
  .hero-slide { min-height: 260px; }
  .header-main { flex-wrap: wrap; gap: 10px; }
  .search-bar { order: 3; width: 100%; max-width: none; }
  .logo { order: 1; }
  .header-actions { order: 2; margin-left: auto; }
  nav { overflow-x: auto; }
  .nav-inner { min-width: max-content; padding: 0 10px; }
  .offers-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .payment-options { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 25px; }
  .cart-sidebar { width: 100%; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 22px; }
  .section-title { font-size: 18px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-image { height: 200px; }
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ===== WISHLIST COUNT ===== */
.wishlist-count {
  position: absolute; top: 2px; right: 6px;
  background: var(--secondary); color: var(--dark); border-radius: 50%;
  width: 18px; height: 18px; font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
