/* ============================================================
   SHRI BALAJI JEWELLERS — theme
   Plain CSS on top of Bootstrap 5 (CDN). Self-contained.
   ============================================================ */
:root {
  --lj-maroon: #7e1f2a;
  --lj-maroon-dark: #421018;
  --lj-gold: #D0AB57;
  --lj-gold-light: #E8CA81;
  --lj-gold-dark: #B78A2F;
  --lj-cream: #FBF8F1;
  --lj-ink: #20130a;
  --lj-muted: #6c5b44;
}

* { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', system-ui, Arial, sans-serif;
  color: var(--lj-ink);
  background: #fff;
}
h1, h2, h3, h4, .lj-serif {
  font-family: 'Playfair Display', Georgia, serif;
}
a { text-decoration: none; }
.text-gold { color: var(--lj-gold-dark) !important; }
.text-maroon { color: var(--lj-maroon) !important; }
.bg-cream { background: var(--lj-cream) !important; }
.bg-maroon { background: var(--lj-maroon) !important; }
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }

/* ---- Buttons ---- */
.lj-btn-gold {
  background: linear-gradient(135deg, var(--lj-gold-light), var(--lj-gold-dark));
  color: #3a2a10; font-weight: 600; border: none;
  border-radius: 999px; padding: .55rem 1.4rem;
  box-shadow: 0 6px 18px rgba(201,162,75,.35);
}
.lj-btn-gold:hover { color: #2a1e0a; filter: brightness(1.05); }
.lj-btn-outline {
  border: 1.5px solid var(--lj-gold-dark); color: var(--lj-gold-dark);
  background: transparent; font-weight: 600; border-radius: 999px; padding: .5rem 1.3rem;
}
.lj-btn-outline:hover { background: var(--lj-gold-dark); color: #fff; }

/* ---- Navbar ---- */
.lj-nav {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(123,30,59,.08);
}
/* Keep the header a normal height regardless of the logo's inline size —
   the logo fills the bar, no oversized gap. */
.lj-nav { padding-top: .2rem; padding-bottom: .2rem; }
.lj-nav .container { min-height: 94px; display: flex; align-items: center; }
.lj-nav .navbar-brand { padding: 0; margin-right: 1.25rem; display: flex; align-items: center; overflow: visible; }
/* The supplied logo is square. A slightly wider presentation gives the
   header more visual weight without making the navbar unnecessarily tall. */
.lj-nav .navbar-brand img {
  width: 118px !important;
  height: 88px !important;
  max-width: none;
  display: block;
  object-fit: fill;
  border-radius: 12px;
}
.lj-footer img { width: auto; max-height: 100px; object-fit: contain; }
.lj-nav .navbar-collapse { align-items: center; }
.lj-nav .navbar-nav { align-items: center; }
.lj-nav .nav-link { line-height: 1.2; }
@media (max-width: 991.98px) {
  .lj-nav .container { min-height: 76px; }
  .lj-nav .navbar-brand img { width: 92px !important; height: 68px !important; }
  .lj-nav .navbar-collapse { padding: .75rem 0 1rem; }
  .lj-nav .navbar-nav { align-items: flex-start; }
}
@media (max-width: 576px) {
  .lj-nav .container { min-height: 68px; }
  .lj-nav .navbar-brand img { width: 82px !important; height: 62px !important; border-radius: 10px; }
  .lj-footer img { height: 96px !important; }
}
.lj-nav .bi-bag { font-size: 1.9rem !important; line-height: 1; }
.lj-nav .navbar-toggler-icon { width: 1.6em; height: 1.6em; }
.lj-nav .nav-link { color: var(--lj-ink); font-weight: 500; padding: .5rem .9rem; }
.lj-nav .nav-link:hover, .lj-nav .nav-link.active { color: var(--lj-gold-dark); }
.lj-topbar {
  background: var(--lj-maroon); color: var(--lj-cream);
  font-size: .82rem; letter-spacing: .3px;
  min-height: 32px;
  display: flex;
  align-items: center;
  line-height: 1.25;
}
.lj-topbar.py-1 { padding-top: .35rem !important; padding-bottom: .35rem !important; }
.lj-topbar .container { min-height: 22px; align-items: center !important; }
.lj-topbar .container > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: .28rem;
  white-space: nowrap;
}
.lj-topbar .container > span:first-child i { line-height: 1; margin-right: 0 !important; }
.lj-topbar .lj-placeholder {
  background: transparent;
  color: var(--lj-gold-light);
  padding: 0;
  line-height: 1.2;
}
.lj-topbar a { color: var(--lj-gold-light); }
@media (max-width: 576px) {
  .lj-topbar { font-size: .78rem; min-height: 30px; }
}

/* ---- Hero ---- */
/* Background position adjusted so the people in the hero image are fully visible. */
.lj-hero {
  border-bottom: 1px solid rgba(20,52,94,.12);
}
.lj-hero-cover {
  position: relative;
  min-height: 690px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background-image: url('../img/hero-balaji.jpg');
  background-size: cover;
  background-position: 58% center;
  background-repeat: no-repeat;
}
.lj-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg,
      rgba(12, 8, 5, .96) 0%,
      rgba(25, 14, 7, .90) 30%,
      rgba(55, 29, 13, .66) 49%,
      rgba(85, 43, 18, .25) 65%,
      rgba(85, 43, 18, .06) 82%,
      rgba(85, 43, 18, 0) 100%),
    linear-gradient(180deg, rgba(19, 10, 4, .08), rgba(19, 10, 4, .20));
}
.lj-hero-content {
  width: 100%;
  position: relative;
  z-index: 1;
  padding-top: 110px;
  padding-bottom: 110px;
}
.lj-hero .eyebrow {
  color: var(--lj-gold-light);
  letter-spacing: 4px;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  text-shadow: 0 2px 14px rgba(0,0,0,.28);
}
.lj-hero h1 {
  max-width: 720px;
  font-size: clamp(2.7rem, 5.3vw, 4.6rem);
  line-height: 1.04;
  color: #fff;
  text-shadow: 0 4px 24px rgba(0,0,0,.32);
}
.lj-hero-copy {
  max-width: 660px;
  color: rgba(255,255,255,.88);
  line-height: 1.7;
  text-shadow: 0 2px 16px rgba(0,0,0,.2);
}
.lj-hero-outline {
  border: 1.5px solid rgba(255,255,255,.88);
  color: #fff;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(5px);
  font-weight: 600;
  border-radius: 999px;
  padding: .5rem 1.3rem;
}
.lj-hero-outline:hover {
  background: #fff;
  color: var(--lj-maroon);
  border-color: #fff;
}
.lj-hero-trust {
  color: rgba(255,255,255,.86);
}
.lj-hero-trust i {
  color: var(--lj-gold-light);
}

