/* ============================================
   Diamond Gems Jewelry — Master Stylesheet
   Jonesboro, AR · Luxury Jewelry Template
   Bootstrap 5.3 + Custom Overrides
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --gold:        #CABE84;
  --gold-light:  #D8CF9F;
  --gold-dark:   #B5A76E;
  --gold-accent: #E8E0B5;
  --navy:        #1A1A2E;
  --navy-light:  #2D2D44;
  --charcoal:    #333333;
  --dark:        #111111;
  --light-bg:    #FAFAF7;
  --cream:       #F5F3EC;
  --white:       #FFFFFF;
  --gray-100:    #F8F9FA;
  --gray-200:    #E9ECEF;
  --gray-300:    #DEE2E6;
  --gray-500:    #ADB5BD;
  --gray-600:    #6C757D;
  --gray-700:    #495057;
  --danger:      #C0392B;
  --success:     #27AE60;
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --shadow-sm:    0 1px 3px rgba(0,0,0,.08);
  --shadow-md:    0 4px 12px rgba(0,0,0,.1);
  --shadow-lg:    0 8px 30px rgba(0,0,0,.12);
  --shadow-xl:    0 20px 60px rgba(0,0,0,.15);
  --radius-sm:    4px;
  --radius-md:    8px;
  --radius-lg:    16px;
  --transition:   all .3s ease;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--charcoal);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold-dark);
  text-decoration: none;
  transition: var(--transition);
}
a:hover {
  color: var(--gold);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: .75rem;
}
h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

::selection {
  background: var(--gold);
  color: var(--white);
}

/* ---------- Utilities ---------- */
.text-gold  { color: var(--gold) !important; }
.text-navy  { color: var(--navy) !important; }
.bg-gold    { background-color: var(--gold) !important; }
.bg-navy    { background-color: var(--navy) !important; }
.bg-cream   { background-color: var(--cream) !important; }
.bg-light-custom { background-color: var(--light-bg) !important; }

.section-padding {
  padding: 5rem 0;
}
@media (max-width: 768px) {
  .section-padding { padding: 3rem 0; }
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header h2 {
  position: relative;
  display: inline-block;
  padding-bottom: .75rem;
}
.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}
.section-header p {
  max-width: 600px;
  margin: 1rem auto 0;
  color: var(--gray-600);
}

.divider-gold {
  width: 60px;
  height: 3px;
  background: var(--gold);
  border: none;
  border-radius: 2px;
  margin: 1rem auto;
}

/* ---------- Buttons ---------- */
.btn-gold {
  background-color: var(--gold);
  color: var(--navy);
  border: 2px solid var(--gold);
  font-weight: 600;
  padding: .65rem 1.75rem;
  border-radius: var(--radius-sm);
  letter-spacing: .5px;
  transition: var(--transition);
}
.btn-gold:hover,
.btn-gold:focus {
  background-color: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(202,190,132,.4);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
  font-weight: 600;
  padding: .65rem 1.75rem;
  border-radius: var(--radius-sm);
  letter-spacing: .5px;
  transition: var(--transition);
}
.btn-outline-gold:hover,
.btn-outline-gold:focus {
  background-color: var(--gold);
  color: var(--navy);
}

.btn-navy {
  background-color: var(--navy);
  color: var(--gold-light);
  border: 2px solid var(--navy);
  font-weight: 600;
  padding: .65rem 1.75rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.btn-navy:hover,
.btn-navy:focus {
  background-color: var(--navy-light);
  border-color: var(--gold);
  color: var(--gold);
}

.btn-lg {
  padding: .85rem 2.25rem;
  font-size: 1.05rem;
}

/* ---------- Preloader ---------- */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .5s ease;
}
#preloader.loaded {
  opacity: 0;
  pointer-events: none;
}
.spinner-ring {
  width: 48px;
  height: 48px;
  border: 4px solid var(--gray-200);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Top Bar ---------- */
.top-bar {
  background: var(--navy);
  color: var(--gray-300);
  font-size: .82rem;
  padding: .4rem 0;
  letter-spacing: .3px;
}
.top-bar a {
  color: var(--gold-light);
  transition: var(--transition);
}
.top-bar a:hover {
  color: var(--gold);
}
.top-bar-link {
  color: var(--gold-light);
  font-weight: 500;
  font-size: .8rem;
  display: inline-flex;
  align-items: center;
  gap: .25rem;
}
.top-bar .separator {
  color: var(--gray-600);
  margin: 0 .75rem;
}

/* ---------- Navbar ---------- */
.navbar-dgj {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  padding: .4rem 0;
  transition: var(--transition);
  z-index: 1030;
}
.navbar-dgj.scrolled {
  box-shadow: var(--shadow-md);
  padding: .25rem 0;
}
.navbar-dgj .navbar-brand {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.navbar-dgj .navbar-brand .brand-icon {
  color: var(--gold);
  font-size: 1.6rem;
}
.navbar-dgj .navbar-brand span {
  color: var(--gold);
}
/* Logo images */
.brand-logo {
  height: 58px;
  width: auto;
  object-fit: contain;
}
.brand-logo-sm {
  height: 30px;
  width: auto;
  object-fit: contain;
}
.navbar-dgj .nav-link {
  color: var(--charcoal);
  font-weight: 500;
  padding: .5rem 1rem !important;
  font-size: .92rem;
  position: relative;
  transition: var(--transition);
}
@media (min-width: 1200px) and (max-width: 1400px) {
  .navbar-dgj .nav-link {
    padding: .5rem .55rem !important;
    font-size: .88rem;
  }
}
.navbar-dgj .nav-link:not(.dropdown-toggle)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .3s ease;
}
.navbar-dgj .nav-link:hover,
.navbar-dgj .nav-link.active {
  color: var(--gold-dark);
}
/* Remove focus/active highlight box on dropdown toggles */
.navbar-dgj .dropdown-toggle:focus,
.navbar-dgj .dropdown-toggle:active,
.navbar-dgj .dropdown-toggle.show {
  box-shadow: none !important;
  outline: none;
  background: transparent !important;
}
/* Only color the dropdown toggle while menu is open */
.navbar-dgj .dropdown.show > .dropdown-toggle {
  color: var(--gold-dark);
}
.navbar-dgj .nav-link:not(.dropdown-toggle):hover::after,
.navbar-dgj .nav-link:not(.dropdown-toggle).active::after {
  transform: scaleX(1);
}
/* Dropdown caret indicator */
.navbar-dgj .dropdown-toggle::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  border: none;
  font-size: .6rem;
  margin-left: .4rem;
  vertical-align: middle;
  transition: transform .3s ease;
}
.navbar-dgj .dropdown-toggle[aria-expanded="true"]::after,
.navbar-dgj .dropdown.show .dropdown-toggle::after,
.navbar-dgj .dropdown:hover > .dropdown-toggle::after {
  transform: rotate(180deg);
}

