/* ═══════════════════════════════════════════════════════════════════════════
   TAJ GEMS & JEWELLERS — "Tanzanite & Midnight" Theme
   Custom stylesheet layered on top of Bootstrap 5.3 dark mode
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Google Fonts ─────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Montserrat:wght@300;400;500;600;700&display=swap');

/* ─── CSS Variables ─────────────────────────────────────────────────────────── */
:root {
  /* Brand Palette */
  --taj-midnight:       #070d1d;
  --taj-card-bg:        #0f1a34;
  --taj-card-hover:     #14254a;
  --taj-surface:        #0b142a;
  --taj-gold:           #c7a667;
  --taj-gold-light:     #e0c997;
  --taj-gold-dark:      #87612a;
  --taj-gold-muted:     rgba(199, 166, 103, 0.16);
  --taj-tanzanite-deep: #1f2f72;
  --taj-tanzanite:      #3550b8;
  --taj-tanzanite-light:#7c91eb;
  --taj-tanzanite-mist: rgba(124, 145, 235, 0.2);
  --taj-text:           #FFFFFF;
  --taj-text-muted:     #d3dcf2;
  --taj-text-dim:       #95a7cf;
  --taj-border:         rgba(199, 166, 103, 0.28);
  --taj-border-subtle:  rgba(131, 151, 214, 0.24);
  --taj-shadow-deep:    0 28px 72px rgba(1, 6, 18, 0.68);

  /* Bootstrap overrides */
  --bs-body-bg:         var(--taj-midnight);
  --bs-body-color:      var(--taj-text-muted);
  --bs-card-bg:         var(--taj-card-bg);
  --bs-border-color:    var(--taj-border-subtle);

  /* Transitions */
  --taj-transition:     all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --taj-transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}


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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--taj-midnight);
  background-image:
    radial-gradient(circle at 14% -10%, rgba(124, 145, 235, 0.22), transparent 38%),
    radial-gradient(circle at 82% 4%, rgba(37, 57, 126, 0.26), transparent 42%),
    linear-gradient(170deg, #040812 0%, #090f21 48%, #070d1d 100%);
  color: var(--taj-text-muted);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
  isolation: isolate;
  min-height: 100vh;
}

body::before,
body::after {
  content: '';
  position: fixed;
  pointer-events: none;
  z-index: -1;
}

body::before {
  width: min(46rem, 70vw);
  height: min(46rem, 70vw);
  left: -18rem;
  top: -12rem;
  background: radial-gradient(circle, rgba(124, 145, 235, 0.24) 0%, transparent 72%);
  filter: blur(8px);
}

body::after {
  width: min(34rem, 55vw);
  height: min(34rem, 55vw);
  right: -12rem;
  top: 20%;
  background: radial-gradient(circle, rgba(199, 166, 103, 0.11) 0%, transparent 74%);
}

main {
  position: relative;
  z-index: 1;
}

.taj-navbar,
.taj-footer {
  position: relative;
  z-index: 1;
}

::selection {
  background: rgba(124, 145, 235, 0.38);
  color: #fff;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--taj-midnight); }
::-webkit-scrollbar-thumb { background: var(--taj-gold-dark); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--taj-gold); }


/* ─── Typography ─────────────────────────────────────────────────────────── */
h1, h2, h3, .font-display {
  font-family: 'Cinzel', serif;
  color: var(--taj-text);
  letter-spacing: 0.04em;
}

h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: var(--taj-text);
}

.display-1, .display-2, .display-3, .display-4 {
  font-family: 'Cinzel', serif;
  font-weight: 600;
}

.text-gold       { color: var(--taj-gold) !important; }
.text-muted-taj  { color: var(--taj-text-muted) !important; }
.text-dim        { color: var(--taj-text-dim) !important; }

/* Gold divider line */
.taj-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--taj-gold), transparent);
  margin: 1rem auto;
  border: none;
}

.section-heading {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--taj-text);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-subheading {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: #ced8f1;
  font-size: 1.1rem;
}

.about-hero-wrap .section-heading {
  font-size: clamp(2.8rem, 5.5vw, 5rem);
}

.about-hero-wrap .section-subheading {
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
}


/* ─── Buttons ─────────────────────────────────────────────────────────────── */
.btn-taj-gold {
  background: linear-gradient(140deg, #8d6a38 0%, #b79154 34%, #dcc293 70%, #9a7340 100%);
  color: var(--taj-midnight) !important;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 2px;
  border: 1px solid rgba(231, 211, 173, 0.48);
  box-shadow: 0 10px 24px rgba(11, 10, 7, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.26);
  transition: var(--taj-transition);
  position: relative;
  overflow: hidden;
}

.btn-taj-gold::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
}

.btn-taj-gold:hover::before { left: 100%; }
.btn-taj-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(2, 6, 18, 0.55), 0 0 0 1px rgba(224, 201, 151, 0.5);
  color: var(--taj-midnight) !important;
}

.btn-taj-outline {
  background: rgba(7, 13, 29, 0.6);
  color: #d8e3ff !important;
  border: 1px solid rgba(124, 145, 235, 0.48);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.75rem 2rem;
  border-radius: 2px;
  transition: var(--taj-transition);
}

.btn-taj-outline:hover {
  background: linear-gradient(120deg, rgba(45, 67, 149, 0.24), rgba(199, 166, 103, 0.12));
  border-color: var(--taj-gold);
  color: var(--taj-gold) !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(4, 9, 22, 0.5);
}

.btn-whatsapp {
  background: #25D366;
  color: #fff !important;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  padding: 0.75rem 1.5rem;
  border-radius: 2px;
  border: none;
  transition: var(--taj-transition);
}

.btn-whatsapp:hover {
  background: #1eb857;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  color: #fff !important;
}


/* ─── Navbar ─────────────────────────────────────────────────────────────── */
.taj-navbar {
  background: linear-gradient(180deg, rgba(5, 9, 22, 0.92) 0%, rgba(7, 13, 29, 0.86) 100%) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(124, 145, 235, 0.22);
  box-shadow: inset 0 -1px 0 rgba(199, 166, 103, 0.14);
  padding: 0.9rem 0;
  transition: var(--taj-transition);
}

.taj-navbar.scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.56), inset 0 -1px 0 rgba(199, 166, 103, 0.16);
}

.taj-navbar .navbar-brand {
  font-family: 'Cinzel', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--taj-gold) !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.taj-navbar .nav-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--taj-text-muted) !important;
  padding: 0.5rem 1rem !important;
  transition: var(--taj-transition);
  position: relative;
}

.taj-navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  width: 0; height: 1px;
  background: linear-gradient(90deg, var(--taj-tanzanite-light), var(--taj-gold));
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.taj-navbar .nav-link:hover,
.taj-navbar .nav-link.active {
  color: var(--taj-gold) !important;
}

.taj-navbar .nav-link:hover::after,
.taj-navbar .nav-link.active::after { width: 58%; }

.currency-toggle {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--taj-text-dim) !important;
  border: 1px solid var(--taj-border-subtle);
  border-radius: 2px;
  padding: 0.25rem 0.6rem;
  cursor: pointer;
  transition: var(--taj-transition);
  background: transparent;
}

.currency-toggle:hover,
.currency-toggle.active { color: var(--taj-gold) !important; border-color: var(--taj-gold); }

.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--taj-text-dim);
  border: 1px solid var(--taj-border-subtle);
  border-radius: 2px;
  padding: 0.28rem 0.62rem;
  cursor: pointer;
  transition: var(--taj-transition);
  background: color-mix(in srgb, var(--taj-surface) 84%, transparent);
}

.theme-toggle-btn:hover {
  color: var(--taj-gold);
  border-color: var(--taj-gold);
  transform: translateY(-1px);
}

.theme-toggle-btn i {
  font-size: 0.78rem;
}


/* ─── Hero Section ─────────────────────────────────────────────────────── */
.hero-section {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--taj-midnight);
}

.hero-section::before {
  content: '';
  position: absolute;
  width: min(72vw, 50rem);
  height: min(72vw, 50rem);
  right: -18vw;
  top: -28vw;
  background: radial-gradient(circle, rgba(124, 145, 235, 0.28) 0%, transparent 72%);
  z-index: 1;
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  width: min(46vw, 28rem);
  height: min(46vw, 28rem);
  left: -12vw;
  bottom: -16vw;
  background: radial-gradient(circle, rgba(199, 166, 103, 0.14) 0%, transparent 74%);
  z-index: 1;
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/static/images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.2) saturate(0.85);
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero-bg.loaded { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    128deg,
    rgba(4, 9, 24, 0.95) 0%,
    rgba(14, 24, 60, 0.5) 44%,
    rgba(5, 10, 23, 0.94) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 2rem;
  padding-bottom: 2.5rem;
}

.hero-grid {
  min-height: calc(92vh - 5rem);
}

.hero-copy {
  max-width: 34rem;
}

.hero-kicker {
  color: var(--taj-tanzanite-light);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: clamp(1.2rem, 3.6vw, 3.25rem);
  font-weight: 600;
}

.hero-tagline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5.2vw, 4.6rem);
  font-weight: 600;
  color: var(--taj-text);
  line-height: 1.06;
  letter-spacing: 0.01em;
}

.hero-tagline span {
  color: #f2f6ff;
}