@media (max-width: 1199.98px) {
  .lj-hero-cover {
    min-height: 640px;
    background-position: 60% center;
  }
  .lj-hero-overlay {
    background: linear-gradient(90deg,
      rgba(12,8,5,.97) 0%,
      rgba(25,14,7,.91) 37%,
      rgba(55,29,13,.56) 60%,
      rgba(85,43,18,.12) 82%,
      rgba(85,43,18,0) 100%);
  }
}

@media (max-width: 991.98px) {
  .lj-hero-cover {
    min-height: 610px;
    background-position: 66% center;
  }
  .lj-hero-content {
    padding-top: 82px;
    padding-bottom: 82px;
  }
  .lj-hero-overlay {
    background: linear-gradient(90deg,
      rgba(12,8,5,.96) 0%,
      rgba(25,14,7,.90) 48%,
      rgba(55,29,13,.58) 72%,
      rgba(85,43,18,.26) 100%);
  }
  .lj-hero h1 { max-width: 610px; }
  .lj-hero-copy { max-width: 590px; }
}

@media (max-width: 767.98px) {
  .lj-hero-cover {
    min-height: 600px;
    background-position: 71% center;
  }
  .lj-hero-content {
    padding-top: 72px;
    padding-bottom: 72px;
  }
  .lj-hero-overlay {
    background: linear-gradient(90deg,
      rgba(12,8,5,.97) 0%,
      rgba(25,14,7,.92) 55%,
      rgba(55,29,13,.72) 100%);
  }
  .lj-hero h1 {
    font-size: clamp(2.35rem, 10vw, 3.55rem);
  }
  .lj-hero-copy {
    font-size: 1rem !important;
    max-width: 94%;
  }
  .lj-hero-trust {
    gap: .85rem 1.15rem !important;
  }
}

