/*
Theme Name: BabyMoby Theme
Theme URI: https://www.babymoby.com/
Author: BabyMoby
Author URI: https://www.babymoby.com/
Description: Classic PHP theme that mirrors the BabyMoby main site. WooCommerce-ready, bilingual (WPML), warm gold/brown brand palette.
Version: 1.0.84
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: babymoby-theme
Domain Path: /languages
Tags: e-commerce, custom-colors, custom-logo, custom-menu, featured-images, full-width-template, translation-ready
*/

/* ---------- Brand tokens ---------- */
:root{
  --bm-yellow-500:#FDD37A;
  --bm-yellow-600:#F2C25E;
  --bm-yellow-300:#FEE9BD;
  --bm-yellow-200:#FEF0D2;
  --bm-brown-600:#7B4D39;
  --bm-tan-400:#C8834B;
  --bm-coral-500:#FF8D78;
  --bm-coral-700:#C0442F;
  --bm-mint-500:#71CDA1;
  --bm-mint-700:#24795A;
  --bm-sky-500:#69B4F6;
  --bm-sky-700:#1B6FB8;
  --bm-ink-900:#101921;
  --bm-ink-700:#26313B;
  --bm-ink-500:#59636D;
  --bm-ink-400:#7C868F;
  --bm-ink-200:#D2D8DD;
  --bm-ink-100:#E7EBEE;
  --bm-ink-50:#F5F7F8;
  --bm-gold:var(--bm-yellow-500);
  --bm-gold-hover:var(--bm-yellow-600);
  --bm-brown:var(--bm-brown-600);
  --bm-red:var(--bm-coral-700);
  --bm-green:var(--bm-mint-700);
  --bm-blue:var(--bm-sky-500);
  --bm-ink:var(--bm-ink-900);
  --bm-muted:var(--bm-ink-500);
  --bm-line:var(--bm-ink-100);
  --bm-bg:#FFFFFF;
  --bm-surface-accent-mint:#E3F5EC;
  --bm-surface-accent-coral:#FFE9E4;
  --bm-surface-accent-gold:#FEF8F0;
  --bm-field-bg:#FAFBFC;
  --bm-field-border:#E0E4E7;
  --bm-placeholder:#A8B2BA;
  --bm-content:1200px;
  --bm-wide:1400px;
  /* Keep the desktop canvas stable when the browser is zoomed out. At
   * narrower real viewports, width:100% still allows the layout to respond. */
  --bm-layout-max:1400px;
  --bm-page-title-max:960px;
  --bm-page-subtitle-max:760px;
  /* One predictable inline safe area for all page-level content. */
  --bm-page-gutter:clamp(1rem,3vw,2rem);
  /* Shared layout, type, control, and elevation tokens. */
  --bm-space-1:4px;
  --bm-space-2:8px;
  --bm-space-3:12px;
  --bm-space-4:16px;
  --bm-space-5:20px;
  --bm-space-6:24px;
  --bm-space-7:32px;
  --bm-space-8:40px;
  --bm-space-9:48px;
  --bm-space-10:56px;
  --bm-space-11:60px;
  /* One fluid type scale keeps Thai and English pages aligned. */
  --bm-font-body:"DB AdmanRounded X",Arial,sans-serif;
  --bm-font-heading:"DB Helvethaica X",Arial,sans-serif;
  --bm-text-caption:clamp(16px,1rem + .1vw,18px);
  --bm-text-base:clamp(20px,1.125rem + .25vw,22px);
  --bm-text-price:var(--bm-text-base);
  --bm-text-lg:clamp(24px,1.375rem + .25vw,26px);
  --bm-text-xl:clamp(28px,1.5rem + .5vw,32px);
  --bm-text-2xl:clamp(34px,1.75rem + .9vw,42px);
  --bm-text-3xl:clamp(42px,1.875rem + 2vw,58px);
  --bm-text-4xl:clamp(52px,2.25rem + 3.5vw,76px);
  --bm-text-display:clamp(56px,7vw,88px);
  --bm-heading-section:var(--bm-text-3xl);
  --bm-leading-body:1.65;
  --bm-leading-heading-tight:1.05;
  --bm-leading-heading:1.15;
  --bm-leading-caption:1.45;
  --bm-measure:70ch;
  --bm-control-sm:42px;
  --bm-control-input:44px;
  --bm-control-md:48px;
  --bm-control-lg:52px;
  --bm-button-height:52px;
  --bm-button-border:2px solid var(--bm-brown);
  --bm-button-radius:var(--radius-md);
  --bm-button-bg:var(--bm-brown);
  --bm-button-text:var(--bm-bg);
  --bm-button-focus:2px solid var(--bm-brown);
  --bm-border:2px;
  /* Material-style elevation: layered key + ambient shadows. */
  --bm-shadow-sm:none;
  --bm-shadow-md:none;
  --bm-shadow-lg:none;
  --bm-shadow-card:none;
  --bm-surface-border:1.5px solid var(--bm-ink-200);
  --bm-surface-radius:var(--radius-sm);
  --bm-motion-fast:.18s;
  --bm-motion-base:.25s;
  --bm-gap-form:18px;
  --radius-xs:8px;
  --radius-sm:12px;
  --radius-md:16px;
  --radius-lg:32px;
  --radius-xl:40px;
  --radius-pill:999px;
}

@font-face{font-family:"DB Helvethaica X";src:url("assets/fonts/DB-Helvethaica-X-Regular.woff2") format("woff2"),url("assets/fonts/DB-Helvethaica-X-Regular.ttf") format("truetype");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:"DB AdmanRounded X";src:url("assets/fonts/DB-AdmanRounded-X-Regular.woff2") format("woff2"),url("assets/fonts/DB-AdmanRounded-X-Regular.ttf") format("truetype");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:"DB AdmanRounded X";src:url("assets/fonts/DB-AdmanRounded-X-Bold.woff2") format("woff2"),url("assets/fonts/DB-AdmanRounded-X-Bold.ttf") format("truetype");font-style:normal;font-weight:700;font-display:swap}

/* ---------- Base ---------- */
*,*::before,*::after{box-sizing:border-box;}
html{-webkit-text-size-adjust:100%;}
body{min-width:0;margin:0;font-family:var(--bm-font-body);font-size:var(--bm-text-base);font-weight:500;line-height:var(--bm-leading-body);overflow-wrap:anywhere;color:var(--bm-ink-700);background:var(--bm-bg);}
img{max-width:100%;height:auto;}
a{color:var(--bm-brown);text-decoration:none;}
a:hover{text-decoration:underline;}
.woocommerce-breadcrumb,.woocommerce .breadcrumb,.woocommerce-breadcrumbs{display:none!important;}
h1,h2,h3,h4,h5,h6{font-family:var(--bm-font-heading);font-weight:700;letter-spacing:-.02em;color:var(--bm-ink);}
h1{font-size:var(--bm-text-4xl);}
h2{font-size:var(--bm-text-3xl);}
h3{font-size:var(--bm-text-2xl);}
h4{font-size:var(--bm-text-xl);}
h5{font-size:var(--bm-text-lg);}
h6{font-size:var(--bm-text-base);}
h1{line-height:var(--bm-leading-heading-tight);}
h2,h3{line-height:var(--bm-leading-heading);}
h4,h5,h6{line-height:1.25;}
p{max-inline-size:var(--bm-measure);}
/* Global layout utility: sections define their own readable widths when
 * needed; the container fills narrow viewports but caps the desktop canvas. */
.container{width:100%;max-width:var(--bm-layout-max);margin-left:auto;margin-right:auto;padding-inline:var(--bm-page-gutter);box-sizing:border-box;}
.screen-reader-text{position:absolute!important;clip:rect(1px,1px,1px,1px);width:1px;height:1px;overflow:hidden;}
:focus-visible{outline:3px solid var(--bm-brown);outline-offset:2px;}

/* ---------- Header ---------- */
.site-header{position:sticky;top:0;z-index:90;background:var(--bm-bg);border-bottom:1px solid var(--bm-ink-200);}
.site-header .container{max-width:none;width:100%;padding-left:var(--bm-page-gutter);padding-right:var(--bm-page-gutter);}
.header-inner{display:grid;grid-template-columns:minmax(96px,auto) minmax(0,1fr) auto;align-items:center;gap:clamp(14px,2vw,24px);height:80px;}
.site-header .header-inner::before,.site-header .header-inner::after{content:none!important;display:none!important;}
.site-branding{display:inline-flex;align-items:center;justify-self:start;text-decoration:none;}
.site-branding:hover{text-decoration:none;}
.site-branding img{display:block;width:auto;height:46px;object-fit:contain;}
.mobile-menu-toggle{display:none;align-items:center;justify-content:center;width:var(--bm-control-sm);height:var(--bm-control-sm);border:1.5px solid var(--bm-ink-200);border-radius:var(--radius-sm);background:var(--bm-bg);color:var(--bm-ink);cursor:pointer;}
.mobile-menu-toggle:hover,.mobile-menu-toggle:focus-visible,.is-mobile-open .mobile-menu-toggle{border-color:var(--bm-brown);background:var(--bm-gold);color:var(--bm-ink);}
.mobile-menu-toggle__close{display:none;}
.is-mobile-open .mobile-menu-toggle__open{display:none;}
.is-mobile-open .mobile-menu-toggle__close{display:inline-flex;}
.main-navigation{display:flex;align-items:center;justify-self:center;gap:clamp(16px,2vw,28px);min-width:0;}
.main-navigation>ul{display:flex;align-items:center;justify-content:center;gap:clamp(16px,2vw,28px);min-width:0;margin:0;padding:0;list-style:none;}
.main-navigation>ul>li{position:relative;display:flex;align-items:center;margin:0;padding:0;}
.main-navigation>ul>li>a,.main-navigation .mega-trigger{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0;color:var(--bm-ink);font-weight:700;text-transform:uppercase;text-decoration:none;white-space:nowrap;cursor:pointer;}
.main-navigation .mega-trigger{margin:0;border:0;background:none;appearance:none;-webkit-appearance:none;}
.main-navigation .mega-trigger .bm-icon--caret{display:block;}
.main-navigation>ul>li>a:hover,.main-navigation>ul>li>a:focus-visible,.main-navigation .mega-trigger:hover,.main-navigation .mega-trigger:focus-visible,.main-navigation .mega-trigger[aria-expanded="true"]{color:var(--bm-brown);text-decoration:none;}
.main-navigation .sub-menu{position:absolute;left:50%;top:100%;z-index:101;min-width:210px;margin:0;padding:8px;border:1px solid var(--bm-ink-200);border-radius:var(--radius-sm);background:var(--bm-bg);box-shadow:none;list-style:none;opacity:0;visibility:hidden;transform:translate(-50%,6px);transition:opacity .18s ease,transform .18s ease,visibility .18s ease;}
.main-navigation .menu-item-has-children:hover>.sub-menu,.main-navigation .menu-item-has-children:focus-within>.sub-menu{opacity:1;visibility:visible;transform:translate(-50%,0);}
.main-navigation .sub-menu li{margin:0;padding:0;}
.main-navigation .sub-menu a{display:flex;align-items:center;min-height:38px;padding:9px 12px;border-radius:var(--radius-xs);color:var(--bm-ink);font-weight:700;text-transform:uppercase;text-decoration:none;white-space:nowrap;}
.main-navigation .sub-menu a:hover,.main-navigation .sub-menu a:focus-visible{background:var(--bm-ink-50);color:var(--bm-brown);text-decoration:none;}
.bm-icon{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto;}
.bm-icon--caret{width:14px;height:14px;}
.bm-icon--inline{width:1em;height:1em;vertical-align:-.15em;}
.header-tools{display:flex;align-items:center;justify-content:flex-end;justify-self:end;gap:clamp(12px,1.6vw,20px);min-width:0;}
.search-form{display:flex;align-items:center;gap:8px;margin:0;}
.search-form label{position:relative;display:block;}
.search-form__icon{position:absolute;left:13px;top:50%;width:18px;height:18px;color:var(--bm-ink);transform:translateY(-50%);pointer-events:none;}
.search-field{width:clamp(220px,25vw,380px);min-height:42px;border:1.5px solid var(--bm-ink-200);border-radius:var(--radius-sm);padding:10px 12px 10px 40px;color:var(--bm-ink);font-family:"DB AdmanRounded X",Arial,sans-serif;font-size:var(--bm-text-base);font-weight:400;line-height:1.5;background:var(--bm-ink-50);}
.search-field::placeholder{color:var(--bm-ink-500);}
.search-submit{min-height:42px;border:2px solid var(--bm-brown);border-radius:var(--radius-md);background:var(--bm-gold);color:var(--bm-ink);padding:10px 16px;cursor:pointer;}
.search-submit__icon{display:none;}
.search-submit:hover{background:var(--bm-gold-hover);color:var(--bm-brown);}
.site-header .search-form{gap:0;}
.site-header .search-form label{width:clamp(220px,25vw,380px);min-width:0;}
.site-header .search-submit{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;clip:rect(0,0,0,0);overflow:hidden;}
.header-tools .wpml-ls{position:relative;display:flex;align-items:center;width:auto;max-width:none;}
.header-tools .wpml-ls>ul{position:relative;margin:0!important;padding:0;list-style:none;}
.header-tools .wpml-ls li{margin:0;padding:0;list-style:none;}
.header-tools .wpml-ls .wpml-ls-link{display:flex;align-items:center;gap:5px;min-height:34px;padding:7px 9px;border:0;border-radius:var(--radius-xs);background:transparent;color:var(--bm-ink);font-weight:700;text-transform:uppercase;text-decoration:none;}
.header-tools .wpml-ls .wpml-ls-link:hover,.header-tools .wpml-ls .wpml-ls-link:focus-visible{background:var(--bm-ink-50);color:var(--bm-brown);text-decoration:none;}
.header-tools .wpml-ls .wpml-ls-item-toggle{display:inline-flex;align-items:center;min-height:40px;padding:0;border:0;background:transparent;color:var(--bm-ink);font-weight:700;text-transform:uppercase;cursor:pointer;}
.header-tools .wpml-ls .wpml-ls-item-toggle:hover,.header-tools .wpml-ls .wpml-ls-item-toggle:focus-visible,.header-tools .wpml-ls .wpml-ls-item-toggle[aria-expanded="true"]{background:transparent;color:var(--bm-brown);text-decoration:none;}
.header-tools .wpml-ls .wpml-ls-item-toggle:after{right:0;border-top-color:currentColor;}
.header-tools .wpml-ls .wpml-ls-current-language{position:relative;}
.header-tools .wpml-ls .wpml-ls-sub-menu{visibility:hidden;position:absolute;right:0;left:auto;top:100%;min-width:92px;margin:0;padding:8px;border:1px solid var(--bm-ink-200);border-radius:var(--radius-sm);background:var(--bm-bg);box-shadow:none;z-index:102;transition:visibility 0s linear .14s,opacity .14s ease,transform .14s ease;opacity:0;transform:translateY(-3px);}
/* Keep the hover target connected to the menu so the pointer can travel
 * from the current language to the alternate language without a click. */
.header-tools .wpml-ls .wpml-ls-current-language:after{content:"";position:absolute;top:100%;right:-12px;left:-12px;height:12px;z-index:101;}
.header-tools .wpml-ls .wpml-ls-current-language:hover .wpml-ls-sub-menu,.header-tools .wpml-ls .wpml-ls-current-language:focus-within .wpml-ls-sub-menu,.header-tools .wpml-ls.wpml-ls-keyboard-open .wpml-ls-sub-menu,.header-tools .wpml-ls .wpml-ls-current-language.wpml-ls-keyboard-open .wpml-ls-sub-menu{visibility:visible;opacity:1;transform:translateY(0);transition-delay:0s;}
.header-tools .wpml-ls-legacy-dropdown .wpml-ls-sub-menu a,.header-tools .wpml-ls-legacy-dropdown-click .wpml-ls-sub-menu a{border:0;}
.header-tools .header-cart{transform:none;}
.header-cart{position:relative;display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;color:var(--bm-ink);text-decoration:none;}
.header-cart:hover{color:var(--bm-brown);text-decoration:none;}
.mobile-nav-panel{display:none;}
.mega-menu{position:absolute;left:0;right:0;top:100%;background:var(--bm-bg);border-top:1px solid var(--bm-ink-200);border-bottom:1px solid var(--bm-ink-200);box-shadow:none;}
.mega-menu__inner{--bm-mega-gutter:clamp(24px,4vw,64px);width:100%;max-width:none;margin:0;padding:32px var(--bm-mega-gutter) 36px;}
.mega-menu__grid{display:flex;align-items:stretch;gap:36px;}
.mega-menu__col{display:flex;flex:1 1 0;flex-direction:column;gap:16px;}
.mega-category{display:grid;grid-template-columns:76px minmax(0,1fr);align-items:center;gap:16px;color:var(--bm-ink);font-weight:700;text-transform:uppercase;text-decoration:none;}
.mega-category:hover{color:var(--bm-brown);text-decoration:none;}
.mega-category__thumb{display:flex;align-items:center;justify-content:center;width:76px;height:76px;border:1px solid var(--bm-ink-200);border-radius:var(--radius-sm);background:var(--bm-ink-50);overflow:hidden;}
.mega-category__image{display:block;box-sizing:border-box;width:100%;height:100%;object-fit:contain;padding:8px;background:transparent;}
.mega-trending{width:auto;margin:34px calc(0px - var(--bm-mega-gutter)) 0;padding:26px var(--bm-mega-gutter) 0;border-top:1px solid var(--bm-ink-200);}
.mega-trending h2{margin:0 0 16px;color:var(--bm-ink);}
.mega-trending__row{display:flex;gap:14px;}
.trending-tile{position:relative;display:flex;flex:1 1 0;align-items:flex-end;aspect-ratio:1 / 1;min-height:0;border-radius:var(--radius-md);overflow:hidden;background:var(--bm-ink-50);color:var(--bm-bg);text-decoration:none;}
.trending-tile__image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;}
.trending-tile::after{content:"";position:absolute;inset:50% 0 0;background:linear-gradient(180deg,rgba(16,25,33,0),rgba(16,25,33,.24));}
.trending-tile>span{position:relative;z-index:1;padding:20px;color:var(--bm-bg);}
.site-breadcrumbs{max-width:var(--bm-content);margin:0 auto;padding:14px var(--bm-page-gutter) 0;color:var(--bm-muted);}
.site-breadcrumbs a{color:var(--bm-brown);}
.site-breadcrumbs span{margin-left:8px;}

/* ---------- Footer ---------- */
.site-footer-shell{margin-top:56px;background:var(--bm-yellow-500);}
.site-footer{max-width:var(--bm-wide);margin:0 auto;overflow:hidden;background:var(--bm-yellow-500);color:var(--bm-ink);}
.footer-top{display:grid;grid-template-columns:minmax(240px,1.05fr) minmax(320px,1.55fr) minmax(160px,.82fr) minmax(170px,.92fr);align-items:start;gap:clamp(28px,3vw,44px);padding:clamp(38px,4vw,56px) clamp(28px,5vw,72px) clamp(32px,3.5vw,48px);}
.footer-brand,.footer-nav{min-width:0;}
.footer-logo{display:inline-flex;align-items:center;margin-bottom:14px;text-decoration:none;}
.footer-logo:hover{text-decoration:none;}
.footer-logo img{display:block;width:auto;height:58px;object-fit:contain;}
.footer-tagline{max-width:22ch;margin:0 0 20px;padding-bottom:.08em;color:var(--bm-ink);font-size:var(--bm-text-xl);font-style:italic;font-weight:700;line-height:var(--bm-leading-heading);}
.footer-social{display:flex;align-items:center;gap:10px;}
.footer-social__link{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:var(--radius-pill);background:rgba(255,255,255,.55);color:var(--bm-ink);text-decoration:none;transition:background-color .2s ease,color .2s ease,transform .2s ease;}
.footer-social__icon{display:block;width:23px;height:23px;fill:currentColor;}
.footer-social__icon--line{width:28px;height:28px;}
.footer-social__link:hover{background:var(--bm-bg);color:var(--bm-brown);text-decoration:none;transform:translateY(-1px);}
.footer-social__link:active{transform:translateY(0);}
.footer-nav h2{margin:0 0 14px;color:var(--bm-brown);font-size:var(--bm-text-xl);line-height:var(--bm-leading-heading);letter-spacing:0;}
.footer-nav ul{display:grid;gap:2px;margin:0;padding:0;list-style:none;}
.footer-shop-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;column-gap:clamp(18px,2vw,30px);}
.footer-shop-columns ul{align-content:start;}
.footer-shop-columns li{min-width:0;}
.footer-nav a{display:inline-flex;align-items:center;color:var(--bm-ink);font-size:var(--bm-text-base);line-height:1.35;text-decoration:none;overflow-wrap:anywhere;}
.footer-nav a:hover{color:var(--bm-brown);text-decoration:none;}
.footer-bottom{border-top:1px solid rgba(123,77,57,.18);padding:16px clamp(22px,5vw,72px);text-align:center;}
.footer-bottom p{margin:0 auto;color:var(--bm-ink);font-size:var(--bm-text-caption);line-height:var(--bm-leading-caption);}

/* ---------- Homepage sections ---------- */
.bm-embed{position:relative;width:100%;aspect-ratio:16/9;max-width:var(--bm-content);margin:24px auto 0;}
.bm-embed iframe{position:absolute;inset:0;width:100%;height:100%;border:0;}

/* ---------- WooCommerce product grid (force 4-up, responsive) ---------- */
.woocommerce ul.products,.woocommerce-page ul.products{display:grid !important;grid-template-columns:repeat(4,minmax(0,1fr));align-items:start;gap:24px;list-style:none;margin:0;padding:0;}
.woocommerce ul.products li.product:not(.babymoby-product-loop-item),.woocommerce-page ul.products li.product:not(.babymoby-product-loop-item){
  min-width:0;
  width:auto !important;
  margin:0 !important;
  float:none !important;
  clear:none !important;
  order:initial !important;
  grid-column:auto !important;
  grid-row:auto !important;
  text-align:center;
  background:var(--bm-bg);
  border:2px solid var(--bm-line);
  border-radius:32px;
  padding:16px;
  transition:box-shadow .2s ease,transform .2s ease;
}
.woocommerce ul.products li.product:not(.babymoby-product-loop-item):hover,.woocommerce-page ul.products li.product:not(.babymoby-product-loop-item):hover{box-shadow:none;transform:translateY(-2px);}
/* WooCommerce adds .first/.last classes for its old float layout. Keep those
 * classes from creating a blank leading grid cell. */
.woocommerce ul.products li.product:not(.babymoby-product-loop-item):first-child,
.woocommerce-page ul.products li.product:not(.babymoby-product-loop-item):first-child{
  grid-column:1 !important;
  grid-row:auto !important;
}
.woocommerce ul.products li.product a.woocommerce-loop-product__link{display:block;min-width:0;}
.woocommerce ul.products li.product a img{display:block;width:100%;max-width:100%;height:clamp(148px,calc((min(100vw - 32px,var(--bm-content)) - 72px) / 4 - 36px),240px)!important;object-fit:contain;border-radius:16px;margin:0 auto 12px;background:var(--bm-ink-50);}
.woocommerce ul.products li.product .woocommerce-loop-product__title{display:-webkit-box;max-height:5em;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;padding:.4em 0;color:var(--bm-ink);font-family:"DB AdmanRounded X",Arial,sans-serif;font-size:var(--bm-text-lg);font-weight:700;}
.babymoby-product-card-link{display:block;color:inherit;text-decoration:none;}
.babymoby-product-card-link:hover,.babymoby-product-card-link:focus-visible{color:inherit;text-decoration:none;}
.babymoby-product-card-link:focus-visible{outline:3px solid var(--bm-brown);outline-offset:4px;border-radius:var(--radius-sm);}
.woocommerce ul.products li.product .price{color:var(--bm-brown);}
.woocommerce ul.products li.product del{color:var(--bm-muted);}
.woocommerce ul.products li.product .button,
.woocommerce a.button,.woocommerce button.button,.woocommerce #respond input#submit,.woocommerce input.button{min-height:44px;background:var(--bm-gold);color:var(--bm-ink);border:2px solid var(--bm-brown);border-radius:16px;padding:10px 18px;}
.woocommerce ul.products li.product .button:hover,
.woocommerce a.button:hover,.woocommerce button.button:hover{background:var(--bm-gold-hover);color:var(--bm-brown);}
.woocommerce-account .woocommerce-button.confirm_payment,
.woocommerce-view-order .woocommerce-button.confirm_payment{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	box-sizing:border-box;
	min-height:var(--bm-button-height);
	padding:10px 16px;
	border:2px solid var(--bm-brown);
	border-radius:var(--bm-button-radius);
	background:var(--bm-gold);
	color:var(--bm-ink);
	font-family:var(--bm-font-body);
	font-size:var(--bm-text-base);
	font-weight:700;
	line-height:1.2;
	text-decoration:none;
}
.woocommerce-account .woocommerce-button.confirm_payment:hover,
.woocommerce-account .woocommerce-button.confirm_payment:focus-visible,
.woocommerce-view-order .woocommerce-button.confirm_payment:hover,
.woocommerce-view-order .woocommerce-button.confirm_payment:focus-visible{
	background:var(--bm-gold-hover);
	color:var(--bm-brown);
	text-decoration:none;
}
.woocommerce-table--order-details .order-actions-button{
	display:inline-flex!important;
	align-items:center;
	justify-content:center;
	box-sizing:border-box;
	width:100%;
	max-width:100%;
	min-width:0;
	padding:10px 8px!important;
	white-space:nowrap;
}
.woocommerce .woocommerce-column__title{margin-bottom:0!important;}
@media(max-width:640px){
	.woocommerce-account .woocommerce-button.confirm_payment,
	.woocommerce-view-order .woocommerce-button.confirm_payment{width:100%;}
	.woocommerce-table--order-details .order-actions-button{font-size:18px!important;}
}
/* ---------- Shared product-card component ---------- */
/* The same component is used by the catalog, homepage, shortcodes, and
 * related-product loops. Page-specific layouts only control the grid. */
