/* ============================================================
   DHATU CRAFTS - Premium Metal Crafts Store
   Main Stylesheet - Luxury Himalayan Aesthetic
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,600&family=Jost:wght@300;400;500;600&family=Cinzel:wght@400;600;700&display=swap');

/* ---- CSS Variables ---- */
:root {
  --gold: #C9952A;
  --gold-light: #E8B84B;
  --gold-pale: #F5E6C0;
  --copper: #B87333;
  --bronze: #8C6239;
  --dark: #0D0B08;
  --dark-2: #1A1710;
  --dark-3: #2A2520;
  --mid: #4A4035;
  --muted: #8A7A6A;
  --cream: #FAF6EE;
  --cream-2: #F0E8D8;
  --white: #FFFFFF;
  --red: #C0392B;
  --green: #27AE60;
  
  --font-display: 'Cinzel', serif;
  --font-body: 'Jost', sans-serif;
  --font-accent: 'Cormorant Garamond', serif;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.18);
  --shadow-gold: 0 4px 20px rgba(201,149,42,0.25);
  
  --radius: 4px;
  --radius-lg: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Base Reset ---- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--dark);
}

p { color: var(--mid); }

a { 
  color: var(--gold);
  text-decoration: none;
  transition: var(--transition);
}
a:hover { color: var(--gold-light); }

img { max-width: 100%; }

/* ---- Typography Helpers ---- */
.font-display { font-family: var(--font-display); }
.font-accent { font-family: var(--font-accent); }
.text-gold { color: var(--gold); }
.text-copper { color: var(--copper); }
.text-muted-custom { color: var(--muted); }

/* ---- Buttons ---- */
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--white);
  border: none;
  padding: 12px 32px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-gold);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201,149,42,0.4);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
  padding: 11px 30px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-dark-custom {
  background: var(--dark);
  color: var(--white);
  border: none;
  padding: 12px 32px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}
.btn-dark-custom:hover {
  background: var(--dark-3);
  color: var(--gold);
  transform: translateY(-2px);
}

/* ---- Ornament Divider ---- */
.ornament {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 12px 0;
}
.ornament::before, .ornament::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold));
}
.ornament::after {
  background: linear-gradient(to left, transparent, var(--gold));
}
.ornament-icon {
  color: var(--gold);
  font-size: 14px;
}

/* ---- Section Titles ---- */
.section-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 16px;
}

.section-subtitle {
  font-family: var(--font-accent);
  font-size: 18px;
  font-style: italic;
  color: var(--muted);
  margin-bottom: 0;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
#topBar {
  background: var(--dark);
  padding: 8px 0;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.5px;
}
#topBar a { color: var(--muted); }
#topBar a:hover { color: var(--gold); }

#mainNav {
  background: var(--white);
  border-bottom: 1px solid var(--cream-2);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

#mainNav .navbar-brand {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: 2px;
}
#mainNav .brand-tagline {
  font-family: var(--font-accent);
  font-size: 11px;
  font-style: italic;
  color: var(--muted);
  letter-spacing: 1px;
  display: block;
  line-height: 1;
}

#mainNav .nav-link {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--dark) !important;
  padding: 8px 14px !important;
  transition: var(--transition);
}
#mainNav .nav-link:hover { color: var(--gold) !important; }
#mainNav .nav-link.active { color: var(--gold) !important; }

.nav-icon-btn {
  background: none;
  border: none;
  color: var(--dark);
  font-size: 18px;
  padding: 6px 10px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}
.nav-icon-btn:hover { color: var(--gold); }

.cart-badge, .wishlist-badge {
  position: absolute;
  top: -2px;
  right: 0;
  background: var(--gold);
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
}

.search-bar-wrapper {
  background: var(--cream);
  border: 1px solid var(--cream-2);
  border-radius: 30px;
  display: flex;
  align-items: center;
  padding: 6px 16px;
  transition: var(--transition);
  max-width: 300px;
  width: 100%;
}
.search-bar-wrapper:focus-within {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(201,149,42,0.1);
}
.search-bar-wrapper input {
  border: none;
  background: transparent;
  outline: none;
  flex: 1;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--dark);
}
.search-bar-wrapper input::placeholder { color: var(--muted); }
.search-bar-wrapper button {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}
.search-bar-wrapper button:hover { color: var(--gold); }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: var(--dark-2);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.4;
  transition: opacity 0.8s ease, transform 6s ease;
}
.hero-bg.active { opacity: 0.45; transform: scale(1.03); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,11,8,0.85) 0%, rgba(13,11,8,0.4) 60%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  animation: heroFadeIn 1.2s ease both;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-label::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 24px;
}
.hero-title em {
  font-style: italic;
  color: var(--gold);
  font-family: var(--font-accent);
}

