/* ==========================================================================
   Bhola Mobile — Premium Theme
   ========================================================================== */

:root {
  --brand-primary: #e8590c;        /* refined amber-orange - CTA */
  --brand-primary-dark: #c94a06;
  --brand-dark: #0f1424;           /* rich near-black navy */
  --brand-dark-2: #1a2038;
  --brand-gold: #d4af37;           /* premium gold accent */
  --brand-gold-soft: #f4e4b8;
  --brand-accent: #0fae7a;         /* emerald - success/badges */
  --brand-light: #fff5ee;
  --ink: #171923;
  --muted: #6b7280;
  --border: #ececef;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-soft: 0 6px 20px rgba(15, 20, 36, 0.06);
  --shadow-elevated: 0 16px 40px rgba(15, 20, 36, 0.12);
}

* { font-family: 'Poppins', sans-serif; }

html { scroll-behavior: smooth; }

body {
  background: #faf9f7;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

a { transition: color .15s ease; }

.brand-mobile { color: var(--brand-dark); letter-spacing: .2px; }
.brand-bazaar { color: var(--brand-primary); letter-spacing: .2px; }
.navbar-brand { letter-spacing: -.5px; }

/* ---------------- Top strip ---------------- */
.top-strip {
  background: linear-gradient(90deg, var(--brand-dark) 0%, var(--brand-dark-2) 100%);
  color: #f2f2f5;
  font-size: 0.8rem;
  padding: 8px 0;
  letter-spacing: .2px;
}
.top-strip i { color: var(--brand-gold); margin-right: 4px; }

/* ---------------- Navbar ---------------- */
.navbar.sticky-top {
  backdrop-filter: saturate(180%) blur(8px);
  background: rgba(255, 255, 255, 0.96) !important;
  border-bottom: 1px solid var(--border);
}

.search-input {
  border-radius: 10px 0 0 10px;
  border: 1.5px solid var(--border);
  padding: .55rem .9rem;
}
.search-input:focus { border-color: var(--brand-primary); box-shadow: none; }

.btn-brand, .btn-brand:hover, .btn-brand:focus {
  background: var(--brand-primary);
  color: #fff;
  border-radius: 0 10px 10px 0;
  border: none;
  padding: .55rem 1.1rem;
}

.category-bar { gap: 6px; }
.category-bar .nav-link {
  color: #444;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 6px 14px;
  border-radius: 30px;
  transition: all .15s ease;
}
.category-bar .nav-link:hover { background: var(--brand-light); color: var(--brand-primary); }

.cart-badge {
  position: absolute;
  top: -4px;
  right: -12px;
  font-size: 0.65rem;
  box-shadow: 0 0 0 2px #fff;
}

/* ---------------- Hero banner ---------------- */
.hero-banner {
  background: linear-gradient(135deg, var(--brand-dark) 0%, #262d4d 55%, #3a2a1f 100%);
  border-radius: var(--radius-lg);
  color: #fff;
  padding: 60px 44px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-elevated);
}
.hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(212,175,55,.18), transparent 55%);
  pointer-events: none;
}
.hero-banner h1 { font-weight: 700; font-size: 2.6rem; letter-spacing: -.5px; }
.hero-banner p { opacity: .85; font-size: 1.08rem; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(212,175,55,.15); color: var(--brand-gold);
  border: 1px solid rgba(212,175,55,.35);
  padding: 5px 14px; border-radius: 30px; font-size: .78rem; font-weight: 600;
  letter-spacing: .5px; text-transform: uppercase; margin-bottom: 14px;
}

/* ---------------- Category cards ---------------- */
.cat-card {
  border-radius: var(--radius-md);
  text-align: center;
  padding: 22px 10px;
  background: #fff;
  border: 1px solid var(--border);
  transition: all .2s ease;
  text-decoration: none;
  color: #222;
  display: block;
}
.cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-elevated); border-color: var(--brand-primary); }
.cat-card img { width: 56px; height: 56px; object-fit: contain; margin-bottom: 8px; }
.cat-card span { display: block; font-weight: 600; font-size: .88rem; margin-top: 6px; }

