/* ============================================================
   Lakhdatar Jewellers — theme
   Plain CSS on top of Bootstrap 5 (CDN). Self-contained.
   ============================================================ */
:root {
  /* Gold + White/Ivory theme.
     "maroon" vars are repurposed as the deep espresso used for headings,
     the top bar, the digital banner and dark accents — so gold leads and
     ivory/white surfaces dominate. */
  --lj-maroon: #34291A;        /* deep espresso — headings & dark accents */
  --lj-maroon-dark: #221A0F;   /* darker espresso — gradients */
  --lj-gold: #C9A24B;
  --lj-gold-light: #E7C873;
  --lj-gold-dark: #A87E2C;
  --lj-cream: #FBF7EF;
  --lj-ink: #2A2118;
  --lj-muted: #6b6258;
}

* { 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: .3rem; padding-bottom: .3rem; }
.lj-nav .navbar-brand { padding-top: 0; padding-bottom: 0; margin-right: 1rem; }
.lj-nav .navbar-brand img { height: 120px !important; width: auto; display: block; }
.lj-footer img { width: auto; max-height: 150px; }
@media (max-width: 576px) {
  .lj-nav .navbar-brand img { height: 56px !important; }
  .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;
}
.lj-topbar a { color: var(--lj-gold-light); }

/* ---- Hero ---- */
.lj-hero {
  background:
    radial-gradient(1100px 460px at 85% -10%, rgba(201,162,75,.20), transparent 60%),
    linear-gradient(160deg, #fff 0%, var(--lj-cream) 100%);
  border-bottom: 1px solid rgba(123,30,59,.06);
}
.lj-hero .eyebrow {
  color: var(--lj-gold-dark); letter-spacing: 4px; font-size: .8rem; font-weight: 600; text-transform: uppercase;
}
.lj-hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.08; color: var(--lj-maroon); }

/* ---- 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, #2c2417, #34291a); color: var(--lj-cream); border-bottom: 1px solid rgba(201,162,75,.25); }
.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: #b7ab97; }
.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:68px; height:68px; border-radius:50%; display:grid; place-items:center; margin:0 auto 22px; background:var(--lj-maroon); color:#fff; font-size:1.75rem; box-shadow:0 12px 28px rgba(123,30,59,.22); }
.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} }
