/* ============================================================
   BHAVYA DIVINE — Design System v2.0 "Clean Commerce"
   White canvas · Maroon ink · Gold accents · Fraunces + Inter
   ============================================================ */

:root {
  /* Brand */
  --bd-maroon:     #5E1616;
  --bd-maroon-lt:  #7A2323;
  --bd-maroon-dk:  #3F0D0D;
  --bd-gold:       #B98A2E;
  --bd-gold-lt:    #E8B84B;
  --bd-gold-dk:    #96701F;
  --bd-star:       #E9A83A;

  /* Canvas */
  --bd-bg:         #FFFFFF;
  --bd-cream:      #F8F3EA;
  --bd-cream-dk:   #EFE6D6;
  --bd-dark:       #1C1410;
  --bd-text:       #241812;
  --bd-muted:      #6E645A;
  --bd-border:     #EAE3D8;
  --bd-gray:       #F7F5F2;

  /* Semantic */
  --bd-green:      #1B7A3D;
  --bd-sale:       #C0392B;
  --bd-saffron:    #E25822;

  /* Shape */
  --bd-radius:     12px;
  --bd-radius-sm:  8px;
  --bd-shadow:     0 6px 24px rgba(36, 24, 18, .08);
  --bd-shadow-sm:  0 2px 8px rgba(36, 24, 18, .06);

  /* Type */
  --bd-serif:      'Fraunces', 'Georgia', serif;
  --bd-sans:       'Inter', -apple-system, 'Segoe UI', sans-serif;

  --header-h:      56px;
  --bottom-nav-h:  62px;
  --transition:    .18s ease;
}

/* ── GLOBAL RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--bd-sans);
  color: var(--bd-text);
  background: var(--bd-bg);
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* Shared max-width shell for full-bleed sections */
.bd-wrap { max-width: 1220px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }

/* Inline SVG icon sizing */
.bd-icon { width: 20px; height: 20px; flex-shrink: 0; display: inline-block; vertical-align: -4px; }
.bd-icon--sm { width: 16px; height: 16px; }
.bd-icon--lg { width: 26px; height: 26px; }

/* ── ACCESSIBILITY: Skip link ── */
.bd-skip-link {
  position: absolute; top: -100px; left: 8px; z-index: 9999;
  background: var(--bd-maroon); color: #fff;
  padding: 10px 20px; border-radius: 0 0 6px 6px;
  font-size: 14px; font-weight: 600;
  transition: top .2s ease;
}
.bd-skip-link:focus { top: 0; }

/* ── ACCESSIBILITY: Screen reader only ── */
.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;
}

/* ── ACCESSIBILITY: Focus visible ── */
:focus-visible {
  outline: 3px solid var(--bd-gold) !important;
  outline-offset: 3px !important;
}
a:focus-visible, button:focus-visible, [tabindex]:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--bd-gold) !important;
  outline-offset: 3px !important;
  border-radius: 3px;
}

/* ── BODY PADDING (above bottom nav on mobile) ── */
body.bd-page-active { padding-bottom: calc(var(--bottom-nav-h) + 8px); }

/* ── ASTRA HEADER TWEAKS ── */
.ast-primary-header-bar { min-height: var(--header-h) !important; }
.ast-header-html-logo img { max-height: 40px !important; }
.custom-mobile-nav-toggle { display: none; }

/* ── INNER PAGES: compact app header on mobile, full site header on desktop ── */
@media (max-width: 959px) {
  body.bd-inner-page .ast-primary-header-bar,
  body.bd-inner-page #ast-desktop-header,
  body.bd-inner-page #ast-mobile-header,
  body.bd-inner-page .ast-above-header-bar,
  body.bd-inner-page .ast-below-header-bar,
  body.bd-inner-page .site-header > *:not(.bd-ticker) {
    display: none !important;
  }
  body.bd-inner-page .site-header {
    height: 0 !important; min-height: 0 !important;
    border: none !important; padding: 0 !important; margin: 0 !important;
  }
  body.bd-inner-page.admin-bar .bd-header { top: 32px; }
}
@media (min-width: 960px) {
  /* Desktop: Astra's full header (logo + nav) shows; hide the compact bar */
  body.bd-inner-page .bd-header { display: none !important; }
  /* Filter bar flows with the page on desktop — sticky is mobile-only */
  .bd-filter-bar { position: static; }
  .bd-gallery { top: 16px; }
}

/* ── Reset Astra flex container to block on our template pages ── */
body.bd-inner-page .ast-container,
body.bd-inner-page #content,
body.bd-inner-page #primary,
body.bd-inner-page .content-area,
body.bd-inner-page #main,
body.bd-inner-page .site-main,
body.home .ast-container,
body.home #content,
body.home .site-content {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-top: 0 !important;
  float: none !important;
}
body.home .bd-page-wrap,
body.home .bd-hero,
body.home .bd-ticker,
body.home .bd-section {
  width: 100% !important; max-width: 100% !important;
  box-sizing: border-box !important;
}

/* ════════════════════════════════════════
   ANNOUNCEMENT MARQUEE (thin, top-of-page)
   ════════════════════════════════════════ */
.bd-ticker {
  background: var(--bd-maroon-dk);
  color: #F2E4C9;
  overflow: hidden;
  padding: 8px 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .3px;
}
.bd-ticker__inner {
  display: flex; gap: 0; white-space: nowrap; width: max-content;
  animation: bdTickerScroll 28s linear infinite;
}
.bd-ticker__inner span { padding: 0 26px; position: relative; }
.bd-ticker__inner span::before {
  content: '✦'; margin-right: 20px;
  color: var(--bd-gold-lt); font-size: 9px; vertical-align: 1px;
}
@keyframes bdTickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .bd-ticker__inner { animation: none; }
}

/* ════════════════════════════════════════
   CUSTOM HEADER (inner pages) — white, sticky
   ════════════════════════════════════════ */
.bd-header {
  position: sticky; top: 0; z-index: 200;
  display: flex; align-items: center; gap: 10px;
  padding: 0 16px;
  height: var(--header-h);
  background: #fff;
  border-bottom: 1px solid var(--bd-border);
}
.bd-header__back {
  color: var(--bd-text); font-size: 20px; padding: 8px; margin-left: -8px;
  display: flex; align-items: center;
}
.bd-header__title {
  flex: 1; color: var(--bd-text); font-family: var(--bd-serif);
  font-size: 16px; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.bd-header__actions { display: flex; align-items: center; gap: 2px; }
.bd-header__icon {
  position: relative; color: var(--bd-text); font-size: 19px;
  padding: 9px; display: flex; align-items: center;
  min-width: 42px; min-height: 42px; justify-content: center;
}
.bd-header__icon svg { width: 21px; height: 21px; }
.bd-header__icon .bd-cart-count {
  position: absolute; top: 3px; right: 1px;
  background: var(--bd-maroon); color: #fff;
  font-size: 10px; font-weight: 700;
  min-width: 16px; height: 16px; border-radius: 8px; padding: 0 4px;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}
.bd-header__icon .bd-cart-count:empty { display: none; }

/* ════════════════════════════════════════
   BOTTOM NAVIGATION (mobile)
   ════════════════════════════════════════ */
.bd-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 300;
  display: flex; align-items: stretch;
  height: var(--bottom-nav-h);
  background: #fff;
  border-top: 1px solid var(--bd-border);
  box-shadow: 0 -2px 12px rgba(36,24,18,.06);
}
.bd-bottom-nav__item {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 3px; padding: 6px 2px;
  color: var(--bd-muted); font-size: 10.5px; font-weight: 500;
  transition: color var(--transition);
  -webkit-tap-highlight-color: transparent;
}
.bd-bottom-nav__item.active,
.bd-bottom-nav__item:hover { color: var(--bd-maroon); }
.bd-bottom-nav__icon { line-height: 1; position: relative; display: flex; }
.bd-bottom-nav__icon svg { width: 22px; height: 22px; }
.bd-bottom-nav__badge {
  position: absolute; top: -5px; right: -8px;
  background: var(--bd-maroon); color: #fff;
  font-size: 9px; font-weight: 700;
  min-width: 15px; height: 15px; border-radius: 8px; padding: 0 3px;
  display: flex; align-items: center; justify-content: center;
}

