.bm-overlay-open { overflow: hidden; }
.bm-product-grid { display: grid; grid-template-columns: repeat(var(--bm-columns, 4), minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 2rem); max-width: var(--wp--style--global--wide-size); margin-inline: auto; }
.bm-product-card { position: relative; overflow: hidden; background: var(--bm-milk, #fffdf8); border: 1px solid var(--bm-line, rgba(105,69,47,.15)); border-radius: var(--bm-radius, 22px); box-shadow: 0 12px 32px rgba(63,43,31,.05); transition: transform .25s ease, box-shadow .25s ease; }
.bm-product-card:hover { box-shadow: var(--bm-shadow); transform: translateY(-5px); }
.bm-product-card__image { position: relative; display: block; aspect-ratio: 1/1.08; overflow: hidden; background: #f2e4d2; }
.bm-product-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.bm-product-card:hover .bm-product-card__image img { transform: scale(1.045); }
.bm-product-badge { position: absolute; z-index: 2; top: .8rem; left: .8rem; padding: .45rem .7rem; color: #fff; background: #853b2b; border-radius: 99px; font-size: .7rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.bm-product-card__body { padding: 1.2rem; }
.bm-product-card h3 { min-height: 2.25em; margin: 0; font-size: clamp(1.15rem, 1vw + .8rem, 1.4rem); line-height: 1.15; }
.bm-product-card h3 a { color: inherit; }
.bm-product-card__note { min-height: 3em; margin: .65rem 0; color: var(--bm-muted, #70645b); font-size: .88rem; line-height: 1.5; }
.bm-product-card__meta { display: flex; gap: .75rem; align-items: center; justify-content: space-between; margin-top: 1rem; }
.bm-product-price { font-weight: 800; }
.bm-product-action, .bm-primary-button, .bm-secondary-button, .bm-gifting-form button, .bm-newsletter button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: .65rem 1rem; color: #fff; background: #853b2b; border: 1px solid #853b2b; border-radius: 999px; cursor: pointer; font: inherit; font-weight: 750; text-decoration: none; }
.bm-product-action.is-loading { opacity: .65; cursor: wait; }
.bm-product-action.is-loading::after { width: .8rem; height: .8rem; margin-left: .45rem; border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%; content: ''; animation: bm-spin .65s linear infinite; }
.bm-sold-out { color: #a33c32; font-size: .8rem; font-weight: 800; text-transform: uppercase; }
.bm-empty-state, .bm-form-notice { padding: 1rem 1.2rem; background: #fffdf8; border: 1px solid rgba(105,69,47,.15); border-radius: 12px; }
.bm-form-notice--success { color: #28593d; border-color: #397151; }
.bm-form-notice--error { color: #853029; border-color: #a33c32; }
.bm-review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2rem; }
.bm-review-card { margin: 0; padding: 2rem; background: #fff8ec; border-radius: 18px; }
.bm-review-card blockquote { margin: 1rem 0; font-family: var(--wp--preset--font-family--display); font-size: 1.25rem; }
.bm-review-stars { display: flex; gap: .28rem; color: #9a6f10; }
.bm-rating-mark { width: 18px; height: 18px; fill: currentColor; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; }
.bm-rating-mark path { fill: none; stroke: #fffdf8; }
.bm-rating-mark.is-empty { fill: none; opacity: .35; }
.bm-rating-mark.is-empty path { stroke: currentColor; }
.bm-social-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: .7rem; max-width: var(--wp--style--global--wide-size); margin-inline: auto; }
.bm-social-grid figure { aspect-ratio: 1; margin: 0; overflow: hidden; border-radius: 16px; }
.bm-social-grid img { width: 100%; height: 100%; object-fit: cover; }
.bm-drawer-shell { position: fixed; z-index: 9998; inset: 0; }
.bm-drawer-backdrop { position: absolute; inset: 0; background: rgba(19,25,22,.55); opacity: 0; transition: opacity .22s ease; }
.bm-cart-drawer { position: absolute; top: 0; right: 0; width: min(100%, 460px); height: 100%; overflow-y: auto; color: #24322b; background: #fffdf8; box-shadow: -20px 0 60px rgba(0,0,0,.16); transform: translateX(100%); transition: transform .22s ease; }
.bm-drawer-shell.is-open .bm-drawer-backdrop { opacity: 1; }
.bm-drawer-shell.is-open .bm-cart-drawer { transform: translateX(0); }
.bm-drawer-header { position: sticky; z-index: 2; top: 0; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem; background: #fffdf8; border-bottom: 1px solid rgba(105,69,47,.15); }
.bm-drawer-header h2 { margin: 0; font-size: 1.8rem; }
.bm-icon-button { display: grid; width: 44px; height: 44px; place-items: center; padding: 0; color: #24322b; background: transparent; border: 1px solid rgba(105,69,47,.2); border-radius: 50%; cursor: pointer; font-size: 1.65rem; }
.bm-cart-content { padding: 0 1.25rem 1.5rem; }
.bm-cart-empty { padding: 3rem 1rem; color: #70645b; text-align: center; }
.bm-cart-items { padding: 0; list-style: none; }
.bm-cart-item { display: grid; grid-template-columns: 88px 1fr; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid rgba(105,69,47,.13); }
.bm-cart-item img { width: 88px; height: 88px; object-fit: cover; border-radius: 12px; }
.bm-cart-item__details { display: grid; gap: .35rem; }
.bm-cart-item__details small { color: #70645b; }
.bm-cart-item__controls { display: flex; align-items: center; justify-content: space-between; }
.bm-cart-item__controls input { width: 4rem; min-height: 40px; padding: .35rem; border: 1px solid rgba(105,69,47,.25); border-radius: 8px; }
.bm-cart-remove { min-height: 40px; color: #853b2b; background: transparent; border: 0; cursor: pointer; text-decoration: underline; }
.bm-cart-footer { position: sticky; bottom: 0; padding-top: 1.25rem; background: #fffdf8; }
.bm-cart-total { display: flex; justify-content: space-between; padding: 1rem 0; border-top: 1px solid rgba(105,69,47,.15); font-size: 1.1rem; }
.bm-cart-actions { display: grid; grid-template-columns: 1fr 1.25fr; gap: .75rem; }
.bm-secondary-button { color: #853b2b; background: transparent; }
.bm-quick-view { width: min(960px, calc(100% - 2rem)); max-height: calc(100% - 2rem); padding: 0; color: #24322b; background: #fffdf8; border: 0; border-radius: 24px; box-shadow: 0 30px 80px rgba(0,0,0,.24); }
.bm-quick-view::backdrop { background: rgba(19,25,22,.58); backdrop-filter: blur(5px); }
.bm-quick-view__close { position: absolute; z-index: 2; top: 1rem; right: 1rem; background: #fffdf8; }
.bm-quick-view__content { display: grid; grid-template-columns: 1fr 1fr; min-height: 500px; }
.bm-quick-view__media { min-height: 500px; background: #f2e4d2; }
.bm-quick-view__image { width: 100%; height: 100%; object-fit: cover; }
.bm-quick-view__info { padding: clamp(2rem, 5vw, 4rem); }
.bm-quick-view__info h2 { margin-top: 0; font-size: clamp(2rem, 4vw, 3.5rem); }
.bm-quick-view__price { margin-bottom: 1rem; font-size: 1.2rem; font-weight: 800; }
.bm-variation-form { display: grid; gap: .9rem; margin: 1.5rem 0; }
.bm-variation-form label { display: grid; gap: .35rem; font-weight: 750; }
.bm-variation-form select, .bm-gifting-form :where(input,select,textarea), .bm-newsletter input { width: 100%; min-height: 46px; padding: .7rem .8rem; color: #24322b; background: #fff; border: 1px solid rgba(105,69,47,.25); border-radius: 10px; font: inherit; }
.bm-product-facts { display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1rem; padding-top: 1.25rem; border-top: 1px solid rgba(105,69,47,.15); font-size: .88rem; }
.bm-product-facts dt { font-weight: 800; }
.bm-product-facts dd { margin: 0; color: #70645b; }
.bm-gifting-form { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; max-width: 1040px; margin: 3rem auto 0; padding: clamp(1.5rem, 4vw, 3rem); background: #fffdf8; border-radius: 24px; box-shadow: 0 18px 50px rgba(63,43,31,.1); }
.bm-gifting-form > div { display: grid; align-content: start; gap: .35rem; }
.bm-gifting-form label { font-size: .85rem; font-weight: 800; }
.bm-form-wide { grid-column: 1/-1; }
.bm-newsletter { display: flex; gap: .5rem; }
.bm-newsletter input { min-width: 0; }
@keyframes bm-spin { to { transform: rotate(360deg); } }
@media (max-width: 900px) { .bm-product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } .bm-review-grid { grid-template-columns: 1fr; } .bm-gifting-form { grid-template-columns: 1fr 1fr; } .bm-social-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .bm-product-grid { gap: .75rem; } .bm-product-card__body { padding: .85rem; } .bm-product-card__note { display: none; } .bm-product-card__meta { align-items: flex-start; flex-direction: column; } .bm-product-action { width: 100%; } .bm-quick-view { width: 100%; max-height: 92%; margin: auto 0 0; border-radius: 24px 24px 0 0; } .bm-quick-view__content { grid-template-columns: 1fr; } .bm-quick-view__media { min-height: 280px; max-height: 38vh; } .bm-quick-view__info { padding: 1.5rem; } .bm-gifting-form { grid-template-columns: 1fr; } .bm-form-wide { grid-column: auto; } }
@media (prefers-reduced-motion: reduce) { .bm-product-card, .bm-product-card__image img, .bm-drawer-backdrop, .bm-cart-drawer { transition: none; } }

/* Futuristic product surfaces */
.bm-product-grid { gap: clamp(1rem,2vw,1.65rem); }
.bm-product-card { isolation: isolate; background: rgba(255,253,248,.72); border-color: rgba(255,255,255,.84); border-radius: 28px; box-shadow: 0 18px 55px rgba(48,34,26,.08); backdrop-filter: blur(14px); }
.bm-product-card::after { position: absolute; z-index: -1; right: -35%; bottom: -45%; width: 12rem; height: 12rem; background: radial-gradient(circle,rgba(212,164,59,.2),transparent 67%); content: ''; transition: transform .5s ease; }
.bm-product-card:hover { box-shadow: 0 26px 70px rgba(48,34,26,.16); transform: translateY(-9px); }
.bm-product-card:hover::after { transform: scale(1.25); }
.bm-product-card__image { aspect-ratio: 1/.98; margin: .48rem; border-radius: 22px; }
.bm-product-card__image::after { position: absolute; inset: 0; background: linear-gradient(to top,rgba(20,28,24,.24),transparent 42%); content: ''; pointer-events: none; }
.bm-product-badge { top: 1rem; left: 1rem; color: #fffaf1; background: rgba(20,28,24,.72); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(10px); }
.bm-product-card__body { padding: 1.05rem 1.25rem 1.35rem; }
.bm-product-card h3 { min-height: auto; font-size: clamp(1.25rem,1vw + .9rem,1.6rem); }
.bm-product-card__note { color: #77695f; }
.bm-product-action { width: 3rem; min-width: 3rem; height: 3rem; padding: 0; overflow: hidden; color: transparent; background: #17221d; border-color: #17221d; border-radius: 50%; font-size: 0; }
.bm-product-action::before { color: #fff; content: '+'; font-size: 1.5rem; font-weight: 400; }
.bm-product-action:hover { background: #b95e3f; border-color: #b95e3f; transform: rotate(90deg); }
.bm-product-action.is-loading::before { display: none; }
.bm-product-price { color: #853b2b; }
.bm-quick-view { background: rgba(255,253,248,.96); backdrop-filter: blur(22px); }
.bm-cart-drawer { background: rgba(255,253,248,.96); backdrop-filter: blur(22px); }