.hero-subtext {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  color: #ccd8f4;
  letter-spacing: 0.015em;
  max-width: 44ch;
  margin-inline: 0;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.hero-meta-chips {
  display: flex;
  justify-content: center;
  width: 100%;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.hero-gallery-chips {
  justify-content: flex-start;
  max-width: 40rem;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(124, 145, 235, 0.4);
  background: rgba(11, 20, 42, 0.65);
  color: #d6e0ff;
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  -webkit-text-stroke: 0.025em currentColor;
  text-transform: uppercase;
  letter-spacing: 0.035em;
  min-height: 4.75rem;
  padding: 0.8rem 1.45rem;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.hero-chip:hover,
.hero-chip.active {
  background: rgba(124, 145, 235, 0.18);
  border-color: rgba(124, 145, 235, 0.75);
  color: #fff;
}

.hero-gallery-chips .hero-chip {
  font-size: 0.78rem;
  min-height: 2.35rem;
  padding: 0.36rem 0.72rem;
}

.hero-gemframe-link {
  display: block;
  text-decoration: none;
}

.hero-gemframe {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #070f22;
  border: 1px solid rgba(124, 145, 235, 0.24);
  box-shadow: 0 24px 54px rgba(2, 6, 17, 0.66);
}

.hero-gemframe::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  padding: 1px;
  background: linear-gradient(140deg, rgba(124, 145, 235, 0.45), rgba(199, 166, 103, 0.42), transparent 66%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.hero-gemframe::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 13, 29, 0) 45%, rgba(7, 13, 29, 0.72) 100%);
  pointer-events: none;
}

.hero-gemframe img {
  width: 100%;
  display: block;
  height: auto;
  filter: saturate(1.08) contrast(1.03);
}

.hero-piece-caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
}

.hero-piece-caption span {
  display: block;
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 1.08rem;
  line-height: 1.2;
}

.hero-piece-caption small {
  display: block;
  color: #a9b9df;
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}


/* ─── Cards ─────────────────────────────────────────────────────────────── */
.taj-card {
  background: linear-gradient(160deg, rgba(15, 26, 51, 0.96) 0%, rgba(9, 16, 35, 0.98) 100%);
  border: 1px solid rgba(124, 145, 235, 0.22);
  border-radius: 4px;
  overflow: hidden;
  transition: var(--taj-transition);
  position: relative;
  box-shadow: 0 15px 40px rgba(2, 7, 22, 0.45);
}

.taj-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 4px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(124, 145, 235, 0.4), rgba(199, 166, 103, 0.22), transparent 70%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition: var(--taj-transition);
  pointer-events: none;
}

.taj-card::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124, 145, 235, 0.64), transparent);
  opacity: 0.55;
  pointer-events: none;
}

.taj-card:hover {
  transform: translateY(-5px);
  background: var(--taj-card-hover);
  box-shadow: var(--taj-shadow-deep), 0 0 0 1px rgba(124, 145, 235, 0.34);
}

.taj-card:hover::before {
  background: linear-gradient(135deg, rgba(158, 175, 245, 0.66), rgba(199, 166, 103, 0.48), transparent);
}

.product-img-wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 230px;
  background: radial-gradient(circle at 22% 14%, rgba(124, 145, 235, 0.14), transparent 52%), #070f23;
}

@supports (aspect-ratio: 1 / 1) {
  .product-img-wrap {
    aspect-ratio: 1 / 1;
    min-height: 0;
  }
}

.product-img-wrap img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 0;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-img-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 13, 32, 0.06) 4%, rgba(5, 10, 24, 0.52) 100%);
  z-index: 1;
  pointer-events: none;
}

.taj-card:hover .product-img-wrap img { transform: scale(1.07); }

/* Gold shimmer effect on card hover */
@keyframes shimmer {
  0%   { left: -100%; }
  100% { left: 150%; }
}

.product-img-wrap::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(199, 166, 103, 0.2), transparent);
  transform: skewX(-15deg);
  z-index: 2;
  pointer-events: none;
}

.taj-card:hover .product-img-wrap::after {
  animation: shimmer 0.8s ease forwards;
}

.card-badge {
  position: absolute;
  top: 0.75rem; left: 0.75rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 1px;
  z-index: 2;
}

.badge-featured {
  background: linear-gradient(135deg, var(--taj-gold-dark), var(--taj-gold));
  color: var(--taj-midnight);
}

.badge-new {
  background: rgba(11, 19, 43, 0.9);
  color: var(--taj-gold);
  border: 1px solid var(--taj-gold);
}

.product-price {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--taj-gold);
}

.product-price-usd {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  color: var(--taj-text-dim);
}

.product-meta {
  font-size: 0.75rem;
  color: var(--taj-text-dim);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}


/* ─── Gallery & Filters ──────────────────────────────────────────────────── */
.filter-bar {
  background: linear-gradient(150deg, rgba(13, 24, 50, 0.95), rgba(7, 14, 33, 0.96));
  border: 1px solid rgba(124, 145, 235, 0.3);
  border-radius: 4px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 14px 34px rgba(1, 6, 18, 0.5);
}

.filter-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--taj-text-dim);
  margin-bottom: 0.5rem;
}

.filter-btn {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  border: 1px solid rgba(124, 145, 235, 0.34);
  background: rgba(5, 11, 27, 0.68);
  color: var(--taj-text-muted);
  padding: 0.35rem 0.9rem;
  border-radius: 2px;
  cursor: pointer;
  transition: var(--taj-transition);
  text-transform: capitalize;
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--taj-gold);
  color: var(--taj-gold);
  background: linear-gradient(120deg, rgba(199, 166, 103, 0.18), rgba(124, 145, 235, 0.14));
}

/* Gold variant for featured section filter buttons — all filled like btn-taj-gold */
.filter-btn-gold {
  background: linear-gradient(140deg, #8d6a38 0%, #b79154 34%, #dcc293 70%, #9a7340 100%);
  color: var(--taj-midnight) !important;
  border: 1px solid rgba(231, 211, 173, 0.48);
  box-shadow: 0 6px 18px rgba(11, 10, 7, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  position: relative;
  overflow: hidden;
}

.filter-btn-gold::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.28), transparent);
  transition: left 0.45s ease;
}

.filter-btn-gold:hover::before { left: 100%; }

.filter-btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(11, 10, 7, 0.44), 0 0 0 1px rgba(224, 201, 151, 0.5);
  color: var(--taj-midnight) !important;
}

.filter-btn-gold.active {
  background: linear-gradient(140deg, #d39a3b 0%, #f3d282 24%, #fffef5 44%, #ffeabf 56%, #f7d47f 70%, #e7b65e 84%, #cc9132 100%);
  border-color: rgba(246, 214, 142, 0.72);
  color: #21180e !important;
  box-shadow: 0 8px 24px rgba(11, 10, 7, 0.48), 0 0 0 2px rgba(246, 214, 142, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.search-bar-wrap {
  position: relative;
}

.search-bar-wrap .form-control {
  background: var(--taj-surface);
  border: 1px solid var(--taj-border-subtle);
  color: var(--taj-text);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  padding: 0.65rem 1rem 0.65rem 2.75rem;
  border-radius: 2px;
  transition: var(--taj-transition);
}

.search-bar-wrap .form-control::placeholder { color: var(--taj-text-dim); }
.search-bar-wrap .form-control:focus {
  background: var(--taj-card-bg);
  border-color: var(--taj-gold);
  box-shadow: 0 0 0 3px var(--taj-gold-muted);
  color: var(--taj-text);
  outline: none;
}

.search-icon {
  position: absolute;
  left: 0.85rem; top: 50%;
  transform: translateY(-50%);
  color: var(--taj-text-dim);
  font-size: 0.9rem;
  pointer-events: none;
}

#search-suggestions {
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: var(--taj-card-bg);
  border: 1px solid var(--taj-border);
  border-top: none;
  border-radius: 0 0 4px 4px;
  z-index: 1000;
  max-height: 300px;
  overflow-y: auto;
}

.suggestion-item {
  padding: 0.6rem 1rem;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.15s;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.suggestion-item:hover { background: var(--taj-gold-muted); color: var(--taj-gold); }

.gallery-shell {
  padding-top: 0.25rem;
}

.gallery-heading {
  margin: 0;
  color: #fff;
  font-family: 'Cinzel', serif;
  letter-spacing: 0.05em;
}

.gallery-subheading {
  margin: 0.4rem 0 0;
  color: #b8c6e7;
  font-size: 0.9rem;
}

.gallery-cta {
  font-size: 0.74rem;
  padding: 0.58rem 1.05rem;
}

.gallery-filter-shell {
  margin-bottom: 1.6rem;
}

.gallery-item-card {
  border-radius: 6px;
}

.gallery-media {
  width: 100%;
  height: 280px;
  background-color: #0d1628;
  background-size: cover, contain;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  position: relative;
}

.gallery-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 13, 31, 0.06), rgba(5, 10, 24, 0.5));
  pointer-events: none;
}

.gallery-meta {
  color: #9aa9cd;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.gallery-product-title {
  margin: 0.35rem 0 0.4rem;
  color: #fff;
  font-size: 0.96rem;
  line-height: 1.35;
  font-family: 'Playfair Display', serif;
}

.gallery-product-title a {
  color: inherit;
  text-decoration: none;
}

