/**
 * FashionBD - Premium Fashion E-Commerce
 * Main Frontend Stylesheet
 * Version: 1.0
 */

/* =============================================
   CSS CUSTOM PROPERTIES
   ============================================= */
:root {
  --primary: #1a1a2e;
  --primary-light: #16213e;
  --primary-dark: #0f0f1a;
  --gold: #c9a96e;
  --gold-light: #d4b87a;
  --gold-dark: #b8944d;
  --accent: #e94560;
  --accent-light: #f06292;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --bg-dark: #1a1a2e;
  --text-dark: #333333;
  --text-medium: #666666;
  --text-light: #999999;
  --border-color: #e0e0e0;
  --border-light: #f0f0f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --transition: all 0.3s ease;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Poppins', 'Segoe UI', sans-serif;
  --topbar-height: 40px;
  --header-height: 80px;
}

/* =============================================
   GOOGLE FONTS
   ============================================= */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
a:hover { color: var(--gold); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; outline: none; border: none; }
button { cursor: pointer; background: none; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); font-weight: 600; line-height: 1.3; color: var(--primary); }

/* =============================================
   UTILITY CLASSES
   ============================================= */
.text-gold { color: var(--gold) !important; }
.text-accent { color: var(--accent) !important; }
.text-primary-custom { color: var(--primary) !important; }
.bg-dark-navy { background-color: var(--primary) !important; }
.bg-gold { background-color: var(--gold) !important; }
.bg-light-custom { background-color: var(--bg-light) !important; }
.fw-600 { font-weight: 600; }
.ls-1 { letter-spacing: 1px; }
.ls-2 { letter-spacing: 2px; }
.border-gold { border-color: var(--gold) !important; }
.overflow-hidden { overflow: hidden; }

/* Section Title */
.section-title {
  text-align: center;
  margin-bottom: 40px;
}
.section-title h2 {
  font-size: 2rem;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}
.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}
.section-title p {
  color: var(--text-medium);
  margin-top: 10px;
  font-size: 0.95rem;
}

/* Buttons */
.btn-gold {
  background: var(--gold);
  color: #fff;
  padding: 10px 28px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  transition: var(--transition);
  display: inline-block;
  text-align: center;
  border: 2px solid var(--gold);
}
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: #fff; transform: translateY(-1px); }
.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  padding: 10px 28px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  border: 2px solid var(--gold);
  transition: var(--transition);
  display: inline-block;
}
.btn-outline-gold:hover { background: var(--gold); color: #fff; }
.btn-dark-custom {
  background: var(--primary);
  color: #fff;
  padding: 10px 28px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  transition: var(--transition);
  display: inline-block;
}
.btn-dark-custom:hover { background: var(--primary-light); color: #fff; transform: translateY(-1px); }
.btn-accent {
  background: var(--accent);
  color: #fff;
  padding: 10px 28px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  transition: var(--transition);
}
.btn-accent:hover { background: #d63851; color: #fff; }

/* =============================================
   TOP BAR
   ============================================= */
.top-bar {
  background: var(--primary);
  color: rgba(255,255,255,0.8);
  font-size: 0.8rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(201,169,110,0.3);
}
.top-bar a { color: rgba(255,255,255,0.8); }
.top-bar a:hover { color: var(--gold); }
.top-bar .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  margin-left: 6px;
  font-size: 0.75rem;
}
.top-bar .social-links a:hover { border-color: var(--gold); color: var(--gold); }
.top-bar-info i { color: var(--gold); margin-right: 5px; }

/* =============================================
   HEADER
   ============================================= */
.main-header {
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1030;
  transition: var(--transition);
}
.main-header.scrolled {
  box-shadow: var(--shadow-md);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 20px;
}
.logo a {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
}
.logo a span { color: var(--gold); }

/* Search Bar */
.header-search {
  flex: 1;
  max-width: 500px;
  position: relative;
}
.header-search .search-input-group {
  display: flex;
  border: 2px solid var(--border-color);
  border-radius: 30px;
  overflow: hidden;
  transition: var(--transition);
}
.header-search .search-input-group:focus-within { border-color: var(--gold); }
.header-search input {
  flex: 1;
  padding: 10px 20px;
  border: none;
  font-size: 0.9rem;
  background: transparent;
}
.header-search button {
  padding: 10px 20px;
  background: var(--gold);
  color: #fff;
  border: none;
  font-size: 0.9rem;
}
.header-search button:hover { background: var(--gold-dark); }

/* Search Suggestions Dropdown */
.search-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  max-height: 400px;
  overflow-y: auto;
  display: none;
  z-index: 1050;
  margin-top: 4px;
}
.search-suggestions.active { display: block; }
.search-suggestions .search-group-title {
  padding: 8px 16px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-light);
  background: var(--bg-light);
  letter-spacing: 1px;
}
.search-suggestions .search-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  transition: var(--transition);
  cursor: pointer;
}
.search-suggestions .search-item:hover { background: var(--bg-light); }
.search-suggestions .search-item img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}
.search-suggestions .search-item .item-name { font-size: 0.9rem; }
.search-suggestions .search-item .item-price { font-size: 0.8rem; color: var(--accent); font-weight: 600; }

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header-action-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--primary);
  font-size: 1.1rem;
  transition: var(--transition);
}
.header-action-btn:hover { background: var(--bg-light); color: var(--gold); }
.header-action-btn .badge-count {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 18px;
  height: 18px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

/* =============================================
   NAVBAR / MAIN NAV
   ============================================= */
.main-navbar {
  background: var(--primary);
  position: sticky;
  top: 0;
  z-index: 1020;
}
.main-navbar .navbar-nav {
  display: flex;
  align-items: center;
  gap: 0;
}
.main-navbar .nav-link {
  color: rgba(255,255,255,0.85);
  padding: 14px 18px;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 5px;
}
.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
  color: var(--gold);
  background: rgba(255,255,255,0.05);
}
.main-navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}
.main-navbar .nav-link:hover::after { width: 100%; }