/* Desktop hover-to-open dropdowns */
@media (min-width: 1200px) {
  .navbar-dgj .dropdown:hover > .dropdown-menu,
  .navbar-dgj .dropdown-menu.show {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(-2px);
    pointer-events: auto;
  }
  .navbar-dgj .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
    margin-top: 0;
    padding-top: 1rem;
  }
}

.navbar-dgj .dropdown-menu {
  border: none;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  padding: .5rem 0;
  margin-top: 0;
  min-width: 220px;
}
@media (min-width: 1200px) {
  .navbar-dgj .dropdown-menu:not(.mega-menu) {
    clip-path: inset(0 -40px -40px -40px);
  }
}

/* ---------- Mega Menu ---------- */
@media (min-width: 1200px) {
  .dropdown-mega {
    position: static;
  }
  .mega-menu {
    width: 100%;
    left: 0;
    right: 0;
    border-radius: 0 0 var(--radius-md) var(--radius-md) !important;
    padding: 1.75rem 0 !important;
    box-shadow: 0 8px 24px rgba(0,0,0,.1) !important;
    border-top: 2px solid var(--gold);
    clip-path: inset(0 -40px -40px -40px);
  }
}
.mega-heading {
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gray-500);
  margin-bottom: .85rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--gray-200);
}
.mega-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mega-links li {
  margin-bottom: .2rem;
}
.mega-links a {
  font-size: .88rem;
  font-weight: 500;
  color: var(--charcoal);
  display: flex;
  width: 100%;
  align-items: center;
  gap: .5rem;
  padding: .5rem .75rem;
  border-radius: 6px;
  transition: all .2s ease;
  text-decoration: none;
}
.mega-links a:hover {
  background-color: #CABE84;
  color: #fff;
  padding-left: 1rem;
}
.mega-view-all {
  display: inline-flex;
  align-items: center;
  color: var(--gold);
  font-weight: 600;
  font-size: .88rem;
  margin-top: .5rem;
  transition: var(--transition);
}
.mega-view-all:hover {
  color: var(--gold-dark);
}
.mega-view-all i {
  transition: transform .3s ease;
}
.mega-view-all:hover i {
  transform: translateX(4px);
}
.shape-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
  opacity: .6;
  transition: opacity .3s ease;
}
.mega-shapes li {
  margin-bottom: .75rem;
}
.mega-shapes a:hover .shape-icon {
  opacity: 1;
  filter: brightness(0) invert(1);
}
.metal-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
  border: 1px solid var(--gray-300);
  flex-shrink: 0;
}

.navbar-dgj .dropdown-item {
  padding: .5rem 1.25rem;
  font-size: .9rem;
  font-weight: 500;
  color: var(--charcoal);
  transition: var(--transition);
}
.navbar-dgj .dropdown-item:hover {
  background: var(--cream);
  color: var(--gold-dark);
  padding-left: 1.5rem;
}
.navbar-dgj .dropdown-item i {
  width: 20px;
  color: var(--gold);
  margin-right: .5rem;
}
.navbar-cta .btn {
  font-size: .88rem;
  padding: .45rem 1.25rem;
  display: inline-flex;
  align-items: center;
}
/* ---------- Nav Icon Buttons (Profile & Cart) ---------- */
.nav-icon-btn {
  color: var(--navy);
  font-size: 1.05rem;
  line-height: 1;
  text-decoration: none;
  transition: color .2s ease;
}
.nav-icon-btn:hover {
  color: var(--gold);
}
@media (min-width: 1200px) {
  .nav-icon-btn {
    font-size: 1.2rem;
    margin-left: .65rem;
  }
}
.cart-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--gold);
  color: #fff;
  font-size: .6rem;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.navbar-toggler {
  border: none;
  padding: .25rem;
}
.navbar-toggler:focus {
  box-shadow: none;
}
.navbar-toggler-icon {
  background-image: none;
  position: relative;
  width: 26px;
  height: 2px;
  background: var(--navy);
  display: block;
  transition: var(--transition);
}
.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  content: '';
  position: absolute;
  left: 0;
  width: 26px;
  height: 2px;
  background: var(--navy);
  transition: var(--transition);
}
.navbar-toggler-icon::before { top: -8px; }
.navbar-toggler-icon::after  { top: 8px; }

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  background: var(--white);
  overflow: hidden;
  padding: 0;
}
.hero .container {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

/* --- Hero Content (left side) --- */
.hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem 0;
}
.hero-content h1 {
  color: var(--navy);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.hero-content p {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 480px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* --- Hero CTA Button --- */
.btn-hero {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  border-radius: var(--radius-sm);
  border: none;
  transition: var(--transition);
}
.btn-hero:hover {
  background: var(--gold);
  color: var(--navy);
}

/* --- Hero Trust / Review Bar --- */
.hero-trust {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: 2.5rem;
  font-size: .88rem;
  color: var(--gray-600);
}
.hero-trust-label {
  font-weight: 700;
  color: var(--navy);
}
.hero-trust-stars {
  color: #CABE84;
  font-size: .95rem;
}
.hero-trust-source {
  font-weight: 600;
  color: var(--navy);
}

/* --- Hero Gallery (desktop 3-column) --- */
.hero-gallery {
  display: flex;
  gap: 12px;
  height: 580px;
}
.hero-gallery-col {
  flex: 1;
  border-radius: 0;
  overflow: hidden;
}
.hero-gallery-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.hero-gallery-col:hover img {
  transform: scale(1.04);
}

/* --- Hero Mobile Images (top strip) --- */
.hero-images-mobile {
  margin: 0 -0.75rem; /* bleed to container edges */
  margin-bottom: 1.5rem;
}
.hero-img-strip {
  display: flex;
  gap: 8px;
}
.hero-img-strip .hero-img-col {
  flex: 1;
  border-radius: 0;
  overflow: hidden;
  aspect-ratio: 3 / 4;
}
.hero-img-strip .hero-img-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* legacy — keep for other pages if referenced */
.hero-badge { display: none; }
.hero-img-wrapper { display: none; }
.hero-float { display: none; }
.hero-stats { display: none; }

/* ---------- Trust Bar ---------- */
.trust-bar {
  background: var(--cream);
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--gray-200);
}
.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  font-size: .88rem;
  font-weight: 500;
  color: var(--gray-700);
}
.trust-item i {
  color: var(--gold);
  font-size: 1.15rem;
}