.babymoby-product-card{display:flex;min-width:0;flex-direction:column;gap:12px;padding:0;border:0;border-radius:0;background:transparent;transition:transform var(--bm-motion-base) ease;}
.babymoby-product-card:hover{transform:translateY(-3px);}
.babymoby-product-image-wrapper{position:relative;display:flex;align-items:center;justify-content:center;aspect-ratio:1;overflow:hidden;border:1px solid var(--bm-ink-200);border-radius:var(--radius-sm);background:var(--bm-ink-50);}
.babymoby-product-image{display:block;width:100%;height:100%;box-sizing:border-box;padding:12px;object-fit:contain;}
.babymoby-product-info{display:flex;flex:1;flex-direction:column;gap:4px;}
.babymoby-product-title{min-height:0;margin:0;padding:4px 0;font-family:"DB AdmanRounded X",Arial,sans-serif;font-size:var(--bm-text-lg);font-weight:700;}
.woocommerce ul.products li.product .babymoby-product-title,.woocommerce-page ul.products li.product .babymoby-product-title{padding:4px 0;font-family:"DB AdmanRounded X",Arial,sans-serif;font-size:var(--bm-text-lg);font-weight:700;}
.babymoby-product-title a{color:var(--bm-ink);text-decoration:none;}
.babymoby-product-title a:hover,.babymoby-product-title a:focus-visible{color:var(--bm-brown);text-decoration:none;}
.babymoby-product-pricing{margin-top:0;color:var(--bm-brown);font-size:var(--bm-text-price);}
.babymoby-product-price-regular{display:block;color:var(--bm-muted);text-decoration:line-through;}
.babymoby-product-rating,.babymoby-product-stock{color:var(--bm-muted);}
.woocommerce ul.products li.babymoby-product-loop-item,.woocommerce-page ul.products li.babymoby-product-loop-item{min-width:0;width:auto!important;margin:0!important;padding:0!important;float:none!important;clear:none!important;border:0!important;border-radius:0!important;background:transparent!important;text-align:left;transform:none;transition:none;}
.woocommerce ul.products li.babymoby-product-loop-item:hover,.woocommerce-page ul.products li.babymoby-product-loop-item:hover{box-shadow:none;transform:none!important;}
.babymoby-product-stock.is-in-stock{color:#35734a;}
.babymoby-product-stock.is-out-of-stock{color:#9b3e32;}

/* ---------- Generic content pages ---------- */
.page-content,.entry-content,.hentry{max-width:var(--bm-content);margin:0 auto;padding:56px var(--bm-page-gutter);}
/* Page templates already give the outer wrapper its vertical and inline space.
 * Do not add that space again on WordPress's nested article/content wrappers. */
.page-content>.hentry,.page-content>.hentry>.entry-content{max-width:none;margin:0;padding:0;}
.single-post .site-main>.container{max-width:1600px;}
.single-post .site-main>.container>.hentry{padding:56px 0;}
.single-post .site-main>.container>.hentry>.entry-content{max-width:var(--bm-content);margin:0 auto;padding:0 var(--bm-page-gutter);}
.single-post .entry-title{text-align:center;}
.single-post .entry-content p{max-inline-size:64rem;margin-inline:auto;font-weight:400;}
.single-post .entry-content>*{max-inline-size:64rem;margin-inline:auto;}
.entry-title{margin:0 0 16px;}
.entry-thumbnail{max-width:var(--bm-content);margin:0 auto 32px;padding:0 var(--bm-page-gutter);}
.entry-thumbnail__frame{position:relative;aspect-ratio:16 / 9;border-radius:16px;overflow:hidden;}
.entry-thumbnail__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;}
.single-post .site-main>.container>.hentry>.entry-thumbnail{max-width:var(--bm-content);margin:0 auto 32px;padding:0 var(--bm-page-gutter);}
.entry-list .entry{border-bottom:2px solid var(--bm-line);padding:20px 0;}
.search-results-wrap{padding-top:32px;padding-bottom:56px;}
.search-results-wrap>.search-form{max-width:720px;margin:0 auto 32px;}
.empty-state{max-width:720px;margin:32px auto;padding:32px;border:2px solid var(--bm-line);border-radius:32px;background:var(--bm-ink-50);text-align:center;}
.empty-state h2{margin:0 0 10px;}
.empty-state p{margin:0 auto 22px;color:var(--bm-muted);}

/* ---------- Responsive ---------- */
@media(max-width:1200px){
  .site-header .container{padding-left:var(--bm-page-gutter);padding-right:var(--bm-page-gutter);}
  .header-inner{grid-template-columns:minmax(0,1fr) auto;align-items:center;justify-content:space-between;column-gap:20px;height:92px;overflow:hidden;}
  .site-branding{grid-column:1;justify-self:start;min-width:0;}
  .site-branding img{width:auto;height:52px;max-width:122px;}
  .mobile-menu-toggle{display:inline-flex;align-self:center;justify-self:end;width:60px;height:60px;margin:0;padding:0;}
  .mobile-menu-toggle .bm-icon{width:29px;height:29px;}
  .main-navigation,.is-mobile-open .main-navigation{display:none;}
  .header-tools{display:flex;grid-column:2;align-self:center;align-items:center;justify-content:flex-end;justify-self:end;gap:14px;min-width:0;height:60px;margin:0;padding:0;}
  .header-tools .search-form,.header-tools .wpml-ls{display:none;}
  .header-cart{display:inline-flex;align-items:center;justify-content:center;width:60px;height:60px;margin:0;padding:0;transform:none;border:1.5px solid var(--bm-ink-200);border-radius:var(--radius-sm);background:var(--bm-bg);}
  .header-cart .bm-icon{width:29px;height:29px;}
  .header-cart:hover,.header-cart:focus-visible{border-color:var(--bm-brown);background:var(--bm-yellow-200);color:var(--bm-ink);}
  .is-mobile-menu-locked{overflow:hidden;}
  .is-mobile-menu-locked #wpadminbar{display:none;}
  .mobile-nav-panel{position:fixed;inset:0;z-index:100001;display:grid;grid-template-rows:auto minmax(0,1fr);width:100%;max-width:100%;height:100dvh;padding:max(clamp(10px,2.6vw,18px),env(safe-area-inset-top)) clamp(14px,5vw,42px) max(clamp(14px,4vw,28px),env(safe-area-inset-bottom));background:var(--bm-yellow-200);overflow:hidden;overscroll-behavior:contain;}
  .mobile-nav-panel[hidden]{display:none;}
  .menu-curtain{position:absolute;inset:0;z-index:3;background:var(--bm-yellow-500);pointer-events:none;transform:translateY(-100%);}
  .mobile-nav-panel.is-open .menu-curtain{animation:curtainReveal 850ms cubic-bezier(.72,0,.22,1) both;}
  .mobile-nav-panel.is-closing{pointer-events:none;}
  .mobile-nav-panel.is-closing .menu-curtain{animation:curtainClose 560ms cubic-bezier(.72,0,.22,1) both;}
  .mobile-nav-panel__header{position:relative;z-index:3;display:grid;grid-template-columns:clamp(48px,13vw,62px) minmax(0,1fr) clamp(48px,13vw,62px);align-items:center;gap:clamp(8px,2.6vw,14px);min-height:clamp(58px,15vw,74px);width:min(100%,560px);margin:0 auto;opacity:0;translate:0 10px;}
  .mobile-nav-panel.is-open .mobile-nav-panel__header{animation:menuItemReveal 420ms ease both;animation-delay:430ms;}
  .mobile-nav-panel__close,.mobile-nav-panel__cart,.mobile-nav-panel__search .search-submit{display:inline-flex;align-items:center;justify-content:center;border:0;background:transparent;color:var(--bm-ink);text-decoration:none;cursor:pointer;}
  .mobile-nav-panel__close,.mobile-nav-panel__cart{width:clamp(48px,12vw,58px);height:clamp(48px,12vw,58px);border-radius:var(--radius-md);}
  .mobile-nav-panel__close .bm-icon,.mobile-nav-panel__cart .bm-icon{width:clamp(23px,6vw,28px);height:clamp(23px,6vw,28px);}
  .mobile-nav-panel__close{justify-self:start;}
  .mobile-nav-panel__cart{justify-self:end;}
  .mobile-nav-panel__close:hover,.mobile-nav-panel__close:focus-visible,.mobile-nav-panel__cart:hover,.mobile-nav-panel__cart:focus-visible{background:transparent;color:var(--bm-brown);text-decoration:none;}
  .mobile-nav-panel__brand{display:inline-flex;align-items:center;justify-content:center;justify-self:center;min-width:48px;min-height:48px;text-decoration:none;}
  .mobile-nav-panel__brand:hover{text-decoration:none;}
  .mobile-nav-panel__brand img{display:block;width:auto;height:clamp(32px,9vw,44px);object-fit:contain;}
  .mobile-nav-panel__body{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(8px,1.8vh,18px);width:min(100%,520px);min-height:0;margin:0 auto;padding-block:clamp(10px,2.5vh,26px);text-align:center;overflow-y:auto;overscroll-behavior:contain;}
  /* Primary CTA */
  .mobile-nav-panel__cta-wrap{flex:0 0 auto;width:100%;padding:clamp(4px,1.4vh,12px) 0 0;opacity:0;translate:0 10px;}
  .mobile-nav-panel.is-open .mobile-nav-panel__cta-wrap{animation:menuItemReveal 460ms ease both;animation-delay:560ms;}
  .mobile-nav-panel__cta{display:inline-flex;align-items:center;justify-content:center;gap:10px;width:min(100%,340px);min-height:clamp(56px,8vh,66px);padding:0 clamp(20px,6vw,32px);border:0;border-radius:var(--radius-pill);background:var(--bm-gold);color:var(--bm-ink);text-decoration:none;box-shadow:none;transition:transform .18s ease,background-color .18s ease;}
  .mobile-nav-panel__cta .bm-icon{width:clamp(22px,5.4vw,26px);height:clamp(22px,5.4vw,26px);}
  .mobile-nav-panel__cta:hover,.mobile-nav-panel__cta:focus-visible{transform:translateY(-2px);box-shadow:none;background:var(--bm-gold-hover);color:var(--bm-brown);text-decoration:none;}
  /* Secondary text nav */
  .mobile-nav-panel__secondary{display:flex;flex:0 0 auto;flex-direction:column;align-items:center;gap:clamp(10px,2vh,18px);width:100%;padding:clamp(8px,2vh,20px) 0;}
  .mobile-nav-panel__secondary a{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:6px 12px;color:var(--bm-ink);font-weight:700;text-transform:uppercase;text-decoration:none;opacity:0;translate:0 10px;transition:color .16s ease;}
  .mobile-nav-panel.is-open .mobile-nav-panel__secondary a{animation:menuItemReveal 420ms ease both;}
  .mobile-nav-panel.is-open .mobile-nav-panel__secondary a:nth-child(1){animation-delay:660ms;}
  .mobile-nav-panel.is-open .mobile-nav-panel__secondary a:nth-child(2){animation-delay:710ms;}
  .mobile-nav-panel.is-open .mobile-nav-panel__secondary a:nth-child(3){animation-delay:760ms;}
  .mobile-nav-panel.is-open .mobile-nav-panel__secondary a:nth-child(4){animation-delay:810ms;}
  .mobile-nav-panel.is-open .mobile-nav-panel__secondary a:nth-child(n+5){animation-delay:860ms;}
  .mobile-nav-panel__secondary a:hover,.mobile-nav-panel__secondary a:focus-visible{color:var(--bm-brown);text-decoration:none;}
  /* Lower: search */
  .mobile-nav-panel__lower{display:flex;flex:0 0 auto;flex-direction:column;align-items:center;gap:clamp(8px,1.8vh,14px);width:100%;margin-top:0;padding:0 0 clamp(2px,1vh,10px);}
  .mobile-nav-panel__language{width:100%;max-width:340px;opacity:0;translate:0 10px;}
  .mobile-nav-panel.is-open .mobile-nav-panel__language{animation:menuItemReveal 420ms ease both;animation-delay:940ms;}
  .mobile-nav-panel__language .wpml-ls{position:relative;width:100%;}
  .mobile-nav-panel__language .wpml-ls-direct{display:flex;justify-content:center;}
  .mobile-nav-panel__language .wpml-ls-direct .wpml-ls-link{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:6px 18px;color:var(--bm-ink);font-weight:700;text-transform:uppercase;text-decoration:none;}
  .mobile-nav-panel__language .wpml-ls-direct .wpml-ls-link:hover,.mobile-nav-panel__language .wpml-ls-direct .wpml-ls-link:focus-visible{color:var(--bm-brown);}
  .mobile-nav-panel__search{width:100%;max-width:340px;opacity:0;translate:0 10px;}
  .mobile-nav-panel.is-open .mobile-nav-panel__search{animation:menuItemReveal 420ms ease both;animation-delay:940ms;}
  .mobile-nav-panel.is-closing .mobile-nav-panel__language{animation:menuContentClose 200ms ease both;}
  .mobile-nav-panel.is-closing .mobile-nav-panel__header,
  .mobile-nav-panel.is-closing .mobile-nav-panel__cta-wrap,
  .mobile-nav-panel.is-closing .mobile-nav-panel__secondary a,
  .mobile-nav-panel.is-closing .mobile-nav-panel__search{animation:menuContentClose 200ms ease both;}
  .mobile-nav-panel__search .search-form{display:grid;grid-template-columns:minmax(0,1fr) clamp(50px,12vw,62px);align-items:center;gap:clamp(8px,2vw,12px);width:100%;}
  .mobile-nav-panel__search .search-form label{width:100%;min-width:0;}
  .mobile-nav-panel__search .search-form__icon{display:none;}
  .mobile-nav-panel__search .search-field{width:100%;min-width:0;min-height:clamp(50px,7vh,62px);border-color:var(--bm-ink-200);border-radius:var(--radius-md);background:rgba(255,255,255,.9);padding:12px clamp(12px,4vw,18px);}
  .mobile-nav-panel__search .search-submit{position:relative!important;width:clamp(50px,12vw,62px);height:clamp(50px,7vh,62px);margin:0;padding:0;border-color:var(--bm-ink-200);border-radius:var(--radius-md);clip:auto!important;overflow:hidden;background:var(--bm-bg);font-size:0;line-height:0;}
  .mobile-nav-panel__search .search-submit__icon{display:block;width:20px;height:20px;}
  .is-mobile-open .header-inner{min-height:92px;}
  .btn-brand,.btn-secondary{width:100%;}
  .contact-form{border-radius:var(--radius-lg);padding:var(--bm-space-4);}
  .woocommerce ul.products,.woocommerce-page ul.products{grid-template-columns:repeat(2,minmax(0,1fr));}
  .footer-nav a{min-height:48px;padding-block:6px;}
}
@media(max-width:420px){
  .header-inner{grid-template-columns:minmax(0,1fr) auto;column-gap:12px;}
  .header-tools{grid-column:2;gap:8px;}
  .site-branding img{height:48px;max-width:112px;}
  .header-cart,.mobile-menu-toggle{width:56px;height:56px;}
  .header-cart .bm-icon,.mobile-menu-toggle .bm-icon{width:27px;height:27px;}
}
@keyframes curtainReveal{
  0%{transform:translateY(-100%);}
  45%{transform:translateY(0);}
  100%{transform:translateY(100%);}
}
@keyframes curtainClose{
  0%{transform:translateY(100%);}
  45%{transform:translateY(0);}
  100%{transform:translateY(-100%);}
}
@keyframes menuItemReveal{
  from{opacity:0;translate:0 10px;}
  to{opacity:1;translate:0 0;}
}
@keyframes menuContentClose{
  from{opacity:1;translate:0 0;}
  to{opacity:0;translate:0 -10px;}
}
@media(prefers-reduced-motion:reduce){
  .mobile-nav-panel.is-open .menu-curtain,
  .mobile-nav-panel.is-closing .menu-curtain,
  .mobile-nav-panel.is-open .mobile-nav-panel__header,
  .mobile-nav-panel.is-closing .mobile-nav-panel__header,
  .mobile-nav-panel.is-open .mobile-nav-panel__cta-wrap,
  .mobile-nav-panel.is-closing .mobile-nav-panel__cta-wrap,
  .mobile-nav-panel.is-open .mobile-nav-panel__secondary a,
  .mobile-nav-panel.is-closing .mobile-nav-panel__secondary a,
  .mobile-nav-panel.is-open .mobile-nav-panel__search,
  .mobile-nav-panel.is-closing .mobile-nav-panel__search{animation:none;}
  .mobile-nav-panel .menu-curtain{display:none;}
  .mobile-nav-panel .mobile-nav-panel__header,
  .mobile-nav-panel .mobile-nav-panel__cta-wrap,
  .mobile-nav-panel .mobile-nav-panel__secondary a,
  .mobile-nav-panel .mobile-nav-panel__language,
  .mobile-nav-panel .mobile-nav-panel__search{opacity:1;translate:0 0;}
}
@media(max-width:1200px) and (max-height:700px){
  .mobile-nav-panel{padding-top:max(8px,env(safe-area-inset-top));padding-bottom:max(10px,env(safe-area-inset-bottom));}
  .mobile-nav-panel__body{gap:6px;padding-bottom:8px;}
  .mobile-nav-panel__cta-wrap{padding-top:4px;}
  .mobile-nav-panel__cta{min-height:50px;}
  .mobile-nav-panel__secondary{gap:clamp(8px,1.8vh,14px);padding-top:8px;padding-bottom:8px;}

  .mobile-nav-panel__lower{padding-bottom:4px;}
  .mobile-nav-panel__search .search-field,.mobile-nav-panel__search .search-submit{min-height:48px;height:48px;}
}
@media(max-width:1100px){
  .footer-top{grid-template-columns:minmax(0,1.55fr) minmax(0,1fr) minmax(0,1fr);}
  .footer-brand{grid-column:1 / -1;display:grid;grid-template-columns:auto minmax(240px,1fr) auto;align-items:center;gap:24px;padding-bottom:24px;border-bottom:1px solid rgba(123,77,57,.18);}
  .footer-logo{margin-bottom:0;}
  .footer-tagline{max-width:30ch;margin:0;}
  .footer-social{justify-self:end;}
}
@media(max-width:640px){
  .site-footer-shell{margin-top:48px;padding:0;}
  .footer-top{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 18px;padding:32px var(--bm-page-gutter) 26px;}
  .footer-brand{grid-column:1 / -1;display:block;padding-bottom:24px;}
  .footer-logo{margin-bottom:14px;}
  .footer-logo img{height:48px;}
  .footer-tagline{max-width:22ch;margin-bottom:18px;}
  .footer-social{justify-self:auto;}

  .footer-brand + .footer-nav{grid-column:1 / -1;}
  .footer-shop-columns{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:18px;}
  .footer-shop-columns ul{gap:2px;}
  .footer-bottom{padding:16px var(--bm-page-gutter);}
}
@media(max-width:480px){
  .mobile-nav-panel__body{gap:8px;}
  .mobile-nav-panel__secondary{gap:8px;padding-top:4px;padding-bottom:4px;}
  .woocommerce ul.products,.woocommerce-page ul.products{grid-template-columns:minmax(0,1fr);gap:14px;}
  .woocommerce ul.products li.product:not(.babymoby-product-loop-item),.woocommerce-page ul.products li.product:not(.babymoby-product-loop-item){border-radius:24px;padding:10px;}
  .woocommerce ul.products li.product a img{height:clamp(180px,calc(100vw - 64px),280px)!important;}

}

/* ---------- Info / content pages ---------- */
.page-hero{width:100%;max-width:none;margin-inline:0;background:linear-gradient(180deg,var(--bm-yellow-200),var(--bm-bg));padding:56px var(--bm-page-gutter);text-align:center;border-bottom:2px solid var(--bm-line);}
.page-template-page-contact-us .page-hero{background:var(--bm-bg);padding:0;border-bottom:0;}
.page-hero h1{color:var(--bm-brown);margin:0 0 10px;}
.page-hero p{max-width:var(--bm-page-subtitle-max);margin:0 auto;color:var(--bm-muted);}
.content-narrow{max-width:900px;margin:0 auto;padding:var(--bm-space-7) var(--bm-page-gutter);}
.bm-action-row{margin-top:var(--bm-space-7);}
.bm-action-row--compact{margin-top:var(--bm-space-6);}
.content-narrow h2{color:var(--bm-brown);margin-top:32px;}
.editorial-native-content .wpcf7-form-control-wrap{display:block;max-width:100%;}
.editorial-native-content .wpcf7-form-control{display:block;width:100%;max-width:100%;}

.retailer-list{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px;}
.retailer-chip{border:2px solid var(--bm-line);border-radius:999px;padding:10px 16px;background:var(--bm-yellow-200);color:var(--bm-ink);min-height:44px;display:inline-flex;align-items:center;}
.wtb-container{padding-top:48px;padding-bottom:var(--bm-space-7);}
.wtb-divider{margin:0 0 var(--bm-space-9);}
.wtb-hero>h1,.wtb-regions>h2{text-align:center;}
.wtb-retailer-strip{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:var(--bm-space-3);align-items:center;margin-top:var(--bm-space-5);}
.wtb-retailer-track,.wtb-online-track{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(160px,1fr);gap:var(--bm-space-3);overflow-x:auto;scroll-snap-type:x proximity;}
.wtb-retailer-card,.wtb-online-card{display:grid;gap:var(--bm-space-2);align-content:center;min-height:120px;padding:var(--bm-space-4);scroll-snap-align:start;text-decoration:none;}
.wtb-scroll-button{min-width:var(--bm-control-sm);min-height:var(--bm-control-sm);}
.wtb-online-track{grid-auto-columns:minmax(180px,1fr);margin-top:var(--bm-space-5);}
.wtb-online-card{min-height:140px;}
.wtb-online-card span{display:block;}
.wtb-region-list{display:grid;gap:var(--bm-space-2);margin-top:var(--bm-space-5);}
.wtb-region-row{width:100%;}
.wtb-region-row summary{cursor:pointer;padding:var(--bm-space-4) 0;}
.wtb-region-row ul{display:grid;gap:var(--bm-space-2);margin:0;padding:0 0 var(--bm-space-4) var(--bm-space-5);}
@media(max-width:767px){
  .wtb-retailer-track,.wtb-online-track{grid-auto-columns:minmax(220px,80%);}
}

/* ---------- Where to Buy visual treatment ---------- */
.wtb-page{--wtb-title-page:var(--bm-text-4xl);--wtb-title-section:var(--bm-heading-section);--wtb-title-region:var(--bm-text-lg);min-width:0;background:var(--bm-bg);}
.wtb-container{max-width:var(--bm-wide);}
.wtb-divider{border:0;border-top:1px solid var(--bm-line);}
.wtb-hero>h1{margin:0 0 var(--bm-space-3);color:var(--bm-brown);font-size:var(--wtb-title-page);font-weight:700;}
.wtb-regions>h2{margin:0 0 var(--bm-space-5);}
.wtb-container--continuation{padding-top:0;}
.wtb-retailer-strip--full{width:100%;box-sizing:border-box;margin:0;padding:0 var(--bm-space-6) var(--bm-space-8);}
.wtb-retailer-strip{margin-top:var(--bm-space-6);}
.wtb-retailer-strip--full{margin-top:0;}
.wtb-retailer-track,.wtb-online-track{scrollbar-width:thin;scrollbar-color:var(--bm-brown) var(--bm-ink-50);}
.wtb-retailer-card,.wtb-online-card{border:1px solid var(--bm-line);border-radius:var(--radius-lg);background:var(--bm-bg);box-shadow:var(--bm-shadow-card);color:var(--bm-ink);transition:transform var(--bm-motion-fast) ease,box-shadow var(--bm-motion-fast) ease,border-color var(--bm-motion-fast) ease;}
.wtb-retailer-card:hover,.wtb-online-card:hover{border-color:var(--bm-brown);box-shadow:var(--bm-shadow-md);transform:translateY(-2px);text-decoration:none;}
.wtb-retailer-card span{text-align:center;}
.wtb-scroll-button{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--bm-line);border-radius:var(--radius-pill);background:var(--bm-yellow-200);color:var(--bm-brown);cursor:pointer;}
.wtb-scroll-button .bm-icon{width:20px;height:20px;}
.wtb-scroll-button:hover{background:var(--bm-gold);}
.wtb-recommended{margin-top:var(--bm-space-7);}
.wtb-section-heading{display:grid;gap:8px;max-width:620px;margin:0 auto var(--bm-space-5);text-align:center;}
.wtb-section-heading.wtb-section-heading--products{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;max-width:none;margin:0 0 var(--bm-space-5);text-align:left;}
.wtb-section-heading h2{margin:0;color:var(--bm-ink);}
.wtb-bubble-menu>h2,.wtb-regions>h2,.wtb-partners__header h2{font-size:var(--bm-text-3xl);font-weight:700;}
.wtb-section-heading p{margin:0;color:var(--bm-muted);}
.wtb-product-slider{display:block;}
.wtb-product-slider__viewport{min-width:0;overflow-x:auto;padding:4px 2px 16px;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:thin;scrollbar-color:var(--bm-brown) var(--bm-ink-50);}
.wtb-product-slider__list{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(220px,24%);gap:var(--bm-space-5);align-items:stretch;}
.wtb-product-slide{min-width:0;scroll-snap-align:start;}
.wtb-explore-cta{margin-top:var(--bm-space-8);}
.wtb-explore-cta__inner{position:relative;display:flex;align-items:center;justify-content:space-between;gap:var(--bm-space-6);max-width:900px;margin:0 auto;padding:var(--bm-space-5) var(--bm-space-8);border-radius:var(--radius-lg);background:var(--bm-gold);}
.wtb-explore-cta__text{min-width:0;}
.wtb-explore-cta__text h2{margin:0;color:var(--bm-ink);}
.wtb-explore-cta__button.btn-brand{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);min-height:88px;padding:0 var(--bm-space-10);border:none;border-radius:var(--radius-pill);background:var(--bm-brown);color:var(--bm-bg);font-size:var(--bm-text-xl);font-weight:700;white-space:nowrap;box-shadow:0 6px 16px rgba(123,77,57,.32);transition:filter .2s ease,transform .2s ease,box-shadow .2s ease;}
.wtb-explore-cta__button.btn-brand:hover{filter:brightness(.92);transform:translate(-50%,-50%) translateY(-2px);box-shadow:0 10px 20px rgba(123,77,57,.38);}
.wtb-explore-cta__button.btn-brand:active{filter:brightness(.88);transform:translate(-50%,-50%) translateY(0);box-shadow:0 4px 10px rgba(123,77,57,.28);}
.wtb-explore-cta__button.btn-brand:focus-visible{outline:3px solid var(--bm-ink);outline-offset:4px;}
.wtb-explore-cta__illustration img{display:block;width:140px;height:auto;object-fit:contain;}
.wtb-empty-state{margin:0;padding:32px;border:1px solid var(--bm-line);border-radius:var(--radius-lg);background:var(--bm-ink-50);text-align:center;color:var(--bm-muted);}
.wtb-online{padding-top:var(--bm-space-2);}
.wtb-online-track{grid-auto-columns:minmax(190px,1fr);}
.wtb-online-card strong{color:var(--bm-ink);}
.wtb-online-card span{color:var(--bm-muted);}
.wtb-regions{padding-bottom:var(--bm-space-8);}
.wtb-region-list{border-top:1px solid var(--bm-line);}
.wtb-region-row{border-bottom:1px solid var(--bm-line);}
.wtb-region-row summary{display:flex;align-items:center;gap:12px;color:var(--bm-ink);font-size:var(--wtb-title-region);font-weight:700;list-style:none;}
.wtb-region-row summary::-webkit-details-marker{display:none;}
.wtb-region-row summary .wtb-region-row__icon{width:22px;height:22px;margin-left:auto;color:var(--bm-brown);transition:transform .2s ease;}
.wtb-region-row[open] summary .wtb-region-row__icon{transform:rotate(45deg);}
.wtb-bubble-menu{padding:var(--bm-space-3) var(--bm-page-gutter) var(--bm-space-8);overflow:clip;text-align:center;}
.wtb-bubble-menu>h2{margin:0 0 2rem;color:var(--bm-ink);}
.wtb-bubble-menu__pills{display:flex;flex-wrap:wrap;justify-content:center;gap:var(--bm-space-3);}
.wtb-bubble-menu__pill{--hover-bg:var(--bm-brown);--hover-color:#ffffff;display:inline-flex;align-items:center;gap:8px;padding:14px 28px;border-radius:999px;background:var(--bm-ink-50);color:var(--bm-ink);font-weight:600;text-decoration:none;transform:rotate(var(--rotation,0deg));transition:background-color .2s ease,color .2s ease,transform .2s ease;}
.wtb-bubble-menu__pill--left{--rotation:-8deg;}
.wtb-bubble-menu__pill--right{--rotation:8deg;}
.wtb-bubble-menu.is-animated .wtb-bubble-menu__pill{opacity:0;transform:rotate(var(--rotation,0deg)) scale(.92);transition:opacity .38s ease,background-color .2s ease,color .2s ease,transform .38s cubic-bezier(.2,.8,.2,1);transition-delay:calc(var(--bm-pill-index,0) * 70ms),0s,0s,0s;}
.wtb-bubble-menu.is-animated.is-visible .wtb-bubble-menu__pill{opacity:1;transform:rotate(var(--rotation,0deg)) scale(1);}
.wtb-bubble-menu__pill:hover,.wtb-bubble-menu__pill:focus-visible{background:var(--hover-bg);color:var(--hover-color);transform:rotate(0deg) scale(1.05);}
.wtb-bubble-menu__flag{font-size:1.2em;line-height:1;}
.wtb-section-heading--products .wtb-section-heading__cta{flex:0 0 auto;}
.wtb-partners{margin:var(--bm-space-3) 0 var(--bm-space-8);padding:var(--bm-space-8) var(--bm-page-gutter) 0;background:transparent;}
.wtb-partners__header{max-width:680px;margin:0 auto var(--bm-space-6);text-align:center;}
.wtb-partners__header h2{margin:0;color:var(--bm-ink);}
.wtb-partners__header p:last-child{max-width:520px;margin:8px auto 0;color:var(--bm-muted);}
.wtb-partners__eyebrow{margin:0 0 8px!important;color:var(--bm-brown)!important;font-size:var(--bm-text-caption);font-weight:700;line-height:var(--bm-leading-caption);letter-spacing:.08em;text-transform:uppercase;}
.wtb-partners__grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:10px;max-width:1120px;margin:0 auto;}
.wtb-partner{display:flex;align-items:center;justify-content:center;min-height:108px;padding:12px;transition:transform .2s ease;}
.wtb-partner:hover{transform:translateY(-2px);}
.wtb-partner img{display:block;width:100%;height:70px;object-fit:contain;}
.wtb-partner__placeholder{display:flex;align-items:center;justify-content:center;width:100%;height:70px;padding:8px;border:1px dashed var(--bm-ink-200);border-radius:var(--radius-sm);background:var(--bm-ink-50);color:var(--bm-muted);font-size:var(--bm-text-caption);line-height:var(--bm-leading-caption);text-align:center;}
.wtb-partners__toggle{display:flex;align-items:center;justify-content:center;width:max-content;min-width:128px;margin:var(--bm-space-5) auto 0;padding:10px 24px;border:2px solid var(--bm-brown);background:var(--bm-gold);color:var(--bm-ink);cursor:pointer;transition:background-color .2s ease,color .2s ease;}
.wtb-partners__toggle:hover,.wtb-partners__toggle:focus-visible{background:var(--bm-gold-hover);color:var(--bm-brown);}
.wtb-partners__toggle:active{transform:scale(.98);}
.wtb-partner[hidden]{display:none;}
.wtb-region-row ul{padding-left:var(--bm-space-4);}
.wtb-region-row li::marker{color:var(--bm-brown);}
.wtb-region-row a{color:var(--bm-brown);}
.wtb-region-row__stores{display:grid;gap:0;padding:0 0 var(--bm-space-4) var(--bm-space-4);}
.wtb-store-row{border-top:1px solid var(--bm-line);}
.wtb-store-row summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;cursor:pointer;color:var(--bm-ink);font-size:var(--bm-text-base);font-weight:500;list-style:none;}
.wtb-store-row__label{display:flex;align-items:center;gap:12px;min-width:0;}
.wtb-store-row__logo{display:block;width:72px;height:36px;flex:0 0 72px;object-fit:contain;}
.wtb-store-row summary::-webkit-details-marker{display:none;}
.wtb-store-row__icon{width:20px;height:20px;flex:0 0 auto;color:var(--bm-brown);transition:transform .2s ease;}
.wtb-store-row[open] .wtb-store-row__icon{transform:rotate(45deg);}
.wtb-store-row__content{display:grid;gap:10px;padding:0 0 16px;color:var(--bm-muted);}
.wtb-store-row__content address{margin:0;}
.wtb-store-row__content a{width:max-content;color:var(--bm-brown);}
@media(max-width:767px){

  .wtb-retailer-strip{grid-template-columns:auto minmax(0,1fr) auto;gap:var(--bm-space-2);}
  .wtb-section-heading.wtb-section-heading--products{display:block;}
  .wtb-section-heading--products .wtb-section-heading__cta{margin-top:18px;}
  .wtb-scroll-button{min-width:36px;min-height:36px;}
  .wtb-retailer-card,.wtb-online-card{border-radius:var(--radius-md);}
  .wtb-product-slider__list{grid-auto-columns:minmax(220px,80%);}
  .bm-recommended-products .wtb-product-slider__list{grid-auto-columns:minmax(260px,88%);}
  .wtb-partners{margin-inline:0;padding:var(--bm-space-7) var(--bm-page-gutter) 0;}
  .wtb-partners__grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;}
  .wtb-partner{min-height:82px;padding:8px;}
  .wtb-partner img{height:56px;}
  .wtb-explore-cta__inner{flex-direction:column;align-items:stretch;text-align:center;padding:var(--bm-space-6) var(--bm-space-5);}
  .wtb-explore-cta__button.btn-brand{position:static;transform:none;width:100%;}
  .wtb-explore-cta__button.btn-brand:hover{transform:none;}
  .wtb-explore-cta__button.btn-brand:active{transform:none;}
}
@media(max-width:700px){.wtb-page{--wtb-title-page:var(--bm-text-4xl);}}
@media(prefers-reduced-motion:reduce){.wtb-product-slider__viewport{scroll-behavior:auto;}.wtb-bubble-menu.is-animated .wtb-bubble-menu__pill{opacity:1;transform:rotate(var(--rotation,0deg));transition:none;}}