/* Mega Menu */
.nav-item-mega { position: relative; }
.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 700px;
  background: #fff;
  box-shadow: var(--shadow-xl);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  padding: 30px;
  display: none;
  z-index: 1050;
  animation: fadeDown 0.3s ease;
}
.nav-item-mega:hover .mega-menu { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mega-menu-col h6 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border-light);
}
.mega-menu-col a {
  display: block;
  padding: 5px 0;
  color: var(--text-dark);
  font-size: 0.88rem;
}
.mega-menu-col a:hover { color: var(--gold); padding-left: 5px; }
.mega-menu-image { grid-column: span 1; }
.mega-menu-image img { border-radius: var(--radius-md); width: 100%; height: 200px; object-fit: cover; }

/* Dropdown Menu */
.dropdown-menu-custom {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  display: none;
  z-index: 1050;
}
.nav-item-dropdown:hover .dropdown-menu-custom { display: block; }
.dropdown-menu-custom a {
  display: block;
  padding: 10px 20px;
  color: var(--text-dark);
  font-size: 0.88rem;
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}
.dropdown-menu-custom a:hover { background: var(--bg-light); color: var(--gold); padding-left: 25px; }

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  font-size: 1.3rem;
  color: var(--primary);
  cursor: pointer;
}
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1040;
}
.mobile-nav-panel {
  position: fixed;
  top: 0;
  left: -300px;
  width: 300px;
  height: 100vh;
  background: #fff;
  z-index: 1050;
  overflow-y: auto;
  transition: var(--transition);
}
.mobile-nav-panel.active { left: 0; }
.mobile-nav-panel .mobile-nav-header {
  padding: 20px;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-nav-panel .nav-link {
  display: block;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-dark);
}
.mobile-nav-panel .nav-link:hover { background: var(--bg-light); color: var(--gold); }

/* =============================================
   HERO SLIDER
   ============================================= */
.hero-slider {
  position: relative;
  overflow: hidden;
  background: var(--primary);
}
.hero-slide {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}
.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,46,0.85) 0%, rgba(26,26,46,0.4) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 600px;
  padding: 40px;
}
.hero-content .hero-subtitle {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 12px;
}
.hero-content h1 {
  font-size: 3rem;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 16px;
}
.hero-content p {
  font-size: 1rem;
  opacity: 0.85;
  margin-bottom: 24px;
  line-height: 1.7;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-slider .slider-controls {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}
.hero-slider .slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--transition);
}
.hero-slider .slider-dot.active { background: var(--gold); width: 30px; border-radius: 6px; }
.hero-slider .slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: var(--transition);
  font-size: 1.1rem;
}
.hero-slider .slider-arrow:hover { background: var(--gold); }
.hero-slider .slider-arrow.prev { left: 20px; }
.hero-slider .slider-arrow.next { right: 20px; }