.gallery-price {
  color: var(--taj-gold);
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 700;
}

.gallery-empty {
  background: linear-gradient(160deg, rgba(24, 37, 69, 0.92), rgba(15, 25, 48, 0.92));
  border: 1px solid rgba(138, 157, 255, 0.2);
  border-radius: 6px;
  color: #c8d0e7;
}

.pagination .page-link {
  background: var(--taj-surface);
  border: 1px solid rgba(124, 145, 235, 0.3);
  color: var(--taj-text-muted);
}

.pagination .page-link:hover {
  background: rgba(124, 145, 235, 0.16);
  color: #fff;
  border-color: rgba(158, 175, 245, 0.56);
}

.pagination .page-item.active .page-link {
  background: linear-gradient(140deg, #8f6a35 0%, #c09b5d 40%, #ddc595 72%, #9a7441 100%);
  color: var(--taj-midnight);
  border-color: var(--taj-gold);
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(17, 11, 3, 0.42);
}


/* ─── Forms ──────────────────────────────────────────────────────────────── */
.form-control,
.form-select {
  background: var(--taj-surface) !important;
  border: 1px solid var(--taj-border-subtle) !important;
  color: var(--taj-text) !important;
  font-family: 'Montserrat', sans-serif;
  border-radius: 2px !important;
  transition: var(--taj-transition);
}

.form-control::placeholder { color: var(--taj-text-dim) !important; }

.form-control:focus,
.form-select:focus {
  border-color: var(--taj-gold) !important;
  box-shadow: 0 0 0 3px var(--taj-gold-muted) !important;
  background: var(--taj-card-bg) !important;
  outline: none;
}

.form-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--taj-text-dim);
  margin-bottom: 0.4rem;
}

.form-text { color: var(--taj-text-dim) !important; font-size: 0.78rem; }

/* File upload zone */
.upload-zone {
  border: 2px dashed var(--taj-border);
  border-radius: 4px;
  padding: 2.5rem;
  text-align: center;
  cursor: pointer;
  transition: var(--taj-transition);
  background: var(--taj-surface);
}

.upload-zone:hover,
.upload-zone.dragover {
  border-color: var(--taj-gold);
  background: var(--taj-gold-muted);
}

.upload-icon { font-size: 2.5rem; color: var(--taj-text-dim); margin-bottom: 0.75rem; }


/* ─── Commission Progress Bar ────────────────────────────────────────────── */
.commission-tracker {
  position: relative;
  padding: 1.5rem 0;
}

.tracker-stages {
  display: flex;
  justify-content: space-between;
  position: relative;
}

.tracker-stages::before {
  content: '';
  position: absolute;
  top: 20px; left: 24px; right: 24px;
  height: 2px;
  background: var(--taj-border-subtle);
  z-index: 0;
}

.tracker-progress-line {
  position: absolute;
  top: 20px; left: 24px;
  height: 2px;
  background: linear-gradient(90deg, var(--taj-gold-dark), var(--taj-gold));
  z-index: 1;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.stage-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
  z-index: 2;
}

.stage-dot {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 2px solid var(--taj-border-subtle);
  background: var(--taj-card-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--taj-transition);
  margin-bottom: 0.5rem;
}

.stage-dot.done {
  border-color: var(--taj-gold);
  background: var(--taj-gold-muted);
  color: var(--taj-gold);
}

.stage-dot.current {
  border-color: var(--taj-gold);
  background: var(--taj-gold);
  color: var(--taj-midnight);
  box-shadow: 0 0 0 4px var(--taj-gold-muted);
}

.stage-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  color: var(--taj-text-dim);
  max-width: 70px;
}

.stage-label.current { color: var(--taj-gold); }


/* ─── Admin Sidebar ─────────────────────────────────────────────────────── */
.admin-sidebar {
  width: 260px;
  min-height: 100vh;
  background: var(--taj-surface);
  border-right: 1px solid var(--taj-border-subtle);
  position: fixed;
  left: 0; top: 0;
  display: flex;
  flex-direction: column;
  z-index: 100;
  transition: var(--taj-transition);
}

.admin-sidebar .sidebar-brand {
  padding: 1.5rem;
  border-bottom: 1px solid var(--taj-border-subtle);
}

.admin-sidebar .sidebar-brand span {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  color: var(--taj-gold);
  letter-spacing: 0.1em;
}

.admin-sidebar .nav-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--taj-text-dim);
  padding: 0.8rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: var(--taj-transition);
  border-left: 3px solid transparent;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
  color: var(--taj-gold);
  background: var(--taj-gold-muted);
  border-left-color: var(--taj-gold);
}

.admin-main-content {
  margin-left: 260px;
  min-height: 100vh;
  background: var(--taj-midnight);
}

.stat-card {
  background: var(--taj-card-bg);
  border: 1px solid var(--taj-border-subtle);
  border-radius: 4px;
  padding: 1.5rem;
  transition: var(--taj-transition);
  position: relative;
  overflow: hidden;
}

.stat-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--taj-gold-dark), var(--taj-gold));
}

.stat-card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,0.3); }

.stat-value {
  font-family: 'Cinzel', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--taj-text);
}

.stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--taj-text-dim);
}

.pipeline-badge {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 2px;
}

.badge-consultation { background: rgba(99, 102, 241, 0.2); color: #818cf8; }
.badge-designing    { background: rgba(245, 158, 11, 0.2); color: #fbbf24; }
.badge-render-ready { background: rgba(16, 185, 129, 0.2); color: #34d399; }
.badge-crafting     { background: rgba(239, 68, 68, 0.2);  color: #f87171; }
.badge-pickup       { background: rgba(212, 175, 55, 0.2); color: var(--taj-gold); }
.badge-completed    { background: rgba(212, 175, 55, 0.3); color: var(--taj-gold); border: 1px solid var(--taj-gold); }


/* ─── Alert / Flash Messages ─────────────────────────────────────────────── */
.alert {
  border-radius: 2px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.875rem;
  border: none;
  border-left: 4px solid;
}

.alert-success { background: rgba(16, 185, 129, 0.12); border-color: #10b981; color: #6ee7b7; }
.alert-danger  { background: rgba(239, 68, 68, 0.12);  border-color: #ef4444; color: #fca5a5; }
.alert-warning { background: rgba(245, 158, 11, 0.12); border-color: #f59e0b; color: #fcd34d; }
.alert-info    { background: rgba(99, 102, 241, 0.12); border-color: #6366f1; color: #a5b4fc; }


/* ─── Tables ─────────────────────────────────────────────────────────────── */
.taj-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.875rem;
}

.taj-table thead th {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--taj-text-dim);
  background: var(--taj-surface);
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--taj-border-subtle);
}

.taj-table tbody tr {
  border-bottom: 1px solid var(--taj-border-subtle);
  transition: background 0.2s;
}

.taj-table tbody tr:hover { background: var(--taj-gold-muted); }
.taj-table td { padding: 0.85rem 1rem; color: var(--taj-text-muted); vertical-align: middle; }


/* ─── Loader — Logo Reveal ────────────────────────────────────────────────── */
#taj-loader {
  position: fixed;
  inset: 0;
  background: var(--taj-midnight);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 2.5vw, 2rem);
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#taj-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-logos {
  display: flex;
  gap: 0;
  margin-bottom: clamp(0.7rem, 1.8vw, 1.4rem);
}

.loader-logo-mark {
  width: clamp(240px, 78vw, 1040px);
  max-height: min(55vh, 640px);
  height: auto;
  object-fit: contain;
  position: relative;
  /* animation: logo-hop 1.3s ease-in-out infinite alternate, logo-glow 2.4s ease-in-out infinite; */
  /* box-shadow: 0 0 0 1px rgba(124, 145, 235, 0.5), 0 12px 30px rgba(3, 8, 22, 0.76); */
}

@keyframes logo-hop {
  from { transform: translateY(0); }
  to   { transform: translateY(-8px); }
}

@keyframes logo-glow {
  0%, 100% { box-shadow: 0 0 0 1px rgba(124, 145, 235, 0.44), 0 12px 32px rgba(3, 8, 22, 0.75), 0 0 16px rgba(124, 145, 235, 0.24); }
  50%      { box-shadow: 0 0 0 1px rgba(199, 166, 103, 0.56), 0 16px 38px rgba(3, 8, 22, 0.84), 0 0 20px rgba(199, 166, 103, 0.28); }
}

.loader-brand {
  font-family: 'Cinzel', serif;
  font-size: clamp(1rem, 2.4vw, 2.05rem);
  letter-spacing: 0.2em;
  font-weight: 700;
  margin-top: clamp(0.2rem, 1vw, 0.6rem);
  text-align: center;
  text-transform: uppercase;
  color: var(--taj-gold);
  max-width: 100%;
}

.loader-line {
  width: clamp(120px, 18vw, 170px);
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--taj-gold), transparent);
  margin: 0.95rem auto;
  animation: pulse-line 1.5s ease-in-out infinite;
}

@keyframes pulse-line {
  0%, 100% { opacity: 0.3; transform: scaleX(0.5); }
  50%       { opacity: 1;   transform: scaleX(1); }
}


/* ─── Footer ─────────────────────────────────────────────────────────────── */
.taj-footer {
  background: linear-gradient(180deg, #0b142c 0%, #060c1b 100%);
  border-top: 1px solid rgba(124, 145, 235, 0.24);
  padding: 4rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.taj-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124, 145, 235, 0.76), rgba(199, 166, 103, 0.58), transparent);
}