/* ════════════════════════════════════════
   SECTIONS
   ════════════════════════════════════════ */
.bd-section { padding: 28px 0; }
.bd-section--gray  { background: var(--bd-gray); }
.bd-section--cream { background: var(--bd-cream); }
.bd-section--maroon{ background: var(--bd-maroon); }

.bd-section__header {
  text-align: center;
  padding: 0 16px; margin-bottom: 20px;
  max-width: 1220px; margin-left: auto; margin-right: auto;
}
.bd-section__title {
  font-family: var(--bd-serif); font-size: 26px; font-weight: 600;
  color: var(--bd-text); letter-spacing: -.2px;
}
.bd-section__title--light { color: #fff; }
.bd-section__link {
  display: inline-block; margin-top: 6px;
  font-size: 13px; color: var(--bd-maroon); font-weight: 600;
  white-space: nowrap; border-bottom: 1px solid rgba(94,22,22,.35);
  transition: border-color var(--transition);
}
.bd-section__link:hover { border-color: var(--bd-maroon); }
.bd-section__header .bd-section__link { margin-left: 12px; }

/* ════════════════════════════════════════
   HERO — full-width image banner
   ════════════════════════════════════════ */
.bd-hero-banner {
  width: 100%;
  background: var(--bd-cream);
  border-bottom: 1px solid var(--bd-border);
  line-height: 0; /* kill inline-img gap */
}
.bd-hero-banner a { display: block; width: 100%; }
.bd-hero-banner img {
  display: block; width: 100%; height: auto;
  transition: opacity var(--transition);
}
.bd-hero-banner a:hover img { opacity: .96; }
/* Mobile: taller crop anchored left so the title + CTA stay visible */
@media (max-width: 639px) {
  .bd-hero-banner img {
    height: 220px;
    object-fit: cover;
    object-position: left center;
  }
}

/* ════════════════════════════════════════
   HERO — editorial split (fallback)
   ════════════════════════════════════════ */
.bd-hero {
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(185,138,46,.12), transparent 60%),
    var(--bd-cream);
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--bd-border);
}
.bd-hero__inner {
  max-width: 1220px; margin: 0 auto;
  padding: 36px 20px 40px;
  display: flex; flex-direction: column; gap: 28px;
  position: relative; z-index: 1;
}
.bd-hero__om {
  position: absolute; right: -30px; top: -40px;
  font-size: 240px; line-height: 1;
  color: rgba(185,138,46,.07);
  font-family: var(--bd-serif);
  pointer-events: none; user-select: none;
  z-index: 0;
}
.bd-hero__copy { max-width: 560px; }

/* Campaign banner typography (reference: astrotalk sale banner) */
.bd-hero__script {
  font-family: var(--bd-serif);
  font-style: italic; font-weight: 500;
  font-size: 30px; line-height: 1;
  color: var(--bd-gold-dk);
  margin-bottom: 2px;
  letter-spacing: .5px;
}
.bd-hero__title {
  font-family: var(--bd-serif);
  font-size: 52px; font-weight: 700; line-height: 1.02;
  color: var(--bd-maroon) !important;
  letter-spacing: -1px;
  margin-bottom: 18px;
}
.bd-hero__title em {
  font-style: italic; font-weight: 500;
  color: var(--bd-text) !important;
}
.bd-hero__deal {
  display: inline-block;
  background: var(--bd-maroon); color: #fff;
  font-size: 17px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 10px 22px; border-radius: 8px;
  margin-bottom: 14px;
  box-shadow: 0 6px 20px rgba(94,22,22,.25);
}
.bd-hero__free {
  font-size: 16px; color: var(--bd-text); margin-bottom: 22px; font-weight: 500;
}
.bd-hero__free strong {
  color: var(--bd-gold-dk); font-weight: 800;
  background: linear-gradient(transparent 62%, rgba(232,184,75,.45) 62%);
  padding: 0 2px;
}
.bd-hero__points {
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  font-size: 13px; color: var(--bd-muted); font-weight: 500;
  margin-top: 22px;
}
.bd-hero__points span { display: inline-flex; align-items: center; gap: 7px; }
.bd-hero__points svg { width: 15px; height: 15px; color: var(--bd-green); }
.bd-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.bd-btn--hero { padding: 14px 34px; font-size: 15px; min-height: 50px; }

.bd-hero__media { position: relative; align-self: center; width: 100%; max-width: 420px; }
.bd-hero__media img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--bd-shadow);
  border: 1px solid var(--bd-border);
  background: #fff;
}
.bd-hero__chip {
  position: absolute; left: 14px; bottom: 14px;
  background: #fff; border: 1px solid var(--bd-border);
  border-radius: 10px; padding: 8px 14px;
  font-size: 12.5px; font-weight: 600; color: var(--bd-text);
  box-shadow: var(--bd-shadow-sm);
  display: flex; align-items: center; gap: 6px;
}
.bd-hero__chip strong { color: var(--bd-star); font-size: 14px; }

/* ════════════════════════════════════════
   BUTTONS
   ════════════════════════════════════════ */
.bd-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 12px 24px; border-radius: 9px;
  font-size: 13.5px; font-weight: 600; font-family: var(--bd-sans);
  letter-spacing: .2px; transition: all var(--transition);
  min-height: 46px;
  border: 1.5px solid transparent;
}
.bd-btn--primary {
  background: var(--bd-maroon); color: #fff;
}
.bd-btn--primary:hover { background: var(--bd-maroon-dk); color: #fff; }
.bd-btn--outline {
  background: transparent;
  border-color: rgba(94,22,22,.35);
  color: var(--bd-maroon);
}
.bd-btn--outline:hover { border-color: var(--bd-maroon); background: rgba(94,22,22,.04); }
.bd-btn--gold {
  background: var(--bd-gold); color: #fff;
  font-weight: 700;
}
.bd-btn--gold:hover { background: var(--bd-gold-dk); }
.bd-btn--full { width: 100%; }

/* Card "Add to Cart" button — solid dark bar (reference style) */
.bd-btn--cart {
  background: var(--bd-dark); color: #fff;
  border: none;
  font-size: 11.5px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase;
  padding: 10px 6px; border-radius: 7px;
  width: 100%; margin-top: 8px; min-height: 40px;
  white-space: nowrap;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  transition: background var(--transition);
}
.bd-btn--cart:hover  { background: var(--bd-maroon); color: #fff; }
.bd-btn--cart:active { transform: scale(.97); }

/* ════════════════════════════════════════
   CATEGORY CHIPS — circular photos
   ════════════════════════════════════════ */
.bd-cats {
  display: flex; gap: 18px;
  padding: 4px 16px 8px;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  max-width: 1220px; margin: 0 auto;
}
.bd-cats::-webkit-scrollbar { display: none; }
.bd-cat-card {
  flex-shrink: 0;
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  width: 84px;
  background: none; border: none; padding: 0;
  transition: transform var(--transition);
}
.bd-cat-card:hover { transform: translateY(-2px); }
.bd-cat-card__img {
  width: 76px; height: 76px; border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--bd-border);
  background: var(--bd-cream);
  transition: border-color var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.bd-cat-card:hover .bd-cat-card__img { border-color: var(--bd-gold); }
.bd-cat-card__img img { width: 100%; height: 100%; object-fit: cover; }
.bd-cat-card__icon { font-size: 26px; line-height: 1; }
.bd-cat-card__name {
  font-size: 11.5px; font-weight: 600; text-align: center;
  color: var(--bd-text); line-height: 1.3;
}

/* ════════════════════════════════════════
   PRODUCT CARDS
   ════════════════════════════════════════ */
.bd-products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px; padding: 0 16px;
  width: 100%;
  max-width: 1220px; margin: 0 auto;
}
.bd-products-scroll {
  display: flex; gap: 12px;
  padding: 4px 16px 8px;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  max-width: 1220px; margin: 0 auto;
}
.bd-products-scroll::-webkit-scrollbar { display: none; }

.bd-product-card {
  background: #fff;
  border-radius: var(--bd-radius);
  border: 1px solid var(--bd-border);
  overflow: hidden;
  transition: box-shadow var(--transition), border-color var(--transition);
  display: flex; flex-direction: column;
  position: relative;
}
.bd-product-card:active { transform: scale(.99); }
.bd-product-card:hover  { box-shadow: var(--bd-shadow); border-color: #DCD2C2; }

.bd-product-card--scroll { flex-shrink: 0; width: 168px; }

.bd-product-card__img {
  position: relative; aspect-ratio: 1/1; overflow: hidden;
  background: var(--bd-gray);
}
.bd-product-card__thumb {
  width: 100% !important; height: 100% !important;
  object-fit: cover; transition: transform .45s ease;
}
.bd-product-card:hover .bd-product-card__thumb { transform: scale(1.04); }
.bd-product-card__placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--bd-serif); font-size: 40px; color: var(--bd-cream-dk);
  background: linear-gradient(150deg, var(--bd-gray), var(--bd-cream));
}
.bd-product-card__badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--bd-maroon); color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: .6px;
  padding: 3px 8px; border-radius: 5px;
}
/* Rating pill overlaid on image (reference style) */
.bd-product-card__stars-pill {
  position: absolute; right: 8px; bottom: 8px;
  background: rgba(255,255,255,.95);
  border-radius: 6px; padding: 3px 8px;
  font-size: 11.5px; font-weight: 700; color: var(--bd-text);
  display: flex; align-items: center; gap: 4px;
  box-shadow: var(--bd-shadow-sm);
}
.bd-product-card__stars-pill::before { content: '★'; color: var(--bd-star); font-size: 12px; }