@media (max-width: 575.98px) {
  .lj-hero-cover {
    min-height: 590px;
    background-position: 69% center;
  }
  .lj-hero-content {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .lj-hero .eyebrow {
    letter-spacing: 2.8px;
    font-size: .72rem;
  }
  .lj-hero h1 {
    font-size: clamp(2.15rem, 11.3vw, 3rem);
  }
  .lj-hero-actions .btn {
    width: 100%;
  }
  .lj-hero-trust {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: .55rem !important;
  }
}

/* ---- Product cards ---- */
.lj-card {
  border: 1px solid rgba(123,30,59,.08);
  border-radius: 16px; overflow: hidden; background: #fff;
  transition: transform .18s ease, box-shadow .18s ease;
  height: 100%;
}
.lj-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(36,26,29,.12); }
.lj-media {
  aspect-ratio: 1/1; display: grid; place-items: center; position: relative;
  background: linear-gradient(135deg, #fdf6e6, #f2e6cf 60%, #efe1c4);
  color: var(--lj-gold-dark);
}
.lj-media .bi { font-size: 3.6rem; opacity: .55; }
.lj-media .lj-tag {
  position: absolute; top: 10px; left: 10px;
  background: var(--lj-maroon); color: #fff; font-size: .68rem; font-weight: 600;
  padding: .2rem .6rem; border-radius: 999px; letter-spacing: .4px;
}
.lj-price { color: var(--lj-maroon); font-weight: 700; }
.lj-price-old { color: var(--lj-muted); text-decoration: line-through; font-size: .85rem; }
.lj-chip {
  display: inline-block; font-size: .72rem; color: var(--lj-gold-dark);
  background: rgba(201,162,75,.14); border-radius: 999px; padding: .12rem .55rem; margin-right: .3rem;
}

/* ---- Digital gold banner ---- */
.lj-digital {
  background: linear-gradient(135deg, var(--lj-maroon), var(--lj-maroon-dark));
  color: var(--lj-cream); border-radius: 22px;
  position: relative; overflow: hidden;
}
.lj-digital::after {
  content:""; position:absolute; right:-60px; top:-60px; width:240px; height:240px;
  background: radial-gradient(circle, rgba(201,162,75,.4), transparent 70%);
}
.lj-digital .price-live {
  font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--lj-gold-light);
}
.lj-digital .dg-amount-label {
  font-weight: 800 !important;
  opacity: 1 !important;
  filter: brightness(1.12);
  text-shadow: 0 1px 2px rgba(49, 37, 21, 0.48);
}