/* Keep the primary Where to Buy section headings on one exact type scale. */
.wtb-page .wtb-bubble-menu>h2,
.wtb-page .wtb-regions>h2,
.wtb-page .wtb-section-heading h2,
.wtb-page .wtb-partners__header>h2{
	font-size:var(--wtb-title-section)!important;
	font-weight:700!important;
}
.page-template-page-contact-us,
.page-template-page-contact-us *,
.page-template-page-contact-us *::before,
.page-template-page-contact-us *::after{animation:none!important;scroll-behavior:auto!important;transition:none!important;}
/* Contact transition: complete the video sequence before revealing the content. */
.contact-scroll-stack,.contact-faq{--contact-space-section:clamp(28px,4vw,64px);--contact-space-card:clamp(18px,2.4vw,32px);}
.contact-scroll-stack{position:relative;isolation:isolate;background:#000;}
.contact-scroll-stack__section{position:static;min-height:0;height:auto;}
.contact-scroll-stack .contact-scroll-stack__section--video{position:static;z-index:auto;height:420vh;background:#000;}
.contact-scroll-stack__section--content{position:sticky;top:0;z-index:3;min-height:0;margin-top:0;padding-top:1px;overflow:hidden;border-radius:32px 32px 0 0;background:var(--bm-yellow-200);background-clip:padding-box;box-shadow:0 -12px 32px rgba(0,0,0,.16);}
.scrollytelling{position:relative;height:420vh;background:#000;}
.scrollytelling__pin{position:sticky;top:0;display:flex;align-items:center;justify-content:center;height:100dvh;width:100%;overflow:hidden;}
.contact-scroll-stack.is-final-frame-overlay .scrollytelling__pin{position:fixed;inset:0;z-index:1;height:100dvh;width:100%;}
#contact-scrollytelling-canvas{display:block;width:100%;height:100%;}
.contact-scroll-cue{position:absolute;bottom:clamp(60px,14vh,140px);left:50%;z-index:2;display:flex;flex-direction:column;align-items:center;gap:0;transform:translateX(-50%);text-decoration:none;transition:transform .25s ease;}
.contact-scroll-cue:hover{transform:translateX(-50%) translateY(-2px);}
.contact-scroll-cue__label{margin-bottom:19px;color:#fff;font-family:var(--bm-font-body);font-size:22px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;white-space:nowrap;opacity:.85;animation:contact-scroll-cue-blink 1.6s ease-in-out infinite;}
.contact-scroll-cue__icon{display:inline-flex;align-items:center;justify-content:center;width:58px;height:29px;margin-top:-13px;color:#fff;}
.contact-scroll-cue__icon:first-child{margin-top:0;}
.contact-scroll-cue__icon .bm-icon{width:100%;height:100%;stroke:currentColor;stroke-width:2;}
.contact-scroll-cue__icon--1{opacity:1;animation:contact-scroll-cue-blink 1.6s ease-in-out infinite;}
.contact-scroll-cue__icon--2{opacity:.4;animation:contact-scroll-cue-blink 1.6s ease-in-out .3s infinite;}
.contact-scroll-cue:focus-visible{outline:2px solid #fff;outline-offset:6px;border-radius:6px;}
@keyframes contact-scroll-cue-blink{0%,100%{opacity:.35;}50%{opacity:1;}}
@media(prefers-reduced-motion:reduce){.contact-scroll-cue__label,.contact-scroll-cue__icon--1,.contact-scroll-cue__icon--2{animation:none;opacity:1;}}
.contact-page{padding:var(--contact-space-section) 0 0;border-radius:24px 24px 0 0;background:var(--bm-yellow-200);}
body:has(.contact-faq) .contact-page{padding-bottom:var(--contact-space-section);}
body:has(.contact-faq) .site-footer-shell{margin-top:0;}
.contact-info{width:min(1440px,calc(100% - var(--bm-page-gutter) - var(--bm-page-gutter)));margin:0 auto var(--contact-space-section);padding:var(--contact-space-card);border:var(--bm-border) solid var(--bm-line);border-radius:var(--radius-lg);background:var(--bm-bg);box-shadow:var(--bm-shadow-lg);}
.contact-info__intro{width:min(var(--bm-page-title-max),calc(100% - var(--bm-page-gutter) - var(--bm-page-gutter)));margin:0 auto 28px;text-align:center;}
.contact-info__intro h2{margin:0 0 10px;color:var(--bm-ink);}
.contact-info__intro p{max-width:var(--bm-page-subtitle-max);margin:0 auto;color:var(--bm-muted);}
.contact-info__details{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;}
.contact-info__details .contact-detail{padding:2px 28px;}
.contact-info__details .contact-detail+ .contact-detail{border-left:0;}
.contact-info__details .contact-detail h3{margin:21px 0;color:var(--bm-brown);}
.contact-info__details .contact-detail p{margin:0;color:var(--bm-ink-700);overflow-wrap:anywhere;}
.contact-info__details .contact-detail a{color:inherit;}
.warranty-page{--contact-space-section:clamp(28px,4vw,64px);padding:var(--contact-space-section) 0;border-radius:24px 24px 0 0;background:var(--bm-bg);}
.warranty-panel__intro{width:min(var(--bm-page-title-max),calc(100% - var(--bm-page-gutter) - var(--bm-page-gutter)));margin:0 auto var(--bm-space-8);text-align:center;}
.warranty-panel__intro h2{margin:0 0 var(--bm-space-4);color:var(--bm-ink-900);font-family:var(--bm-font-heading);font-size:var(--bm-text-4xl);font-weight:700;line-height:1.05;letter-spacing:-.02em;}
.warranty-panel__intro>p{max-width:var(--bm-page-subtitle-max);margin:0 auto;color:var(--bm-ink-500);font-family:var(--bm-font-body);font-size:var(--bm-text-lg);font-weight:500;line-height:1.6;}
.warranty-panel{display:block;width:min(var(--bm-layout-max),calc(100% - var(--bm-page-gutter) - var(--bm-page-gutter)));margin:0 auto;padding:var(--bm-space-8);border:1.5px solid var(--bm-ink-200);border-radius:var(--radius-lg);background:var(--bm-bg);box-shadow:var(--bm-shadow-card);font-family:var(--bm-font-body);font-size:var(--bm-text-base);font-weight:500;line-height:var(--bm-leading-body);color:var(--bm-ink-700);}
.warranty-panel p{max-inline-size:none;}
.warranty-panel > .entry-content{max-width:none;margin:0;padding:0;}
.warranty-panel > .warranty-card,.warranty-panel > .entry-content{padding-bottom:var(--bm-space-7);margin-bottom:var(--bm-space-7);border-bottom:1px solid var(--bm-ink-200);}
.warranty-panel > .warranty-card:last-child,.warranty-panel > .entry-content:last-child{padding-bottom:0;margin-bottom:0;border-bottom:0;}
.warranty-card h3{margin:0 0 14px;color:var(--bm-ink);}
.warranty-card p{margin:0 0 20px;color:var(--bm-ink-700);}
.warranty-card__meta{margin:0 0 20px;color:var(--bm-muted)!important;}
.warranty-card__cta{margin-top:4px;}

/* CF7 "Warranty Card" form (id 5060 / f388972) — reskin to match .wcp-form conventions */
.warranty-page .wpcf7-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--bm-space-5);align-items:stretch;}
.warranty-page .wpcf7-form p{grid-column:1 / -1;margin:0;color:inherit;}
.warranty-page .wpcf7-form p:has(input[type="text"]),
.warranty-page .wpcf7-form p:has(input[type="tel"]),
.warranty-page .wpcf7-form p:has(input[type="email"]),
.warranty-page .wpcf7-form p:has(input[type="date"]),
.warranty-page .wpcf7-form p:has(select){grid-column:span 1;}
.warranty-page .wpcf7-form p:has(input[type="file"]),
.warranty-page .wpcf7-form > *:has(input[type="file"]){grid-column:1 / -1!important;width:100%;max-width:none;min-width:0;}
@media(max-width:639px){
  .warranty-page .wpcf7-form{grid-template-columns:1fr;}
}
.warranty-page .wpcf7-form br{display:none;}
.warranty-page .wpcf7-form .hidden-fields-container{display:none!important;}
.warranty-page .wpcf7-form-control-wrap{display:block;width:100%;}
.warranty-page .wpcf7-form label{display:block;color:var(--bm-ink);font-family:var(--bm-font-body);font-size:var(--bm-text-base);font-weight:700;line-height:var(--bm-leading-caption);margin-bottom:var(--bm-space-2);}
.warranty-page .wpcf7-form input[type="text"],
.warranty-page .wpcf7-form input[type="tel"],
.warranty-page .wpcf7-form input[type="email"],
.warranty-page .wpcf7-form input[type="date"],
.warranty-page .wpcf7-form select,
.warranty-page .wpcf7-form textarea{display:block;width:100%;min-height:var(--bm-control-sm);padding:11px 14px;border:1.5px solid var(--bm-ink-200);border-radius:var(--radius-sm);color:var(--bm-ink);background:var(--bm-bg);font-family:var(--bm-font-body);font-size:var(--bm-text-base);font-weight:500;line-height:1.5;transition:border-color var(--bm-motion-fast) ease,box-shadow var(--bm-motion-fast) ease;box-sizing:border-box;}
.warranty-page .wpcf7-form textarea{min-height:120px;resize:vertical;}
.warranty-page .wpcf7-form input:focus,
.warranty-page .wpcf7-form select:focus,
.warranty-page .wpcf7-form textarea:focus{outline:2px solid var(--bm-brown);outline-offset:1px;border-color:var(--bm-gold);}
.warranty-page .wpcf7-form input::placeholder,
.warranty-page .wpcf7-form textarea::placeholder{color:var(--bm-placeholder);}
.warranty-page .wpcf7-checkbox{display:flex;flex-wrap:wrap;gap:10px;}
.warranty-page .wpcf7-list-item{margin:0;}
.warranty-page .wpcf7-list-item-label{display:inline-flex;align-items:center;gap:8px;padding:0;border:0;border-radius:0;background:transparent;cursor:pointer;font-weight:500;}
.warranty-page .wpcf7-list-item input[type="checkbox"]{accent-color:var(--bm-gold);width:18px;height:18px;}
.warranty-page .wpcf7-form-control-wrap:has(input[type="file"]){display:block!important;width:100%!important;max-width:none!important;min-width:0;border:var(--bm-border) dashed var(--bm-ink-200);border-radius:var(--radius-sm);padding:32px 20px;text-align:center;background:var(--bm-field-bg);box-sizing:border-box;}
.warranty-page .wpcf7-form :is(label,center):has(input[type="file"]){display:block;width:100%;max-width:none;min-width:0;}
.warranty-page .wpcf7-form-control-wrap:has(input[type="file"]) input[type="file"]{display:block;width:100%;max-width:none;min-width:0;box-sizing:border-box;}
.warranty-page .wpcf7-form :has(input[type="submit"]){grid-column:1 / -1!important;text-align:center;}
.warranty-page .wpcf7-form > p:last-of-type,
.warranty-page .wpcf7-form > center:last-of-type{grid-column:1 / -1!important;text-align:center;}
.warranty-page .wpcf7-form center{display:block!important;width:100%!important;max-width:100%!important;}
.warranty-page .wpcf7-submit,
.warranty-page input[type="submit"]{display:flex!important;align-items:center;justify-content:center;width:100%!important;max-width:100%;min-height:48px!important;height:auto!important;padding:10px 16px!important;background:var(--bm-gold)!important;color:var(--bm-ink)!important;border:2px solid var(--bm-brown)!important;border-radius:var(--radius-sm)!important;font-family:var(--bm-font-body)!important;font-size:var(--bm-text-base)!important;font-weight:700!important;line-height:1.2!important;cursor:pointer!important;transition:background 150ms ease,transform 150ms ease!important;margin:var(--bm-space-4) auto 0;}
.warranty-page .wpcf7-submit:hover,
.warranty-page input[type="submit"]:hover{background:var(--bm-gold-hover)!important;transform:translateY(-2px)!important;}
.warranty-page .wpcf7-not-valid-tip{display:block;margin-top:6px;color:var(--bm-coral-500);font-size:var(--bm-text-caption);}
.warranty-page .wpcf7-response-output{margin:0;border:0;padding:0;}
.warranty-page .wpcf7-response-output.wpcf7-mail-sent-ok,
.warranty-page .wpcf7-response-output.wpcf7-mail-sent-ng,
.warranty-page .wpcf7-response-output.wpcf7-validation-errors,
.warranty-page .wpcf7-response-output.wpcf7-spam-blocked,
.warranty-page .wpcf7-response-output.wpcf7-aborted{margin:var(--bm-space-4) 0 0;padding:14px 16px;border-radius:var(--radius-sm);border:1.5px solid var(--bm-ink-200);}
@media(max-width:900px){
	.warranty-panel{padding:32px 20px;}
	.warranty-panel__intro{margin-bottom:24px;}
}
.contact-panel__intro{width:min(var(--bm-page-title-max),calc(100% - var(--bm-page-gutter) - var(--bm-page-gutter)));margin:0 auto 32px;text-align:center;}
.contact-panel__intro h2{margin:0 0 14px;color:var(--bm-ink);}
.contact-panel__intro>p{max-width:var(--bm-page-subtitle-max);margin:0 auto;color:var(--bm-muted);}
.contact-panel{display:block;width:min(1440px,calc(100% - var(--bm-page-gutter) - var(--bm-page-gutter)));margin:0 auto;padding:var(--contact-space-card);border:var(--bm-border) solid var(--bm-line);border-radius:var(--radius-lg);background:var(--bm-bg);box-shadow:var(--bm-shadow-lg);}
.contact-panel__top{display:grid;grid-template-columns:minmax(0,1fr) minmax(380px,1fr);gap:28px;align-items:stretch;}
.contact-panel .contact-form{min-width:0;height:100%;}
.contact-location{min-width:0;min-height:560px;overflow:hidden;border:var(--bm-border) solid var(--bm-line);border-radius:var(--radius-lg);background:var(--bm-ink-50);}
.contact-location iframe{display:block;width:100%;height:100%;min-height:560px;border:0;}
.contact-panel__details{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin-top:32px;padding-top:28px;border-top:2px solid var(--bm-line);}
.contact-detail{display:flex;min-width:0;min-height:100%;flex-direction:column;align-items:center;padding:2px 28px;text-align:center;gap:0;}
.contact-detail+ .contact-detail{border-left:1px solid var(--bm-line);}
.contact-detail__symbol{display:flex;align-items:center;justify-content:center;width:56px;height:56px;margin-bottom:0;border:var(--bm-border) solid var(--bm-line);border-radius:var(--radius-md);background:var(--bm-yellow-500);color:var(--bm-brown);}
.contact-detail__symbol .bm-icon{width:26px;height:26px;}
.contact-panel__details .contact-detail h3{margin:21px 0;color:var(--bm-brown);}
.contact-detail p{margin:0;color:var(--bm-ink-700);overflow-wrap:anywhere;}
.contact-detail a{color:inherit;}
.contact-faq{width:min(1440px,calc(100% - var(--bm-page-gutter) - var(--bm-page-gutter)));margin:32px auto 0;padding:var(--contact-space-card);border:2px solid var(--bm-line);border-radius:32px;background:var(--bm-bg);box-shadow:var(--bm-shadow-lg);}
.contact-faq__grid{display:grid;grid-template-columns:minmax(220px,.72fr) minmax(0,1.28fr);gap:clamp(28px,4vw,56px);align-items:start;}
.contact-faq__sidebar h2{margin:0 0 14px;color:var(--bm-ink);}
.contact-faq__sidebar>p{max-width:330px;margin:0;color:var(--bm-muted);}
.contact-faq__categories{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px;}
.contact-faq__category{min-height:42px;padding:9px 14px;border:2px solid var(--bm-line);border-radius:999px;background:var(--bm-bg);color:var(--bm-ink);cursor:pointer;}
.contact-faq__category:hover,.contact-faq__category:focus-visible,.contact-faq__category.is-active{border-color:var(--bm-brown);background:var(--bm-yellow-200);color:var(--bm-brown);}
.contact-faq__content{min-width:0;width:100%;}
.contact-faq__list{display:grid;gap:10px;}
.contact-faq__item{border:2px solid var(--bm-line);border-radius:18px;background:var(--bm-ink-50);overflow:hidden;}
.contact-faq__item h3{margin:0;}
.contact-faq__toggle{display:flex;align-items:center;justify-content:space-between;gap:20px;width:100%;min-height:64px;padding:18px 20px;border:0;background:transparent;color:var(--bm-ink);text-align:left;cursor:pointer;appearance:none;}
.contact-faq__item:hover{background:var(--bm-yellow-200);border-color:var(--bm-yellow-500);}
.contact-faq__toggle:hover,.contact-faq__toggle:focus-visible{background:transparent;}
.contact-faq__toggle-icon{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;flex:0 0 28px;border-radius:50%;background:var(--bm-yellow-500);}
.contact-faq__toggle-icon .bm-icon{width:16px;height:16px;}
.contact-faq__answer{height:auto;overflow:hidden;opacity:1;padding:0 20px;}
.contact-faq__answer p{margin:0;padding:0 0 18px;color:var(--bm-muted);}
.contact-faq__support{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:24px;padding:22px 24px;border:2px solid var(--bm-line);border-radius:22px;background:var(--bm-yellow-200);}
.contact-faq__support h3{margin:0 0 6px;color:var(--bm-ink);}
.contact-faq__support p{margin:0;color:var(--bm-muted);}
.contact-faq__support .btn-brand{flex:0 0 auto;white-space:nowrap;}
.contact-form{width:100%;justify-self:center;box-sizing:border-box;}
.contact-form__name-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--bm-gap-form);}
.contact-form__submit{width:100%;}
@media(max-width:960px){
	.contact-panel__top{grid-template-columns:1fr;}
	.contact-location,.contact-location iframe{min-height:420px;}
}
@media(max-width:782px){
	.contact-scroll-stack .contact-scroll-stack__section--video,.scrollytelling{height:300vh;}
	.contact-page{padding-top:var(--bm-space-5);}
	.contact-info__details{grid-template-columns:1fr;gap:20px;}
	.contact-info__details .contact-detail{display:grid;grid-template-columns:56px minmax(0,1fr);column-gap:14px;row-gap:0;align-items:center;padding:4px 0;}
	.contact-info__details .contact-detail__symbol{grid-row:span 2;margin:0;}
	.contact-panel__intro{margin-bottom:32px;}
	.contact-panel{padding:var(--contact-space-card);}
	.contact-faq{padding:var(--contact-space-card);}
	.contact-faq__grid{grid-template-columns:1fr;gap:32px;}
	.contact-faq__support{align-items:flex-start;flex-direction:column;}
	.contact-panel__top{gap:22px;}
	.contact-location,.contact-location iframe{min-height:360px;}
  .contact-panel__details{grid-template-columns:1fr;gap:20px;}
  .contact-detail{display:grid;grid-template-columns:56px minmax(0,1fr);column-gap:14px;row-gap:0;align-items:center;padding:4px 0;}
  .contact-detail+ .contact-detail{border-left:0;}
  .contact-detail__symbol{grid-row:span 2;margin:0;}
  .contact-form__name-row{grid-template-columns:1fr;}
}
@media(max-width:1400px){
	.contact-faq__grid{grid-template-columns:1fr;gap:32px;}
	.contact-faq__support{align-items:stretch;flex-direction:column;}
	.contact-faq__support>div{width:100%;}
	.contact-faq__support .btn-brand{width:100%;}
}
.contact-form{display:grid;gap:var(--bm-gap-form);border:var(--bm-border) solid var(--bm-line);border-radius:var(--radius-lg);background:var(--bm-ink-50);padding:var(--bm-space-6);}
.form-row{display:grid;gap:var(--bm-space-2);}
.form-row label{color:var(--bm-ink);}
.form-row input,.form-row select,.form-row textarea{width:100%;min-height:var(--bm-control-input);border:var(--bm-border) solid var(--bm-ink-200);border-radius:var(--radius-sm);background:var(--bm-bg);padding:var(--bm-space-2) var(--bm-space-3);color:var(--bm-ink);}
.form-row textarea{resize:vertical;}
.form-row small{min-height:20px;margin:0;color:var(--bm-muted);}
.form-alert{margin:0;padding:12px 14px;border-radius:16px;}
.form-alert--success{background:var(--bm-surface-accent-mint);color:var(--bm-mint-700);}
.form-alert--error{background:var(--bm-surface-accent-coral);color:var(--bm-coral-700);}
.btn-brand,.btn-secondary{display:inline-flex;align-items:center;justify-content:center;gap:var(--bm-space-2);min-height:var(--bm-control-md);border-radius:var(--radius-md);padding:var(--bm-space-3) var(--bm-space-6);text-decoration:none;}
.btn-brand{background:var(--bm-gold);color:var(--bm-ink);border:var(--bm-border) solid var(--bm-brown);box-shadow:none;}
.btn-brand:hover{background:var(--bm-gold-hover);border-color:var(--bm-brown);color:var(--bm-brown);text-decoration:none;}
.btn-secondary{background:var(--bm-bg);color:var(--bm-brown);border:var(--bm-border) solid var(--bm-brown);}
.btn-secondary:hover{border-color:var(--bm-brown);text-decoration:none;}
.note{background:var(--bm-yellow-200);border:2px solid var(--bm-yellow-500);border-radius:16px;padding:14px 18px;color:var(--bm-brown);margin:20px auto;max-width:900px;}

/* ---------- 404 ---------- */
.not-found-page{min-height:calc(100vh - 108px);display:flex;align-items:center;justify-content:center;padding:24px var(--bm-page-gutter) 32px;background:var(--bm-bg);}
.not-found-page__inner{width:100%;max-width:760px;margin:0 auto;text-align:center;}
.not-found-image{display:block;width:min(100%,670px);height:auto;margin:0 auto 18px;}
.not-found-page h1{margin:0;color:var(--bm-brown);}
.not-found-page p{max-width:580px;margin:12px auto 20px;color:var(--bm-muted);}
.not-found-page .btn-brand{justify-content:center;min-width:180px;}

@media(max-width:782px){
  .not-found-page{min-height:calc(100vh - 76px);padding:20px var(--bm-page-gutter) 28px;}
  .not-found-image{width:min(100%,300px);margin-bottom:16px;}


}

/* ---------- Fallbacks: uploads folder is empty on this dev copy ---------- */
/* Missing product thumbnails render as tidy square tiles instead of broken images. */
.woocommerce ul.products li.product a.woocommerce-loop-product__link img{width:100%;aspect-ratio:1/1;object-fit:contain;background:var(--bm-yellow-300);border-radius:16px;}

/* ---------- Full cart / basket page ---------- */
.bm-cart-page{width:100%;margin:0;padding:60px 0;background:var(--bm-bg);}
.bm-cart-container{width:100%;max-width:var(--bm-content);margin:0 auto;padding-inline:var(--bm-page-gutter);}
.bm-cart-heading{margin:0 0 30px;}
.bm-cart-heading h1{margin:0;color:var(--bm-ink);}
.bm-cart-heading p{margin:8px 0 0;color:var(--bm-muted);}
.bm-cart-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,320px);gap:24px;align-items:start;}
.bm-cart-main{min-width:0;}
.bm-cart-sidebar{display:grid;gap:18px;align-self:start;min-width:0;}
.bm-cart-form{margin:0;}
.bm-cart-list{--bm-cart-columns:minmax(260px,1fr) minmax(92px,112px) minmax(128px,144px) minmax(100px,120px) 32px;border:1.5px solid var(--bm-ink-200);border-radius:var(--radius-sm);background:var(--bm-bg);padding:22px;overflow:hidden;}
.bm-cart-list__head{display:grid;grid-template-columns:var(--bm-cart-columns);gap:18px;padding:0 0 12px;border-bottom:1px solid var(--bm-line);color:var(--bm-muted);}
.bm-cart-list__head span:first-child{grid-column:1;}
.bm-cart-row{position:relative;display:grid;grid-template-columns:var(--bm-cart-columns);gap:18px;align-items:start;padding:22px 0;border-top:1px solid var(--bm-line);overflow:hidden;}
.bm-cart-list__head + .bm-cart-row{border-top:0;}
.bm-cart-product{position:relative;display:grid;grid-template-columns:96px minmax(0,1fr);gap:16px;align-items:center;min-width:0;overflow:hidden;}
.bm-cart-product__thumb{display:flex;align-items:center;justify-content:center;width:96px;height:96px;border:1px solid var(--bm-line);border-radius:var(--radius-sm);background:var(--bm-ink-50);overflow:hidden;}
.bm-cart-product__thumb a{display:flex;align-items:center;justify-content:center;width:100%;height:100%;}
.bm-cart-product__thumb img{display:block;width:100%;height:100%;object-fit:contain;background:transparent;border-radius:0;}
.bm-cart-product__details{position:relative;min-width:0;color:var(--bm-muted);overflow:hidden;}
.bm-cart-product__name{position:static!important;display:block;margin:0 0 6px;color:var(--bm-ink);text-decoration:none;overflow-wrap:anywhere;}
.bm-cart-product__name *{position:static!important;}
.bm-cart-product__name:hover{color:var(--bm-brown);text-decoration:none;}
.bm-cart-product__details dl{display:grid;grid-template-columns:auto minmax(0,1fr);gap:2px 8px;margin:6px 0 0;}
.bm-cart-product__details dt{color:var(--bm-ink-700);}
.bm-cart-product__details dd{margin:0;color:var(--bm-muted);}
.bm-cart-price,.bm-cart-quantity,.bm-cart-subtotal,.bm-cart-remove{min-width:0;}
.bm-cart-price,.bm-cart-subtotal{padding-top:10px;color:var(--bm-ink);}
.bm-cart-price .amount,.bm-cart-subtotal .amount{color:var(--bm-ink);}
.bm-cart-quantity{padding-top:3px;}
.bm-quantity-stepper{display:inline-grid;grid-template-columns:34px minmax(42px,52px) 34px;align-items:center;min-height:40px;border:1.5px solid var(--bm-ink-200);border-radius:var(--radius-pill);background:var(--bm-bg);overflow:hidden;}
.bm-quantity-stepper__button{display:inline-flex;align-items:center;justify-content:center;width:34px;height:38px;border:0;background:transparent;color:var(--bm-ink);cursor:pointer;}
.bm-quantity-stepper__button .bm-icon{width:16px;height:16px;}
.bm-quantity-stepper__button:hover,.bm-quantity-stepper__button:focus-visible{background:var(--bm-yellow-200);color:var(--bm-brown);}
.bm-quantity-stepper__button:disabled,.bm-quantity-stepper__button[aria-disabled="true"]{color:var(--bm-muted);cursor:not-allowed;opacity:.45;}
.bm-quantity-stepper__button:disabled:hover,.bm-quantity-stepper__button[aria-disabled="true"]:hover{background:transparent;color:var(--bm-muted);}
.bm-quantity-stepper .quantity{margin:0;}
.bm-quantity-stepper input.qty{width:100%;height:38px;min-height:38px;padding:0;border:0;border-left:1px solid var(--bm-line);border-right:1px solid var(--bm-line);border-radius:0;background:var(--bm-bg);color:var(--bm-ink);text-align:center;appearance:textfield;-moz-appearance:textfield;}
.bm-quantity-stepper input.qty::-webkit-outer-spin-button,.bm-quantity-stepper input.qty::-webkit-inner-spin-button{margin:0;-webkit-appearance:none;}
.bm-quantity-stepper input.qty:focus{outline:0;box-shadow:inset 0 0 0 2px var(--bm-brown);}
.bm-cart-remove{position:relative!important;display:flex;justify-content:flex-end;min-width:0;overflow:hidden;padding-top:6px;text-align:right;}
.bm-cart-remove__link,.woocommerce a.remove.bm-cart-remove__link{position:static!important;inset:auto!important;float:none!important;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;min-width:32px;max-width:32px;border:0!important;border-radius:var(--radius-pill);background:transparent;color:var(--bm-muted)!important;text-indent:0!important;text-decoration:none;transform:none!important;}
.bm-cart-row,.bm-cart-remove{contain:layout paint;}
.bm-cart-remove__link::before,.bm-cart-remove__link::after{position:static!important;inset:auto!important;transform:none!important;}
.bm-cart-remove__link:hover,.woocommerce a.remove.bm-cart-remove__link:hover{background:var(--bm-ink-50);color:var(--bm-red)!important;text-decoration:none;}
.bm-cart-actions{margin-top:18px;text-align:right;}
.bm-cart-actions .button{min-height:42px;border-radius:var(--radius-sm);}
.bm-cart-update{display:none!important;}
.bm-cart-panel{border:1.5px solid var(--bm-ink-200);border-radius:var(--radius-sm);background:var(--bm-bg);padding:22px;}
.bm-order-summary{position:relative;z-index:2;isolation:isolate;}
.bm-cart-panel h2{margin:0 0 16px;color:var(--bm-ink);}
.bm-cart-page .bm-cart-coupons{display:grid;gap:16px;}
.bm-cart-page .bm-cart-coupons h2{margin:0;color:var(--bm-ink);}
.bm-cart-page .bm-cart-coupons .bm-coupon-form{margin:0;}
.bm-cart-page .bm-cart-coupons .bm-coupon-control{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:stretch;}
.bm-cart-page .bm-cart-coupons #coupon_code{width:100%;min-width:0;min-height:48px;border:1.5px solid var(--bm-ink-200);border-radius:var(--radius-sm);background:var(--bm-bg);padding:10px 12px;color:var(--bm-ink);}
.bm-cart-page .bm-cart-coupons #coupon_code:focus{border-color:var(--bm-brown);outline:2px solid rgba(123,77,57,.16);outline-offset:1px;}
.bm-cart-page .bm-cart-coupons button[name="apply_coupon"]{display:inline-flex;align-items:center;justify-content:center;min-width:104px;min-height:48px;border:2px solid var(--bm-brown);border-radius:var(--radius-sm);background:var(--bm-gold);padding:10px 16px;color:var(--bm-ink);cursor:pointer;}
.bm-cart-page .bm-cart-coupons button[name="apply_coupon"]:hover{background:var(--bm-gold-hover);color:var(--bm-brown);}
@media(max-width:640px){
	.bm-cart-page .bm-cart-coupons .bm-coupon-control{grid-template-columns:1fr;}
	.bm-cart-page .bm-cart-coupons button[name="apply_coupon"]{width:100%;}
}
.bm-summary-lines{display:grid;gap:13px;}
.bm-summary-line{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;color:var(--bm-muted);}
.bm-summary-line span,.bm-summary-line strong{min-width:0;}
.bm-summary-line strong{color:var(--bm-ink);text-align:right;overflow-wrap:anywhere;}
.bm-summary-line .amount{color:inherit;}
.bm-summary-line .woocommerce-remove-coupon{display:block;margin-top:3px;color:var(--bm-red);}
.bm-summary-total{margin-top:4px;padding-top:17px;border-top:1px solid var(--bm-ink-200);color:var(--bm-ink);}