.bd-product-card__info {
  padding: 12px 12px 14px; flex: 1;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.bd-product-card__name {
  font-family: var(--bd-serif) !important;
  font-size: 14px; font-weight: 600; color: var(--bd-text);
  line-height: 1.35; margin-bottom: 5px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 2.7em;
}
.bd-product-card__rating {
  font-size: 12px; color: var(--bd-star); margin-bottom: 5px;
  display: flex; align-items: center; justify-content: center; gap: 5px;
  letter-spacing: 1px; flex-wrap: wrap; width: 100%;
  white-space: nowrap;
}
.bd-product-card__rating .bd-rcount {
  color: var(--bd-muted); letter-spacing: 0; font-weight: 500;
}
.bd-product-card__price {
  font-weight: 700; font-size: 15.5px; color: var(--bd-text);
  margin-bottom: 2px;
  display: flex; align-items: baseline; justify-content: center; gap: 6px; flex-wrap: wrap;
}
.bd-product-card__price del { color: #9A9086; font-size: 12px; font-weight: 400; }
.bd-product-card__price ins { text-decoration: none; }
.bd-product-card__price .bd-off {
  color: var(--bd-green); font-size: 11.5px; font-weight: 700;
}
.bd-product-card__cart { margin-top: auto; width: 100%; }
/* WooCommerce injected buttons */
.bd-products-grid .button, .bd-products-scroll .button {
  width: 100%; font-size: 12.5px !important; padding: 8px 10px !important;
  background: #fff !important; color: var(--bd-maroon) !important;
  border: 1.5px solid rgba(94,22,22,.4) !important;
  border-radius: 8px !important; margin-top: 8px !important;
  min-height: 38px !important; font-weight: 700 !important;
}

/* ════════════════════════════════════════
   OFFER BAND (homepage)
   ════════════════════════════════════════ */
.bd-offer-banner {
  margin: 0; padding: 36px 20px;
  background:
    radial-gradient(800px 300px at 15% 120%, rgba(185,138,46,.18), transparent 55%),
    var(--bd-maroon);
  text-align: center;
}
.bd-offer-banner__tag {
  font-size: 11.5px; color: var(--bd-gold-lt); letter-spacing: 2.5px;
  text-transform: uppercase; margin-bottom: 10px; font-weight: 700;
}
.bd-offer-banner__title {
  font-family: var(--bd-serif); font-size: 24px; color: #fff;
  line-height: 1.25; margin-bottom: 10px; font-weight: 600;
  max-width: 640px; margin-left: auto; margin-right: auto;
}
.bd-offer-banner__sub {
  font-size: 14px; color: rgba(255,255,255,.8); margin-bottom: 22px;
}
.bd-offer-banner__sub strong { color: var(--bd-gold-lt); font-size: 19px; }
.bd-offer-banner__sub del { color: rgba(255,255,255,.45); font-size: 13px; }

/* ════════════════════════════════════════
   SPOTLIGHT (bestseller feature)
   ════════════════════════════════════════ */
.bd-spot {
  max-width: 1220px; margin: 0 auto; padding: 0 16px;
  display: flex; flex-direction: column; gap: 20px;
}
.bd-spot__media img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover;
  border-radius: var(--bd-radius);
  border: 1px solid var(--bd-border);
}
.bd-spot__eyebrow {
  font-size: 11.5px; color: var(--bd-gold-dk); font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 10px;
}
.bd-spot__title {
  font-family: var(--bd-serif); font-size: 24px; font-weight: 600;
  color: var(--bd-text); line-height: 1.2; margin-bottom: 10px;
}
.bd-spot__rating { font-size: 13px; color: var(--bd-star); letter-spacing: 1.5px; margin-bottom: 12px; }
.bd-spot__rating .bd-rcount { color: var(--bd-muted); letter-spacing: 0; }
.bd-spot__desc { font-size: 14.5px; color: var(--bd-muted); line-height: 1.7; margin-bottom: 16px; }
.bd-spot__price { font-size: 22px; font-weight: 700; color: var(--bd-text); margin-bottom: 18px; }
.bd-spot__price del { font-size: 15px; color: #9A9086; font-weight: 400; margin-left: 8px; }
.bd-spot__price .bd-off { color: var(--bd-green); font-size: 13px; font-weight: 700; margin-left: 6px; }

/* ════════════════════════════════════════
   TRUST STRIP
   ════════════════════════════════════════ */
.bd-features {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--bd-border);
  border-bottom: 1px solid var(--bd-border);
  max-width: 1220px; margin: 0 auto;
}
.bd-feature {
  background: none; border: none; border-radius: 0;
  padding: 22px 16px; text-align: center;
}
.bd-feature:nth-child(odd) { border-right: 1px solid var(--bd-border); }
.bd-feature:nth-child(-n+2) { border-bottom: 1px solid var(--bd-border); }
.bd-feature__icon { margin-bottom: 10px; color: var(--bd-maroon); }
.bd-feature__icon svg { width: 26px; height: 26px; }
.bd-feature h3 {
  font-family: var(--bd-sans) !important;
  font-size: 13px; font-weight: 700; color: var(--bd-text); margin-bottom: 5px;
}
.bd-feature p { font-size: 12px; color: var(--bd-muted); line-height: 1.55; }

/* ════════════════════════════════════════
   REVIEWS
   ════════════════════════════════════════ */
.bd-reviews {
  display: flex; gap: 14px;
  padding: 4px 16px 8px;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  max-width: 1220px; margin: 0 auto;
}
.bd-reviews::-webkit-scrollbar { display: none; }
.bd-review {
  flex-shrink: 0; width: 280px;
  background: #fff;
  border: 1px solid var(--bd-border);
  border-radius: var(--bd-radius);
  padding: 18px;
  box-shadow: var(--bd-shadow-sm);
}
.bd-review__stars { font-size: 13px; color: var(--bd-star); letter-spacing: 2px; margin-bottom: 10px; }
.bd-review__text {
  font-size: 13.5px; color: var(--bd-text); line-height: 1.65; margin-bottom: 12px;
  font-style: normal;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.bd-review__name { font-size: 12.5px; color: var(--bd-text); font-weight: 600; display: block; }
.bd-review__product {
  font-size: 11.5px; color: var(--bd-muted); display: block; margin-top: 3px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ════════════════════════════════════════
   NEWSLETTER
   ════════════════════════════════════════ */
.bd-newsletter { text-align: center; padding: 40px 16px; background: var(--bd-cream); }
.bd-newsletter h2 {
  font-family: var(--bd-serif); font-size: 22px; color: var(--bd-text);
  margin-bottom: 8px; font-weight: 600;
}
.bd-newsletter p { font-size: 13.5px; color: var(--bd-muted); margin-bottom: 20px; }
.bd-newsletter form {
  display: flex; gap: 10px; max-width: 420px; margin: 0 auto;
}
.bd-newsletter input[type="email"] {
  flex: 1; padding: 12px 16px;
  border: 1.5px solid var(--bd-border); border-radius: 9px;
  font-size: 14px; outline: none; min-height: 48px;
  background: #fff; font-family: var(--bd-sans);
}
.bd-newsletter input[type="email"]:focus { border-color: var(--bd-gold); }

/* ════════════════════════════════════════
   SHOP — FILTER BAR
   ════════════════════════════════════════ */
.bd-filter-bar {
  position: sticky; top: var(--header-h); z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--bd-border);
  display: flex; align-items: center; gap: 0;
}
.bd-filter-chips {
  flex: 1; display: flex; gap: 8px;
  padding: 10px 12px;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.bd-filter-chips::-webkit-scrollbar { display: none; }
.bd-chip {
  flex-shrink: 0;
  display: inline-flex; align-items: center;
  padding: 7px 15px; border-radius: 50px;
  font-size: 12.5px; font-weight: 600;
  border: 1.5px solid var(--bd-border);
  color: var(--bd-text); background: #fff;
  white-space: nowrap; transition: all var(--transition);
  min-height: 34px; cursor: pointer;
}
.bd-chip:hover  { border-color: var(--bd-maroon); color: var(--bd-maroon); }
.bd-chip.active {
  background: var(--bd-maroon); color: #fff; border-color: var(--bd-maroon);
}
.bd-sort-btn {
  padding: 10px 16px; font-size: 12.5px; font-weight: 600; color: var(--bd-text);
  border-left: 1px solid var(--bd-border); white-space: nowrap;
  display: flex; align-items: center; gap: 6px; min-height: 54px;
}
.bd-sort-btn svg { width: 16px; height: 16px; }
.bd-filter-modal {
  display: none; position: fixed; inset: 0; z-index: 500;
  background: rgba(28,20,16,.5); align-items: flex-end;
}
.bd-filter-modal.open { display: flex; }
.bd-filter-modal__sheet {
  width: 100%; background: #fff;
  border-radius: 18px 18px 0 0;
  padding: 20px; max-height: 80vh; overflow-y: auto;
}
.bd-filter-modal__handle {
  width: 36px; height: 4px; background: var(--bd-border);
  border-radius: 2px; margin: 0 auto 16px;
}
.bd-filter-modal__title { font-size: 16px; font-weight: 700; margin-bottom: 16px; color: var(--bd-text); }
.bd-filter-section { margin-bottom: 20px; }
.bd-filter-section h4 {
  font-size: 12px; font-weight: 700; color: var(--bd-muted);
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px;
}
.bd-price-range { display: flex; gap: 10px; }
.bd-price-range input {
  flex: 1; padding: 10px 12px; border: 1.5px solid var(--bd-border);
  border-radius: 8px; font-size: 14px; width: 100%;
}
.bd-filter-chips-wrap { display: flex; flex-wrap: wrap; gap: 8px; }

/* ════════════════════════════════════════
   SHOP — RESULTS META
   ════════════════════════════════════════ */
.bd-results-meta {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px;
  font-size: 12.5px; color: var(--bd-muted);
  max-width: 1220px; margin: 0 auto;
}
.bd-results-meta__count strong { color: var(--bd-text); }
.bd-view-toggle { display: flex; gap: 4px; }
.bd-view-btn {
  padding: 5px 9px; border-radius: 5px; font-size: 16px; color: #B4AA9E;
  border: 1px solid transparent;
}
.bd-view-btn.active { color: var(--bd-maroon); border-color: var(--bd-border); }

/* ════════════════════════════════════════
   SHOP GRID
   ════════════════════════════════════════ */
.bd-shop-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 12px; padding: 10px 16px;
  width: 100%;
  align-self: start;
  max-width: 1220px; margin: 0 auto;
}
.bd-shop-grid.grid-1 { grid-template-columns: 1fr; }
.bd-shop-grid.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ════════════════════════════════════════
   CATEGORY BANNER
   ════════════════════════════════════════ */
/* Centered editorial collection header (reference style) */
.bd-cat-banner {
  background: #fff;
  padding: 30px 16px 22px;
  display: block; text-align: center;
}
.bd-cat-banner__icon { display: none; }
.bd-cat-banner__info { }
.bd-cat-banner__name {
  font-family: var(--bd-serif); font-size: 32px; color: var(--bd-text);
  margin-bottom: 6px; font-weight: 600; letter-spacing: -.4px;
}
.bd-cat-banner__desc {
  font-size: 13.5px; color: var(--bd-muted); line-height: 1.55;
  max-width: 560px; margin: 0 auto;
}
.bd-cat-banner__count {
  font-size: 12px; color: var(--bd-gold-dk); margin-top: 6px; font-weight: 600;
  display: inline-block; letter-spacing: .5px; text-transform: uppercase;
}
@media (min-width: 960px) {
  .bd-cat-banner__name { font-size: 42px; }
}

/* ════════════════════════════════════════
   SINGLE PRODUCT
   ════════════════════════════════════════ */
.bd-product-page { max-width: 1220px; margin: 0 auto; }

/* Gallery */
.bd-gallery { position: relative; background: #fff; }
.bd-gallery__main {
  aspect-ratio: 1/1; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: var(--bd-gray);
}
.bd-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.bd-gallery__placeholder {
  font-size: 64px; display: flex; align-items: center;
  justify-content: center; width: 100%; aspect-ratio: 1/1;
  background: linear-gradient(150deg, var(--bd-gray), var(--bd-cream));
  font-family: var(--bd-serif); color: var(--bd-cream-dk);
}
.bd-gallery__thumbs {
  display: flex; gap: 8px; padding: 10px 12px;
  overflow-x: auto; scrollbar-width: none;
}
.bd-gallery__thumbs::-webkit-scrollbar { display: none; }
.bd-gallery__thumb {
  flex-shrink: 0; width: 60px; height: 60px;
  border-radius: 8px; overflow: hidden;
  border: 2px solid var(--bd-border); cursor: pointer;
  padding: 0; background: none;
  min-width: 44px; min-height: 44px;
  transition: border-color var(--transition);
}
.bd-gallery__thumb.active { border-color: var(--bd-maroon); }
.bd-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bd-gallery__badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--bd-maroon); color: #fff;
  font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 5px;
}
.bd-gallery__wishlist {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  background: #fff !important; border-radius: 50%;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: var(--bd-maroon);
  box-shadow: var(--bd-shadow-sm);
  border: 1px solid var(--bd-border);
  line-height: 1;
}

/* Product info */
.bd-product-info { padding: 18px 16px; }
.bd-product-info__cats {
  font-size: 11px; color: var(--bd-gold-dk); font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px;
}
.bd-product-info__cats a:hover { color: var(--bd-maroon); }
.bd-product-info__title {
  font-family: var(--bd-serif); font-size: 23px; color: var(--bd-text);
  line-height: 1.22; margin-bottom: 10px; font-weight: 600;
}
.bd-product-info__rating {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; margin-bottom: 14px;
}
.bd-product-info__stars { color: var(--bd-star); font-size: 14px; letter-spacing: 1.5px; }
.bd-product-info__rcount { color: var(--bd-muted); text-decoration: underline; text-underline-offset: 2px; }
.bd-product-info__price {
  display: flex; align-items: baseline; gap: 10px; margin-bottom: 6px; flex-wrap: wrap;
}
.bd-product-info__price--main { font-size: 28px; font-weight: 700; color: var(--bd-text); }
.bd-product-info__price--old  { font-size: 16px; color: #9A9086; text-decoration: line-through; }
.bd-product-info__price--save {
  font-size: 12.5px; background: #E9F5EC; color: var(--bd-green);
  padding: 3px 9px; border-radius: 5px; font-weight: 700;
}
.bd-product-info__short-desc { font-size: 14px; color: var(--bd-muted); line-height: 1.65; margin-bottom: 14px; }
.bd-product-info__stock {
  font-size: 12.5px; font-weight: 600; margin-bottom: 16px;
  display: flex; align-items: center; gap: 7px;
}
.bd-product-info__stock::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: currentColor; display: inline-block;
}
.bd-product-info__stock.in  { color: var(--bd-green); }
.bd-product-info__stock.out { color: var(--bd-sale); }

/* Variants */
.bd-variants { margin-bottom: 16px; }
.bd-variants__label { font-size: 13px; font-weight: 700; color: var(--bd-text); margin-bottom: 8px; }
.bd-variants__options { display: flex; flex-wrap: wrap; gap: 8px; }
.bd-variant-chip {
  padding: 8px 15px; border-radius: 8px; font-size: 13px;
  border: 1.5px solid var(--bd-border); color: var(--bd-text);
  cursor: pointer; transition: all var(--transition);
  min-height: 40px;
}
.bd-variant-chip.active { border-color: var(--bd-maroon); background: var(--bd-maroon); color: #fff; }

/* Qty + ATC */
.bd-atc-bar { display: flex; gap: 10px; margin-bottom: 12px; }
.bd-qty {
  display: flex; align-items: center;
  border: 1.5px solid var(--bd-border); border-radius: 9px;
  overflow: hidden; background: #fff; flex-shrink: 0;
}
.bd-qty__btn {
  width: 44px; height: 48px; font-size: 20px; color: var(--bd-maroon);
  display: flex; align-items: center; justify-content: center;
  border: none; background: none;
}
.bd-qty__input {
  width: 42px; text-align: center; border: none;
  font-size: 15px; font-weight: 600; outline: none;
  font-family: var(--bd-sans);
}
.bd-atc-btn {
  flex: 1; background: var(--bd-maroon);
  color: #fff; border-radius: 9px; font-size: 15px; font-weight: 600;
  font-family: var(--bd-sans) !important; white-space: nowrap;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; transition: background var(--transition);
  border: none; cursor: pointer;
}
.bd-atc-btn:hover  { background: var(--bd-maroon-dk); }
.bd-atc-btn:active { transform: scale(.98); }

.bd-buy-now-btn {
  width: 100%;
  background: var(--bd-gold); color: #fff;
  border-radius: 9px; font-size: 15px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; margin-bottom: 18px;
  border: none; cursor: pointer; transition: background var(--transition);
}
.bd-buy-now-btn:hover  { background: var(--bd-gold-dk); }
.bd-buy-now-btn:active { transform: scale(.98); }

/* Delivery/trust bar */
.bd-delivery-bar {
  display: flex; gap: 0;
  border: 1px solid var(--bd-border); border-radius: 10px;
  overflow: hidden; margin-bottom: 16px;
  background: #fff;
}
.bd-delivery-bar__item {
  flex: 1; padding: 12px 6px; text-align: center; font-size: 11px;
  border-right: 1px solid var(--bd-border);
  display: flex; flex-direction: column; gap: 6px; align-items: center;
}
.bd-delivery-bar__item:last-child { border-right: none; }
.bd-delivery-bar__icon { color: var(--bd-maroon); display: flex; }
.bd-delivery-bar__icon svg { width: 19px; height: 19px; }
.bd-delivery-bar__text { font-weight: 600; color: var(--bd-text); line-height: 1.25; }

/* Payment chips */
.bd-pay-row {
  display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-bottom: 16px;
}
.bd-pay-row__label { font-size: 11.5px; color: var(--bd-muted); margin-right: 2px; }
.bd-pay-chip {
  font-size: 11px; font-weight: 600;
  background: var(--bd-gray); border: 1px solid var(--bd-border);
  padding: 4px 9px; border-radius: 5px; color: var(--bd-text);
}

/* Benefit chips under rating */
.bd-benefit-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 14px; }
.bd-benefit-chip {
  font-size: 11.5px; font-weight: 600; color: var(--bd-gold-dk);
  background: #FBF4E4; border: 1px solid #F0E2C0;
  padding: 5px 12px; border-radius: 50px;
}

/* Featured verified review near buy box */
.bd-fea-review {
  background: var(--bd-cream); border: 1px solid var(--bd-cream-dk);
  border-radius: var(--bd-radius); padding: 14px 16px; margin-bottom: 16px;
}
.bd-fea-review__head {
  display: flex; align-items: center; gap: 8px; margin-bottom: 6px;
  font-size: 12.5px; font-weight: 700; color: var(--bd-text);
}
.bd-fea-review__verified {
  font-size: 10px; font-weight: 700; letter-spacing: .4px;
  background: var(--bd-dark); color: #fff;
  padding: 2.5px 8px; border-radius: 50px; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 4px;
}
.bd-fea-review__stars { color: var(--bd-star); font-size: 12.5px; letter-spacing: 1.5px; margin-bottom: 6px; }
.bd-fea-review__text { font-size: 13px; color: var(--bd-text); line-height: 1.6; }

/* Low stock (honest urgency — only rendered when real stock is low) */
.bd-low-stock {
  font-size: 12.5px; font-weight: 700; color: var(--bd-sale);
  background: #FDF1EF; border: 1px solid #F5D9D4;
  border-radius: 8px; padding: 9px 14px; text-align: center;
  margin-bottom: 14px;
}

/* Buy row: ATC + Buy Now side by side */
.bd-buy-row { display: flex; gap: 10px; margin-bottom: 16px; }
.bd-buy-row .bd-atc-btn, .bd-buy-row .bd-buy-now-btn { flex: 1; margin-bottom: 0; }

/* Sticky mobile ATC bar */
#bd-sticky-atc { border-top: 1px solid var(--bd-border) !important; }

/* Tabs */
.bd-tabs { border-top: 1px solid var(--bd-border); max-width: 1220px; margin: 0 auto; }
.bd-tabs__nav {
  display: flex; border-bottom: 1px solid var(--bd-border);
  overflow-x: auto; scrollbar-width: none;
}
.bd-tabs__nav::-webkit-scrollbar { display: none; }
.bd-tab-btn {
  flex-shrink: 0; padding: 13px 18px; font-size: 13px; font-weight: 600;
  color: var(--bd-muted); border-bottom: 2px solid transparent;
  white-space: nowrap; transition: all var(--transition);
  min-height: 46px;
}
.bd-tab-btn.active { color: var(--bd-maroon); border-color: var(--bd-maroon); }
.bd-tab-panel { display: none; padding: 18px 16px; }
.bd-tab-panel.active { display: block; }
.bd-tab-panel p { font-size: 14px; line-height: 1.75; color: var(--bd-text); margin-bottom: 10px; }
.bd-tab-panel ul { padding-left: 18px; }
.bd-tab-panel li { font-size: 14px; line-height: 1.85; color: var(--bd-text); }

/* Related */
.bd-related { padding: 26px 0 30px; background: var(--bd-gray); }
.bd-related__title {
  font-family: var(--bd-serif); font-size: 20px; color: var(--bd-text);
  padding: 0 16px; margin-bottom: 14px; font-weight: 600;
  max-width: 1220px; margin-left: auto; margin-right: auto;
}
.bd-related__scroll {
  display: flex; gap: 12px; padding: 4px 16px;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  max-width: 1220px; margin: 0 auto;
}
.bd-related__scroll::-webkit-scrollbar { display: none; }
.bd-related__scroll .bd-product-card { flex-shrink: 0; width: 168px; }

/* ════════════════════════════════════════
   SEARCH PAGE
   ════════════════════════════════════════ */
.bd-search-wrap {
  background: #fff;
  padding: 14px 16px;
  border-bottom: 1px solid var(--bd-border);
}
.bd-search-form {
  display: flex; align-items: center; gap: 0;
  background: var(--bd-gray); border-radius: 10px;
  overflow: hidden; border: 1.5px solid var(--bd-border);
  max-width: 720px; margin: 0 auto;
  transition: border-color var(--transition);
}
.bd-search-form:focus-within { border-color: var(--bd-maroon); background: #fff; }
.bd-search-form input[type="search"] {
  flex: 1; padding: 12px 16px; border: none; outline: none;
  font-size: 15px; background: transparent; font-family: var(--bd-sans);
}
.bd-search-form button {
  padding: 12px 18px; background: var(--bd-maroon);
  color: #fff; font-size: 16px; min-height: 48px;
  display: flex; align-items: center;
}
.bd-search-form button svg { width: 18px; height: 18px; }
.bd-search-recent { padding: 14px 16px; }
.bd-search-recent h4 {
  font-size: 11px; color: var(--bd-muted); text-transform: uppercase;
  letter-spacing: 1.2px; margin-bottom: 10px;
}
.bd-search-recent__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.bd-search-recent__tag {
  padding: 6px 13px; border-radius: 50px; font-size: 12.5px;
  background: #fff; border: 1.5px solid var(--bd-border);
  color: var(--bd-text); font-weight: 500;
}
.bd-search-recent__tag:hover { border-color: var(--bd-maroon); color: var(--bd-maroon); }
.bd-search-empty { text-align: center; padding: 60px 20px; }
.bd-search-empty__icon { margin-bottom: 14px; color: var(--bd-border); }
.bd-search-empty__icon svg { width: 56px; height: 56px; }
.bd-search-empty__title { font-family: var(--bd-serif); font-size: 20px; font-weight: 600; color: var(--bd-text); margin-bottom: 8px; }
.bd-search-empty__sub { font-size: 14px; color: var(--bd-muted); margin-bottom: 20px; }

/* Empty state (shop) */
.bd-empty { text-align: center; padding: 60px 20px; }
.bd-empty__icon { margin-bottom: 14px; color: var(--bd-border); font-size: 48px; }
.bd-empty__icon svg { width: 56px; height: 56px; }
.bd-empty__title { font-family: var(--bd-serif); font-size: 20px; font-weight: 600; color: var(--bd-text); margin-bottom: 8px; }
.bd-empty__sub { font-size: 14px; color: var(--bd-muted); margin-bottom: 20px; }

/* ════════════════════════════════════════
   PAGINATION
   ════════════════════════════════════════ */
.bd-pagination {
  display: flex; justify-content: center; align-items: center;
  gap: 8px; padding: 24px 16px; flex-wrap: wrap;
}
.bd-pagination a, .bd-pagination span {
  display: flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px; border-radius: 9px; padding: 0 10px;
  font-size: 13.5px; font-weight: 600;
  border: 1.5px solid var(--bd-border); color: var(--bd-text);
  transition: all var(--transition);
}
.bd-pagination a:hover { border-color: var(--bd-maroon); color: var(--bd-maroon); }
.bd-pagination .current {
  background: var(--bd-maroon); color: #fff; border-color: var(--bd-maroon);
}

/* ════════════════════════════════════════
   WHATSAPP FLOAT
   ════════════════════════════════════════ */
.bd-whatsapp {
  display: none;
  position: fixed; bottom: 24px; right: 20px; z-index: 350;
  width: 52px; height: 52px; border-radius: 50%;
  background: #25D366;
  align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,.4);
  color: #fff;
  transition: transform var(--transition);
}
.bd-whatsapp:hover { transform: scale(1.06); }
.bd-whatsapp svg { width: 27px; height: 27px; fill: #fff; }

/* ════════════════════════════════════════
   QUICK CHECKOUT (mobile-first)
   ════════════════════════════════════════ */
.bd-hidden-field, .woocommerce form .form-row.bd-hidden-field { display: none !important; }
/* Astra renders .place-order as a flex row — force block so the trust line
   gets full width instead of a squeezed side column */
.woocommerce-checkout #payment .place-order { display: block !important; }
.bd-checkout-trust {
  width: 100%; flex: 0 0 100%;
  margin-top: 12px; font-size: 12px; color: var(--bd-muted);
  text-align: center; display: flex; align-items: center; justify-content: center; gap: 6px;
  line-height: 1.5;
}
.woocommerce-checkout #order_review_heading {
  margin: 0 0 14px !important; padding: 0 !important;
  background: none !important; border: none !important;
}
.woocommerce-checkout h3, .woocommerce-checkout #order_review_heading {
  font-family: var(--bd-serif) !important; font-size: 19px !important;
}
/* Big touch-friendly inputs */
.woocommerce-checkout form .form-row input.input-text,
.woocommerce-checkout form .form-row select {
  min-height: 48px !important; font-size: 16px !important; /* 16px stops iOS zoom */
}
.woocommerce-checkout #payment ul.payment_methods li { padding: 12px 0 !important; }
.woocommerce-checkout #place_order {
  width: 100% !important; min-height: 52px !important; font-size: 15.5px !important;
}
/* Checkout order items: thumbnail + name */
.bd-co-item { display: flex; align-items: center; gap: 10px; }
.bd-co-item img {
  width: 48px; height: 48px; object-fit: cover;
  border-radius: 8px; border: 1px solid var(--bd-border); flex-shrink: 0;
}
.bd-co-item__name { font-size: 13px; line-height: 1.4; }

