/* ==========================================================
   BITZO — Detail-page design system  (prefix: bd-)
   Product · Service · Offer · Reward · Business · Post pages share these components:
   breadcrumb, gallery, seller card, cards, rails, section heads, buttons, reward highlight, (i) popover.
   Poppins only. Solid colours, thin borders, soft shadows — no gradients, no glass.
   Tokens come from style.css (:root --bitzo-*).
   ========================================================== */

/* Poppins everywhere EXCEPT the Font Awesome <i> icons - forcing Poppins on them turns every icon into an empty box. */
.bd, .bd *:not(i) { font-family: 'Poppins', sans-serif; }
.bd { --bd-line: var(--bitzo-border, #E9E2D6); --bd-muted: var(--bitzo-text-muted, #746E76); --bd-ink: var(--bitzo-text, #1C1620); --bd-primary: var(--bitzo-primary, #5B0C9A); --bd-primary-soft: #F3EEFB; --bd-star: #E8A317; --bd-ok: #16803C; --bd-ok-soft: #E7F4EC; --bd-r: 16px; --bd-shadow: 0 1px 2px rgba(28,22,32,.04), 0 6px 20px rgba(28,22,32,.05); color: var(--bd-ink); padding-bottom: 56px; }
.bd a { color: inherit; text-decoration: none; }
.bd img { max-width: 100%; }
.bd-wrap { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.bd-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Breadcrumb ---------- */
.bd-crumbs { padding: 18px 0 6px; font-size: 12.5px; color: var(--bd-muted); }
.bd-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.bd-crumbs ol::-webkit-scrollbar { display: none; }
.bd-crumbs li { display: inline-flex; align-items: center; gap: 4px; flex: none; }
.bd-crumbs li + li::before { content: ''; width: 5px; height: 5px; margin-right: 4px; border-top: 1.5px solid #B9B1BE; border-right: 1.5px solid #B9B1BE; transform: rotate(45deg); }
.bd-crumbs a { padding: 3px 4px; border-radius: 6px; transition: color .15s ease, background-color .15s ease; }
.bd-crumbs a:hover { color: var(--bd-primary); background: var(--bd-primary-soft); }
.bd-crumbs li:last-child { color: var(--bd-ink); font-weight: 500; max-width: 340px; overflow: hidden; text-overflow: ellipsis; padding: 3px 4px; }

/* ---------- Hero: gallery + info ---------- */
.bd-hero { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); gap: 56px; padding: 18px 0 12px; align-items: start; }
.bd-gallery { position: sticky; top: calc(var(--bd-sticky, 116px) + 16px); min-width: 0; }
.bd-stage { position: relative; aspect-ratio: 1 / 1; border: 1px solid var(--bd-line); border-radius: 22px; background: #fff; overflow: hidden; box-shadow: var(--bd-shadow); }
.bd-stage-img { width: 100%; height: 100%; object-fit: contain; display: block; transition: transform .25s ease; will-change: transform; }
.bd-stage.can-zoom { cursor: zoom-in; }
.bd-stage-empty { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 10px; height: 100%; color: #B5AEB9; font-size: 13px; background: #F7F4EE; }
.bd-stage-empty i { font-size: 44px; }
.bd-stage .bitzo-premium-badge { top: 14px; left: 14px; }
.bd-stage-btn { position: absolute; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--bd-line); border-radius: 50%; background: #fff; color: var(--bd-ink); font-size: 14px; cursor: pointer; box-shadow: 0 2px 8px rgba(28,22,32,.1); transition: color .15s ease, border-color .15s ease, transform .15s ease; z-index: 2; }
.bd-stage-btn:hover { color: var(--bd-primary); border-color: var(--bd-primary); }
.bd-stage-btn:focus-visible { outline: 2px solid var(--bd-primary); outline-offset: 2px; }
.bd-stage-btn.prev { left: 12px; top: 50%; margin-top: -20px; }
.bd-stage-btn.next { right: 12px; top: 50%; margin-top: -20px; }
.bd-stage-btn.expand { right: 12px; top: 12px; }
.bd-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.bd-thumbs::-webkit-scrollbar { display: none; }
.bd-thumb { flex: 0 0 76px; width: 76px; height: 76px; padding: 0; border: 1.5px solid var(--bd-line); border-radius: 14px; background: #fff; overflow: hidden; cursor: pointer; transition: border-color .15s ease; }
.bd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bd-thumb:hover { border-color: #C9B5E0; }
.bd-thumb.on { border-color: var(--bd-primary); box-shadow: 0 0 0 2px var(--bd-primary-soft); }

/* Fullscreen viewer */
.bd-lightbox { position: fixed; inset: 0; z-index: 11000; display: none; align-items: center; justify-content: center; background: rgba(20,14,26,.92); padding: 56px 72px; }
.bd-lightbox.open { display: flex; }
.bd-lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; background: #fff; }
.bd-lightbox .bd-stage-btn { background: rgba(255,255,255,.96); }
.bd-lightbox .bd-stage-btn.close { top: 16px; right: 16px; }
.bd-lightbox .bd-stage-btn.prev { left: 16px; }
.bd-lightbox .bd-stage-btn.next { right: 16px; }
.bd-lightbox-count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #E9E2F2; font-size: 12.5px; }

/* ---------- Info column ---------- */
.bd-info { min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.bd-eyebrow { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--bd-primary); }
.bd-eyebrow a:hover { text-decoration: underline; }
.bd-eyebrow .sep { color: #C5BCCB; }
.bd-title { margin: 0; font-size: 30px; line-height: 1.25; font-weight: 600; letter-spacing: -.01em; color: var(--bd-ink); overflow-wrap: anywhere; }
.bd-title .bitzo-premium-badge { position: static; vertical-align: middle; margin-left: 8px; }
.bd-lead { margin: 0; font-size: 14.5px; line-height: 1.75; color: var(--bd-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bd-lead-more { font-size: 13px; font-weight: 500; color: var(--bd-primary); margin-top: -10px; align-self: flex-start; }
.bd-lead-more:hover { text-decoration: underline; }

.bd-soldby { display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 10px; border: 1px solid var(--bd-line); border-radius: 14px; background: #fff; transition: border-color .15s ease, box-shadow .15s ease; }
.bd-soldby:hover { border-color: #CDB8E4; box-shadow: var(--bd-shadow); }
.bd-soldby .txt { min-width: 0; flex: 1; }
.bd-soldby small { display: block; font-size: 11px; color: var(--bd-muted); line-height: 1.2; }
.bd-soldby strong { display: flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; line-height: 1.35; }
.bd-soldby strong span.n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bd-soldby .loc { display: block; font-size: 12px; color: var(--bd-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bd-soldby > i { color: #B5AEB9; font-size: 12px; }

.bd-logo { flex: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--bd-line); background: var(--bd-primary-soft); color: var(--bd-primary); font-weight: 600; font-size: 16px; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; }
.bd-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bd-logo.lg { width: 60px; height: 60px; border-radius: 16px; font-size: 22px; }
.bd-logo.sm { width: 24px; height: 24px; border-radius: 7px; font-size: 11px; }
.bd-vt { display: inline-flex; color: #1F7A45; font-size: 13px; flex: none; }

.bd-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: var(--bd-muted); }
.bd-meta .item { display: inline-flex; align-items: center; gap: 7px; }
.bd-meta .item a:hover { color: var(--bd-primary); }
.bd-avail { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--bd-ok-soft); color: var(--bd-ok); font-size: 12px; font-weight: 500; }
.bd-avail::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.bd-avail.off { background: #F1EDF3; color: #6E6673; }

.bd-stars { display: inline-flex; align-items: center; gap: 2px; color: var(--bd-star); font-size: 12.5px; line-height: 1; }
.bd-stars .off { color: #DDD5E3; }
.bd-rate { display: inline-flex; align-items: center; gap: 7px; }
.bd-rate b { font-weight: 600; color: var(--bd-ink); }

.bd-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 12px; }
.bd-price .amt { font-size: 36px; font-weight: 600; line-height: 1.1; letter-spacing: -.02em; color: var(--bd-ink); }
.bd-price .amt small { font-size: .55em; font-weight: 500; margin-right: 2px; vertical-align: .32em; color: var(--bd-muted); }
.bd-price .note { font-size: 12.5px; color: var(--bd-muted); }

/* Reward highlight */
.bd-reward { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid #F0DEB9; border-radius: 16px; background: var(--bitzo-gold-soft, #FBF0DC); }
.bd-reward .ic { flex: none; width: 42px; height: 42px; border-radius: 12px; background: #fff; color: var(--bitzo-gold, #B9852A); display: inline-flex; align-items: center; justify-content: center; font-size: 18px; box-shadow: 0 1px 3px rgba(185,133,42,.25); }
.bd-reward .t { flex: 1; min-width: 0; font-size: 13px; color: #6A5220; line-height: 1.4; }
.bd-reward .t b { display: block; font-size: 16px; font-weight: 600; color: #4A3512; }
.bd-reward .bp-info { color: #A8853F; }
.bd-reward .bp-info:hover, .bd-reward .bp-info:focus-visible, .bd-reward .bp-info[aria-expanded="true"] { color: #6A4B0E; background: rgba(255,255,255,.7); }

/* Actions */
.bd-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
.bd-actions form { margin: 0; display: flex; }
.bd-actions .bd-btn { flex: 0 0 auto; }
.bd-actions .grow { flex: 1 1 200px; }
.bd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border: 1.5px solid var(--bd-line); border-radius: 12px; background: #fff; color: var(--bd-ink); font-size: 14px; font-weight: 500; line-height: 1; white-space: nowrap; cursor: pointer; transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease; }
.bd-btn:hover { border-color: var(--bd-primary); color: var(--bd-primary); }
.bd-btn:focus-visible { outline: 2px solid var(--bd-primary); outline-offset: 2px; }
.bd-btn-primary { background: var(--bd-primary); border-color: var(--bd-primary); color: #fff !important; }
.bd-btn-primary:hover { background: #4A0A80; border-color: #4A0A80; color: #fff; }
.bd-btn-wa i { color: #1FA855; font-size: 17px; }
.bd-btn-sm { min-height: 38px; padding: 0 16px; font-size: 13px; border-radius: 10px; }
.bd-btn-block { width: 100%; }
.bd-btn.save-btn.saved { border-color: #E4A0BE; background: #FDF1F6; color: #C2185B; }
.bd-btn.save-btn.saved i { color: #D81B60; }
.bd-btn.bitzo-follow-chip { border-radius: 10px; }
.bd-btn.bitzo-follow-chip.following { background: var(--bd-primary-soft); border-color: #D9C6EE; color: var(--bd-primary); }
.bd-share { position: relative; }
.bd-share .bitzo-share-menu { position: absolute; z-index: 30; top: calc(100% + 8px); right: 0; min-width: 190px; padding: 6px; background: #fff; border: 1px solid var(--bd-line); border-radius: 14px; box-shadow: 0 12px 30px rgba(28,22,32,.14); }
.bd-share .bitzo-share-menu[hidden] { display: none; }
.bd-share .bitzo-share-menu a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 9px; font-size: 13px; color: var(--bd-ink); }
.bd-share .bitzo-share-menu a:hover { background: var(--bd-primary-soft); color: var(--bd-primary); }
.bd-share .bitzo-share-menu i { width: 16px; text-align: center; color: var(--bd-muted); }

/* Trust row: only features that really exist */
.bd-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; padding-top: 18px; border-top: 1px solid var(--bd-line); font-size: 12.5px; color: var(--bd-muted); }
.bd-trust .it { display: inline-flex; align-items: center; gap: 8px; }
.bd-trust .it i { color: var(--bd-primary); font-size: 14px; }

/* ---------- Body: main + seller side ---------- */
.bd-body { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; padding-top: 28px; align-items: start; }
.bd-body.solo { grid-template-columns: minmax(0, 1fr); }
.bd-main { min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.bd-side { min-width: 0; position: sticky; top: calc(var(--bd-sticky, 116px) + 16px); display: flex; flex-direction: column; gap: 18px; }

.bd-nav { position: sticky; top: calc(var(--bd-sticky, 116px) + 8px); z-index: 20; display: flex; gap: 6px; padding: 8px; margin: 0 0 4px; background: rgba(255,255,255,.98); border: 1px solid var(--bd-line); border-radius: 14px; overflow-x: auto; scrollbar-width: none; }
.bd-nav::-webkit-scrollbar { display: none; }
.bd-nav a { flex: none; padding: 8px 16px; border-radius: 10px; font-size: 13px; font-weight: 500; color: var(--bd-muted); transition: background-color .15s ease, color .15s ease; }
.bd-nav a:hover { color: var(--bd-primary); }
.bd-nav a.on { background: var(--bd-primary-soft); color: var(--bd-primary); }

.bd-panel { padding: 26px 28px; border: 1px solid var(--bd-line); border-radius: 20px; background: #fff; scroll-margin-top: calc(var(--bd-sticky, 116px) + 72px); }
.bd-panel > h2 { margin: 0 0 16px; font-size: 18px; font-weight: 600; letter-spacing: -.005em; display: flex; align-items: center; gap: 8px; }
.bd-prose { font-size: 14.5px; line-height: 1.85; color: #4A4450; overflow-wrap: anywhere; }
.bd-prose p { margin: 0 0 12px; }
.bd-spec { margin: 18px 0 0; display: grid; grid-template-columns: 170px minmax(0, 1fr); border-top: 1px solid var(--bd-line); }
.bd-prose + .bd-spec { margin-top: 22px; }
.bd-spec dt, .bd-spec dd { margin: 0; padding: 13px 0; border-bottom: 1px solid var(--bd-line); font-size: 13.5px; }
.bd-spec dt { color: var(--bd-muted); }
.bd-spec dd { color: var(--bd-ink); font-weight: 500; }
.bd-spec dd a { color: var(--bd-primary); }
.bd-spec dd a:hover { text-decoration: underline; }
.bd-terms { margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: #F7F4EE; font-size: 13px; line-height: 1.7; color: #5A5460; }
.bd-terms b { color: var(--bd-ink); font-weight: 600; }

/* Reviews */
.bd-rsum { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 32px; align-items: center; padding-bottom: 22px; border-bottom: 1px solid var(--bd-line); }
.bd-rsum .big { text-align: center; }
.bd-rsum .big strong { display: block; font-size: 44px; font-weight: 600; line-height: 1; letter-spacing: -.02em; }
.bd-rsum .big .bd-stars { justify-content: center; margin: 8px 0 4px; font-size: 14px; }
.bd-rsum .big span { font-size: 12px; color: var(--bd-muted); }
.bd-bars { display: flex; flex-direction: column; gap: 7px; }
.bd-bar { display: grid; grid-template-columns: 34px minmax(0, 1fr) 40px; gap: 10px; align-items: center; font-size: 12px; color: var(--bd-muted); }
.bd-bar .trk { height: 7px; border-radius: 99px; background: #EFEAF3; overflow: hidden; }
.bd-bar .trk i { display: block; height: 100%; background: var(--bd-star); border-radius: 99px; }
.bd-bar .pct { text-align: right; }
.bd-review { padding: 18px 0; border-bottom: 1px solid var(--bd-line); }
.bd-review:last-of-type { border-bottom: 0; }
.bd-review .h { display: flex; align-items: center; gap: 12px; }
.bd-review .h .av { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--bd-primary-soft); color: var(--bd-primary); font-weight: 600; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; }
.bd-review .h strong { display: block; font-size: 13.5px; font-weight: 600; }
.bd-review .h time { margin-left: auto; font-size: 12px; color: var(--bd-muted); }
.bd-review p { margin: 10px 0 0; font-size: 14px; line-height: 1.7; color: #4A4450; overflow-wrap: anywhere; }
.bd-reply { margin-top: 12px; padding: 12px 14px; border-left: 3px solid var(--bd-primary); border-radius: 0 10px 10px 0; background: #F7F4EE; font-size: 13px; line-height: 1.65; color: #5A5460; }
.bd-reply b { display: block; font-size: 12px; color: var(--bd-primary); font-weight: 600; margin-bottom: 2px; }
.bd-rfoot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding-top: 18px; font-size: 13px; color: var(--bd-muted); }
.bd-rfoot .note { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- Seller card (reusable) ---------- */
.bd-seller { border: 1px solid var(--bd-line); border-radius: 20px; background: #fff; padding: 22px; box-shadow: var(--bd-shadow); }
.bd-seller .top { display: flex; align-items: center; gap: 14px; }
.bd-seller .who { min-width: 0; flex: 1; }
.bd-seller .who small { display: block; font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--bd-muted); }
.bd-seller .who h3 { margin: 2px 0 0; font-size: 16px; font-weight: 600; line-height: 1.35; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.bd-seller .who h3 a:hover { color: var(--bd-primary); }
.bd-seller .where { display: block; margin-top: 2px; font-size: 12.5px; color: var(--bd-muted); }
.bd-seller .about { margin: 16px 0 0; font-size: 13.5px; line-height: 1.7; color: var(--bd-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bd-stats { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; margin-top: 18px; border: 1px solid var(--bd-line); border-radius: 14px; }
.bd-stats > div { padding: 11px 6px; text-align: center; min-width: 0; }
.bd-stats > div + div { border-left: 1px solid var(--bd-line); }
.bd-stats b { display: block; font-size: 15px; font-weight: 600; line-height: 1.25; }
.bd-stats b i { color: var(--bd-star); font-size: 12px; margin-left: 2px; }
.bd-stats span { display: block; margin-top: 2px; font-size: 11px; color: var(--bd-muted); }
.bd-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.bd-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--bd-line); border-radius: 999px; font-size: 12px; font-weight: 500; color: #4A4450; background: #FBF9F6; transition: border-color .15s ease, color .15s ease, background-color .15s ease; }
.bd-chip i { color: var(--bd-primary); font-size: 11px; }
a.bd-chip:hover { border-color: var(--bd-primary); color: var(--bd-primary); background: var(--bd-primary-soft); }
.bd-chip.gold { background: var(--bitzo-gold-soft, #FBF0DC); border-color: #F0DEB9; color: #6A5220; }
.bd-chip.gold i { color: var(--bitzo-gold, #B9852A); }
.bd-seller .btns { display: flex; gap: 10px; margin-top: 18px; }
.bd-seller .btns form { margin: 0; flex: 0 0 auto; display: flex; }
.bd-seller .btns .bd-btn { flex: 1; }
.bd-seller.compact { padding: 16px; border-radius: 16px; box-shadow: none; }

/* ---------- Section heads + rails ---------- */
.bd-section { margin-top: 56px; }
.bd-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.bd-sec-head h2 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.bd-sec-head p { margin: 4px 0 0; font-size: 13.5px; color: var(--bd-muted); }
.bd-sec-head .more { flex: none; font-size: 13.5px; font-weight: 500; color: var(--bd-primary); white-space: nowrap; padding: 6px 2px; }
.bd-sec-head .more:hover { text-decoration: underline; }

.bd-rail-wrap { position: relative; }
.bd-rail { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 2px 14px; margin: 0 -2px; scrollbar-width: none; overscroll-behavior-x: contain; }
.bd-rail::-webkit-scrollbar { display: none; }
.bd-rail > * { flex: 0 0 calc((100% - 54px) / 4); scroll-snap-align: start; min-width: 0; }
.bd-rail-btn { position: absolute; top: 38%; width: 42px; height: 42px; display: none; align-items: center; justify-content: center; border: 1px solid var(--bd-line); border-radius: 50%; background: #fff; color: var(--bd-ink); box-shadow: 0 4px 14px rgba(28,22,32,.14); cursor: pointer; z-index: 3; transition: color .15s ease, border-color .15s ease, opacity .15s ease; }
.bd-rail-btn:hover { color: var(--bd-primary); border-color: var(--bd-primary); }
.bd-rail-btn.prev { left: -14px; }
.bd-rail-btn.next { right: -14px; }
.bd-rail-btn[disabled] { opacity: 0; pointer-events: none; }
@media (hover: hover) and (pointer: fine) { .bd-rail-wrap.scrolls .bd-rail-btn { display: inline-flex; } }

/* ---------- Cards (product / service / offer / reward) ---------- */
.bd-card { position: relative; display: flex; flex-direction: column; border: 1px solid var(--bd-line); border-radius: 18px; background: #fff; overflow: hidden; transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease; }
.bd-card:hover { box-shadow: 0 10px 28px rgba(28,22,32,.1); border-color: #D9CCE8; transform: translateY(-2px); }
.bd-card-media { position: relative; display: block; aspect-ratio: 1 / 1; background: #F7F4EE; overflow: hidden; }
.bd-card-media.wide { aspect-ratio: 4 / 3; }
.bd-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.bd-card:hover .bd-card-media img { transform: scale(1.04); }
.bd-card-media .empty { display: flex; align-items: center; justify-content: center; height: 100%; color: #C2BAC7; font-size: 32px; }
.bd-card-media .bitzo-premium-badge { top: 10px; left: 10px; font-size: 10px; padding: 3px 8px; }
.bd-card-tag { position: absolute; left: 10px; bottom: 10px; padding: 4px 10px; border-radius: 999px; background: #fff; color: var(--bd-primary); font-size: 11.5px; font-weight: 600; box-shadow: 0 2px 8px rgba(28,22,32,.12); }
.bd-card-save { position: absolute; top: 10px; right: 10px; margin: 0; z-index: 3; }
.bd-card-save button { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.96); color: #5A5460; font-size: 15px; cursor: pointer; box-shadow: 0 2px 8px rgba(28,22,32,.14); transition: color .15s ease, transform .15s ease; }
.bd-card-save button:hover { color: #D81B60; transform: scale(1.06); }
.bd-card-save button.saved { color: #D81B60; }
.bd-card-body { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px 16px; flex: 1; }
.bd-card-seller { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 12px; color: var(--bd-muted); }
.bd-card-seller a { display: inline-flex; align-items: center; gap: 7px; min-width: 0; font-weight: 500; color: #4A4450; }
.bd-card-seller a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bd-card-seller a:hover { color: var(--bd-primary); }
.bd-card-seller .city { flex: none; padding-left: 8px; border-left: 1px solid var(--bd-line); }
.bd-card h3 { margin: 0; font-size: 14.5px; font-weight: 500; line-height: 1.45; letter-spacing: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.9em; }
.bd-card h3 a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.bd-card-seller { position: relative; z-index: 2; }
/* bug fix: this used to be grouped with .bd-card-seller above, which reset its position back to "relative" and
   dropped it out of its top-right overlay spot (its own position: absolute; z-index: 3 rule at the top of this
   file already sits above the full-card click overlay, so it never needed z-index: 2 here in the first place). */
.bd-card-price { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.bd-card-price small { font-size: 12px; font-weight: 500; color: var(--bd-muted); }
.bd-card-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.bd-card-rate { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 500; color: #4A4450; }
.bd-card-rate i { color: var(--bd-star); font-size: 11px; }
.bd-card-rate span { color: var(--bd-muted); font-weight: 400; }
.bd-pts { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: var(--bitzo-gold-soft, #FBF0DC); color: #7A5B1E; font-size: 11.5px; font-weight: 500; }
.bd-pts i { font-size: 11px; color: var(--bitzo-gold, #B9852A); }
.bd-card-note { font-size: 12px; color: var(--bd-muted); display: flex; align-items: center; gap: 6px; }
.bd-card-note i { font-size: 11px; }

/* ---------- Status chips ---------- */
.bd-status { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 500; background: var(--bd-ok-soft); color: var(--bd-ok); }
.bd-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.bd-status.upcoming { background: #EAF1FB; color: #1D5FB0; }
.bd-status.expired, .bd-status.inactive { background: #F1EDF3; color: #6E6673; }
.bd-status.soon { background: #FDF0E3; color: #B45309; }

/* ---------- Offer / reward hero pieces ---------- */
.bd-offer-visual { position: relative; border: 1px solid var(--bd-line); border-radius: 22px; overflow: hidden; background: #F7F4EE; aspect-ratio: 4 / 3; box-shadow: var(--bd-shadow); }
.bd-offer-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bd-offer-visual .empty { height: 100%; display: flex; align-items: center; justify-content: center; color: #C2BAC7; font-size: 56px; }
.bd-offer-visual .bitzo-premium-badge { top: 14px; left: 14px; }
.bd-offer-badge { position: absolute; right: 16px; bottom: 16px; padding: 12px 20px; border-radius: 14px; background: var(--bd-primary); color: #fff; font-size: 22px; font-weight: 600; line-height: 1.1; box-shadow: 0 6px 18px rgba(91,12,154,.3); }
.bd-deal { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid #D9C6EE; border-radius: 16px; background: var(--bd-primary-soft); }
.bd-deal .big { font-size: 30px; font-weight: 600; line-height: 1.1; color: var(--bd-primary); letter-spacing: -.01em; }
.bd-deal .sub { font-size: 12.5px; color: #5A4A70; line-height: 1.4; }
.bd-valid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bd-valid > div { padding: 12px 14px; border: 1px solid var(--bd-line); border-radius: 14px; background: #fff; }
.bd-valid small { display: block; font-size: 11.5px; color: var(--bd-muted); }
.bd-valid b { display: block; margin-top: 2px; font-size: 14px; font-weight: 600; }
.bd-valid .full { grid-column: 1 / -1; }
.bd-valid .left { color: #B45309; }

.bd-points { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.bd-points .amt { font-size: 40px; font-weight: 600; line-height: 1.05; letter-spacing: -.02em; color: var(--bitzo-gold, #B9852A); }
.bd-points .lbl { font-size: 14px; color: var(--bd-muted); }
.bd-progress { padding: 16px 18px; border: 1px solid var(--bd-line); border-radius: 16px; background: #fff; }
.bd-progress .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; }
.bd-progress .row b { font-weight: 600; }
.bd-progress .track { height: 9px; margin-top: 12px; border-radius: 99px; background: #EFEAF3; overflow: hidden; }
.bd-progress .track i { display: block; height: 100%; border-radius: 99px; background: var(--bd-primary); }
.bd-progress.ready { border-color: #BFE3CD; background: var(--bd-ok-soft); color: var(--bd-ok); }
.bd-progress .note { margin: 10px 0 0; font-size: 12.5px; color: var(--bd-muted); line-height: 1.6; }
.bd-alert { padding: 12px 16px; border-radius: 12px; background: #FDECEC; color: #B42318; font-size: 13px; }

/* ---------- (i) popover (same look as the panels) ---------- */
.bd .bp-info { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; padding: 0; margin: 0 0 0 2px; border: 0; border-radius: 50%; background: transparent; color: #9A90A8; font-size: 15px; line-height: 1; cursor: help; vertical-align: middle; flex: none; transition: color .15s ease, background-color .15s ease; }
.bd .bp-info:hover, .bd .bp-info:focus-visible, .bd .bp-info[aria-expanded="true"] { color: #5B0C9A; background: #F3EEFB; outline: none; }
.bd .bp-info i { pointer-events: none; }
.bp-pop { position: absolute; z-index: 11800; max-width: 320px; min-width: 180px; padding: 12px 14px; border-radius: 12px; background: #221B2B; color: #F5F2F8; font-family: 'Poppins', sans-serif; font-size: 12.5px; font-weight: 400; line-height: 1.55; text-align: left; box-shadow: 0 12px 30px rgba(28,22,32,.28); opacity: 0; transform: translateY(4px); transition: opacity .12s ease, transform .12s ease; pointer-events: none; }
.bp-pop.show { opacity: 1; transform: none; pointer-events: auto; }
.bp-pop .t { display: block; font-weight: 600; font-size: 13px; margin-bottom: 4px; color: #fff; }
.bp-pop::after { content: ''; position: absolute; left: var(--bp-arrow, 24px); width: 10px; height: 10px; background: inherit; transform: rotate(45deg); }
.bp-pop.below::after { top: -4px; }
.bp-pop.above::after { bottom: -4px; }

/* ---------- Business hub ---------- */
.bd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; }
.bd-stage.wide { aspect-ratio: 3 / 1; }
.bd-stage.cover .bd-stage-img { object-fit: cover; }
.bd-hub-gallery { padding-top: 18px; }
.bd-hub-top { display: flex; align-items: flex-start; gap: 24px; padding: 26px 0 6px; flex-wrap: wrap; }
.bd-hub-top .bd-logo { width: 104px; height: 104px; border-radius: 26px; font-size: 38px; background: #fff; box-shadow: var(--bd-shadow); }
.bd-hub-top .txt { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.bd-hub-top h1 { margin: 0; font-size: 30px; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.bd-hub-top h1 .bitzo-premium-badge { position: static; }
.bd-hub-kind { font-size: 13.5px; color: var(--bd-muted); }
.bd-hub-kind a:hover { color: var(--bd-primary); }
.bd-verified { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: var(--bd-ok-soft); color: var(--bd-ok); font-size: 12px; font-weight: 500; }
.bd-open { color: var(--bd-ok); font-weight: 500; }
.bd-open.closed { color: #B42318; }
.bd-hub-actions { display: flex; flex-wrap: wrap; gap: 10px; padding: 14px 0 4px; }
.bd-hub-actions form { margin: 0; display: flex; }
.bd-hub-actions .bd-btn { min-height: 42px; padding: 0 18px; font-size: 13.5px; }
.bd-btn.bd-btn-marked { border-color: var(--bd-primary); color: var(--bd-primary); background: var(--bd-primary-soft); }
.bd-hours { margin-top: 20px; padding: 16px 18px; border: 1px solid var(--bd-line); border-radius: 14px; background: #FBF9F6; font-size: 13.5px; }
.bd-hours .row { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; color: var(--bd-muted); }
.bd-hours .row b { color: var(--bd-ink); font-weight: 500; }
.bd-hours .st { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 6px; font-weight: 500; }
.bd-hub-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 16px; }
.bd-hub-panel-head h2 { margin: 0; }
.bd-panel .bd-hub-panel-head h2 { font-size: 18px; font-weight: 600; }
.bd-slab { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--bd-line); font-size: 13.5px; }
.bd-slab:last-child { border-bottom: 0; }
.bd-slab .pts { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: var(--bitzo-gold-soft, #FBF0DC); color: #7A5B1E; font-weight: 500; font-size: 12.5px; white-space: nowrap; }
.bd-rwrow { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--bd-line); }
.bd-rwrow:last-child { border-bottom: 0; }
.bd-rwrow .ic { flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--bitzo-gold-soft, #FBF0DC); color: var(--bitzo-gold, #B9852A); display: inline-flex; align-items: center; justify-content: center; }
.bd-rwrow .t { flex: 1; min-width: 0; }
.bd-rwrow .t b { display: block; font-size: 14px; font-weight: 600; }
.bd-rwrow .t span { font-size: 12.5px; color: var(--bd-muted); }
.bd-rwrow a.t:hover b { color: var(--bd-primary); }
.bd-pill { flex: none; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 500; background: #F1EDF3; color: #6E6673; white-space: nowrap; }
.bd-pill.ok { background: var(--bd-ok-soft); color: var(--bd-ok); }
.bd-pill.wait { background: #FDF0E3; color: #B45309; }
.bd-contact { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.bd-contact li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--bd-line); font-size: 13.5px; min-width: 0; }
.bd-contact li:last-child { border-bottom: 0; }
.bd-contact i { flex: none; width: 18px; text-align: center; color: var(--bd-primary); }
.bd-contact a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--bd-ink); }
.bd-contact a:hover { color: var(--bd-primary); }
.bd-side .bd-panel { padding: 22px; }
.bd-side .bd-panel > h2 { font-size: 16px; }
.bd-map { width: 100%; height: 190px; border: 0; border-radius: 14px; margin-bottom: 12px; background: #EFEAF3; }
.bd-addr { margin: 0 0 12px; font-size: 13px; line-height: 1.6; color: var(--bd-muted); }

.bd-review-form { margin-top: 16px; padding: 18px; border: 1px solid var(--bd-line); border-radius: 14px; background: #FBF9F6; }
.bd-review-form[hidden] { display: none; }
.bd-review-form textarea { width: 100%; min-height: 96px; margin: 12px 0; padding: 12px 14px; border: 1.5px solid var(--bd-line); border-radius: 12px; font-size: 14px; resize: vertical; background: #fff; }
.bd-review-form textarea:focus { outline: none; border-color: var(--bd-primary); box-shadow: 0 0 0 3px var(--bd-primary-soft); }
.bd-note-ok { color: var(--bd-ok); font-weight: 500; font-size: 13px; margin: 10px 0 0; }
.bd-note-err { color: #B42318; font-weight: 500; font-size: 13px; margin: 10px 0 0; }

/* ---------- Social post page ---------- */
.bd-post-layout { display: grid; grid-template-columns: minmax(0, 640px) minmax(0, 380px); gap: 40px; justify-content: center; align-items: start; padding-top: 18px; }
.bd-post-layout .bitzo-feed-wrap { max-width: none; margin: 0; padding: 0; }
.bd-post { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.bd-post-tile { position: relative; display: flex; flex-direction: column; border: 1px solid var(--bd-line); border-radius: 18px; background: #fff; overflow: hidden; transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease; }
.bd-post-tile:hover { box-shadow: 0 10px 28px rgba(28,22,32,.1); border-color: #D9CCE8; transform: translateY(-2px); }
.bd-post-tile .media { display: block; aspect-ratio: 4 / 3; background: #F7F4EE; overflow: hidden; }
.bd-post-tile .media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bd-post-tile .media.text { display: flex; align-items: center; justify-content: center; padding: 18px; font-size: 13.5px; line-height: 1.6; color: #5A5460; background: var(--bd-primary-soft); text-align: center; }
.bd-post-tile .body { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px 16px; }
.bd-post-tile .cap { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--bd-ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bd-post-tile .cap a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.bd-post-tile .foot { display: flex; align-items: center; gap: 14px; font-size: 12px; color: var(--bd-muted); }
.bd-post-tile .foot i { margin-right: 4px; }
.bd-post-tile .foot time { margin-left: auto; }
/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.bd-hero { gap: 36px; }
	.bd-body { grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; }
	.bd-rail > * { flex-basis: calc((100% - 36px) / 3); }
}
@media (max-width: 900px) {
	.bd-hero { grid-template-columns: minmax(0, 1fr); gap: 22px; padding-top: 8px; }
	.bd-gallery { position: static; }
	.bd-body { grid-template-columns: minmax(0, 1fr); }
	.bd-side { position: static; }
	.bd-title { font-size: 24px; }
	.bd-price .amt { font-size: 30px; }
	.bd-rail > * { flex-basis: calc((100% - 18px) / 2.15); }
	.bd-section { margin-top: 44px; }
	.bd-sec-head h2 { font-size: 19px; }
	.bd-stage.wide { aspect-ratio: 16 / 10; }
	.bd-hub-top { gap: 16px; padding-top: 18px; }
	.bd-hub-top .bd-logo { width: 76px; height: 76px; border-radius: 20px; font-size: 28px; }
	.bd-hub-top h1 { font-size: 23px; }
	.bd-post-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.bd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
	.bd-lightbox { padding: 56px 12px; }
}
@media (max-width: 600px) {
	.bd-panel { padding: 20px 18px; border-radius: 16px; }
	.bd-spec { grid-template-columns: 120px minmax(0, 1fr); }
	.bd-rsum { grid-template-columns: minmax(0, 1fr); gap: 18px; }
	.bd-rail > * { flex-basis: 68%; }
	.bd-actions .grow { flex-basis: 100%; }
	.bd-actions .bd-btn { min-height: 48px; }
	.bd-actions > form, .bd-actions > .bd-share { flex: 1 1 calc(50% - 5px); }
	.bd-actions > form .bd-btn, .bd-actions > .bd-share > .bd-btn { width: 100%; }
	.bd-thumb { flex-basis: 64px; width: 64px; height: 64px; }
	.bd-stage { border-radius: 18px; }
	.bd-stage-btn { width: 36px; height: 36px; }
	.bd-seller { padding: 18px; }
	.bd-crumbs li:last-child { max-width: 200px; }
	.bd-valid { grid-template-columns: 1fr; }
	.bd-sec-head { align-items: flex-start; flex-direction: column; gap: 4px; }
	.bd-hub-actions > form, .bd-hub-actions > .bd-share { flex: 1 1 calc(50% - 5px); }
	.bd-hub-actions .bd-btn { width: 100%; }
	.bd-hub-actions > a.bd-btn { flex: 1 1 calc(50% - 5px); }
}
@media (prefers-reduced-motion: reduce) {
	.bd-card, .bd-card-media img, .bd-stage-img, .bd-rail { transition: none; scroll-behavior: auto; }
	.bd-card:hover { transform: none; }
}

/* Reward page */
.bd-offer-badge.gold { background: #fff; color: #7A5B1E; border: 1px solid #F0DEB9; box-shadow: 0 6px 18px rgba(28,22,32,.14); }
.bd-offer-badge.gold small { display: block; font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--bitzo-gold, #B9852A); }
.bd-modal-note { font-size: 13px; line-height: 1.7; color: var(--bd-muted); }

.bd-hub-gallery .bd-gallery { position: static; }
.bd-main .bd-section { margin-top: 34px; }
.bd-section, .bd-hub-top { scroll-margin-top: calc(var(--bd-sticky, 116px) + 72px); }

/* ---- YouTube videos on the business page ---- */
.bd-videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.bd-videos.n-1 { grid-template-columns: minmax(0, 1fr); max-width: 620px; }
.bd-video { position: relative; display: block; aspect-ratio: 16 / 9; border: 1px solid var(--bd-line); border-radius: var(--bd-r); background: #15121A; overflow: hidden; cursor: pointer; }
.bd-video img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease, opacity .2s ease; }
.bd-video:hover img { transform: scale(1.03); opacity: .92; }
.bd-video .play { position: absolute; left: 50%; top: 50%; width: 62px; height: 62px; margin: -31px 0 0 -31px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.96); color: #DC2626; font-size: 22px; padding-left: 4px; box-shadow: 0 6px 22px rgba(0,0,0,.35); transition: transform .18s ease; }
.bd-video:hover .play { transform: scale(1.08); }
.bd-video:focus-visible { outline: 2px solid var(--bd-primary); outline-offset: 2px; }
.bd-video.is-playing { cursor: default; }
.bd-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 640px) { .bd-videos { grid-template-columns: minmax(0, 1fr); } .bd-video .play { width: 54px; height: 54px; margin: -27px 0 0 -27px; font-size: 19px; } }
@media (prefers-reduced-motion: reduce) { .bd-video img, .bd-video .play { transition: none; } }

/* ---- Business Summary panel ---- */
.bd-panel .bd-prose + .bd-spec { margin-top: 18px; }

/* ==========================================================================
   Business profile: cover banner, sections stacked on the left, section menu on the right
   ========================================================================== */

.bd-hub-body { grid-template-columns: 288px minmax(0, 1fr); gap: 28px; }
.bd-hub-body .bd-main { gap: 22px; }
.bd .bd-hub-body .bd-sect { margin: 0; padding: 24px 26px; scroll-margin-top: calc(var(--bd-sticky, 116px) + 16px); }
.bd-hub-body .bd-sect > h2, .bd-hub-body .bd-sect .bd-sec-head h2 { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.bd-hub-body .bd-sect > h2 { margin-bottom: 16px; }
.bd-hub-body .bd-sect .bd-sec-head { margin-bottom: 18px; }
.bd-hub-body .bd-sect .bd-sec-head p { font-size: 13px; }

/* right-hand menu */
.bd-hub-body .bd-menu-col { position: sticky; top: calc(var(--bd-sticky, 116px) + 16px); align-self: start; min-width: 0; display: block; }
.bd-menu { display: flex; flex-direction: column; gap: 2px; padding: 12px; border: 1px solid var(--bd-line); border-radius: var(--bd-r, 14px); background: #fff; }
.bd-menu-title { padding: 6px 12px 10px; font-size: 11.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--bd-muted); }
.bd-menu a { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--bd-ink); transition: background-color .15s ease, color .15s ease; }
.bd-menu a i { flex: none; width: 20px; text-align: center; font-size: 14px; color: var(--bd-muted); transition: color .15s ease; }
.bd-menu a span { flex: 1; min-width: 0; }
.bd-menu a em { flex: none; font-style: normal; font-size: 11.5px; font-weight: 600; line-height: 1.5; padding: 0 8px; border-radius: 999px; background: #F1EFF4; color: var(--bd-muted); }
.bd-menu a:hover { background: var(--bd-primary-soft); color: var(--bd-primary); }
.bd-menu a:hover i { color: var(--bd-primary); }
.bd-menu a.on { background: var(--bd-primary-soft); color: var(--bd-primary); font-weight: 600; box-shadow: inset 3px 0 0 var(--bd-primary); }
.bd-menu a.on i { color: var(--bd-primary); }
.bd-menu a.on em { background: #fff; color: var(--bd-primary); }

/* About: the Business Summary sits inside it */

/* Photos mosaic: one big picture and up to four small ones, "+N" on the last */
.bd-photos { display: grid; gap: 8px; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); aspect-ratio: 2 / 1; }
.bd-photos.n-1 { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); aspect-ratio: 16 / 8; }
.bd-photos.n-2 { grid-template-rows: minmax(0, 1fr); grid-template-columns: repeat(2, minmax(0, 1fr)); aspect-ratio: 2 / 1; }
.bd-photos.n-3 > .bd-photo:first-child, .bd-photos.n-4 > .bd-photo:first-child, .bd-photos.n-5 > .bd-photo:first-child { grid-column: 1 / span 2; grid-row: 1 / span 2; }
.bd-photos.n-3 > .bd-photo:nth-child(n+2) { grid-column: 3 / span 2; }
.bd-photos.n-4 > .bd-photo:nth-child(2) { grid-column: 3 / span 2; }
.bd-photo { position: relative; display: block; min-width: 0; min-height: 0; overflow: hidden; border-radius: 12px; background: #EFEDF4; cursor: zoom-in; }
.bd-photo[hidden] { display: none; }
.bd-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.bd-photo:hover img { transform: scale(1.05); }
.bd-photo:focus-visible { outline: 2px solid var(--bd-primary); outline-offset: 2px; }
.bd-photo .more { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(21, 18, 26, .55); color: #fff; font-size: 24px; font-weight: 600; }

/* Contact: map + address on one side, tappable contact rows on the other, weekly hours underneath */
.bd-cgrid { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
.bd-cgrid.two { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: start; }
.bd-cloc .bd-map { display: block; width: 100%; height: 250px; margin: 0 0 12px; border: 1px solid var(--bd-line); border-radius: 14px; background: #EFEAF3; }
.bd-addrcard { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--bd-line); border-radius: 12px; background: #FBFAFD; }
.bd-addrcard .ic { flex: none; width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: var(--bd-primary-soft); color: var(--bd-primary); font-size: 14px; }
.bd-addrcard .tx { min-width: 0; }
.bd-addrcard small, .bd-crows small { display: block; font-size: 11.5px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--bd-muted); }
.bd-addrcard p { margin: 2px 0 0; font-size: 14px; line-height: 1.55; color: var(--bd-ink); overflow-wrap: anywhere; }
.bd-cloc-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.bd-cloc-actions .bd-btn { min-height: 40px; padding: 0 16px; font-size: 13.5px; }
.bd-cloc-actions .bd-btn.done { border-color: var(--bd-ok); color: var(--bd-ok); }

.bd-crows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.bd-crows li { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 11px 12px 11px 14px; border: 1px solid var(--bd-line); border-radius: 12px; background: #fff; transition: border-color .15s ease, box-shadow .15s ease; }
.bd-crows li:hover { border-color: #CDB8E4; box-shadow: 0 2px 10px rgba(28, 22, 32, .05); }
.bd-crows .ic { flex: none; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--bd-primary-soft); color: var(--bd-primary); font-size: 15px; }
.bd-crows .ic.wa { background: #E7F7EE; color: #1FA855; font-size: 18px; }
.bd-crows .tx { flex: 1; min-width: 0; }
.bd-crows .tx a { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14.5px; font-weight: 500; color: var(--bd-ink); }
.bd-crows .tx a:hover { color: var(--bd-primary); }
.bd-crows .act { flex: none; padding: 7px 16px; border: 1.5px solid var(--bd-primary); border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--bd-primary); background: #fff; transition: background-color .15s ease, color .15s ease; }
.bd-crows .act:hover { background: var(--bd-primary); color: #fff; }

.bd-social { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.bd-social span { margin-right: 4px; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--bd-muted); }
.bd-social a { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--bd-line); border-radius: 50%; background: #fff; color: var(--bd-ink); font-size: 17px; transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease; }
.bd-social a:hover { transform: translateY(-2px); color: #fff; border-color: transparent; }
.bd-social a.ig:hover { background: #C13584; }
.bd-social a.fb:hover { background: #1877F2; }
.bd-social a.yt:hover { background: #E02020; }

.bd-hrs { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--bd-line); }
.bd-hrs-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.bd-hrs-head h3 { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; }
.bd-hrs-head h3 i { color: var(--bd-primary); font-size: 14px; }
.bd-hrs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
.bd-hrs-grid .d { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border: 1px solid var(--bd-line); border-radius: 10px; font-size: 13.5px; color: var(--bd-muted); }
.bd-hrs-grid .d b { font-weight: 500; color: var(--bd-ink); white-space: nowrap; }
.bd-hrs-grid .d.off b { color: var(--bd-muted); }
.bd-hrs-grid .d.today { border-color: #CDB8E4; background: var(--bd-primary-soft); color: var(--bd-ink); font-weight: 600; }
.bd-hrs-grid .d.today b { font-weight: 600; color: var(--bd-primary); }
.bd-hrs-grid em { margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: #fff; color: var(--bd-primary); font-style: normal; font-size: 11px; font-weight: 600; }
@media (max-width: 1100px) {
	.bd-hub-body { grid-template-columns: 250px minmax(0, 1fr); gap: 22px; }
}
@media (max-width: 900px) {
	.bd-hub-body { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.bd-hub-body .bd-menu-col { position: sticky; top: calc(var(--bd-sticky, 116px) + 6px); z-index: 20; }
	.bd-menu { flex-direction: row; gap: 6px; padding: 8px; overflow-x: auto; scrollbar-width: none; border-radius: 12px; }
	.bd-menu::-webkit-scrollbar { display: none; }
	.bd-menu-title { display: none; }
	.bd-menu a { flex: none; padding: 8px 14px; border-radius: 999px; white-space: nowrap; gap: 8px; }
	.bd-menu a i { width: auto; font-size: 13px; }
	.bd-menu a.on { box-shadow: none; }
	.bd .bd-hub-body .bd-sect { padding: 20px 18px; scroll-margin-top: calc(var(--bd-sticky, 116px) + 70px); }
	.bd-cgrid.two { grid-template-columns: minmax(0, 1fr); }
	.bd-cloc .bd-map { height: 210px; }
	.bd-hrs-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
	.bd-photos { gap: 6px; }
}
@media (prefers-reduced-motion: reduce) { .bd-photo img { transition: none; } }
@media (max-width: 480px) {
	.bd-crows li { flex-wrap: wrap; }
	.bd-crows .tx { flex-basis: calc(100% - 100px); }
	.bd-social a { width: 40px; height: 40px; }
	.bd-hrs-grid .d { padding: 9px 12px; }
}

/* About: readable description (with Read more), then Business Summary as fact tiles + payment chips */
.bd-about-text { font-size: 15px; line-height: 1.85; color: #3B3542; overflow-wrap: anywhere; }
.bd-about-text.is-clamped { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.bd-readmore { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 4px 0; border: 0; background: none; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--bd-primary); cursor: pointer; }
.bd-readmore[hidden] { display: none; }
.bd-readmore i { font-size: 11px; transition: transform .2s ease; }
.bd-readmore[aria-expanded="true"] i { transform: rotate(180deg); }
.bd-readmore:hover { text-decoration: underline; }

.bd-glance { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--bd-line); }
.bd-sect > .bd-sec-head + .bd-glance { margin-top: 0; padding-top: 0; border-top: 0; }
.bd-glance > h3 { margin: 0 0 14px; font-size: 16px; font-weight: 600; letter-spacing: -.005em; }
.bd-sum { margin: 0 0 16px; padding: 12px 16px; border-left: 3px solid var(--bd-primary); border-radius: 0 10px 10px 0; background: var(--bd-primary-soft); font-size: 14.5px; line-height: 1.7; color: var(--bd-ink); }
.bd-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(178px, 1fr)); gap: 12px; }
.bd-facts .f { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 14px; border: 1px solid var(--bd-line); border-radius: 12px; background: #fff; }
.bd-facts .ic { flex: none; width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--bd-primary-soft); color: var(--bd-primary); font-size: 17px; }
.bd-facts small, .bd-pay small { display: block; font-size: 12px; font-weight: 500; color: var(--bd-muted); line-height: 1.35; }
.bd-facts b { display: block; margin-top: 2px; font-size: 16px; font-weight: 600; line-height: 1.3; color: var(--bd-ink); }
.bd-facts em { display: block; margin-top: 1px; font-style: normal; font-size: 12px; color: var(--bd-ok); }
.bd-pay { margin-top: 18px; }
.bd-pay small { margin-bottom: 10px; }
.bd-pay ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.bd-pay li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 12px; border: 1px solid var(--bd-line); border-radius: 999px; background: #fff; font-size: 13.5px; font-weight: 500; color: var(--bd-ink); }
.bd-pay li i { font-size: 13px; color: var(--bd-primary); }

/* Business profile: stat tiles (icon + number + label; a tile jumps to its section) */
.bd-hub-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(168px, 1fr)); gap: 12px; margin: 16px 0 4px; }
.bd-hub-stats .st { --st-bg: #F4EEFB; --st-c: #5B0C9A; display: flex; align-items: center; gap: 14px; min-width: 0; padding: 14px 16px; border: 1px solid var(--bd-line); border-radius: 14px; background: #fff; color: inherit; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.bd-hub-stats a.st:hover { transform: translateY(-2px); border-color: var(--st-c); box-shadow: 0 8px 22px rgba(28, 22, 32, .08); }
.bd-hub-stats a.st:focus-visible { outline: 2px solid var(--st-c); outline-offset: 2px; }
.bd-hub-stats .ic { flex: none; width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; border-radius: 14px; background: var(--st-bg); color: var(--st-c); font-size: 19px; transition: background-color .18s ease, color .18s ease; }
.bd-hub-stats a.st:hover .ic { background: var(--st-c); color: #fff; }
.bd-hub-stats .tx { min-width: 0; }
.bd-hub-stats b { display: block; font-size: 22px; font-weight: 600; line-height: 1.15; letter-spacing: -.01em; color: var(--bd-ink); }
.bd-hub-stats small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 400; color: var(--bd-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bd-hub-stats .c-amber { --st-bg: #FDF3DC; --st-c: #C98A0B; }
.bd-hub-stats .c-blue { --st-bg: #EAF1FE; --st-c: #1D4ED8; }
.bd-hub-stats .c-teal { --st-bg: #E1F4F3; --st-c: #0E7C7B; }
.bd-hub-stats .c-coral { --st-bg: #FBE9E2; --st-c: #C2452A; }
.bd-hub-stats .c-pink { --st-bg: #FCE8F1; --st-c: #B8286B; }
@media (max-width: 640px) {
	.bd-hub-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.bd-hub-stats .st { gap: 11px; padding: 12px; }
	.bd-hub-stats .ic { width: 40px; height: 40px; font-size: 16px; border-radius: 12px; }
	.bd-hub-stats b { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) { .bd-hub-stats .st, .bd-hub-stats .ic { transition: none; } .bd-hub-stats a.st:hover { transform: none; } }

/* ---- Chat button on product / service / offer / business pages ---- */
.bd-chat-form { margin: 0; display: flex; }
.bd-btn.bd-btn-chat { border-color: var(--bd-primary); color: var(--bd-primary); background: #fff; }
.bd-btn.bd-btn-chat:hover { background: var(--bd-primary); border-color: var(--bd-primary); color: #fff; }
.bd-btn.bd-btn-chat i { font-size: 15px; }
@media (max-width: 600px) { .bd-hub-actions > .bd-chat-form { flex: 1 1 calc(50% - 5px); } .bd-hub-actions .bd-chat-form .bd-btn { width: 100%; } }

/* customer profile photo on reviews */
.bd-review .h .av { overflow: hidden; }
.bd-review .h .av img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* rewards on a business profile: "Earn points" (bill slabs) + "Redeem your points" (clickable reward cards with a picture) */
.bd-rw-block + .bd-rw-block { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--bd-line); }
.bd-rw-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; margin-bottom: 16px; }
.bd-rw-h { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 12px; align-items: center; margin: 0 0 10px; font-size: 16px; font-weight: 600; }
.bd-rw-head .bd-rw-h { margin: 0; }
.bd-rw-h .ic { grid-row: 1 / span 2; width: 36px; height: 36px; border-radius: 11px; background: var(--bd-primary-soft); color: var(--bd-primary); display: inline-flex; align-items: center; justify-content: center; font-size: 14px; }
.bd-rw-h .ic.gold { background: var(--bitzo-gold-soft, #FBF0DC); color: var(--bitzo-gold, #B9852A); }
.bd-rw-h .tt { font-size: 16px; font-weight: 600; }
.bd-rw-h small { font-size: 12.5px; font-weight: 400; color: var(--bd-muted); }
.bd-rw-bal { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: var(--bitzo-gold-soft, #FBF0DC); color: #7A5B1E; font-size: 13px; }
.bd-rw-bal b { font-weight: 600; }
.bd-rw-login { display: inline-flex; align-items: center; gap: 7px; padding: 7px 15px; border: 1px solid var(--bd-line); border-radius: 999px; background: #fff; color: var(--bd-primary); font: inherit; font-size: 12.5px; font-weight: 500; cursor: pointer; transition: background-color .15s ease; }
.bd-rw-login:hover { background: var(--bd-primary-soft); }
.bd-rw-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.bd-rw { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--bd-line); border-radius: 16px; background: #fff; color: inherit; text-decoration: none; transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease; }
.bd-rw:hover, .bd-rw:focus-visible { border-color: #CDB8E4; box-shadow: 0 10px 26px rgba(91, 12, 154, .12); transform: translateY(-2px); }
.bd-rw.ready { border-color: #BFE3CB; }
.bd-rw.ready:hover, .bd-rw.ready:focus-visible { border-color: #86C99B; box-shadow: 0 10px 26px rgba(21, 128, 61, .14); }
.bd-rw-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #F4EEFB; }
.bd-rw-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bd-rw-media .empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 36px; color: #C7B3DC; }
.bd-rw-pts { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .96); color: #7A5B1E; font-size: 12.5px; font-weight: 600; box-shadow: 0 2px 8px rgba(0, 0, 0, .16); }
.bd-rw-body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 14px 15px 15px; }
.bd-rw-title { display: block; font-size: 15px; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.bd-rw-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 12.5px; line-height: 1.5; color: var(--bd-muted); }
.bd-rw-track { display: block; height: 6px; overflow: hidden; border-radius: 99px; background: #EFEDF4; }
.bd-rw-track i { display: block; height: 100%; border-radius: 99px; background: var(--bd-primary); }
.bd-rw-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 4px; }
.bd-rw-state { min-width: 0; font-size: 12px; font-weight: 500; color: var(--bd-muted); }
.bd-rw-state.ok { color: #15803D; }
.bd-rw-state.wait { color: #B45309; }
.bd-rw-cta { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; background: var(--bd-primary); color: #fff; font-size: 12.5px; font-weight: 600; }
.bd-rw-cta i { font-size: 11px; transition: transform .15s ease; }
.bd-rw:hover .bd-rw-cta i { transform: translateX(3px); }
.bd-rw.ready .bd-rw-cta { background: #15803D; }
@media (max-width: 520px) { .bd-rw-grid { grid-template-columns: 1fr; } }

/* "Report this business" - a small, deliberately unobtrusive link at the very end of a business profile */
.bd-report-row { display: flex; justify-content: center; padding: 22px 0 4px; }
.bd-report-link { display: inline-flex; align-items: center; gap: 7px; padding: 8px 6px; border: 0; background: transparent; color: var(--bd-muted); font: inherit; font-size: 12.5px; cursor: pointer; transition: color .15s ease; }
.bd-report-link:hover { color: #B42318; }
.bd-report-link.done { color: #16A34A; cursor: default; }

/* ---------- Contact section: single Google-map marker (business logo/initial), static - no click/selection states needed ---------- */
.bd-map-marker { position: absolute; transform: translate(-50%, -100%); pointer-events: none; }
.bd-map-marker .face { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; background: #fff; color: var(--mk, #5B0C9A); font-weight: 700; font-size: 15px; border: 3px solid var(--mk, #5B0C9A); box-shadow: 0 4px 10px rgba(27, 23, 33, .3); }
.bd-map-marker .face img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bd-map-marker::after { content: ''; position: absolute; left: 50%; bottom: -6px; width: 11px; height: 11px; transform: translateX(-50%) rotate(45deg); background: var(--mk, #5B0C9A); border-radius: 0 0 3px 0; z-index: -1; }
.bd-map-marker.pin .face { width: 28px; height: 28px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--mk, #5B0C9A); border-color: #fff; }
.bd-map-marker.pin::after { display: none; }