.bm-order-summary .wc-proceed-to-checkout{margin-top:20px;padding:0;}
.bm-order-summary .checkout-button{display:flex!important;align-items:center;justify-content:center;width:100%;min-height:52px;margin:0!important;border:2px solid var(--bm-brown)!important;border-radius:var(--radius-md)!important;background:var(--bm-gold)!important;color:var(--bm-ink)!important;text-align:center;text-decoration:none!important;}
.bm-order-summary .checkout-button:hover{background:var(--bm-gold-hover)!important;color:var(--bm-brown)!important;text-decoration:none!important;}
.bm-cart-shipping{margin-top:28px;}
.bm-shipping-form{margin:0;}
.bm-shipping-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 18px;margin-bottom:18px;}
.bm-shipping-grid .form-row{display:grid;gap:var(--bm-space-2);margin:0;}
.bm-shipping-grid label{color:var(--bm-ink);}
.bm-shipping-grid input,.bm-shipping-grid select{width:100%;min-height:46px;border:1.5px solid var(--bm-ink-200);border-radius:var(--radius-sm);background:var(--bm-bg);padding:10px 12px;color:var(--bm-ink);}
.bm-shipping-grid .select2-container{width:100%!important;}
.bm-shipping-grid .select2-container .select2-selection--single{height:46px;border:1.5px solid var(--bm-ink-200);border-radius:var(--radius-sm);background:var(--bm-bg);}
.bm-shipping-grid .select2-container .select2-selection--single .select2-selection__rendered{padding:8px 36px 8px 12px;color:var(--bm-ink);}
.bm-shipping-grid .select2-container .select2-selection--single .select2-selection__arrow{top:10px;right:8px;}
.bm-shipping-grid .select2-container--default.select2-container--focus .select2-selection--single,.bm-shipping-grid .select2-container--default.select2-container--open .select2-selection--single{border-color:var(--bm-brown);box-shadow:none;outline:2px solid var(--bm-brown);outline-offset:1px;}
.bm-shipping-submit{display:flex!important;align-items:center;justify-content:center;width:100%;min-height:50px;border:2px solid var(--bm-brown)!important;border-radius:var(--radius-md)!important;background:var(--bm-gold)!important;color:var(--bm-ink)!important;cursor:pointer;}
.bm-shipping-submit:hover{background:var(--bm-gold-hover)!important;color:var(--bm-brown)!important;}
.bm-cart-empty{max-width:720px;padding:34px;border:1.5px solid var(--bm-ink-200);border-radius:var(--radius-sm);background:var(--bm-ink-50);text-align:center;}
.bm-cart-empty .cart-empty{margin:0 0 18px;color:var(--bm-ink);}

@media(max-width:1024px){
  .bm-cart-page{padding-top:36px;}
  .bm-cart-layout{display:flex;flex-direction:column;gap:22px;}
  .bm-cart-main,.bm-cart-sidebar{display:contents;}
  .bm-cart-form{order:1;width:100%;}
  .bm-cart-page .bm-cart-coupons{width:100%;align-self:stretch;box-sizing:border-box;}
  .bm-order-summary{order:3;width:100%;}
  .bm-cart-shipping{order:4;width:100%;margin-top:0;}
  .bm-cart-list__head{display:none;}
  .bm-cart-list{padding:20px;}
  .bm-cart-row{grid-template-columns:minmax(0,1fr) 36px;grid-template-areas:"product remove" "price price" "quantity quantity" "subtotal subtotal";gap:12px 14px;padding:20px 0;}
  .bm-cart-product{grid-area:product;grid-template-columns:86px minmax(0,1fr);gap:14px;}
  .bm-cart-product__thumb{width:86px;height:86px;}
  .bm-cart-remove{grid-area:remove;padding-top:0;}
  .bm-cart-price{grid-area:price;padding-top:0;}
  .bm-cart-quantity{grid-area:quantity;padding-top:0;}
  .bm-cart-subtotal{grid-area:subtotal;padding-top:0;}
  .bm-cart-price,.bm-cart-quantity,.bm-cart-subtotal{display:flex;align-items:center;justify-content:space-between;gap:16px;}
  .bm-cart-price::before,.bm-cart-quantity::before,.bm-cart-subtotal::before{content:attr(data-title);color:var(--bm-muted);}
}

@media(max-width:640px){
  .bm-cart-page{padding-block:28px 56px;}
  .bm-cart-heading{margin-bottom:22px;}
  .bm-cart-row{padding:18px 0;}
  .bm-cart-product{grid-template-columns:76px minmax(0,1fr);}
  .bm-cart-product__thumb{width:76px;height:76px;}

  .bm-cart-panel{padding:18px;border-radius:var(--radius-sm);}
  .bm-shipping-grid{grid-template-columns:1fr;gap:14px;}
}

@media(max-width:380px){
  .bm-cart-price,.bm-cart-quantity,.bm-cart-subtotal{align-items:flex-start;flex-direction:column;gap:8px;}
}

/* ===== Blog landing (page-blog.php) ===== */
.bm-blog{max-width:var(--bm-content);margin:0 auto;padding:40px var(--bm-page-gutter) 64px;}
.bm-blog-intro{text-align:center;margin:0 0 40px;}
.bm-blog-intro__title{color:var(--bm-brown);margin:0;}

.bm-blog-search-bar{margin-bottom:40px;}

.bm-blog-layout{display:block;}

.bm-blog-sidebar__search .search-form{display:flex;flex-direction:column;gap:0;position:relative;}
.bm-blog-sidebar__search .search-form label{width:100%;}
.bm-blog-sidebar__search .search-field{width:100%;min-height:52px;border-radius:var(--radius-pill);border:1.5px solid var(--bm-ink-200);padding:12px 64px 12px 20px;background:var(--bm-ink-50);}
.bm-blog-sidebar__search .search-form__icon{display:none;}
.bm-blog-sidebar__search .search-submit{position:absolute;right:5px;top:50%;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border-radius:var(--radius-pill);background:var(--bm-gold);border:none;cursor:pointer;}
.bm-blog-sidebar__search .search-submit__icon{display:block;width:22px;height:22px;color:var(--bm-brown);}
.bm-blog-sidebar__search .search-submit:hover{background-color:var(--bm-gold-hover);}

.bm-article-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:32px;}
.bm-article-card{display:flex;min-height:505px;border:2px solid var(--bm-line);border-radius:var(--radius-lg);overflow:hidden;background:var(--bm-bg);transition:box-shadow .2s ease,transform .2s ease;}
.bm-article-card:hover{box-shadow:none;transform:translateY(-2px);}
.bm-article-card--featured{grid-column:auto;}
.bm-article-card__link{display:flex;flex:1;flex-direction:column;color:inherit;}
.bm-article-card__media{position:relative;aspect-ratio:4 / 3;background:var(--bm-yellow-300);overflow:hidden;}
.bm-article-card__media.is-image-missing{display:flex;align-items:center;justify-content:center;background:var(--bm-yellow-200);}
.bm-article-card__media.is-image-missing::after{content:"";display:block;width:44%;height:44%;border:2px solid var(--bm-yellow-500);border-radius:50%;opacity:.7;}

.bm-article-card__img{display:block;width:100%;height:100%;object-fit:contain;}


.bm-article-card__body{flex:1;padding:20px;}
.bm-article-card__meta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px;color:var(--bm-muted);}
.bm-article-card__date{white-space:nowrap;}
.bm-article-card__title{color:var(--bm-ink);margin:0 0 8px;}
.bm-article-card__excerpt{display:none;}

/* Tablet: 2 columns */
@media (max-width:1024px){
  .bm-article-grid{grid-template-columns:repeat(2,1fr);}
}

/* Mobile: 1 column */
@media (max-width:768px){
  .bm-blog-search-bar{margin-bottom:24px;}
  .bm-article-grid{grid-template-columns:1fr;}
  .bm-article-card{min-height:0;}
}

@media (max-width:640px){
  .bm-article-grid{grid-template-columns:1fr;gap:24px;}
}

.bm-blog-load-more-wrap{display:grid;justify-items:center;gap:12px;margin-top:40px;}
.bm-blog-load-more{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:10px 20px;border:1.5px solid var(--bm-brown);border-radius:var(--radius-pill);background:var(--bm-gold);color:var(--bm-ink);cursor:pointer;transition:transform .2s ease,background-color .2s ease,border-color .2s ease,opacity .2s ease;}
.bm-blog-load-more:hover,.bm-blog-load-more:focus-visible{background:var(--bm-gold-hover);border-color:var(--bm-brown);color:var(--bm-brown);transform:translateY(-1px);}
.bm-blog-load-more:disabled{cursor:progress;opacity:.72;transform:none;}
.bm-blog-load-more__status{min-height:1.25em;margin:0;color:var(--bm-muted);text-align:center;}

/* ===== Editorial article hub ===== */
.bm-blog{max-width:var(--bm-content);padding:48px var(--bm-page-gutter) 88px;}
.bm-blog-header{max-width:var(--bm-page-title-max);margin:0 auto 64px;text-align:center;}
.bm-blog-kicker{margin:0 0 12px;color:var(--bm-brown);}
.bm-blog-intro__title{margin:0 0 16px;color:var(--bm-ink);}
.bm-blog-header__intro{max-width:var(--bm-page-subtitle-max);margin:0 auto;color:var(--bm-muted);}
.bm-blog-featured{width:100%;margin:0 0 88px;transform:none;}
.bm-blog-section-heading,.bm-blog-library__topline{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:24px;}
.bm-blog-section-heading h2,.bm-blog-library__topline h2{margin:0;color:var(--bm-ink);}
.bm-blog-section-heading__count{color:var(--bm-muted);}
.bm-blog-featured__track{display:flex;gap:24px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-snap-stop:always;scrollbar-width:none;scroll-behavior:smooth;scrollbar-gutter:stable both-edges;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;cursor:grab;}
.bm-blog-featured__track.is-dragging{cursor:grabbing;scroll-snap-type:none;scroll-behavior:auto;user-select:none;}
.bm-blog-featured__track a,.bm-blog-featured__track img{-webkit-user-drag:none;}
.bm-blog-featured__track::-webkit-scrollbar{display:none;}
.bm-blog-featured__pagination{display:flex;align-items:center;justify-content:center;width:100%;min-height:24px;box-sizing:border-box;gap:10px;margin-top:20px;padding:0;}
.bm-blog-featured__dot{display:inline-flex;flex:0 0 9px;align-items:center;justify-content:center;width:9px;min-width:9px;height:9px;min-height:9px;aspect-ratio:1;padding:0;margin:0;border:0;border-radius:50%;appearance:none;-webkit-appearance:none;background:var(--bm-ink-200);cursor:pointer;transform-origin:center;transition:transform .2s ease,background-color .2s ease;}
.bm-blog-featured__dot:hover,.bm-blog-featured__dot:focus-visible{background:var(--bm-brown);transform:scale(1.25);}
.bm-blog-featured__dot.is-active{background:var(--bm-brown);transform:scale(1.25);}
.bm-blog-featured__dot:focus-visible{outline:2px solid var(--bm-brown);outline-offset:4px;}
.bm-featured-card{flex:0 0 100%;min-width:100%;scroll-snap-align:start;scroll-snap-stop:always;overflow:hidden;border-radius:28px;background:var(--bm-yellow-200);}
.bm-featured-card__link{display:grid;grid-template-columns:minmax(0,.82fr) minmax(340px,1.18fr);height:auto;min-height:0;color:inherit;text-decoration:none;}
.bm-featured-card__media{align-self:start;aspect-ratio:1 / 1;min-height:0;background:var(--bm-yellow-300);overflow:hidden;}
.bm-featured-card__img{display:block;width:100%;height:100%;object-fit:contain;}
.bm-featured-card__body{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:clamp(24px,3vw,40px);}
.bm-featured-card__topic{margin-bottom:12px;color:var(--bm-brown);}
.bm-featured-card__body h3{margin:0 0 20px;color:var(--bm-ink);}
.bm-featured-card__read,.bm-article-card__read{color:var(--bm-brown);}
.bm-blog-library{padding-top:8px;}
.bm-blog-library__topline{align-items:center;justify-content:center;text-align:center;}
.bm-blog-tools{margin-bottom:32px;padding-bottom:16px;border-bottom:1px solid var(--bm-ink-200);}
.bm-blog-search-bar{width:100%;margin:0;}
.bm-blog-sidebar__search{width:100%;}
.bm-blog-sidebar__search .search-form{width:100%;}
.bm-blog-tools .bm-blog-sidebar__search .search-field{min-height:44px;background:var(--bm-bg);}
.bm-blog-tools .bm-blog-sidebar__search .search-submit{width:38px;height:38px;font-size:0;line-height:0;}
.bm-article-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;}
.bm-article-card{min-height:0;border:1px solid var(--bm-ink-200);border-radius:18px;box-shadow:none;}
.bm-article-card:hover{border-color:var(--bm-brown);box-shadow:none;transform:translateY(-3px);}
.bm-article-card__media{aspect-ratio:1 / 1;background:var(--bm-yellow-200);}
.bm-article-card__body{padding:20px 22px 24px;}
.bm-article-card__meta{margin-bottom:14px;color:var(--bm-muted);}
.bm-article-card__title{margin:0 0 12px;color:var(--bm-ink);}
.bm-article-card__excerpt{display:block;margin:0 0 18px;color:var(--bm-muted);}
@media(max-width:767px){
  .bm-blog{padding:32px var(--bm-page-gutter) 64px;}
  .bm-blog-featured{width:100%;}
  .bm-blog-header{margin-bottom:48px;}
  .bm-blog-section-heading,.bm-blog-library__topline,.bm-blog-tools{display:block;}
  .bm-blog-section-heading__count{display:block;margin-top:10px;}
  .bm-featured-card{flex-basis:100%;min-width:100%;border-radius:22px;}
  .bm-featured-card__link{grid-template-columns:1fr;aspect-ratio:auto;min-height:0;}
  .bm-featured-card__media{aspect-ratio:1 / 1;min-height:0;}
  .bm-featured-card__body{padding:24px;}
  .bm-blog-tools{margin-top:18px;}
  .bm-article-grid{grid-template-columns:1fr;gap:20px;}
  .bm-blog-featured__pagination{gap:12px;}
}
@media(prefers-reduced-motion:reduce){.bm-featured-card,.bm-article-card{transition:none;}.bm-blog-featured__track{scroll-behavior:auto;}}

/* ===== Confirm Payment - Verification Card Layout ===== */

/* Page background with soft Baby Moby aesthetic */
/* Page content */
.page-content{background:var(--bm-bg);padding:var(--bm-space-11) var(--bm-page-gutter)!important;min-height:80vh;}

/* Page title styled as card header */
.bm-confirm-payment-page .entry-title{color:var(--bm-ink);text-align:center;margin:0 auto 40px;position:relative;padding-top:56px;}

/* Confirm payment page only */
.bm-confirm-payment-page .entry-title::before{content:"✓";position:absolute;top:-24px;left:50%;transform:translateX(-50%);width:48px;height:48px;background:var(--bm-gold);border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--bm-ink);box-shadow:none;}

/* Semantic page intro */
.bm-confirm-payment-page .entry-title{margin-bottom:var(--bm-space-4);}
.bm-confirm-payment-intro{max-width:760px;margin:0 auto var(--bm-space-8);text-align:center;}
.bm-confirm-payment-intro h2{margin:0 0 var(--bm-space-4);color:var(--bm-ink-900);font-family:var(--bm-font-heading);font-size:var(--bm-text-4xl);font-weight:700;line-height:1.05;letter-spacing:-.02em;}
.bm-confirm-payment-intro p{max-width:52ch;margin:0 auto;color:var(--bm-ink-500);font-family:var(--bm-font-body);font-size:var(--bm-text-lg);font-weight:500;line-height:1.6;}

/* Verification card container */
.bm-confirm-payment-page .entry-content{max-width:1000px;margin:0 auto;}
.bm-confirm-payment-page .wcp-form{font-family:var(--bm-font-body);font-size:var(--bm-text-base);font-weight:500;line-height:var(--bm-leading-body);color:var(--bm-ink-700);}

.wcp-form{background:var(--bm-bg);border-radius:var(--radius-lg);box-shadow:var(--bm-shadow-card);padding:var(--bm-space-8);}

/* Form layout - 2x2 grid */
.wcp-form-inner{display:grid;grid-template-columns:1fr 1fr;gap:var(--bm-space-5);}

/* col-2 fields span 1 column (50% each) */
.wcp-form-group.wcp-col-2{grid-column:span 1;}

/* Full-width groups span all columns */
.wcp-form-group:not(.wcp-col-2){grid-column:1 / -1;}

/* Form group - ensure children stretch */
.wcp-form-group{display:flex;flex-direction:column;}

/* Form labels */
.bm-confirm-payment-page .wcp-form-label{display:block;color:var(--bm-ink);font-family:var(--bm-font-body);font-size:var(--bm-text-base);font-weight:700;line-height:var(--bm-leading-caption);margin-bottom:var(--bm-space-2);}

.wcp-form-label .required{color:var(--bm-coral-500);}

/* Input wrapper - ensure full width */
.wcp-form-input{width:100%;flex-grow:1;}

/* Input fields styling - stretch to fill */
.bm-confirm-payment-page .wcp-form-control,.bm-confirm-payment-page .wcp-form-input input[type="text"],.bm-confirm-payment-page .wcp-form-input input[type="tel"],.bm-confirm-payment-page .wcp-form-input input[type="number"],.bm-confirm-payment-page .wcp-form-input input[type="date"],.bm-confirm-payment-page .wcp-form-input input[type="time"],.bm-confirm-payment-page .wcp-form-input select,.bm-confirm-payment-page .wcp-form-group > input[type="text"],.bm-confirm-payment-page .wcp-form-group > input[type="tel"],.bm-confirm-payment-page .wcp-form-group > input[type="number"],.bm-confirm-payment-page .wcp-form-group > input[type="date"],.bm-confirm-payment-page .wcp-form-group > input[type="time"],.bm-confirm-payment-page .wcp-form-group > select{display:block;width:100%;min-height:var(--bm-control-sm);padding:11px 14px;border:1.5px solid var(--bm-ink-200);border-radius:var(--radius-sm);color:var(--bm-ink);background:var(--bm-bg);font-family:var(--bm-font-body);font-size:var(--bm-text-base);font-weight:500;line-height:1.5;transition:border-color var(--bm-motion-fast) ease,box-shadow var(--bm-motion-fast) ease;box-sizing:border-box;}