/* ---------------- Product card ---------------- */
.product-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  transition: all .25s ease;
  height: 100%;
  position: relative;
}
.product-card:hover { box-shadow: var(--shadow-elevated); transform: translateY(-4px); border-color: #f1d9c8; }
.product-card .img-wrap { background: #f8f7f5; aspect-ratio: 1/1; display:flex; align-items:center; justify-content:center; overflow:hidden; }
.product-card .img-wrap img { width: 100%; height: 100%; object-fit: contain; padding: 12px; transition: transform .3s ease; }
.product-card:hover .img-wrap img { transform: scale(1.05); }
.product-card .body { padding: 14px 16px; }
.product-card .title { font-size: .92rem; font-weight: 500; height: 2.6em; overflow: hidden; color:#222; text-decoration:none; }
.product-card .price { font-weight: 700; color: var(--brand-dark); font-size: 1.08rem; }
.product-card .mrp { text-decoration: line-through; color: #999; font-size: .82rem; margin-left:6px; }
.product-card .off { color: var(--brand-accent); font-size: .8rem; font-weight: 600; margin-left:6px; }

.badge-cod {
  background: var(--brand-light);
  color: var(--brand-primary);
  font-size: .72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 30px;
  display: inline-block;
}
.badge-featured {
  position: absolute; top: 12px; left: 12px;
  background: linear-gradient(120deg, var(--brand-gold), #b9932a);
  color: #1a1400;
  font-size: .68rem; padding: 4px 11px; border-radius: 30px; font-weight: 700; z-index: 2;
  letter-spacing: .3px; box-shadow: 0 3px 10px rgba(212,175,55,.4);
}
.wishlist-btn { position:absolute; top:10px; right:10px; background:#fff; border-radius:50%; width:32px; height:32px; display:flex; align-items:center; justify-content:center; border:1px solid var(--border); z-index:2; }

.section-title { font-weight: 700; font-size: 1.55rem; margin-bottom: 4px; letter-spacing: -.3px; }
.section-sub { color: var(--muted); margin-bottom: 26px; }

/* ---------------- Product detail page ---------------- */
.pd-gallery-main { border: 1px solid var(--border); border-radius: var(--radius-md); aspect-ratio: 1/1; display:flex; align-items:center; justify-content:center; background:#f8f7f5; overflow:hidden; }
.pd-gallery-main img { width:100%; height:100%; object-fit: contain; padding: 24px; }
.pd-thumb { border: 2px solid var(--border); border-radius: 10px; width: 66px; height: 66px; object-fit: contain; background:#f8f7f5; cursor:pointer; padding:4px; transition: all .15s ease; }
.pd-thumb.active { border-color: var(--brand-primary); box-shadow: 0 0 0 2px rgba(232,89,12,.15); }

.qty-box { width: 116px; }

/* ---------------- Footer ---------------- */
.site-footer { background: linear-gradient(180deg, var(--brand-dark) 0%, #090c17 100%); }
.footer-links a { color: #cfd2dd; text-decoration: none; font-size: .9rem; line-height: 2.1; }
.footer-links a:hover { color: var(--brand-gold); }
.footer-payment-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08);
  padding: 8px 12px; border-radius: 10px; margin-bottom: 8px; color: #e5e7eb;
}

/* ---------------- Cart page ---------------- */
.cart-item-img { width: 84px; height: 84px; object-fit: contain; background:#f8f7f5; border-radius:10px; padding:6px; }

/* ---------------- Checkout / order boxes ---------------- */
.order-summary-box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 22px; box-shadow: var(--shadow-soft); }
.payment-option {
  border: 1.5px solid #e2e2e2;
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  cursor: pointer;
  transition: all .15s ease;
}
.payment-option:hover { border-color: #f0c8a8; }
.payment-option.selected { border-color: var(--brand-primary); background: var(--brand-light); box-shadow: 0 0 0 3px rgba(232,89,12,.08); }

/* ---------------- Manual UPI / QR payment ---------------- */
.qr-panel {
  background: linear-gradient(160deg, #ffffff 0%, #fff8f2 100%);
  border: 1px solid #f2ddc9;
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}
.qr-image-wrap {
  width: 240px; height: 240px; margin: 0 auto 16px;
  background: #fff; border: 2px dashed #e6c9a8; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  padding: 12px;
}
.qr-image-wrap img { width: 100%; height: 100%; object-fit: contain; }
.upi-id-pill {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--brand-dark); color: #fff;
  padding: 10px 18px; border-radius: 30px; font-weight: 600; letter-spacing: .3px;
  font-size: .95rem;
}
.upi-id-pill button {
  background: var(--brand-gold); color: #1a1400; border: none;
  border-radius: 20px; padding: 4px 12px; font-size: .78rem; font-weight: 700; cursor: pointer;
}
.qr-steps { text-align: left; max-width: 420px; margin: 18px auto 0; }
.qr-steps li { margin-bottom: 6px; font-size: .92rem; color: var(--muted); }
.badge-pending-verify {
  background: #fff4dd; color: #8a5a00; border: 1px solid #f2d69a;
  font-weight: 600; font-size: .78rem; padding: 5px 12px; border-radius: 30px; display: inline-block;
}

/* ---------------- Buttons ---------------- */
.btn-primary-brand {
  background: linear-gradient(120deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);
  border-color: var(--brand-primary);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(232,89,12,.22);
  transition: all .18s ease;
}
.btn-primary-brand:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(232,89,12,.3); background: var(--brand-primary-dark); border-color: var(--brand-primary-dark); color: #fff; }
.btn-outline-brand { border-color: var(--brand-primary); color: var(--brand-primary); font-weight: 600; }
.btn-outline-brand:hover { background: var(--brand-primary); color: #fff; }

.btn-gold {
  background: linear-gradient(120deg, var(--brand-gold), #b9932a);
  border: none; color: #1a1400; font-weight: 700;
  box-shadow: 0 8px 20px rgba(212,175,55,.25);
}
.btn-gold:hover { color: #1a1400; transform: translateY(-1px); }

/* ---------------- Trust / premium strip ---------------- */
.trust-item { padding: 18px 8px; }
.trust-item i { font-size: 1.8rem; color: var(--brand-primary); }

@media (max-width: 576px) {
  .hero-banner h1 { font-size: 1.7rem; }
  .hero-banner { padding: 34px 22px; }
  .qr-image-wrap { width: 200px; height: 200px; }
}
