/* BM Storefront — design tokens from the approved canvas. Everything is scoped under .bmsf* so Woodmart stays untouched. */
:root {
	--bm-orange: #F15A22;
	--bm-orange-deep: #C2410C;
	--bm-orange-soft: #FFF1EA;
	--bm-ink: #141414;
	--bm-text: #3E3E3E;
	--bm-muted: #5E5E5E;
	--bm-bg: #F7F6F4;
	--bm-surface: #FFFFFF;
	--bm-line: #E7E4DF;
	--bm-chip: #F3F1ED;
	--bm-green: #167A41;
	--bm-green-soft: #E8F5EC;
	--bm-green-ink: #11663A;
	--bm-radius: 20px;
	--bm-font: 'Inter', 'Hind Siliguri', system-ui, sans-serif;
}

/* Full-bleed even inside a boxed page container; sections keep their own 1240px width. */
.bmsf { width: auto; max-width: none !important; margin-left: calc(50% - 50vw) !important; margin-right: calc(50% - 50vw) !important; overflow-x: clip;
	background: var(--bm-bg); color: var(--bm-ink); font-family: var(--bm-font); font-size: 16px; line-height: 1.55; }
.bmsf *, .bmsf-cta *, .bmsf-trust *, .bmsf-sticky * { box-sizing: border-box; }
.bmsf h1, .bmsf h2, .bmsf h3 { font-family: var(--bm-font); color: var(--bm-ink); letter-spacing: -0.02em; margin: 0; }
.bmsf a { text-decoration: none; }
.bmsf img { max-width: 100%; height: auto; }
.bmsf-i { flex: 0 0 auto; }

.bmsf-sec { max-width: 1240px; margin: 0 auto; padding: 48px 20px 8px; }