.wcp-form-input select,.wcp-form-group > select{
  min-width:0;
  max-width:100%;
  padding-right:14px;
  appearance:auto;
  -webkit-appearance:menulist;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.wcp-form-control:focus,.wcp-form-input input:focus,.wcp-form-input select:focus{outline:2px solid var(--bm-brown);outline-offset:1px;border-color:var(--bm-gold);box-shadow:none;}

.wcp-form-control::placeholder,.wcp-form-input input::placeholder{color:var(--bm-placeholder);}

/* Bank transfer field as selectable rows */
.wcp-form-input-radio{border:1px solid var(--bm-ink-200);border-radius:var(--radius-sm);overflow:hidden;}

.wcp-account-detail-item{display:block;padding:14px 16px;background:var(--bm-field-bg);cursor:pointer;transition:background var(--bm-motion-fast) ease;border-bottom:1px solid var(--bm-field-border);}

.wcp-account-detail-item:last-child{border-bottom:0;}

.wcp-account-detail-item:hover{background:var(--bm-ink-50);}

.wcp-account-detail-item ul{list-style:none;margin:0;padding:0;}

.bm-confirm-payment-page .wcp-form-input-radio,
.bm-confirm-payment-page .wcp-account-detail-item,
.bm-confirm-payment-page .wcp-account-bank,
.bm-confirm-payment-page .wcp-account-bank *:not(input){font-family:var(--bm-font-body);font-size:20px!important;font-weight:500;line-height:1.5;}

.bm-confirm-payment-page .wcp-account-bank{margin:0;color:var(--bm-ink);display:flex;align-items:flex-start;gap:12px;width:100%;}

.wcp-account-bank input[type="radio"]{flex-shrink:0;cursor:pointer;accent-color:var(--bm-gold);width:18px;height:18px;margin-top:2px;}

.wcp-account-bank input[type="radio"]:checked{accent-color:var(--bm-gold);}

/* The payment plugin uses its own bank-card classes for the rendered radio. */
.bm-confirm-payment-page .wcp-bank-options{display:block;height:auto;min-height:0;}
.bm-confirm-payment-page .wcp-bank-card{display:flex;align-items:flex-start;gap:14px;min-height:104px!important;height:auto!important;padding:18px 16px!important;box-sizing:border-box;white-space:normal;overflow:visible;}
.bm-confirm-payment-page .wcp-bank-check{flex:0 0 24px;width:24px;height:24px;margin-top:2px;}
.bm-confirm-payment-page .wcp-bank-info{display:flex;flex:1 1 auto;min-width:0;flex-direction:column;gap:4px;align-items:flex-start;white-space:normal;overflow:visible;}
.bm-confirm-payment-page .wcp-bank-name,
.bm-confirm-payment-page .wcp-bank-number{display:block;width:100%;max-width:none;font-family:var(--bm-font-body)!important;font-size:20px!important;font-weight:500!important;line-height:1.4!important;white-space:normal;overflow-wrap:anywhere;overflow:visible;}

/* Transfer slip upload - dashed area */
.wcp-form-group:has(input[type="file"]) .wcp-form-input{border:var(--bm-border) dashed var(--bm-ink-200);border-radius:var(--radius-sm);padding:32px 20px;text-align:center;background:var(--bm-field-bg);cursor:pointer;transition:border-color var(--bm-motion-fast) ease,background var(--bm-motion-fast) ease;}

.wcp-form-group:has(input[type="file"]) .wcp-form-input:hover{border-color:var(--bm-gold);background:var(--bm-surface-accent-gold);}

.wcp-form-group:has(input[type="file"]) .wcp-form-input::before{content:"📤";display:block;margin-bottom:12px;}

.wcp-form-group:has(input[type="file"]) .wcp-form-input::after{content:"Upload your transfer slip\AJPG, PNG or PDF";display:block;color:var(--bm-ink);white-space:pre-line;}

.wcp-form-group:has(input[type="file"]) input[type="file"]{display:none;}

/* Last form group - with security note and submit button */
.wcp-form-group:last-child{grid-column:1 / -1;padding-top:12px;}

.bm-confirm-payment-page .wcp-form-group:last-child::before{content:none;display:none;}

/* Submit button */
.bm-confirm-payment-page .wcp-button-confirm{display:flex!important;align-items:center;justify-content:center;width:100%;max-width:100%;min-height:48px!important;height:auto!important;padding:10px 16px!important;background:var(--bm-gold)!important;color:var(--bm-ink)!important;border:2px solid var(--bm-brown)!important;border-radius:var(--radius-sm)!important;font-family:var(--bm-font-body)!important;font-size:var(--bm-text-base)!important;font-weight:700!important;line-height:1.2!important;cursor:pointer!important;transition:background 150ms ease,transform 150ms ease!important;}

.wcp-button-confirm:hover{background:var(--bm-gold-hover)!important;transform:translateY(-2px)!important;}

.wcp-button-confirm:active{transform:translateY(0)!important;}

/* Responsive - mobile */
@media (max-width:768px){
  .page-content{padding:40px var(--bm-page-gutter)!important;}
  .wcp-form{padding:32px 20px;}
  .bm-confirm-payment-page .entry-title{padding-top:48px;margin-bottom:32px;}
  .bm-confirm-payment-page .entry-title::before{width:40px;height:40px;top:-20px;}
	.bm-confirm-payment-intro{margin-bottom:var(--bm-space-7);}
	.bm-confirm-payment-intro h2{font-size:var(--bm-text-4xl);}

  .wcp-form-inner{grid-template-columns:1fr;gap:16px;}
  .wcp-form-group.wcp-col-2,.wcp-form-group:not(.wcp-col-2){grid-column:1;}
}

/* ---------- Global surface standardization ---------- */
/* Cart-style surfaces use a thin neutral border instead of elevation. */
:where(.wtb-retailer-card,.wtb-online-card,.contact-panel,
.contact-faq,.contact-faq__item,.contact-faq__support,.contact-form,
.bm-article-card,.wcp-form,.empty-state,.bm-cart-list,.bm-cart-panel,.bm-cart-empty,
.woocommerce ul.products li.product:not(.babymoby-product-loop-item),.woocommerce-page ul.products li.product:not(.babymoby-product-loop-item)){
  border:var(--bm-surface-border);
  border-radius:var(--bm-surface-radius);
}

/* No decorative or elevation shadows anywhere in the theme. */
:where(*){box-shadow:none!important;}

/* Keep keyboard focus visible without using a shadow ring. */
.bm-quantity-stepper input.qty:focus,
.wcp-form-control:focus,
.wcp-form-input input:focus,
.wcp-form-input select:focus{
  outline:2px solid var(--bm-brown);
  outline-offset:1px;
}

/* ---------- Global button standardization ---------- */
/* Core actions share the cart-derived 52px height and 16px/700 typography. */
body :is(.btn-brand,.btn-secondary,
.woocommerce ul.products li.product .button,.woocommerce a.button,
.woocommerce button.button,.woocommerce #respond input#submit,.woocommerce input.button,
.mobile-nav-panel__cta,.bm-cart-actions .button,
.bm-order-summary .checkout-button,.bm-cart-empty .button,.bm-shipping-submit,.wcp-button-confirm,
.bm-cart-page .bm-cart-coupons button[name="apply_coupon"],
.wtb-partners__toggle,
.single-product .babymoby-pdp-hero .summary .single_add_to_cart_button,
.single-product #review_form #submit){
  min-height:var(--bm-button-height)!important;
  height:var(--bm-button-height)!important;
  box-sizing:border-box;
  border-radius:var(--bm-button-radius)!important;
  font-family:"DB AdmanRounded X",Arial,sans-serif;
  font-size:var(--bm-text-base);
  font-weight:700;




}

/* Visible labeled/action controls share the cart-derived height and typography. */
body :is(.search-submit,.contact-faq__category){
  min-height:var(--bm-button-height)!important;
  height:var(--bm-button-height)!important;
  box-sizing:border-box;
  border-radius:var(--bm-button-radius)!important;
  font-family:"DB AdmanRounded X",Arial,sans-serif;
  font-size:var(--bm-text-base);
  font-weight:700;




}

/* Yellow/brown-border CTAs use the same cart-page font treatment without
 * inheriting the cart controls' height, radius, or spacing. */
body :is(.bm-hero__cta,.bm-home-inline-cta,.wtb-section-heading__cta,
.bm-blog-load-more,.bm-new-button--yellow){
  font-family:"DB AdmanRounded X",Arial,sans-serif;
  font-size:var(--bm-text-base);
  font-weight:700;
}

.bm-quantity-stepper{
  min-height:var(--bm-button-height)!important;
}

.bm-quantity-stepper__button,
.bm-quantity-stepper input.qty{
  height:var(--bm-button-height)!important;
}

.bm-quantity-stepper__button{
  min-height:var(--bm-button-height)!important;
  border-radius:var(--bm-button-radius)!important;




}

body .woocommerce a.remove.bm-cart-remove__link{
  width:var(--bm-button-height)!important;
  height:var(--bm-button-height)!important;
  min-width:var(--bm-button-height)!important;
  max-width:var(--bm-button-height)!important;
  border-radius:var(--bm-button-radius)!important;



}

body .header-tools .wpml-ls-item-toggle{
  min-height:var(--bm-button-height)!important;
  height:var(--bm-button-height)!important;
  border-radius:var(--bm-button-radius)!important;




}

/* Mobile menu search follows the blog's single-pill search treatment. */
body .mobile-nav-panel__search .search-form{
  display:flex!important;
  flex-direction:column!important;
  gap:0!important;
  position:relative!important;
}

body .mobile-nav-panel__search .search-form label{
  width:100%!important;
}

body .mobile-nav-panel__search .search-field{
  width:100%!important;
  min-height:52px!important;
  height:52px!important;
  border-radius:var(--radius-pill)!important;
  border:1.5px solid var(--bm-ink-200)!important;
  padding:12px 64px 12px 20px!important;
  background:var(--bm-ink-50)!important;
}

body .mobile-nav-panel__search .search-submit{
  position:absolute!important;
  right:5px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:44px!important;
  min-width:44px!important;
  height:44px!important;
  min-height:44px!important;
  padding:0!important;
  border:0!important;
  border-radius:var(--radius-pill)!important;
  background:var(--bm-gold)!important;
  color:var(--bm-brown)!important;
}

body .mobile-nav-panel__search .search-submit__icon{
  display:block!important;
  width:22px!important;
  height:22px!important;
  color:var(--bm-brown)!important;
}

@media(max-width:1200px) and (max-height:700px){
  body .mobile-nav-panel__search .search-field{
    min-height:48px!important;
    height:48px!important;
  }

  body .mobile-nav-panel__search .search-submit{
    width:38px!important;
    min-width:38px!important;
    height:38px!important;
    min-height:38px!important;
  }
}

/* ---------- Intentional border exceptions ---------- */
/* Utility controls keep their original border treatments while retaining the shared height. */
body .header-tools .wpml-ls .wpml-ls-item-toggle{
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
}

body .bm-blog-sidebar__search .search-submit{
	position:absolute!important;
	right:5px!important;
	top:50%!important;
	transform:translateY(-50%)!important;
	display:flex!important;
	align-items:center!important;
	justify-content:center!important;
	width:44px!important;
	height:44px!important;
	min-width:44px!important;
	min-height:44px!important;
	border:0!important;
	border-radius:var(--radius-pill)!important;
	background:var(--bm-gold) no-repeat center / 22px 22px!important;

	padding:0!important;
}

/* Requested brown button borders. */
body .bm-blog-sidebar__search .search-submit,
body .contact-form__submit,
body .contact-faq__support [data-contact-support],
body .wcp-button-confirm{
	border:2px solid var(--bm-brown)!important;
}

/* Confirm payment controls follow the homepage CTA treatment. */
body .bm-confirm-payment-page .wcp-button-confirm{
	min-height:48px!important;
	height:auto!important;
	padding:10px 16px!important;
	border:2px solid var(--bm-brown)!important;
	border-radius:var(--radius-sm)!important;
	background:var(--bm-gold)!important;
	color:var(--bm-ink)!important;
}

body .bm-cart-page .bm-quantity-stepper{
	display:grid!important;
	grid-template-columns:36px minmax(0,1fr) 36px!important;
	width:116px!important;
	min-width:116px!important;
	min-height:44px!important;
	height:44px!important;
	box-sizing:border-box;
	border:1.5px solid var(--bm-ink-200)!important;
	border-radius:var(--radius-pill)!important;
	overflow:hidden!important;
}
body .bm-cart-page .bm-quantity-stepper > .bm-quantity-stepper__button:first-child{
	grid-column:1;
	justify-self:stretch;
}
body .bm-cart-page .bm-quantity-stepper > .quantity{
	grid-column:2;
	justify-self:stretch;
}
body .bm-cart-page .bm-quantity-stepper > .bm-quantity-stepper__button:last-child{
	grid-column:3;
	justify-self:stretch;
}
body .bm-cart-page .bm-quantity-stepper__button,
body .bm-cart-page .bm-quantity-stepper input.qty{
	height:42px!important;
	min-height:42px!important;
}

body .bm-cart-page .bm-quantity-stepper .quantity{
	display:flex!important;
	align-items:center;
	width:100%!important;
	min-width:0!important;
	height:42px!important;
	margin:0!important;
}

body .bm-cart-page .bm-quantity-stepper input.qty{
	display:block!important;
	box-sizing:border-box;
	width:100%!important;
	min-width:0!important;
	padding:0!important;
	border-top:0!important;
	border-bottom:0!important;
	border-left:1px solid var(--bm-line)!important;
	border-right:1px solid var(--bm-line)!important;
	border-radius:0!important;
	line-height:42px!important;
}

/* Cart quantity and remove controls retain the cart page's original borderless treatment. */
body .bm-cart-page .bm-quantity-stepper__button{
	display:inline-flex!important;
	align-items:center;
	justify-content:center;
	width:100%!important;
	min-width:0!important;
	height:42px!important;
	min-height:42px!important;
	box-sizing:border-box;
	padding:0!important;
	border:0!important;
	border-radius:0!important;
	background:transparent!important;
}

body .bm-cart-page .bm-quantity-stepper__button:focus-visible,
body .bm-cart-page .bm-quantity-stepper input.qty:focus-visible{
	position:relative;
	z-index:1;
	outline:2px solid var(--bm-brown)!important;
	outline-offset:-2px;
}

body .bm-cart-page .bm-cart-remove__link,
body .bm-cart-page a.remove.bm-cart-remove__link{
  border:0!important;
  border-radius:var(--radius-pill)!important;
  background:transparent!important;


}

/* Single product page only. Keep catalogue/product archive styles independent. */
/*
 * The WooCommerce content wrapper inherits the theme's 1200px `.container`.
 * Pull this route out to the viewport edges, then apply intentional inner
 * gutters to the product content itself.
 */
.single-product{min-width:0;}
.single-product .woocommerce-wrap{
  width:100%;
  max-width:var(--bm-layout-max);
  margin-left:auto;
  margin-right:auto;
  padding:0;
}
.single-product .site-breadcrumbs{width:100%;max-width:var(--bm-layout-max);box-sizing:border-box;margin:0 auto;padding:24px clamp(24px,4vw,64px) 0;color:var(--bm-ink-500);}
.single-product div.product{width:100%;max-width:var(--bm-layout-max);box-sizing:border-box;margin:0 auto;padding:0 clamp(24px,4vw,64px);}
.single-product .babymoby-pdp-hero{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);gap:clamp(40px,7vw,96px);align-items:start;margin:32px 0 96px;}
.single-product .babymoby-pdp-hero>.woocommerce-product-gallery{grid-column:1;grid-row:1;float:none!important;width:100%!important;margin:0!important;}
.single-product .babymoby-pdp-hero>.summary{grid-column:2;grid-row:1;float:none!important;width:100%!important;margin:0!important;padding-top:8px;}
.single-product .babymoby-pdp-hero>.woocommerce-product-gallery,.single-product .babymoby-pdp-hero>.summary{min-width:0;}
.single-product .babymoby-pdp-hero .woocommerce-product-gallery__wrapper{margin:0;}
.single-product .babymoby-pdp-hero .woocommerce-product-gallery__image{display:flex;box-sizing:border-box;aspect-ratio:1 / 1;align-items:center;justify-content:center;min-height:0;padding:0;border:1px solid var(--bm-ink-200);border-radius:var(--radius-sm);background:var(--bm-ink-50);overflow:hidden;}
.single-product .babymoby-pdp-hero .woocommerce-product-gallery__image img{display:block;box-sizing:border-box;width:100%;height:100%;min-width:100%;min-height:100%;max-height:none;padding:0;object-fit:cover;}
.single-product .babymoby-pdp-hero .woocommerce-product-gallery{position:relative;z-index:1;}
.single-product .babymoby-pdp-hero .woocommerce-product-gallery__trigger{z-index:1;}
.single-product .babymoby-pdp-hero .woocommerce-product-gallery__image.is-image-missing{flex-direction:column;}
.single-product .babymoby-pdp-hero .bm-product-image-missing{color:var(--bm-muted);}
.single-product .babymoby-pdp-hero .flex-control-thumbs{display:flex;flex-wrap:nowrap;gap:12px;overflow-x:auto!important;overflow-y:hidden;margin:16px 0 0;padding:6px!important;box-sizing:border-box;list-style:none;scroll-behavior:smooth;scrollbar-width:thin;}
.single-product .babymoby-pdp-hero .flex-control-thumbs li{flex:0 0 calc((100% - 48px) / 5);width:calc((100% - 48px) / 5)!important;height:auto!important;min-width:calc((100% - 48px) / 5);min-height:0;float:none!important;margin:0!important;overflow:hidden;}
.single-product .babymoby-pdp-hero .flex-control-thumbs img{display:block!important;width:100%!important;height:auto!important;aspect-ratio:1 / 1;padding:6px;border:1.5px solid var(--bm-ink-200);border-radius:var(--radius-sm);object-fit:contain;background:var(--bm-bg);}
.single-product .babymoby-pdp-hero .flex-control-thumbs .flex-active{border:2px solid var(--bm-brown);}
.single-product .babymoby-pdp-hero .flex-direction-nav{position:absolute;top:0;left:0;z-index:2;display:flex;align-items:center;justify-content:space-between;width:100%;height:calc(100% - 72px);margin:0;padding:0 16px;list-style:none;pointer-events:none;}
.single-product .babymoby-pdp-hero .flex-direction-nav li{margin:0;pointer-events:auto;}
.single-product .babymoby-pdp-hero .flex-direction-nav a{position:relative;display:flex;align-items:center;justify-content:center;width:48px;height:48px;border:1.5px solid var(--bm-ink-200);border-radius:999px;background:var(--bm-bg);color:var(--bm-ink);text-decoration:none;box-shadow:0 4px 14px rgba(31,30,28,.12);opacity:.96;}
.single-product .babymoby-pdp-hero .flex-direction-nav a:hover,.single-product .babymoby-pdp-hero .flex-direction-nav a:focus-visible{background:var(--bm-yellow-300);color:var(--bm-brown);}
.single-product .babymoby-pdp-hero .flex-direction-nav a::before{position:absolute;top:50%;left:50%;display:block;transform:translate(-50%,-50%);}
.single-product .babymoby-pdp-hero .flex-direction-nav .flex-prev::before{content:"‹";}
.single-product .babymoby-pdp-hero .flex-direction-nav .flex-next::before{content:"›";}
.single-product .babymoby-pdp-hero .summary .product_title{margin:0 0 12px;color:var(--bm-ink);text-align:left;}
.single-product .babymoby-pdp-hero .summary .woocommerce-product-details__short-description{margin:0 0 18px;color:var(--bm-ink-700);}
.single-product .bm-summary-additional-information{margin:24px 0 0;padding:20px 0 0;border-top:0;}
.single-product .bm-summary-additional-information h2{margin:0 0 14px;}
.single-product .bm-summary-additional-information table{width:100%;margin:0;border-collapse:collapse;}
.single-product .bm-summary-additional-information th,.single-product .bm-summary-additional-information td{padding:9px 0;border-bottom:0;text-align:left;vertical-align:top;}
.single-product .bm-summary-additional-information th{width:38%;color:var(--bm-muted);}
.single-product .babymoby-pdp-hero .summary .price{margin:0 0 18px;color:var(--bm-brown);}
/* WooCommerce uses this utility for screen-reader-only price context. Keep
 * the full clipping recipe here so theme/plugin CSS cannot expose it. */
.screen-reader-text,
.single-product .summary .screen-reader-text{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;border:0!important;white-space:nowrap!important;}
.single-product .babymoby-pdp-hero .summary .price del{margin-right:8px;color:var(--bm-muted);}
.single-product .babymoby-pdp-hero .summary .price ins{color:var(--bm-brown);text-decoration:none;}
.single-product .babymoby-pdp-hero .summary .product_meta{display:none;}
.single-product .babymoby-pdp-hero .summary .product_meta>span{display:inline-block;}

.single-product .babymoby-pdp-hero .summary .cart{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;margin:20px 0 0;padding:20px 0 0;border-top:0;}
.single-product .babymoby-pdp-hero .summary .cart>.price{grid-column:2;grid-row:1;align-self:center;margin:0!important;text-align:right;}
.single-product .babymoby-pdp-hero .summary .cart>.bm-quantity-stepper{grid-column:1;grid-row:1;align-self:center;margin:0!important;}
.single-product .babymoby-pdp-hero .summary .cart>.single_add_to_cart_button{grid-column:1/-1;grid-row:2;}
.single-product .babymoby-pdp-hero .summary .bm-quantity-stepper{grid-template-columns:34px minmax(42px,52px) 34px;width:max-content;min-height:28px;height:28px;margin:0 0 12px;border-radius:var(--radius-pill)!important;overflow:hidden;}
.single-product .babymoby-pdp-hero .summary .bm-quantity-stepper__button,
.single-product .babymoby-pdp-hero .summary .bm-quantity-stepper input.qty{height:26px;min-height:26px;}
.single-product .babymoby-pdp-hero .summary .bm-quantity-stepper .quantity{float:none;width:auto;margin:0;}
.single-product .babymoby-pdp-hero .summary .single_add_to_cart_button{display:flex;align-items:center;justify-content:center;width:100%;padding:0 24px;border:2px solid var(--bm-brown);background:var(--bm-yellow-500);color:var(--bm-ink);text-align:center;text-decoration:none;transition:background-color .18s ease,color .18s ease,border-color .18s ease;}
.single-product .babymoby-pdp-hero .summary .single_add_to_cart_button:hover,
.single-product .babymoby-pdp-hero .summary .single_add_to_cart_button:focus-visible{background:var(--bm-gold-hover)!important;border-color:var(--bm-brown)!important;color:var(--bm-brown)!important;box-shadow:none!important;text-decoration:none!important;transform:none!important;}
.single-product .babymoby-pdp-hero .summary .single_add_to_cart_button:active{transform:translateY(1px)!important;}
.single-product .bm-product-hero-fields{margin:24px 0 0;padding:20px 0 0;border-top:0;}
.single-product .bm-product-hero-fields__subtitle{margin:0 0 14px;color:var(--bm-ink-700);}
.single-product .bm-product-hero-fields__benefits{display:grid;gap:10px;}
.single-product .bm-product-hero-fields__benefits li{color:var(--bm-ink-700);}
.single-product .bm-product-hero-fields__shipping{margin-top:14px;padding:14px;border:1.5px solid var(--bm-ink-200);border-radius:var(--radius-sm);background:var(--bm-ink-50);}
.single-product .babymoby-pdp-sections{display:block;width:100%;}
.single-product .bm-product-acf-section{margin:0 0 72px;padding:56px 0;border-top:0;}
.single-product .bm-product-acf-section h2{margin:0 0 24px;}
.single-product .bm-product-acf-howto h2{text-align:center;}
.single-product .bm-product-acf-overview,.single-product .bm-product-acf-ingredients{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.8fr);gap:32px;}
.single-product .bm-product-acf-image{border-radius:var(--radius-sm);background:var(--bm-ink-50);}
.single-product .bm-product-acf-trust{padding:40px 32px;border-radius:var(--radius-sm);background:var(--bm-yellow-200);}
.single-product .bm-product-acf-trust-items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;}
.single-product .bm-product-acf-trust-items article{min-height:120px;padding:16px;border:1.5px solid var(--bm-ink-200);border-radius:var(--radius-sm);background:var(--bm-bg);}
.single-product .bm-product-acf-howto ol{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;}
.single-product .bm-product-acf-howto li{padding:20px;border:1.5px solid var(--bm-ink-200);border-radius:var(--radius-sm);background:var(--bm-bg);}
.single-product .bm-product-acf-howto li::before{width:32px;height:32px;background:var(--bm-yellow-500);}
.single-product .bm-product-acf-howto .wp-video{width:100%!important;max-width:none;margin:28px auto 0;}
.single-product .bm-product-acf-howto .wp-video-shortcode,
.single-product .bm-product-acf-howto video{width:100%!important;height:auto;}
.single-product .bm-product-acf-faq details{padding:18px 0;border-top:0;}
.single-product .bm-product-acf-faq details:last-child{border-bottom:0;}

.single-product .babymoby-pdp-sections>.babymoby-retailers{margin:0 0 72px;padding:40px 32px;border-radius:var(--radius-sm);background:var(--bm-yellow-200);}
.single-product .babymoby-retailers-list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;}
.single-product .babymoby-pdp-sections .babymoby-retailer-link{min-height:72px;border:1.5px solid var(--bm-ink-200);border-radius:var(--radius-sm);background:var(--bm-bg);color:var(--bm-ink);}
.single-product .bm-product-testimonials{display:grid;grid-template-columns:minmax(220px,.72fr) minmax(0,1.28fr);gap:clamp(28px,6vw,84px);align-items:center;width:100%;max-width:none;margin:0 0 72px;padding:56px clamp(24px,4vw,64px);box-sizing:border-box;border-top:0;background:var(--bm-yellow-200);}
.single-product .bm-product-testimonials__copy{max-width:none;}
.single-product .bm-product-testimonials__eyebrow{margin:0 0 10px;color:var(--bm-brown);}
.single-product .bm-product-testimonials__copy h2{margin:0 0 14px;color:var(--bm-ink);}
.single-product .bm-product-testimonials__copy>p:last-child{margin:0;color:var(--bm-muted);}
.single-product .bm-product-testimonials__viewport{overflow:hidden;}
.single-product .bm-product-testimonials__track{display:flex;transition:transform .3s ease;}
.single-product .bm-product-testimonial{box-sizing:border-box;flex:0 0 100%;min-height:220px;margin:0;padding:32px;border:1.5px solid var(--bm-ink-200);border-radius:var(--radius-sm);background:var(--bm-ink-50);}
.single-product .bm-product-testimonial blockquote{margin:0 0 28px;color:var(--bm-ink);}
.single-product .bm-product-testimonial cite{color:var(--bm-brown);}
.single-product .bm-product-testimonials__controls{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:14px;color:var(--bm-muted);}
.single-product .bm-product-testimonials__controls button{display:inline-flex;align-items:center;justify-content:center;min-width:36px;height:36px;padding:0 10px;border:1.5px solid var(--bm-ink-200);border-radius:var(--radius-pill);background:var(--bm-bg);color:var(--bm-ink);cursor:pointer;}
.single-product .bm-product-testimonials__controls button:hover,.single-product .bm-product-testimonials__controls button:focus-visible{border-color:var(--bm-brown);background:var(--bm-yellow-200);color:var(--bm-brown);}
.single-product .bm-product-testimonials__controls button:disabled{cursor:not-allowed;opacity:.4;}
.single-product .woocommerce-tabs{display:block;width:100%;margin:0 0 72px;padding:28px;border:var(--bm-border) solid var(--bm-line);border-radius:var(--radius-lg);background:var(--bm-bg);box-shadow:var(--bm-shadow-lg);}
.single-product .up-sells.products{margin:0 0 72px;padding:56px 0;border-top:0;}
.single-product .related.products{margin:0 0 72px;padding:0;border-top:0;}
.single-product .related.products>h2{
  font-weight:700;
  font-synthesis:none;
}
.single-product .woocommerce-tabs ul.tabs{gap:4px;margin:0 0 28px;}
.single-product .woocommerce-tabs ul.tabs li a{padding:10px 14px;border-radius:var(--radius-pill);}
.single-product .woocommerce-tabs ul.tabs li.active a{background:transparent;color:var(--bm-ink);border-radius:0;}
.single-product .woocommerce-tabs .woocommerce-Tabs-panel h2{margin:0 0 6px;}
.single-product #reviews ol.commentlist{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;}
.single-product #reviews ol.commentlist li.review{padding:20px;border:1.5px solid var(--bm-ink-200);border-radius:var(--radius-sm);background:var(--bm-bg);}
.single-product #review_form_wrapper input[type="text"],.single-product #review_form_wrapper input[type="email"],.single-product #review_form_wrapper textarea{width:100%;padding:12px 14px;border:1.5px solid var(--bm-ink-400);border-radius:var(--radius-sm);background:var(--bm-bg);}
.single-product #review_form_wrapper textarea{min-height:132px;}
.single-product #review_form #submit{padding:0 22px;border:2px solid var(--bm-brown);background:var(--bm-yellow-500);color:var(--bm-ink);}
.single-product .up-sells ul.products,.single-product .related ul.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;}
.single-product .up-sells ul.products li.product,.single-product .related ul.products li.product{min-width:0;}
.single-product .related ul.products::before,
.single-product .related ul.products::after{
  display:none;
  content:none;
}
.single-product .related ul.products li.product .babymoby-product-image-wrapper{
  aspect-ratio:1;
}
.single-product .related ul.products li.product .babymoby-product-image{
  width:100%;
  height:100%!important;
  box-sizing:border-box;
  padding:12px;
  object-fit:contain;
}