/* ---------- Category Cards ---------- */
.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy);
  aspect-ratio: 3/4;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
  transition: var(--transition);
}
.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}
.category-card-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: opacity .5s ease;
}
.category-card-photo-alt {
  opacity: 0;
}
.category-card:hover .category-card-photo:not(.category-card-photo-alt) {
  opacity: 0;
}
.category-card:hover .category-card-photo-alt {
  opacity: 1;
}
.category-card-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,26,46,.2) 0%, rgba(26,26,46,.85) 100%);
  z-index: 1;
}
.category-card-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  font-size: 4rem;
  color: var(--gold);
  opacity: .2;
  z-index: 0;
}
.category-card-body {
  position: relative;
  z-index: 2;
  padding: 1.5rem;
  width: 100%;
}
.category-card-body h4 {
  color: var(--white);
  margin-bottom: .25rem;
}
.category-card-body p {
  color: var(--gray-300);
  font-size: .85rem;
  margin-bottom: .75rem;
}
.category-card-body .card-link {
  color: var(--gold);
  font-weight: 600;
  font-size: .88rem;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.category-card-body .card-link i {
  transition: transform .3s ease;
}
.category-card:hover .card-link i {
  transform: translateX(4px);
}

/* ---------- Product Cards ---------- */
.product-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-light);
  transform: translateY(-3px);
}
.product-card-img {
  aspect-ratio: 1/1;
  background: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.product-card-img i {
  font-size: 2rem;
  color: var(--gray-300);
}
.product-card-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-card-img .badge-sale {
  position: absolute;
  top: .75rem;
  left: .75rem;
  background: var(--danger);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  padding: .25rem .6rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: .5px;
}
.product-card-img .badge-new {
  position: absolute;
  top: .75rem;
  left: .75rem;
  background: var(--gold);
  color: var(--navy);
  font-size: .72rem;
  font-weight: 700;
  padding: .25rem .6rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: .5px;
}
.product-card-img .wishlist-btn {
  position: absolute;
  top: .75rem;
  right: .75rem;
  background: none;
  border: none;
  color: #CABE84;
  font-size: .85rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: color .2s ease;
}
.product-card-img .wishlist-btn:hover {
  color: #CABE84;
}
.product-card-img .wishlist-btn.liked {
  color: #CABE84;
}
.product-card-img .wishlist-btn.heart-pop i {
  animation: heartPop .45s ease;
}
@keyframes heartPop {
  0%   { transform: scale(1)  translateY(0); }
  20%  { transform: scale(1.05) translateY(-3px); }
  40%  { transform: scale(.95) translateY(1px); }
  60%  { transform: scale(1.05) translateY(-1px); }
  80%  { transform: scale(.98) translateY(0); }
  100% { transform: scale(1)  translateY(0); }
}
.product-card-body {
  padding: 1rem 1.25rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card-body .product-category {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: .35rem;
}
.product-card-body h5 {
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .5rem;
  line-height: 1.4;
}
.product-card-body h5 a {
  color: inherit;
  text-decoration: none;
}
.product-card-body h5 a:hover {
  color: var(--gold-dark);
}
.product-rating {
  display: flex;
  align-items: center;
  gap: .25rem;
  margin-bottom: .5rem;
}
.product-rating i {
  font-size: .78rem;
  color: var(--gold);
}
.product-rating span {
  font-size: .78rem;
  color: var(--gray-600);
  margin-left: .25rem;
}
.product-price {
  margin-top: auto;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
}
.product-price .old-price {
  font-size: .85rem;
  color: var(--gray-500);
  text-decoration: line-through;
  font-weight: 400;
  margin-left: .5rem;
}
/* Material swatches */
.product-material {
  display: flex;
  align-items: center;
  gap: .4rem;
  margin-top: .6rem;
  flex-wrap: wrap;
}
.material-swatch {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--gray-300);
  cursor: pointer;
  padding: 0;
  transition: border-color .2s ease, box-shadow .2s ease;
  flex-shrink: 0;
}
.material-swatch:hover {
  border-color: var(--gray-500);
}
.material-swatch.active {
  border-color: var(--gray-700);
  box-shadow: 0 0 0 0.5px var(--gray-700);
}
.material-label {
  font-size: .72rem;
  color: var(--gray-600);
  margin-left: .15rem;
  white-space: nowrap;
}

/* Product card hover actions */
.product-card-actions {
  padding: 0 1.25rem 1.25rem;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
}
.product-card:hover .product-card-actions {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Why Choose Us / Features ---------- */
.feature-box {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  height: 100%;
}
.feature-box:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(202,190,132,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.5rem;
  color: var(--gold);
  transition: var(--transition);
}
.feature-box:hover .feature-icon {
  background: var(--gold);
  color: var(--white);
}
.feature-box h5 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
}
.feature-box p {
  font-size: .88rem;
  color: var(--gray-600);
  margin: 0;
}

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 2rem;
  height: 100%;
  transition: var(--transition);
}
.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--gold-light);
}
.testimonial-stars {
  color: var(--gold);
  margin-bottom: .75rem;
  font-size: .9rem;
}
.testimonial-text {
  font-style: italic;
  color: var(--gray-700);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-weight: 700;
}
.testimonial-author h6 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .9rem;
  margin: 0;
  color: var(--navy);
}
.testimonial-author small {
  color: var(--gray-600);
  font-size: .78rem;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #16213E 100%);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(202,190,132,.12) 0%, transparent 70%);
  border-radius: 50%;
}
.cta-banner h2 {
  color: var(--white);
  margin-bottom: .75rem;
}
.cta-banner p {
  color: var(--gray-300);
  font-size: 1.05rem;
}