/* Checkout qty stepper */
.bd-co-qty {
  display: inline-flex; align-items: center; gap: 0;
  border: 1.5px solid var(--bd-border); border-radius: 7px;
  overflow: hidden; margin-left: 6px; vertical-align: middle;
  transition: opacity var(--transition);
}
.bd-co-qty button {
  width: 30px; height: 30px; font-size: 15px; color: var(--bd-maroon);
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bd-gray);
}
.bd-co-qty strong { min-width: 26px; text-align: center; font-size: 13px; }

/* Prepaid nudge + free gift lines */
.bd-prepaid-nudge, .bd-free-gift {
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px; line-height: 1.5;
  border-radius: 8px; padding: 10px 12px; margin-bottom: 10px;
}
.bd-prepaid-nudge { background: #FBF4E4; border: 1px dashed #E2C98F; color: var(--bd-gold-dk); }
.bd-prepaid-nudge svg, .bd-free-gift svg { flex-shrink: 0; }
.bd-free-gift { background: #E9F5EC; border: 1px solid #CBE7D3; color: var(--bd-green); }
.bd-drawer__gift { padding: 10px 18px 0; }
.bd-drawer__gift .bd-free-gift { margin-bottom: 0; }

/* Collapsible order peek (mobile) */
.bd-peek { display: none; }
@media (max-width: 767px) {
  .bd-peek {
    display: block;
    background: var(--bd-cream);
    border: 1px solid var(--bd-border); border-radius: 10px;
    margin-bottom: 18px; overflow: hidden;
  }
  .bd-peek__toggle {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%; padding: 13px 15px;
    font-size: 13.5px; color: var(--bd-text); font-weight: 500;
  }
  .bd-peek__toggle span { display: inline-flex; align-items: center; gap: 8px; }
  .bd-peek__toggle strong { font-size: 15px; }
  .bd-peek__hint {
    font-size: 12px; color: var(--bd-maroon); font-weight: 600;
    text-decoration: underline; text-underline-offset: 2px;
  }
  .bd-peek__toggle.open .bd-peek__hint { text-decoration: none; }
  .bd-peek__items { display: none; border-top: 1px solid var(--bd-border); padding: 6px 15px; background: #fff; }
  .bd-peek__items.open { display: block; }
  .bd-peek__row {
    display: flex; align-items: center; gap: 10px; padding: 9px 0;
    font-size: 12.5px;
  }
  .bd-peek__row + .bd-peek__row { border-top: 1px solid var(--bd-gray); }
  .bd-peek__row img { width: 40px; height: 40px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }
  .bd-peek__name { flex: 1; min-width: 0; color: var(--bd-text); line-height: 1.35; }
  .bd-peek__price { font-weight: 700; color: var(--bd-text); white-space: nowrap; }
}

/* Payment methods: big tap targets, clear selected state */
.woocommerce-checkout #payment ul.payment_methods li {
  padding: 14px 12px !important;
  border-radius: 9px; margin-bottom: 8px !important;
  border: 1.5px solid var(--bd-border);
  transition: border-color var(--transition);
}
.woocommerce-checkout #payment ul.payment_methods li:has(input:checked) {
  border-color: var(--bd-maroon);
  background: #FDFBF7;
}
.woocommerce-checkout #payment ul.payment_methods input[type="radio"] {
  width: 20px; height: 20px; accent-color: var(--bd-maroon);
}
.woocommerce-checkout #payment ul.payment_methods label {
  font-weight: 600 !important; font-size: 14.5px !important;
}