/* ---- Feature / trust ---- */
.lj-feature {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.lj-feature > div {
  margin-left: auto !important;
  margin-right: auto !important;
}
.lj-feature h6,
.lj-feature h5,
.lj-feature small,
.lj-feature p {
  width: 100%;
  text-align: center;
}
.lj-feature .bi {
  font-size: 1.6rem; color: var(--lj-gold-dark);
  background: rgba(201,162,75,.14); width: 54px; height: 54px;
  border-radius: 14px; display: grid; place-items: center; margin-bottom: .75rem;
}

/* ---- Footer ---- */
.lj-footer { background: #1c1416; color: #d9cfd2; padding: 56px 0 26px; }
.lj-footer h6 { color: #fff; letter-spacing: .5px; text-transform: uppercase; font-size: .82rem; }
.lj-footer a { color: #cbbfc3; }
.lj-footer a:hover { color: var(--lj-gold-light); }
.lj-footer .muted { color: #8f8388; font-size: .85rem; }
.lj-footer hr { border-color: rgba(255,255,255,.12); }
.lj-placeholder {
  background: rgba(201,162,75,.16); color: var(--lj-gold-light);
  border-radius: 4px; padding: 0 .25rem;
}

/* ---- Policy / content pages ---- */
.lj-doc { max-width: 900px; }
.lj-doc h2 { color: var(--lj-maroon); margin-top: 2rem; font-size: 1.4rem; }
.lj-doc h3 { color: var(--lj-gold-dark); margin-top: 1.4rem; font-size: 1.1rem; font-family:'Poppins',sans-serif; font-weight:600; }
.lj-doc p, .lj-doc li { color: #3f3539; line-height: 1.75; }
.lj-page-head { background: var(--lj-cream); border-bottom: 1px solid rgba(123,30,59,.08); }
.lj-page-head h1 { color: var(--lj-maroon); }

/* ---- Cart badge ---- */
/* Cart button + count badge */
.lj-nav .btn.position-relative { padding: .25rem .4rem; line-height: 1; }
#cartCount {
  position: absolute !important;
  top: 2px !important; left: auto !important; right: 0 !important;
  transform: none !important;
  font-size: .66rem; min-width: 18px; height: 18px; line-height: 18px;
  padding: 0 4px; font-weight: 700;
  background: var(--lj-gold-dark); color: #fff;
  box-shadow: 0 0 0 2px #fff;
}

/* Product image fills the tile (covers the fallback gem icon when it loads) */
.lj-media-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.lj-media .lj-tag { z-index: 2; }

/* Live rates bar (injected under the navbar) */
.lj-rates { background: linear-gradient(90deg, var(--lj-maroon), var(--lj-maroon-dark)); color: var(--lj-cream); border-bottom: 1px solid rgba(232,202,129,.28); }
.lj-rates .lj-rates-track { display: flex; align-items: center; gap: 1.35rem; padding: .5rem 0; font-size: .82rem; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.lj-rates .lj-rates-track::-webkit-scrollbar { display: none; }
.lj-rates .lj-rates-label { color: var(--lj-gold-light); font-weight: 700; letter-spacing: .3px; }
.lj-rates b { color: #fff; font-weight: 700; margin: 0 1px; }
.lj-rates small { color: #d9e2ef; }
.lj-rates .lj-rates-asof { margin-left: auto; color: var(--lj-gold-light); font-weight: 600; padding-left: 1rem; }

/* ---- Misc ---- */
.lj-note {
  border-left: 4px solid var(--lj-gold); background: var(--lj-cream);
  padding: .85rem 1rem; border-radius: 6px; font-size: .9rem;
}
.lj-map {
  width:100%; aspect-ratio: 16/9; border-radius: 14px; border:0;
  background: repeating-linear-gradient(45deg,#efe6d4,#efe6d4 12px,#f6efe0 12px,#f6efe0 24px);
  display:grid; place-items:center; color: var(--lj-gold-dark);
}


/* ---- Sign in ---- */
.lj-signin-nav { border:1px solid var(--lj-gold-dark); color:var(--lj-maroon); border-radius:999px; padding:.45rem 1rem; font-weight:600; }
.lj-signin-nav:hover { background:var(--lj-maroon); color:#fff; border-color:var(--lj-maroon); }
.lj-signin-page { min-height:100vh; background:#f7f1e6; }
.lj-signin-header { position:relative; z-index:2; }
.lj-signin-main { min-height:calc(100vh - 112px); display:grid; place-items:center; padding:48px 20px; background:radial-gradient(circle at 50% 35%, rgba(201,162,75,.20), transparent 28%), linear-gradient(135deg,#f8f1e5 0%,#f4ead7 55%,#fbf7ef 100%); }
.lj-signin-card { width:min(100%,485px); background:rgba(255,255,255,.72); border:1.5px solid var(--lj-gold); border-radius:36px; padding:46px 48px 38px; box-shadow:0 28px 65px rgba(58,38,19,.14); text-align:center; backdrop-filter:blur(10px); }
.lj-signin-icon { width:108px; height:88px; border-radius:18px; display:grid; place-items:center; margin:0 auto 22px; background:transparent; color:#fff; box-shadow:none; overflow:hidden; }
.lj-signin-card h1 { font-family:'Playfair Display',serif; color:#20181a; font-size:2.25rem; font-weight:700; margin-bottom:12px; }
.lj-signin-card h1 span { color:var(--lj-gold-dark); }
.lj-signin-subtitle { color:#7d7276; font-size:1.05rem; margin:0 auto 34px; }
.lj-signin-card form { text-align:left; }
.lj-phone-field { height:68px; display:flex; align-items:center; gap:9px; padding:0 20px; border:1px solid #dfd3bd; border-radius:16px; background:#fff; transition:.2s ease; }
.lj-phone-field:focus-within { border-color:var(--lj-gold-dark); box-shadow:0 0 0 3px rgba(201,162,75,.12); }
.lj-phone-field i { color:var(--lj-gold-dark); font-size:1.2rem; }
.lj-phone-field span { color:var(--lj-maroon); font-weight:600; }
.lj-phone-field input { min-width:0; flex:1; border:0; outline:0; background:transparent; font-size:1.05rem; color:#342a2d; }
.lj-phone-field input::placeholder { color:#aaa0a3; }
.lj-signin-submit { height:62px; border:0; border-radius:999px; background:linear-gradient(90deg,var(--lj-maroon),#5c2637); color:#fff; font-weight:600; font-size:1.05rem; box-shadow:0 14px 26px rgba(123,30,59,.18); }
.lj-signin-submit:hover { color:#fff; transform:translateY(-1px); filter:brightness(1.05); }
.lj-signin-terms { color:#82777b; font-size:.82rem; margin:34px 0 0; }
.lj-signin-terms a { color:var(--lj-maroon); font-weight:600; }
@media (max-width:576px) { .lj-signin-main{padding:28px 14px}.lj-signin-card{padding:36px 24px 30px;border-radius:28px}.lj-signin-card h1{font-size:1.9rem}.lj-signin-header .navbar-brand img{max-width:180px;height:auto}.lj-signin-nav{padding:.4rem .75rem;font-size:.85rem}.lj-signin-icon{width:96px;height:78px;border-radius:16px;} }

.lj-signin-icon img{width:100%;height:100%;object-fit:contain;border-radius:18px;display:block;filter:drop-shadow(0 10px 22px rgba(22,34,60,.14));}

/* ---- Digital savings form readability ---- */
.lj-digital .bg-white {
  color: var(--lj-ink);
}
.lj-digital .bg-white .form-label,
.lj-digital .bg-white .dg-amount-label {
  color: #243650 !important;
  opacity: 1 !important;
  filter: none !important;
  text-shadow: none !important;
  font-weight: 700 !important;
}
.lj-digital .bg-white .form-select,
.lj-digital .bg-white .form-control {
  color: #17263d;
  background-color: #fff;
}
.lj-digital .bg-white .text-muted {
  color: #5d6777 !important;
}
@media (max-width: 576px) {
  .lj-digital .bg-white .form-label,
  .lj-digital .bg-white .dg-amount-label {
    font-size: .86rem !important;
  }
}

.lj-nav .navbar-brand img, .lj-footer img { object-fit: contain; background:#050403; }
.lj-media-img { background:#fff4dc; }

.lj-highlight {
  display: inline-block;
  padding: 0 .35rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, .12);
  color: var(--lj-gold-light);
}
.lj-digital {
  border-radius: 24px;
}
.lj-digital h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}