.hero-subtitle {
  font-family: var(--font-accent);
  font-size: 20px;
  font-style: italic;
  color: rgba(255,255,255,0.7);
  margin-bottom: 40px;
  max-width: 480px;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 50px;
  z-index: 2;
}
.hero-stat { text-align: center; }
.hero-stat-number {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  display: block;
}
.hero-stat-label {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.hero-slider-dots {
  position: absolute;
  bottom: 40px;
  right: 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 2;
}
.hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: var(--transition);
}
.hero-dot.active {
  background: var(--gold);
  height: 24px;
  border-radius: 3px;
}

/* ============================================================
   CATEGORY STRIP
   ============================================================ */
.categories-strip {
  background: var(--cream);
  padding: 60px 0;
  border-bottom: 1px solid var(--cream-2);
}

.category-card {
  text-align: center;
  padding: 28px 20px;
  background: var(--white);
  border: 1px solid var(--cream-2);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: block;
  position: relative;
  overflow: hidden;
}
.category-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--copper));
  transform: scaleX(0);
  transition: var(--transition);
}
.category-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}
.category-card:hover::before { transform: scaleX(1); }

.category-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--gold-pale), var(--cream-2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 24px;
  color: var(--gold);
  transition: var(--transition);
}
.category-card:hover .category-icon {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--white);
}

.category-name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}
.category-count {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 1px;
}

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.product-card {
  background: var(--white);
  border: 1px solid var(--cream-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-pale);
}

.product-card-img {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  aspect-ratio: 1 / 1;
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.08); }

.product-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 1;
}
.badge-sale, .badge-new, .badge-bestseller {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
}
.badge-sale { background: var(--red); color: var(--white); }
.badge-new { background: var(--green); color: var(--white); }
.badge-bestseller { background: var(--gold); color: var(--white); }

.product-actions {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  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;
  background: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 14px;
  color: var(--dark);
  box-shadow: var(--shadow-md);
}
.product-action-btn:hover {
  background: var(--gold);
  color: var(--white);
  transform: scale(1.1);
}
.product-action-btn.wishlisted { color: var(--red); }

.product-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-category-tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.product-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.3;
}
.product-name a { color: inherit; }
.product-name a:hover { color: var(--gold); }

.product-origin {
  font-family: var(--font-accent);
  font-size: 12px;
  font-style: italic;
  color: var(--muted);
  margin-bottom: 10px;
}
.product-origin i { color: var(--gold); margin-right: 4px; }

.product-stars { margin-bottom: 12px; }
.product-stars .fa-star, .product-stars .fa-star-half-alt { color: var(--gold); font-size: 12px; }
.product-stars .fa-star.far { color: var(--cream-2); }
.product-stars .rating-count { font-size: 11px; color: var(--muted); }

.product-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 16px;
  margin-top: auto;
}
.price-current {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--gold);
}
.price-original {
  font-size: 13px;
  color: var(--muted);
  text-decoration: line-through;
}
.price-discount {
  font-size: 11px;
  font-weight: 600;
  color: var(--red);
  background: rgba(192,57,43,0.08);
  padding: 2px 6px;
  border-radius: 2px;
}

.product-add-btn {
  width: 100%;
  background: var(--dark);
  color: var(--white);
  border: none;
  padding: 11px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.product-add-btn:hover {
  background: var(--gold);
  color: var(--white);
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section-pad { padding: 90px 0; }
.section-pad-sm { padding: 60px 0; }

.featured-section { background: var(--white); }
.bestsellers-section { background: var(--cream); }
.new-arrivals-section { background: var(--dark-2); }
.new-arrivals-section .section-title { color: var(--white); }
.new-arrivals-section .product-card { 
  background: var(--dark-3);
  border-color: rgba(255,255,255,0.08);
}
.new-arrivals-section .product-name { color: var(--cream); }
.new-arrivals-section .product-category-tag { color: rgba(255,255,255,0.4); }

/* ---- Promo Banner ---- */
.promo-banner {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-3) 50%, var(--bronze) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.promo-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201,149,42,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.promo-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 16px;
}
.promo-title span { color: var(--gold); }
.promo-text {
  font-family: var(--font-accent);
  font-size: 18px;
  font-style: italic;
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
}

/* ---- Testimonials ---- */
.testimonials-section {
  background: var(--cream);
  padding: 90px 0;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--cream-2);
  transition: var(--transition);
  height: 100%;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--gold-pale);
}
.testimonial-quote {
  font-size: 48px;
  color: var(--gold-pale);
  font-family: Georgia, serif;
  line-height: 1;
  margin-bottom: 16px;
}
.testimonial-text {
  font-family: var(--font-accent);
  font-size: 16px;
  font-style: italic;
  color: var(--mid);
  line-height: 1.8;
  margin-bottom: 24px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold-pale);
}
.testimonial-name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
}
.testimonial-location {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 1px;
}
.testimonial-stars .fa-star { color: var(--gold); font-size: 11px; }