/* ---------- Page Header / Breadcrumb ---------- */
.page-header {
  background: linear-gradient(135deg, var(--navy) 0%, #16213E 60%, #0F3460 100%);
  padding: 4.5rem 0 3rem;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="g" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r=".5" fill="rgba(202,190,132,.06)"/></pattern></defs><rect fill="url(%23g)" width="100" height="100"/></svg>');
  pointer-events: none;
}
.page-header h1 {
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  margin-bottom: .5rem;
  position: relative;
}
.page-header p {
  color: var(--gray-300);
  font-size: 1.05rem;
  max-width: 600px;
  position: relative;
}
.page-header .breadcrumb {
  background: none;
  padding: 0;
  margin-bottom: 1rem;
  position: relative;
}
.page-header .breadcrumb-item {
  font-size: .85rem;
}
.page-header .breadcrumb-item a {
  color: var(--gold-light);
}
.page-header .breadcrumb-item a:hover {
  color: var(--gold);
}
.page-header .breadcrumb-item.active {
  color: var(--gray-500);
}
.page-header .breadcrumb-item + .breadcrumb-item::before {
  color: var(--gray-600);
}

/* ---------- Filter Sidebar ---------- */
.filter-sidebar .filter-group {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gray-200);
}
.filter-sidebar .filter-group:last-child {
  border-bottom: none;
}
.filter-sidebar .filter-group h6 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--navy);
  margin-bottom: 0;
  padding: .35rem 0;
}
.filter-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}
.filter-toggle:hover {
  color: #CABE84 !important;
}
.filter-toggle .filter-caret {
  font-size: .7rem;
  transition: transform .3s ease;
}
.filter-toggle:not(.collapsed) .filter-caret {
  transform: rotate(180deg);
}
.filter-sidebar .filter-group .collapse,
.filter-sidebar .filter-group .collapsing {
  padding-top: .5rem;
}
.filter-sidebar .form-check-label {
  font-size: .88rem;
  color: var(--gray-700);
  cursor: pointer;
}
.filter-sidebar .form-check-input:checked {
  background-color: var(--gold);
  border-color: var(--gold);
}
.filter-sidebar .form-check-input:focus {
  box-shadow: 0 0 0 .25rem rgba(202,190,132,.25);
}
.price-range-display {
  font-size: .85rem;
  color: var(--gray-700);
  font-weight: 500;
}

/* ---------- Sort / Grid Controls ---------- */
.shop-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: var(--light-bg);
  border-radius: var(--radius-md);
}
.shop-controls .results-count {
  font-size: .88rem;
  color: var(--gray-600);
}
.shop-controls .sort-select {
  font-size: .88rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  padding: .4rem .75rem;
  color: var(--gray-700);
  min-width: 220px;
}
.view-toggle .btn {
  padding: .35rem .6rem;
  color: var(--gray-500);
  border: 1px solid var(--gray-300);
}
.view-toggle .btn.active {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(202,190,132,.08);
}

/* ---------- Pagination Theme ---------- */
.page-link {
  color: var(--navy);
  border-color: var(--gray-300);
}
.page-link:hover {
  color: var(--gold-dark);
  background: rgba(202,190,132,.1);
  border-color: var(--gold);
}
.page-link:focus {
  box-shadow: 0 0 0 .25rem rgba(202,190,132,.25);
}
.page-item.active .page-link {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}
.page-item.disabled .page-link {
  color: var(--gray-400);
  background: var(--white);
  border-color: var(--gray-300);
}

/* ---------- Product Detail ---------- */
.product-gallery {
  position: sticky;
  top: 100px;
}
.product-main-img {
  aspect-ratio: 1/1;
  background: var(--light-bg);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-200);
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
}
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: rgba(255,255,255,.85);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  color: var(--charcoal);
  cursor: pointer;
  opacity: 0;
  transition: opacity .25s ease, background .2s ease;
  box-shadow: 0 1px 4px rgba(0,0,0,.12);
}
.product-main-img:hover .gallery-arrow {
  opacity: 1;
}
.gallery-arrow:hover {
  background: #fff;
  color: var(--navy);
}
.gallery-prev { left: 10px; }
.gallery-next { right: 10px; }
.product-main-img > i {
  font-size: 5rem;
  color: var(--gray-300);
}
.gallery-arrow i {
  font-size: .7rem;
  line-height: 1;
}
.product-main-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
}
.product-thumbnails {
  display: flex;
  gap: .5rem;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--gray-300) transparent;
  padding-bottom: 4px;
}
.product-thumbnails::-webkit-scrollbar {
  height: 4px;
}
.product-thumbnails::-webkit-scrollbar-track {
  background: transparent;
}
.product-thumbnails::-webkit-scrollbar-thumb {
  background: var(--gray-300);
  border-radius: 2px;
}
.product-thumb {
  width: 72px;
  min-width: 72px;
  height: 72px;
  background: var(--light-bg);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
.product-thumb:hover,
.product-thumb.active {
  border-color: var(--gold);
}
.product-thumb i {
  font-size: 1.5rem;
  color: var(--gray-400);
}
.product-thumb-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius-sm) - 2px);
}
.product-detail-info h1 {
  color: var(--navy);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: .5rem;
}
.product-detail-price {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.25rem;
}
.product-detail-price .old-price {
  font-size: 1.1rem;
  color: var(--gray-500);
  text-decoration: line-through;
  font-weight: 400;
  margin-left: .5rem;
}
.product-meta {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: var(--light-bg);
  border-radius: var(--radius-md);
}
.product-meta-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .88rem;
}
.product-meta-item i {
  color: var(--gold);
  width: 18px;
}
.product-meta-item strong {
  color: var(--navy);
}
.size-selector {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.5rem;
}
.size-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--gray-300);
  background: var(--white);
  color: var(--charcoal);
  font-weight: 600;
  font-size: .85rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.size-btn:hover,