/* Footer logo watermark */
.footer-watermark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0.05;
}

.footer-watermark-logo {
  width: min(440px, 62vw);
  height: auto;
  object-fit: contain;
  filter: grayscale(100%) brightness(1.38) contrast(0.98);
}

.footer-brand {
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  color: var(--taj-gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-tagline {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--taj-text-dim);
  font-size: 0.9rem;
}

.footer-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--taj-gold);
  margin-bottom: 1rem;
}

.footer-link {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  color: var(--taj-text-dim);
  text-decoration: none;
  padding: 0.2rem 0;
  transition: color 0.2s;
}

.footer-link:hover { color: var(--taj-gold); }

.social-btn {
  width: 38px; height: 38px;
  border-radius: 2px;
  border: 1px solid rgba(124, 145, 235, 0.28);
  background: rgba(5, 10, 24, 0.68);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--taj-text-dim);
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--taj-transition);
}

.social-btn:hover {
  border-color: var(--taj-gold);
  color: var(--taj-gold);
  background: linear-gradient(120deg, rgba(199, 166, 103, 0.2), rgba(124, 145, 235, 0.14));
  box-shadow: 0 10px 24px rgba(3, 8, 22, 0.56);
}

.footer-bottom {
  border-top: 1px solid var(--taj-border-subtle);
  padding-top: 1.5rem;
  margin-top: 3rem;
  font-size: 0.75rem;
  color: var(--taj-text-dim);
}


/* ─── Auth Pages ─────────────────────────────────────────────────────────── */
.auth-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(46, 67, 153, 0.42) 0%, transparent 62%),
    radial-gradient(ellipse at 80% 20%, rgba(212, 175, 55, 0.08) 0%, transparent 42%),
    var(--taj-midnight);
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--taj-card-bg);
  border: 1px solid var(--taj-border-subtle);
  border-radius: 4px;
  padding: 3rem 2.5rem;
  position: relative;
}

.auth-card::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--taj-gold), transparent);
}

.auth-title {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  color: var(--taj-text);
  text-align: center;
  margin-bottom: 0.25rem;
}

.totp-input {
  font-family: 'Cinzel', serif;
  font-size: 2rem !important;
  letter-spacing: 0.5rem !important;
  text-align: center;
  background: var(--taj-surface) !important;
}


/* ─── Page Section Spacing ───────────────────────────────────────────────── */
.section-pad { padding: 5rem 0; }
.section-pad-sm { padding: 3rem 0; }

.taj-marquee {
  background: linear-gradient(90deg, rgba(7, 13, 29, 0.95), rgba(20, 33, 74, 0.95), rgba(7, 13, 29, 0.95));
  border-top: 1px solid rgba(124, 145, 235, 0.32);
  border-bottom: 1px solid rgba(199, 166, 103, 0.3);
  padding: 0.52rem 0;
  overflow: hidden;
  position: relative;
}

.taj-marquee::before,
.taj-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 14%;
  pointer-events: none;
  z-index: 1;
}

.taj-marquee::before {
  left: 0;
  background: linear-gradient(90deg, rgba(9, 17, 39, 0.95), transparent);
}

.taj-marquee::after {
  right: 0;
  background: linear-gradient(270deg, rgba(9, 17, 39, 0.95), transparent);
}

.taj-marquee-track {
  display: flex;
  gap: 3.2rem;
  white-space: nowrap;
  animation: tajMarquee 24s linear infinite;
}

.taj-marquee-chip {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #dce5ff;
  font-weight: 600;
  text-shadow: 0 0 14px rgba(124, 145, 235, 0.26);
}

@keyframes tajMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Background variants */
.bg-taj-surface  { background-color: var(--taj-surface); }
.bg-taj-card     { background-color: var(--taj-card-bg); }
.bg-taj-midnight { background-color: var(--taj-midnight); }




/* ─── Responsive Adjustments ─────────────────────────────────────────────── */

/* ── Large tablet / small laptop (≤ 1199px) ─────────────────────────────── */
@media (max-width: 1199px) {
  .hero-copy { max-width: 30rem; }
  .section-pad { padding: 4rem 0; }
}

/* ── Tablet (≤ 991px) ────────────────────────────────────────────────────── */
@media (max-width: 991px) {
  /* Admin sidebar */
  .admin-sidebar { transform: translateX(-100%); }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-main-content { margin-left: 0; }

  /* Commission tracker */
  .tracker-stages::before { top: 15px; left: 18px; right: 18px; }

  /* Mobile navbar: right-side controls wrap into a tidy strip */
  .taj-navbar .navbar-collapse .d-flex.align-items-center {
    flex-wrap: wrap;
    gap: 0.5rem !important;
    padding: 0.75rem 0 0.5rem;
    border-top: 1px solid var(--taj-border-subtle);
    margin-top: 0.5rem;
  }

  /* Hide theme-toggle text label on small screens, keep icon */
  .theme-toggle-label { display: none; }

  /* Heritage video: full width on tablet */
  .ratio.ratio-9x16 { max-width: 100% !important; }

  /* Slight section spacing reduction */
  .section-pad { padding: 4rem 0; }

  /* Hero section height */
  .hero-section { min-height: 80vh; }
  html.theme-2-active .hero-section { min-height: 80vh; }

  /* Hide fixed decorative blobs — position:fixed ignores overflow:hidden,
     so negative right/left offsets create horizontal scroll on narrow screens */
  body::before, body::after { display: none; }

  /* Force hero columns to stack below lg */
  .hero-grid > .col-lg-6 {
    flex: 0 0 auto;
    width: 100%;
  }
}

/* ── Mobile (≤ 767px) ────────────────────────────────────────────────────── */
@media (max-width: 767px) {
  /* ── Navbar ── */
  .taj-navbar .navbar-brand img { height: 56px !important; width: auto !important; }
  .taj-navbar { padding: 0.5rem 0; }
  .taj-navbar.scrolled { padding: 0.35rem 0; }

  /* ── Hero ── */
  .hero-section { min-height: auto; }
  html.theme-2-active .hero-section { min-height: auto; }
  .hero-grid { min-height: auto; }
  html.theme-2-active .hero-grid { min-height: auto; }
  .hero-copy { text-align: center; margin-inline: auto; }
  .hero-subtext { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-meta-chips { justify-content: center; }
  .hero-gallery-chips { margin-inline: auto; }
  .hero-gemframe { max-width: 360px; margin-inline: auto; }
  .hero-tagline { font-size: 2rem; }
  .hero-kicker { font-size: 1.6rem; }

  /* ── Sections ── */
  .section-pad { padding: 2.5rem 0; }
  .section-heading { font-size: clamp(1.3rem, 5.5vw, 2rem); }
  .section-subheading { font-size: 1rem; }

  /* ── Gallery ── */
  .gallery-media { height: 180px; }
  .gallery-heading { font-size: clamp(1.4rem, 5vw, 1.8rem); }
  .gallery-subheading { font-size: 0.82rem; }
  .gallery-cta { font-size: 0.7rem; padding: 0.5rem 0.85rem; }

  /* ── Buttons ── */
  .btn-taj-gold,
  .btn-taj-outline { padding: 0.65rem 1.25rem; font-size: 0.8rem; }
  .btn-whatsapp { padding: 0.65rem 1.1rem; font-size: 0.8rem; }

  /* ── Footer ── */
  .taj-footer { padding: 2.5rem 0 1.5rem; }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  .footer-bottom > div { justify-content: center; }

  /* ── Commission tracker ── */
  .stage-label { font-size: 0.55rem; }
  .stage-dot { width: 34px; height: 34px; }

  /* ── Auth ── */
  .auth-card { padding: 2rem 1.5rem; }

  /* ── Admin table: allow horizontal scroll on mobile ── */
  .admin-main-content .table-responsive-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

  /* ── Loader ── */
  .loader-logo-mark { max-height: min(50vh, 480px); }
  .loader-brand { letter-spacing: 0.12em; }
  .loader-line { width: clamp(80px, 28vw, 140px); }

  /* ── Body gradients: hide fixed blobs on mobile — position:fixed elements
       cannot be clipped by overflow:hidden and extend past the viewport edge ── */
  body::before, body::after { display: none; }
}

/* ── Small mobile (≤ 480px) ─────────────────────────────────────────────── */
@media (max-width: 480px) {
  /* ── Hero ── */
  .hero-tagline { font-size: 1.75rem; }
  .hero-kicker { font-size: 1.3rem; }
  .hero-actions .btn-taj-gold,
  .hero-actions .btn-taj-outline { padding: 0.6rem 1rem; font-size: 0.75rem; }

  /* ── Navbar ── */
  .taj-navbar .navbar-brand img { height: 50px !important; }

  /* ── Gallery ── */
  .gallery-media { height: 150px; }

  /* ── Section heading ── */
  .section-heading { font-size: clamp(1.1rem, 6vw, 1.6rem); }

  /* ── Section spacing ── */
  .section-pad { padding: 2rem 0; }

  /* ── Buttons ── */
  .btn-taj-gold,
  .btn-taj-outline,
  .btn-whatsapp { padding: 0.6rem 1rem; font-size: 0.78rem; }

  /* ── Social buttons ── */
  .social-btn { width: 34px; height: 34px; font-size: 0.88rem; }

  /* ── Product thumbnails ── */
  .product-thumb { width: 50px !important; height: 50px !important; }

  /* ── Loader ── */
  #taj-loader { padding: 0.75rem; }
  .loader-logo-mark { max-height: min(46vh, 340px); }
  .loader-brand { font-size: 0.95rem; letter-spacing: 0.07em; }
  .loader-line { width: 72px; margin: 0.65rem auto; }

  /* ── Upload zone ── */
  .upload-zone { padding: 1.5rem; }
}


/* ─── Utility ─────────────────────────────────────────────────────────────── */
.border-gold { border-color: var(--taj-gold) !important; }
.rounded-0 { border-radius: 0 !important; }
.letter-wide { letter-spacing: 0.12em; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(124, 145, 235, 0.95);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(124, 145, 235, 0.2);
}

/* Fade-in animation used with AOS */
[data-aos="taj-fade-up"] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-aos="taj-fade-up"].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Theme 1: Soft Luxury Minimalist ───────────────────────────────────── */
:root {
  --taj-midnight:       #f8f4ec;
  --taj-card-bg:        #ffffff;
  --taj-card-hover:     #fffcf7;
  --taj-surface:        #f2ece2;
  --taj-gold:           #efc96f;
  --taj-gold-light:     #fff2d2;
  --taj-gold-dark:      #c28a2f;
  --taj-gold-muted:     rgba(239, 201, 111, 0.3);
  --taj-tanzanite-deep: #2d418f;
  --taj-tanzanite:      #4a64ca;
  --taj-tanzanite-light:#7e96e8;
  --taj-tanzanite-mist: rgba(126, 150, 232, 0.18);
  --taj-text:           #1e1811;
  --taj-text-muted:     #5d5245;
  --taj-text-dim:       #807364;
  --taj-border:         rgba(239, 201, 111, 0.42);
  --taj-border-subtle:  rgba(71, 58, 41, 0.14);
  --taj-shadow-deep:    0 24px 62px rgba(43, 30, 14, 0.2);
  --bs-body-bg:         var(--taj-midnight);
  --bs-body-color:      var(--taj-text-muted);
  --bs-card-bg:         var(--taj-card-bg);
  --bs-border-color:    var(--taj-border-subtle);
}