/* Sticky Place Order on mobile */
@media (max-width: 767px) {
  .woocommerce-checkout #payment .place-order {
    position: sticky; bottom: 0; z-index: 50;
    background: #fff; padding: 12px 0 14px !important;
    box-shadow: 0 -6px 18px rgba(36,24,18,.08);
  }
  /* Compact coupon banner on mobile */
  .woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
    font-size: 13px; padding: 10px 14px 10px 40px !important;
  }
}

/* ════════════════════════════════════════
   SKELETON + TOAST
   ════════════════════════════════════════ */
.bd-skeleton {
  background: linear-gradient(90deg, #F2EEE7 25%, #E9E3D8 50%, #F2EEE7 75%);
  background-size: 200% 100%;
  animation: bdSkeleton 1.4s ease infinite;
}
@keyframes bdSkeleton { from { background-position: 200% 0; } to { background-position: -200% 0; } }

.bd-toast {
  position: fixed; top: 70px; left: 50%; transform: translateX(-50%);
  background: var(--bd-dark); color: #fff;
  padding: 11px 22px; border-radius: 10px;
  font-size: 13px; font-weight: 600;
  z-index: 999; opacity: 0;
  transition: opacity .3s ease;
  white-space: nowrap;
  box-shadow: 0 8px 28px rgba(0,0,0,.25);
  pointer-events: none;
}
.bd-toast.show { opacity: 1; }

/* ════════════════════════════════════════
   SIDE CART DRAWER
   ════════════════════════════════════════ */
.bd-drawer-overlay {
  position: fixed; inset: 0; z-index: 590;
  background: rgba(28,20,16,.5);
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
}
.bd-drawer-overlay.open { opacity: 1; pointer-events: auto; }
.bd-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 600;
  width: min(400px, 92vw);
  background: #fff;
  transform: translateX(105%);
  transition: transform .3s cubic-bezier(.22,.8,.3,1);
  display: flex; flex-direction: column;
  box-shadow: -12px 0 40px rgba(28,20,16,.18);
}
.bd-drawer.open { transform: translateX(0); }
.bd-drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--bd-border);
  flex-shrink: 0;
}
.bd-drawer__head h2 { font-family: var(--bd-serif); font-size: 19px; font-weight: 600; color: var(--bd-text); }
.bd-drawer__close {
  color: var(--bd-muted); padding: 8px; margin-right: -8px;
  min-width: 42px; min-height: 42px; display: flex; align-items: center; justify-content: center;
}
.bd-drawer__close:hover { color: var(--bd-text); }
#bd-drawer-body { flex: 1; display: flex; flex-direction: column; overflow-y: auto; min-height: 0; }