/* =============================================
   FEATURED CATEGORIES
   ============================================= */
.categories-section { padding: 60px 0; }
.category-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  height: 280px;
  group: true;
}
.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.category-card:hover img { transform: scale(1.08); }
.category-card .category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: #fff;
}
.category-card .category-overlay h5 { color: #fff; font-size: 1.15rem; margin-bottom: 4px; }
.category-card .category-overlay span { color: var(--gold); font-size: 0.85rem; font-weight: 500; }

/* =============================================
   FLASH SALE SECTION
   ============================================= */
.flash-sale-section {
  padding: 60px 0;
  background: var(--primary);
  color: #fff;
}
.flash-sale-section .section-title h2 { color: #fff; }
.flash-sale-section .section-title h2::after { background: var(--gold); }
.flash-sale-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 30px;
}
.flash-timer {
  display: flex;
  gap: 10px;
}
.flash-timer .time-box {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(201,169,110,0.3);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  text-align: center;
  min-width: 60px;
}
.flash-timer .time-box .number {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.flash-timer .time-box .label {
  font-size: 0.7rem;
  text-transform: uppercase;
  opacity: 0.7;
  margin-top: 2px;
}

/* =============================================
   PRODUCT CARD
   ============================================= */
.product-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.product-card .product-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--bg-light);
}
.product-card .product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-image img { transform: scale(1.05); }
.product-card .product-image .product-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 2;
}
.product-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.badge-sale { background: var(--accent); color: #fff; }
.badge-new { background: #28a745; color: #fff; }
.badge-trending { background: #6f42c1; color: #fff; }
.badge-hot { background: #fd7e14; color: #fff; }
.badge-best { background: var(--gold); color: #fff; }
.product-card .product-actions {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
  z-index: 2;
}
.product-card:hover .product-actions { opacity: 1; transform: translateX(0); }
.product-card .product-actions button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.product-card .product-actions button:hover { background: var(--gold); color: #fff; }
.product-card .product-actions button.wishlisted { color: var(--accent); }
.product-card .product-info {
  padding: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card .product-category {
  font-size: 0.75rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.product-card .product-name {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}
.product-card .product-name a:hover { color: var(--gold); }
.product-card .product-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 6px;
}
.product-card .product-rating .stars { color: #ffc107; font-size: 0.78rem; }
.product-card .product-rating .count { font-size: 0.75rem; color: var(--text-light); }
.product-card .product-price {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}
.product-card .current-price { font-size: 1.05rem; font-weight: 700; color: var(--primary); }
.product-card .original-price { font-size: 0.85rem; color: var(--text-light); text-decoration: line-through; }
.product-card .discount-tag { font-size: 0.75rem; color: var(--accent); font-weight: 600; }
.product-card .add-to-cart-btn {
  width: 100%;
  padding: 10px;
  background: var(--primary);
  color: #fff;
  font-weight: 500;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
  margin-top: 10px;
  border-radius: var(--radius-sm);
}
.product-card .add-to-cart-btn:hover { background: var(--gold); color: #fff; }

/* =============================================
   PRODUCT DETAIL PAGE
   ============================================= */
.product-detail { padding: 30px 0 60px; }
.product-gallery {
  position: sticky;
  top: 120px;
}
.product-main-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 12px;
  background: var(--bg-light);
  aspect-ratio: 1;
}
.product-main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  cursor: zoom-in;
}
.product-thumbnails {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.product-thumbnails .thumb {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  flex-shrink: 0;
  transition: var(--transition);
}
.product-thumbnails .thumb.active,
.product-thumbnails .thumb:hover { border-color: var(--gold); }
.product-thumbnails .thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-info-detail h1 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}
.product-meta-info {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.product-meta-info .sku { font-size: 0.85rem; color: var(--text-light); }
.product-meta-info .rating-detail { display: flex; align-items: center; gap: 4px; }
.product-price-detail {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 20px;
}
.product-price-detail .price-main { font-size: 1.8rem; font-weight: 700; color: var(--primary); }
.product-price-detail .price-regular { font-size: 1.1rem; color: var(--text-light); text-decoration: line-through; }
.product-price-detail .price-discount { font-size: 1rem; color: var(--accent); font-weight: 600; }
.product-price-detail .price-save { font-size: 0.85rem; color: #28a745; }
.product-short-desc {
  color: var(--text-medium);
  margin-bottom: 20px;
  line-height: 1.7;
}

/* Color & Size Selectors */
.product-option-group { margin-bottom: 16px; }
.product-option-group label {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
  display: block;
}
.color-options { display: flex; gap: 8px; flex-wrap: wrap; }
.color-swatch {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid transparent;
  transition: var(--transition);
  position: relative;
}
.color-swatch.active,
.color-swatch:hover { border-color: var(--primary); transform: scale(1.1); }
.color-swatch.active::after {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.7rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
.size-options { display: flex; gap: 8px; flex-wrap: wrap; }
.size-btn {
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}
.size-btn:hover,
.size-btn.active { border-color: var(--primary); color: var(--primary); }
.size-btn.out-of-stock { opacity: 0.4; cursor: not-allowed; text-decoration: line-through; }

/* Quantity Input */
.quantity-input-group {
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.quantity-input-group button {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--primary);
  transition: var(--transition);
}
.quantity-input-group button:hover { background: var(--bg-light); }
.quantity-input-group input {
  width: 50px;
  height: 40px;
  text-align: center;
  border-left: 2px solid var(--border-color);
  border-right: 2px solid var(--border-color);
  font-weight: 600;
}
.product-buy-actions {
  display: flex;
  gap: 12px;
  margin: 20px 0;
  flex-wrap: wrap;
}
.product-buy-actions .btn-add-cart { flex: 1; min-width: 180px; }
.product-buy-actions .btn-buy-now { flex: 1; min-width: 180px; }
.product-extra-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.product-extra-actions a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  color: var(--text-medium);
}
.product-extra-actions a:hover { color: var(--gold); }
.product-extra-actions a i { font-size: 1rem; }

/* Product Tabs */
.product-tabs { margin-top: 40px; }
.product-tabs .nav-tabs {
  border-bottom: 2px solid var(--border-light);
  gap: 0;
}
.product-tabs .nav-link {
  border: none;
  padding: 12px 24px;
  font-weight: 600;
  color: var(--text-medium);
  position: relative;
  font-size: 0.95rem;
}
.product-tabs .nav-link.active { color: var(--primary); }
.product-tabs .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
}
.tab-content-custom { padding: 24px 0; }
.tab-content-custom p { color: var(--text-medium); line-height: 1.8; margin-bottom: 12px; }

/* Reviews */
.review-item {
  border-bottom: 1px solid var(--border-light);
  padding: 20px 0;
}
.review-item .review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.review-item .reviewer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-weight: 600;
}
.review-item .reviewer-name { font-weight: 600; font-size: 0.95rem; }
.review-item .review-date { font-size: 0.8rem; color: var(--text-light); }
.review-item .review-title { font-weight: 600; margin-bottom: 4px; }
.review-item .review-comment { color: var(--text-medium); font-size: 0.92rem; line-height: 1.7; }

/* =============================================
   SHOP / LISTING PAGE
   ============================================= */
.shop-page { padding: 30px 0 60px; }
.shop-sidebar .widget {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.shop-sidebar .widget-title {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.shop-sidebar .widget-title i { color: var(--gold); }
.shop-sidebar .filter-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  color: var(--text-dark);
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border-light);
}
.shop-sidebar .filter-list a:hover { color: var(--gold); }
.shop-sidebar .filter-list .count {
  font-size: 0.8rem;
  color: var(--text-light);
  background: var(--bg-light);
  padding: 2px 8px;
  border-radius: 10px;
}
.price-range-group { padding: 10px 0; }
.price-range-group input[type=range] {
  width: 100%;
  accent-color: var(--gold);
}
.color-filter-list { display: flex; gap: 8px; flex-wrap: wrap; }
.color-filter-item {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}
.color-filter-item:hover,
.color-filter-item.active { border-color: var(--primary); }
.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  padding: 12px 16px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.shop-toolbar .result-count { font-size: 0.9rem; color: var(--text-medium); }
.shop-toolbar select {
  padding: 6px 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-dark);
}
.view-toggle button {
  padding: 6px 10px;
  color: var(--text-medium);
  border: 1px solid var(--border-color);
  margin-left: 4px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.view-toggle button.active,
.view-toggle button:hover { color: var(--gold); border-color: var(--gold); }

/* Product List View */
.product-list-view .product-card {
  flex-direction: row;
  max-height: 220px;
}
.product-list-view .product-image { width: 220px; min-width: 220px; aspect-ratio: auto; height: 100%; }
.product-list-view .product-info { justify-content: center; }

/* =============================================
   CART PAGE
   ============================================= */
.cart-page { padding: 30px 0 60px; }
.cart-table {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.cart-table table { width: 100%; }
.cart-table th {
  background: var(--primary);
  color: #fff;
  padding: 14px 16px;
  font-weight: 500;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.cart-table td {
  padding: 16px;
  vertical-align: middle;
  border-bottom: 1px solid var(--border-light);
}
.cart-item-info {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cart-item-info img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}
.cart-item-info .item-name { font-weight: 500; font-size: 0.92rem; }
.cart-item-info .item-variant { font-size: 0.8rem; color: var(--text-light); }
.cart-item-remove {
  color: var(--text-light);
  font-size: 1.1rem;
  transition: var(--transition);
}
.cart-item-remove:hover { color: var(--accent); }
.cart-summary {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.cart-summary h4 {
  font-family: var(--font-body);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border-light);
}
.cart-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 0.92rem;
}
.cart-summary-row.total {
  font-weight: 700;
  font-size: 1.15rem;
  border-top: 2px solid var(--border-color);
  padding-top: 14px;
  margin-top: 8px;
  color: var(--primary);
}
.coupon-form {
  display: flex;
  gap: 8px;
  margin: 16px 0;
}
.coupon-form input {
  flex: 1;
  padding: 10px 14px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}
.coupon-form input:focus { border-color: var(--gold); }

/* =============================================
   CHECKOUT PAGE
   ============================================= */
.checkout-page { padding: 30px 0 60px; }
.checkout-section {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}
.checkout-section h4 {
  font-family: var(--font-body);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border-light);
  font-size: 1.05rem;
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-weight: 500;
  font-size: 0.88rem;
  margin-bottom: 6px;
  color: var(--text-dark);
}
.form-group label .required { color: var(--accent); }
.form-control-custom {
  width: 100%;
  padding: 10px 14px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  transition: var(--transition);
  background: #fff;
}
.form-control-custom:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,169,110,0.15); }
textarea.form-control-custom { resize: vertical; min-height: 100px; }

/* Payment Methods */
.payment-methods { display: flex; flex-direction: column; gap: 10px; }
.payment-method {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
}
.payment-method:hover,
.payment-method.active { border-color: var(--gold); background: rgba(201,169,110,0.03); }
.payment-method input[type=radio] { accent-color: var(--gold); }
.payment-method .method-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.payment-method .method-info { flex: 1; }
.payment-method .method-name { font-weight: 600; font-size: 0.92rem; }
.payment-method .method-desc { font-size: 0.8rem; color: var(--text-light); }
.payment-details { display: none; padding: 16px; margin-top: 8px; background: var(--bg-light); border-radius: var(--radius-sm); }
.payment-method.active + .payment-details { display: block; }

/* =============================================
   CUSTOMER DASHBOARD
   ============================================= */
.customer-dashboard { padding: 30px 0 60px; }
.customer-sidebar {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.customer-sidebar .customer-avatar {
  text-align: center;
  padding: 24px;
  background: var(--primary);
  color: #fff;
}
.customer-sidebar .customer-avatar .avatar-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}
.customer-sidebar .customer-avatar h5 { color: #fff; margin-bottom: 2px; }
.customer-sidebar .customer-avatar p { font-size: 0.8rem; opacity: 0.7; }
.customer-sidebar .sidebar-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  font-size: 0.92rem;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}
.customer-sidebar .sidebar-menu a:hover,
.customer-sidebar .sidebar-menu a.active { background: var(--bg-light); color: var(--gold); }
.customer-sidebar .sidebar-menu a i { width: 20px; text-align: center; }
.customer-content {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.customer-content h3 {
  font-family: var(--font-body);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border-light);
}

/* Order Card */
.order-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 16px;
  transition: var(--transition);
}
.order-card:hover { box-shadow: var(--shadow-sm); }
.order-card .order-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.order-card .order-number { font-weight: 600; }
.order-card .order-date { font-size: 0.85rem; color: var(--text-light); }
.order-card .order-items-preview {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.order-card .order-items-preview img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}
.order-card .order-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}
.order-card .order-total { font-weight: 700; font-size: 1.05rem; color: var(--primary); }

/* Order Tracking Timeline */
.order-timeline { position: relative; padding-left: 30px; }
.order-timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-color);
}
.timeline-item {
  position: relative;
  padding-bottom: 24px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -24px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border-color);
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--border-color);
}
.timeline-item.completed::before { background: var(--gold); box-shadow: 0 0 0 2px var(--gold); }
.timeline-item.active::before { background: var(--gold); box-shadow: 0 0 0 4px rgba(201,169,110,0.3); width: 14px; height: 14px; left: -25px; }
.timeline-item .timeline-title { font-weight: 600; font-size: 0.92rem; margin-bottom: 2px; }
.timeline-item .timeline-date { font-size: 0.8rem; color: var(--text-light); }
.timeline-item .timeline-comment { font-size: 0.85rem; color: var(--text-medium); margin-top: 4px; }