body {
  background-color: var(--taj-midnight);
  background-image:
    radial-gradient(circle at 14% -10%, rgba(255, 255, 255, 0.84), transparent 38%),
    radial-gradient(circle at 82% 6%, rgba(227, 189, 103, 0.18), transparent 40%),
    linear-gradient(165deg, #f8f4ec 0%, #f4eee4 52%, #f8f4ec 100%);
  color: var(--taj-text-muted);
}

body::before {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.74) 0%, transparent 70%);
}

body::after {
  background: radial-gradient(circle, rgba(227, 189, 103, 0.16) 0%, transparent 72%);
}

::selection {
  background: rgba(227, 189, 103, 0.42);
  color: #20170d;
}

.text-gold {
  color: var(--taj-gold-dark) !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45), 0 0 16px rgba(200, 140, 44, 0.14);
}

.taj-divider {
  background: linear-gradient(90deg, transparent, #f7dc9f 34%, var(--taj-gold-light) 54%, var(--taj-gold-dark) 78%, transparent);
}

h1, h2, h3, h4, h5, h6,
.section-heading,
.gallery-heading,
.auth-title {
  color: var(--taj-text);
}

/* Light mode safety net: force hardcoded white text to use readable theme text color. */
html:not(.theme-2-active) .text-white,
html:not(.theme-2-active) [style*="color:#fff"],
html:not(.theme-2-active) [style*="color: #fff"],
html:not(.theme-2-active) [style*="color:#FFF"],
html:not(.theme-2-active) [style*="color: #FFF"],
html:not(.theme-2-active) [style*="color:#ffffff"],
html:not(.theme-2-active) [style*="color: #ffffff"],
html:not(.theme-2-active) [style*="color:#FFFFFF"],
html:not(.theme-2-active) [style*="color: #FFFFFF"],
html:not(.theme-2-active) [style*="color:white"],
html:not(.theme-2-active) [style*="color: white"] {
  color: var(--taj-text) !important;
}

/* Keep Bootstrap outline-light admin action buttons visible on light cards. */
html:not(.theme-2-active) .admin-main-content .btn-outline-light {
  color: #5a4d3e !important;
  border-color: rgba(81, 65, 42, 0.34) !important;
  background-color: rgba(255, 255, 255, 0.96) !important;
}

html:not(.theme-2-active) .admin-main-content .btn-outline-light:hover,
html:not(.theme-2-active) .admin-main-content .btn-outline-light:focus,
html:not(.theme-2-active) .admin-main-content .btn-outline-light:active {
  color: #2a2117 !important;
  border-color: rgba(203, 145, 46, 0.64) !important;
  background-color: rgba(247, 218, 151, 0.38) !important;
  box-shadow: 0 0 0 2px rgba(227, 189, 103, 0.2);
}

.section-heading {
  color: #c9a027;
  font-weight: 800;
}

.gallery-heading,
.footer-heading,
.hero-kicker {
  color: var(--taj-gold-dark);
  font-weight: 800;
}

.section-subheading,
.hero-subtext,
.gallery-subheading {
  color: #665a4c;
}

.taj-navbar {
  background: rgba(252, 248, 241, 0.9) !important;
  border-bottom: 1px solid rgba(81, 65, 42, 0.12);
  box-shadow: 0 8px 26px rgba(32, 24, 14, 0.08), inset 0 -1px 0 rgba(227, 189, 103, 0.26);
}

.taj-navbar.scrolled {
  box-shadow: 0 8px 26px rgba(32, 24, 14, 0.12), inset 0 -1px 0 rgba(227, 189, 103, 0.3);
}

.taj-navbar .nav-link {
  color: #514637 !important;
}

.taj-navbar .nav-link:hover,
.taj-navbar .nav-link.active {
  color: var(--taj-gold) !important;
}

.taj-navbar .nav-link::after {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--taj-gold), transparent);
  box-shadow: 0 0 8px rgba(227, 189, 103, 0.28);
}

.taj-navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2881%2C 70%2C 55%2C 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.currency-toggle {
  color: #6f6150 !important;
  border-color: rgba(81, 65, 42, 0.2);
  background: rgba(255, 255, 255, 0.74);
}

.hero-section {
  min-height: auto;
  align-items: flex-start;
  padding-top: 0;
  background: transparent;
}

.hero-content {
  padding-top: 2rem;
  padding-bottom: 1.8rem;
}

.hero-grid {
  min-height: auto;
}

.hero-section::before {
  background: radial-gradient(circle, rgba(126, 150, 232, 0.16) 0%, transparent 72%);
}

.hero-section::after {
  background: radial-gradient(circle, rgba(227, 189, 103, 0.24) 0%, transparent 72%);
}

.hero-bg {
  filter: brightness(0.9) saturate(0.9);
  opacity: 0.15;
}

.hero-overlay {
  background: linear-gradient(120deg, rgba(248, 243, 235, 0.95) 0%, rgba(248, 243, 235, 0.9) 52%, rgba(242, 235, 224, 0.84) 100%);
}

.hero-kicker {
  color: #c9a027;
}

.hero-tagline {
  font-family: 'Playfair Display', serif;
  color: #c9a027;
  letter-spacing: 0.01em;
  font-weight: 800;
}

.hero-tagline span {
  color: #c9a027;
  font-weight: 900;
}

.hero-subtext {
  color: #5f5445;
}

.hero-chip {
  border-color: rgba(227, 189, 103, 0.38);
  background: rgba(255, 255, 255, 0.9);
  color: #9a732f;
}
.hero-chip:hover,
.hero-chip.active {
  background: rgba(199, 166, 103, 0.12);
  border-color: rgba(199, 166, 103, 0.7);
  color: #7a5a20;
}

.hero-gemframe {
  background: #fff;
  border: 1px solid rgba(81, 65, 42, 0.14);
  box-shadow: 0 22px 42px rgba(37, 28, 16, 0.12);
}

.hero-gemframe::before {
  background: linear-gradient(140deg, rgba(227, 189, 103, 0.58), rgba(126, 150, 232, 0.2), transparent 70%);
}

.hero-gemframe::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 52%, rgba(20, 16, 12, 0.46) 100%);
}