/* ---------- Buttons ---------- */
.bmsf-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 999px; font: 600 15px/1.2 var(--bm-font); text-decoration: none !important; border: 1.5px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease; cursor: pointer; white-space: nowrap; }
.bmsf-btn:hover { transform: translateY(-1px); }
.bmsf-btn:focus-visible { outline: 3px solid var(--bm-orange); outline-offset: 2px; }
.bmsf-btn--wa { background: var(--bm-green); color: #fff !important; }
.bmsf-btn--wa:hover { background: #12693A; box-shadow: 0 6px 18px rgba(22,122,65,.25); }
.bmsf-btn--dark { background: var(--bm-ink); color: #fff !important; }
.bmsf-btn--outline { border-color: var(--bm-ink); color: var(--bm-ink) !important; background: transparent; }
.bmsf-btn--ghost { border-color: #D6D1C9; color: var(--bm-ink) !important; background: transparent; }
.bmsf-btn--lg { min-height: 54px; padding: 0 28px; font-size: 17px; }
.bmsf-btn--xl { min-height: 58px; width: 100%; font-size: 17px; font-weight: 700; }

/* ---------- Section heads ---------- */
.bmsf-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 22px; }
.bmsf-head h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 700; }
.bmsf-head p { margin: 4px 0 0; color: var(--bm-muted); font-size: 15px; }
.bmsf-head__link { font-weight: 600; font-size: 15px; color: var(--bm-orange-deep) !important; }
.bmsf-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--bm-green-ink); }
.bmsf-kicker i { width: 8px; height: 8px; border-radius: 99px; background: #1F9D55; }

/* ---------- Hero ---------- */
.bmsf-hero { display: flex; flex-wrap: wrap; gap: 44px; align-items: center; padding-top: 40px; }
.bmsf-hero__text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.bmsf-pill { align-self: flex-start; padding: 6px 14px; border-radius: 999px; background: var(--bm-orange-soft); color: #B3400F; font-size: 13px; font-weight: 600; }
.bmsf-hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.14; font-weight: 700; }
.bmsf-hero h1 em { font-style: normal; color: var(--bm-orange); }
.bmsf-lead { margin: 0; font-size: clamp(15px, 1.6vw, 19px); color: var(--bm-text); max-width: 540px; }
.bmsf-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.bmsf-ticks { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; color: var(--bm-text); }
.bmsf-ticks li { display: inline-flex; align-items: center; gap: 8px; }
.bmsf-ticks .bmsf-i { color: var(--bm-orange); stroke-width: 2.6; }
.bmsf-hero__media { flex: 1 1 500px; min-width: 0; position: relative; }
.bmsf-hero__img, .bmsf-hero__ph { width: 100%; height: clamp(260px, 36vw, 460px); object-fit: cover; border-radius: 28px; display: block; }
.bmsf-hero__ph { background: #ECE9E4; display: flex; align-items: center; justify-content: center; color: var(--bm-muted); }
.bmsf-quote { position: absolute; left: -20px; bottom: -22px; width: min(300px, 80%); margin: 0; padding: 16px 18px; background: #fff; border-radius: 18px; box-shadow: 0 12px 32px rgba(20,20,20,.12); }
.bmsf-quote figcaption { font-size: 12px; font-weight: 600; color: #B3400F; }
.bmsf-quote blockquote { margin: 6px 0 0; padding: 0; border: 0; font-size: 14px; color: #2A2A2A; font-style: normal; }

/* ---------- Finder ---------- */
.bmsf-finder { padding: 26px 30px; background: var(--bm-surface); border: 1px solid var(--bm-line); border-radius: 24px; display: flex; flex-direction: column; gap: 16px; }
.bmsf-finder__row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.bmsf-finder__label { flex: 0 0 130px; font-weight: 700; }
.bmsf-chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid #E0DCD5; background: var(--bm-bg); color: var(--bm-ink) !important; font-size: 15px; font-weight: 500; }
.bmsf-chip:hover { border-color: var(--bm-orange); color: var(--bm-orange-deep) !important; }
.bmsf-finder__note { margin: 0; font-size: 14px; color: var(--bm-muted); }

/* ---------- Product cards ---------- */
.bmsf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.bmsf-card { display: flex; flex-direction: column; background: var(--bm-surface); border: 1px solid var(--bm-line); border-radius: var(--bm-radius); overflow: hidden; transition: box-shadow .2s ease, transform .2s ease; }
.bmsf-card:hover { box-shadow: 0 14px 34px rgba(20,20,20,.08); transform: translateY(-2px); }
.bmsf-card__media { position: relative; display: block; aspect-ratio: 1 / 1; background: #F1EFEB; } /* store photos are square */
.bmsf-card__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bmsf-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.bmsf-card__title { font-size: 18px !important; line-height: 1.3; font-weight: 600 !important; }
.bmsf-card__title a { color: var(--bm-ink) !important; }
.bmsf-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.bmsf-chips li { padding: 3px 9px; border-radius: 8px; background: var(--bm-chip); font-size: 12.5px; color: var(--bm-text); }
.bmsf-card__price { margin: auto 0 0; font-size: 22px; font-weight: 700; color: var(--bm-orange-deep); }
.bmsf-card__actions { display: flex; gap: 8px; }
.bmsf-card__actions .bmsf-btn { flex: 1 1 0; min-height: 44px; padding: 0 10px; font-size: 14px; }
.bmsf-card__actions .bmsf-btn--wa { flex-grow: 1.3; }

.bmsf-badge { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 4px 10px; border-radius: 999px; font: 600 12px/1.4 var(--bm-font); }
.bmsf-badge--stock { background: var(--bm-green-soft); color: var(--bm-green-ink); }
.bmsf-badge--pre { background: var(--bm-orange-soft); color: #B3400F; }
.bmsf-badge--out { background: #EEE; color: #555; }

/* Category bands: each product section gets its own light tint + accent */
.bmsf-band { --tint:#F2F1EE; --edge:#E4E1DB; --acc:var(--bm-orange); --acc-ink:var(--bm-orange-deep);
	background: var(--tint); border-top: 1px solid var(--edge); border-bottom: 1px solid var(--edge); margin-top: 48px; }
.bmsf-band + .bmsf-band { margin-top: 0; border-top: 0; }
.bmsf-band > .bmsf-sec { padding-top: 44px; padding-bottom: 48px; }
.bmsf-band .bmsf-head > div::before { content: ""; display: block; width: 32px; height: 3px; border-radius: 3px; background: var(--acc); margin-bottom: 12px; }
.bmsf-band .bmsf-head__link { color: var(--acc-ink) !important; }
.bmsf-band .bmsf-card { border-color: var(--edge); }
.bmsf-band .bmsf-card:hover { border-color: var(--acc); }
.bmsf-band--stock  { --tint:#EDF4EF; --edge:#D7E6DC; --acc:#167A41; --acc-ink:#11663A; }   /* sage: in the showroom */
.bmsf-band--best   { --tint:#FCF1E8; --edge:#F3DFCF; --acc:#F15A22; --acc-ink:#C2410C; }   /* apricot: brand orange family */
.bmsf-band--mac    { --tint:#EEF0F3; --edge:#DDE1E6; --acc:#1D1D1F; --acc-ink:#1D1D1F; }   /* silver: Apple aluminium */
.bmsf-band--gaming { --tint:#EDECF8; --edge:#DCDAF0; --acc:#4F46E5; --acc-ink:#4338CA; }   /* soft indigo: gaming / RGB, kept light */

/* Best sellers */
.bmsf-best .bmsf-best__item { border: 1px solid var(--edge, transparent); }
.bmsf-best .bmsf-head { margin-bottom: 14px; }
.bmsf-best__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.bmsf-best__item { display: flex; align-items: center; gap: 14px; padding: 12px; background: #fff; border-radius: 16px; color: var(--bm-ink) !important; }
.bmsf-best__item img { width: 64px; height: 52px; object-fit: cover; border-radius: 10px; }
.bmsf-best__item span { display: flex; flex-direction: column; line-height: 1.35; }
.bmsf-best__item small { color: var(--bm-muted); font-size: 13px; }
.bmsf-best__item b { color: var(--bm-orange-deep); }

/* Brands */
.bmsf-brands { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.bmsf-brands a { display: flex; flex-direction: column; gap: 2px; padding: 18px 20px; background: #fff; border: 1px solid var(--bm-line); border-radius: 18px; color: var(--bm-ink) !important; }
.bmsf-brands a:hover { border-color: var(--bm-orange); }
.bmsf-brands strong { font-size: 19px; }
.bmsf-brands span { font-size: 13px; color: var(--bm-muted); }

/* Why */
.bmsf-why { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.bmsf-why > div { padding: 24px; background: #fff; border: 1px solid var(--bm-line); border-radius: var(--bm-radius); display: flex; flex-direction: column; gap: 6px; }
.bmsf-why b { font-size: 30px; font-weight: 800; color: var(--bm-orange); }
.bmsf-why strong { font-size: 17px; }
.bmsf-why span { font-size: 14px; color: #4A4A4A; }
.bmsf-more { display: inline-block; margin-top: 16px; font-weight: 600; color: var(--bm-ink) !important; }

/* Courier */
.bmsf-courier { padding: 34px; border-radius: 28px; background: var(--bm-ink); color: #F2F2F2; }
.bmsf-courier h2 { color: #fff !important; font-size: clamp(22px, 2.6vw, 30px); }
.bmsf-courier > p { margin: 6px 0 22px; color: #BDBDBD; }
.bmsf-courier ol { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.bmsf-courier li { counter-increment: s; padding: 20px; border-radius: 18px; background: #1F1F1F; display: flex; flex-direction: column; gap: 6px; }
.bmsf-courier li::before { content: counter(s); width: 36px; height: 36px; border-radius: 99px; background: var(--bm-orange); color: var(--bm-ink); display: flex; align-items: center; justify-content: center; font-weight: 800; }
.bmsf-courier strong { color: #fff; font-size: 17px; }
.bmsf-courier span { color: #BDBDBD; font-size: 14px; }

/* Gallery */
.bmsf-gal { position: relative; }
.bmsf-gal__track { --cols: 6; --gap: 10px; display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, auto); grid-auto-columns: calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); gap: var(--gap); overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; scrollbar-width: none; outline: none; }
.bmsf-gal__track::-webkit-scrollbar { display: none; }
.bmsf-gal__item { display: block; scroll-snap-align: start; border-radius: 16px; overflow: hidden; position: relative; }
.bmsf-gal__item img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; display: block; transition: transform .35s ease; }
@media (hover: hover) { .bmsf-gal__item:hover img { transform: scale(1.04); } }
.bmsf-gal__nav { position: absolute; top: 50%; z-index: 2; width: 44px; height: 44px; margin-top: -22px; border: 0; border-radius: 99px; background: #fff; color: var(--bm-ink, #141414); box-shadow: 0 6px 20px rgba(0,0,0,.18); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: opacity .2s, transform .2s; padding: 0; }
.bmsf-gal__nav:hover { transform: scale(1.06); }
.bmsf-gal__nav--prev { left: -18px; }
.bmsf-gal__nav--next { right: -18px; }
.bmsf-gal__nav[disabled] { opacity: 0; pointer-events: none; }
.bmsf-gal.is-static .bmsf-gal__nav { display: none; }

/* Photo viewer (tap a customer photo) */
.bmsf-lb { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 100000; background: rgba(10,10,10,.96); display: flex; align-items: center; justify-content: center; padding: 56px 12px; }
.bmsf-lb[hidden] { display: none; }
.bmsf-lb img { max-width: min(100%, 1000px); max-height: 100%; width: auto; height: auto; border-radius: 12px; object-fit: contain; user-select: none; -webkit-user-select: none; }
.bmsf-lb button { position: absolute; border: 0; background: rgba(255,255,255,.14); color: #fff; width: 48px; height: 48px; border-radius: 99px; display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.bmsf-lb button:hover { background: rgba(255,255,255,.26); }
.bmsf-lb__close { top: 12px; right: 12px; }
.bmsf-lb__prev { left: 12px; top: 50%; margin-top: -24px; }
.bmsf-lb__next { right: 12px; top: 50%; margin-top: -24px; }
.bmsf-lb__count { position: absolute; top: 22px; left: 0; right: 0; text-align: center; color: #fff; font-size: 14px; opacity: .8; pointer-events: none; }
html.bmsf-lb-open, html.bmsf-lb-open body { overflow: hidden; }
/* Woodmart styles every <button>; keep the gallery and viewer buttons ours. */
button.bmsf-gal__nav { position: absolute !important; top: 50% !important; display: flex !important; width: 44px !important; height: 44px !important; min-height: 0 !important; margin: -22px 0 0 !important; padding: 0 !important; border: 0 !important; border-radius: 99px !important; background: #fff !important; color: #141414 !important; box-shadow: 0 6px 20px rgba(0,0,0,.18) !important; line-height: 1 !important; font-size: 0 !important; text-transform: none !important; }
button.bmsf-gal__nav--prev { left: -18px !important; right: auto !important; }
button.bmsf-gal__nav--next { right: -18px !important; left: auto !important; }
button.bmsf-gal__nav[disabled] { opacity: 0 !important; pointer-events: none !important; }
.bmsf-gal.is-static button.bmsf-gal__nav { display: none !important; }
.bmsf-lb button { position: absolute !important; display: flex !important; width: 48px !important; height: 48px !important; min-height: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 99px !important; background: rgba(255,255,255,.14) !important; color: #fff !important; box-shadow: none !important; line-height: 1 !important; font-size: 0 !important; }
.bmsf-lb button:hover { background: rgba(255,255,255,.26) !important; }
.bmsf-lb button.bmsf-lb__close { top: 12px !important; right: 12px !important; left: auto !important; margin: 0 !important; }
.bmsf-lb button.bmsf-lb__prev { left: 12px !important; right: auto !important; top: 50% !important; margin: -24px 0 0 !important; }
.bmsf-lb button.bmsf-lb__next { right: 12px !important; left: auto !important; top: 50% !important; margin: -24px 0 0 !important; }
@media (max-width: 767px) {
	button.bmsf-gal__nav { width: 36px !important; height: 36px !important; margin-top: -18px !important; }
	button.bmsf-gal__nav--prev { left: -6px !important; }
	button.bmsf-gal__nav--next { right: -6px !important; }
}


/* Stores */
.bmsf-stores { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 18px; padding-bottom: 48px; }
.bmsf-store { background: #fff; border: 1px solid var(--bm-line); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; }
.bmsf-store__map { display: block; width: 100%; height: 220px; border: 0; background: #ECE9E4; }
.bmsf-store__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 8px; }
.bmsf-store__kicker { font-size: 13px; font-weight: 600; color: #B3400F; }
.bmsf-store strong { font-size: 19px; }
.bmsf-store__body > span { color: var(--bm-muted); font-size: 14px; }
.bmsf-store .bmsf-actions { margin-top: 8px; }
.bmsf-empty { padding: 24px; background: #fff; border-radius: 18px; color: var(--bm-muted); }

/* ---------- Product page blocks ---------- */
.bmsf-cta { margin: 18px 0; display: flex; flex-direction: column; gap: 10px; font-family: var(--bm-font); }
.bmsf-cta__status { margin: 0; font-weight: 600; font-size: 15px; }
.bmsf-cta__status--stock { color: var(--bm-green-ink); }
.bmsf-cta__status--pre { color: #B3400F; }
.bmsf-cta__hint { margin: 0; text-align: center; font-size: 13px; color: var(--bm-muted); }
.bmsf-cta__row { display: flex; gap: 10px; }
.bmsf-cta__row .bmsf-btn { flex: 1 1 0; min-height: 50px; }

.bmsf-trust { margin: 18px 0; display: flex; flex-direction: column; gap: 12px; font-family: var(--bm-font); font-size: 14px; }
.bmsf-trust__grid { list-style: none; margin: 0; padding: 18px 20px; background: #fff; border: 1px solid var(--bm-line); border-radius: 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
.bmsf-trust__grid li { display: flex; flex-direction: column; }
.bmsf-trust__grid span { color: var(--bm-muted); }
.bmsf-trust__note { margin: 0; font-size: 13px; color: var(--bm-muted); }
.bmsf-delivery { padding: 16px 18px; border-radius: 18px; background: var(--bm-orange-soft); display: flex; flex-direction: column; gap: 4px; }
.bmsf-stores-mini { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.bmsf-stores-mini > div { padding: 14px 16px; background: #fff; border: 1px solid var(--bm-line); border-radius: 16px; display: flex; flex-direction: column; gap: 2px; }
.bmsf-stores-mini span { color: var(--bm-muted); font-size: 13px; }
.bmsf-stores-mini a { font-weight: 700; color: var(--bm-ink); }

/* Loop additions on Woodmart cards */
.bmsf-badge--loop { position: absolute; }
.bmsf-btn--loop { width: 100%; margin-top: 10px; min-height: 42px; font-size: 14px; }

/* Sticky bar — phones only */
.bmsf-sticky { display: none; }
@media (max-width: 768px) {
	.bmsf-sticky { display: flex; align-items: center; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990; padding: 10px 12px calc(12px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--bm-line); font-family: var(--bm-font); box-shadow: 0 -6px 20px rgba(0,0,0,.06); }
	.bmsf-sticky__price { display: flex; flex-direction: column; line-height: 1.2; font-weight: 800; font-size: 18px; color: var(--bm-orange-deep); }
	.bmsf-sticky__price small { font-size: 11px; font-weight: 500; color: var(--bm-muted); max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
	.bmsf-sticky__call { flex: 0 0 48px; height: 48px; border-radius: 99px; border: 1.5px solid var(--bm-ink); display: flex; align-items: center; justify-content: center; color: var(--bm-ink); }
	.bmsf-sticky .bmsf-btn--wa { flex: 1 1 auto; min-height: 48px; }
	body.single-product { padding-bottom: 80px; }
}

/* ---------- Phones ---------- */
@media (max-width: 768px) {
	.bmsf-sec { padding: 30px 16px 4px; }
	.bmsf-hero { gap: 22px; padding-top: 20px; }
	.bmsf-hero__media { order: -1; flex-basis: 100%; }
	.bmsf-quote { display: none; }
	.bmsf-actions .bmsf-btn--lg { flex: 1 1 100%; }
	.bmsf-finder { padding: 18px; }
	.bmsf-finder__row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
	.bmsf-finder__label { flex: 0 0 auto; }
	.bmsf-chip { flex: 0 0 auto; }
	.bmsf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.bmsf-grid--scroll { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 0 16px 6px; scrollbar-width: none; }
	.bmsf-grid--scroll .bmsf-card { flex: 0 0 210px; scroll-snap-align: start; }
	.bmsf-card__body { padding: 10px 10px 12px; gap: 6px; }
	.bmsf-card__title { font-size: 14px !important; }
	.bmsf-chips li { font-size: 11px; padding: 2px 6px; }
	.bmsf-card__price { font-size: 17px; }
	.bmsf-card__actions .bmsf-btn--ghost { display: none; }
	.bmsf-badge { top: 8px; left: 8px; font-size: 11px; padding: 2px 8px; }
	.bmsf-gal__track { --cols: 3; --gap: 6px; grid-auto-columns: calc((100% - 2 * 6px) / 3.15); }
	.bmsf-gal__item { border-radius: 12px; }
	.bmsf-gal__nav { width: 36px; height: 36px; margin-top: -18px; }
	.bmsf-gal__nav--prev { left: -6px; }
	.bmsf-gal__nav--next { right: -6px; }
	.bmsf-why { grid-template-columns: 1fr 1fr; gap: 10px; }
	.bmsf-why > div { padding: 16px; }
	.bmsf-why b { font-size: 22px; }
	.bmsf-why strong { font-size: 15px; }
	.bmsf-courier { padding: 22px; }
	.bmsf-stores { grid-template-columns: 1fr; }
	.bmsf-stores-mini, .bmsf-trust__grid { grid-template-columns: 1fr 1fr; }
}
/* ---------- Footer ---------- */
.bmsf-foot { background: var(--bm-ink); color: #BDBDBD; font-family: var(--bm-font); font-size: 13.5px; line-height: 1.55; }
.bmsf-foot a { color: #E6E6E6; text-decoration: none; }
.bmsf-foot a:hover { color: #FF8A5B; }
.bmsf-foot__cta { max-width: 1240px; margin: 0 auto; padding: 22px 20px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; border-bottom: 1px solid #262626; }
.bmsf-foot__cta p { margin: 0; color: #D6D6D6; font-size: 15px; }
.bmsf-foot__cta strong { color: #fff; }
.bmsf-foot__cta-btns { display: flex; gap: 8px; }
.bmsf-foot .bmsf-btn { min-height: 42px; padding: 0 18px; font-size: 14px; }
.bmsf-foot .bmsf-btn--wa { color: #fff !important; }
.bmsf-btn--line { border-color: #3A3A3A; color: #fff !important; background: transparent; }
.bmsf-btn--line:hover { border-color: var(--bm-orange); }
.bmsf-foot__in { max-width: 1240px; margin: 0 auto; padding: 30px 20px 22px; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 28px; }
.bmsf-foot__logo { display: inline-flex; align-items: center; gap: 10px; }
.bmsf-foot__icon { width: 46px; height: 46px; border-radius: 8px; background: #fff; }
.bmsf-foot__word { height: 24px; width: auto; }
.bmsf-foot__name { color: #fff; font-size: 17px; }
.bmsf-foot__brand p { margin: 10px 0 14px; max-width: 300px; }
.bmsf-foot__label { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 600; letter-spacing: .02em; color: #8F8F8F; }
.bmsf-foot__social { display: flex; gap: 8px; }
.bmsf-foot__social a { width: 36px; height: 36px; border-radius: 99px; border: 1px solid #333; display: flex; align-items: center; justify-content: center; color: #fff; }
.bmsf-foot__social a:hover { border-color: var(--bm-orange); color: var(--bm-orange); }
.bmsf-foot h3 { margin: 0 0 10px; color: #fff !important; font: 700 14px/1.3 var(--bm-font); letter-spacing: 0; }
.bmsf-foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.bmsf-foot__contact { gap: 10px !important; }
.bmsf-foot__contact li { display: flex; flex-direction: column; line-height: 1.35; }
.bmsf-foot__contact span { font-size: 12px; color: #8F8F8F; }
.bmsf-foot__contact a { font-weight: 600; color: #fff; }
.bmsf-foot__bar { max-width: 1240px; margin: 0 auto; padding: 14px 20px 18px; border-top: 1px solid #262626; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center; font-size: 12.5px; color: #8F8F8F; }
.bmsf-foot__trust { flex-direction: row !important; flex-wrap: wrap; gap: 4px 16px !important; }
.bmsf-foot__trust li::before { content: "✓ "; color: var(--bm-orange); }

/* FAQ */
.bmsf-faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-items: start; }
.bmsf-faq details { background: #fff; border: 1px solid var(--bm-line); border-radius: 16px; padding: 0 18px; }
.bmsf-faq summary { cursor: pointer; list-style: none; padding: 16px 28px 16px 0; font-weight: 600; font-size: 15px; position: relative; }
.bmsf-faq summary::-webkit-details-marker { display: none; }
.bmsf-faq summary::after { content: "+"; position: absolute; right: 0; top: 13px; font-size: 20px; color: var(--bm-orange); }
.bmsf-faq details[open] summary::after { content: "–"; }
.bmsf-faq p { margin: 0 0 16px; color: var(--bm-text); font-size: 14px; }
@media (max-width: 768px) { .bmsf-faq { grid-template-columns: 1fr; } }
@media (max-width: 900px) {
	.bmsf-foot__in { grid-template-columns: 1fr 1fr; gap: 22px 18px; padding-top: 24px; }
	.bmsf-foot__cta-btns { width: 100%; }
	.bmsf-foot__cta-btns .bmsf-btn { flex: 1 1 0; min-width: 0; padding: 0 10px; }
	.bmsf-foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
	.bmsf-store__map { height: 180px; }
	body:has(.bmsf-foot) .bmsf-foot, body.bmsf-page .bmsf-foot { padding-bottom: 70px; } /* room for the theme's mobile toolbar */
}

@media (prefers-reduced-motion: reduce) {
	.bmsf-btn, .bmsf-card { transition: none; }
	.bmsf-btn:hover, .bmsf-card:hover { transform: none; }
}

/* ---------- Laptop Finder ---------- */
.bmsf-finder2 { padding: 34px; background: #fff; border: 1px solid var(--bm-line); border-radius: 28px; }
.bmsf-finder2__intro { text-align: center; max-width: 640px; margin: 0 auto 26px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.bmsf-finder2__intro h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 700; }
.bmsf-finder2__intro p { margin: 0; color: var(--bm-muted); }
.bmsf-finder2__form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px 28px; }
.bmsf-finder2__step { margin: 0; padding: 20px 22px; border: 1px solid var(--bm-line); border-radius: 20px; background: var(--bm-bg); min-width: 0; }
.bmsf-finder2__step legend { float: left; width: 100%; padding: 0; margin: 0 0 14px; display: flex; align-items: center; gap: 10px; font: 700 17px/1.3 var(--bm-font); color: var(--bm-ink); }
.bmsf-finder2__step legend span { width: 28px; height: 28px; border-radius: 99px; background: var(--bm-orange); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; }
.bmsf-finder2__money { clear: both; display: flex; align-items: center; gap: 8px; height: 54px; padding: 0 16px; margin-bottom: 12px; background: #fff; border: 1.5px solid #E0DCD5; border-radius: 14px; font-weight: 700; color: var(--bm-green); font-size: 20px; }
.bmsf-finder2__money:focus-within { border-color: var(--bm-orange); }
.bmsf-finder2__money input { flex: 1 1 auto; min-width: 0; border: 0 !important; outline: none; background: transparent !important; box-shadow: none !important; padding: 0 !important; height: auto !important; font: 700 20px var(--bm-font); color: var(--bm-ink); }
.bmsf-finder2__chips { clear: both; display: flex; flex-wrap: wrap; gap: 8px; }
.bmsf-choice { position: relative; margin: 0; cursor: pointer; }
.bmsf-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bmsf-choice span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid #DCD8D0; background: #fff; font: 500 15px/1.2 var(--bm-font); color: var(--bm-ink); transition: background-color .15s, border-color .15s, color .15s; }
.bmsf-choice:hover span { border-color: var(--bm-orange); }
.bmsf-choice input:checked + span { background: var(--bm-ink); border-color: var(--bm-ink); color: #fff; }
.bmsf-choice input:focus-visible + span { outline: 3px solid var(--bm-orange); outline-offset: 2px; }
.bmsf-finder2__go { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.bmsf-finder2__go > a { color: var(--bm-green) !important; font-weight: 600; font-size: 15px; }
.bmsf-btn--orange { background: var(--bm-orange-deep); color: #fff !important; border: 0; }
.bmsf-btn--orange:hover { background: #A8370A; box-shadow: 0 6px 18px rgba(194,65,12,.25); }
.bmsf-btn--orange:disabled { opacity: .6; cursor: wait; }
.bmsf-finder2__out:not(:empty) { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--bm-line); }
.bmsf-finder2__out[aria-busy="true"] { opacity: .5; }
.bmsf-finder__res-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 20px; margin-bottom: 16px; }
.bmsf-finder__res-head p { margin: 0; color: var(--bm-muted); }
.bmsf-finder__res-head strong { color: var(--bm-ink); font-size: 18px; }
.bmsf-finder__res-head a { color: var(--bm-green) !important; font-weight: 600; font-size: 14px; }
.bmsf-finder__more { display: flex; justify-content: center; margin-top: 18px; }
.bmsf-finder__none { padding: 22px; border-radius: 18px; background: var(--bm-orange-soft); display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; justify-content: space-between; }
.bmsf-finder__none p { margin: 0; max-width: 640px; }
.bmsf .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
@media (max-width: 768px) {
	.bmsf-finder2 { padding: 22px 16px; border-radius: 22px; }
	.bmsf-finder2__form { grid-template-columns: 1fr; gap: 14px; }
	.bmsf-finder2__step { padding: 16px; }
	.bmsf-choice span { font-size: 14px; padding: 0 13px; min-height: 42px; }
	.bmsf-finder2__go .bmsf-btn { flex: 1 1 100%; }
	.bmsf-finder2__go > a { width: 100%; text-align: center; }
}
/* Woodmart styles every <button>; keep the finder button orange. */
.bmsf button.bmsf-btn--orange { background: var(--bm-orange-deep) !important; color: #fff !important; border: 0 !important; border-radius: 999px !important; box-shadow: none; text-transform: none !important; letter-spacing: 0 !important; }
.bmsf button.bmsf-btn--orange:hover { background: #A8370A !important; }
.bmsf-finder2__intro .bmsf-pill { align-self: center; }
/* Theme image rules override plain sizes; pin the footer logo. */
.bmsf-foot .bmsf-foot__icon { width: 46px !important; height: 46px !important; max-width: none !important; }
.bmsf-foot .bmsf-foot__word { height: 24px !important; width: auto !important; max-width: none !important; }

/* ---------- Light footer: the BM logo is drawn for a white background ---------- */
.bmsf-foot { background: #fff; color: #4A4A4A; border-top: 1px solid var(--bm-line); }
.bmsf-foot a { color: var(--bm-ink); }
.bmsf-foot a:hover { color: var(--bm-orange-deep); }
.bmsf-foot h3 { color: var(--bm-ink) !important; }
.bmsf-foot__cta { border-bottom-color: var(--bm-line); }
.bmsf-foot__cta p { color: #4A4A4A; }
.bmsf-foot__cta strong { color: var(--bm-ink); }
.bmsf-btn--line { border-color: #D6D1C9; color: var(--bm-ink) !important; }
.bmsf-foot__label, .bmsf-foot__contact span { color: var(--bm-muted); }
.bmsf-foot__contact a { color: var(--bm-ink); }
.bmsf-foot__social a { border-color: #DCD8D0; color: var(--bm-ink); }
.bmsf-foot__bar { border-top-color: var(--bm-line); color: var(--bm-muted); background: transparent; }
.bmsf-foot .bmsf-foot__icon { width: 52px !important; height: 52px !important; background: transparent; border-radius: 0; }
.bmsf-foot .bmsf-foot__word { height: 32px !important; }
.bmsf-foot__logo { gap: 12px; }

/* ---------- Brand band colour: Mist Blue-Grey (orange in the logo pops on it) ---------- */
:root { --bm-band: #E5EBEF; --bm-band-line: #D2DBE1; }
.bmsf-foot { background: var(--bm-band); border-top-color: var(--bm-band-line); }
.bmsf-foot__cta, .bmsf-foot__bar { border-color: var(--bm-band-line); }
.bmsf-foot__social a, .bmsf-btn--line { border-color: #C5D0D8; background: rgba(255,255,255,.55); }
.bmsf-foot__contact span, .bmsf-foot__label, .bmsf-foot__bar { color: #4F5B63; }

/* Header on pages that use the new design (Woodmart header rows) */
body:has(.bmsf) .whb-top-bar,
body:has(.bmsf) .whb-general-header,
body:has(.bmsf) .whb-header-bottom,
body:has(.bmsf) .whb-sticked .whb-general-header,
body.bmsf-page .whb-top-bar,
body.bmsf-page .whb-general-header,
body.bmsf-page .whb-header-bottom,
body.bmsf-page .whb-sticked .whb-general-header { background-color: var(--bm-band) !important; border-color: var(--bm-band-line) !important; }
body:has(.bmsf) .whb-header .searchform input[type="text"],
body:has(.bmsf) .whb-header .searchform input[type="search"],
body.bmsf-page .whb-header .searchform input[type="text"],
body.bmsf-page .whb-header .searchform input[type="search"] { background-color: #fff !important; }

/* Brand cards fill with the brand's own colour on hover / tap / keyboard focus */
.bmsf-brands a { position: relative; overflow: hidden; transition: background-color .25s ease, border-color .25s ease, transform .2s ease, box-shadow .25s ease; }
.bmsf-brands a::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--bc, var(--bm-orange)); transition: width .25s ease; }
.bmsf-brands a strong, .bmsf-brands a span { position: relative; transition: color .25s ease; }
.bmsf-brands a:hover, .bmsf-brands a:focus-visible, .bmsf-brands a:active { background: var(--bc, var(--bm-orange)); border-color: var(--bc, var(--bm-orange)); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(20,20,20,.12); }
.bmsf-brands a:hover::before, .bmsf-brands a:focus-visible::before, .bmsf-brands a:active::before { width: 0; }
.bmsf-brands a:hover strong, .bmsf-brands a:hover span, .bmsf-brands a:focus-visible strong, .bmsf-brands a:focus-visible span, .bmsf-brands a:active strong, .bmsf-brands a:active span { color: var(--bt, #fff) !important; }
@media (prefers-reduced-motion: reduce) { .bmsf-brands a { transition: none; } .bmsf-brands a:hover { transform: none; } }

/* ---------- Hero showroom slider ---------- */
.bmsf-slides { position: relative; height: clamp(260px, 36vw, 460px); border-radius: 28px; overflow: hidden; background: #ECE9E4; }
.bmsf-slide { position: absolute; top: 0; right: 0; bottom: 0; left: 0; margin: 0; opacity: 0; transition: opacity .9s ease; }
.bmsf-slide.is-active { opacity: 1; z-index: 1; }
.bmsf-slide .bmsf-hero__img { width: 100%; height: 100% !important; object-fit: cover; border-radius: 0; }
.bmsf-slide__tag { position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(20,20,20,.72); color: #fff; font: 600 13px/1.2 var(--bm-font); backdrop-filter: blur(4px); }
.bmsf-slides__dots { position: absolute; z-index: 2; right: 16px; bottom: 14px; display: flex; gap: 6px; }
.bmsf .bmsf-slides__dots button { width: 9px; height: 9px; min-height: 0; padding: 0 !important; border: 0 !important; border-radius: 99px !important; background: rgba(255,255,255,.6) !important; cursor: pointer; transition: width .3s ease, background-color .3s ease; box-shadow: 0 0 0 1px rgba(0,0,0,.15); }
.bmsf .bmsf-slides__dots button[aria-current="true"] { width: 24px; background: #fff !important; }
.bmsf .bmsf-slides__dots button:focus-visible { outline: 2px solid var(--bm-orange); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .bmsf-slide { transition: none; } }
.bmsf-hero__media .bmsf-quote { z-index: 3; }

/* Hero ticks: theme adds li margin-bottom to all but the last item, which knocked the row out of line */
.bmsf .bmsf-ticks { align-items: center; }
.bmsf .bmsf-ticks li { margin: 0 !important; padding: 0; line-height: 1.4; display: inline-flex; align-items: center; gap: 6px; }
.bmsf .bmsf-ticks li::before, .bmsf .bmsf-ticks li::marker { content: none; }
.bmsf .bmsf-ticks .bmsf-i { flex: none; }

/* Footer social: each icon takes its own brand colour on hover/focus */
.bmsf .bmsf-foot__social a { transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease; }
.bmsf .bmsf-foot__social a:hover, .bmsf .bmsf-foot__social a:focus-visible { color: #fff !important; transform: translateY(-2px); }
.bmsf .bmsf-foot__social a.is-facebook:hover,  .bmsf .bmsf-foot__social a.is-facebook:focus-visible  { background: #1877F2; border-color: #1877F2; }
.bmsf .bmsf-foot__social a.is-youtube:hover,   .bmsf .bmsf-foot__social a.is-youtube:focus-visible   { background: #FF0000; border-color: #FF0000; }
.bmsf .bmsf-foot__social a.is-tiktok:hover,    .bmsf .bmsf-foot__social a.is-tiktok:focus-visible    { background: #010101; border-color: #010101; box-shadow: -2px -2px 0 #25F4EE, 2px 2px 0 #FE2C55; }
.bmsf .bmsf-foot__social a.is-instagram:hover, .bmsf .bmsf-foot__social a.is-instagram:focus-visible { background: #E4405F; border-color: #E4405F; }
.bmsf .bmsf-foot__social a.is-whatsapp:hover,  .bmsf .bmsf-foot__social a.is-whatsapp:focus-visible  { background: #25D366; border-color: #25D366; }

/* Best sellers: even rows — 4 / 3 / 2 / 1 columns */
.bmsf .bmsf-best__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .bmsf .bmsf-best__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px)  { .bmsf .bmsf-best__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) {
	/* Phones: 3 rows that scroll sideways instead of 12 stacked rows. */
	.bmsf .bmsf-best__list { grid-template-columns: none; grid-auto-flow: column; grid-template-rows: repeat(3, auto); grid-auto-columns: 82%; gap: 10px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; scrollbar-width: none; margin-right: -20px; padding-right: 20px; scroll-padding-left: 0; }
	.bmsf .bmsf-best__list::-webkit-scrollbar { display: none; }
	.bmsf .bmsf-best__item { scroll-snap-align: start; padding: 10px; gap: 12px; min-width: 0; }
	.bmsf .bmsf-best__item img { width: 52px; height: 52px; }
	.bmsf .bmsf-best__item strong { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.bmsf .bmsf-best__item span { min-width: 0; }
}
.bmsf .bmsf-best__item { transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.bmsf .bmsf-best__item:hover { border-color: var(--acc, var(--bm-orange)); box-shadow: 0 6px 18px rgba(20,20,20,.07); transform: translateY(-1px); }
.bmsf .bmsf-best__item img { width: 60px; height: 60px; object-fit: cover; flex: none; }
.bmsf .bmsf-best__item strong { font-size: 15px; line-height: 1.3; }

/* ===== Product lists (shop / category / search) ===== */
body.bmsf-arch-on .wd-page-title, body.bmsf-arch-on .page-title, body.bmsf-arch-on .shop-loop-head { display: none !important; }
body.bmsf-arch-on .main-page-wrapper { padding-top: 0 !important; }
.bmsf-arch__head { padding-top: 24px; padding-bottom: 0; }
.bmsf-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13.5px; color: var(--bm-muted); margin-bottom: 14px; }
.bmsf-crumbs a { color: var(--bm-muted) !important; }
.bmsf-crumbs a:hover { color: var(--bm-orange-deep) !important; }
.bmsf-crumbs [aria-current] { color: var(--bm-ink); font-weight: 600; }
.bmsf-arch__title { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; }
.bmsf-arch__title h1 { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.15; }
.bmsf-arch__title p { margin: 6px 0 0; color: var(--bm-muted); font-size: 15px; max-width: 640px; }
.bmsf-quick { display: flex; gap: 8px; margin-top: 20px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.bmsf-quick::-webkit-scrollbar { display: none; }
.bmsf-quick a { flex: none; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--bm-line); background: #fff; color: var(--bm-ink) !important; font-size: 14px; font-weight: 500; transition: border-color .15s ease, background-color .15s ease; }
.bmsf-quick a:hover { border-color: var(--bm-orange); }
.bmsf-quick a[aria-current] { background: var(--bm-ink); border-color: var(--bm-ink); color: #fff !important; }

.bmsf-arch__body { padding-top: 20px; padding-bottom: 56px; }
.bmsf-filter { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)) auto; gap: 10px 12px; align-items: end; padding: 14px 16px; background: #fff; border: 1px solid var(--bm-line); border-radius: 18px; }
.bmsf-filter label { display: flex; flex-direction: column; gap: 4px; margin: 0; min-width: 0; }
.bmsf-filter label > span { font-size: 12.5px; font-weight: 600; color: var(--bm-muted); }
.bmsf .bmsf-filter select { width: 100%; height: 42px; padding: 0 34px 0 12px; border: 1px solid #DCD8D0; border-radius: 12px; background-color: var(--bm-bg); font: 500 14px/1.2 var(--bm-font); color: var(--bm-ink); cursor: pointer; }
.bmsf .bmsf-filter select:focus { outline: 2px solid var(--bm-orange); outline-offset: 1px; border-color: transparent; }
.bmsf-filter__go { height: 42px; min-height: 42px; }
.bmsf-js .bmsf-filter__go { display: none; }
.bmsf-js .bmsf-filter { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.bmsf-arch__bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 16px; margin: 18px 0 14px; }
.bmsf-arch__count { margin: 0; font-size: 14.5px; color: var(--bm-muted); }
.bmsf-arch__count strong { color: var(--bm-ink); }
.bmsf-active { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.bmsf-active a { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--bm-orange-soft); color: #B3400F !important; font-size: 13.5px; font-weight: 600; }
.bmsf-active a span { font-size: 16px; line-height: 1; }
.bmsf-active a.bmsf-active__clear { background: transparent; color: var(--bm-muted) !important; text-decoration: underline !important; font-weight: 500; }
.bmsf-arch__empty { padding: 36px 28px; background: #fff; border: 1px solid var(--bm-line); border-radius: 20px; text-align: center; }
.bmsf-arch__empty h2 { font-size: 22px; }
.bmsf-arch__empty p { margin: 8px auto 18px; color: var(--bm-muted); max-width: 460px; }
.bmsf-arch__empty .bmsf-actions { justify-content: center; }
.bmsf-pager { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 32px; }
.bmsf-pager a, .bmsf-pager span { min-width: 42px; height: 42px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; font-weight: 600; font-size: 14.5px; }
.bmsf-pager a { background: #fff; border: 1px solid var(--bm-line); color: var(--bm-ink) !important; }
.bmsf-pager a:hover { border-color: var(--bm-orange); }
.bmsf-pager a[aria-current] { background: var(--bm-ink); border-color: var(--bm-ink); color: #fff !important; }
.bmsf-pager span { color: var(--bm-muted); }
@media (max-width: 900px) {
	.bmsf-filter, .bmsf-js .bmsf-filter { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 12px; }
	.bmsf-filter label:last-of-type { grid-column: 1 / -1; }
	.bmsf-arch__title .bmsf-btn { width: 100%; }
}
@media (max-width: 600px) { .bmsf-arch__title .bmsf-btn { display: none; } .bmsf-arch__head { padding-top: 16px; } }

/* ===== Product page ===== */
body.bmsf-pdp-on .wd-page-title, body.bmsf-pdp-on .single-breadcrumbs-wrapper { display: none !important; }
body.bmsf-pdp-on .main-page-wrapper { padding-top: 0 !important; }
.bmsf-pdp__top { padding-top: 24px; }
.bmsf-pdp__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 32px 44px; align-items: start; }
.bmsf-pg { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 10px; }
.bmsf-pg__main { position: relative; background: #fff; border: 1px solid var(--bm-line); border-radius: 22px; overflow: hidden; aspect-ratio: 1 / 1; }
.bmsf-pg__slide { margin: 0; position: absolute; top: 0; right: 0; bottom: 0; left: 0; }
.bmsf-pg__slide[hidden] { display: none; }
.bmsf .bmsf-pg__slide img { width: 100%; height: 100%; object-fit: contain; }
.bmsf-pg__main .bmsf-badge { top: 16px; left: 16px; font-size: 13px; }
.bmsf-pg__thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.bmsf-pg__thumbs::-webkit-scrollbar { display: none; }
.bmsf .bmsf-pg__thumbs button { flex: 0 0 72px; height: 72px; padding: 0; border: 1.5px solid var(--bm-line); border-radius: 12px; overflow: hidden; background: #fff; cursor: pointer; opacity: .75; transition: opacity .15s ease, border-color .15s ease; }
.bmsf .bmsf-pg__thumbs button:hover { opacity: 1; }
.bmsf .bmsf-pg__thumbs button[aria-current] { border-color: var(--bm-orange); opacity: 1; }
.bmsf .bmsf-pg__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.bmsf-pdp__info { display: flex; flex-direction: column; gap: 16px; }
.bmsf-pdp__status { margin: 0; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; }
.bmsf-pdp__status i { width: 9px; height: 9px; border-radius: 99px; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 18%, transparent); }
.bmsf-pdp__status--stock { color: var(--bm-green-ink); }
.bmsf-pdp__status--pre { color: #B3400F; }
.bmsf-pdp__status--out { color: var(--bm-muted); }
.bmsf .bmsf-pdp__title { font-size: clamp(26px, 3vw, 38px); line-height: 1.15; display: flex; flex-direction: column; gap: 8px; }
.bmsf-pdp__title span { font-size: 15.5px; font-weight: 500; letter-spacing: 0; color: var(--bm-muted); line-height: 1.5; }
.bmsf-pdp__price { margin: 0; font-size: clamp(30px, 3.4vw, 40px); font-weight: 800; color: var(--bm-orange-deep); letter-spacing: -0.02em; display: flex; align-items: baseline; gap: 12px; }
.bmsf-pdp__price del { font-size: 18px; font-weight: 500; color: var(--bm-muted); }
.bmsf-specs { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--bm-line); border: 1px solid var(--bm-line); border-radius: 16px; overflow: hidden; }
.bmsf-specs > div { background: #fff; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bmsf-specs > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.bmsf-specs dt { font-size: 12px; font-weight: 600; color: var(--bm-muted); }
.bmsf-specs dd { margin: 0; font-size: 14.5px; font-weight: 600; color: var(--bm-ink); overflow-wrap: anywhere; }
.bmsf-pdp__cta { display: flex; flex-direction: column; gap: 10px; }
.bmsf-btn--xl { min-height: 56px; font-size: 16.5px; }
.bmsf-pdp__row { display: flex; gap: 10px; }
.bmsf-pdp__row .bmsf-btn { flex: 1 1 0; min-height: 50px; }
.bmsf-pdp__hint { margin: 0; text-align: center; font-size: 13px; color: var(--bm-muted); }
.bmsf-pdp__perks { list-style: none; margin: 0; padding: 14px 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; background: var(--bm-orange-soft); border-radius: 16px; font-size: 14px; font-weight: 500; }
.bmsf-pdp__perks li { margin: 0 !important; display: flex; align-items: center; gap: 8px; }
.bmsf-pdp__perks .bmsf-i { color: var(--bm-orange-deep); }
.bmsf-pdp__more { padding-bottom: 56px; }
.bmsf-pdp__cols { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.bmsf-pdp__desc { background: #fff; border: 1px solid var(--bm-line); border-radius: 22px; padding: 26px 28px; }
.bmsf-pdp__desc h2 { font-size: 22px; margin-bottom: 12px; }
.bmsf-pdp__desc h3 { font-size: 18px; margin: 24px 0 10px; }
.bmsf-prose { color: var(--bm-text); font-size: 15.5px; line-height: 1.7; }
.bmsf-prose img { border-radius: 12px; }
.bmsf-muted { color: var(--bm-muted); }
.bmsf-spec-table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 0; }
.bmsf-spec-table th, .bmsf-spec-table td { text-align: left; padding: 10px 12px; border: 0; border-bottom: 1px solid var(--bm-line); vertical-align: top; }
.bmsf-spec-table th { width: 34%; color: var(--bm-muted); font-weight: 600; background: transparent; }
.bmsf-spec-table td { color: var(--bm-ink); font-weight: 500; }
.bmsf-pdp__side .bmsf-trust { margin: 0; }
@media (max-width: 900px) {
	.bmsf-pdp__grid, .bmsf-pdp__cols { grid-template-columns: 1fr; gap: 20px; }
	.bmsf-pg { position: static; }
	.bmsf-pdp__desc { padding: 20px; }
	body.bmsf-pdp-on { padding-bottom: 84px; }
}
@media (max-width: 480px) {
	.bmsf-pdp__perks { grid-template-columns: 1fr; }
	.bmsf-pdp__row .bmsf-btn { font-size: 14px; padding: 0 12px; }
}
.bmsf-pg__main .bmsf-hero__ph { position: absolute; top: 0; right: 0; bottom: 0; left: 0; }

/* ===== Phones & tablets: iPhone (Safari) and Android (Chrome) ===== */
body.bmsf-page { overflow-x: hidden; } /* the full-width sections must never cause sideways scrolling */
@supports (overflow-x: clip) { body.bmsf-page { overflow-x: clip; } }
.bmsf { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
.bmsf a, .bmsf button, .bmsf-sticky a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
@supports not (overflow-x: clip) { .bmsf { overflow-x: hidden; } }
/* Older iPhones (iOS 14) without aspect-ratio: keep images square. */
@supports not (aspect-ratio: 1 / 1) {
	.bmsf-card__media, .bmsf-pg__main { height: 0; padding-bottom: 100%; }
	.bmsf-card__media img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
}
/* Touch screens: no "stuck" hover lifts after a tap. */
@media (hover: none) {
	.bmsf-btn:hover, .bmsf-card:hover, .bmsf-best__item:hover, .bmsf .bmsf-foot__social a:hover { transform: none; }
	.bmsf-card:hover { box-shadow: none; }
}
@media (max-width: 900px) {
	/* 16px stops iPhone Safari from zooming in when a field is tapped. */
	.bmsf input, .bmsf select, .bmsf textarea, .bmsf .bmsf-filter select { font-size: 16px !important; }
	/* Our product bar replaces the theme's bottom toolbar on product pages. */
	body.bmsf-pdp-on .wd-toolbar { display: none !important; }
	.bmsf-pg__main .bmsf-badge { top: 12px; left: 12px; }
	.bmsf-pdp__top { padding-top: 14px; }
	.bmsf-specs dd { font-size: 14px; }
}
@media (max-width: 380px) { /* small Android phones */
	.bmsf-sec { padding-left: 14px; padding-right: 14px; }
	.bmsf-card__actions { flex-direction: column; }
	.bmsf-card__actions .bmsf-btn { width: 100%; }
}

/* Side-scrolling rows with ‹ › (best-seller models on phones) */
.bmsf-scroller { position: relative; }
.bmsf-scroller.is-static button.bmsf-gal__nav { display: none !important; }
@media (max-width: 680px) {
	.bmsf-scroller button.bmsf-gal__nav--prev { left: -8px !important; }
	.bmsf-scroller button.bmsf-gal__nav--next { right: -8px !important; }
	.bmsf .bmsf-scroller .bmsf-best__list { margin-right: 0; padding-right: 0; }
}

/* Online booking */
.bmsf-book { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.bmsf-book small { color: var(--bm-muted, #6b6b6b); font-size: 13px; text-align: center; }
button.bmsf-btn--book { width: 100%; justify-content: center; background: #fff !important; color: var(--bm-orange-deep, #C2410C) !important; border: 2px solid var(--bm-orange, #F26B1D) !important; border-radius: 14px !important; font-weight: 700; cursor: pointer; text-transform: none !important; letter-spacing: 0 !important; min-height: 52px; }
button.bmsf-btn--book:hover { background: var(--bm-orange, #F26B1D) !important; color: #fff !important; }
.bmsf-bkash { background: #FFF4EE; border: 1px solid #F8D3BD; border-radius: 12px; padding: 12px 14px; margin-top: 8px; }
.bmsf-bkash ol { margin: 0 0 10px 18px; padding: 0; line-height: 1.7; font-size: 14px; }
.bmsf-bkash__num { font-size: 16px; letter-spacing: .5px; color: #E2136E; }
.bmsf-bkash input { font-size: 16px !important; }
.bmsf-book-done { background: #EDF4EF; border: 1px solid #BFDCC8; border-radius: 12px; padding: 14px 16px; margin: 0 0 18px; font-size: 15px; line-height: 1.6; }
.bmsf-pay__for { margin: 0 0 6px; font-weight: 700; color: var(--bm-ink, #141414); }
.bmsf-bank__acc { background: #fff; border: 1px dashed #F2B48F; border-radius: 10px; padding: 10px 12px; margin: 6px 0 10px; font-size: 14px; line-height: 1.6; white-space: normal; }

/* Hover colour on every button, card and link of the new design */
.bmsf .bmsf-btn { transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease, color .15s ease; }
.bmsf .bmsf-btn--wa:hover, .bmsf .bmsf-btn--wa:focus-visible { background: #0F5C32 !important; color: #fff !important; box-shadow: 0 6px 18px rgba(22,122,65,.3); }
.bmsf .bmsf-btn--dark:hover, .bmsf .bmsf-btn--dark:focus-visible { background: var(--bm-orange-deep) !important; border-color: var(--bm-orange-deep) !important; color: #fff !important; }
.bmsf .bmsf-btn--outline:hover, .bmsf .bmsf-btn--outline:focus-visible { background: var(--bm-ink) !important; border-color: var(--bm-ink) !important; color: #fff !important; }
.bmsf .bmsf-btn--ghost:hover, .bmsf .bmsf-btn--ghost:focus-visible { background: var(--bm-orange) !important; border-color: var(--bm-orange) !important; color: #fff !important; }
.bmsf .bmsf-btn--line:hover, .bmsf .bmsf-btn--line:focus-visible { background: var(--bm-orange) !important; border-color: var(--bm-orange) !important; color: #fff !important; }
.bmsf .bmsf-btn:hover svg { color: inherit; }
.bmsf .bmsf-card:hover { border-color: var(--bm-orange); }
.bmsf .bmsf-card__title a { transition: color .15s ease; }
.bmsf .bmsf-card__title a:hover, .bmsf .bmsf-card:hover .bmsf-card__title a { color: var(--bm-orange-deep) !important; }
.bmsf .bmsf-head__link:hover, .bmsf .bmsf-more:hover { color: var(--bm-orange) !important; text-decoration: underline; text-underline-offset: 4px; }
.bmsf .bmsf-quick a:hover, .bmsf .bmsf-pager a:hover, .bmsf .bmsf-chip:hover { background: var(--bm-orange-soft); }