.bd-drawer__empty {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 14px;
  padding: 40px 20px; color: var(--bd-muted);
}
.bd-drawer__empty svg { width: 44px; height: 44px; color: var(--bd-border); }
.bd-drawer__empty p { font-size: 14.5px; }

/* Free-shipping progress */
.bd-drawer__ship {
  padding: 13px 18px 15px;
  background: var(--bd-cream);
  border-bottom: 1px solid var(--bd-border);
  flex-shrink: 0;
}
.bd-drawer__ship p {
  font-size: 12.5px; color: var(--bd-text); margin-bottom: 8px;
  display: flex; align-items: center; gap: 6px;
}
.bd-drawer__ship strong { color: var(--bd-maroon); }
.bd-drawer__ship.is-unlocked p { color: var(--bd-green); }
.bd-drawer__ship.is-unlocked strong { color: var(--bd-green); }
.bd-drawer__ship svg { color: var(--bd-green); }
.bd-drawer__ship-track {
  height: 6px; border-radius: 3px; background: #E5DCCB; overflow: hidden;
}
.bd-drawer__ship-track span {
  display: block; height: 100%; border-radius: 3px;
  background: linear-gradient(90deg, var(--bd-gold), var(--bd-gold-lt));
  transition: width .4s ease;
}
.bd-drawer__ship.is-unlocked .bd-drawer__ship-track span { background: var(--bd-green); }

