/* ============================================================
   JEWELS LUXURY - Main Stylesheet
   Enterprise E-Commerce Theme
   ============================================================ */

:root {
  --gold: #c9a84c;
  --gold-dark: #a07830;
  --gold-light: #e8c96a;
  --black: #0d0d0d;
  --dark: #1a1a2e;
  --gray-dark: #2c2c3e;
  --gray: #6c757d;
  --light-bg: #f8f5f0;
  --white: #ffffff;
  --border: #e8e0d4;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 32px rgba(0,0,0,0.16);
  --radius: 12px;
  --radius-sm: 6px;
  --transition: all 0.3s ease;
}

* { box-sizing: border-box; }

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--white);
  color: #333;
  font-size: 15px;
  line-height: 1.6;
}

h1,h2,h3,h4,h5 {
  font-family: 'Playfair Display', serif;
  color: var(--dark);
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  background: var(--dark);
  padding: 8px 0;
  font-size: 13px;
}
.topbar-text {
  color: rgba(255,255,255,0.75);
}
.topbar-text i { color: var(--gold); }

/* ============================================================
   HEADER
   ============================================================ */
.main-header {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  z-index: 1040;
}

.brand-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.5px;
}
.brand-logo i { color: var(--gold); }
.brand-logo:hover { color: var(--gold); }

.brand-logo-small {
  font-family: 'Playfair Display', serif;
  color: var(--dark);
  font-size: 1.2rem;
}
.brand-logo-small i { color: var(--gold); }

.search-input {
  border: 1.5px solid var(--border);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm) !important;
  padding: 10px 16px;
  font-size: 14px;
}
.search-input:focus { border-color: var(--gold); box-shadow: none; }

.header-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--dark);
  font-size: 1.1rem;
  position: relative;
  cursor: pointer;
  transition: var(--transition);
}
.header-icon:hover { color: var(--gold); }
.header-icon-label { font-size: 11px; margin-top: 2px; white-space: nowrap; }

.badge-count {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--gold);
  color: var(--white);
  font-size: 10px;
  font-weight: 600;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ---- Navigation ---- */
.main-nav {
  border-top: 1px solid var(--border);
  background: var(--white);
}
.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-item-main {
  position: relative;
}
.nav-item-main > a {
  display: block;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
  letter-spacing: 0.3px;
  text-transform: uppercase;
  font-size: 12.5px;
  transition: var(--transition);
}
.nav-item-main > a:hover,
.nav-item-main.active > a { color: var(--gold); }
.nav-item-main:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  right: 50%;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}
.nav-item-main:hover:after,
.nav-item-main.active:after { left: 0; right: 0; }

/* Mega Menu */
.mega-menu {
  position: absolute;
  top: 100%;
  left: -150px;
  width: 600px;
  background: var(--white);
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
  border-top: 2px solid var(--gold);
  border-radius: 0 0 var(--radius) var(--radius);
  display: none;
  z-index: 1000;
}
.nav-item-main.has-dropdown:hover .mega-menu { display: block; }
.mega-menu-title a {
  color: var(--dark);
  font-size: 14px;
  font-weight: 500;
  display: block;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.mega-menu-title a:hover { background: var(--light-bg); color: var(--gold); }

/* Mobile Nav */
.mobile-nav-list li a {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  color: var(--dark);
  font-size: 15px;
  transition: var(--transition);
}
.mobile-nav-list li a:hover { color: var(--gold); padding-left: 8px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-gold {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--white) !important;
  border: none;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  transition: var(--transition);
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(201,168,76,0.4);
}
.btn-gold-outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold) !important;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition);
}
.btn-gold-outline:hover {
  background: var(--gold);
  color: var(--white) !important;
}
.btn-dark-custom {
  background: var(--dark);
  color: var(--white) !important;
  border: none;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: var(--transition);
}
.btn-dark-custom:hover { background: var(--gray-dark); }

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero-slider { overflow: hidden; position: relative; }
.hero-slide {
  height: 580px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  position: relative;
}
.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
  padding: 40px;
}
.hero-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.hero-title {
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
}
.hero-subtitle {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
  font-weight: 300;
}
.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  backdrop-filter: blur(4px);
}
.carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
}
.carousel-indicators .active { background: var(--gold); }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}
.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, var(--gold-dark), var(--gold-light));
  margin: 10px auto 0;
  border-radius: 2px;
}
.section-header p { color: var(--gray); font-size: 16px; max-width: 520px; margin: 0 auto; }
.section-header .section-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.section-tab {
  padding: 7px 20px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: var(--transition);
  background: transparent;
  color: var(--dark);
}
.section-tab.active, .section-tab:hover {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

/* ============================================================
   CATEGORY CARDS
   ============================================================ */
.category-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow);
}
.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.category-card-img {
  height: 180px;
  background: linear-gradient(135deg, var(--dark) 0%, var(--gray-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--gold);
  transition: var(--transition);
}
.category-card:hover .category-card-img { background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 100%); }
.category-card-img i { color: var(--gold-light); }
.category-card:hover .category-card-img i { color: var(--white); }
.category-card-body {
  padding: 14px;
  text-align: center;
  background: var(--white);
}
.category-card-body h6 {
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 600;
}

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  border: 1px solid var(--border);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }

.product-card-img {
  position: relative;
  overflow: hidden;
  height: 260px;
  background: var(--light-bg);
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.08); }
.product-card-img .no-img {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 3rem;
}
.product-card-img .no-img span { font-size: 13px; color: var(--gray); margin-top: 8px; font-family: 'Inter', sans-serif; }

.product-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.badge-new { background: var(--dark); color: var(--white); font-size: 10px; padding: 3px 8px; border-radius: 3px; font-weight: 600; }
.badge-sale { background: #e53e3e; color: var(--white); font-size: 10px; padding: 3px 8px; border-radius: 3px; font-weight: 600; }
.badge-bestseller { background: var(--gold); color: var(--white); font-size: 10px; padding: 3px 8px; border-radius: 3px; font-weight: 600; }

.product-actions {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
}
.product-card:hover .product-actions { opacity: 1; transform: translateX(0); }
.product-action-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  cursor: pointer;
  font-size: 14px;
  color: var(--dark);
  transition: var(--transition);
}
.product-action-btn:hover, .product-action-btn.active { background: var(--gold); color: var(--white); }

.product-card-body { padding: 16px; }
.product-category {
  font-size: 11px;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.product-title {
  font-family: 'Playfair Display', serif;
  font-size: 15.5px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--dark);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}
.product-title a { color: inherit; }
.product-title a:hover { color: var(--gold); }
.product-rating { font-size: 12px; color: var(--gray); margin-bottom: 8px; }
.product-rating .text-warning { font-size: 11px; }
.product-price {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.price-current { font-size: 18px; font-weight: 700; color: var(--dark); }
.price-original { font-size: 13px; color: var(--gray); text-decoration: line-through; }
.price-discount { font-size: 12px; color: #22c55e; font-weight: 600; }
.product-card-footer { padding: 0 16px 16px; }
.btn-add-cart {
  width: 100%;
  background: var(--dark);
  color: var(--white) !important;
  border: none;
  padding: 10px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.3px;
}
.btn-add-cart:hover { background: var(--gold); transform: translateY(-1px); }
.btn-add-cart i { margin-right: 6px; }

/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */
.product-detail-gallery .main-img {
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius);
  width: 100%;
  background: var(--light-bg);
}
.product-thumbnails { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.product-thumbnail {
  width: 75px;
  height: 75px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}
.product-thumbnail.active, .product-thumbnail:hover { border-color: var(--gold); }
.product-detail-title { font-size: 2rem; font-weight: 700; margin-bottom: 12px; line-height: 1.3; }
.product-detail-price .price-current { font-size: 2rem; font-weight: 700; }
.product-detail-price .price-original { font-size: 16px; }
.variant-btn {
  padding: 8px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  transition: var(--transition);
}
.variant-btn.active, .variant-btn:hover { border-color: var(--gold); background: var(--gold); color: var(--white); }
.product-meta-table { font-size: 14px; }
.product-meta-table td { padding: 6px 12px 6px 0; vertical-align: top; }
.product-meta-table td:first-child { color: var(--gray); font-weight: 500; width: 140px; white-space: nowrap; }

/* ============================================================
   CART PAGE
   ============================================================ */
.cart-table { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.cart-img { width: 80px; height: 80px; object-fit: cover; border-radius: var(--radius-sm); }
.cart-summary { background: var(--light-bg); border-radius: var(--radius); padding: 24px; }
.qty-control {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  width: fit-content;
}
.qty-btn {
  background: none;
  border: none;
  width: 32px;
  height: 32px;
  cursor: pointer;
  font-size: 14px;
  transition: var(--transition);
  color: var(--dark);
}
.qty-btn:hover { background: var(--gold); color: var(--white); }
.qty-input {
  width: 44px;
  text-align: center;
  border: none;
  border-left: 1.5px solid var(--border);
  border-right: 1.5px solid var(--border);
  font-size: 14px;
  padding: 4px;
}
.qty-input:focus { outline: none; }

/* ============================================================
   CHECKOUT
   ============================================================ */
.checkout-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 40px;
}
.checkout-step {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
}
.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--border);
  color: var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-right: 8px;
  font-size: 14px;
}
.checkout-step.active .step-number { background: var(--gold); color: var(--white); }
.checkout-step.done .step-number { background: #22c55e; color: var(--white); }
.step-line { width: 60px; height: 2px; background: var(--border); margin: 0 12px; }
.step-line.active { background: var(--gold); }

/* ============================================================
   ORDERS PAGE
   ============================================================ */
.order-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.order-card-header {
  background: var(--light-bg);
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.order-status {
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}
.status-pending { background: #fef3c7; color: #92400e; }
.status-confirmed { background: #dbeafe; color: #1e40af; }
.status-processing { background: #e0e7ff; color: #3730a3; }
.status-shipped { background: #d1fae5; color: #064e3b; }
.status-out_for_delivery { background: #ccfbf1; color: #115e59; }
.status-delivered { background: #d1fae5; color: #065f46; }
.status-cancelled { background: #fee2e2; color: #991b1b; }
.status-returned { background: #f3f4f6; color: #374151; }
.status-paid { background: #d1fae5; color: #065f46; }
.status-failed { background: #fee2e2; color: #991b1b; }

/* ============================================================
   TRACKING TIMELINE
   ============================================================ */
.tracking-timeline { list-style: none; padding: 0; position: relative; }
.tracking-timeline::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.tracking-item {
  padding: 0 0 24px 48px;
  position: relative;
}
.tracking-item .dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--border);
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--gray);
}
.tracking-item.done .dot { border-color: var(--gold); background: var(--gold); color: var(--white); }
.tracking-item .date { font-size: 12px; color: var(--gray); }

/* ============================================================
   FORMS (Login/Register/Checkout)
   ============================================================ */
.auth-card {
  max-width: 480px;
  margin: 60px auto;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.auth-card-header {
  background: linear-gradient(135deg, var(--dark), var(--gray-dark));
  color: var(--white);
  padding: 32px;
  text-align: center;
}
.auth-card-header h4 { font-family: 'Playfair Display', serif; margin: 0; }
.auth-card-body { padding: 32px; }
.form-control {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 14px;
  transition: var(--transition);
}
.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
}
.form-label { font-size: 13px; font-weight: 600; color: var(--dark); margin-bottom: 6px; }

/* ============================================================
   SPECIAL OFFERS / BANNERS
   ============================================================ */
.offer-banner {
  background: linear-gradient(135deg, var(--dark) 0%, var(--gray-dark) 100%);
  color: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.offer-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(201,168,76,0.2) 0%, transparent 70%);
}

/* ============================================================
   FOOTER
   ============================================================ */
.main-footer { background: var(--dark); color: rgba(255,255,255,0.8); }
.newsletter-section {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  padding: 40px 0;
}
.newsletter-title { font-family: 'Playfair Display', serif; color: var(--white); margin: 0; }
.newsletter-subtitle { color: rgba(255,255,255,0.85); margin: 0; font-size: 14px; }
.newsletter-form .form-control {
  border: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm) !important;
  padding: 12px 16px;
}
.newsletter-form .btn-gold {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0 !important;
  background: var(--dark);
  color: var(--white) !important;
}
.footer-main { padding: 60px 0 40px; }
.footer-logo { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--gold); margin-bottom: 16px; }
.footer-desc { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.65); }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: var(--transition);
}
.social-link:hover { background: var(--gold); color: var(--white); }
.footer-heading {
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  font-size: 15px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,0.65); font-size: 14px; transition: var(--transition); }
.footer-links a:hover { color: var(--gold); padding-left: 4px; }
.footer-contact { list-style: none; padding: 0; }
.footer-contact li {
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  margin-bottom: 12px;
  padding-left: 24px;
  position: relative;
  line-height: 1.5;
}
.footer-contact li i {
  position: absolute;
  left: 0;
  top: 3px;
  color: var(--gold);
  font-size: 13px;
}
.footer-contact a { color: rgba(255,255,255,0.65); }
.footer-contact a:hover { color: var(--gold); }
.footer-trust {
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
}
.trust-item { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.trust-item i { font-size: 1.8rem; color: var(--gold); }
.trust-item span { font-size: 13px; color: rgba(255,255,255,0.75); font-weight: 500; }
.footer-bottom { padding: 20px 0; font-size: 13px; color: rgba(255,255,255,0.55); }
.payment-icons { display: flex; align-items: center; gap: 8px; justify-content: flex-end; }
.payment-icons img { border-radius: 3px; }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(201,168,76,0.4);
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  z-index: 999;
  transition: var(--transition);
}
.back-to-top:hover { background: var(--gold-dark); transform: translateY(-3px); }
.back-to-top.show { display: flex; }

/* ============================================================
   WISHLIST
   ============================================================ */
.wishlist-btn.active i { color: #e53e3e !important; }
.wishlist-btn.active { color: #e53e3e; }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb-section {
  background: var(--light-bg);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.breadcrumb-item + .breadcrumb-item::before { content: "›"; font-size: 16px; }
.breadcrumb-item a { color: var(--gray); font-size: 13px; }
.breadcrumb-item.active { font-size: 13px; color: var(--dark); font-weight: 500; }

/* ============================================================
   FILTERS SIDEBAR
   ============================================================ */
.filter-sidebar { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.filter-heading { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.filter-list { list-style: none; padding: 0; }
.filter-list li { margin-bottom: 8px; }
.filter-list label { font-size: 13.5px; cursor: pointer; color: var(--dark); }
.filter-list label:hover { color: var(--gold); }
.price-range-inputs { display: flex; gap: 10px; align-items: center; }
.price-range-inputs input { width: 80px; font-size: 13px; }

/* ============================================================
   SHOP PAGE
   ============================================================ */
.shop-toolbar {
  background: var(--white);
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}
.sort-select {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 7px 12px;
  font-size: 13px;
  cursor: pointer;
}
.sort-select:focus { border-color: var(--gold); outline: none; }

/* ============================================================
   ACCOUNT PAGE
   ============================================================ */
.account-sidebar {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.account-user-info {
  background: linear-gradient(135deg, var(--dark), var(--gray-dark));
  padding: 24px;
  text-align: center;
  color: var(--white);
}
.account-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 1.8rem;
  color: var(--white);
}
.account-nav { list-style: none; padding: 12px 0; margin: 0; }
.account-nav li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  color: var(--dark);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  border-left: 3px solid transparent;
}
.account-nav li a:hover, .account-nav li.active a {
  color: var(--gold);
  background: var(--light-bg);
  border-left-color: var(--gold);
}
.account-nav li a i { width: 18px; }

/* ============================================================
   REVIEWS
   ============================================================ */
.review-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
}
.reviewer-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}
.verified-badge { font-size: 11px; color: #22c55e; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .hero-slide { height: 400px; }
  .hero-title { font-size: 2rem; }
  .hero-content { padding: 24px; }
  .section-header h2 { font-size: 1.6rem; }
  .product-card-img { height: 200px; }
  .auth-card { margin: 20px; }
  .checkout-steps { gap: 4px; }
  .step-line { width: 30px; }
}

@media (max-width: 576px) {
  .hero-slide { height: 320px; }
  .hero-title { font-size: 1.5rem; }
  .hero-content { padding: 16px; }
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-gold { color: var(--gold) !important; }
.bg-gold { background: var(--gold) !important; }
.bg-dark-custom { background: var(--dark) !important; }
.bg-light-custom { background: var(--light-bg) !important; }
.border-gold { border-color: var(--gold) !important; }
.rounded-custom { border-radius: var(--radius) !important; }
.shadow-custom { box-shadow: var(--shadow) !important; }

.py-section { padding: 64px 0; }
.py-section-sm { padding: 40px 0; }

.no-results {
  text-align: center;
  padding: 60px 20px;
  color: var(--gray);
}
.no-results i { font-size: 4rem; color: var(--border); margin-bottom: 16px; }

/* Loading spinner */
.spinner-gold {
  border: 3px solid rgba(201,168,76,0.2);
  border-top-color: var(--gold);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Fade-in animation */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