/* =============================================
   AUTH PAGES (Login/Register)
   ============================================= */
.auth-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: linear-gradient(135deg, var(--bg-light) 0%, #e8e4df 100%);
}
.auth-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 440px;
  width: 100%;
  box-shadow: var(--shadow-lg);
}
.auth-card .auth-logo { text-align: center; margin-bottom: 24px; }
.auth-card .auth-logo a { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 700; color: var(--primary); }
.auth-card .auth-logo a span { color: var(--gold); }
.auth-card h3 { text-align: center; margin-bottom: 24px; font-size: 1.3rem; }
.auth-card .form-check-label { font-size: 0.85rem; }
.auth-card .auth-links { text-align: center; margin-top: 16px; font-size: 0.9rem; }
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--text-light);
  font-size: 0.85rem;
}
.auth-divider::before,
.auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border-color); }

/* =============================================
   STATIC PAGES
   ============================================= */
.page-content { padding: 40px 0 60px; }
.page-content h1 { font-size: 1.8rem; margin-bottom: 24px; }
.page-content h2 { font-size: 1.4rem; margin: 24px 0 12px; }
.page-content p { color: var(--text-medium); line-height: 1.8; margin-bottom: 12px; }
.page-content ul, .page-content ol { padding-left: 20px; margin-bottom: 12px; }
.page-content li { color: var(--text-medium); line-height: 1.8; margin-bottom: 6px; list-style: disc; }
.page-content ol li { list-style: decimal; }