.size-btn.active {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--white);
}
.quantity-selector {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.5rem;
}
.quantity-selector .btn {
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--gray-300);
  background: var(--white);
  color: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}
.quantity-selector input {
  width: 50px;
  text-align: center;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  padding: .35rem;
  font-weight: 600;
}

/* ---------- Tabs on Product Detail ---------- */
.product-tabs .nav-tabs {
  border-bottom: 2px solid var(--gray-200);
}
.product-tabs .nav-link {
  color: var(--gray-600);
  font-weight: 600;
  font-size: .92rem;
  border: none;
  padding: .75rem 1.5rem;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: var(--transition);
}
.product-tabs .nav-link:hover {
  color: var(--navy);
  border-color: var(--gray-300);
}
.product-tabs .nav-link.active {
  color: var(--gold-dark);
  border-color: var(--gold);
  background: none;
}

/* ---------- About / How It Works ---------- */
.step-card {
  text-align: center;
  padding: 2rem;
  position: relative;
}
.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}
.step-card h5 {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--navy);
}
.step-card p {
  font-size: .9rem;
  color: var(--gray-600);
}
.step-connector {
  position: absolute;
  top: 28px;
  right: -50%;
  width: 100%;
  height: 2px;
  background: var(--gray-300);
  z-index: 0;
}

.timeline-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.timeline-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(202,190,132,.12);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.timeline-content h5 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: .35rem;
  color: var(--navy);
}
.timeline-content p {
  font-size: .9rem;
  color: var(--gray-600);
  margin: 0;
}

/* ---------- Services ---------- */
.service-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  background: var(--white);
  transition: var(--transition);
  height: 100%;
}
.service-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.service-card-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  background: rgba(202,190,132,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.75rem;
  color: var(--gold);
  transition: var(--transition);
}
.service-card:hover .service-card-icon {
  background: var(--gold);
  color: var(--white);
}
.service-card h5 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
}
.service-card p {
  font-size: .9rem;
  color: var(--gray-600);
}

/* ---------- Sell Gold / Silver ---------- */
.sell-process-card {
  text-align: center;
  padding: 2rem;
}
.sell-process-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 8px 25px rgba(202,190,132,.3);
}
.sell-process-card h5 {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--navy);
}
.accepted-items {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}
.accepted-tag {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: rgba(202,190,132,.1);
  border: 1px solid rgba(202,190,132,.3);
  padding: .4rem .85rem;
  border-radius: 50px;
  font-size: .85rem;
  color: var(--navy);
  font-weight: 500;
}
.accepted-tag i {
  color: var(--gold);
}

/* ---------- Contact Form ---------- */
.form-control:focus,
.form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 .25rem rgba(202,190,132,.2);
}
.form-label {
  font-weight: 600;
  font-size: .88rem;
  color: var(--navy);
  margin-bottom: .35rem;
}

/* ---------- FAQ Accordion ---------- */
.faq-accordion .accordion-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md) !important;
  margin-bottom: .75rem;
  overflow: hidden;
}
.faq-accordion .accordion-button {
  font-weight: 600;
  font-size: .95rem;
  color: var(--navy);
  background: var(--white);
  padding: 1rem 1.25rem;
}
.faq-accordion .accordion-button:not(.collapsed) {
  background: #CABE84;
  color: var(--navy);
  box-shadow: none;
}
.faq-accordion .accordion-button::after {
  background-image: none;
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: .75rem;
  width: auto;
  height: auto;
  color: var(--gold);
}
.faq-accordion .accordion-body {
  font-size: .92rem;
  color: var(--gray-700);
  line-height: 1.75;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy);
  color: var(--gray-300);
  padding-top: 4rem;
}
.footer h5 {
  color: var(--gold-light);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1rem;
}
.footer-brand span { color: var(--gold); }
.brand-logo-footer {
  height: 36px;
  width: auto;
  object-fit: contain;
}
.footer p {
  font-size: .88rem;
  line-height: 1.75;
  color: var(--gray-500);
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: .5rem;
}
.footer-links a {
  color: var(--gray-400);
  font-size: .88rem;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  transition: var(--transition);
}
.footer-links a:hover {
  color: var(--gold);
  padding-left: .25rem;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  margin-bottom: .75rem;
  font-size: .88rem;
}
.footer-contact-item i {
  color: var(--gold);
  margin-top: .2rem;
  width: 16px;
  flex-shrink: 0;
}
.footer-social {
  display: flex;
  gap: .5rem;
  margin-top: 1rem;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}