/* ---- Features Strip ---- */
.features-strip {
  background: var(--dark);
  padding: 50px 0;
}
.feature-item { text-align: center; }
.feature-icon {
  font-size: 28px;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
}
.feature-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}
.feature-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.5px;
}

/* ---- Newsletter ---- */
.newsletter-section {
  background: var(--cream);
  padding: 80px 0;
  border-top: 1px solid var(--cream-2);
}
.newsletter-inner {
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
}
.newsletter-form {
  display: flex;
  gap: 0;
  margin-top: 32px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.newsletter-form input {
  flex: 1;
  border: 1.5px solid var(--cream-2);
  border-right: none;
  padding: 14px 20px;
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  background: var(--white);
  color: var(--dark);
}
.newsletter-form input:focus { border-color: var(--gold); }
.newsletter-form button {
  background: var(--gold);
  color: var(--white);
  border: none;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.newsletter-form button:hover { background: var(--gold-light); }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.6);
}
.footer-top {
  padding: 70px 0 50px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.footer-tagline {
  font-family: var(--font-accent);
  font-size: 14px;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-desc {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255,255,255,0.45);
  margin-bottom: 24px;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--gold); padding-left: 4px; }

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  align-items: flex-start;
}
.footer-contact-item i { color: var(--gold); margin-top: 3px; min-width: 16px; }
.footer-contact-item span { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.5; }

.social-links { display: flex; gap: 10px; margin-top: 20px; }
.social-link {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  transition: var(--transition);
}
.social-link:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-bottom {
  padding: 22px 0;
  font-size: 12px;
  color: rgba(255,255,255,0.25);
}
.footer-bottom a { color: rgba(255,255,255,0.35); }
.footer-bottom a:hover { color: var(--gold); }

/* ============================================================
   PRODUCT LISTING PAGE
   ============================================================ */
.shop-header {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-3) 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.shop-header::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(201,149,42,0.06));
}
.shop-header-title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--white);
}
.shop-breadcrumb { color: rgba(255,255,255,0.4); font-size: 13px; }
.shop-breadcrumb a { color: var(--gold); }

.filter-sidebar {
  background: var(--white);
  border: 1px solid var(--cream-2);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: sticky;
  top: 80px;
}
.filter-group-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--cream-2);
}
.filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  cursor: pointer;
}
.filter-option input[type="checkbox"] { accent-color: var(--gold); }
.filter-option label { font-size: 13px; color: var(--mid); cursor: pointer; }

.sort-bar {
  background: var(--cream);
  border: 1px solid var(--cream-2);
  border-radius: var(--radius);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.sort-bar select {
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--dark);
  outline: none;
  cursor: pointer;
}

/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */
.product-detail-gallery { position: sticky; top: 80px; }

.gallery-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--cream);
  aspect-ratio: 1/1;
  margin-bottom: 12px;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
}

.gallery-thumbs { display: flex; gap: 10px; }
.gallery-thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  background: var(--cream);
}
.gallery-thumb.active { border-color: var(--gold); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-detail-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}
.product-detail-price {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 20px 0;
}
.price-detail-current {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--gold);
}
.price-detail-original {
  font-size: 18px;
  color: var(--muted);
  text-decoration: line-through;
}

.variant-group { margin-bottom: 24px; }
.variant-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.variant-options { display: flex; flex-wrap: wrap; gap: 8px; }
.variant-btn {
  padding: 8px 18px;
  border: 1.5px solid var(--cream-2);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--mid);
  cursor: pointer;
  transition: var(--transition);
  background: var(--white);
}
.variant-btn:hover, .variant-btn.selected {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-pale);
}