/* FAQ Page */
.faq-section { padding: 40px 0 60px; }
.accordion-custom .accordion-item {
  border: none;
  margin-bottom: 8px;
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.accordion-custom .accordion-button {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: #fff;
  padding: 16px 20px;
  box-shadow: none;
}
.accordion-custom .accordion-button:not(.collapsed) { color: var(--gold); background: rgba(201,169,110,0.05); }
.accordion-custom .accordion-button::after { filter: none; }
.accordion-custom .accordion-body { padding: 16px 20px; color: var(--text-medium); line-height: 1.8; }

/* Contact Page */
.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.contact-info-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.contact-info-card .icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-info-card h6 { margin-bottom: 4px; }
.contact-info-card p { font-size: 0.9rem; color: var(--text-medium); margin: 0; }

/* =============================================
   FOOTER
   ============================================= */
.main-footer {
  background: var(--primary);
  color: rgba(255,255,255,0.8);
  padding-top: 60px;
}
.footer-widget h5 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.footer-widget h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--gold);
}
.footer-widget p { font-size: 0.9rem; line-height: 1.7; opacity: 0.8; }
.footer-widget .footer-links a {
  display: block;
  padding: 4px 0;
  font-size: 0.9rem;
  opacity: 0.8;
}
.footer-widget .footer-links a:hover { color: var(--gold); opacity: 1; padding-left: 5px; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.footer-newsletter .newsletter-form {
  display: flex;
  gap: 0;
  margin-top: 12px;
}
.footer-newsletter .newsletter-form input {
  flex: 1;
  padding: 10px 14px;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  border: none;
  font-size: 0.9rem;
}
.footer-newsletter .newsletter-form button {
  padding: 10px 20px;
  background: var(--gold);
  color: #fff;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-weight: 500;
  transition: var(--transition);
}
.footer-newsletter .newsletter-form button:hover { background: var(--gold-dark); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  margin-top: 40px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* =============================================
   BRAND LOGOS
   ============================================= */
.brands-section { padding: 40px 0; background: #fff; }
.brand-logos { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.brand-logo-item {
  opacity: 0.4;
  filter: grayscale(100%);
  transition: var(--transition);
  max-width: 120px;
}
.brand-logo-item:hover { opacity: 1; filter: grayscale(0%); }

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials-section { padding: 60px 0; background: var(--bg-light); }
.testimonial-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  position: relative;
}
.testimonial-card .quote-icon {
  font-size: 2.5rem;
  color: var(--gold);
  opacity: 0.3;
  position: absolute;
  top: 16px;
  right: 20px;
}
.testimonial-card .avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--bg-light);
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-light);
}
.testimonial-card .name { font-weight: 600; font-size: 0.95rem; margin-bottom: 2px; }
.testimonial-card .designation { font-size: 0.8rem; color: var(--text-light); margin-bottom: 12px; }
.testimonial-card .comment { font-size: 0.92rem; color: var(--text-medium); line-height: 1.7; font-style: italic; }