.footer-newsletter .input-group {
  max-width: 340px;
}
.footer-newsletter input {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  color: var(--white);
  font-size: .88rem;
  padding: .65rem 1rem;
}
.footer-newsletter input::placeholder {
  color: var(--gray-600);
}
.footer-newsletter .btn {
  background: var(--gold);
  border: none;
  color: var(--navy);
  font-weight: 700;
  padding: .65rem 1.25rem;
}
.footer-newsletter .btn:hover {
  background: var(--gold-dark);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.25rem 0;
  margin-top: 3rem;
  font-size: .82rem;
  color: var(--gray-600);
}
.footer-bottom a {
  color: var(--gray-500);
}
.footer-bottom a:hover {
  color: var(--gold);
}

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  cursor: pointer;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  background: var(--gold-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* ---------- Legal Pages ---------- */
.legal-content h2 {
  font-size: 1.4rem;
  margin-top: 2rem;
  margin-bottom: .75rem;
}
.legal-content h3 {
  font-size: 1.15rem;
  margin-top: 1.5rem;
  margin-bottom: .5rem;
}
.legal-content p,
.legal-content ul li {
  font-size: .92rem;
  line-height: 1.8;
  color: var(--gray-700);
}
.legal-content ul {
  padding-left: 1.5rem;
}
.legal-content ul li {
  margin-bottom: .35rem;
}

/* ---------- Animations ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .hero .container { padding-top: 1.5rem; padding-bottom: 2rem; }
  .hero-content { padding: 0; }
  .hero-content h1 { font-size: clamp(1.75rem, 6vw, 2.5rem); }
  .cta-banner { padding: 2.5rem 1.5rem; }
  .navbar-dgj .offcanvas {
    max-width: 100%;
    width: 100%;
    border-left: none;
  }
  /* Mobile offcanvas dropdown menus — always expanded, no toggle */
  .navbar-dgj .offcanvas .dropdown-menu {
    position: static;
    display: block !important;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: transparent;
    padding: 0 0 0 1rem;
    min-width: 0;
  }
  .navbar-dgj .offcanvas .dropdown-toggle::after {
    display: none !important;
  }
  .navbar-dgj .offcanvas .dropdown-mega .dropdown-toggle::after {
    display: inline-block !important;
    transition: transform .3s ease;
    transform: rotate(0deg) !important;
  }
  .navbar-dgj .offcanvas .dropdown-mega.open > .dropdown-toggle::after {
    transform: rotate(180deg) !important;
  }
  .navbar-dgj .offcanvas .dropdown-item {
    padding: .45rem .75rem;
    font-size: .88rem;
  }
  /* Mobile: active page uses gold color, no underline */
  .navbar-dgj .offcanvas .nav-link.active {
    color: #CABE84 !important;
  }
  .navbar-dgj .offcanvas .nav-link:not(.dropdown-toggle).active::after {
    display: none !important;
  }
  /* Mobile: parent dropdown-toggle labels in black */
  .navbar-dgj .offcanvas .dropdown-toggle {
    color: var(--charcoal) !important;
  }
  /* Mobile mega menu — collapsed by default with slide animation */
  .navbar-dgj .offcanvas .mega-menu {
    border-top: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
    display: block !important;
  }
  .navbar-dgj .offcanvas .dropdown-mega.open > .mega-menu {
    max-height: 600px;
  }
  .navbar-dgj .offcanvas .mega-menu .container,
  .navbar-dgj .offcanvas .mega-menu .row,
  .navbar-dgj .offcanvas .mega-menu [class*="col-"] {
    padding: 0;
    margin: 0;
    width: 100%;
  }
  .navbar-dgj .offcanvas .mega-heading {
    font-size: .68rem;
    margin-bottom: .5rem;
    margin-top: .5rem;
    padding-bottom: .35rem;
    border-bottom-color: var(--gray-200);
  }
  .navbar-dgj .offcanvas .mega-links a {
    font-size: .85rem;
    padding: .4rem .6rem;
  }
  .product-gallery { position: static; }
}

@media (max-width: 767px) {
  .hero .container { padding-top: 1rem; padding-bottom: 1.5rem; }
  .hero-content h1 { font-size: 1.75rem; }
  .hero-content p { font-size: .95rem; }
  .btn-hero { width: 100%; text-align: center; padding: .9rem 1.5rem; }
  .hero-trust { flex-wrap: wrap; gap: .35rem; }
  .hero-img-strip .hero-img-col { aspect-ratio: 2.5 / 4; }
  .trust-item { flex-direction: column; text-align: center; gap: .3rem; }
  .top-bar .d-none.d-xl-flex { flex-direction: column; gap: .25rem; text-align: center; }
  .shop-controls { flex-direction: column; align-items: stretch; }
  .footer { text-align: left; padding-top: 1rem; }
  .footer-social { justify-content: flex-start; }
  .footer-newsletter .input-group { margin: 0; }
  .step-connector { display: none; }
}

@media (max-width: 575px) {
  .section-padding { padding: 2.5rem 0; }
  .page-header { padding: 3rem 0 2rem; }
}

/* ---------- Accessibility ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--gold);
  color: var(--navy);
  padding: .5rem 1rem;
  z-index: 100000;
  font-weight: 700;
  transition: top .2s ease;
}
.skip-link:focus {
  top: 0;
}

/* Focus visible styles */
*:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Reduce motion for accessibility */
@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;
  }
  .fade-up { opacity: 1; transform: none; }
}

/* ---------- Process Number (Repair/Sizing Steps) ---------- */
.process-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(202,190,132,.3);
}

/* ---------- Letter Spacing Utility ---------- */
.letter-spacing-sm { letter-spacing: 1.5px; }

/* ---------- Text Gray Utility ---------- */
.text-gray-400 { color: var(--gray-500) !important; }
.text-gray-400:hover { color: var(--gold) !important; }