.qty-control {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--cream-2);
  border-radius: var(--radius);
  overflow: hidden;
  width: fit-content;
}
.qty-btn {
  width: 42px;
  height: 42px;
  background: var(--cream);
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: var(--dark);
  transition: var(--transition);
}
.qty-btn:hover { background: var(--gold); color: var(--white); }
.qty-input {
  width: 56px;
  height: 42px;
  border: none;
  border-left: 1.5px solid var(--cream-2);
  border-right: 1.5px solid var(--cream-2);
  text-align: center;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  outline: none;
}

.add-to-cart-group {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.product-meta-info {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--cream-2);
}
.meta-info-item {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 13px;
}
.meta-info-item strong { color: var(--dark); min-width: 100px; font-weight: 600; }
.meta-info-item span { color: var(--mid); }

/* ============================================================
   CART PAGE
   ============================================================ */
.cart-table {
  background: var(--white);
  border: 1px solid var(--cream-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.cart-table table { margin: 0; }
.cart-table th {
  background: var(--cream);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--cream-2);
  padding: 14px 20px;
}
.cart-table td { padding: 20px; vertical-align: middle; border-bottom: 1px solid var(--cream-2); }
.cart-item-img { width: 80px; height: 80px; object-fit: cover; border-radius: var(--radius); }
.cart-item-name { font-family: var(--font-display); font-size: 15px; font-weight: 600; color: var(--dark); }
.cart-item-variant { font-size: 12px; color: var(--muted); margin-top: 4px; }

.order-summary-box {
  background: var(--white);
  border: 1px solid var(--cream-2);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: sticky;
  top: 80px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--cream-2);
  font-size: 14px;
}
.summary-row:last-child { border-bottom: none; }
.summary-row.total {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  padding-top: 16px;
}
.summary-row.total .amount { color: var(--gold); }

/* ============================================================
   CHECKOUT PAGE
   ============================================================ */
.checkout-step-indicator {
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
}
.checkout-step {
  display: flex;
  align-items: center;
  gap: 10px;
}
.step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--cream-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  transition: var(--transition);
}
.checkout-step.active .step-circle { border-color: var(--gold); background: var(--gold); color: var(--white); }
.checkout-step.done .step-circle { border-color: var(--green); background: var(--green); color: var(--white); }
.step-label { font-size: 12px; color: var(--muted); font-weight: 500; }
.checkout-step.active .step-label { color: var(--gold); }
.step-divider { width: 60px; height: 1px; background: var(--cream-2); }

.form-label-custom {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 8px;
}
.form-control-custom {
  border: 1.5px solid var(--cream-2);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--dark);
  background: var(--white);
  transition: var(--transition);
  width: 100%;
}
.form-control-custom:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,149,42,0.1);
}

.payment-option {
  border: 2px solid var(--cream-2);
  border-radius: var(--radius-lg);
  padding: 20px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.payment-option:hover { border-color: var(--gold); }
.payment-option.selected { border-color: var(--gold); background: var(--gold-pale); }
.payment-option input[type="radio"] { accent-color: var(--gold); }
.payment-option-icon { font-size: 24px; color: var(--gold); }
.payment-option-name { font-family: var(--font-display); font-size: 14px; font-weight: 600; color: var(--dark); }
.payment-option-desc { font-size: 12px; color: var(--muted); }

/* ============================================================
   AUTH PAGES
   ============================================================ */
.auth-page {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-3) 60%, var(--bronze) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
}
.auth-page::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,149,42,0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.auth-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  width: 100%;
  max-width: 460px;
  position: relative;
  z-index: 1;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}
.auth-logo {
  text-align: center;
  margin-bottom: 32px;
}
.auth-logo-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: 2px;
}
.auth-logo-sub {
  font-family: var(--font-accent);
  font-size: 13px;
  font-style: italic;
  color: var(--muted);
}
.auth-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}
.auth-subtitle {
  font-family: var(--font-accent);
  font-size: 15px;
  font-style: italic;
  color: var(--muted);
  margin-bottom: 28px;
}

/* ============================================================
   ADMIN PANEL
   ============================================================ */
.admin-sidebar {
  width: 260px;
  background: var(--dark);
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  overflow-y: auto;
  z-index: 100;
  border-right: 1px solid rgba(255,255,255,0.05);
}
.admin-logo {
  padding: 24px 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.admin-logo-text {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 2px;
}
.admin-logo-sub {
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 2px;
  font-weight: 500;
  text-transform: uppercase;
}

.admin-nav { padding: 20px 0; }
.admin-nav-section {
  padding: 8px 24px 6px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
}
.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 24px;
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  font-weight: 400;
  transition: var(--transition);
  border-left: 3px solid transparent;
}
.admin-nav-link i { width: 18px; font-size: 14px; }
.admin-nav-link:hover { color: var(--white); background: rgba(255,255,255,0.04); }
.admin-nav-link.active { color: var(--gold); background: rgba(201,149,42,0.08); border-left-color: var(--gold); }