/* Items */
.bd-drawer__items { padding: 6px 18px; }
.bd-drawer__item {
  display: flex; gap: 12px; padding: 14px 0;
  border-bottom: 1px solid var(--bd-border);
}
.bd-drawer__item:last-child { border-bottom: none; }
.bd-drawer__item-img { flex-shrink: 0; width: 66px; }
.bd-drawer__item-img img {
  width: 66px; height: 66px; object-fit: cover;
  border-radius: 8px; border: 1px solid var(--bd-border);
}
.bd-drawer__item-info { flex: 1; min-width: 0; }
.bd-drawer__item-name {
  font-size: 13px; font-weight: 500; color: var(--bd-text);
  line-height: 1.35; margin-bottom: 4px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.bd-drawer__item-price { font-size: 14px; font-weight: 700; color: var(--bd-text); margin-bottom: 8px; }
.bd-drawer__item-row { display: flex; align-items: center; justify-content: space-between; }
.bd-drawer__qty {
  display: flex; align-items: center;
  border: 1.5px solid var(--bd-border); border-radius: 8px; overflow: hidden;
}
.bd-drawer__qty button {
  width: 32px; height: 32px; font-size: 16px; color: var(--bd-maroon);
  display: flex; align-items: center; justify-content: center;
}
.bd-drawer__qty span { min-width: 28px; text-align: center; font-size: 13.5px; font-weight: 600; }
.bd-drawer__remove {
  font-size: 12px; color: var(--bd-muted); text-decoration: underline;
  text-underline-offset: 2px; padding: 6px;
}
.bd-drawer__remove:hover { color: var(--bd-sale); }

/* Upsells */
.bd-drawer__upsell {
  margin: 4px 18px 10px;
  padding: 14px;
  background: var(--bd-cream);
  border-radius: var(--bd-radius);
  border: 1px solid var(--bd-cream-dk);
}
.bd-drawer__upsell-title {
  font-size: 12px; font-weight: 700; color: var(--bd-gold-dk);
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px;
}
.bd-drawer__up-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 0;
}
.bd-drawer__up-item + .bd-drawer__up-item { border-top: 1px solid var(--bd-cream-dk); }
.bd-drawer__up-item img {
  width: 44px; height: 44px; object-fit: cover;
  border-radius: 7px; border: 1px solid var(--bd-cream-dk);
}
.bd-drawer__up-info { flex: 1; min-width: 0; }
.bd-drawer__up-info p {
  font-size: 12px; font-weight: 500; color: var(--bd-text); line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.bd-drawer__up-price { font-size: 12.5px; font-weight: 700; color: var(--bd-text); margin-top: 2px; }
.bd-drawer__up-price del { color: #9A9086; font-weight: 400; font-size: 11px; margin-left: 4px; }
.bd-drawer__up-add {
  flex-shrink: 0;
  font-size: 12px; font-weight: 700; color: var(--bd-maroon);
  border: 1.5px solid rgba(94,22,22,.4); border-radius: 7px;
  padding: 6px 14px; min-height: 32px;
  transition: all var(--transition); background: #fff;
}
.bd-drawer__up-add:hover { background: var(--bd-maroon); color: #fff; border-color: var(--bd-maroon); }

/* Coupon area */
.bd-drawer__coupon { padding: 4px 18px 10px; }
.bd-drawer__coupon-form {
  display: flex; gap: 8px;
}
.bd-drawer__coupon-form input {
  flex: 1; min-width: 0;
  border: 1.5px dashed var(--bd-border); border-radius: 8px;
  padding: 10px 12px; font-size: 13px; outline: none;
  font-family: var(--bd-sans); text-transform: uppercase;
}
.bd-drawer__coupon-form input:focus { border-color: var(--bd-gold); }
.bd-drawer__coupon-form button {
  font-size: 12.5px; font-weight: 700; color: var(--bd-maroon);
  padding: 0 16px; border: 1.5px solid rgba(94,22,22,.4); border-radius: 8px;
  min-height: 40px; transition: all var(--transition); background: #fff;
}
.bd-drawer__coupon-form button:hover { background: var(--bd-maroon); color: #fff; }
.bd-drawer__offer {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: 8px; padding: 9px 12px;
  background: #FBF4E4; border: 1px dashed #E2C98F; border-radius: 8px;
}
.bd-drawer__offer strong { font-size: 12px; color: var(--bd-gold-dk); display: block; letter-spacing: .5px; }
.bd-drawer__offer span { font-size: 11px; color: var(--bd-muted); display: block; margin-top: 1px; }
.bd-drawer__offer button {
  font-size: 12px; font-weight: 700; color: var(--bd-gold-dk);
  text-decoration: underline; text-underline-offset: 2px; flex-shrink: 0; padding: 6px;
}
.bd-drawer__coupon-applied {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 8px; padding: 9px 12px;
  background: #E9F5EC; border: 1px solid #CBE7D3; border-radius: 8px;
  font-size: 12px; color: var(--bd-green);
}
.bd-drawer__coupon-applied button {
  font-size: 11.5px; color: var(--bd-muted); text-decoration: underline; padding: 4px;
}
.bd-drawer__saved {
  background: #E9F5EC; color: var(--bd-green);
  font-size: 12.5px; font-weight: 700; text-align: center;
  border-radius: 8px; padding: 8px; margin-bottom: 10px;
}
.bd-drawer__subtotal del { color: #9A9086; font-weight: 400; font-size: 13px; margin-right: 6px; }

/* Drawer footer */
.bd-drawer__foot {
  margin-top: auto;
  padding: 14px 18px 18px;
  border-top: 1px solid var(--bd-border);
  background: #fff;
  flex-shrink: 0;
  position: sticky; bottom: 0;
}
.bd-drawer__subtotal {
  display: flex; align-items: baseline; justify-content: space-between;
  font-size: 14.5px; font-weight: 600; color: var(--bd-text);
  margin-bottom: 6px;
}
.bd-drawer__subtotal small { color: var(--bd-muted); font-weight: 400; }
.bd-drawer__subtotal strong { font-size: 18px; }
.bd-drawer__note { font-size: 11.5px; color: var(--bd-muted); margin-bottom: 12px; }
.bd-drawer__view-cart {
  display: block; text-align: center; margin-top: 10px;
  font-size: 13px; font-weight: 600; color: var(--bd-maroon);
  text-decoration: underline; text-underline-offset: 3px;
}

/* ════════════════════════════════════════
   FOOTER BAR
   ════════════════════════════════════════ */
.bd-footer-bar {
  background: var(--bd-dark);
  color: rgba(248,243,234,.65);
  text-align: center;
  padding: 16px;
  font-size: 12px;
  letter-spacing: .3px;
  border-top: 1px solid rgba(185,138,46,.25);
}

/* ════════════════════════════════════════
   TABLET (640px+)
   ════════════════════════════════════════ */
@media (min-width: 640px) {
  .bd-products-grid   { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .bd-shop-grid       { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .bd-features        { grid-template-columns: repeat(4, 1fr); }
  .bd-feature:nth-child(odd)   { border-right: none; }
  .bd-feature:nth-child(-n+2)  { border-bottom: none; }
  .bd-feature + .bd-feature    { border-left: 1px solid var(--bd-border); }
  .bd-hero__title     { font-size: 62px; }
  .bd-hero__script    { font-size: 36px; }
  .bd-cat-card        { width: 96px; }
  .bd-cat-card__img   { width: 86px; height: 86px; }
  .bd-bottom-nav      { display: none; }
  body.bd-page-active { padding-bottom: 0; }
  .bd-whatsapp        { display: flex; }
  .bd-section         { padding: 40px 0; }
  .bd-section__title  { font-size: 25px; }
  .bd-offer-banner__title { font-size: 30px; }
  .bd-newsletter h2   { font-size: 26px; }
}

/* ════════════════════════════════════════
   DESKTOP (960px+)
   ════════════════════════════════════════ */
@media (min-width: 960px) {
  .bd-products-grid { grid-template-columns: repeat(4, 1fr); }
  .bd-shop-grid     { grid-template-columns: repeat(4, 1fr); }

  /* Hero: split layout */
  .bd-hero__inner {
    flex-direction: row; align-items: center;
    justify-content: space-between; gap: 48px;
    padding: 64px 24px 68px;
  }
  .bd-hero__copy   { flex: 1; }
  .bd-hero__media  { flex: 0 0 400px; }
  .bd-hero__title  { font-size: 76px; }
  .bd-hero__script { font-size: 42px; }
  .bd-hero__deal   { font-size: 19px; }

  /* Product page: two columns */
  .bd-product-page {
    display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    align-items: start; gap: 40px;
    padding: 28px 24px 8px;
  }
  .bd-gallery { position: sticky; top: calc(var(--header-h) + 16px); }
  .bd-gallery__main { border-radius: var(--bd-radius); border: 1px solid var(--bd-border); }
  .bd-product-info { padding: 0; border-top: none; }
  .bd-product-info__title { font-size: 30px; }
  .bd-tabs, .bd-related__title, .bd-related__scroll { padding-left: 24px; padding-right: 24px; }

  /* Spotlight side-by-side */
  .bd-spot { flex-direction: row; align-items: center; gap: 48px; }
  .bd-spot__media { flex: 0 0 44%; }
  .bd-spot__body  { flex: 1; }
  .bd-spot__title { font-size: 30px; }

  .bd-product-card--scroll,
  .bd-related__scroll .bd-product-card { width: 220px; }
}

/* Drawer offer stack */
.bd-drawer__gift .bd-free-gift { margin-bottom: 8px; }
.bd-drawer__gift .bd-prepaid-nudge { margin-bottom: 0; }
.bd-drawer__bump {
  margin-top: 8px; font-size: 12px; color: var(--bd-gold-dk);
  background: #FDF9EF; border: 1px dashed #E2C98F; border-radius: 8px;
  padding: 8px 12px; text-align: center;
}

/* Site logo */
.bd-logo, .custom-logo-link .custom-logo {
  height: 44px !important; width: auto !important; max-width: none !important;
  display: block;
}
/* Hide the text title/tagline once the logo renders */
.ast-site-identity .site-title, .ast-site-identity .site-description { display: none !important; }
.ast-site-identity { padding: 6px 0; }
@media (max-width: 639px) {
  .bd-logo, .custom-logo-link .custom-logo { height: 34px !important; }
}