/* Print styles */
@media print {
  .top-bar,
  .navbar-dgj,
  .footer,
  .back-to-top,
  #preloader { display: none !important; }
  body { color: #000; }
  a { text-decoration: underline; }
}

/* ---------- Sign In Modal ---------- */
#signInModal .modal-content { overflow: hidden; }
#signInModal .form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 .2rem rgba(202,190,132,.25);
}
#signInModal .toggle-password {
  background: none;
  border: none;
  padding: 0;
  font-size: .95rem;
}
.signin-divider {
  position: relative;
  margin: 1rem 0;
}
.signin-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gray-200);
}
.signin-divider span {
  position: relative;
  background: #fff;
  padding: 0 1rem;
  color: var(--gray-500);
  font-size: .85rem;
}
.signin-social-btn {
  font-size: .95rem;
  padding: .65rem 1rem;
  border-color: var(--gray-200);
  color: var(--charcoal);
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.signin-social-btn:hover {
  background: var(--gray-100);
  border-color: var(--gray-400);
  color: var(--charcoal);
}
.signin-fb-btn {
  background: #3b5998;
  color: #fff;
  border-color: #3b5998;
}
.signin-fb-btn:hover {
  background: #2d4373;
  border-color: #2d4373;
  color: #fff;
}
.signin-back {
  font-size: 1.1rem;
  text-decoration: none;
  transition: color .2s ease;
}
.signin-back:hover {
  color: var(--navy) !important;
}

/* ---------- Dual Range Slider ---------- */
.range-wrapper { position: relative; width: 100%; margin-top: 10px; margin-bottom: 10px; }
.slider-track { position: relative; width: 100%; height: 4px; border-radius: 4px; background: #CECECE; }
.slider-progress { position: absolute; height: 100%; background: #CABE84; border-radius: 4px; top: 0; }
.range-input { position: absolute; top: 0; left: 0; width: 100%; height: 4px; }
.range-input input { position: absolute; width: 100%; top: 50%; transform: translateY(-50%); height: 0; background: none; pointer-events: none; -webkit-appearance: none; -moz-appearance: none; appearance: none; z-index: 2; margin: 0; padding: 0; }
.range-input input::-webkit-slider-thumb { height: 18px; width: 18px; border-radius: 50%; border: 2px solid #CABE84; background: #CABE84; pointer-events: auto; -webkit-appearance: none; box-shadow: 0 1px 4px rgba(0,0,0,0.15); cursor: pointer; }
.range-input input::-moz-range-thumb { height: 18px; width: 18px; border: 2px solid #CABE84; border-radius: 50%; background: #CABE84; pointer-events: auto; -moz-appearance: none; box-shadow: 0 1px 4px rgba(0,0,0,0.15); cursor: pointer; }
.range-input input:focus { outline: none; }
.range-input input:focus::-webkit-slider-thumb { box-shadow: 0 0 0 0.25rem rgba(202, 190, 132, 0.25); background: #CABE84; border-color: #CABE84; }
.range-input input:focus::-moz-range-thumb { box-shadow: 0 0 0 0.25rem rgba(202, 190, 132, 0.25); background: #CABE84; border-color: #CABE84; }
.range-input input:active::-webkit-slider-thumb { background: #CABE84; border-color: #CABE84; }
.range-input input:active::-moz-range-thumb { background: #CABE84; border-color: #CABE84; }

/* ---------- Testimonial Slider (Scroll Snap) ---------- */
.testimonials-wrapper { position: relative; padding: 0 3.5rem; }
.testimonials-slider { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; gap: 24px; padding-bottom: 10px; scrollbar-width: none; -ms-overflow-style: none; }
.testimonials-slider::-webkit-scrollbar { display: none; }
.testimonial-slide { flex: 0 0 100%; scroll-snap-align: center; }
@media (min-width: 992px) { .testimonial-slide { flex: 0 0 calc(33.333% - 16px); scroll-snap-align: start; } }
.slider-nav-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid var(--gold); color: var(--gold); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s; z-index: 100; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.slider-nav-btn:hover { background: var(--gold); color: #fff; }
.slider-prev { left: 10px; }
.slider-next { right: 10px; }
@media (max-width: 768px) { 
  .testimonials-wrapper { padding: 0 1rem; } 
  .slider-nav-btn { width: 32px; height: 32px; font-size: 0.8rem; } 
  .slider-prev { left: -5px; } 
  .slider-next { right: -5px; }
}

/* ---------- Featured Product Slider ---------- */
.featured-slider .featured-slide { flex: 0 0 100%; scroll-snap-align: center; }
@media (min-width: 768px) { .featured-slider .featured-slide { flex: 0 0 calc(50% - 12px); scroll-snap-align: start; } }
@media (min-width: 992px) { .featured-slider .featured-slide { flex: 0 0 calc(25% - 18px); scroll-snap-align: start; } }

/* ===================================================================
   CART / MY BAG PAGE
   =================================================================== */

/* --- Cart Item Card --- */
.cart-item {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: .75rem;
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: box-shadow .25s ease;
}
.cart-item:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
}

/* Category label ribbon */
.cart-item-badge {
  display: inline-block;
  background: var(--gold-accent);
  color: var(--navy);
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: .25rem .7rem;
  border-radius: 4px;
  margin-bottom: .85rem;
}

/* Thumbnail */
.cart-item-img {
  flex-shrink: 0;
  width: 130px;
  height: 130px;
  border-radius: .5rem;
  overflow: hidden;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.cart-item-img:hover img {
  transform: scale(1.05);
}

/* Price */
.cart-item-price {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
}

/* Discount & expiry badges */
.cart-discount-badge {
  display: inline-flex;
  align-items: center;
  background: #d4edda;
  color: #155724;
  font-size: .78rem;
  font-weight: 600;
  padding: .3rem .65rem;
  border-radius: 4px;
}
.cart-expires-badge {
  display: inline-flex;
  align-items: center;
  background: #fff3cd;
  color: #856404;
  font-size: .78rem;
  font-weight: 600;
  padding: .3rem .65rem;
  border-radius: 4px;
}

/* Ring size select */
.cart-size-select {
  width: 80px;
  font-size: .88rem;
  border-color: var(--gray-300);
  cursor: pointer;
}
.cart-size-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 .2rem rgba(202,190,132,.25);
}

/* Engraving link */
.cart-add-engraving {
  color: var(--gold-dark);
  font-size: .85rem;
  font-weight: 500;
  text-decoration: none;
  transition: color .2s ease;
}
.cart-add-engraving:hover {
  color: var(--navy);
  text-decoration: underline;
}

/* Action links (Change, Remove) */
.cart-action-link {
  font-size: .84rem;
  font-weight: 500;
  color: var(--gray-600);
  text-decoration: none;
  transition: color .2s ease;
}
.cart-action-link:hover {
  color: var(--navy);
}
.cart-remove-link:hover {
  color: #dc3545;
}

/* --- Matching Band Upsell --- */
.cart-upsell {
  background: var(--gray-100);
  border: 1px dashed var(--gray-300);
  border-radius: .5rem;
  padding: 1rem 1.25rem;
  margin-top: 1.25rem;
}
.cart-upsell-img {
  flex-shrink: 0;
  width: 65px;
  height: 65px;
  border-radius: .4rem;
  overflow: hidden;
  background: #fff;
}
.cart-upsell-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cart-upsell-btn {
  white-space: nowrap;
  font-size: .82rem;
}

/* --- Protection Plan --- */
.cart-protection {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: .75rem;
  padding: 1.5rem;
  margin-bottom: 1rem;
}
.cart-plan-features {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: .88rem;
}
.cart-plan-features li {
  margin-bottom: .35rem;
}

/* Plan radio cards */
.cart-plan-option {
  cursor: pointer;
  margin: 0;
}
.cart-plan-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.cart-plan-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: .75rem 1.5rem;
  border: 2px solid var(--gray-200);
  border-radius: .5rem;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
  min-width: 120px;
  text-align: center;
  font-size: .88rem;
}
.cart-plan-option:hover .cart-plan-label {
  border-color: var(--gold-light);
  background: rgba(202,190,132,.04);
}
.cart-plan-option input[type="radio"]:checked + .cart-plan-label {
  border-color: var(--gold);
  background: rgba(202,190,132,.08);
  box-shadow: 0 0 0 3px rgba(202,190,132,.18);
}

/* --- Insurance Appraisal --- */
.cart-appraisal {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: .75rem;
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
  transition: background .2s ease;
}
.cart-appraisal:hover {
  background: var(--gray-100);
}

/* --- Bottom Actions --- */
.cart-bottom-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--gray-200);
  margin-top: .5rem;
}
.cart-bottom-link {
  font-size: .88rem;
  font-weight: 500;
  color: var(--gray-600);
  text-decoration: none;
  transition: color .2s ease;
}
.cart-bottom-link:hover {
  color: var(--gold-dark);
}

/* ===================================================================
   CART SIDEBAR (Right Column)
   =================================================================== */
.cart-sidebar {
  position: sticky;
  top: 100px;
}

/* --- Promo Box --- */
.cart-promo-box {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: .75rem;
  padding: 1.25rem;
  margin-bottom: 1rem;
}
.cart-promo-item {
  padding: .75rem;
  border-radius: .5rem;
  margin-bottom: .65rem;
  background: var(--gray-100);
  transition: background .2s ease;
}
.cart-promo-item:last-of-type {
  margin-bottom: 0;
}
.cart-promo-applied {
  background: #d4edda;
  border: 1px solid #b8dcc6;
}
.cart-promo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold-accent);
  color: var(--navy);
  font-size: .75rem;
  flex-shrink: 0;
}

/* --- Order Summary --- */
.cart-summary {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: .75rem;
  padding: 1.25rem;
  margin-bottom: 1rem;
}
.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .92rem;
  padding: .4rem 0;
}
.cart-summary-total {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  font-family: var(--font-heading);
  padding: .6rem 0 .35rem;
}

/* Or divider */
.cart-divider-or {
  position: relative;
  text-align: center;
  margin: .75rem 0;
}
.cart-divider-or::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gray-200);
}
.cart-divider-or span {
  position: relative;
  background: #fff;
  padding: 0 .75rem;
  color: var(--gray-500);
  font-size: .82rem;
}

/* --- Shipping Info --- */
.cart-shipping-info {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: .75rem;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
}

/* --- Order Includes --- */
.cart-includes {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: .75rem;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
}
.cart-includes-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.cart-includes-list li {
  font-size: .88rem;
  padding: .3rem 0;
}

/* --- Why DGJ --- */
.cart-why-us {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: .75rem;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
}
.cart-why-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.cart-why-list li {
  font-size: .88rem;
  padding: .3rem 0;
}

/* --- Need Help --- */
.cart-help {
  background: var(--gray-100);
  border-radius: .75rem;
  padding: 1rem 1.25rem;
}

/* ===================================================================
   CART RESPONSIVE
   =================================================================== */
@media (max-width: 575.98px) {
  .cart-item-img {
    width: 100px;
    height: 100px;
  }
  .cart-item-price {
    font-size: 1.15rem;
  }
  .cart-upsell {
    text-align: center;
  }
  .cart-upsell .d-flex {
    flex-direction: column;
    align-items: center !important;
  }
  .cart-upsell-img {
    width: 55px;
    height: 55px;
  }
}
@media (max-width: 991.98px) {
  .cart-sidebar {
    position: static;
  }
}

/* ===================================================================
   CHECKOUT PAGE
   =================================================================== */

/* --- Checkout Steps --- */
.checkout-steps-container {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: .75rem;
  overflow: hidden;
}
.checkout-step {
  border-bottom: 1px solid var(--gray-200);
  padding: 1.5rem;
  transition: background .3s ease;
}
.checkout-step:last-child {
  border-bottom: none;
}
.checkout-step.active {
  background: #fff;
}
.checkout-step:not(.active) {
  background: var(--gray-100);
}
.checkout-step-header {
  cursor: default;
}
.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gray-300);
  color: var(--gray-600);
  font-weight: 700;
  font-size: .9rem;
  transition: all .3s ease;
}
.checkout-step.active .step-number {
  background: var(--navy);
  color: #fff;
}
.checkout-step.completed .step-number {
  background: var(--gold);
  color: #fff;
}
.step-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--gray-600);
  transition: color .3s ease;
}
.checkout-step.active .step-title,
.checkout-step.completed .step-title {
  color: var(--navy);
}
.step-edit {
  font-size: .85rem;
  font-weight: 600;
  color: var(--gold-dark);
  text-decoration: none;
}
.step-edit:hover {
  color: var(--navy);
}

/* --- Payment Methods --- */
.payment-method-card {
  display: block;
  border: 1px solid var(--gray-300);
  border-radius: .5rem;
  padding: 1rem 1.25rem;
  cursor: pointer;
  transition: all .2s ease;
  background: #fff;
}
.payment-method-card:hover {
  border-color: var(--gray-400);
}
.payment-method-card:has(input[type="radio"]:checked) {
  border-color: var(--gold);
  background: rgba(202,190,132,.04);
  box-shadow: 0 0 0 1px var(--gold);
}
.cc-details-form {
  display: none;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-200);
}
.payment-method-card:has(input[value="credit-card"]:checked) .cc-details-form {
  display: block;
}

/* --- Form Controls --- */
.form-control-lg {
  font-size: 1rem;
}