/* =============================================
   INSTAGRAM GALLERY
   ============================================= */
.instagram-section { padding: 60px 0; }
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
}
.instagram-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}
.instagram-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.instagram-item:hover img { transform: scale(1.1); }
.instagram-item .insta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,26,46,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  color: #fff;
  font-size: 1.5rem;
}
.instagram-item:hover .insta-overlay { opacity: 1; }

/* =============================================
   NEWSLETTER SECTION
   ============================================= */
.newsletter-section {
  padding: 60px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  text-align: center;
}
.newsletter-section h3 { color: #fff; font-size: 1.6rem; margin-bottom: 8px; }
.newsletter-section p { opacity: 0.8; margin-bottom: 24px; }
.newsletter-form-main {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  gap: 0;
}
.newsletter-form-main input {
  flex: 1;
  padding: 14px 20px;
  border: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  font-size: 0.95rem;
}
.newsletter-form-main button {
  padding: 14px 28px;
  background: var(--gold);
  color: #fff;
  font-weight: 600;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  transition: var(--transition);
}
.newsletter-form-main button:hover { background: var(--gold-dark); }

/* =============================================
   SPECIAL OFFERS BANNER
   ============================================= */
.offer-banner {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 250px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}
.offer-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26,26,46,0.75);
}
.offer-banner .offer-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 40px;
}
.offer-banner .offer-content .offer-label {
  display: inline-block;
  background: var(--accent);
  padding: 4px 14px;
  border-radius: 3px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.offer-banner .offer-content h3 { color: #fff; font-size: 1.8rem; margin-bottom: 8px; }
.offer-banner .offer-content p { opacity: 0.85; margin-bottom: 16px; }

/* =============================================
   BREADCRUMB
   ============================================= */
.breadcrumb-section {
  background: var(--bg-light);
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
}
.breadcrumb { margin: 0; padding: 0; background: none; }
.breadcrumb-item { font-size: 0.85rem; }
.breadcrumb-item a { color: var(--text-medium); }
.breadcrumb-item.active { color: var(--gold); }
.breadcrumb-item + .breadcrumb-item::before { color: var(--text-light); }

/* =============================================
   PAGINATION
   ============================================= */
.pagination .page-link {
  color: var(--text-dark);
  border: 1px solid var(--border-color);
  padding: 8px 14px;
  margin: 0 2px;
  border-radius: var(--radius-sm) !important;
  font-size: 0.88rem;
  transition: var(--transition);
}
.pagination .page-link:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.pagination .page-item.active .page-link { background: var(--primary); border-color: var(--primary); color: #fff; }

/* =============================================
   BACK TO TOP
   ============================================= */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background: var(--gold);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  cursor: pointer;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--gold-dark); transform: translateY(-3px); }

/* =============================================
   TOAST NOTIFICATIONS
   ============================================= */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.toast-notification {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 300px;
  max-width: 400px;
  animation: slideInRight 0.3s ease;
  border-left: 4px solid var(--gold);
}
.toast-notification.success { border-left-color: #28a745; }
.toast-notification.error { border-left-color: var(--accent); }
.toast-notification .toast-icon { font-size: 1.2rem; }
.toast-notification .toast-message { flex: 1; font-size: 0.9rem; }
.toast-notification .toast-close { cursor: pointer; color: var(--text-light); }

/* =============================================
   LOADING
   ============================================= */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border-color);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* =============================================
   WISHLIST & COMPARE PAGE
   ============================================= */
.wishlist-page { padding: 30px 0 60px; }
.empty-state {
  text-align: center;
  padding: 60px 20px;
}
.empty-state i { font-size: 4rem; color: var(--text-light); margin-bottom: 16px; }
.empty-state h4 { margin-bottom: 8px; }
.empty-state p { color: var(--text-medium); margin-bottom: 20px; }
.compare-table { background: #fff; border-radius: var(--radius-md); overflow-x: auto; box-shadow: var(--shadow-sm); }
.compare-table th,
.compare-table td { padding: 14px 16px; text-align: center; border-bottom: 1px solid var(--border-light); }
.compare-table th { background: var(--primary); color: #fff; font-weight: 500; }

/* =============================================
   ORDER SUCCESS
   ============================================= */
.order-success { text-align: center; padding: 60px 20px; }
.order-success .success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #d4edda;
  color: #28a745;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 20px;
}
.order-success h2 { margin-bottom: 8px; }
.order-success p { color: var(--text-medium); }

/* =============================================
   404 PAGE
   ============================================= */
.error-404 {
  text-align: center;
  padding: 80px 20px;
}
.error-404 h1 { font-size: 6rem; color: var(--gold); }
.error-404 h2 { margin-bottom: 12px; }
.error-404 p { color: var(--text-medium); margin-bottom: 24px; }

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(100px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
.fade-in { animation: fadeIn 0.5s ease; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1200px) {
  .mega-menu { min-width: 550px; padding: 20px; }
  .hero-content h1 { font-size: 2.5rem; }
}
@media (max-width: 991px) {
  .top-bar .top-bar-left { display: none; }
  .mobile-menu-toggle { display: flex; }
  .main-navbar { display: none; }
  .main-navbar.mobile-active { display: block; }
  .header-search { max-width: 300px; }
  .hero-slide { min-height: 400px; }
  .hero-content h1 { font-size: 2rem; }
  .product-list-view .product-card { flex-direction: column; max-height: none; }
  .product-list-view .product-image { width: 100%; }
  .instagram-grid { grid-template-columns: repeat(3, 1fr); }
  .customer-sidebar { margin-bottom: 20px; }
}
@media (max-width: 767px) {
  .top-bar { display: none; }
  .header-search { display: none; }
  .mobile-search { display: block !important; }
  .hero-slide { min-height: 350px; }
  .hero-content { padding: 20px; }
  .hero-content h1 { font-size: 1.6rem; }
  .hero-content p { font-size: 0.9rem; }
  .section-title h2 { font-size: 1.5rem; }
  .category-card { height: 200px; }
  .flash-sale-header { flex-direction: column; align-items: flex-start; }
  .product-buy-actions { flex-direction: column; }
  .product-buy-actions .btn-add-cart,
  .product-buy-actions .btn-buy-now { min-width: 100%; }
  .cart-table { overflow-x: auto; }
  .cart-table table { min-width: 600px; }
  .instagram-grid { grid-template-columns: repeat(2, 1fr); }
  .newsletter-form-main { flex-direction: column; }
  .newsletter-form-main input { border-radius: var(--radius-sm); margin-bottom: 8px; }
  .newsletter-form-main button { border-radius: var(--radius-sm); }
  .offer-banner { min-height: 180px; }
  .offer-banner .offer-content h3 { font-size: 1.3rem; }
  .auth-card { padding: 24px; }
}
@media (max-width: 575px) {
  body { font-size: 14px; }
  .logo a { font-size: 1.4rem; }
  .header-actions { gap: 4px; }
  .header-action-btn { width: 36px; height: 36px; font-size: 0.95rem; }
  .product-card .product-info { padding: 10px; }
  .product-card .product-name { font-size: 0.85rem; }
  .product-card .current-price { font-size: 0.95rem; }
  .product-info-detail h1 { font-size: 1.3rem; }
  .product-price-detail .price-main { font-size: 1.4rem; }
}

/* Mobile Search Bar (shown only on mobile) */
.mobile-search {
  display: none;
  padding: 10px 16px;
  background: #fff;
  border-bottom: 1px solid var(--border-light);
}
.mobile-search .search-input-group {
  display: flex;
  border: 2px solid var(--border-color);
  border-radius: 30px;
  overflow: hidden;
}
.mobile-search input { flex: 1; padding: 10px 16px; border: none; font-size: 0.9rem; }
.mobile-search button { padding: 10px 16px; background: var(--gold); color: #fff; border: none; }