.btn-taj-gold {
  background: linear-gradient(140deg, #d39a3b 0%, #f3d282 24%, #fffef5 44%, #ffeabf 56%, #f7d47f 70%, #e7b65e 84%, #cc9132 100%);
  color: #21180e !important;
  border: 1px solid rgba(203, 145, 46, 0.72);
  box-shadow: 0 12px 26px rgba(87, 61, 26, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.74), inset 0 -1px 0 rgba(150, 101, 26, 0.48);
  background-size: 180% 180%;
  filter: saturate(1.12) brightness(1.04);
  font-weight: 800;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-taj-gold::before {
  background: linear-gradient(95deg, transparent 6%, rgba(255, 255, 255, 0.86) 34%, rgba(255, 255, 249, 1) 48%, rgba(255, 245, 219, 0.92) 58%, transparent 84%);
}

.btn-taj-gold:hover {
  transform: translateY(-2px) scale(1.015);
  box-shadow: 0 18px 34px rgba(87, 61, 26, 0.4), 0 0 0 1px rgba(246, 214, 142, 0.84), 0 0 42px rgba(246, 214, 142, 0.5);
}

.btn-taj-outline {
  background: rgba(255, 255, 255, 0.92);
  color: #9a6f2f !important;
  border: 1px solid rgba(227, 189, 103, 0.56);
  font-weight: 800;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-taj-outline:hover {
  background: linear-gradient(140deg, rgba(255, 247, 223, 0.98), rgba(247, 218, 151, 0.9));
  border-color: rgba(203, 145, 46, 0.66);
  color: #744f17 !important;
  box-shadow: 0 10px 20px rgba(180, 122, 34, 0.2), 0 0 16px rgba(239, 201, 111, 0.22);
}

.badge-featured {
  background: linear-gradient(140deg, #bb862f 0%, #e7be69 44%, #fff1d0 74%, #be8830 100%);
  color: #261a0f;
}

.taj-card,
.filter-bar,
.gallery-empty,
.auth-card {
  background: #fff;
  border: 1px solid rgba(81, 65, 42, 0.13);
  box-shadow: 0 14px 30px rgba(37, 28, 16, 0.09);
}

.taj-card:hover {
  background: #fffdf9;
  box-shadow: 0 18px 36px rgba(37, 28, 16, 0.14);
}

.taj-card::after {
  background: linear-gradient(90deg, transparent, rgba(227, 189, 103, 0.74), transparent);
}

.product-img-wrap,
.gallery-media {
  background-color: #efe6d9;
}

.product-img-wrap::before,
.gallery-media::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(20, 16, 12, 0.2));
}

.product-meta,
.gallery-meta {
  color: #8b7e6e;
}

.product-price,
.gallery-price {
  color: #91581a;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  font-weight: 900;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .product-price,
  .gallery-price {
    background: none;
    color: #91581a;
    -webkit-text-fill-color: currentColor;
    -webkit-text-stroke: 0;
  }
}

.gallery-product-title,
.gallery-product-title a,
.product-title-link {
  color: var(--taj-text);
}

.form-control,
.form-select,
.search-bar-wrap .form-control {
  background: #fff !important;
  border-color: rgba(81, 65, 42, 0.2) !important;
  color: #2e2418 !important;
}

.form-control::placeholder,
.search-bar-wrap .form-control::placeholder {
  color: #8a7e70 !important;
}

.pagination .page-link {
  background: #fff;
  border-color: rgba(81, 65, 42, 0.18);
  color: #4f4435;
}

.pagination .page-link:hover {
  background: rgba(227, 189, 103, 0.2);
  border-color: rgba(227, 189, 103, 0.5);
  color: #2a2118;
}

.pagination .page-item.active .page-link {
  background: linear-gradient(140deg, #b78333 0%, #ddb465 44%, #fff3d4 74%, #b38033 100%);
  color: #22170b;
  border-color: rgba(190, 132, 43, 0.62);
  box-shadow: 0 6px 16px rgba(87, 61, 26, 0.24);
}

.taj-marquee {
  background: linear-gradient(90deg, #f1e9dc, #efe5d6, #f1e9dc);
  border-top: 1px solid rgba(81, 65, 42, 0.14);
  border-bottom: 1px solid rgba(227, 189, 103, 0.44);
}

.taj-marquee::before {
  background: linear-gradient(90deg, rgba(248, 244, 236, 0.95), transparent);
}

.taj-marquee::after {
  background: linear-gradient(270deg, rgba(248, 244, 236, 0.95), transparent);
}

.taj-marquee-chip {
  color: #bb8a39;
  text-shadow: none;
}

.taj-footer {
  background: linear-gradient(180deg, #f2ebdf 0%, #efe6d8 100%);
  border-top: 1px solid rgba(81, 65, 42, 0.14);
}

.taj-footer::before {
  background: linear-gradient(90deg, transparent, rgba(227, 189, 103, 0.7), transparent);
}

.footer-watermark {
  opacity: 0.04;
}

.footer-watermark-logo {
  filter: grayscale(100%) brightness(0.74) contrast(0.9);
}

.footer-link,
.footer-tagline,
.footer-bottom,
.stat-label {
  color: #6d5f4d;
}

.social-btn {
  background: #fff;
  border-color: rgba(81, 65, 42, 0.16);
  color: #6d5f4d;
}

.social-btn:hover {
  background: rgba(227, 189, 103, 0.24);
  border-color: rgba(227, 189, 103, 0.48);
  color: #8d682d;
  box-shadow: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(227, 189, 103, 0.95);
  box-shadow: 0 0 0 3px rgba(227, 189, 103, 0.24);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ─── Theme 2 Toggle Overrides (Tanzanite & Midnight) ───────────────────── */
html.theme-2-active {
  --taj-midnight:       #070d1d;
  --taj-card-bg:        #0f1a34;
  --taj-card-hover:     #14254a;
  --taj-surface:        #0b142a;
  --taj-gold:           #efc96f;
  --taj-gold-light:     #fff2d2;
  --taj-gold-dark:      #c28a2f;
  --taj-gold-muted:     rgba(239, 201, 111, 0.3);
  --taj-tanzanite-deep: #1f2f72;
  --taj-tanzanite:      #3550b8;
  --taj-tanzanite-light:#7c91eb;
  --taj-tanzanite-mist: rgba(124, 145, 235, 0.2);
  --taj-text:           #ffffff;
  --taj-text-muted:     #d3dcf2;
  --taj-text-dim:       #95a7cf;
  --taj-border:         rgba(239, 201, 111, 0.42);
  --taj-border-subtle:  rgba(131, 151, 214, 0.24);
  --taj-shadow-deep:    0 28px 72px rgba(1, 6, 18, 0.68);
  --bs-body-bg:         var(--taj-midnight);
  --bs-body-color:      var(--taj-text-muted);
  --bs-card-bg:         var(--taj-card-bg);
  --bs-border-color:    var(--taj-border-subtle);
}

html.theme-2-active body {
  background-color: var(--taj-midnight);
  background-image:
    radial-gradient(circle at 14% -10%, rgba(124, 145, 235, 0.22), transparent 38%),
    radial-gradient(circle at 82% 4%, rgba(37, 57, 126, 0.26), transparent 42%),
    linear-gradient(170deg, #040812 0%, #090f21 48%, #070d1d 100%);
  color: var(--taj-text-muted);
}

html.theme-2-active body::before {
  background: radial-gradient(circle, rgba(124, 145, 235, 0.24) 0%, transparent 72%);
}

html.theme-2-active body::after {
  background: radial-gradient(circle, rgba(239, 201, 111, 0.16) 0%, transparent 74%);
}

html.theme-2-active ::selection {
  background: rgba(124, 145, 235, 0.38);
  color: #fff;
}

html.theme-2-active .text-gold {
  color: var(--taj-gold) !important;
  text-shadow: none;
}

html.theme-2-active .taj-divider {
  background: linear-gradient(90deg, transparent, #f7dc9f 34%, var(--taj-gold-light) 54%, var(--taj-gold-dark) 78%, transparent);
}

html.theme-2-active h1,
html.theme-2-active h2,
html.theme-2-active h3,
html.theme-2-active h4,
html.theme-2-active h5,
html.theme-2-active h6,
html.theme-2-active .section-heading,
html.theme-2-active .gallery-heading,
html.theme-2-active .auth-title {
  color: var(--taj-text);
}

html.theme-2-active .section-heading {
  color: #e8c055 !important;
  font-weight: 600;
  text-shadow: none !important;
}

html.theme-2-active .gallery-heading,
html.theme-2-active .footer-heading,
html.theme-2-active .hero-kicker {
  color: var(--taj-text);
  text-shadow: none;
  font-weight: 600;
}

html.theme-2-active .section-subheading,
html.theme-2-active .hero-subtext,
html.theme-2-active .gallery-subheading {
  color: #ccd8f4;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  /* Shiny gold gradient for section headings and hero tagline in dark mode */
  html.theme-2-active .section-heading,
  html.theme-2-active .hero-tagline,
  html.theme-2-active .hero-tagline span {
    background: linear-gradient(135deg, #c28a2f 0%, #e8c055 18%, #fef3c7 40%, #fffdf0 50%, #fde68a 60%, #e8c055 82%, #c28a2f 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    color: transparent !important;
    text-shadow: none !important;
  }
  /* Reset gradient text for other dark mode elements */
  html.theme-2-active .gallery-heading,
  html.theme-2-active .footer-heading,
  html.theme-2-active .hero-kicker,
  html.theme-2-active .product-price,
  html.theme-2-active .gallery-price {
    background: none;
    color: inherit;
    -webkit-text-fill-color: currentColor;
    -webkit-text-stroke: 0;
    text-shadow: none;
  }
}

html.theme-2-active .taj-navbar {
  background: linear-gradient(180deg, rgba(5, 9, 22, 0.92) 0%, rgba(7, 13, 29, 0.86) 100%) !important;
  border-bottom: 1px solid rgba(124, 145, 235, 0.22);
  box-shadow: inset 0 -1px 0 rgba(239, 201, 111, 0.24);
}

html.theme-2-active .taj-navbar.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.56), inset 0 -1px 0 rgba(239, 201, 111, 0.28);
}

html.theme-2-active .taj-navbar .nav-link {
  color: var(--taj-text-muted) !important;
}

html.theme-2-active .taj-navbar .nav-link:hover,
html.theme-2-active .taj-navbar .nav-link.active {
  color: var(--taj-gold) !important;
}

html.theme-2-active .taj-navbar .nav-link::after {
  background: linear-gradient(90deg, var(--taj-tanzanite-light), var(--taj-gold));
  box-shadow: none;
}

html.theme-2-active .taj-navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255%2C 255%2C 255%2C 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

html.theme-2-active .currency-toggle {
  color: var(--taj-text-dim) !important;
  border-color: var(--taj-border-subtle);
  background: transparent;
}

html.theme-2-active .hero-section {
  min-height: 92vh;
  align-items: center;
  padding-top: 0;
  background: var(--taj-midnight);
}

html.theme-2-active .hero-content {
  padding-top: 2rem;
  padding-bottom: 2.5rem;
}

html.theme-2-active .hero-grid {
  min-height: calc(92vh - 10rem);
}

html.theme-2-active .hero-section::before {
  background: radial-gradient(circle, rgba(124, 145, 235, 0.28) 0%, transparent 72%);
}

html.theme-2-active .hero-section::after {
  background: radial-gradient(circle, rgba(239, 201, 111, 0.24) 0%, transparent 74%);
}

html.theme-2-active .hero-bg {
  filter: brightness(0.2) saturate(0.85);
  opacity: 1;
}

html.theme-2-active .hero-overlay {
  background: linear-gradient(128deg, rgba(4, 9, 24, 0.95) 0%, rgba(14, 24, 60, 0.5) 44%, rgba(5, 10, 23, 0.94) 100%);
}

html.theme-2-active .hero-kicker {
  color: var(--taj-tanzanite-light);
}

html.theme-2-active .hero-tagline {
  color: #e8c055 !important;
  text-shadow: none !important;
  font-weight: 600;
}

html.theme-2-active .hero-tagline span {
  color: #e8c055 !important;
  text-shadow: none !important;
  font-weight: 600;
}

html.theme-2-active .hero-subtext {
  color: #ccd8f4;
}

html.theme-2-active .hero-chip {
  border-color: rgba(124, 145, 235, 0.4);
  background: rgba(11, 20, 42, 0.65);
  color: #d6e0ff;
}

html.theme-2-active .hero-gemframe {
  background: #070f22;
  border: 1px solid rgba(124, 145, 235, 0.24);
  box-shadow: 0 24px 54px rgba(2, 6, 17, 0.66);
}

html.theme-2-active .hero-gemframe::before {
  background: linear-gradient(140deg, rgba(124, 145, 235, 0.45), rgba(239, 201, 111, 0.5), transparent 66%);
}

.featured-filter-chips .hero-chip {
  border-color: #d4af37 !important;
  color: #b8860b !important;
  font-size: 0.95rem !important;
  font-weight: 900 !important;
  -webkit-text-stroke: 0.015em currentColor;
  letter-spacing: 0.02em !important;
  min-height: 2.45rem;
  padding: 0.45rem 0.85rem !important;
}

.featured-filter-chips .hero-chip:hover,
.featured-filter-chips .hero-chip.active {
  background: #d4af37 !important;
  border-color: #d4af37 !important;
  color: #070d1d !important;
}

html.theme-2-active .featured-filter-chips .hero-chip {
  background: rgba(7, 13, 29, 0.72) !important;
  border-color: rgba(255, 215, 105, 0.8) !important;
  color: #ffd766 !important;
  text-shadow: none;
  box-shadow: none;
}

html.theme-2-active .featured-filter-chips .hero-chip:hover,
html.theme-2-active .featured-filter-chips .hero-chip.active {
  background: linear-gradient(135deg, #fff4b0 0%, #ffd766 26%, #d4af37 52%, #9f7418 100%) !important;
  border-color: #fff0a8 !important;
  color: #070d1d !important;
  text-shadow: none;
  box-shadow: none;
}

html.theme-2-active .hero-gemframe::after {
  background: linear-gradient(180deg, rgba(7, 13, 29, 0) 45%, rgba(7, 13, 29, 0.72) 100%);
}

html.theme-2-active .btn-taj-gold {
  background: linear-gradient(140deg, #d39a3b 0%, #f3d282 24%, #fffef5 44%, #ffeabf 56%, #f7d47f 70%, #e7b65e 84%, #cc9132 100%);
  color: #21180e !important;
  border: 1px solid rgba(203, 145, 46, 0.72);
  box-shadow: 0 12px 26px rgba(87, 61, 26, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.74), inset 0 -1px 0 rgba(150, 101, 26, 0.48);
  background-size: 180% 180%;
  filter: saturate(1.12) brightness(1.04);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  font-weight: 800;
}

html.theme-2-active .btn-taj-gold::before {
  background: linear-gradient(95deg, transparent 6%, rgba(255, 255, 255, 0.86) 34%, rgba(255, 255, 249, 1) 48%, rgba(255, 245, 219, 0.92) 58%, transparent 84%);
}

html.theme-2-active .btn-taj-gold:hover {
  transform: translateY(-2px) scale(1.015);
  box-shadow: 0 18px 34px rgba(87, 61, 26, 0.4), 0 0 0 1px rgba(246, 214, 142, 0.84), 0 0 42px rgba(246, 214, 142, 0.5);
}

html.theme-2-active .btn-taj-outline {
  background: rgba(7, 13, 29, 0.6);
  color: #d8e3ff !important;
  border: 1px solid rgba(124, 145, 235, 0.48);
  text-shadow: none;
  font-weight: 600;
}

html.theme-2-active .btn-taj-outline:hover {
  background: linear-gradient(120deg, rgba(45, 67, 149, 0.24), rgba(239, 201, 111, 0.2));
  border-color: var(--taj-gold);
  color: var(--taj-gold) !important;
  box-shadow: 0 12px 28px rgba(4, 9, 22, 0.5);
}

html.theme-2-active .badge-featured {
  background: linear-gradient(135deg, var(--taj-gold-dark), var(--taj-gold));
  color: var(--taj-midnight);
}

html.theme-2-active .taj-card,
html.theme-2-active .filter-bar,
html.theme-2-active .gallery-empty,
html.theme-2-active .auth-card {
  background: linear-gradient(160deg, rgba(15, 26, 51, 0.96) 0%, rgba(9, 16, 35, 0.98) 100%);
  border: 1px solid rgba(124, 145, 235, 0.22);
  box-shadow: 0 15px 40px rgba(2, 7, 22, 0.45);
}

html.theme-2-active .taj-card:hover {
  background: var(--taj-card-hover);
  box-shadow: var(--taj-shadow-deep), 0 0 0 1px rgba(124, 145, 235, 0.34);
}

html.theme-2-active .taj-card::after {
  background: linear-gradient(90deg, transparent, rgba(124, 145, 235, 0.64), transparent);
}

html.theme-2-active .product-img-wrap,
html.theme-2-active .gallery-media {
  background-color: #0d1628;
}

html.theme-2-active .product-img-wrap::before,
html.theme-2-active .gallery-media::after {
  background: linear-gradient(180deg, rgba(7, 13, 31, 0.06), rgba(5, 10, 24, 0.5));
}

html.theme-2-active .product-meta,
html.theme-2-active .gallery-meta {
  color: #9aa9cd;
}

html.theme-2-active .product-price,
html.theme-2-active .gallery-price {
  color: var(--taj-gold);
  text-shadow: none;
  font-weight: 700;
}

html.theme-2-active .gallery-product-title,
html.theme-2-active .gallery-product-title a,
html.theme-2-active .product-title-link {
  color: #fff;
}

html.theme-2-active .form-control,
html.theme-2-active .form-select,
html.theme-2-active .search-bar-wrap .form-control {
  background: var(--taj-surface) !important;
  border-color: var(--taj-border-subtle) !important;
  color: var(--taj-text) !important;
}

html.theme-2-active .form-control::placeholder,
html.theme-2-active .search-bar-wrap .form-control::placeholder {
  color: var(--taj-text-dim) !important;
}

html.theme-2-active .pagination .page-link {
  background: var(--taj-surface);
  border-color: rgba(124, 145, 235, 0.3);
  color: var(--taj-text-muted);
}

html.theme-2-active .pagination .page-link:hover {
  background: rgba(124, 145, 235, 0.16);
  border-color: rgba(158, 175, 245, 0.56);
  color: #fff;
}

html.theme-2-active .pagination .page-item.active .page-link {
  background: linear-gradient(140deg, #b78333 0%, #ddb465 44%, #fff3d4 74%, #b38033 100%);
  color: var(--taj-midnight);
  border-color: var(--taj-gold);
  box-shadow: 0 6px 16px rgba(87, 61, 26, 0.24);
}

html.theme-2-active .taj-marquee {
  background: linear-gradient(90deg, rgba(7, 13, 29, 0.95), rgba(20, 33, 74, 0.95), rgba(7, 13, 29, 0.95));
  border-top: 1px solid rgba(124, 145, 235, 0.32);
  border-bottom: 1px solid rgba(239, 201, 111, 0.44);
}

html.theme-2-active .taj-marquee::before {
  background: linear-gradient(90deg, rgba(9, 17, 39, 0.95), transparent);
}

html.theme-2-active .taj-marquee::after {
  background: linear-gradient(270deg, rgba(9, 17, 39, 0.95), transparent);
}

html.theme-2-active .taj-marquee-chip {
  color: #dce5ff;
}

html.theme-2-active .taj-footer {
  background: linear-gradient(180deg, #0b142c 0%, #060c1b 100%);
  border-top: 1px solid rgba(124, 145, 235, 0.24);
}

html.theme-2-active .taj-footer::before {
  background: linear-gradient(90deg, transparent, rgba(124, 145, 235, 0.76), rgba(239, 201, 111, 0.7), transparent);
}

html.theme-2-active .footer-watermark {
  opacity: 0.05;
}

html.theme-2-active .footer-watermark-logo {
  filter: grayscale(100%) brightness(1.38) contrast(0.98);
}

html.theme-2-active .footer-link,
html.theme-2-active .footer-tagline,
html.theme-2-active .footer-bottom,
html.theme-2-active .stat-label {
  color: var(--taj-text-dim);
}

html.theme-2-active .social-btn {
  background: rgba(5, 10, 24, 0.68);
  border-color: rgba(124, 145, 235, 0.28);
  color: var(--taj-text-dim);
}

html.theme-2-active .social-btn:hover {
  background: linear-gradient(120deg, rgba(199, 166, 103, 0.2), rgba(124, 145, 235, 0.14));
  border-color: var(--taj-gold);
  color: var(--taj-gold);
  box-shadow: 0 10px 24px rgba(3, 8, 22, 0.56);
}

html.theme-2-active a:focus-visible,
html.theme-2-active button:focus-visible,
html.theme-2-active input:focus-visible,
html.theme-2-active select:focus-visible,
html.theme-2-active textarea:focus-visible {
  outline: 2px solid rgba(124, 145, 235, 0.95);
  box-shadow: 0 0 0 4px rgba(124, 145, 235, 0.2);
}

/* ─── Est. 1981 Spotlight Section ──────────────────────────────────────────── */
.spotlight-1981-section {
  position: relative;
  padding: 6rem 0 5rem;
  background: var(--taj-midnight);
  overflow: hidden;
  text-align: center;
  border-top: 1px solid rgba(199, 166, 103, 0.28);
  border-bottom: 1px solid rgba(199, 166, 103, 0.28);
}

.spotlight-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(900px, 95vw);
  height: 420px;
  background: radial-gradient(ellipse at center,
    rgba(199, 166, 103, 0.28) 0%,
    rgba(199, 166, 103, 0.14) 38%,
    rgba(199, 166, 103, 0.04) 62%,
    transparent 75%);
  pointer-events: none;
}

.spotlight-est-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--taj-gold);
  margin-bottom: 0.1rem;
}

.spotlight-year {
  font-family: 'Cinzel', serif;
  font-size: clamp(7rem, 25vw, 16rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: 0.06em;
  background: linear-gradient(135deg,
    #a8700a 0%,
    #d4a83a 12%,
    #f0cc65 26%,
    #fef7e0 42%,
    #ffffff 50%,
    #fef0b8 58%,
    #eabd4a 74%,
    #c8921e 88%,
    #a8700a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 22px rgba(232, 192, 85, 0.60))
          drop-shadow(0 0 55px rgba(199, 166, 103, 0.32))
          drop-shadow(0 4px 8px rgba(0, 0, 0, 0.55));
  margin-bottom: 0.4rem;
  position: relative;
  z-index: 1;
}

.spotlight-subtitle {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--taj-text-dim);
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  max-width: 520px;
  margin: 0.75rem auto 0;
  line-height: 1.85;
}

/* About page hero variant — slightly smaller year */
.about-spotlight-year {
  font-family: 'Cinzel', serif;
  font-size: clamp(6rem, 22vw, 13rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: 0.06em;
  background: linear-gradient(135deg,
    #a8700a 0%,
    #d4a83a 12%,
    #f0cc65 26%,
    #fef7e0 42%,
    #ffffff 50%,
    #fef0b8 58%,
    #eabd4a 74%,
    #c8921e 88%,
    #a8700a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(232, 192, 85, 0.55))
          drop-shadow(0 0 45px rgba(199, 166, 103, 0.28))
          drop-shadow(0 4px 8px rgba(0, 0, 0, 0.55));
  margin-bottom: 0.4rem;
  position: relative;
  z-index: 1;
}

/* Light mode overrides for spotlight */
html:not(.theme-2-active) .spotlight-1981-section {
  background: var(--taj-surface);
  border-top-color: rgba(160, 112, 32, 0.22);
  border-bottom-color: rgba(160, 112, 32, 0.22);
}

html:not(.theme-2-active) .spotlight-glow {
  background: radial-gradient(ellipse at center,
    rgba(199, 166, 103, 0.30) 0%,
    rgba(199, 166, 103, 0.12) 42%,
    transparent 72%);
}

html:not(.theme-2-active) .spotlight-year,
html:not(.theme-2-active) .about-spotlight-year {
  background: linear-gradient(135deg,
    #7a5010 0%,
    #c9a027 18%,
    #c9a027 34%,
    #e8c055 50%,
    #c9a027 66%,
    #c9a027 82%,
    #7a5010 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 16px rgba(160, 112, 32, 0.45))
          drop-shadow(0 4px 6px rgba(0, 0, 0, 0.20));
}

html:not(.theme-2-active) .spotlight-subtitle {
  color: var(--taj-text-dim);
}


/* ─── Hero Carousel Indicators ─────────────────────────────────────────────── */
#heroCarousel .carousel-indicators {
  bottom: 0.6rem;
  margin: 0;
  justify-content: center;
  gap: 0.35rem;
}

#heroCarousel .carousel-indicators [data-bs-target] {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: rgba(199, 166, 103, 0.45);
  border: 1px solid rgba(199, 166, 103, 0.65);
  opacity: 1;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

#heroCarousel .carousel-indicators [data-bs-target].active {
  background-color: var(--taj-gold);
  border-color: var(--taj-gold);
  width: 20px;
  border-radius: 3px;
}

/* ─── Hero 1981 Inline Badge (right column, above carousel) ────────────────── */
.hero-1981-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.1rem;
  max-width: 100%;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

/* Base (light mode) — solid dark amber, clearly readable on cream */
.hero-1981-est {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: #c9a027;
  opacity: 0.85;
  flex-shrink: 0;
}

.hero-1981-year {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.05em;
  color: #c9a027;
  flex-shrink: 0;
}

.hero-1981-rule {
  flex: 0 0 24px;
  height: 1px;
  background: linear-gradient(to right, rgba(90,50,0,0.5), transparent);
}

.hero-1981-sub {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.5rem, 3.8vw, 2.6rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 1;
  line-height: 1;
  color: #c9a027;
  transition: opacity 0.2s;
}

.hero-1981-sub:hover { opacity: 0.8; }

/* Dark mode */
html.theme-2-active .hero-1981-wrap {
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

html.theme-2-active .hero-1981-est,
html.theme-2-active .hero-1981-year,
html.theme-2-active .hero-1981-sub {
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: #f2c94c;
  background-clip: initial;
  color: #f2c94c;
  text-shadow: none;
  filter: drop-shadow(0 0 12px rgba(242, 201, 76, 0.38))
          drop-shadow(0 0 28px rgba(184, 134, 11, 0.2));
}

html.theme-2-active .hero-1981-rule {
  background: linear-gradient(to right, rgba(199,166,103,0.55), transparent);
}


/* ─── Hero Heritage Badge ───────────────────────────────────────────────────── */
.hero-heritage-badge {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--taj-gold);
}

.hero-heritage-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.hero-heritage-link:hover {
  color: var(--taj-gold-light);
}


/* Metal Image Tinting (Hover CSS Filters) */
.metal-tint-yellow {
  /* Extra-soft yellow-gold tint for better image clarity. */
  filter: sepia(20%) hue-rotate(-6deg) saturate(122%) brightness(101%) contrast(101%);
}

.metal-tint-rose {
  /* Extra-soft rose-gold tint for better image clarity. */
  filter: sepia(17%) hue-rotate(-18deg) saturate(118%) brightness(100%) contrast(101%);
}

.metal-tint-white {
  /* Lighter white-gold/platinum lift without losing detail. */
  filter: grayscale(26%) saturate(92%) brightness(103%) contrast(101%);
}

.product-image-container {
  transition: filter 0.4s ease-in-out;
}

.product-view-card {
  width: 85%;
  margin-inline: auto;
}

.product-view-img-wrap .product-image-container {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.variant-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--taj-border);
  border-radius: 999px;
  background: var(--taj-nav-bg);
  color: var(--taj-text);
  font-size: 0.78rem;
  line-height: 1;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.variant-chip small {
  color: var(--taj-text-dim);
  font-size: 0.68rem;
}

.variant-chip:hover {
  border-color: rgba(227, 189, 103, 0.72);
}

.variant-chip.active {
  border-color: rgba(227, 189, 103, 0.88);
  box-shadow: 0 0 0 2px rgba(227, 189, 103, 0.18);
  transform: translateY(-1px);
}

.metal-swatch {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.4), 0 1px 2px rgba(0, 0, 0, 0.5);
}
