/*
Theme Name: BuyBuyMart Market
Theme URI: https://buybuymart.my/
Author: Jimmy & Hugo
Description: Industrial yellow-and-black WooCommerce theme for BuyBuyMart.
Version: 1.7.5
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: buybuymart
*/

/* Keep every payment route closed until live stock and checkout are approved. */
#wc-stripe-express-checkout-element,
.wc-stripe-product-checkout-container,
.wc-stripe-express-checkout-element,
.wc-block-components-express-payment,
.wc-block-components-express-payment__event-buttons,
.wc-block-components-express-payment-continue-rule,
.wc-block-cart__submit,
.wp-block-woocommerce-proceed-to-checkout-block {
  display: none !important;
}

:root {
  --bbm-yellow: #ffd21a;
  --bbm-yellow-dark: #e3b500;
  --bbm-ink: #1d1d1f;
  --bbm-soft: #343538;
  --bbm-paper: #f4f4f2;
  --bbm-white: #fff;
  --bbm-line: #dedede;
  --bbm-muted: #707070;
  --bbm-price: #df3f30;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bbm-paper); color: var(--bbm-ink); font-family: Arial, Helvetica, sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }

/* Automatic product loading keeps native pagination available until JavaScript is ready. */
body.bbm-infinite-ready nav.woocommerce-pagination,
body.bbm-infinite-ready .woocommerce-pagination { display: none !important; }
.bbm-infinite-status { width: 100%; min-height: 72px; margin: 18px 0 6px; display: flex; align-items: center; justify-content: center; gap: 11px; color: var(--bbm-muted); font-size: 13px; font-weight: 700; text-align: center; }
.bbm-infinite-status[hidden] { display: none !important; }
.bbm-infinite-spinner { width: 24px; height: 24px; flex: 0 0 24px; border: 3px solid #e5e5e5; border-top-color: var(--bbm-yellow-dark); border-radius: 50%; animation: bbm-infinite-spin .75s linear infinite; }
.bbm-infinite-status.is-complete { min-height: 54px; color: #777; font-weight: 600; }
.bbm-infinite-status.is-error { color: var(--bbm-price); }
@keyframes bbm-infinite-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .bbm-infinite-spinner { animation-duration: 1.6s; } }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.bbm-wrap { width: min(1240px, calc(100% - 40px)); margin-inline: auto; }

.bbm-demo { padding: 7px 20px; background: #fff3ad; border-bottom: 1px solid #dbc65c; color: #5d5427; text-align: center; font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.bbm-utility { background: var(--bbm-ink); color: #eee; font-size: 11px; }
.bbm-utility .bbm-wrap { min-height: 34px; display: flex; align-items: center; justify-content: space-between; }
.bbm-utility-links { display: flex; gap: 22px; }
.bbm-utility a:hover { color: var(--bbm-yellow); }

.bbm-header { position: sticky; top: 0; z-index: 40; background: var(--bbm-yellow); box-shadow: 0 2px 9px rgba(0,0,0,.14); }
.bbm-header-main { min-height: 84px; display: grid; grid-template-columns: 245px minmax(280px,1fr) 160px; gap: 22px; align-items: center; }
.bbm-brand { display: inline-flex; align-items: center; gap: 10px; width: max-content; font-size: 28px; font-weight: 900; letter-spacing: -1.8px; }
.bbm-brand strong { color: #fff; text-shadow: 1px 1px 0 var(--bbm-ink), -1px -1px 0 var(--bbm-ink), 1px -1px 0 var(--bbm-ink), -1px 1px 0 var(--bbm-ink); }
.bbm-bag { position: relative; width: 44px; height: 42px; display: grid; place-items: center; background: var(--bbm-ink); color: var(--bbm-yellow); border-radius: 3px 3px 9px 9px; font-size: 23px; letter-spacing: 0; }
.bbm-bag::before { content: ""; position: absolute; width: 19px; height: 9px; top: -8px; border: 4px solid var(--bbm-ink); border-bottom: 0; border-radius: 8px 8px 0 0; }
.bbm-search { height: 48px; display: grid; grid-template-columns: 1fr auto; padding: 4px; background: white; border-radius: 4px; box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.bbm-search input { min-width: 0; border: 0; padding: 0 14px; outline: 0; }
.bbm-search button { min-width: 95px; border: 0; border-radius: 3px; background: var(--bbm-ink); color: white; font-size: 11px; font-weight: 900; text-transform: uppercase; cursor: pointer; }
.bbm-actions { display: flex; justify-content: flex-end; gap: 10px; }
.bbm-action { min-width: 65px; min-height: 48px; display: grid; place-items: center; align-content: center; gap: 4px; position: relative; font-size: 20px; }
.bbm-action small { font-size: 9px; font-weight: 900; text-transform: uppercase; }
.bbm-count { position: absolute; top: -1px; right: 5px; min-width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--bbm-price); color: white; font-size: 9px; font-weight: 900; }
.bbm-nav { background: white; border-bottom: 1px solid var(--bbm-line); }
.bbm-nav .bbm-wrap { min-height: 43px; display: flex; align-items: stretch; gap: 3px; overflow-x: auto; }
.bbm-nav a { flex: 0 0 auto; padding: 0 13px; display: flex; align-items: center; color: #444; font-size: 11px; font-weight: 700; }
.bbm-nav a:hover { background: #fff5bd; color: #000; }

.bbm-hero { margin-top: 20px; display: grid; grid-template-columns: minmax(0,1.65fr) minmax(285px,.65fr); gap: 12px; }
.bbm-hero-main { min-height: 390px; overflow: hidden; display: grid; grid-template-columns: 1.08fr .92fr; position: relative; border-radius: 4px; background: var(--bbm-soft); color: white; }
.bbm-hero-main::before { content: ""; position: absolute; inset: 0; opacity: .14; background: linear-gradient(rgba(255,255,255,.25) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.25) 1px,transparent 1px); background-size: 42px 42px; }
.bbm-hero-main::after { content: ""; position: absolute; inset: 0 0 auto; height: 10px; background: repeating-linear-gradient(135deg,var(--bbm-yellow) 0 12px,var(--bbm-ink) 12px 24px); }
.bbm-hero-copy { position: relative; z-index: 2; padding: 55px 24px 44px 48px; }
.bbm-kicker { color: var(--bbm-yellow); font-size: 10px; font-weight: 900; letter-spacing: .16em; }
.bbm-hero h1 { margin: 22px 0 20px; font-size: clamp(48px,5vw,72px); line-height: .9; letter-spacing: -.055em; }
.bbm-hero h1 em { color: var(--bbm-yellow); font-style: normal; }
.bbm-hero-copy p { max-width: 520px; color: #d4d4d4; font-size: 14px; line-height: 1.55; }
.bbm-primary { min-height: 45px; padding: 0 19px; display: inline-flex; align-items: center; border-radius: 3px; background: var(--bbm-yellow); color: var(--bbm-ink); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.bbm-scene { min-height: 390px; position: relative; z-index: 1; }
.bbm-box { position: absolute; display: flex; align-items: flex-end; padding: 20px; background: #4c5659; border: 2px solid #7c8789; color: white; font-size: 29px; font-weight: 900; box-shadow: 13px 15px 0 rgba(0,0,0,.27); }
.bbm-box-a { width: 255px; height: 175px; right: 30px; top: 64px; }
.bbm-box-b { width: 235px; height: 135px; left: 5px; bottom: 44px; background: #626d70; }
.bbm-burst { width: 126px; height: 126px; position: absolute; right: 18px; top: 29px; z-index: 3; display: grid; place-content: center; border: 5px double var(--bbm-ink); border-radius: 50%; background: var(--bbm-yellow); color: var(--bbm-ink); text-align: center; font-size: 13px; font-weight: 900; line-height: 1.15; transform: rotate(7deg); }
.bbm-burst strong { font-size: 22px; }
.bbm-side-promos { display: grid; grid-template-rows: 1fr 1fr; gap: 12px; }
.bbm-promo { min-height: 189px; padding: 24px; border: 1px solid var(--bbm-line); border-radius: 4px; background: white; }
.bbm-promo span { display: block; margin-bottom: 12px; color: var(--bbm-muted); font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.bbm-promo strong { display: block; color: var(--bbm-price); font-size: 38px; letter-spacing: -.05em; }
.bbm-promo h2 { margin: 1px 0 9px; font-size: 18px; }
.bbm-promo p { margin: 0; color: var(--bbm-muted); font-size: 11px; line-height: 1.5; }
.bbm-promo-delivery { background: #fff6c8; border-color: #efd55d; }
.bbm-promo-bulk { background: var(--bbm-yellow); border-color: var(--bbm-yellow-dark); }
.bbm-promo-bulk strong { color: var(--bbm-ink); font-size: 27px; }
.bbm-promo-bulk a { display: inline-block; margin-top: 14px; border-bottom: 1px solid; font-size: 11px; font-weight: 900; }

.bbm-trust { min-height: 78px; margin-top: 14px; display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--bbm-line); border-radius: 4px; background: white; }
.bbm-trust div { padding: 15px 18px; display: flex; align-items: center; gap: 11px; border-right: 1px solid var(--bbm-line); }
.bbm-trust div:last-child { border: 0; }
.bbm-trust b { width: 36px; height: 36px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: #fff3aa; color: #745d00; font-size: 12px; }
.bbm-trust span { display: flex; flex-direction: column; gap: 3px; }
.bbm-trust strong { font-size: 12px; }
.bbm-trust small { color: var(--bbm-muted); font-size: 9px; }

.bbm-section { margin-top: 20px; overflow: hidden; border: 1px solid var(--bbm-line); border-radius: 4px; background: white; }
.bbm-heading { min-height: 68px; padding: 0 21px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--bbm-line); }
.bbm-heading h2 { margin: 0; font-size: 18px; }
.bbm-heading p { margin: 4px 0 0; color: var(--bbm-muted); font-size: 10px; }
.bbm-heading a { font-size: 10px; font-weight: 900; text-transform: uppercase; }
.bbm-categories { display: grid; grid-template-columns: repeat(6,1fr); }
.bbm-category { min-height: 126px; padding: 15px 7px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 11px; border-right: 1px solid var(--bbm-line); text-align: center; }
.bbm-category:last-child { border: 0; }
.bbm-category:hover { background: #fffaf0; }
.bbm-category-icon { width: 58px; height: 58px; display: grid; place-items: center; border: 1px solid #edd35d; border-radius: 50%; background: #fff3a4; font-size: 25px; }
.bbm-category strong { font-size: 11px; }

.bbm-reorder { margin-top: 20px; padding: 24px 26px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 25px; border-left: 10px solid var(--bbm-yellow); border-radius: 4px; background: var(--bbm-ink); color: white; }
.bbm-reorder small { color: var(--bbm-yellow); font-size: 9px; font-weight: 900; letter-spacing: .14em; }
.bbm-reorder h2 { margin: 7px 0; font-size: 24px; }
.bbm-reorder p { margin: 0; color: #c9c9c9; font-size: 11px; line-height: 1.5; }
.bbm-reorder a { min-height: 42px; padding: 0 17px; display: flex; align-items: center; background: var(--bbm-yellow); color: var(--bbm-ink); font-size: 10px; font-weight: 900; text-transform: uppercase; }

.bbm-bundle { margin-top: 12px; padding: 24px 26px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 28px; border: 1px solid #e1c54b; border-radius: 4px; background: #fff6c8; }
.bbm-bundle small { color: #7d6500; font-size: 9px; font-weight: 900; letter-spacing: .14em; }
.bbm-bundle h2 { margin: 7px 0; font-size: 23px; }
.bbm-bundle p { max-width: 780px; margin: 0; color: #675c2d; font-size: 11px; line-height: 1.55; }
.bbm-bundle > strong { padding: 13px 17px; border: 2px solid var(--bbm-ink); background: var(--bbm-yellow); text-align: center; font-size: 11px; line-height: 1.25; transform: rotate(-2deg); }
.bbm-bundle > strong span { font-size: 18px; }

.bbm-product-grid { padding: 14px; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; background: #f7f7f7; }
.bbm-card { min-width: 0; overflow: hidden; border: 1px solid var(--bbm-line); border-radius: 3px; background: white; transition: transform .15s ease,box-shadow .15s ease; }
.bbm-card:hover { transform: translateY(-3px); border-color: #d2b643; box-shadow: 0 7px 18px rgba(0,0,0,.12); }
.bbm-product-image { height: 196px; position: relative; overflow: hidden; display: grid; place-items: center; background: radial-gradient(circle at 50% 43%,#fff 0 31%,#ecece8 72%); }
.bbm-product-image::after { content: ""; position: absolute; inset: 0; opacity: .15; background: linear-gradient(rgba(0,0,0,.14) 1px,transparent 1px),linear-gradient(90deg,rgba(0,0,0,.14) 1px,transparent 1px); background-size: 26px 26px; }
.bbm-product-image img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 2; }
.bbm-drawing { width: 130px; height: 82px; position: relative; z-index: 2; border: 4px solid #404a4d; border-radius: 12px 12px 20px 20px; background: rgba(255,255,255,.58); box-shadow: 0 18px 12px -12px rgba(0,0,0,.32); transform: skewY(-3deg); }
.bbm-drawing::before { content: ""; width: 139px; height: 19px; position: absolute; left: 50%; top: -12px; transform: translateX(-50%); border: 4px solid #404a4d; border-radius: 50%; background: #d8dddc; }
.bbm-drawing.bbm-sticks { width: 9px; height: 132px; border: 2px solid #694b28; border-radius: 5px; background: #b98543; transform: rotate(-8deg); box-shadow: 22px 3px 0 -2px #b98543; }
.bbm-drawing.bbm-round { height: 65px; border-top: 0; border-radius: 0 0 50% 50%; transform: none; }
.bbm-drawing.bbm-round::before { width: 142px; height: 50px; top: -34px; border-radius: 50%; background: rgba(255,255,255,.65); }
.bbm-pack { position: absolute; right: 9px; bottom: 9px; z-index: 3; padding: 5px 7px; border-radius: 2px; background: rgba(29,29,31,.84); color: white; font-size: 8px; font-weight: 900; text-transform: uppercase; }
.bbm-card-body { padding: 13px 12px 12px; }
.bbm-sku { color: #927400; font-size: 8px; font-weight: 900; letter-spacing: .07em; }
.bbm-card h3 { min-height: 40px; margin: 6px 0 7px; font-size: 13px; line-height: 1.45; font-weight: 600; }
.bbm-desc { min-height: 20px; margin: 0 0 8px; color: var(--bbm-muted); font-size: 10px; }
.bbm-price { min-height: 31px; color: var(--bbm-price); font-size: 22px; font-weight: 900; letter-spacing: -.04em; }
.bbm-card .price del { color: #999; font-size: 12px; }
.bbm-card .price ins { text-decoration: none; }
.bbm-bulk { margin: 5px 0 10px; color: #927400; font-size: 8px; font-weight: 700; }
.bbm-add { width: 100%; min-height: 35px; padding: 0 10px; display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--bbm-ink); border-radius: 3px; background: white; color: var(--bbm-ink); font-size: 10px; font-weight: 900; text-transform: uppercase; cursor: pointer; }
.bbm-add:hover { background: var(--bbm-ink); color: white; }
.bbm-empty { grid-column: 1/-1; padding: 60px 20px; text-align: center; color: var(--bbm-muted); }

.bbm-business { margin: 20px auto; padding: 36px 42px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; border-radius: 4px; background: var(--bbm-yellow); }
.bbm-business small { font-size: 9px; font-weight: 900; letter-spacing: .13em; }
.bbm-business h2 { margin: 8px 0 10px; font-size: 29px; letter-spacing: -.04em; }
.bbm-business p { margin: 0; color: #514719; font-size: 12px; line-height: 1.6; }
.bbm-business a { min-height: 46px; padding: 0 18px; display: flex; align-items: center; background: var(--bbm-ink); color: white; font-size: 10px; font-weight: 900; text-transform: uppercase; }

.bbm-footer { margin-top: 24px; padding: 50px 0; background: var(--bbm-ink); color: white; }
.bbm-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 48px; }
.bbm-footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.bbm-footer .bbm-brand { color: white; font-size: 22px; }
.bbm-footer p { max-width: 360px; margin: 4px 0; color: #b9b9b9; font-size: 11px; line-height: 1.55; }
.bbm-footer small { color: #777; font-size: 9px; line-height: 1.5; }
.bbm-footer h3 { margin: 0 0 7px; color: var(--bbm-yellow); font-size: 11px; text-transform: uppercase; }
.bbm-footer a { color: #c8c8c8; font-size: 11px; }
.bbm-footer a:hover { color: var(--bbm-yellow); }

.bbm-content { min-height: 55vh; padding: 30px 0; }
.bbm-content article { max-width: 900px; padding: 32px; border: 1px solid var(--bbm-line); border-radius: 4px; background: white; }
.bbm-content article h1 { margin: 0 0 20px; font-size: clamp(30px,4vw,46px); letter-spacing: -.04em; }
.bbm-content article h2 { margin: 28px 0 10px; font-size: 20px; }
.bbm-content article p, .bbm-content article li { color: #4f4f4f; font-size: 14px; line-height: 1.7; }
.bbm-policy-note { padding: 14px 16px; border-left: 5px solid var(--bbm-yellow); background: #fff7cd; }
.bbm-checkout-closed { padding: 18px; display: flex; flex-direction: column; gap: 5px; border: 1px solid #e2c74b; border-radius: 3px; background: #fff7cf; }
.bbm-checkout-closed span { color: #6a6033; font-size: 12px; }
.bbm-block-cart-checkout-notice { margin-top: 18px; }
.woocommerce .button, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button, .wc-block-components-button { border-radius: 3px !important; background: var(--bbm-ink) !important; color: white !important; }
.woocommerce .button:hover, .woocommerce button.button:hover, .woocommerce a.button:hover { background: #000 !important; }
.woocommerce div.product p.price, .woocommerce div.product span.price, .woocommerce ul.products li.product .price { color: var(--bbm-price); }
.woocommerce-message, .woocommerce-info { border-top-color: var(--bbm-yellow); }
.woocommerce-message::before, .woocommerce-info::before { color: #9b7b00; }

@media (max-width: 980px) {
  .bbm-header-main { grid-template-columns: 210px 1fr 135px; }
  .bbm-hero-main { grid-template-columns: 1fr .8fr; }
  .bbm-product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .bbm-footer-grid { grid-template-columns: 1.6fr 1fr 1fr; }
  .bbm-footer-grid > div:last-child { grid-column: 1/-1; }
}

@media (max-width: 760px) {
  .bbm-wrap { width: min(100% - 20px,1240px); }
  .bbm-utility .bbm-wrap { justify-content: center; }
  .bbm-utility .bbm-wrap > span { display: none; }
  .bbm-header-main { min-height: 110px; grid-template-columns: 1fr auto; gap: 9px; padding: 12px 0; }
  .bbm-brand { font-size: 22px; }
  .bbm-bag { width: 36px; height: 34px; font-size: 18px; }
  .bbm-search { grid-column: 1/-1; grid-row: 2; height: 42px; }
  .bbm-search button { min-width: 72px; }
  .bbm-action-account { display: none; }
  .bbm-hero { grid-template-columns: 1fr; margin-top: 12px; }
  .bbm-hero-main { min-height: 470px; grid-template-columns: 1fr; }
  .bbm-hero-copy { padding: 43px 24px 20px; }
  .bbm-hero h1 { font-size: 50px; }
  .bbm-scene { min-height: 185px; }
  .bbm-box-a { width: 200px; height: 125px; top: 12px; right: 20px; }
  .bbm-box-b { width: 165px; height: 100px; left: 20px; bottom: 8px; }
  .bbm-burst { width: 102px; height: 102px; top: 0; right: 6px; }
  .bbm-side-promos { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .bbm-promo { min-height: 175px; padding: 18px; }
  .bbm-promo strong { font-size: 30px; }
  .bbm-trust { grid-template-columns: 1fr 1fr; }
  .bbm-trust div:nth-child(2) { border-right: 0; }
  .bbm-trust div:nth-child(-n+2) { border-bottom: 1px solid var(--bbm-line); }
  .bbm-categories { grid-template-columns: repeat(3,1fr); }
  .bbm-category { border-bottom: 1px solid var(--bbm-line); }
  .bbm-category:nth-child(3n) { border-right: 0; }
  .bbm-reorder { grid-template-columns: 1fr; }
  .bbm-bundle { grid-template-columns: 1fr; }
  .bbm-bundle > strong { width: max-content; }
  .bbm-product-grid { padding: 7px; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
  .bbm-product-image { height: 170px; }
  .bbm-business { padding: 28px 22px; grid-template-columns: 1fr; gap: 20px; }
  .bbm-business h2 { font-size: 25px; }
  .bbm-footer-grid { grid-template-columns: 1fr 1fr; gap: 35px 22px; }
  .bbm-footer-grid > div:first-child, .bbm-footer-grid > div:last-child { grid-column: 1/-1; }
}

/* 1.6 conversion-focused homepage. */
.bbm-v3-home { padding-bottom: 22px; }
.bbm-v3-hero { min-height: 540px; overflow: hidden; position: relative; background: var(--bbm-ink); color: white; }
.bbm-v3-hero > img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: center; }
.bbm-v3-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg,rgba(22,22,24,.98) 0%,rgba(22,22,24,.9) 30%,rgba(22,22,24,.2) 63%,rgba(22,22,24,.08) 100%); }
.bbm-v3-hero-inner { min-height: 540px; position: relative; display: flex; align-items: center; }
.bbm-v3-hero-copy { width: min(540px,50%); padding: 50px 0; }
.bbm-v3-hero-copy > span { color: var(--bbm-yellow); font-size: 11px; font-weight: 900; letter-spacing: .16em; }
.bbm-v3-hero-copy h1 { margin: 19px 0; font-size: clamp(48px,5vw,72px); line-height: .92; letter-spacing: -.055em; }
.bbm-v3-hero-copy h1 em { color: var(--bbm-yellow); font-style: normal; }
.bbm-v3-hero-copy p { max-width: 510px; margin: 0; color: #e2e2e2; font-size: 16px; line-height: 1.55; }
.bbm-v3-hero-copy > div { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.bbm-v3-primary, .bbm-v3-secondary { min-height: 48px; padding: 0 18px; display: inline-flex; align-items: center; border-radius: 4px; font-size: 11px; font-weight: 900; text-transform: uppercase; }
.bbm-v3-primary { background: var(--bbm-yellow); color: var(--bbm-ink); }
.bbm-v3-secondary { border: 1px solid rgba(255,255,255,.6); color: white; }
.bbm-v3-primary:hover { background: #ffe374; }
.bbm-v3-secondary:hover { border-color: var(--bbm-yellow); color: var(--bbm-yellow); }

.bbm-v3-benefits { margin-top: 14px; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); overflow: hidden; border: 1px solid var(--bbm-line); border-radius: 7px; background: white; }
.bbm-v3-benefits > a { min-width: 0; min-height: 82px; padding: 15px 17px; display: flex; align-items: center; gap: 12px; border-right: 1px solid var(--bbm-line); }
.bbm-v3-benefits > a:last-child { border-right: 0; }
.bbm-v3-benefits > a > span { width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid #ead464; border-radius: 50%; background: #fff8ce; color: #755e00; }
.bbm-v3-benefits .bbm-icon { width: 22px; height: 22px; }
.bbm-v3-benefits p { min-width: 0; margin: 0; display: grid; gap: 4px; }
.bbm-v3-benefits strong, .bbm-v3-benefits small { overflow: hidden; text-overflow: ellipsis; }
.bbm-v3-benefits strong { font-size: 12px; }
.bbm-v3-benefits small { color: var(--bbm-muted); font-size: 10px; line-height: 1.25; }

.bbm-v3-section, .bbm-v3-cart-builder { margin-top: 14px; overflow: hidden; border: 1px solid var(--bbm-line); border-radius: 7px; background: white; }
.bbm-v3-heading { min-height: 92px; padding: 17px 20px; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; border-bottom: 1px solid var(--bbm-line); }
.bbm-v3-heading > div > span { color: var(--bbm-price); font-size: 10px; font-weight: 900; letter-spacing: .1em; }
.bbm-v3-heading h2 { margin: 6px 0 4px; font-size: 27px; line-height: 1; letter-spacing: -.035em; }
.bbm-v3-heading p { margin: 0; color: var(--bbm-muted); font-size: 11px; line-height: 1.4; }
.bbm-v3-heading > a { flex: 0 0 auto; color: #666; font-size: 11px; font-weight: 800; }
.bbm-v3-heading > a:hover { color: var(--bbm-price); }
.bbm-v3-heading.is-dark { border-bottom-color: #38383a; background: var(--bbm-ink); color: white; }
.bbm-v3-heading.is-dark > div > span, .bbm-v3-heading.is-dark > a { color: var(--bbm-yellow); }
.bbm-v3-heading.is-dark p { color: #cfcfcf; }

.bbm-v3-departments { padding: 12px; display: grid; grid-template-columns: repeat(8,minmax(0,1fr)); gap: 8px; }
.bbm-v3-departments > a { min-width: 0; padding: 7px 7px 11px; display: grid; gap: 10px; border: 1px solid var(--bbm-line); border-radius: 6px; background: white; text-align: center; }
.bbm-v3-departments > a:first-child { border-color: var(--bbm-yellow-dark); background: #fffdf0; }
.bbm-v3-departments > a:hover { border-color: var(--bbm-yellow-dark); box-shadow: 0 4px 12px rgba(0,0,0,.08); }
.bbm-v3-department-photo { width: 100%; aspect-ratio: 1.12; overflow: hidden; display: grid; place-items: center; border-radius: 4px; background: #f1f1ef; }
.bbm-v3-department-photo img { width: 100%; height: 100%; display: block; object-fit: cover; }
.bbm-v3-department-photo.is-all { background: var(--bbm-yellow); }
.bbm-v3-department-photo.is-all .bbm-icon { width: 36px; height: 36px; }
.bbm-v3-departments strong { min-height: 26px; font-size: 10px; line-height: 1.25; }

.bbm-v3-product-grid { padding: 1px; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 1px; background: var(--bbm-line); }
.bbm-v3-product-card { min-width: 0; overflow: hidden; position: relative; background: white; }
.bbm-v3-product-card > .bbm-favourite-form { top: 8px; right: 8px; }
.bbm-v3-product-photo { width: 100%; aspect-ratio: 1; overflow: hidden; position: relative; display: block; background: #f1f1ef; }
.bbm-v3-product-photo img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .2s ease; }
.bbm-v3-product-card:hover .bbm-v3-product-photo img { transform: scale(1.03); }
.bbm-v3-product-badge { position: absolute; left: 8px; bottom: 8px; padding: 5px 7px; border-radius: 3px; background: var(--bbm-yellow); color: var(--bbm-ink); font-size: 8px; font-weight: 900; text-transform: uppercase; }
.bbm-v3-product-copy { padding: 11px; }
.bbm-v3-product-copy h3 { min-height: 39px; margin: 0; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 13px; font-weight: 600; line-height: 1.45; }
.bbm-v3-pack { margin-top: 7px; padding: 4px 6px; display: inline-block; border-radius: 2px; background: #f0f0f0; color: #555; font-size: 9px; }
.bbm-v3-buy-row { min-height: 45px; margin-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.bbm-v3-price { min-width: 0; color: var(--bbm-price); font-size: 16px; font-weight: 900; }
.bbm-v3-price .price { margin: 0; }
.bbm-v3-product-copy .bbm-card-plus { width: 38px; min-width: 38px; height: 38px; min-height: 38px; margin: 0 !important; padding: 0 !important; display: inline-flex !important; align-items: center; justify-content: center; border: 1px solid var(--bbm-yellow-dark) !important; border-radius: 5px !important; background: var(--bbm-yellow) !important; color: var(--bbm-ink) !important; font-size: 25px !important; font-weight: 900 !important; line-height: 1 !important; }
.bbm-v3-product-copy > small { padding-top: 8px; display: block; border-top: 1px dashed #ddd; color: #438052; font-size: 8px; line-height: 1.25; }

.bbm-v3-builder-grid { padding: 12px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; background: #f0f0ee; }
.bbm-v3-builder-grid > a { min-width: 0; overflow: hidden; border: 1px solid var(--bbm-line); border-radius: 6px; background: white; }
.bbm-v3-builder-grid img { width: 100%; height: 220px; display: block; object-fit: cover; }
.bbm-v3-builder-grid > a > div { min-height: 75px; padding: 12px; display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; }
.bbm-v3-builder-grid div > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--bbm-yellow); font-size: 14px; font-weight: 900; }
.bbm-v3-builder-grid p { min-width: 0; margin: 0; display: grid; gap: 3px; }
.bbm-v3-builder-grid strong { font-size: 13px; }
.bbm-v3-builder-grid small { color: var(--bbm-muted); font-size: 10px; }
.bbm-v3-builder-grid b { font-size: 24px; }

.bbm-v3-reorder { min-height: 160px; margin-top: 14px; padding: 26px 30px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; border-radius: 7px; background: var(--bbm-yellow); }
.bbm-v3-reorder-icon { width: 70px; height: 70px; display: grid; place-items: center; border-radius: 50%; background: var(--bbm-ink); color: var(--bbm-yellow); }
.bbm-v3-reorder-icon .bbm-icon { width: 35px; height: 35px; }
.bbm-v3-reorder span { font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.bbm-v3-reorder h2 { margin: 6px 0; font-size: 27px; letter-spacing: -.03em; }
.bbm-v3-reorder p { margin: 0; font-size: 12px; line-height: 1.45; }
.bbm-v3-reorder > a { min-height: 44px; padding: 0 16px; display: inline-flex; align-items: center; border-radius: 4px; background: var(--bbm-ink); color: white; font-size: 10px; font-weight: 900; text-transform: uppercase; }

.bbm-v3-use-grid { padding: 12px; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.bbm-v3-use-grid > a { min-width: 0; overflow: hidden; padding-bottom: 14px; display: grid; gap: 5px; border: 1px solid var(--bbm-line); border-radius: 6px; background: white; }
.bbm-v3-use-grid img { width: 100%; aspect-ratio: 1.65; display: block; object-fit: cover; }
.bbm-v3-use-grid strong, .bbm-v3-use-grid small { padding-inline: 13px; }
.bbm-v3-use-grid strong { margin-top: 7px; font-size: 14px; }
.bbm-v3-use-grid small { color: var(--bbm-muted); font-size: 10px; line-height: 1.3; }

.bbm-v3-business { margin-top: 14px; padding: 32px; display: flex; justify-content: space-between; align-items: center; gap: 30px; border-radius: 7px; background: var(--bbm-ink); color: white; }
.bbm-v3-business span { color: var(--bbm-yellow); font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.bbm-v3-business h2 { margin: 8px 0; font-size: 30px; letter-spacing: -.035em; }
.bbm-v3-business p { max-width: 760px; margin: 0; color: #ccc; font-size: 12px; line-height: 1.5; }
.bbm-v3-business > a { min-height: 44px; padding: 0 17px; flex: 0 0 auto; display: inline-flex; align-items: center; border-radius: 4px; background: var(--bbm-yellow); color: var(--bbm-ink); font-size: 10px; font-weight: 900; text-transform: uppercase; }

.bbm-v3-help { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bbm-v3-help > div { min-height: 94px; padding: 16px 18px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; border: 1px solid var(--bbm-line); border-radius: 7px; background: white; }
.bbm-v3-help > div > span { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: #fff8ce; }
.bbm-v3-help .bbm-icon { width: 23px; height: 23px; }
.bbm-v3-help p { margin: 0; display: grid; gap: 4px; }
.bbm-v3-help strong { font-size: 13px; }
.bbm-v3-help small { color: var(--bbm-muted); font-size: 10px; }
.bbm-v3-help a { font-size: 10px; font-weight: 900; text-transform: uppercase; }

/* 1.7 conversion and consistency pass. */
.bbm-v3-hero, .bbm-v3-hero-inner { min-height: 400px; }
.bbm-v3-hero-copy { width: min(500px,46%); padding: 38px 0; }
.bbm-v3-hero-copy h1 { margin: 14px 0; font-size: clamp(42px,4.2vw,60px); }
.bbm-v3-hero-copy > div { margin-top: 21px; }
.bbm-v3-product-card { height: 100%; display: flex; flex-direction: column; }
.bbm-v3-product-copy { flex: 1; display: flex; flex-direction: column; }
.bbm-v3-buy-row { margin-top: auto; }
.bbm-v3-product-photo img,
.woocommerce ul.products li.product a img { background: #fff; object-fit: contain; }
.woocommerce ul.products li.product { height: 100%; display: flex; flex-direction: column; }
.woocommerce ul.products li.product .woocommerce-loop-product__link { display: block; }
.woocommerce ul.products li.product .button.bbm-card-plus { margin-top: auto !important; }
.bbm-v3-product-grid::after { display: none !important; content: none !important; }
.bbm-v3-grid-filler { display: none; min-height: 100%; padding: 24px; align-content: center; gap: 9px; background: var(--bbm-ink); color: white; }
.bbm-v3-grid-filler strong { color: var(--bbm-yellow); font-size: 18px; line-height: 1.15; }
.bbm-v3-grid-filler span { color: #d8d8d8; font-size: 11px; line-height: 1.45; }

@media (max-width: 980px) {
  .bbm-v3-hero, .bbm-v3-hero-inner { min-height: 360px; }
  .bbm-v3-hero-copy { width: 57%; }
  .bbm-v3-benefits { grid-template-columns: repeat(2,1fr); }
  .bbm-v3-benefits > a:nth-child(2) { border-right: 0; }
  .bbm-v3-benefits > a:nth-child(-n+2) { border-bottom: 1px solid var(--bbm-line); }
  .bbm-v3-departments { grid-template-columns: repeat(4,1fr); }
  .bbm-v3-product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .bbm-v3-grid-filler.is-tablet-only { display: grid; }
}

@media (max-width: 760px) {
  .bbm-v3-home { padding-bottom: 4px; }
  .bbm-v3-hero { min-height: 260px; }
  .bbm-v3-hero > img { width: 52%; height: 100%; left: auto; right: 0; top: 0; object-position: 63% center; }
  .bbm-v3-hero-shade { background: linear-gradient(90deg,var(--bbm-ink) 0%,var(--bbm-ink) 48%,rgba(29,29,31,.82) 66%,rgba(29,29,31,.12) 100%); }
  .bbm-v3-hero-inner { min-height: 260px; align-items: center; }
  .bbm-v3-hero-copy { width: 72%; padding: 24px 2px; }
  .bbm-v3-hero-copy > span { font-size: 8px; letter-spacing: .12em; }
  .bbm-v3-hero-copy h1 { margin: 9px 0; font-size: clamp(29px,8.2vw,38px); line-height: .96; }
  .bbm-v3-hero-copy p { max-width: 330px; font-size: 11px; line-height: 1.42; }
  .bbm-v3-hero-copy > div { margin-top: 14px; }
  .bbm-v3-primary, .bbm-v3-secondary { min-height: 42px; padding-inline: 13px; font-size: 9px; }
  .bbm-v3-benefits { margin-top: 8px; }
  .bbm-v3-benefits > a { min-height: 86px; padding: 10px; gap: 8px; }
  .bbm-v3-benefits > a > span { width: 34px; height: 34px; }
  .bbm-v3-benefits strong { font-size: 10px; }
  .bbm-v3-benefits small { font-size: 8px; }
  .bbm-v3-section, .bbm-v3-cart-builder, .bbm-v3-reorder, .bbm-v3-business, .bbm-v3-help { margin-top: 8px; }
  .bbm-v3-heading { min-height: 82px; padding: 14px 12px; align-items: flex-start; }
  .bbm-v3-heading h2 { font-size: 21px; }
  .bbm-v3-heading p { font-size: 9px; }
  .bbm-v3-heading > a { max-width: 100px; font-size: 9px; text-align: right; }
  .bbm-v3-departments { padding: 7px; display: flex; gap: 6px; overflow-x: auto; scroll-snap-type: x proximity; }
  .bbm-v3-departments > a { width: 104px; flex: 0 0 104px; padding: 5px 5px 8px; gap: 7px; scroll-snap-align: start; }
  .bbm-v3-departments strong { font-size: 8px; }
  .bbm-v3-product-grid { padding: 6px; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; background: var(--bbm-paper); }
  .bbm-v3-grid-filler.is-tablet-only { display: none; }
  .bbm-v3-product-card { border-radius: 5px; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
  .bbm-v3-product-copy { padding: 9px; }
  .bbm-v3-product-copy h3 { min-height: 36px; font-size: 12px; }
  .bbm-v3-price { font-size: 15px; }
  .bbm-v3-product-copy .bbm-card-plus { width: 36px; min-width: 36px; height: 36px; min-height: 36px; font-size: 23px !important; }
  .bbm-v3-builder-grid { padding: 7px; grid-template-columns: 1fr; gap: 7px; }
  .bbm-v3-builder-grid > a { display: grid; grid-template-columns: 120px 1fr; }
  .bbm-v3-builder-grid img { width: 120px; height: 110px; }
  .bbm-v3-builder-grid > a > div { min-height: 110px; padding: 10px; }
  .bbm-v3-reorder { padding: 22px 16px; grid-template-columns: auto 1fr; gap: 14px; }
  .bbm-v3-reorder-icon { width: 52px; height: 52px; }
  .bbm-v3-reorder h2 { font-size: 22px; }
  .bbm-v3-reorder p { font-size: 10px; }
  .bbm-v3-reorder > a { grid-column: 1/-1; justify-self: stretch; justify-content: center; }
  .bbm-v3-use-grid { padding: 7px; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
  .bbm-v3-use-grid strong { font-size: 11px; }
  .bbm-v3-use-grid small { font-size: 8px; }
  .bbm-v3-business { padding: 24px 17px; display: block; }
  .bbm-v3-business h2 { font-size: 24px; }
  .bbm-v3-business > a { margin-top: 17px; }
  .bbm-v3-help { grid-template-columns: 1fr; gap: 7px; }
  .bbm-v3-help > div { padding: 13px; }
}

@media (max-width: 430px) {
  .bbm-v3-hero, .bbm-v3-hero-inner { min-height: 244px; }
  .bbm-v3-hero-copy { width: 76%; }
  .bbm-v3-hero-copy h1 { font-size: 29px; }
  .bbm-v3-hero-copy p { font-size: 10px; }
}

/* BuyBuyMart 1.3 navigation, account tools and dependable icon system */
.bbm-icon { width: 1em; height: 1em; display: block; overflow: visible; }
.bbm-header-main { grid-template-columns: 245px minmax(280px,1fr) 245px; }
.bbm-actions { gap: 2px; }
.bbm-action { min-width: 76px; }
.bbm-action .bbm-icon { width: 24px; height: 24px; }
.bbm-action:hover { background: rgba(255,255,255,.35); }
.bbm-action-favourites .bbm-icon { color: #9c2e26; }
.bbm-action-cart .bbm-icon { width: 27px; height: 27px; }

.bbm-v2-account > a > span .bbm-icon { width: 18px; height: 18px; }
.bbm-v2-shortcuts a > span .bbm-icon { width: 25px; height: 25px; }
.bbm-v2-shortcuts a > span.bbm-v2-free { color: var(--bbm-ink); }

.bbm-favourite-form { margin: 0; }
.bbm-favourite-form.is-compact { position: absolute; z-index: 8; top: 8px; right: 8px; }
.bbm-favourite-button { min-height: 38px; padding: 0 13px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid #d5d5d5; border-radius: 20px; background: rgba(255,255,255,.96); color: var(--bbm-ink); box-shadow: 0 2px 7px rgba(0,0,0,.12); cursor: pointer; font-size: 10px; font-weight: 800; }
.bbm-favourite-button .bbm-icon { width: 18px; height: 18px; }
.bbm-favourite-form.is-compact .bbm-favourite-button { width: 38px; padding: 0; }
.bbm-favourite-form.is-compact .bbm-favourite-button span { display: none; }
.bbm-favourite-button:hover, .bbm-favourite-button.is-saved { border-color: var(--bbm-yellow-dark); background: var(--bbm-yellow); }
.bbm-favourite-button.is-saved .bbm-icon { fill: currentColor; }
.bbm-single-favourite { margin: 0 0 10px; display: flex; justify-content: flex-end; }
.bbm-v2-product-card > .bbm-favourite-form { top: 8px; right: 8px; }
.woocommerce ul.products li.product > .bbm-favourite-form { top: 7px; right: 7px; }

.bbm-product-assurance { margin: 0 0 18px; overflow: hidden; border: 1px solid var(--bbm-line); border-radius: 6px; }
.bbm-product-assurance > div, .bbm-product-assurance > a { min-height: 58px; padding: 10px 12px; display: flex; align-items: center; gap: 11px; border-bottom: 1px solid var(--bbm-line); background: #fff; }
.bbm-product-assurance > *:last-child { border-bottom: 0; }
.bbm-product-assurance .bbm-icon { width: 25px; height: 25px; flex: 0 0 auto; color: #8a6c00; }
.bbm-product-assurance span { display: grid; gap: 3px; }
.bbm-product-assurance strong { font-size: 11px; }
.bbm-product-assurance small { color: var(--bbm-muted); font-size: 9px; }
.bbm-product-form-anchor { display: block; position: relative; top: -120px; visibility: hidden; }

.bbm-tool-page, .bbm-category-page { margin-top: -8px; }
.bbm-tool-intro { margin-bottom: 18px; padding: 20px; display: flex; align-items: center; gap: 15px; border-left: 7px solid var(--bbm-yellow); background: #fff8d4; }
.bbm-tool-intro > .bbm-icon { width: 38px; height: 38px; flex: 0 0 auto; }
.bbm-tool-intro h2 { margin: 0 0 5px !important; font-size: 22px !important; }
.bbm-tool-intro p { margin: 0; color: var(--bbm-muted); font-size: 11px !important; }
.bbm-tool-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.bbm-tool-card { min-width: 0; padding: 0 !important; overflow: hidden; position: relative; border: 1px solid var(--bbm-line) !important; border-radius: 6px !important; background: white; }
.bbm-tool-card-image { aspect-ratio: 1; display: block; overflow: hidden; background: #eee; }
.bbm-tool-card-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.bbm-tool-card-copy { padding: 13px; }
.bbm-tool-card-copy > small { display: block; margin-bottom: 7px; color: #8a6c00; font-size: 9px; font-weight: 800; }
.bbm-tool-card h2 { min-height: 38px; margin: 0 0 9px !important; font-size: 13px !important; line-height: 1.4; }
.bbm-tool-card-price { color: var(--bbm-price); font-size: 17px; font-weight: 900; }
.bbm-tool-card-action { margin-top: 12px; min-height: 35px; padding: 0 10px; display: flex; align-items: center; justify-content: space-between; border-radius: 4px; background: var(--bbm-yellow); font-size: 9px; font-weight: 900; text-transform: uppercase; }
.bbm-tool-card-action .bbm-icon { width: 16px; height: 16px; }
.bbm-tool-empty { padding: 55px 22px; border: 1px dashed #c9b23f; border-radius: 7px; background: white; text-align: center; }
.bbm-tool-empty strong { display: block; font-size: 19px; }
.bbm-tool-empty p { margin: 8px auto 18px; color: var(--bbm-muted); }
.bbm-tool-note { margin-top: 18px !important; padding: 12px 14px; border-radius: 5px; background: #f3f3f3; font-size: 10px !important; }
.bbm-tool-note a { text-decoration: underline; font-weight: 800; }

.bbm-category-page-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.bbm-category-page-grid > a { min-height: 190px; padding: 22px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; border: 1px solid var(--bbm-line); border-radius: 7px; background: white; }
.bbm-category-page-grid > a:hover { border-color: var(--bbm-yellow-dark); box-shadow: 0 5px 15px rgba(0,0,0,.08); }
.bbm-category-page-grid > a > span { width: 58px; height: 58px; margin-bottom: 14px; display: grid; place-items: center; border-radius: 17px; background: #fff4ac; color: #5e4b00; }
.bbm-category-page-grid .bbm-icon { width: 30px; height: 30px; }
.bbm-category-page-grid strong { font-size: 15px; }
.bbm-category-page-grid small { margin-top: 7px; color: var(--bbm-muted); font-size: 10px; line-height: 1.5; }
.bbm-category-page-grid b { margin-top: 11px; color: #927400; font-size: 9px; text-transform: uppercase; }

.bbm-account-quick-links { margin: 0 0 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bbm-account-quick-links a { min-height: 78px; padding: 15px; display: flex; align-items: center; gap: 13px; border: 1px solid var(--bbm-line); border-radius: 6px; background: #fff9da; }
.bbm-account-quick-links .bbm-icon { width: 30px; height: 30px; flex: 0 0 auto; }
.bbm-account-quick-links span { display: grid; gap: 4px; }
.bbm-account-quick-links strong { font-size: 12px; }
.bbm-account-quick-links small { color: var(--bbm-muted); font-size: 9px; }

.bbm-mobile-product-bar { display: none; }

@media (max-width: 980px) {
  .bbm-header-main { grid-template-columns: 200px minmax(240px,1fr) 220px; }
  .bbm-tool-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

@media (max-width: 760px) {
  .bbm-header-main { min-height: 111px; grid-template-columns: minmax(0,1fr) auto; grid-template-rows: auto auto; gap: 9px; padding: 10px 0; }
  .bbm-brand { grid-column: 1; grid-row: 1; display: inline-flex; font-size: 20px; }
  .bbm-brand .bbm-bag { width: 34px; height: 32px; font-size: 17px; }
  .bbm-search { grid-column: 1/-1; grid-row: 2; height: 42px; }
  .bbm-actions { grid-column: 2; grid-row: 1; }
  .bbm-actions .bbm-action { display: none; }
  .bbm-actions .bbm-action-cart { min-width: 42px; min-height: 38px; display: grid; }
  .bbm-action-cart .bbm-icon { width: 26px; height: 26px; }
  .bbm-action-cart small { display: none; }
  .bbm-count { top: -2px; right: -1px; }

  .bbm-mobile-dock a:first-child { color: #777; }
  .bbm-mobile-dock a.is-current { color: var(--bbm-price); font-weight: 800; }
  .bbm-mobile-dock .bbm-icon { width: 21px; height: 21px; }
  .bbm-mobile-dock a.is-current { color: var(--bbm-ink); }
  .bbm-mobile-dock a.is-current .bbm-icon { padding: 4px; border-radius: 8px; background: var(--bbm-yellow); }
  .single-product { padding-bottom: 68px; }
  .single-product .bbm-mobile-dock { display: none; }
  .bbm-mobile-product-bar { height: 64px; position: fixed; z-index: 70; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 64px minmax(0,1fr) 64px; border-top: 1px solid #d0d0d0; background: white; box-shadow: 0 -3px 14px rgba(0,0,0,.12); }
  .bbm-mobile-product-bar > a { display: flex; align-items: center; justify-content: center; text-align: center; }
  .bbm-mobile-chat, .bbm-mobile-view-cart { flex-direction: column; gap: 3px; position: relative; font-size: 8px; }
  .bbm-mobile-chat .bbm-icon, .bbm-mobile-view-cart .bbm-icon { width: 21px; height: 21px; }
  .bbm-mobile-choose { flex-direction: column; background: var(--bbm-yellow); color: var(--bbm-ink); }
  .bbm-mobile-choose span { font-size: 8px; text-transform: uppercase; }
  .bbm-mobile-choose strong { margin-top: 2px; font-size: 13px; text-transform: uppercase; }
  .bbm-mobile-product-count { top: 6px; right: 8px; }

  .bbm-tool-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
  .bbm-tool-card-copy { padding: 9px; }
  .bbm-tool-card h2 { min-height: 35px; font-size: 12px !important; }
  .bbm-category-page-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
  .bbm-category-page-grid > a { min-height: 165px; padding: 16px; }
  .bbm-category-page-grid > a > span { width: 48px; height: 48px; }
  .bbm-category-page-grid .bbm-icon { width: 25px; height: 25px; }
  .bbm-category-page-grid strong { font-size: 12px; }
  .bbm-category-page-grid small { font-size: 9px; }
  .bbm-account-quick-links { grid-template-columns: 1fr; }
  .bbm-single-favourite { margin-bottom: 6px; }
}

@media (max-width: 430px) {
  .bbm-tool-intro { padding: 16px; gap: 12px; }
  .bbm-tool-intro > .bbm-icon { width: 31px; height: 31px; }
  .bbm-tool-intro h2 { font-size: 18px !important; }
  .bbm-category-page-grid > a { min-height: 155px; padding: 14px; }
}

@media (max-width: 430px) {
  .bbm-side-promos, .bbm-trust { grid-template-columns: 1fr; }
  .bbm-trust div { border-right: 0; border-bottom: 1px solid var(--bbm-line); }
  .bbm-product-image { height: 150px; }
  .bbm-card h3 { font-size: 12px; }
  .bbm-footer-grid { grid-template-columns: 1fr; }
  .bbm-footer-grid > div:first-child, .bbm-footer-grid > div:last-child { grid-column: auto; }
  .bbm-content article { padding: 22px 17px; }
}

/* BuyBuyMart 1.0 customer-ready storefront */
.bbm-utility strong { color: var(--bbm-yellow); font-size: 11px; letter-spacing: .01em; }
.bbm-hero-actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.bbm-secondary { min-height: 45px; padding: 0 19px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid currentColor; border-radius: 3px; color: inherit; font-size: 11px; font-weight: 900; text-transform: uppercase; }
.bbm-hero .bbm-secondary { color: white; }
.bbm-secondary:hover { background: rgba(255,255,255,.1); }
.bbm-promo a { display: inline-block; margin-top: 14px; border-bottom: 1px solid currentColor; font-size: 11px; font-weight: 900; }
.bbm-promo-delivery strong { font-size: 45px; }
.bbm-promo-bulk strong { line-height: 1.02; }

.bbm-free-shipping-callout { margin-top: 20px; padding: 25px 28px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; border: 2px solid var(--bbm-ink); border-radius: 4px; background: var(--bbm-yellow); }
.bbm-free-shipping-number { min-width: 108px; padding: 13px 16px; border: 3px solid var(--bbm-ink); background: white; text-align: center; font-size: 31px; font-weight: 900; letter-spacing: -.06em; transform: rotate(-2deg); }
.bbm-free-shipping-callout small { font-size: 9px; font-weight: 900; letter-spacing: .14em; }
.bbm-free-shipping-callout h2 { margin: 4px 0 5px; font-size: 25px; letter-spacing: -.035em; }
.bbm-free-shipping-callout p { margin: 0; color: #594e1d; font-size: 11px; line-height: 1.5; }
.bbm-free-shipping-callout > a { min-height: 44px; padding: 0 18px; display: flex; align-items: center; border-radius: 3px; background: var(--bbm-ink); color: white; font-size: 10px; font-weight: 900; text-transform: uppercase; }

.bbm-why { margin-top: 20px; overflow: hidden; border: 1px solid var(--bbm-line); border-radius: 4px; background: white; }
.bbm-why-grid { display: grid; grid-template-columns: repeat(3,1fr); }
.bbm-why-grid article { padding: 28px; border-right: 1px solid var(--bbm-line); }
.bbm-why-grid article:last-child { border-right: 0; }
.bbm-why-grid span { display: inline-grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: var(--bbm-yellow); font-size: 11px; font-weight: 900; }
.bbm-why-grid h3 { margin: 15px 0 8px; font-size: 18px; }
.bbm-why-grid p { margin: 0; color: var(--bbm-muted); font-size: 12px; line-height: 1.6; }

.bbm-how { margin-top: 20px; padding: 32px; display: grid; grid-template-columns: .55fr 1.45fr; align-items: center; gap: 35px; border-radius: 4px; background: var(--bbm-ink); color: white; }
.bbm-how > div small { color: var(--bbm-yellow); font-size: 9px; font-weight: 900; letter-spacing: .15em; }
.bbm-how h2 { margin: 8px 0 0; font-size: 29px; letter-spacing: -.04em; }
.bbm-how ol { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3,1fr); list-style: none; }
.bbm-how li { padding: 10px 20px; display: flex; gap: 12px; border-left: 1px solid #4c4c4f; }
.bbm-how li b { width: 30px; height: 30px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: var(--bbm-yellow); color: var(--bbm-ink); font-size: 11px; }
.bbm-how li span { display: flex; flex-direction: column; gap: 5px; }
.bbm-how li strong { font-size: 12px; }
.bbm-how li small { color: #bfbfbf; font-size: 10px; line-height: 1.45; }

.bbm-home-faq { margin: 20px auto; padding: 34px 38px; display: grid; grid-template-columns: .75fr 1.25fr; gap: 50px; border: 1px solid var(--bbm-line); border-radius: 4px; background: white; }
.bbm-home-faq > div:first-child > small { color: #8b7000; font-size: 9px; font-weight: 900; letter-spacing: .14em; }
.bbm-home-faq h2 { margin: 8px 0; font-size: 28px; letter-spacing: -.04em; }
.bbm-home-faq > div:first-child p { color: var(--bbm-muted); font-size: 12px; line-height: 1.6; }
.bbm-home-faq > div:first-child a, .bbm-text-link { color: #806700; font-size: 10px; font-weight: 900; text-transform: uppercase; }
.bbm-mini-faq details, .bbm-faq-list details { border-bottom: 1px solid var(--bbm-line); }
.bbm-mini-faq details:first-child, .bbm-faq-list details:first-child { border-top: 1px solid var(--bbm-line); }
.bbm-mini-faq summary, .bbm-faq-list summary { padding: 16px 34px 16px 0; position: relative; cursor: pointer; font-size: 13px; font-weight: 800; list-style: none; }
.bbm-mini-faq summary::-webkit-details-marker, .bbm-faq-list summary::-webkit-details-marker { display: none; }
.bbm-mini-faq summary::after, .bbm-faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 12px; color: #8b7000; font-size: 22px; }
.bbm-mini-faq details[open] summary::after, .bbm-faq-list details[open] summary::after { content: "−"; }
.bbm-mini-faq p, .bbm-faq-list details p { margin: 0; padding: 0 30px 16px 0; color: var(--bbm-muted); font-size: 12px; line-height: 1.6; }

.bbm-footer { padding-bottom: 0; }
.bbm-footer-brand .bbm-footer-offer { margin-top: 9px; padding: 7px 9px; border: 1px solid #6f5d00; border-radius: 2px; background: #2a2a2d; color: var(--bbm-yellow); font-size: 9px; font-weight: 900; text-transform: uppercase; }
.bbm-footer-bottom { min-height: 58px; margin-top: 38px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #38383a; color: #858585; font-size: 10px; }

.bbm-page-content { padding-top: 36px; padding-bottom: 45px; }
.bbm-content .bbm-page-card { max-width: 100%; padding: 0; overflow: hidden; }
.bbm-page-header { padding: 42px 48px; position: relative; overflow: hidden; background: var(--bbm-ink); color: white; }
.bbm-page-header::after { content: ""; position: absolute; inset: auto 0 0; height: 8px; background: repeating-linear-gradient(135deg,var(--bbm-yellow) 0 12px,var(--bbm-ink) 12px 24px); }
.bbm-page-header span { color: var(--bbm-yellow); font-size: 9px; font-weight: 900; letter-spacing: .16em; }
.bbm-page-header h1 { margin: 9px 0 0 !important; font-size: clamp(32px,5vw,52px) !important; }
.bbm-page-body { max-width: 920px; padding: 42px 48px 54px; }
.bbm-page-body .bbm-lead { margin-top: 0; color: var(--bbm-ink); font-size: 20px; font-weight: 700; line-height: 1.45; }
.bbm-page-body .bbm-updated { color: #8a8a8a; font-size: 10px; font-weight: 700; text-transform: uppercase; }
.bbm-page-body h2 { margin-top: 34px; font-size: 21px; }
.bbm-page-body p, .bbm-page-body li { color: #4d4d4f; font-size: 14px; line-height: 1.75; }
.bbm-info-grid, .bbm-contact-intro { margin: 24px 0; display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.bbm-info-grid > div, .bbm-contact-intro > div { padding: 20px; border: 1px solid var(--bbm-line); border-top: 5px solid var(--bbm-yellow); background: #fafafa; }
.bbm-info-grid strong, .bbm-contact-intro strong { font-size: 14px; }
.bbm-info-grid p, .bbm-contact-intro p { margin-bottom: 0; font-size: 12px; line-height: 1.55; }

.bbm-contact-form { margin-top: 34px; padding: 28px; border: 1px solid var(--bbm-line); border-radius: 4px; background: #f8f8f7; }
.bbm-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.bbm-contact-form p { margin: 0 0 16px; }
.bbm-contact-form label { display: block; margin-bottom: 7px; color: var(--bbm-ink); font-size: 11px; font-weight: 800; }
.bbm-contact-form label span { color: var(--bbm-price); }
.bbm-contact-form input, .bbm-contact-form select, .bbm-contact-form textarea { width: 100%; min-height: 45px; padding: 10px 12px; border: 1px solid #cfcfcf; border-radius: 3px; background: white; }
.bbm-contact-form textarea { resize: vertical; }
.bbm-contact-form .bbm-form-consent { color: #777; font-size: 10px; line-height: 1.55; }
.bbm-contact-form .bbm-form-consent a { text-decoration: underline; }
.bbm-honeypot { position: absolute !important; left: -9999px !important; }
.bbm-form-success, .bbm-form-error { margin: 0 0 18px; padding: 13px 15px; border-left: 5px solid #2b8a3e; background: #e8f7ea; font-size: 12px; font-weight: 800; }
.bbm-form-error { border-color: var(--bbm-price); background: #fff0ee; }

.bbm-not-found { min-height: 470px; padding: 65px 30px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid var(--bbm-line); border-radius: 4px; background: white; text-align: center; }
.bbm-not-found > span { color: var(--bbm-yellow-dark); font-size: 70px; font-weight: 900; letter-spacing: -.08em; }
.bbm-not-found h1 { margin: 8px 0; font-size: 35px; }
.bbm-not-found p { max-width: 620px; color: var(--bbm-muted); font-size: 13px; line-height: 1.6; }
.bbm-search-large { width: min(620px,100%); margin: 18px 0; border: 1px solid var(--bbm-line); }
.bbm-not-found > div { display: flex; flex-wrap: wrap; gap: 10px; }
.bbm-not-found .bbm-secondary { color: var(--bbm-ink); }
.bbm-no-search { min-height: 280px; }
.bbm-no-search h2 { margin-bottom: 5px; }

.bbm-search-heading { margin-bottom: 18px; padding: 28px 32px; border-left: 8px solid var(--bbm-yellow); background: white; }
.bbm-search-heading span { color: #8b7000; font-size: 9px; font-weight: 900; letter-spacing: .15em; }
.bbm-search-heading h1 { margin: 7px 0 4px; font-size: 32px; }
.bbm-search-heading p { margin: 0; color: var(--bbm-muted); font-size: 11px; }
.bbm-search-results { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bbm-content .bbm-search-results article { max-width: none; padding: 14px; display: grid; grid-template-columns: 120px 1fr; gap: 15px; }
.bbm-search-result-image { min-height: 120px; display: grid; place-items: center; overflow: hidden; background: #efefed; }
.bbm-search-result-image img { width: 100%; height: 100%; object-fit: cover; }
.bbm-search-result-image .bbm-drawing { transform: scale(.65); }
.bbm-search-results small { color: #927400; font-size: 8px; font-weight: 900; }
.bbm-search-results h2 { margin: 7px 0; font-size: 15px; }
.bbm-search-results strong { display: block; margin-bottom: 12px; color: var(--bbm-price); }

.bbm-shipping-progress { margin-bottom: 20px; padding: 17px 18px; border: 1px solid #e2c74b; border-radius: 4px; background: #fff7cf; }
.bbm-shipping-progress > strong { display: block; margin-bottom: 9px; font-size: 13px; }
.bbm-shipping-progress > span { height: 8px; display: block; overflow: hidden; border-radius: 5px; background: #e7dfb9; }
.bbm-shipping-progress > span i { height: 100%; display: block; border-radius: inherit; background: var(--bbm-yellow-dark); }
.bbm-shipping-progress > small { display: block; margin-top: 7px; color: #71683b; font-size: 9px; }

.woocommerce .woocommerce-breadcrumb { margin-bottom: 20px; color: #777; font-size: 10px; }
.woocommerce .woocommerce-breadcrumb a { color: #806700; }
.woocommerce-products-header { margin-bottom: 18px; padding: 27px 30px; border-left: 8px solid var(--bbm-yellow); background: white; }
.woocommerce-products-header__title { margin: 0; font-size: 31px; letter-spacing: -.035em; }
.woocommerce .woocommerce-result-count, .woocommerce .woocommerce-ordering { margin-bottom: 18px; font-size: 11px; }
.woocommerce .woocommerce-ordering select { min-height: 38px; padding: 0 34px 0 11px; border: 1px solid var(--bbm-line); background: white; }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; padding: 12px; border: 1px solid var(--bbm-line); border-radius: 3px; background: white; transition: transform .15s ease,box-shadow .15s ease; }
.woocommerce ul.products li.product:hover { transform: translateY(-3px); border-color: #d2b643; box-shadow: 0 7px 18px rgba(0,0,0,.1); }
.woocommerce ul.products li.product img { aspect-ratio: 1/1; object-fit: cover; background: #efefed; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { min-height: 48px; padding: 6px 0 0; font-size: 13px; line-height: 1.45; }
.woocommerce ul.products li.product .price { min-height: 28px; font-size: 19px; font-weight: 900; }
.woocommerce ul.products li.product .button { width: 100%; margin-top: 8px; text-align: center; font-size: 10px; text-transform: uppercase; }
.woocommerce span.onsale { min-width: 46px; min-height: 46px; line-height: 46px; background: var(--bbm-yellow); color: var(--bbm-ink); font-size: 9px; }
.woocommerce div.product { padding: 25px; border: 1px solid var(--bbm-line); border-radius: 4px; background: white; }
.woocommerce div.product .product_title { font-size: clamp(28px,4vw,43px); line-height: 1.05; letter-spacing: -.04em; }
.woocommerce div.product p.price { font-size: 28px; font-weight: 900; }
.woocommerce div.product .woocommerce-product-details__short-description { color: #555; font-size: 13px; line-height: 1.65; }
.woocommerce div.product form.cart { padding-top: 16px; border-top: 1px solid var(--bbm-line); }
.woocommerce div.product form.cart .qty { min-height: 42px; }
.woocommerce div.product form.cart table.variations { margin-bottom: 10px; }
.woocommerce div.product form.cart table.variations th,
.woocommerce div.product form.cart table.variations td { display: block; width: 100%; padding: 0; text-align: left; }
.woocommerce div.product form.cart table.variations th.label { margin: 15px 0 8px; }
.woocommerce div.product form.cart table.variations th.label label { font-size: 12px; }
.woocommerce div.product form.cart table.variations select[data-bbm-buttons-ready="1"] { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.bbm-variation-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.bbm-variation-option { min-height: 40px; padding: 8px 13px; border: 1px solid #cfcfcf; border-radius: 3px; background: #fff; color: #333; font-size: 11px; font-weight: 700; line-height: 1.25; cursor: pointer; }
.bbm-variation-option:hover { border-color: #b18d00; background: #fff9d8; }
.bbm-variation-option.is-selected { border: 2px solid var(--bbm-price); padding: 7px 12px; background: #fff5f3; color: var(--bbm-price); }
.bbm-variation-option:disabled { border-color: #e5e5e5; background: #f4f4f4; color: #aaa; cursor: not-allowed; text-decoration: line-through; }
.woocommerce div.product form.cart .reset_variations { margin-top: 10px; display: inline-flex !important; color: #777; font-size: 10px; text-decoration: underline; }
.woocommerce div.product .product_meta { color: #777; font-size: 10px; line-height: 1.8; }
.woocommerce div.product .woocommerce-tabs { padding-top: 25px; }
.woocommerce table.shop_table { border-color: var(--bbm-line); border-radius: 4px; background: white; }
.woocommerce table.shop_table th { font-size: 11px; text-transform: uppercase; }
.woocommerce table.shop_table td { font-size: 12px; }
.woocommerce-cart .cart-collaterals .cart_totals { padding: 22px; border: 1px solid var(--bbm-line); border-radius: 4px; background: white; }
.woocommerce-account .woocommerce-MyAccount-navigation { padding: 18px; border-radius: 4px; background: var(--bbm-ink); }
.woocommerce-account .woocommerce-MyAccount-navigation ul { margin: 0; padding: 0; list-style: none; }
.woocommerce-account .woocommerce-MyAccount-navigation li a { display: block; padding: 10px 8px; border-bottom: 1px solid #3e3e40; color: white; font-size: 11px; }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { color: var(--bbm-yellow); font-weight: 900; }
.woocommerce-account .woocommerce-MyAccount-content { padding: 24px; border: 1px solid var(--bbm-line); border-radius: 4px; background: white; }
.woocommerce form.login, .woocommerce form.register, .woocommerce form.checkout_coupon { border-color: var(--bbm-line); background: white; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select { min-height: 43px; padding: 9px 11px; border: 1px solid #cfcfcf; }

@media (max-width: 980px) {
  .woocommerce ul.products { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .bbm-how { grid-template-columns: 1fr; }
  .bbm-home-faq { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 760px) {
  .bbm-utility .bbm-wrap { justify-content: space-between; }
  .bbm-utility-links a:not(:last-child) { display: none; }
  .bbm-free-shipping-callout { grid-template-columns: auto 1fr; gap: 15px; }
  .bbm-free-shipping-callout > a { grid-column: 1/-1; justify-content: center; }
  .bbm-why-grid { grid-template-columns: 1fr; }
  .bbm-why-grid article { border-right: 0; border-bottom: 1px solid var(--bbm-line); }
  .bbm-why-grid article:last-child { border-bottom: 0; }
  .bbm-how { padding: 26px 21px; }
  .bbm-how ol { grid-template-columns: 1fr; }
  .bbm-how li { padding: 15px 0; border-left: 0; border-top: 1px solid #4c4c4f; }
  .bbm-home-faq { padding: 27px 22px; }
  .bbm-info-grid, .bbm-contact-intro { grid-template-columns: 1fr; }
  .bbm-page-header { padding: 34px 23px; }
  .bbm-page-body { padding: 28px 22px 38px; }
  .bbm-form-grid { grid-template-columns: 1fr; }
  .bbm-contact-form { padding: 20px 16px; }
  .bbm-search-results { grid-template-columns: 1fr; }
  .woocommerce ul.products { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
  .woocommerce div.product { padding: 15px; }
  .woocommerce-account .woocommerce-MyAccount-navigation, .woocommerce-account .woocommerce-MyAccount-content { width: 100%; float: none; }
  .bbm-footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; gap: 5px; }
}

@media (max-width: 430px) {
  .bbm-utility strong { font-size: 9px; }
  .bbm-free-shipping-number { min-width: 84px; font-size: 25px; }
  .bbm-free-shipping-callout h2 { font-size: 20px; }
  .bbm-content .bbm-search-results article { grid-template-columns: 95px 1fr; }
}

/* BuyBuyMart 1.1 real-product visual system */
.bbm-hero-main {
  min-height: 430px;
  display: block;
  background-color: #171717;
  background-image: url("assets/brand/home-hero-banner.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.bbm-hero-main::before { content: none; }
.bbm-hero-copy { width: 53%; padding: 58px 28px 48px 48px; }
.bbm-hero h1 { max-width: 610px; font-size: clamp(46px,4.7vw,68px); }
.bbm-hero-copy p { max-width: 480px; }
.bbm-hero-points { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 15px; }
.bbm-hero-points span { color: #f2f2f2; font-size: 10px; font-weight: 800; }

.bbm-category { min-height: 220px; padding: 0 0 15px; justify-content: flex-start; gap: 6px; overflow: hidden; background: white; }
.bbm-category-photo { width: 100%; aspect-ratio: 4/3; overflow: hidden; display: block; border-bottom: 5px solid var(--bbm-yellow); background: #181818; }
.bbm-category-photo img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .2s ease; }
.bbm-category:hover .bbm-category-photo img { transform: scale(1.04); }
.bbm-category strong { padding: 5px 9px 0; font-size: 12px; line-height: 1.25; }
.bbm-category small { padding: 0 9px; color: var(--bbm-muted); font-size: 9px; line-height: 1.35; }

.bbm-product-image { background: #171717; }
.bbm-product-image::after { content: none; }
.bbm-product-image img { object-fit: cover; }
.bbm-pack { right: auto; left: 9px; background: var(--bbm-yellow); color: var(--bbm-ink); letter-spacing: .03em; }
.bbm-direct-price { margin: 12px 0 18px; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; border-left: 5px solid var(--bbm-yellow); background: #fff7c7; }
.bbm-direct-price strong { font-size: 12px; text-transform: uppercase; }
.bbm-direct-price span { color: #655c31; font-size: 10px; }
.bbm-pending-details { margin: 24px 0; padding: 18px 20px; border: 1px dashed #c6a900; border-radius: 3px; background: #fff9da; }
.bbm-pending-details h2 { margin-top: 0; }
.bbm-pending-details p { margin: 5px 0; font-size: 12px; }

.woocommerce ul.products li.product { position: relative; overflow: hidden; }
.woocommerce ul.products li.product::before { content: "DIRECT WEBSITE VALUE"; position: absolute; left: 12px; top: 12px; z-index: 4; padding: 5px 7px; border-radius: 2px; background: var(--bbm-yellow); color: var(--bbm-ink); font-size: 8px; font-weight: 900; letter-spacing: .03em; }
.woocommerce ul.products li.product img { margin-bottom: 10px; }
.woocommerce div.product div.images img { background: #171717; }

@media (max-width: 980px) {
  .bbm-hero-copy { width: 62%; }
  .bbm-categories { grid-template-columns: repeat(3,1fr); }
  .bbm-category:nth-child(3n) { border-right: 0; }
}

@media (max-width: 760px) {
  .bbm-hero-main { min-height: 545px; background-position: 65% center; }
  .bbm-hero-main::before { content: ""; display: block; position: absolute; inset: 0; background: linear-gradient(90deg,rgba(15,15,15,.96) 0%,rgba(15,15,15,.82) 50%,rgba(15,15,15,.1) 100%); }
  .bbm-hero-copy { width: 100%; padding: 42px 22px 218px; }
  .bbm-hero h1 { max-width: 420px; font-size: 48px; }
  .bbm-hero-copy p { max-width: 390px; }
  .bbm-categories { grid-template-columns: repeat(2,1fr); }
  .bbm-category:nth-child(3n) { border-right: 1px solid var(--bbm-line); }
  .bbm-category:nth-child(2n) { border-right: 0; }
}

@media (max-width: 430px) {
  .bbm-hero-main { min-height: 570px; background-position: 62% center; }
  .bbm-hero-copy { padding-bottom: 235px; }
  .bbm-hero h1 { font-size: 43px; }
  .bbm-hero-points { gap: 7px 11px; }
  .bbm-category { min-height: 195px; }
}

/* BuyBuyMart 1.2 marketplace-style storefront */
.bbm-v2-home { padding: 1px 0 28px; }
.bbm-v2-account { margin-top: 12px; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); overflow: hidden; border: 1px solid var(--bbm-line); border-radius: 7px; background: white; }
.bbm-v2-account > a { min-width: 0; min-height: 70px; padding: 12px 15px; display: flex; align-items: center; gap: 10px; border-right: 1px solid var(--bbm-line); }
.bbm-v2-account > a:last-child { border-right: 0; }
.bbm-v2-account > a > span { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid #ecd25d; border-radius: 50%; background: #fff5b4; font-size: 12px; font-weight: 900; }
.bbm-v2-account p { min-width: 0; margin: 0; display: grid; gap: 3px; }
.bbm-v2-account strong, .bbm-v2-account small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bbm-v2-account strong { font-size: 12px; }
.bbm-v2-account small { color: var(--bbm-muted); font-size: 10px; }

.bbm-v2-shortcuts { margin-top: 10px; display: grid; grid-template-columns: repeat(8,1fr); overflow: hidden; border: 1px solid var(--bbm-line); border-radius: 7px; background: white; }
.bbm-v2-shortcuts a { min-width: 0; padding: 15px 8px 13px; display: grid; justify-items: center; gap: 8px; text-align: center; }
.bbm-v2-shortcuts a > span { width: 50px; height: 50px; display: grid; place-items: center; border: 1px solid #ead464; border-radius: 15px; background: #fff8ce; font-size: 18px; font-weight: 900; }
.bbm-v2-shortcuts a > span.bbm-v2-free { background: var(--bbm-yellow); font-size: 9px; }
.bbm-v2-shortcuts strong { font-size: 11px; line-height: 1.15; }

.bbm-v2-discovery { margin-top: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bbm-v2-discovery article { overflow: hidden; border: 1px solid var(--bbm-line); border-radius: 7px; background: white; }
.bbm-v2-discovery-title { width: 100%; padding: 12px; display: flex; justify-content: space-between; align-items: center; color: var(--bbm-price); font-size: 13px; }
.bbm-v2-discovery-title span { color: #aaa; font-size: 18px; }
.bbm-v2-discovery article > div { padding: 0 8px 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.bbm-v2-discovery article > div a { height: 180px; position: relative; overflow: hidden; border-radius: 5px; background: #eee; }
.bbm-v2-discovery article > div img { width: 100%; height: 100%; display: block; object-fit: cover; }
.bbm-v2-discovery article > div strong { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 8px 8px; color: white; font-size: 11px; background: linear-gradient(transparent,rgba(0,0,0,.8)); }

.bbm-v2-campaigns { margin-top: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bbm-v2-campaigns > a { min-height: 300px; overflow: hidden; position: relative; border-radius: 7px; }
.bbm-v2-value { padding: 30px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; background: var(--bbm-yellow); }
.bbm-v2-value small { padding: 5px 8px; background: var(--bbm-ink); color: var(--bbm-yellow); font-size: 10px; font-weight: 900; }
.bbm-v2-value strong { margin: 15px 0; font-size: clamp(30px,4vw,50px); line-height: .96; letter-spacing: -.05em; }
.bbm-v2-value span { font-size: 11px; font-weight: 800; }
.bbm-v2-shipping { background: var(--bbm-ink); }
.bbm-v2-shipping::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 42%,rgba(0,0,0,.86)); }
.bbm-v2-shipping img { width: 100%; height: 100%; display: block; position: absolute; object-fit: cover; }
.bbm-v2-shipping strong { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 18px; color: white; font-size: 19px; }
.bbm-v2-shipping strong b { color: var(--bbm-yellow); font-size: 30px; }

.bbm-v2-products { margin-top: 10px; overflow: hidden; border: 1px solid var(--bbm-line); border-radius: 7px; background: white; }
.bbm-v2-products > header { min-height: 72px; padding: 14px 18px; display: flex; justify-content: space-between; align-items: flex-end; }
.bbm-v2-products > header span { color: var(--bbm-price); font-size: 10px; font-weight: 900; letter-spacing: .08em; }
.bbm-v2-products > header h1 { margin: 5px 0 0; font-size: 21px; letter-spacing: -.03em; }
.bbm-v2-products > header > a { color: #666; font-size: 11px; font-weight: 800; }
.bbm-v2-product-grid { padding: 1px 0 0; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 1px; background: var(--bbm-line); }
.bbm-v2-product-card { min-width: 0; position: relative; background: white; }
.bbm-v2-product-photo { width: 100%; aspect-ratio: 1; display: block; overflow: hidden; position: relative; background: #eee; }
.bbm-v2-product-photo img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .2s ease; }
.bbm-v2-product-card:hover .bbm-v2-product-photo img { transform: scale(1.035); }
.bbm-v2-badge { position: absolute; left: 7px; bottom: 7px; padding: 4px 6px; border-radius: 2px; background: var(--bbm-yellow); font-size: 9px; font-weight: 900; }
.bbm-v2-product-copy { padding: 11px; }
.bbm-v2-product-copy h2 { min-height: 38px; margin: 0; font-size: 13px; line-height: 1.4; font-weight: 600; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.bbm-v2-pack { margin-top: 8px; padding: 4px 6px; display: inline-block; border-radius: 2px; background: #f0f0f0; color: #555; font-size: 9px; }
.bbm-v2-price { min-height: 38px; margin-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 7px; }
.bbm-v2-price > span { color: var(--bbm-price); font-size: 17px; font-weight: 900; }
.bbm-v2-price .price { margin: 0; }
.bbm-v2-product-copy .bbm-card-plus,
.woocommerce ul.products li.product .button.bbm-card-plus { width: 38px; min-width: 38px; height: 38px; min-height: 38px; margin: 0 !important; padding: 0 !important; display: inline-flex !important; align-items: center; justify-content: center; border: 1px solid var(--bbm-yellow-dark) !important; border-radius: 5px !important; background: var(--bbm-yellow) !important; color: var(--bbm-ink) !important; text-align: center; font-size: 25px !important; font-weight: 900 !important; line-height: 1 !important; text-transform: none !important; }
.bbm-v2-product-copy .bbm-card-plus:hover,
.woocommerce ul.products li.product .button.bbm-card-plus:hover { border-color: var(--bbm-ink) !important; background: #ffe36e !important; color: var(--bbm-ink) !important; }
.bbm-v2-product-copy > small { margin-top: 9px; padding-top: 8px; display: block; border-top: 1px dashed #ddd; color: #438052; font-size: 9px; }
.bbm-v2-business { margin-top: 10px; padding: 28px 30px; display: flex; justify-content: space-between; align-items: center; gap: 30px; border-radius: 7px; background: var(--bbm-ink); color: white; }
.bbm-v2-business small { color: var(--bbm-yellow); font-size: 9px; font-weight: 900; letter-spacing: .1em; }
.bbm-v2-business h2 { margin: 7px 0; font-size: 28px; }
.bbm-v2-business p { max-width: 700px; margin: 0; color: #ccc; font-size: 12px; line-height: 1.5; }
.bbm-v2-business > a { padding: 12px 16px; flex: 0 0 auto; border-radius: 4px; background: var(--bbm-yellow); color: var(--bbm-ink); font-size: 10px; font-weight: 900; text-transform: uppercase; }

.bbm-mobile-dock { display: none; }
.bbm-action-help span { width: 29px; height: 29px; display: grid; place-items: center; border: 2px solid var(--bbm-ink); border-radius: 50%; font-size: 9px; font-weight: 900; }

/* Matching marketplace treatment across WooCommerce pages. */
.woocommerce ul.products { grid-template-columns: repeat(5,minmax(0,1fr)); gap: 8px; }
.woocommerce ul.products li.product { padding: 9px; border-radius: 5px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { min-height: 44px; font-weight: 600; }
.woocommerce ul.products li.product .price { color: var(--bbm-price); }
.woocommerce ul.products li.product .button.bbm-card-plus { margin: 8px 0 0 auto !important; display: flex !important; }
.woocommerce ul.products li.product .added_to_cart { display: none !important; }
.woocommerce div.product { border-radius: 7px; }
.woocommerce div.product form.cart .single_add_to_cart_button { background: var(--bbm-yellow) !important; color: var(--bbm-ink) !important; }
.quantity.bbm-qty-ready { width: auto !important; min-width: 138px; height: 48px; margin: 0 8px 0 0 !important; display: inline-grid !important; grid-template-columns: 40px minmax(56px,66px) 40px; align-items: stretch; overflow: hidden; border: 1px solid #a9a9a9; border-radius: 4px; background: white; vertical-align: middle; }
.quantity.bbm-qty-ready .qty { width: 100% !important; min-width: 0; height: 46px; padding: 0 5px !important; border: 0 !important; border-right: 1px solid #d5d5d5 !important; border-left: 1px solid #d5d5d5 !important; border-radius: 0 !important; background: white; color: var(--bbm-ink); text-align: center; font-size: 17px; font-weight: 700; appearance: textfield; -moz-appearance: textfield; }
.quantity.bbm-qty-ready .qty::-webkit-outer-spin-button, .quantity.bbm-qty-ready .qty::-webkit-inner-spin-button { margin: 0; -webkit-appearance: none; }
.bbm-qty-control { width: 40px; min-width: 40px; height: 46px; padding: 0; border: 0; background: #f7f7f4; color: var(--bbm-ink); cursor: pointer; font-size: 22px; font-weight: 700; line-height: 1; }
.bbm-qty-control:hover { background: var(--bbm-yellow); }
.bbm-qty-control:disabled { background: #f2f2f2; color: #aaa; cursor: not-allowed; }
.woocommerce div.product form.cart, .woocommerce div.product form.cart .woocommerce-variation-add-to-cart { align-items: center; }
.woocommerce-cart-form .quantity.bbm-qty-ready { min-width: 126px; height: 42px; margin-right: 0 !important; grid-template-columns: 36px minmax(52px,58px) 36px; }
.woocommerce-cart-form .quantity.bbm-qty-ready .qty, .woocommerce-cart-form .bbm-qty-control { height: 40px; }
.woocommerce-cart-form .bbm-qty-control { width: 36px; min-width: 36px; font-size: 19px; }
.woocommerce-cart .cart-collaterals .cart_totals, .woocommerce table.shop_table, .woocommerce-account .woocommerce-MyAccount-content { border-radius: 7px; }

@media (max-width: 980px) {
  .bbm-v2-product-grid, .woocommerce ul.products { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .bbm-v2-shortcuts { grid-template-columns: repeat(4,1fr); }
}

@media (max-width: 760px) {
  body { padding-bottom: 65px; }
  .bbm-wrap { width: calc(100% - 14px); }
  .bbm-utility .bbm-wrap { min-height: 25px; justify-content: center; }
  .bbm-utility-links { display: none; }
  .bbm-utility strong { font-size: 9px; }
  .bbm-header-main { min-height: 66px; padding: 11px 0; grid-template-columns: minmax(0,1fr) auto; gap: 7px; }
  .bbm-brand { display: none; }
  .bbm-search { grid-column: 1; grid-row: 1; height: 44px; }
  .bbm-search input { padding: 0 9px; font-size: 13px; }
  .bbm-search button { min-width: 58px; font-size: 9px; }
  .bbm-actions { gap: 2px; }
  .bbm-action { min-width: 37px; min-height: 42px; font-size: 18px; }
  .bbm-action small, .bbm-action-account { display: none; }
  .bbm-action-help { display: grid; }
  .bbm-count { top: -3px; right: -2px; min-width: 17px; height: 17px; font-size: 8px; }
  .bbm-nav { display: none; }
  .bbm-mobile-dock { height: 64px; position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(5,1fr); border-top: 1px solid #ddd; background: rgba(255,255,255,.98); box-shadow: 0 -3px 14px rgba(0,0,0,.08); }
  .bbm-mobile-dock a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; position: relative; color: #777; }
  .bbm-mobile-dock a:first-child { color: var(--bbm-price); }
  .bbm-mobile-dock span { font-size: 19px; line-height: 1; }
  .bbm-mobile-dock small { font-size: 9px; }
  .bbm-mobile-dock b { position: absolute; top: 5px; left: 55%; min-width: 16px; height: 16px; display: grid; place-items: center; border-radius: 9px; background: var(--bbm-price); color: white; font-size: 8px; }

  .bbm-v2-home { padding-bottom: 8px; }
  .bbm-v2-account { margin-top: 8px; grid-template-columns: repeat(4,minmax(0,1fr)); }
  .bbm-v2-account > a { min-height: 89px; padding: 9px 5px; flex-direction: column; gap: 6px; text-align: center; }
  .bbm-v2-account > a > span { width: 30px; height: 30px; }
  .bbm-v2-account strong, .bbm-v2-account small { white-space: normal; line-height: 1.1; }
  .bbm-v2-account strong { font-size: 9px; }
  .bbm-v2-account small { font-size: 8px; }
  .bbm-v2-shortcuts a { padding: 13px 3px 11px; gap: 7px; }
  .bbm-v2-shortcuts a > span { width: 44px; height: 44px; border-radius: 13px; font-size: 16px; }
  .bbm-v2-shortcuts a > span.bbm-v2-free { font-size: 8px; }
  .bbm-v2-shortcuts strong { min-height: 22px; font-size: 9px; }
  .bbm-v2-discovery { gap: 6px; }
  .bbm-v2-discovery-title { padding: 10px 8px; font-size: 11px; }
  .bbm-v2-discovery article > div { padding: 0 5px 5px; gap: 4px; }
  .bbm-v2-discovery article > div a { height: 137px; }
  .bbm-v2-discovery article > div strong { padding: 18px 5px 5px; font-size: 9px; }
  .bbm-v2-campaigns { gap: 6px; }
  .bbm-v2-campaigns > a { min-height: 236px; }
  .bbm-v2-value { padding: 16px 12px; }
  .bbm-v2-value small { font-size: 8px; }
  .bbm-v2-value strong { margin: 12px 0; font-size: 27px; }
  .bbm-v2-value span { font-size: 9px; }
  .bbm-v2-shipping strong { left: 9px; right: 9px; bottom: 10px; font-size: 12px; }
  .bbm-v2-shipping strong b { display: block; font-size: 23px; }
  .bbm-v2-products > header { min-height: 64px; padding: 12px; }
  .bbm-v2-products > header h1 { font-size: 17px; }
  .bbm-v2-product-grid, .woocommerce ul.products { padding: 6px; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; background: var(--bbm-paper); }
  .bbm-v2-product-card { overflow: hidden; border-radius: 5px; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
  .bbm-v2-product-copy { padding: 9px; }
  .bbm-v2-product-copy h2 { min-height: 35px; font-size: 12px; }
  .bbm-v2-price > span { font-size: 15px; }
  .bbm-v2-product-copy .bbm-card-plus,
  .woocommerce ul.products li.product .button.bbm-card-plus { width: 36px; min-width: 36px; height: 36px; min-height: 36px; font-size: 23px !important; }
  .bbm-v2-product-copy > small { font-size: 8px; }
  .bbm-v2-business { padding: 22px 17px; display: block; }
  .bbm-v2-business h2 { font-size: 24px; }
  .bbm-v2-business p { font-size: 11px; }
  .bbm-v2-business > a { margin-top: 16px; display: inline-flex; }
  .bbm-footer { margin-top: 10px; padding-top: 34px; }

  .bbm-content { padding: 14px 0; }
  .woocommerce-products-header { margin-bottom: 9px; padding: 18px; }
  .woocommerce-products-header__title { font-size: 25px; }
  .woocommerce ul.products li.product { padding: 7px; border: 0; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
  .woocommerce ul.products li.product::before { left: 7px; top: 7px; font-size: 7px; }
  .woocommerce ul.products li.product .woocommerce-loop-product__title { min-height: 39px; font-size: 12px; }
  .woocommerce ul.products li.product .price { font-size: 16px; }
  .woocommerce ul.products li.product .button { min-height: 35px; padding: 10px 5px; }
  .woocommerce div.product { padding: 12px; border: 0; }
  .woocommerce div.product .product_title { font-size: 24px; }
  .woocommerce div.product p.price { font-size: 24px; }
  .woocommerce table.shop_table_responsive tr td { background: white; }

  .woocommerce-cart table.shop_table_responsive tr.cart_item { min-height: 122px; position: relative; padding-left: 96px; }
  .woocommerce-cart table.shop_table_responsive tr.cart_item td.product-thumbnail { width: 84px !important; min-height: 84px; padding: 6px !important; display: block !important; position: absolute; left: 6px; top: 35px; background: #f1f1ef !important; }
  .woocommerce-cart table.shop_table_responsive tr.cart_item td.product-thumbnail::before { display: none !important; }
  .woocommerce-cart table.shop_table_responsive tr.cart_item td.product-thumbnail img { width: 72px !important; height: 72px !important; margin: 0 !important; display: block !important; object-fit: cover; }
  .woocommerce-cart table.shop_table_responsive tr.cart_item td.product-name { min-height: 54px; }
  .woocommerce-cart .wc-block-cart-item__image,
  .woocommerce-cart .wc-block-cart-item__image img { display: block !important; visibility: visible !important; opacity: 1 !important; }
  .woocommerce-cart .wc-block-cart-item__image img { width: 72px; height: 72px; object-fit: cover; }
}

/* 1.3 final responsive overrides: keep the mobile header and dock unambiguous. */
@media (max-width: 760px) {
  .bbm-header-main { min-height: 111px; grid-template-columns: minmax(0,1fr) auto; grid-template-rows: auto auto; gap: 9px; padding: 10px 0; }
  .bbm-brand { grid-column: 1; grid-row: 1; display: inline-flex; font-size: 20px; }
  .bbm-brand .bbm-bag { width: 34px; height: 32px; font-size: 17px; }
  .bbm-search { grid-column: 1/-1; grid-row: 2; height: 42px; }
  .bbm-actions { grid-column: 2; grid-row: 1; }
  .bbm-actions .bbm-action { display: none; }
  .bbm-actions .bbm-action-cart { min-width: 42px; min-height: 38px; display: grid; }
  .bbm-action-cart .bbm-icon { width: 26px; height: 26px; }
  .bbm-action-cart small { display: none; }
  .bbm-mobile-dock a:first-child { color: #777; }
  .bbm-mobile-dock a.is-current { color: var(--bbm-price); font-weight: 800; }
  .bbm-mobile-dock .bbm-icon { width: 21px; height: 21px; }
  .single-product .bbm-mobile-dock { display: none; }
}