.admin-content {
  margin-left: 260px;
  min-height: 100vh;
  background: #F4F5F7;
}
.admin-topbar {
  background: var(--white);
  border-bottom: 1px solid #E8EAED;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
}
.admin-page-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--dark);
}
.admin-body { padding: 28px; }

.stat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid #E8EAED;
  transition: var(--transition);
}
.stat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.stat-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.stat-card-value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--dark);
}
.stat-card-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.5px;
}
.stat-card-change {
  font-size: 12px;
  font-weight: 600;
  margin-top: 4px;
}
.stat-card-change.up { color: var(--green); }
.stat-card-change.down { color: var(--red); }

.admin-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid #E8EAED;
  overflow: hidden;
}
.admin-card-header {
  padding: 18px 24px;
  border-bottom: 1px solid #E8EAED;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.admin-card-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
}
.admin-card-body { padding: 24px; }

.admin-table { margin: 0; }
.admin-table thead th {
  background: #F8F9FA;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid #E8EAED;
  padding: 13px 16px;
  white-space: nowrap;
}
.admin-table tbody td {
  padding: 14px 16px;
  font-size: 13px;
  color: var(--mid);
  vertical-align: middle;
  border-bottom: 1px solid #F4F5F7;
}
.admin-table tbody tr:hover { background: #FAFBFC; }

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.status-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0.7; }
.status-pending { background: rgba(255,165,0,0.1); color: #E67E22; }
.status-confirmed { background: rgba(52,152,219,0.1); color: #2980B9; }
.status-processing { background: rgba(155,89,182,0.1); color: #8E44AD; }
.status-shipped { background: rgba(52,73,94,0.1); color: #2C3E50; }
.status-delivered { background: rgba(39,174,96,0.1); color: #27AE60; }
.status-cancelled { background: rgba(231,76,60,0.1); color: #E74C3C; }
.status-active { background: rgba(39,174,96,0.1); color: #27AE60; }
.status-inactive { background: rgba(231,76,60,0.1); color: #E74C3C; }

/* ============================================================
   UTILITY & MISC
   ============================================================ */
.gold-line {
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 16px 0;
}
.gold-line.center { margin: 16px auto; }

.breadcrumb-custom {
  background: transparent;
  padding: 0;
  margin: 0;
}
.breadcrumb-custom .breadcrumb-item { font-size: 13px; color: rgba(255,255,255,0.4); }
.breadcrumb-custom .breadcrumb-item a { color: var(--gold); }
.breadcrumb-custom .breadcrumb-item.active { color: rgba(255,255,255,0.7); }
.breadcrumb-custom .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.25); }

.alert-success { background: rgba(39,174,96,0.1); border-color: rgba(39,174,96,0.3); color: #27AE60; }
.alert-error, .alert-danger { background: rgba(231,76,60,0.1); border-color: rgba(231,76,60,0.3); color: #E74C3C; }
.alert-warning { background: rgba(230,126,34,0.1); border-color: rgba(230,126,34,0.3); color: #E67E22; }
.alert-info { background: rgba(52,152,219,0.1); border-color: rgba(52,152,219,0.3); color: #2980B9; }

.loader-overlay {
  position: fixed;
  inset: 0;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}
.loader-overlay.hidden { opacity: 0; pointer-events: none; }
.loader-ring {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(255,255,255,0.1);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- Animations ---- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }

.animate-fade-up { animation: fadeInUp 0.7s ease both; }
.animate-fade { animation: fadeIn 0.7s ease both; }
.animate-scale { animation: scaleIn 0.5s ease both; }

[data-aos] { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-aos].aos-animate { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
  .admin-sidebar { transform: translateX(-100%); transition: var(--transition); }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-content { margin-left: 0; }
  .hero-stats { flex-wrap: wrap; gap: 30px; bottom: 20px; }
  .hero-slider-dots { right: 20px; bottom: 20px; }
}

@media (max-width: 767px) {
  .section-pad { padding: 60px 0; }
  .hero-section { min-height: 70vh; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form input { border-right: 1.5px solid var(--cream-2); border-bottom: none; }
  .add-to-cart-group { flex-direction: column; }
  .auth-card { padding: 32px 24px; }
  .checkout-step-indicator { gap: 6px; }
  .step-divider { width: 30px; }
}