@media (min-width:768px) and (max-width:1199px){
  .single-product .babymoby-pdp-hero{grid-template-columns:minmax(0,1fr) minmax(0,.9fr);gap:32px;margin-bottom:64px;}
  .single-product .bm-product-acf-trust-items,.single-product .bm-product-acf-howto ol,.single-product .up-sells ul.products,.single-product .related ul.products{grid-template-columns:repeat(2,minmax(0,1fr));}
  .single-product .babymoby-retailers-list{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media (max-width:767px){
  .single-product div.product{padding:0 var(--bm-page-gutter);}
  .single-product .site-breadcrumbs{padding:16px var(--bm-page-gutter) 0;}
  .single-product .babymoby-pdp-hero{grid-template-columns:1fr;gap:28px;margin:24px 0 56px;}
  .single-product .babymoby-pdp-hero>.woocommerce-product-gallery{grid-column:1;grid-row:1;order:1;}
  .single-product .babymoby-pdp-hero>.summary{grid-column:1;grid-row:2;order:2;}
  .single-product .babymoby-pdp-hero .woocommerce-product-gallery__image{min-height:calc(100vw - 64px);}
  .single-product .babymoby-pdp-hero .woocommerce-product-gallery__image img{padding:0;}
  .single-product .babymoby-pdp-hero .summary{padding-top:0;}

  .single-product .babymoby-pdp-hero .summary .cart{grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;}
  .single-product .babymoby-pdp-hero .summary .cart>.price{grid-column:2;grid-row:1;align-self:center;margin:0!important;text-align:right;}
  .single-product .babymoby-pdp-hero .summary .cart>.bm-quantity-stepper{grid-column:1;grid-row:1;width:max-content;margin:0;}
  .single-product .babymoby-pdp-hero .summary .cart>.single_add_to_cart_button{grid-column:1/-1;grid-row:2;width:100%;justify-self:stretch;}
  .single-product .bm-product-acf-section{margin-bottom:40px;padding:40px 0;}
  .single-product .bm-product-testimonials{grid-template-columns:minmax(0,1fr);gap:24px;width:100%;margin:0 0 40px;padding:40px 20px;min-width:0;}
  .single-product .bm-product-testimonials__copy,.single-product .bm-product-testimonials__slider,.single-product .bm-product-testimonials__viewport,.single-product .bm-product-testimonials__track{width:100%;min-width:0;max-width:none;}
  .single-product .bm-product-testimonials__copy{max-width:none;}
  .single-product .bm-product-acf-overview,.single-product .bm-product-acf-ingredients{grid-template-columns:1fr;gap:20px;}
  .single-product .bm-product-acf-trust{padding:28px 20px;}
  .single-product .bm-product-acf-trust-items,.single-product .bm-product-acf-howto ol{display:flex;overflow-x:auto;gap:12px;padding-bottom:8px;}
  .single-product .bm-product-acf-trust-items article,.single-product .bm-product-acf-howto li{min-width:82%;}
  .single-product .babymoby-pdp-sections>.babymoby-retailers{margin-bottom:40px;padding:28px 20px;}
  .single-product .babymoby-retailers-list{grid-template-columns:repeat(2,minmax(0,1fr));}
  .single-product .woocommerce-tabs{margin-bottom:40px;padding:18px;}
  .single-product .up-sells.products{margin-bottom:40px;padding:40px 0;}
  .single-product .related.products{margin-bottom:40px;padding:0;}
  .single-product .woocommerce-tabs ul.tabs{overflow-x:auto;flex-wrap:nowrap;padding-bottom:4px;}
  .single-product .woocommerce-tabs ul.tabs li{flex:0 0 auto;}
  .single-product #reviews ol.commentlist{grid-template-columns:1fr;}
  .single-product .up-sells ul.products,.single-product .related ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
}
/* =========================================================
   Page-specific theme styles consolidated from assets/*.css
   ========================================================= */

/* --- products.css --- */
/* Catalogue-only stylesheet for the active page-products.php markup. */
.products-hero-frame{margin:16px var(--bm-page-gutter) 0;overflow:hidden;border-radius:16px;background:var(--bm-bg);}
.products-hero-image{display:block;width:100%;height:auto;max-height:none;object-fit:contain;border-radius:0;}
.products-page .products-container{width:100%;min-width:0;max-width:1040px;margin:0 auto;padding:0 var(--bm-page-gutter);box-sizing:border-box;}
.products-page .babymoby-filter-bar{display:flex;align-items:center;gap:16px;flex-wrap:nowrap;overflow-x:auto;margin:0 0 40px;padding:7px 24px;border:0;border-radius:var(--radius-pill);background:var(--bm-yellow-500);color:var(--bm-ink);white-space:nowrap;}
.products-page .babymoby-filter-group{display:flex;flex:1 1 auto;align-items:center;gap:12px;min-width:220px;}
.products-page .babymoby-filter-group--search{flex:1 1 0;min-width:0;}
.products-page .babymoby-filter-group--category{flex:0 0 260px;min-width:260px;}
.products-page .babymoby-filter-group--sort{flex:0 0 220px;min-width:220px;}
.products-page .babymoby-filter-label,
.products-page .babymoby-filter-input,
.products-page .babymoby-filter-select,
.products-page .babymoby-filter-select option{
  font-family:"DB AdmanRounded X",Arial,sans-serif;
  font-size:var(--bm-text-base);
  line-height:1.5;
}
.products-page .babymoby-filter-label{flex:0 0 auto;color:var(--bm-brown);font-size:var(--bm-text-price);font-weight:700;}
.products-page .babymoby-filter-input,.products-page .babymoby-filter-select,.products-page .babymoby-filter-bar textarea{width:100%;min-width:0;min-height:44px;padding:6px 14px;border:0;border-radius:var(--radius-pill);background:transparent;color:var(--bm-ink);box-shadow:none;}

.products-page .babymoby-filter-input::placeholder{color:var(--bm-ink-500);opacity:1;}
.products-page .babymoby-filter-bar input:focus,.products-page .babymoby-filter-bar select:focus,.products-page .babymoby-filter-bar textarea:focus{border:0;outline:2px solid var(--bm-yellow-600);outline-offset:2px;box-shadow:none;}
.products-page .babymoby-filter-bar input:focus-visible,.products-page .babymoby-filter-bar select:focus-visible,.products-page .babymoby-filter-bar textarea:focus-visible{outline:2px solid var(--bm-yellow-600)!important;outline-offset:2px;}
.products-page .babymoby-products-grid{margin:0 0 56px;}
.products-page .babymoby-category-section{margin:0 0 88px;}
.products-page .babymoby-product-category{margin:0 0 96px;}
.products-page .babymoby-category-banner{margin:0 0 24px;border-radius:var(--radius-lg);background:var(--bm-yellow-200);overflow:hidden;}
.products-page .babymoby-category-banner__image{display:block;width:100%;height:auto;}
.products-page .babymoby-category-heading{margin:0 0 32px;color:var(--bm-brown);}
.babymoby-products-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));column-gap:32px;row-gap:48px;}
@media (min-width:768px) and (max-width:1199px){
  .products-page .babymoby-filter-bar{flex-wrap:wrap;overflow:visible;border-radius:var(--radius-md);}
  .products-page .babymoby-filter-group--search{flex:1 1 100%;}
  .products-page .babymoby-products-list{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media (max-width:767px){
  .products-page .products-container{padding:0 var(--bm-page-gutter);}
  .products-page .babymoby-product-category{margin-bottom:72px;}
  .products-page .babymoby-category-section{margin-bottom:64px;}
  .products-page .babymoby-category-banner{margin-bottom:20px;}
  .products-page .babymoby-category-heading{margin-bottom:24px;}
  .products-page .babymoby-filter-bar{align-items:center;flex-direction:row;}



  .products-page .babymoby-products-list{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:20px;row-gap:36px;}
}

.products-hero-image{width:calc(100% - var(--bm-page-gutter) - var(--bm-page-gutter));margin:24px var(--bm-page-gutter) 32px;overflow:hidden;border-radius:var(--radius-lg);background:var(--bm-yellow-200);}
.products-hero-image img{display:block;width:100%;height:auto;max-height:none;object-fit:contain;}
.products-page .babymoby-products-toolbar{display:flex;align-items:center;justify-content:space-between;margin:0 0 18px;}
.products-page .babymoby-categories{margin:0 0 48px;}
.products-page .babymoby-categories-heading{margin:0 0 20px;color:var(--bm-ink);}
.products-page .babymoby-categories-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;}
.products-page .babymoby-category-card{display:flex;min-height:150px;flex-direction:column;justify-content:flex-end;overflow:hidden;padding:18px;border:1.5px solid var(--bm-ink-200);border-radius:var(--radius-md);background:var(--bm-yellow-200);color:var(--bm-ink);text-decoration:none;transition:transform .18s ease,border-color .18s ease,background-color .18s ease;}
.products-page .babymoby-category-card:nth-child(2){background:var(--bm-surface-accent-mint);}
.products-page .babymoby-category-card:nth-child(3){background:var(--bm-surface-accent-coral);}
.products-page .babymoby-category-card:nth-child(4){background:#dceeff;}
.products-page .babymoby-category-card:hover,.products-page .babymoby-category-card:focus-visible{border-color:var(--bm-brown);color:var(--bm-ink);text-decoration:none;transform:translateY(-3px);}
.products-page .babymoby-category-image-wrapper{display:flex;align-items:center;justify-content:center;min-height:82px;margin-bottom:14px;}
.products-page .babymoby-category-image{display:block;width:100%;height:82px;object-fit:contain;}
.products-page .babymoby-category-image-placeholder{width:72px;height:72px;border-radius:50%;background:rgba(255,255,255,.58);}
.products-page .babymoby-category-title{margin:0;color:inherit;}
.products-page .babymoby-products-count{margin:0;color:var(--bm-muted);}
.products-page .babymoby-filter-submit,.products-page .babymoby-filter-clear{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 16px;border:1.5px solid var(--bm-brown);border-radius:var(--radius-pill);text-decoration:none;white-space:nowrap;}
.products-page .babymoby-filter-submit{background:var(--bm-brown);color:var(--bm-bg);cursor:pointer;}
.products-page .babymoby-filter-submit:hover,.products-page .babymoby-filter-submit:focus-visible{background:var(--bm-ink);border-color:var(--bm-ink);color:var(--bm-bg);}
.products-page .babymoby-filter-clear{border-color:var(--bm-ink-200);background:transparent;color:var(--bm-ink);}
.products-page .babymoby-filter-clear:hover,.products-page .babymoby-filter-clear:focus-visible{border-color:var(--bm-brown);color:var(--bm-brown);}
.products-page .babymoby-products-pagination{display:flex;justify-content:center;margin:0 0 80px;}
.products-page .babymoby-products-pagination ul{display:flex;align-items:center;gap:8px;margin:0;padding:0;list-style:none;}
.products-page .babymoby-products-pagination a,.products-page .babymoby-products-pagination span{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:42px;padding:0 12px;border:1.5px solid var(--bm-ink-200);border-radius:var(--radius-pill);color:var(--bm-ink);text-decoration:none;}
.products-page .babymoby-products-pagination .current{border-color:var(--bm-brown);background:var(--bm-brown);color:var(--bm-bg);}
.products-page .babymoby-products-pagination a:hover,.products-page .babymoby-products-pagination a:focus-visible{border-color:var(--bm-brown);color:var(--bm-brown);}
@media (max-width:767px){
  .products-page .babymoby-categories{margin-bottom:32px;}
  .products-page .babymoby-categories-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
  .products-page .babymoby-category-card{min-height:128px;padding:14px;}
  .products-page .babymoby-category-image-wrapper{min-height:54px;margin-bottom:10px;}
  .products-page .babymoby-category-image{height:54px;}
  .products-page .babymoby-category-image-placeholder{width:48px;height:48px;}

  .products-page .babymoby-filter-bar{align-items:stretch;flex-direction:column;flex-wrap:nowrap;gap:14px;overflow:visible;white-space:normal;width:100%;box-sizing:border-box;padding:14px 16px;border-radius:var(--radius-md);}
  .products-page .babymoby-filter-group,.products-page .babymoby-filter-group--search,.products-page .babymoby-filter-group--category,.products-page .babymoby-filter-group--sort{flex:1 1 auto;flex-direction:column;align-items:stretch;gap:6px;min-width:0;width:100%;}
  .products-page .babymoby-filter-group--search{flex-wrap:nowrap;}
  .products-page .babymoby-filter-label,.products-page .babymoby-filter-group--search .babymoby-filter-label{flex-basis:auto;}
  .products-page .babymoby-filter-input,.products-page .babymoby-filter-select{width:100%;}
  .products-page .babymoby-filter-submit,.products-page .babymoby-filter-clear{flex:1 1 calc(50% - 8px);}
  .products-page .babymoby-products-pagination{margin-bottom:56px;}
  .products-page .babymoby-products-pagination ul{gap:4px;}
  .products-page .babymoby-products-pagination a,.products-page .babymoby-products-pagination span{min-width:36px;padding:0 8px;}
}

/* ==========================================================================
   Standard marquee (babymoby_render_marquee)
   ========================================================================== */
.marquee-section {
	--marquee-gap: 3rem;
	--marquee-item-width: 140px;
	--marquee-surface: var(--bm-yellow-200);
	--marquee-border: #000;
	--marquee-speed: 16.1142857;
	--marquee-duration: 70s;
	position: relative;
	left: 0;
	width: 100%;
	max-width: none;
	box-sizing: border-box;
	margin: 0;
	padding: 1.5rem 0;
	transform: none;
	font-family: var(--bm-font-body);
	font-size: var(--bm-text-base);
	font-weight: 500;
	line-height: var(--bm-leading-body);
	border-top: 0;
	border-bottom: 0;
	background: transparent;
	overflow: hidden;
}

.marquee-header {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	max-width: var(--bm-layout-max);
	margin: 0 0 2rem;
	margin-right: auto;
	margin-left: auto;
	box-sizing: border-box;
	padding: 0 2rem;
	text-align: center;
}

.marquee-header h2,
.marquee-subtext {
	margin: 0;
}

.marquee-header h2 {
	font-size: var(--bm-heading-section);
}

.marquee-subtext {
	display: block;
	width: 100%;
	max-width: 44rem;
	max-inline-size: 44rem;
	margin: .25rem auto 0;
	box-sizing: border-box;
	text-align: center;
	white-space: normal;
	text-wrap: balance;
}

.marquee-container {
	position: relative;
	width: 100%;
	margin-right: auto;
	margin-left: auto;
	overflow: hidden;
}

.marquee-track {
	--marquee-start-offset: 0px;
	display: flex;
	width: max-content;
	padding: 1.5rem 0;
	animation: scroll var(--marquee-duration) linear infinite;
	will-change: transform;
}

.marquee-container:hover .marquee-track,
.marquee-container:focus-within .marquee-track,
.marquee-container:active .marquee-track {
	animation-play-state: paused;
}

.marquee-group {
	display: flex;
	flex: 0 0 max-content;
	align-items: center;
	gap: var(--marquee-gap);
	padding-right: var(--marquee-gap);
}

.marquee-item {
	display: flex;
	flex: 0 0 auto;
	width: var(--marquee-item-width);
	min-width: var(--marquee-item-width);
	height: 50px;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	text-align: center;
}

.marquee-text {
	display: flex;
	width: 100%;
	height: 100%;
	align-items: center;
	justify-content: center;
	font: inherit;
	opacity: 1;
	cursor: pointer;
	text-decoration: none;
	transition: opacity .3s ease;
}

.marquee-text:hover,
.marquee-text:focus-visible {
	opacity: 1;
	text-decoration: none;
}

.marquee-text:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.marquee-text img {
	display: block;
	width: auto;
	max-width: 100%;
	max-height: 50px;
	object-fit: contain;
}

.marquee-text--hybrid {
	gap: var(--bm-space-3);
}

.marquee-text--hybrid img {
	max-width: 48px;
	max-height: 40px;
}

/* Awards marquee: give the recognition artwork a larger, more prominent read. */
.bm-home-awards-marquee .marquee-item {
	height: 50px;
}

.bm-home-awards-marquee .marquee-text img {
	max-height: 50px;
	transform: scale(2.25);
}

.marquee-item__icon {
	flex: 0 0 auto;
}

.marquee-fade-left,
.marquee-fade-right {
	position: absolute;
	top: 0;
	bottom: 0;
	z-index: 5;
	width: 60px;
	pointer-events: none;
}

.marquee-fade-left {
	left: 0;
	background: linear-gradient(to right, var(--bm-bg), transparent);
}

.marquee-fade-right {
	right: 0;
	background: linear-gradient(to left, var(--bm-bg), transparent);
}

@keyframes scroll {
  from { transform: translate3d(var(--marquee-start-offset), 0, 0); }
  to { transform: translate3d(calc(var(--marquee-start-offset) - 50%), 0, 0); }
}

@media (max-width: 767px) {
	.marquee-section {
		--marquee-item-width: 110px;
		padding: 1.25rem 0;
	}

	.marquee-header {
		margin-bottom: 1.5rem;
		padding: 0 1.25rem;
	}

	.marquee-track {
		padding: 1rem 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.marquee-track {
		width: 100%;
		animation: none;
		transform: none;
		will-change: auto;
	}
	.marquee-group {
		width: 100%;
		flex: 1 1 100%;
		flex-wrap: wrap;
		justify-content: center;
		padding: 0 1.25rem;
	}
	.marquee-group[aria-hidden="true"] {
		display: none;
	}
	.marquee-item[aria-hidden="true"] {
		display: none;
	}
}

/* ---------- Semantic typography contract ----------
 * Body copy uses the rounded family for comfortable reading. Headings and
 * display labels use the condensed family so hierarchy remains visible in
 * English, Thai, WooCommerce surfaces, and plugin-rendered UI alike. Each
 * content section should use no more than one heading size, the body token,
 * and the caption token.
 */
html body :where(input,select,textarea,button){
	font-family:var(--bm-font-body);
	font-size:var(--bm-text-base);
}

html body :where(input,select,textarea){
	line-height:1.5;
}

html body :where(button,[type="button"],[type="submit"],[type="reset"]){
	line-height:1.35;
}

html body :where(small,figcaption,.caption,.wp-caption-text){
	font-size:var(--bm-text-caption);
	line-height:var(--bm-leading-caption);
}

.bm-type-body{
	font-size:var(--bm-text-base);
	line-height:var(--bm-leading-body);
	max-inline-size:var(--bm-measure);
}

.bm-type-caption{
	font-size:var(--bm-text-caption);
	line-height:var(--bm-leading-caption);
}

@media (max-width:767px){
	html body :where(input,select,textarea,button){font-size:20px;}
}

html body :where(code,kbd,samp,pre) {
	font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,"Liberation Mono",monospace;
}

/* ---------- Homepage starter structure ---------- */
.bm-home-starter{--bm-home-section-gap:clamp(40px,5vw,64px);width:100%;background:var(--bm-bg);color:var(--bm-ink)}
.bm-home-scroll-stack{position:relative;width:100%;}
.bm-home-scroll-stack > .bm-hero{position:sticky;top:0;box-sizing:border-box;height:100vh;height:100svh;min-height:100vh;z-index:1;}
.bm-home-rest-transition{position:relative;z-index:3;min-height:100vh;padding-top:1px;border-radius:24px 24px 0 0;background:var(--bm-bg);}
.bm-home-starter > .marquee-section{margin-top:calc(var(--bm-home-section-gap) - 1.5rem);margin-bottom:calc(var(--bm-home-section-gap) - 1.5rem)}
.bm-home-starter h1,.bm-home-starter h2,.bm-home-starter h3{margin:0;color:var(--bm-ink)}
.bm-home-starter p{margin:0}
.bm-home-label{margin-bottom:14px!important;color:var(--bm-brown);font-size:var(--bm-text-caption);line-height:var(--bm-leading-caption);letter-spacing:.08em;text-transform:uppercase}
.bm-home-products,.bm-home-blog{width:100%;max-width:var(--bm-layout-max);margin:0 auto}
.bm-home-intro{width:min(100% - 40px,920px);margin:0 auto;padding:clamp(42px,6vw,72px) var(--bm-space-6) 0;text-align:center;color:var(--bm-ink-700)}
.bm-home-intro h2{margin:0 0 16px;color:var(--bm-ink-900);font-family:var(--bm-font-heading);font-size:var(--bm-text-2xl);line-height:1.15}
.bm-home-intro p{max-width:70ch;margin:0 auto;font-size:var(--bm-text-lg);line-height:1.65}
.bm-home-placeholder{display:flex;align-items:center;justify-content:center;border:1px dashed rgba(16,25,33,.3);background:rgba(255,255,255,.35);color:var(--bm-brown);font-size:var(--bm-text-caption);line-height:var(--bm-leading-caption);letter-spacing:.08em;text-transform:uppercase}
.bm-home-highlight{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);align-items:stretch;background:color-mix(in srgb,var(--bm-yellow-500) 50%,white)}
.bm-home-placeholder--drift{min-height:520px;background:var(--bm-yellow-200);border:0;font-size:var(--bm-text-base)}
.bm-home-highlight__media{min-width:0;min-height:0;overflow:hidden}
.bm-home-highlight__image{display:block;width:100%;height:100%;min-height:0;object-fit:cover}
.bm-home-highlight__copy{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:clamp(38px,7vw,100px)}
.bm-home-highlight__copy h2{max-width:530px;font-size:var(--bm-heading-section)}
.bm-home-highlight__copy>p:not(.bm-home-label){max-width:420px;margin-top:24px!important;color:var(--bm-ink-700)}
.bm-home-highlight__cta{margin-top:26px}
.bm-home-highlights{display:grid;gap:24px;width:100%;max-width:var(--bm-layout-max);margin:0 auto;padding:var(--bm-home-section-pad) 0}
.bm-home-section-head.bm-home-highlights__heading{padding-top:var(--bm-home-section-pad);padding-bottom:0;margin-top:34px;text-align:center}
.bm-home-highlights__heading{padding-top:0!important;}
.bm-home-highlights__heading h2{margin-left:auto;margin-right:auto}
.bm-home-highlight{min-height:clamp(480px,62vh,640px);box-sizing:border-box;border-radius:40px;overflow:hidden;box-shadow:0 0 30px rgba(16,25,33,.1)}
.bm-home-section-head{max-width:var(--bm-layout-max);margin:0 auto 34px;padding:0 clamp(22px,5vw,72px)}
.bm-home-section-head h2{max-width:650px;font-size:var(--bm-heading-section)}
.bm-home-section-head--row{display:flex;align-items:end;justify-content:space-between;gap:28px}
.bm-home-section-head--row .bm-home-text-link{flex:0 0 auto;margin-bottom:8px}
.bm-home-text-link{display:inline-flex;align-items:center;gap:10px;margin-top:26px;color:var(--bm-ink);text-decoration:none}
.bm-home-text-link:hover{color:var(--bm-brown);text-decoration:none}
.bm-home-products{padding-top:clamp(84px,11vw,148px)}
.bm-home-product-grid,.bm-home-blog-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;padding:0 clamp(22px,5vw,72px)}
.bm-home-blog-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.bm-home-blog .bm-home-section-head,.bm-home-blog .bm-home-blog-grid{padding-left:var(--bm-page-gutter);padding-right:var(--bm-page-gutter)}
.bm-home-placeholder--product{aspect-ratio:1 / 1.1;border:0;background:var(--bm-ink-50)}
.bm-home-product-card__meta{margin-top:16px!important;color:var(--bm-brown);font-size:var(--bm-text-caption);line-height:var(--bm-leading-caption);letter-spacing:.08em;text-transform:uppercase}
.bm-home-product-card h3,.bm-home-blog-card h3{margin-top:6px;font-size:var(--bm-text-xl)}
.bm-home-placeholder--blog{aspect-ratio:1.35 / 1;border:0;background:var(--bm-yellow-200)}
.bm-cta-banner{display:flex;align-items:center;justify-content:space-between;gap:28px;width:calc(100% - clamp(44px,8vw,144px));height:250px;max-width:var(--bm-layout-max);margin:var(--bm-home-section-gap,clamp(56px,7vw,96px)) auto 0;padding:clamp(44px,7vw,92px) clamp(22px,7vw,100px);border-radius:var(--radius-lg);background:var(--bm-yellow-500);color:var(--bm-ink)}
.bm-cta-banner__actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:flex-end}
.bm-cta-banner__copy{min-width:0}
.bm-cta-banner__copy h2{max-width:700px;margin:0;color:var(--bm-ink);font-size:var(--bm-heading-section)}
.bm-cta-banner__button{display:inline-flex;min-width:190px;min-height:var(--bm-button-height)!important;height:var(--bm-button-height)!important;box-sizing:border-box;padding:0 clamp(24px,3vw,48px);border:2px solid var(--bm-brown);border-radius:var(--radius-pill)!important;background:var(--bm-brown);color:var(--bm-bg);font-size:var(--bm-text-base);font-weight:700;line-height:1.35;white-space:nowrap;transition:transform .2s ease,background-color .2s ease,color .2s ease,border-color .2s ease}
.bm-cta-banner__button:hover,.bm-cta-banner__button:focus-visible{border-color:var(--bm-brown);background:var(--bm-brown);color:var(--bm-bg);text-decoration:none}
.bm-cta-banner__button:focus-visible{outline-color:var(--bm-ink)}
@media (max-width:900px){.bm-home-highlight{grid-template-columns:1fr}.bm-home-placeholder--drift,.bm-home-highlight__media{height:clamp(390px,62vw,520px);min-height:0}.bm-home-product-grid,.bm-home-blog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:700px){.bm-home-section-head--row{display:block}.bm-home-section-head--row .bm-home-text-link{margin-top:18px}.bm-home-product-grid{gap:14px;padding-left:var(--bm-page-gutter);padding-right:var(--bm-page-gutter)}.bm-home-blog .bm-home-section-head{padding-left:var(--bm-page-gutter);padding-right:var(--bm-page-gutter)}.bm-home-blog .bm-home-blog-grid{display:flex;align-items:stretch;gap:14px;padding:0 var(--bm-page-gutter);overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding-inline:var(--bm-page-gutter);scrollbar-width:none;-webkit-overflow-scrolling:touch}.bm-home-blog-grid::-webkit-scrollbar{display:none}.bm-home-blog-grid>.bm-article-card{flex:0 0 min(82vw,520px);scroll-snap-align:start;scroll-snap-stop:always}.bm-cta-banner{display:block;width:calc(100% - var(--bm-page-gutter) - var(--bm-page-gutter));height:auto;margin-top:40px;padding:24px var(--bm-page-gutter);border-radius:var(--radius-md)}.bm-cta-banner__actions{display:grid;width:100%;margin-top:16px}.bm-cta-banner__button{width:100%}}
.bm-home-starter{--bm-home-section-pad:clamp(72px,8vw,112px)}
.bm-home-highlight--reverse .bm-home-placeholder{order:2}
.bm-home-highlight--reverse .bm-home-highlight__media{order:2}
.bm-home-highlight--reverse .bm-home-highlight__copy{order:1}
@media (max-width:900px){.bm-home-highlight--reverse .bm-home-placeholder,.bm-home-highlight--reverse .bm-home-highlight__media,.bm-home-highlight--reverse .bm-home-highlight__copy{order:initial}}
.bm-home-highlight--mint{background:color-mix(in srgb,var(--bm-mint-500) 50%,white)}
.bm-home-highlight--sky{background:color-mix(in srgb,var(--bm-sky-500) 50%,white)}
.bm-home-highlights{gap:0;padding-top:0;padding-bottom:0}
.bm-home-highlight{position:sticky;height:clamp(680px,calc(62vh + 200px),840px);min-height:0;margin-bottom:24px;transform:scale(var(--bm-stack-scale,1));transform-origin:center top;transition:transform .1s linear;will-change:transform}
.bm-home-highlight:nth-child(1){top:80px;z-index:1}.bm-home-highlight:nth-child(2){top:110px;z-index:2}.bm-home-highlight:nth-child(3){top:140px;z-index:3}.bm-home-highlight:nth-child(4){top:170px;z-index:4}
@media (max-width:900px){.bm-home-highlight{position:static;height:auto;min-height:0;transform:none!important;transition:none;will-change:auto}}
.bm-home-highlight{
	width:calc(100% - var(--bm-page-gutter) - var(--bm-page-gutter));
	margin-left:var(--bm-page-gutter);
	margin-right:var(--bm-page-gutter);
}
@media (min-width:901px) and (max-height:800px){.bm-home-highlight{position:relative;height:auto;min-height:clamp(480px,62vh,640px);transform:none!important;transition:none;will-change:auto}.bm-home-highlight__media{height:clamp(480px,62vh,640px);min-height:0}}
.bm-home-highlight--coral{background:color-mix(in srgb,var(--bm-coral-500) 80%,white)}
.bm-drift{position:relative;display:grid;grid-template-columns:minmax(360px,34%) 1fr;align-items:stretch;overflow:hidden;width:100%;max-width:none;margin:var(--bm-home-section-gap,clamp(56px,7vw,96px)) 0;height:100vh;height:100svh;--bm-drift-cream:#F5EFE3}
.bm-drift__text{position:relative;z-index:2;display:flex;align-items:center;padding:clamp(28px,4vw,56px) 0 clamp(28px,4vw,56px) clamp(28px,5vw,72px);margin-right:clamp(-80px,-6vw,-24px)}
.bm-drift__quote{margin:0}
.bm-drift__quote p{margin:0;color:var(--bm-ink,#000);font-family:var(--bm-font-heading);font-size:clamp(28px,3.2vw,48px);line-height:1.15}
.bm-drift__quote footer{margin-top:24px;display:flex;align-items:baseline;gap:10px;color:var(--bm-ink,#000);opacity:.82;font-size:var(--bm-text-base)}
.bm-drift__quote footer cite{font-style:normal;font-weight:700}
.bm-drift__wall{position:relative;min-height:0;display:grid;grid-template-columns:repeat(1,minmax(0,1fr));gap:var(--bm-space-5);padding:0 clamp(16px,2vw,32px)}
.bm-drift__fade{position:absolute;inset:0 auto 0 0;width:clamp(220px,24vw,380px);z-index:1;pointer-events:none;background:linear-gradient(to right,var(--bm-bg,#fff) 0%,color-mix(in srgb,var(--bm-bg,#fff) 90%,transparent) 48%,transparent 100%)}
.bm-drift__fade--bottom{display:none}
.bm-drift__column{overflow:hidden}
.bm-drift__column--2,
.bm-drift__column--3,
.bm-drift__column--4,
.bm-drift__column--5{display:none}
.bm-drift__track{--bm-drift-loop-gap:var(--bm-space-5);display:flex;flex-direction:column;gap:var(--bm-drift-loop-gap);animation:bm-reviews-scroll var(--bm-marquee-duration,30s) linear infinite;will-change:transform}
.bm-marquee-speed-32{--bm-marquee-duration:32s}.bm-marquee-speed-36{--bm-marquee-duration:36s}.bm-marquee-speed-38{--bm-marquee-duration:38s}.bm-marquee-speed-40{--bm-marquee-duration:40s}.bm-marquee-speed-42{--bm-marquee-duration:42s}.bm-marquee-speed-46{--bm-marquee-duration:46s}.bm-marquee-speed-68{--bm-marquee-duration:68s}.bm-marquee-speed-74{--bm-marquee-duration:74s}.bm-marquee-speed-78{--bm-marquee-duration:78s}.bm-marquee-speed-84{--bm-marquee-duration:84s}.bm-marquee-speed-92{--bm-marquee-duration:92s}
.bm-drift__column--2 .bm-drift__track,
.bm-drift__column--4 .bm-drift__track{animation-direction:reverse}
.bm-drift__tile{margin:0;overflow:hidden;border-radius:var(--radius-md);background:var(--bm-ink-50,#f2f2f2);filter:brightness(.94);transition:filter .25s ease,transform .25s ease}
.bm-drift__tile img{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:cover}
.bm-drift__tile:hover,
.bm-drift__tile:focus-visible{filter:brightness(1.08);transform:translateY(-4px) scale(1.03);z-index:2}
@media (min-width:480px){
	.bm-drift__wall{grid-template-columns:repeat(2,minmax(0,1fr));}
	.bm-drift__column--2{display:block;}
}
@media (min-width:768px){
	.bm-drift__wall{grid-template-columns:repeat(3,minmax(0,1fr));}
	.bm-drift__column--3{display:block;}
}
@media (min-width:1024px){
	.bm-drift__wall{grid-template-columns:repeat(4,minmax(0,1fr));}
	.bm-drift__column--4{display:block;}
}
@media (min-width:1280px){
	.bm-drift__wall{grid-template-columns:repeat(5,minmax(0,1fr));}
	.bm-drift__column--5{display:block;}
}
@media (max-width:900px){
	.bm-drift{position:relative;grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr);height:100vh;height:100svh;margin:var(--bm-home-section-gap,clamp(40px,5vw,64px)) 0}
	.bm-drift__text{position:relative;margin-right:0;margin-bottom:clamp(-72px,-16vw,-32px);padding:clamp(24px,6vw,40px) clamp(22px,5vw,40px)}
	.bm-drift__wall{height:auto}
	.bm-drift__fade{inset:0 0 auto 0;width:auto;height:clamp(180px,38vw,280px);background:linear-gradient(to bottom,var(--bm-bg,#fff) 0%,color-mix(in srgb,var(--bm-bg,#fff) 90%,transparent) 48%,transparent 100%)}
	.bm-drift__fade--bottom{display:block;inset:auto 0 0 0;width:auto;height:clamp(180px,38vw,280px);background:linear-gradient(to top,var(--bm-bg,#fff) 0%,color-mix(in srgb,var(--bm-bg,#fff) 90%,transparent) 48%,transparent 100%)}
}
@media (prefers-reduced-motion:reduce){
	.bm-drift__track{animation:none}
}
.bm-home-inline-cta,.wtb-section-heading__cta{display:inline-flex;align-items:center;justify-content:center;gap:var(--bm-space-2);width:max-content;min-height:48px!important;height:auto!important;padding:10px 16px!important;border:2px solid var(--bm-brown)!important;border-radius:var(--radius-sm)!important;background:var(--bm-gold)!important;color:var(--bm-ink)!important;line-height:1.2;text-decoration:none}
.bm-home-inline-cta:hover,.bm-home-inline-cta:focus-visible,.wtb-section-heading__cta:hover,.wtb-section-heading__cta:focus-visible{background:var(--bm-gold-hover)!important;color:var(--bm-brown)!important;text-decoration:none}
.bm-home-recommended-wrap .bm-home-section-head{padding-left:0;padding-right:0}
.bm-home-recommended-wrap{width:100%!important;max-width:var(--bm-layout-max)!important;margin-top:var(--bm-home-section-gap);box-sizing:border-box;overflow:hidden}
.bm-recommended-products-wrap{box-sizing:border-box;overflow:hidden}
/* Give the recommended rail a more prominent, three-up rhythm on larger
 * screens while keeping the catalog and related-product grids unchanged. */
.bm-recommended-products .wtb-product-slider__list{grid-auto-columns:minmax(260px,30%);}

.bm-home-starter .wtb-section-heading h2,.bm-home-starter .bm-home-blog .bm-home-section-head h2{max-width:650px;font-size:var(--bm-heading-section);}

/* ---------- Homepage hero: anchored asymmetric collage ---------- */
/* The shell owns the height and establishes the only positioning context. The
   collage and content share this full-width coordinate system, so the header,
   body wrapper, and viewport cannot change product coordinates independently. */
.bm-hero{position:relative;isolation:isolate;width:100%;height:100vh;height:100svh;min-height:max(740px,62vw);overflow:hidden;background:var(--bm-yellow-200)}
.bm-hero__collage{position:absolute;z-index:1;inset:0;pointer-events:none}
.bm-hero__product{position:absolute;left:var(--bm-x);top:var(--bm-y);width:var(--bm-size);aspect-ratio:4 / 5;margin:0;transform:translate(-50%,-50%) rotate(var(--bm-rotate,0deg)) scale(var(--bm-scale,1.5));transform-origin:center;opacity:1;}
.bm-hero__product picture{display:block;width:100%;height:100%}
.bm-hero__product img{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 9px 13px rgba(16,25,33,.13))}

/* Each slot is intentionally independent. Keep the middle of the hero clear
   for the message and CTA; positions are percentages of .bm-hero itself. */
.bm-hero__product--diaper-pants{--bm-x:12%;--bm-y:36%;--bm-size:max(112px,11vw);--bm-rotate:-7deg}
.bm-hero__product--wipes{--bm-x:14%;--bm-y:70%;--bm-size:max(92px,9vw);--bm-rotate:5deg}
.bm-hero__product--milk-storage-bag{--bm-x:19%;--bm-y:15%;--bm-size:max(82px,8vw);--bm-rotate:7deg}
.bm-hero__product--cotton-balls{--bm-x:36%;--bm-y:16%;--bm-size:max(88px,8vw);--bm-rotate:-11deg}
.bm-hero__product--toothbrush{--bm-x:28%;--bm-y:84%;--bm-size:max(80px,7vw);--bm-rotate:8deg}
.bm-hero__product--toothpaste{--bm-x:23%;--bm-y:50%;--bm-size:max(82px,8vw);--bm-rotate:-4deg}
.bm-hero__product--cotton-buds{--bm-x:86%;--bm-y:57%;--bm-size:max(82px,7vw);--bm-rotate:-9deg}
.bm-hero__product--gift-set{--bm-x:67%;--bm-y:15%;--bm-size:max(100px,9vw);--bm-rotate:6deg}
.bm-hero__product--cotton-box{--bm-x:83%;--bm-y:29%;--bm-size:max(108px,10vw);--bm-rotate:8deg}
.bm-hero__product--sterile-gauze{--bm-x:75%;--bm-y:73%;--bm-size:max(90px,8vw);--bm-rotate:5deg}
.bm-hero__product--snack-pack{--bm-x:88%;--bm-y:82%;--bm-size:max(104px,10vw);--bm-rotate:-7deg}

.bm-hero__inner{position:relative;z-index:2;display:flex;align-items:center;justify-content:center;width:100%;min-height:inherit;box-sizing:border-box;padding:clamp(32px,5vw,64px) var(--bm-page-gutter)}
.bm-hero__content{display:flex;flex-direction:column;align-items:center;gap:0;max-width:560px;margin:0;text-align:center;transform:translateY(clamp(36px,5vw,72px))}
.bm-hero__eyebrow{color:var(--bm-brown);font-size:var(--bm-text-caption);line-height:var(--bm-leading-caption);letter-spacing:.08em;text-transform:uppercase}
.bm-hero__brand{margin-top:14px!important;color:var(--bm-ink-500);font-size:var(--bm-text-caption);line-height:var(--bm-leading-caption);letter-spacing:.14em;text-transform:uppercase}
.bm-hero__headline{margin-top:14px;font-size:var(--bm-text-display);line-height:var(--bm-leading-heading-tight);color:var(--bm-ink)}
/* Animate.css-compatible fadeInDown classes used by the hero title. */
.animate__animated{animation-duration:1s;animation-fill-mode:both}
@keyframes fadeInDown{from{opacity:0;transform:translate3d(0,-100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}
.animate__fadeInDown{animation-name:fadeInDown}
@media (prefers-reduced-motion:reduce){.animate__animated{animation:none;will-change:auto}}
.bm-hero__support{max-width:500px;margin-top:24px!important;color:var(--bm-ink-500);font-size:var(--bm-text-xl)}
.bm-hero__cta{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:var(--bm-button-height);margin-top:18px;padding:13px 26px;border:var(--bm-border) solid var(--bm-brown);border-radius:var(--bm-button-radius);background:var(--bm-gold);color:var(--bm-ink);text-decoration:none;transition:transform .2s ease,background-color .2s ease,color .2s ease,border-color .2s ease}
.bm-hero__cta:hover{background:var(--bm-gold-hover);border-color:var(--bm-brown);color:var(--bm-brown);text-decoration:none;transform:translateY(-2px)}
.bm-hero__cta:focus-visible{outline:3px solid var(--bm-sky-500);outline-offset:3px}

@media (min-width:701px) and (max-width:1050px){
	.bm-hero{min-height:700px}
	.bm-hero__product--milk-storage-bag,.bm-hero__product--toothbrush,.bm-hero__product--sterile-gauze,.bm-hero__product--snack-pack{display:none}
	.bm-hero__product--diaper-pants{--bm-x:18%;--bm-y:36%}
	.bm-hero__product--wipes{--bm-x:17%;--bm-y:71%}
	.bm-hero__product--cotton-balls{--bm-x:35%;--bm-y:16%}
	.bm-hero__product--milk-storage-bag{--bm-x:20%;--bm-y:16%}
	.bm-hero__product--toothpaste{--bm-x:25%;--bm-y:50%}
	.bm-hero__product--gift-set{--bm-x:68%;--bm-y:16%}
	.bm-hero__product--cotton-box{--bm-x:83%;--bm-y:31%}
	.bm-hero__product--cotton-buds{--bm-x:86%;--bm-y:59%}
	.bm-hero__product--sterile-gauze{--bm-x:73%;--bm-y:79%}
	.bm-hero__product--snack-pack{--bm-x:91%;--bm-y:82%}
}

@media (max-width:700px){
	.bm-hero{min-height:660px}
	.bm-hero__product--toothbrush,.bm-hero__product--toothpaste,.bm-hero__product--milk-storage-bag,.bm-hero__product--stainless-container,.bm-hero__product--cotton-box,.bm-hero__product--cotton-buds,.bm-hero__product--gift-set,.bm-hero__product--sterile-gauze{display:none}
	.bm-hero__product{--bm-scale:1}
	.bm-hero__product--diaper-pants{--bm-x:25%;--bm-y:17%;--bm-size:100px}
	.bm-hero__product--wipes{--bm-x:76%;--bm-y:18%;--bm-size:92px}
	.bm-hero__product--cotton-balls{--bm-x:23%;--bm-y:78%;--bm-size:84px}
	.bm-hero__product--snack-pack{--bm-x:76%;--bm-y:77%;--bm-size:96px}
	.bm-hero__inner{min-height:inherit;padding:32px var(--bm-page-gutter)}
	.bm-hero__content{max-width:320px}
	.bm-hero__content{transform:none}
	.bm-hero__headline{font-size:clamp(48px,13vw,64px)}
}

/* ---------- About / Brand Story editorial page ---------- */
main:has(.bm-scroll-timeline){background:var(--bm-yellow-200);}
body:has(.bm-scroll-timeline){background:var(--bm-yellow-200);}
body:has(.bm-scroll-timeline) .bm-cta-banner{margin-bottom:56px;}
.bm-about-intro{padding:clamp(32px,5vw,64px) var(--bm-page-gutter) clamp(48px,6vw,80px);background:var(--bm-bg);}
.bm-about-intro__container{width:100%;max-width:1240px;margin:0 auto;}
.bm-about-page-title{margin:0 0 clamp(28px,4vw,48px);color:var(--bm-brown);font-family:var(--bm-font-heading),Arial,sans-serif;font-size:var(--bm-text-4xl);font-weight:700;letter-spacing:-.02em;line-height:var(--bm-leading-heading-tight);text-align:center;}
.bm-about-story-hero{display:grid;grid-template-columns:minmax(0,.95fr) minmax(360px,1.05fr);align-items:stretch;min-height:clamp(520px,42vw,620px);padding:clamp(12px,1.4vw,20px) clamp(20px,2.2vw,32px) clamp(12px,1.4vw,20px) clamp(12px,1.4vw,20px);overflow:hidden;border:var(--bm-border) solid var(--bm-line);border-radius:var(--radius-lg);background:var(--bm-bg);box-shadow:var(--bm-shadow-lg);}
.bm-about-story-hero__copy{display:flex;flex-direction:column;justify-content:center;padding:clamp(36px,6vw,88px);}
.bm-about-story-hero__eyebrow{margin:0 0 18px;color:var(--bm-brown);font-size:var(--bm-text-caption);font-weight:700;letter-spacing:.1em;line-height:var(--bm-leading-caption);text-transform:uppercase;}
.bm-about-story-hero__copy h2{max-width:11ch;margin:0;color:var(--bm-ink);font-family:var(--bm-font-heading),Arial,sans-serif;font-size:clamp(44px,5.6vw,76px);font-weight:700;letter-spacing:-.045em;line-height:1;}
.bm-about-story-hero__copy>p:last-child{max-width:38ch;margin:28px 0 0;color:var(--bm-ink-700);font-size:var(--bm-text-base);font-weight:500;line-height:var(--bm-leading-body);}
.bm-about-story-hero__media{align-self:center;height:clamp(480px,38vw,580px);min-height:0;overflow:hidden;border-radius:var(--radius-md);background:var(--bm-yellow-300);}
.bm-about-story-hero__media img{display:block;width:100%;height:100%;min-height:100%;object-fit:cover;object-position:center 48%;transform:scale(1.18);transition:transform .6s ease;}
.bm-about-story-hero:hover .bm-about-story-hero__media img{transform:scale(1.21);}

@media (max-width:767px){
	.bm-about-intro{padding:28px var(--bm-page-gutter) 48px;}
	.bm-about-page-title{margin-bottom:28px;}
	.bm-about-story-hero{grid-template-columns:1fr;min-height:0;padding:12px;border-radius:var(--radius-lg);}
	.bm-about-story-hero__copy{padding:36px 28px 40px;}
	.bm-about-story-hero__copy h2{max-width:12ch;font-size:clamp(42px,12vw,60px);}
	.bm-about-story-hero__copy>p:last-child{margin-top:20px;}
	.bm-about-story-hero__media{width:100%;height:min(115vw,540px);min-height:0;aspect-ratio:auto;}
	.bm-about-story-hero__media img{object-position:center 46%;transform:scale(1.12);}
}

/* ---------- Auto-scrolling slider (what we stand for) ---------- */
.bm-about-horizontal{position:relative;width:100%;margin:0;padding:0;}
.bm-about-horizontal__viewport{position:relative;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scroll-snap-type:x mandatory;scrollbar-width:none;}
.bm-about-horizontal__viewport::-webkit-scrollbar{display:none;}
.bm-about-horizontal__track{display:flex;width:100%;margin:0;padding:0;list-style:none;}
.bm-about-horizontal__panel{position:relative;display:flex;flex:0 0 100%;flex-direction:column;align-items:center;justify-content:center;overflow:hidden;width:100%;height:100vh;height:100dvh;margin:0;padding:0 0 56px;scroll-snap-align:start;}
.bm-about-horizontal__panel--blue{background:color-mix(in srgb,var(--bm-sky-500) 50%,transparent);}
.bm-about-horizontal__panel--green{background:color-mix(in srgb,var(--bm-mint-500) 50%,transparent);}
.bm-about-horizontal__panel--red{background:color-mix(in srgb,var(--bm-coral-500) 80%,transparent);}
.bm-about-horizontal__panel--light-yellow{background:var(--bm-yellow-200);}
.bm-about-horizontal__panel-media{width:min(78vw,640px);height:min(56vh,520px);overflow:hidden;border-radius:var(--radius-md);}
.bm-about-horizontal__panel-media img{display:block;width:100%;height:100%;object-fit:cover;}
.bm-about-horizontal__panel-text{width:min(78vw,560px);margin:48px auto 0;color:var(--bm-ink);font-family:var(--bm-font-heading),Arial,sans-serif;font-size:clamp(28px,4vw,48px);font-weight:500;letter-spacing:-.02em;line-height:1;text-align:center;}

.bm-about-horizontal__dots{position:absolute;right:0;bottom:48px;left:0;z-index:2;display:flex;justify-content:center;gap:10px;margin:0;padding:0;list-style:none;}
.bm-about-horizontal__dot{width:8px;height:8px;border-radius:50%;border:none;padding:0;background:color-mix(in srgb,var(--bm-ink) 25%,transparent);cursor:pointer;transition:background .3s ease,transform .3s ease;}
.bm-about-horizontal__dot.is-active{background:var(--bm-ink);transform:scale(1.25);}

@media (max-width:719px){
	.bm-about-horizontal__panel{height:100vh;height:100dvh;padding-bottom:52px;}
	.bm-about-horizontal__panel-media{width:min(88vw,380px);height:min(48vh,380px);}
	.bm-about-horizontal__panel-text{font-size:clamp(24px,7vw,32px);}
}

/* Reusable pinned year timeline. Only the one-year roller is clipped. */
.bm-scroll-timeline{
	--timeline-paper:var(--bm-yellow-200);
	--timeline-ink:var(--bm-ink-900);
	--timeline-yellow:var(--bm-yellow-500);
	--timeline-blue:var(--bm-sky-500);
	--timeline-coral:var(--bm-coral-500);
	--timeline-year-size:clamp(112px,18vw,248px);
	--timeline-year-leading:1.1;
	--timeline-item-height:175dvh;
	position:relative;
	isolation:isolate;
	width:100vw;
	max-width:none;
	margin-top:100vh;
	margin-top:100dvh;
	margin-left:calc(50% - 50vw);
	overflow:clip;
	background:var(--timeline-paper);
	color:var(--timeline-ink);
}
.bm-scroll-timeline *{box-sizing:border-box;}
.bm-scroll-timeline__pin{
	position:sticky;
	top:0;
	z-index:3;
	display:grid;
	place-items:center;
	width:100%;
	height:100vh;
	height:100dvh;
	pointer-events:none;
}
.bm-year-counter{position:absolute;inset:0;display:grid;place-items:center;width:100%;height:100%;}
.bm-year-counter__display{display:flex;flex-direction:column;align-items:center;}
.bm-year-counter__eyebrow{position:relative;z-index:2;top:clamp(40px,4.5vw,68px);margin-bottom:clamp(10px,1.5vw,20px);color:var(--timeline-ink);font-size:clamp(16px,1.8vw,26px);font-weight:700;letter-spacing:.1em;line-height:1;text-transform:uppercase;}
.bm-year-counter__roller{
	position:relative;
	z-index:1;
	width:min(82vw,760px);
	height:calc(var(--timeline-year-size) * var(--timeline-year-leading));
	margin:auto;
	overflow:hidden;
	contain:layout paint;
}
.bm-year-counter__state{
	position:absolute;
	inset:0;
	display:flex;
	align-items:center;
	justify-content:center;
	visibility:hidden;
	color:var(--timeline-yellow);
	font-family:"DB Helvethaica X",Arial,sans-serif;
	font-size:0;
	font-variant-numeric:tabular-nums;
	font-weight:700;
	line-height:var(--timeline-year-leading);
	letter-spacing:0;
	white-space:nowrap;
	text-shadow:none;
	transform:translate3d(0,calc(var(--year-index) * 100%),0);
	will-change:transform;
}
.bm-year-counter__state:first-child{visibility:visible;}
.bm-year-counter__character{display:inline-block;flex:0 0 .46em;width:.46em;min-width:0;font-family:"DB Helvethaica X",Arial,sans-serif;font-size:var(--timeline-year-size);font-weight:700;line-height:var(--timeline-year-leading);letter-spacing:-.02em;text-align:center;will-change:transform;}
.bm-scroll-timeline__content{position:relative;z-index:1;min-height:100vh;min-height:100dvh;margin-top:-100vh;margin-top:-100dvh;}
.bm-scroll-timeline__item{
	position:relative;
	display:flex;
	align-items:center;
	justify-content:flex-start;
	min-height:175vh;
	min-height:var(--timeline-item-height);
	padding:clamp(72px,9vw,132px) var(--bm-page-gutter);
}
.bm-scroll-timeline__item:nth-child(even){justify-content:flex-start;}
.bm-scroll-timeline__placeholder-grid{position:relative;width:100vw;margin-left:calc(50% - 50vw);padding-inline:clamp(18px,4vw,56px);}
.bm-scroll-timeline__custom-content{position:relative;width:min(72vw,980px);}
.bm-scroll-timeline__placeholder-grid{height:82vh;height:82dvh;}
.bm-scroll-timeline__placeholder-rectangle{position:absolute;z-index:1;left:var(--rectangle-x,50%);top:var(--rectangle-y,50%);display:block;width:var(--rectangle-size,clamp(220px,28vw,420px));height:var(--rectangle-size,clamp(220px,28vw,420px));aspect-ratio:1;border-radius:clamp(14px,2vw,30px);background:var(--bm-yellow-300);transform:translate(-50%,calc(-50% + var(--packshot-drift,0px))) rotate(var(--rectangle-rotation,0deg));transform-origin:center;will-change:transform;}
.bm-scroll-timeline__placeholder-rectangle:nth-child(3n+2){background:var(--timeline-blue);}
.bm-scroll-timeline__placeholder-rectangle:nth-child(3n){background:var(--timeline-coral);}
.bm-scroll-timeline__placeholder-rectangle:nth-child(5n){background:var(--bm-surface-accent-mint);}
.bm-scroll-timeline__placeholder-rectangle:nth-child(7n){background:var(--bm-brown);}
.bm-scroll-timeline__packshot{background:transparent!important;border-radius:0;object-fit:contain;}
.bm-scroll-timeline__item:nth-child(even) .bm-scroll-timeline__placeholder-rectangle{filter:saturate(.88);}

@media (max-width:767px){
	.bm-scroll-timeline{--timeline-year-size:clamp(84px,28vw,122px);--timeline-item-height:150dvh;}
	.bm-year-counter__roller{width:92vw;}
	.bm-scroll-timeline__item{min-height:150vh;min-height:var(--timeline-item-height);padding:64px var(--bm-page-gutter);}
	.bm-scroll-timeline__placeholder-grid{width:100vw;margin-left:calc(50% - 50vw);}
	.bm-scroll-timeline__custom-content{width:100%;}
	.bm-scroll-timeline__placeholder-grid{height:76vh;height:76dvh;}
	.bm-scroll-timeline__placeholder-rectangle{width:var(--rectangle-size,clamp(150px,36vw,240px));height:var(--rectangle-size,clamp(150px,36vw,240px));border-radius:16px;}
}
@media (prefers-reduced-motion:reduce){
	.bm-year-counter__state,.bm-year-counter__character{will-change:auto;transition:none;}
}

.bm-history-page{--history-paper:#f8fafb;--history-surface:#eef3f5;--history-ink:#27313b;--history-muted:#66737d;--history-line:#b8c5cb;--history-accent:#d6a929;--history-white:#fff;--history-radius:28px;max-width:1120px;margin:clamp(42px,7vw,90px) auto clamp(64px,10vw,130px);padding:0 var(--bm-page-gutter);color:var(--history-ink);font-family:ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;}
.bm-about-page{--history-paper:#f8fafb;--history-surface:#eef3f5;--history-ink:#27313b;--history-muted:#66737d;--history-line:#b8c5cb;--history-accent:#d6a929;--history-white:#fff;}
.bm-history-page *{box-sizing:border-box;}
.bm-history-page h1,.bm-history-page h2,.bm-history-page p{margin-top:0;}
.bm-history-page h1,.bm-history-page h2{font-family:ui-rounded,"Arial Rounded MT Bold",system-ui,sans-serif;}
.bm-history__intro{max-width:680px;margin:0 auto;text-align:center;}
.bm-history__eyebrow{margin-bottom:16px!important;color:var(--history-muted);font-size:var(--bm-text-caption);line-height:var(--bm-leading-caption);letter-spacing:.16em;text-transform:uppercase;}
.bm-history__intro h1{margin-bottom:20px;color:var(--history-ink);font-size:var(--bm-text-display);letter-spacing:-.055em;line-height:var(--bm-leading-heading-tight);}
.bm-history__lede{max-width:470px;margin:0 auto;color:var(--history-muted);font-size:var(--bm-text-base);line-height:var(--bm-leading-body);}
.bm-history__timeline{margin-top:clamp(74px,10vw,132px);}
.bm-history__list{position:relative;margin:0;padding:0;list-style:none;}
.bm-history__line{position:absolute;top:96px;bottom:96px;left:50%;width:1px;background:var(--history-line);transform:translateX(-50%);}
.bm-history__line-progress{position:absolute;inset:0;display:block;width:2px;height:auto;margin-left:-.5px;background:var(--history-accent);}
.bm-history__item{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1fr) 190px minmax(0,1fr);align-items:center;column-gap:clamp(18px,4vw,74px);min-height:270px;}
.bm-history__item+ .bm-history__item{margin-top:clamp(34px,5vw,70px);}
.bm-history__slot{min-width:0;}
.bm-history__slot--left{display:flex;justify-content:flex-end;text-align:right;}
.bm-history__slot--right{display:flex;justify-content:flex-start;text-align:left;}
.bm-history__content{max-width:300px;}
.bm-history__category{display:block;margin-bottom:10px;color:var(--history-muted);font-size:var(--bm-text-caption);line-height:var(--bm-leading-caption);letter-spacing:.14em;text-transform:uppercase;}
.bm-history__date{display:block;margin-bottom:11px;color:var(--history-accent);font-family:ui-rounded,"Arial Rounded MT Bold",system-ui,sans-serif;font-size:var(--bm-text-base);font-weight:700;line-height:1.35;}
.bm-history__content h2{margin-bottom:12px;color:var(--history-ink);font-size:var(--bm-text-2xl);letter-spacing:-.035em;line-height:var(--bm-leading-heading);}
.bm-history__content p{margin:0;color:var(--history-muted);font-size:var(--bm-text-base);line-height:var(--bm-leading-body);}
.bm-history__node-wrap{position:relative;display:flex;align-items:center;justify-content:center;min-height:190px;}
.bm-history__dot{position:absolute;z-index:1;left:50%;top:50%;width:16px;height:16px;border:3px solid var(--history-surface);border-radius:50%;background:var(--history-accent);box-shadow:0 0 0 1px var(--history-ink);transform:translate(-50%,-50%);}
.bm-history__media{position:relative;display:flex;align-items:center;justify-content:center;width:clamp(150px,16vw,184px);aspect-ratio:1;border:8px solid var(--history-white);border-radius:50%;background:#dce4e7;box-shadow:0 9px 20px rgba(39,49,59,.14);overflow:hidden;}
.bm-history__media-label{position:absolute;right:10px;bottom:10px;padding:4px 7px;border-radius:999px;background:rgba(255,255,255,.75);color:var(--history-muted);font-size:var(--bm-text-caption);line-height:var(--bm-leading-caption);letter-spacing:.05em;text-transform:uppercase;}
.bm-history__media img{display:block;width:100%;height:100%;object-fit:cover;}
.bm-history__fallback{position:relative;display:block;width:100%;height:100%;}
.bm-history__fallback::before,.bm-history__fallback::after,.bm-history__fallback span,.bm-history__fallback i{content:"";position:absolute;display:block;}
.bm-history__media--people{background:linear-gradient(145deg,#d9c5b5 0 45%,#a9c3c8 45% 72%,#e8ecec 72%);}
.bm-history__media--people .bm-history__fallback::before{left:37%;top:23%;width:27%;height:27%;border-radius:50%;background:#56636d;}
.bm-history__media--people .bm-history__fallback::after{left:25%;bottom:17%;width:50%;height:33%;border-radius:50% 50% 12% 12%;background:#687f88;}
.bm-history__media--product{background:linear-gradient(35deg,#c9d9de 0 42%,#efdb9b 42% 68%,#dfb0a3 68%);}
.bm-history__media--product .bm-history__fallback span{left:35%;top:24%;width:30%;height:49%;border:2px solid var(--history-ink);border-radius:13px 13px 22px 22px;background:#fff;transform:rotate(9deg);}
.bm-history__media--product .bm-history__fallback i{left:41%;top:17%;width:18%;height:12%;border:2px solid var(--history-ink);border-bottom:0;border-radius:10px 10px 0 0;transform:rotate(9deg);}
.bm-history__media--nature{background:linear-gradient(150deg,#d9e8dc 0 52%,#aac7ba 52%);}
.bm-history__media--nature .bm-history__fallback span{left:38%;top:21%;width:28%;height:58%;border-radius:100% 0 100% 0;background:#6f9580;transform:rotate(-33deg);}
.bm-history__media--nature .bm-history__fallback i{left:49%;top:22%;width:2px;height:58%;background:#3e6555;transform:rotate(33deg);}
.bm-history__media--abstract{background:linear-gradient(135deg,#d8bdc1,#bedbe0 55%,#e3d099);}
.bm-history__media--abstract .bm-history__fallback span{left:28%;top:29%;width:44%;height:44%;border-radius:50% 15% 50% 15%;background:var(--history-accent);transform:rotate(45deg);}
.bm-history__media--abstract .bm-history__fallback i{left:45%;top:25%;width:10px;height:10px;border-radius:50%;background:var(--history-ink);}
.bm-history__media--future{background:linear-gradient(145deg,#e5e8e8,#c4d7dc);}
.bm-history__media--future .bm-history__fallback span{width:42%;height:42%;border:2px solid var(--history-ink);border-radius:50%;}
.bm-history__media--future .bm-history__fallback i{width:14%;height:14%;border-radius:50%;background:var(--history-accent);}
.bm-history__reveal{opacity:1;transform:none;}
@media (max-width:900px){
	.bm-history-page{padding:0 var(--bm-page-gutter);}
	.bm-history__item{grid-template-columns:minmax(0,1fr) 160px minmax(0,1fr);column-gap:22px;}
	.bm-history__media{width:154px;}
	.bm-history__content p{font-size:var(--bm-text-base);}
}
@media (max-width:767px){
	.bm-history-page{margin:48px auto 70px;padding:0 var(--bm-page-gutter);}
	.bm-history__timeline{margin-top:70px;padding-left:42px;}
	.bm-history__line{top:76px;bottom:76px;left:14px;transform:none;}
	.bm-history__item,.bm-history__item--left,.bm-history__item--right{display:grid;grid-template-columns:76px minmax(0,1fr);align-items:start;min-height:0;margin-top:68px!important;}
	.bm-history__item:first-child{margin-top:0!important;}
	.bm-history__node-wrap{grid-column:1;grid-row:1;min-height:76px;align-items:flex-start;justify-content:flex-start;}
	.bm-history__dot{left:6px;top:31px;width:14px;height:14px;border-width:3px;}
	.bm-history__media{width:76px;border-width:5px;}
	.bm-history__slot,.bm-history__slot--left,.bm-history__slot--right{grid-column:2;grid-row:1;display:block;text-align:left;}
	.bm-history__slot:empty{display:none;}
	.bm-history__content{max-width:none;padding-top:2px;}
	.bm-history__date{margin-bottom:8px;}
	.bm-history__content h2{margin-bottom:9px;}
	.bm-history__content p{font-size:var(--bm-text-base);line-height:var(--bm-leading-body);}
}
@media (prefers-reduced-motion:reduce){
	.bm-history__reveal{opacity:1;transform:none;transition:none;}
	.bm-history__media,.bm-history__line-progress{transition:none;}
}

/* ---------- About page: bento/asymmetric redesign ---------- */
.bm-about-page{
	--about-paper:#fff6ef;
	--about-ink:#13212a;
	--about-muted:#617079;
	--about-line:#d7dedc;
	--about-accent:#f6c744;
	--about-soft:#fdeeb4;
	--about-blue:#9ed9e2;
	--about-coral:#f4a88e;
	background:var(--about-paper);
	color:var(--about-ink);
	font-family:var(--bm-font-body),Arial,sans-serif;
}
.bm-about-page *{box-sizing:border-box;}
.bm-about-page h1,.bm-about-page h2,.bm-about-page h3{margin:0 0 0;color:var(--about-ink);font-family:var(--bm-font-heading),Arial,sans-serif;font-weight:700;letter-spacing:-.03em;}
.bm-about-page p{margin:0;}
.bm-about-page em{color:var(--about-ink);font-style:normal;text-decoration:underline;text-decoration-color:var(--about-accent);text-decoration-thickness:.1em;text-underline-offset:.08em;}

.bm-about-container{width:min(1180px,calc(100% - var(--bm-page-gutter) - var(--bm-page-gutter)));margin:0 auto;}
.bm-about-section{padding:clamp(96px,11vw,160px) 0;}
.bm-about-section--tinted{background:#f3ede2;}

/* Buttons: one shared high-contrast CTA component */
.bm-about-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:14px 30px;border:2px solid var(--about-ink);border-radius:999px;font:700 20px/1.35 var(--bm-font-body),Arial,sans-serif;text-decoration:none;cursor:pointer;transition:transform .18s ease,background-color .18s ease,color .18s ease,box-shadow .18s ease;}
.bm-about-btn--primary{background:var(--about-accent);color:var(--about-ink);}
.bm-about-btn--primary:hover{background:#ffd75e;transform:translateY(-2px);box-shadow:0 6px 0 rgba(19,33,42,.14);}
.bm-about-btn--outline{background:transparent;color:var(--about-ink);}
.bm-about-btn--outline:hover{background:var(--about-ink);color:var(--about-paper);transform:translateY(-2px);}
.bm-about-btn:focus-visible{outline:3px solid var(--about-ink);outline-offset:3px;}
.bm-about-btn:active{transform:translateY(0);box-shadow:none;}
.bm-about-btn--lg{padding:18px 38px;font-size:var(--bm-text-base);}
.bm-about-text-link{display:inline-flex;align-items:center;gap:10px;color:var(--about-ink);font-size:var(--bm-text-base);font-weight:700;line-height:1.35;text-decoration:none;border-bottom:1px solid var(--about-ink);padding-bottom:4px;transition:opacity .18s ease;}
.bm-about-text-link:hover{opacity:.7;}

/* Hero */
.bm-about-hero{padding-top:clamp(56px,8vw,104px);}
.bm-about-hero__copy{max-width:840px;}
.bm-about-hero h1{max-width:820px;font-size:var(--bm-text-display);line-height:var(--bm-leading-heading-tight);letter-spacing:-.04em;}
.bm-about-hero__intro{max-width:52ch;margin-top:28px;color:var(--about-muted);font-size:var(--bm-text-base);line-height:var(--bm-leading-body);}
.bm-about-hero__actions{display:flex;flex-wrap:wrap;align-items:center;gap:24px;margin-top:40px;}

/* Section intros */
.bm-about-section-intro{max-width:760px;margin-bottom:clamp(56px,7vw,96px);}
.bm-about-section-intro h2{font-size:var(--bm-heading-section);line-height:var(--bm-leading-heading-tight);}

/* Bento asymmetric grid for the 3 chapters */
.bm-about-bento{display:grid;grid-template-columns:96px minmax(0,1.25fr) minmax(260px,.75fr);align-items:start;gap:clamp(24px,3vw,44px);}
.bm-about-bento__num{grid-column:1;grid-row:1;font-family:var(--bm-font-heading),Arial,sans-serif;font-size:var(--bm-heading-section);font-weight:700;line-height:var(--bm-leading-heading-tight);color:var(--about-accent);-webkit-text-stroke:1.5px var(--about-ink);}
.bm-about-bento__main{grid-column:2;grid-row:1;}
.bm-about-bento__aside{grid-column:3;grid-row:1;}
.bm-about-bento__main h2,.bm-about-bento__main h3{font-size:var(--bm-heading-section);line-height:var(--bm-leading-heading);margin-bottom:24px;}
.bm-about-bento__main p{max-width:64ch;color:var(--about-muted);font-size:var(--bm-text-base);line-height:var(--bm-leading-body);}

/* Chapter 2: mirrored order for visible asymmetry */
.bm-about-bento--2{grid-template-columns:minmax(260px,.75fr) minmax(0,1.25fr) 96px;}
.bm-about-bento--2 .bm-about-bento__aside{grid-column:1;grid-row:1;}
.bm-about-bento--2 .bm-about-bento__main{grid-column:2;grid-row:1;}
.bm-about-bento--2 .bm-about-bento__num{grid-column:3;grid-row:1;justify-self:end;}

/* Chapter 3: number + single content column, CTA lives inside main */
.bm-about-bento--3{grid-template-columns:96px minmax(0,1fr);}
.bm-about-bento--3 .bm-about-bento__main .bm-about-btn{margin-top:32px;}

.bm-about-quote{margin:0;padding:26px 28px;border:1.5px solid var(--about-line);border-left:5px solid var(--about-coral);border-radius:22px;background:#fff;}
.bm-about-quote p{font-size:var(--bm-text-base);line-height:var(--bm-leading-body);font-weight:500;}
.bm-about-list{display:grid;gap:0;margin:0;padding:8px 26px;border:1.5px solid var(--about-line);border-radius:22px;background:rgba(255,255,255,.6);list-style:none;}
.bm-about-list li{display:flex;gap:16px;align-items:center;border-bottom:1px solid var(--about-line);padding:14px 0;color:var(--about-ink);font-size:var(--bm-text-base);font-weight:500;line-height:var(--bm-leading-body);}
.bm-about-list li:last-child{border-bottom:0;}
.bm-about-list li span{color:var(--about-muted);font-size:var(--bm-text-caption);line-height:var(--bm-leading-caption);}

/* History timeline: refined spacing/contrast, structure untouched */
.bm-history__timeline{margin-top:0;}
.bm-about-history__heading{max-width:720px;margin-bottom:clamp(56px,7vw,88px);}
.bm-about-history__heading h2{font-size:var(--bm-heading-section);line-height:var(--bm-leading-heading-tight);margin-bottom:20px;}
.bm-about-history__heading p{max-width:48ch;color:var(--about-muted);font-size:var(--bm-text-base);line-height:var(--bm-leading-body);}
.bm-history__line{background:var(--about-line);}
.bm-history__line-progress{background:var(--about-ink);}
.bm-history__category{color:var(--about-muted);}
.bm-history__date{display:inline-block;padding:6px 16px;border-radius:999px 999px 999px 4px;background:var(--about-accent);color:var(--about-ink);font-weight:700;}
.bm-history__content h2{font-family:var(--bm-font-heading),Arial,sans-serif;}
.bm-history__content p{color:var(--about-muted);}
.bm-history__marker{background:var(--about-ink);}

/* Soft rounded divider between sections, for slower narrative pacing */
.bm-about-section+.bm-about-section{position:relative;}
.bm-about-section+.bm-about-section::before{content:"";position:absolute;top:0;left:50%;width:64px;height:64px;margin-top:-32px;transform:translateX(-50%) rotate(45deg);border-radius:16px;background:var(--about-paper);border:2px solid var(--about-line);}

/* Closing CTA panel: two-column on desktop, stacked on mobile */
.bm-about-cta__panel{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:32px;padding:clamp(48px,6vw,72px) clamp(32px,6vw,72px);border-radius:32px;background:var(--about-ink);color:var(--about-paper);text-align:left;}
.bm-about-cta__panel h2{flex:1 1 320px;color:var(--about-paper);font-size:var(--bm-heading-section);line-height:var(--bm-leading-heading);max-width:20ch;margin:0;}
.bm-about-cta__actions{display:flex;flex:0 0 auto;justify-content:center;margin-top:0;}
@media (max-width:700px){
	.bm-about-cta__panel{flex-direction:column;text-align:center;}
	.bm-about-cta__panel h2{max-width:none;}
}

/* assets/about-story.js is not enqueued anywhere in this theme, so reveal-on-scroll
 * has no script to drive it — keep content always visible rather than gated on JS. */
.bm-about-reveal,.bm-history__reveal{opacity:1;transform:none;}

@media (prefers-reduced-motion:reduce){
	.bm-about-btn,.bm-about-text-link{transition:none;}
}

/* Skip style/layout/paint work for large sections until they approach the
 * viewport. The intrinsic fallback keeps the initial document geometry stable. */
@supports (content-visibility:auto){
	.marquee-section,
	.bm-home-recommended-wrap,
	.bm-recommended-products-wrap,
	.bm-home-blog,
	.bm-cta-banner,
	.wtb-partners,
	.single-product .babymoby-pdp-sections,
	.site-footer-shell{
		content-visibility:auto;
	}
	.marquee-section{contain-intrinsic-size:auto 240px;}
	.bm-home-recommended-wrap,.bm-recommended-products-wrap{contain-intrinsic-size:auto 520px;}
	.bm-home-blog{contain-intrinsic-size:auto 700px;}
	.bm-cta-banner{contain-intrinsic-size:auto 350px;}
	.wtb-partners{contain-intrinsic-size:auto 600px;}
	.single-product .babymoby-pdp-sections{contain-intrinsic-size:auto 1200px;}
	.site-footer-shell{contain-intrinsic-size:auto 480px;}
}


@media (max-width:1050px){
	.bm-about-bento,.bm-about-bento--2,.bm-about-bento--3{grid-template-columns:72px minmax(0,1fr);}
	.bm-about-bento .bm-about-bento__aside,.bm-about-bento--2 .bm-about-bento__aside{grid-column:2;grid-row:2;justify-self:stretch;margin-top:8px;}
	.bm-about-bento .bm-about-bento__main,.bm-about-bento--2 .bm-about-bento__main{grid-column:2;grid-row:1;}
	.bm-about-bento--2 .bm-about-bento__num{grid-column:1;grid-row:1;justify-self:start;}
}

@media (max-width:900px){
	.bm-about-bento,.bm-about-bento--2,.bm-about-bento--3{grid-template-columns:minmax(0,1fr);gap:28px;}
	.bm-about-bento__num,.bm-about-bento--2 .bm-about-bento__num{grid-column:1;grid-row:1;justify-self:start;}
	.bm-about-bento__main,.bm-about-bento--2 .bm-about-bento__main{grid-column:1;grid-row:2;}
	.bm-about-bento__aside,.bm-about-bento--2 .bm-about-bento__aside{grid-column:1;grid-row:3;margin-top:0;}
}

@media (max-width:767px){
	.bm-about-container{width:min(calc(100% - var(--bm-page-gutter) - var(--bm-page-gutter)),640px);}
	.bm-about-section{padding:clamp(72px,10vw,104px) 0;}
	.bm-about-hero h1{font-size:clamp(48px,13vw,64px);}
	.bm-about-hero__actions{gap:16px;}
	.bm-about-hero__actions .bm-about-btn{width:100%;max-width:320px;}
	.bm-about-cta__panel{border-radius:24px;padding:44px 24px;}
	.bm-about-cta__actions .bm-about-btn{width:100%;max-width:320px;}
}

/* ---------- Testimonials page hero ---------- */
.bm-reviews-hero{position:relative;overflow:hidden;display:flex;flex-direction:column;height:100vh;height:100svh;padding:48px 0 0;background:var(--bm-ink-50);}
.bm-reviews-hero__intro{position:relative;z-index:3;flex:0 0 auto;width:min(100% - 40px,var(--bm-page-title-max));margin:0 auto;padding:0 var(--bm-space-4) clamp(32px,5vw,48px);text-align:center;}
.bm-reviews-hero__eyebrow{margin:0 0 var(--bm-space-3);font-family:var(--bm-font-body);font-size:var(--bm-text-sm,14px);font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--bm-tan-400);}
.bm-reviews-hero__title{margin:0 0 var(--bm-space-4);font-family:var(--bm-font-heading);font-size:var(--bm-text-4xl);line-height:1.05;color:var(--bm-ink-900);}
.bm-reviews-hero__lead{margin:0 auto;max-width:var(--bm-page-subtitle-max);font-family:var(--bm-font-body);font-size:var(--bm-text-lg,18px);line-height:1.6;color:var(--bm-ink-500);}

.bm-reviews-hero__wall{position:relative;flex:1 1 auto;min-height:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:var(--bm-space-5);padding:0 var(--bm-space-6) 0;margin:0 auto;width:min(100% - 24px,1760px);mask-image:linear-gradient(to bottom,transparent,#000 12%,#000 88%,transparent);-webkit-mask-image:linear-gradient(to bottom,transparent,#000 12%,#000 88%,transparent);}
.bm-reviews-hero__column{overflow:hidden;}
.bm-reviews-hero__column--3,
.bm-reviews-hero__column--4,
.bm-reviews-hero__column--5{display:none;}
.bm-reviews-hero__track{display:flex;flex-direction:column;gap:var(--bm-space-5);animation:bm-reviews-scroll var(--bm-marquee-duration,30s) linear infinite;will-change:transform;}
.bm-reviews-hero__column--2 .bm-reviews-hero__track,
.bm-reviews-hero__column--4 .bm-reviews-hero__track{animation-direction:reverse;}
@keyframes bm-reviews-scroll{
	from{transform:translateY(0);}
	/* The track contains two copies plus the gap between them. Move by one
	 * copy and that inter-copy gap, otherwise each cycle jumps by half a gap. */
	to{transform:translateY(calc(-50% - (var(--bm-drift-loop-gap, var(--bm-space-5)) / 2)));}
}

.bm-review-photo{margin:0;overflow:hidden;border-radius:var(--radius-md);border:1.5px solid var(--bm-ink-100);background:var(--bm-bg);box-shadow:0 8px 20px rgba(16,25,33,.06);}
.bm-review-photo__trigger{position:relative;display:block;width:100%;padding:0;border:0;background:transparent;color:inherit;cursor:zoom-in;overflow:hidden;}
.bm-review-photo__trigger img{transition:transform .5s cubic-bezier(.22,1,.36,1),filter .5s ease;}
.bm-review-photo__trigger::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 55%,rgba(16,25,33,.32));opacity:0;transition:opacity .35s ease;pointer-events:none;}
.bm-review-photo__hint{position:absolute;right:12px;bottom:10px;z-index:1;padding:5px 9px;border-radius:var(--radius-pill);background:rgba(255,255,255,.9);font-family:var(--bm-font-body);font-size:12px;line-height:1;color:var(--bm-ink-900);opacity:0;transform:translateY(5px);transition:opacity .35s ease,transform .35s ease;pointer-events:none;}
.bm-review-photo__trigger:hover img,.bm-review-photo__trigger:focus-visible img{transform:scale(1.07);filter:saturate(1.06);}
.bm-review-photo__trigger:hover::after,.bm-review-photo__trigger:focus-visible::after,.bm-review-photo__trigger:hover .bm-review-photo__hint,.bm-review-photo__trigger:focus-visible .bm-review-photo__hint{opacity:1;}
.bm-review-photo__trigger:hover .bm-review-photo__hint,.bm-review-photo__trigger:focus-visible .bm-review-photo__hint{transform:translateY(0);}
.bm-review-photo__trigger:focus-visible{outline:3px solid var(--bm-yellow-500);outline-offset:3px;}
.bm-reviews-gallery__grid .bm-review-photo.bm-reveal-pending{opacity:0;transition:opacity .6s ease,transform .6s ease;}
.bm-reviews-gallery__grid .bm-review-photo.bm-reveal-pending.bm-reveal--up{transform:translateY(24px);}
.bm-reviews-gallery__grid .bm-review-photo.bm-reveal-pending.bm-reveal--left{transform:translateX(-32px);}
.bm-reviews-gallery__grid .bm-review-photo.bm-reveal-pending.bm-reveal--right{transform:translateX(32px);}
.bm-reviews-gallery__grid .bm-review-photo.bm-reveal-pending.is-visible{opacity:1;transform:translate(0,0);}
@media (prefers-reduced-motion: reduce){
	.bm-reviews-gallery__grid .bm-review-photo.bm-reveal-pending{transition:none;}
}
.bm-review-photo img{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;}

@media (min-width:768px){
	.bm-reviews-hero__wall{grid-template-columns:repeat(3,minmax(0,1fr));}
	.bm-reviews-hero__column--3{display:block;}
}

@media (min-width:1100px){
	.bm-reviews-hero__wall{grid-template-columns:repeat(5,minmax(0,1fr));}
	.bm-reviews-hero__column--4,
	.bm-reviews-hero__column--5{display:block;}
}

@media (max-width:767px){
	.wtb-container{padding-top:32px;}
	.bm-reviews-hero{height:auto;}
	.bm-reviews-hero{padding-top:32px;}
	.bm-reviews-hero__wall{grid-template-columns:1fr;height:clamp(360px,90vw,460px);flex:0 0 auto;}
	.bm-reviews-hero__column--2{display:none;}
}

@media (prefers-reduced-motion:reduce){
	.bm-reviews-hero__track{animation:none;}
}

/* ---------- Testimonials page gallery ---------- */
.bm-reviews-hero{position:sticky;top:0;z-index:1;}
.bm-reviews-gallery{position:relative;z-index:2;margin-top:0;padding:clamp(48px,7vw,80px) var(--bm-space-6) 0;border-radius:24px 24px 0 0;background:var(--bm-bg);background-clip:padding-box;}
main:has(.bm-reviews-hero) .bm-cta-banner{position:relative;z-index:2;}
main:has(.bm-reviews-hero) .bm-testimonial-cta-shell{position:relative;z-index:2;padding-top:clamp(56px,7vw,96px);background:var(--bm-bg);}
main:has(.bm-reviews-hero) .bm-testimonial-cta-shell .bm-cta-banner{margin-top:0;}
body:has(.bm-reviews-hero) .site-footer-shell{position:relative;z-index:3;}
.bm-reviews-gallery__intro{width:min(100% - 24px,1760px);margin:0 auto clamp(24px,3vw,36px);text-align:center;}
.bm-reviews-gallery__title{margin:0;font-family:var(--bm-font-heading);color:var(--bm-ink-900);}
.bm-reviews-gallery__grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:var(--bm-space-5);width:min(100% - 24px,1760px);margin:0 auto;}
.bm-review-lightbox[hidden]{display:none;}
.bm-review-lightbox{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:clamp(20px,5vw,64px);}
.bm-review-lightbox__backdrop{position:absolute;inset:0;border:0;background:rgba(16,25,33,.78);cursor:zoom-out;}
.bm-review-lightbox__dialog{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;max-width:min(92vw,1100px);max-height:90svh;outline:none;animation:bm-review-lightbox-in .28s cubic-bezier(.22,1,.36,1) both;}
.bm-review-lightbox__image{display:block;width:auto;max-width:92vw;max-height:86svh;object-fit:contain;border:5px solid var(--bm-bg);border-radius:var(--radius-md);box-shadow:0 24px 70px rgba(0,0,0,.28);}
.bm-review-lightbox__close{position:absolute;top:-18px;right:-18px;z-index:2;display:grid;place-items:center;width:42px;height:42px;padding:0;border:2px solid var(--bm-ink-900);border-radius:50%;background:var(--bm-bg);color:var(--bm-ink-900);font-size:28px;line-height:1;cursor:pointer;box-shadow:0 8px 20px rgba(0,0,0,.16);}
.bm-review-lightbox__close:hover,.bm-review-lightbox__close:focus-visible{background:var(--bm-yellow-500);}
.bm-review-lightbox-open{overflow:hidden;}
@keyframes bm-review-lightbox-in{from{opacity:0;transform:scale(.94)}to{opacity:1;transform:scale(1)}}
@media (prefers-reduced-motion:reduce){.bm-review-photo__trigger img,.bm-review-photo__trigger::after,.bm-review-photo__hint{transition:none}.bm-review-lightbox__dialog{animation:none}}

@media (max-width:1099px){
	.bm-reviews-gallery__grid{grid-template-columns:repeat(3,minmax(0,1fr));}
}

@media (max-width:600px){
	.bm-reviews-gallery__grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}

@media (max-width:700px){
	main:has(.bm-reviews-hero) .bm-testimonial-cta-shell{padding-top:40px;}
}

/* ---------- Standard heading + supporting copy spacing ---------- */
:is(
	.contact-panel__intro,
	.contact-faq__sidebar,
	.wtb-partners__header,
	.empty-state,
	.bm-home-highlight__copy,
	.marquee-header,
	.babymoby-newsletter-content
) > h2{
	margin-block:0;
}

:is(
	.contact-panel__intro,
	.contact-faq__sidebar,
	.wtb-partners__header,
	.empty-state,
	.bm-home-highlight__copy,
	.marquee-header,
	.babymoby-newsletter-content
) > h2 + p{
	margin-block:6px 0;
}

/* Match the existing last-child specificity used by the partner intro. */
.wtb-partners__header > h2 + p:last-child{
	margin-block:6px 0;
}

/* Preserve the homepage override while bringing it onto the shared rhythm. */
.bm-home-highlight__copy > h2 + p:not(.bm-home-label){
	margin-top:6px!important;
}
