/* Beaver & Maya — styles for the custom shop pages and admin.
   Builds on the tokens in parent-theme.css. */

.bm-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.bm-hp { position: absolute; left: -9999px; }

/* Flash messages */
.bm-flash { margin: 24px 0 0; padding: 14px 18px; border-radius: var(--bm-radius-sm); font-size: 14px; border: 1px solid; }
.bm-flash-success { background: #E8F5E9; color: #2E7D32; border-color: #A5D6A7; }
.bm-flash-error { background: #FFEBEE; color: #C62828; border-color: #EF9A9A; }

/* Product images (theme SVG bottles) */
.bm-product-thumb-wrap img.bm-product-img { max-height: 240px; width: auto; max-width: 80%; transition: var(--bm-transition); }
.bm-product-card:hover img.bm-product-img { transform: scale(1.04); }
.bm-product-name a { color: inherit; }

/* Shop archive */
.bm-shop-section { padding: 50px 0 90px; }
.bm-shop-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 18px; }
.bm-filter-chip { padding: 8px 18px; border: 1px solid var(--bm-border); border-radius: 30px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; font-weight: 500; color: var(--bm-secondary); background: #fff; transition: var(--bm-transition); }
.bm-filter-chip:hover, .bm-filter-chip.is-active { background: var(--bm-primary); border-color: var(--bm-primary); color: #fff; }
.bm-shop-count { text-align: center; font-size: 12px; color: var(--bm-muted); margin-bottom: 34px; letter-spacing: .06em; text-transform: uppercase; }
.bm-empty-note { text-align: center; color: var(--bm-secondary); padding: 40px 0; }
.bm-empty-note a { text-decoration: underline; }

/* Single product */
.bm-single-section { padding: 40px 0 90px; }
.bm-breadcrumb { font-size: 12px; color: var(--bm-muted); margin-bottom: 30px; letter-spacing: .04em; }
.bm-breadcrumb a:hover { color: var(--bm-primary); }
.bm-breadcrumb span { margin: 0 6px; }
.bm-single-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.bm-single-media { position: relative; background: #F2ECE5; border-radius: var(--bm-radius-lg); border: 1px solid var(--bm-border-light); min-height: 520px; display: flex; align-items: center; justify-content: center; padding: 40px; }
.bm-single-media img { max-height: 440px; max-width: 80%; }
.bm-single-title { font-size: 44px; line-height: 1.15; margin: 14px 0 12px; }
.bm-single-price { font-family: var(--bm-font-sans); font-size: 22px; font-weight: 600; margin-bottom: 20px; }
.bm-single-desc { color: var(--bm-secondary); line-height: 1.75; margin-bottom: 28px; }
.bm-single-cart { display: flex; align-items: center; gap: 14px; margin-bottom: 30px; flex-wrap: wrap; }
.bm-qty-label { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.bm-qty-input { width: 78px; padding: 12px 10px; border: 1px solid var(--bm-border); border-radius: var(--bm-radius-sm); background: #fff; font-family: var(--bm-font-sans); font-size: 14px; text-align: center; }
.bm-soldout-note { padding: 14px 18px; background: var(--bm-blush); border-radius: var(--bm-radius-sm); margin-bottom: 30px; color: var(--bm-secondary); }
.bm-highlight-row { margin-bottom: 10px; font-size: 14px; line-height: 1.6; }
.bm-highlight-row:last-child { margin-bottom: 0; }
.bm-related { margin-top: 90px; }

/* Cart page */
.bm-cartpage-section, .bm-checkout-section { padding: 50px 0 90px; }
.bm-cartpage-grid, .bm-checkout-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 40px; align-items: start; }
.bm-cart-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--bm-border); border-radius: var(--bm-radius-md); overflow: hidden; }
.bm-cart-table th { text-align: left; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--bm-muted); padding: 16px; border-bottom: 1px solid var(--bm-border); font-weight: 600; }
.bm-cart-table td { padding: 16px; border-bottom: 1px solid var(--bm-border-light); vertical-align: middle; font-size: 14px; }
.bm-cart-table tr:last-child td { border-bottom: 0; }
.bm-ct-thumb { width: 84px; }
.bm-ct-thumb img { width: 64px; height: 76px; object-fit: contain; background: #F2ECE5; border-radius: var(--bm-radius-sm); padding: 6px; }
.bm-ct-name a { font-family: var(--bm-font-serif); font-size: 19px; display: block; }
.bm-ct-name span { font-size: 11px; color: var(--bm-muted); letter-spacing: .06em; text-transform: uppercase; }
.bm-ct-remove { background: none; border: 0; font-size: 22px; line-height: 1; color: var(--bm-muted); cursor: pointer; padding: 4px 8px; }
.bm-ct-remove:hover { color: #C62828; }
.bm-cart-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.bm-empty-state { text-align: center; padding: 60px 0; }
.bm-empty-state p { font-family: var(--bm-font-serif); font-size: 26px; margin-bottom: 24px; }

/* Summary card + totals */
.bm-summary-card { background: #fff; border: 1px solid var(--bm-border); border-radius: var(--bm-radius-md); padding: 30px; box-shadow: var(--bm-shadow-sm); position: sticky; top: 110px; }
.bm-summary-card h2 { font-size: 26px; margin-bottom: 18px; }
.bm-totals-list { margin: 0 0 22px; }
.bm-totals-list > div { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--bm-border-light); font-size: 14px; color: var(--bm-secondary); }
.bm-totals-list dd { margin: 0; color: var(--bm-primary); font-weight: 500; }
.bm-totals-list .bm-totals-grand { border-bottom: 0; padding-top: 16px; font-size: 17px; color: var(--bm-primary); font-weight: 600; }
.bm-totals-list .bm-totals-grand dd { font-weight: 600; }
.bm-summary-items { list-style: none; margin: 0 0 12px; padding: 0; }
.bm-summary-items li { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--bm-border-light); font-size: 13px; }
.bm-summary-items-plain li { grid-template-columns: 1fr auto; }
.bm-summary-items img { width: 48px; height: 56px; object-fit: contain; background: #F2ECE5; border-radius: var(--bm-radius-sm); padding: 4px; }
.bm-si-name em { color: var(--bm-muted); font-style: normal; }
.bm-si-total { font-weight: 600; }
.bm-summary-note { text-align: center; font-size: 12px; margin-top: 14px; color: var(--bm-muted); }
.bm-payment-box { background: var(--bm-bg); border: 1px solid var(--bm-border-light); border-radius: var(--bm-radius-sm); padding: 16px 18px; margin-bottom: 20px; font-size: 13px; color: var(--bm-secondary); line-height: 1.6; }
.bm-payment-box h3 { font-family: var(--bm-font-sans); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--bm-muted); margin-bottom: 8px; font-weight: 600; }
.bm-payment-box strong { color: var(--bm-primary); }
.bm-payment-box-lg { font-size: 15px; padding: 22px 24px; border-color: var(--bm-accent); }
.bm-form-heading-spaced { margin-top: 30px; }
.bm-form-group small { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--bm-muted); }
.bm-form-group.has-error input, .bm-form-group.has-error select { border-color: #C62828; }
.bm-field-error { color: #C62828; font-size: 12px; margin-top: 6px; }
.bm-order-address { font-style: normal; line-height: 1.7; margin-bottom: 18px; }

@media (max-width: 992px) {
  .bm-single-grid, .bm-cartpage-grid, .bm-checkout-grid { grid-template-columns: 1fr; gap: 30px; }
  .bm-single-media { min-height: 360px; }
  .bm-summary-card { position: static; }
}
@media (max-width: 600px) {
  .bm-single-title { font-size: 32px; }
  .bm-cart-table thead { display: none; }
  .bm-cart-table tr { display: grid; grid-template-columns: 84px 1fr auto; border-bottom: 1px solid var(--bm-border-light); padding: 10px 0; }
  .bm-cart-table td { border: 0; padding: 6px 12px; }
  .bm-cart-table td[data-label]::before { content: attr(data-label) ": "; color: var(--bm-muted); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
  .bm-cart-table td[data-label] { grid-column: 2 / 4; }
}

/* ---------- Admin ---------- */
.bm-admin { background: #F6F3EE; font-family: var(--bm-font-sans); color: var(--bm-primary); margin: 0; }
.bm-admin-bar { background: var(--bm-primary); color: #fff; padding: 14px 28px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.bm-admin-bar .bm-admin-brand { font-family: var(--bm-font-serif); font-size: 22px; margin-right: 12px; }
.bm-admin-bar a { color: #D9D2CA; font-size: 13px; letter-spacing: .04em; }
.bm-admin-bar a:hover, .bm-admin-bar a.is-active { color: #fff; }
.bm-admin-bar form { margin-left: auto; }
.bm-admin-bar button { background: none; border: 1px solid #6b6661; color: #fff; padding: 6px 14px; border-radius: 4px; cursor: pointer; font-size: 12px; }
.bm-admin-main { max-width: 1180px; margin: 0 auto; padding: 32px 28px 80px; }
.bm-admin-main h1 { font-size: 34px; margin-bottom: 22px; }
.bm-admin-card { background: #fff; border: 1px solid var(--bm-border); border-radius: var(--bm-radius-md); padding: 24px; margin-bottom: 24px; }
.bm-admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.bm-admin-table th { text-align: left; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--bm-muted); padding: 10px 12px; border-bottom: 1px solid var(--bm-border); }
.bm-admin-table td { padding: 12px; border-bottom: 1px solid var(--bm-border-light); vertical-align: top; }
.bm-admin-table tr:last-child td { border-bottom: 0; }
.bm-admin-table a { text-decoration: underline; }
.bm-status { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 600; letter-spacing: .04em; background: var(--bm-blush); }
.bm-status-pending { background: #FFF3E0; color: #B26A00; }
.bm-status-paid, .bm-status-processing { background: #E3F2FD; color: #1565C0; }
.bm-status-shipped, .bm-status-completed { background: #E8F5E9; color: #2E7D32; }
.bm-status-cancelled { background: #FFEBEE; color: #C62828; }
.bm-admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 24px; }
.bm-admin-stat { background: #fff; border: 1px solid var(--bm-border); border-radius: var(--bm-radius-md); padding: 20px; }
.bm-admin-stat span { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--bm-muted); margin-bottom: 6px; }
.bm-admin-stat strong { font-family: var(--bm-font-serif); font-size: 30px; font-weight: 500; }
.bm-admin-form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.bm-admin-form .bm-form-group.full { grid-column: 1 / -1; }
.bm-admin-form .bm-form-group { margin-bottom: 16px; }
.bm-admin-actions { display: flex; gap: 12px; align-items: center; margin-top: 8px; }
.bm-admin-login { max-width: 400px; margin: 90px auto; }
.bm-muted { color: var(--bm-muted); font-size: 12px; }
@media (max-width: 800px) { .bm-admin-stats { grid-template-columns: 1fr 1fr; } .bm-admin-form { grid-template-columns: 1fr; } }

/* ---------- Revision 2: sales, category pages, pagination, payment choice ---------- */
.bm-badge-sale { background: #B3261E; color: #fff; }
.bm-price-was { color: var(--bm-muted); font-weight: 400; margin-right: 6px; }
.bm-price-now { color: #B3261E; text-decoration: none; font-weight: 600; }
.bm-header-utilities .bm-util-cart .bm-util-label { margin-right: 2px; }
.bm-hero-meta span { letter-spacing: .08em; }

.bm-cat-img-photo { background-size: cover; background-position: center; }
.bm-page-header-photo { background-size: cover; background-position: center; }
.bm-category-intro { display: flex; gap: 28px; align-items: center; max-width: 860px; margin: 0 auto 30px; background: #fff; border: 1px solid var(--bm-border-light); border-radius: var(--bm-radius-md); padding: 24px; color: var(--bm-secondary); line-height: 1.75; }
.bm-category-intro img { width: 200px; height: 200px; object-fit: cover; border-radius: var(--bm-radius-md); flex: none; }

.bm-pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 50px; flex-wrap: wrap; }
.bm-pagination a, .bm-pagination span { min-width: 40px; padding: 9px 14px; text-align: center; border: 1px solid var(--bm-border); border-radius: var(--bm-radius-sm); font-size: 13px; background: #fff; color: var(--bm-primary); }
.bm-pagination a:hover { border-color: var(--bm-primary); }
.bm-pagination .is-current { background: var(--bm-primary); border-color: var(--bm-primary); color: #fff; }
.bm-pagination .bm-pg-gap { border: 0; background: none; min-width: 0; padding: 9px 4px; }

.bm-pay-option { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; cursor: pointer; }
.bm-pay-option + .bm-pay-option { border-top: 1px solid var(--bm-border-light); }
.bm-pay-option input { margin-top: 4px; }
.bm-pay-option small { display: block; margin-top: 2px; line-height: 1.5; }
.bm-about-cta .bm-btn + .bm-btn { margin-left: 10px; }

/* Admin additions */
.bm-admin-h2 { font-size: 24px; margin-bottom: 14px; }
.bm-admin-thumb { width: 44px; height: 52px; object-fit: contain; background: #F2ECE5; border-radius: 4px; padding: 3px; display: inline-flex; align-items: center; justify-content: center; }
.bm-admin-thumb-icon { font-size: 22px; }
.bm-admin-preview { width: 150px; height: 170px; object-fit: contain; background: #F2ECE5; border: 1px solid var(--bm-border); border-radius: var(--bm-radius-md); padding: 8px; display: inline-flex; align-items: center; justify-content: center; font-size: 54px; flex: none; }
.bm-image-row { display: flex; gap: 22px; align-items: flex-start; flex-wrap: wrap; }
.bm-image-row input[type=file] { padding: 10px; background: #fff; }
.bm-check { width: auto !important; margin-right: 8px; }
.bm-toggle { border: 1px solid var(--bm-border); background: #fff; color: var(--bm-muted); border-radius: 20px; padding: 4px 16px; font-size: 12px; font-weight: 600; cursor: pointer; }
.bm-toggle.is-on { background: #2E7D32; border-color: #2E7D32; color: #fff; }
.bm-btn-link-danger { background: none; border: 0; color: #C62828; text-decoration: underline; cursor: pointer; font-size: 13px; padding: 0; }
.bm-btn-link-danger[disabled] { color: var(--bm-muted); cursor: not-allowed; text-decoration: none; }
.bm-admin-inline { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 12px 0; }
.bm-admin-inline input { padding: 11px 14px; border: 1px solid var(--bm-border); border-radius: var(--bm-radius-sm); }
.bm-admin-subnav { display: flex; gap: 18px; margin-bottom: 22px; flex-wrap: wrap; }
.bm-admin-subnav a { padding-bottom: 4px; border-bottom: 2px solid transparent; }
.bm-admin-subnav a.is-active { border-color: var(--bm-primary); font-weight: 600; }
.bm-admin-card-new { border-style: dashed; }
.bm-remove-label { color: #C62828; text-transform: none !important; letter-spacing: 0 !important; font-weight: 500 !important; }
.bm-status-refunded { background: #ECEFF1; color: #455A64; }
.bm-admin code { background: var(--bm-blush); padding: 2px 6px; border-radius: 3px; font-size: 12px; }
@media (max-width: 700px) { .bm-category-intro { flex-direction: column; } .bm-category-intro img { width: 100%; height: 220px; } }

/* ---------- Revision 3: featured on the storefront, sort, in-place product editing ---------- */
.bm-featured-tag { display: inline-block; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--bm-accent-hover); margin-bottom: 4px; }
.bm-featured-tag-lg { margin-left: 10px; font-size: 11px; padding: 4px 12px; border: 1px solid var(--bm-accent); border-radius: 20px; vertical-align: middle; }
.bm-featured-tag-lg:hover { background: var(--bm-accent); color: #fff; }
.bm-filter-chip-featured { border-color: var(--bm-accent); color: var(--bm-accent-hover); }
.bm-filter-chip-featured.is-active, .bm-filter-chip-featured:hover { background: var(--bm-accent); border-color: var(--bm-accent); color: #fff; }
.bm-section-footer .bm-btn + .bm-btn { margin-left: 10px; }
.bm-shop-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 30px; flex-wrap: wrap; }
.bm-shop-toolbar .bm-shop-count { margin: 0; text-align: left; }
.bm-sort-form { display: flex; align-items: center; gap: 10px; }
.bm-sort-form label { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--bm-muted); font-weight: 600; }
.bm-sort-form select { padding: 9px 12px; border: 1px solid var(--bm-border); border-radius: var(--bm-radius-sm); background: #fff; font-family: var(--bm-font-sans); font-size: 13px; color: var(--bm-primary); }
@media (max-width: 600px) { .bm-shop-toolbar { justify-content: center; } .bm-shop-toolbar .bm-shop-count { width: 100%; text-align: center; } }

.bm-bulk-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.bm-table-scroll { overflow-x: auto; }
.bm-bulk-table td { vertical-align: middle; }
.bm-bulk-table tr.is-changed td { background: #FFF8E6; }
.bm-sale-cell { white-space: nowrap; }
.bm-bulk-table select, .bm-bulk-table input[type=text], .bm-bulk-table input:not([type]) { padding: 8px 10px; border: 1px solid var(--bm-border); border-radius: var(--bm-radius-sm); background: #fff; font-family: var(--bm-font-sans); font-size: 13px; }
.bm-sale-value { width: 72px; margin-left: 6px; }
.bm-sale-value:disabled { background: #F4F1EC; color: var(--bm-muted); }
.bm-stock-input { width: 70px; }
.bm-now-price { font-weight: 600; white-space: nowrap; }
.bm-switch { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-size: 12px; text-transform: none; letter-spacing: 0; }
.bm-switch input { width: 18px; height: 18px; accent-color: #2E7D32; }
.bm-switch span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Revision 4: coming soon / maintenance ---------- */
.bm-holding-body { background: radial-gradient(circle at center, #FFFFFF 0%, #FAF5EE 100%); min-height: 100vh; margin: 0; }
.bm-holding { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 40px 16px; box-sizing: border-box; }
.bm-holding-card { max-width: 620px; width: 100%; text-align: center; }
.bm-holding-logo { font-family: var(--bm-font-serif); font-size: 38px; margin-bottom: 28px; }
.bm-holding-title { font-size: 46px; line-height: 1.15; margin: 14px 0 18px; }
.bm-holding-text { color: var(--bm-secondary); font-size: 16px; line-height: 1.75; margin: 0 auto 30px; max-width: 520px; }
.bm-holding-form { display: flex; gap: 10px; max-width: 460px; margin: 0 auto; }
.bm-holding-form input[type=email] { flex: 1; padding: 14px 16px; border: 1px solid var(--bm-border); border-radius: var(--bm-radius-sm); background: #fff; font-family: var(--bm-font-sans); font-size: 14px; min-width: 0; }
.bm-holding-response { min-height: 22px; margin-top: 14px; font-size: 14px; }
.bm-holding-response.is-success { color: #2E7D32; }
.bm-holding-response.is-error { color: #C62828; }
.bm-holding-contact { margin-top: 26px; color: var(--bm-muted); font-size: 13px; }
.bm-holding-contact a, .bm-holding-social a { text-decoration: underline; }
.bm-holding-social { display: flex; gap: 18px; justify-content: center; font-size: 13px; margin-top: 10px; }
@media (max-width: 520px) { .bm-holding-title { font-size: 34px; } .bm-holding-form { flex-direction: column; } }

.bm-mode-banner { background: #B26A00; color: #fff; text-align: center; font-size: 13px; padding: 9px 16px; }
.bm-mode-banner.bm-mode-maintenance { background: #8E2C24; }
.bm-mode-banner a { color: #fff; text-decoration: underline; margin-left: 8px; font-weight: 600; }

.bm-admin-bar .bm-mode-pill { padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; color: #fff; }
.bm-mode-pill-live { background: #2E7D32; }
.bm-mode-pill-coming_soon { background: #B26A00; }
.bm-mode-pill-maintenance { background: #8E2C24; }
.bm-mode-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.bm-mode-option { display: flex; gap: 10px; align-items: flex-start; padding: 14px; border: 1px solid var(--bm-border); border-radius: var(--bm-radius-md); cursor: pointer; text-transform: none !important; letter-spacing: 0 !important; font-weight: 400 !important; }
.bm-mode-option.is-current { border-color: var(--bm-primary); background: var(--bm-bg); }
.bm-mode-option input { margin-top: 3px; width: auto; }
.bm-mode-option small { display: block; color: var(--bm-secondary); font-size: 12px; line-height: 1.5; margin-top: 4px; }
.bm-mode-messages { margin-bottom: 16px; }
.bm-mode-messages summary { cursor: pointer; font-size: 13px; text-decoration: underline; margin-bottom: 12px; }
@media (max-width: 800px) { .bm-mode-options { grid-template-columns: 1fr; } }

/* ---------- Revision 5: design fixes ---------- */
/* Product images fill their frame (the illustrations carry their own background, so no "square on a panel"). */
.bm-product-thumb-wrap { padding: 0; }
.bm-product-thumb-link { position: absolute; inset: 0; display: block; }
.bm-product-thumb-wrap img.bm-product-img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; display: block; }
.bm-product-card:hover img.bm-product-img { transform: scale(1.03); }
.bm-product-thumb-wrap .bm-badge, .bm-product-thumb-wrap .bm-featured-star, .bm-product-thumb-wrap .bm-quick-add { z-index: 2; }
.bm-featured-star { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--bm-accent-hover); display: flex; align-items: center; justify-content: center; font-size: 15px; box-shadow: var(--bm-shadow-sm); }
.bm-low-stock { font-size: 11px; color: #A23E36; font-weight: 600; letter-spacing: .02em; }
.bm-badge-sale { background: #A23E36; }
.bm-price-now { color: #A23E36; }

.bm-single-media { padding: 0; min-height: 0; aspect-ratio: 1 / 1; overflow: hidden; }
.bm-single-media img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; display: block; }
.bm-single-media .bm-badge { z-index: 2; }
.bm-ct-thumb img, .bm-summary-items img, .bm-admin-thumb { object-fit: cover; padding: 0; }
.bm-admin-preview { object-fit: cover; padding: 0; overflow: hidden; }

.bm-btn-sm { padding: 10px 18px; font-size: 11px; }

/* Admin forms */
.bm-admin input[type=file] { padding: 8px; border: 1px dashed var(--bm-border); border-radius: var(--bm-radius-sm); background: #fff; font-family: var(--bm-font-sans); font-size: 13px; width: 100%; max-width: 440px; }
.bm-admin input[type=file]::file-selector-button { margin-right: 12px; padding: 8px 16px; border: 1px solid var(--bm-primary); border-radius: var(--bm-radius-sm); background: var(--bm-primary); color: #fff; font-family: var(--bm-font-sans); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.bm-admin input[type=file]::file-selector-button:hover { background: #3a3636; }
.bm-admin-actions { flex-wrap: wrap; }
.bm-admin-actions > a { font-size: 13px; color: var(--bm-secondary); text-decoration: underline; }
.bm-admin-actions .bm-btn-link-danger { margin-left: auto; padding: 9px 16px; border: 1px solid #E3B4B0; border-radius: var(--bm-radius-sm); text-decoration: none; font-size: 12px; font-weight: 600; letter-spacing: .04em; }
.bm-admin-actions .bm-btn-link-danger:hover:not([disabled]) { background: #FFEBEE; }
.bm-admin-actions .bm-btn-link-danger[disabled] { border-color: var(--bm-border); }

/* Emoji picker */
.bm-emoji-wrap { position: relative; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.bm-admin .bm-emoji-wrap input.bm-emoji-input { width: 190px; flex: none; font-size: 22px; padding: 8px 12px; line-height: 1.2; }
.bm-admin .bm-emoji-wrap input.bm-emoji-input::placeholder { font-size: 13px; }
.bm-emoji-btn, .bm-emoji-clear { width: 42px; height: 42px; border: 1px solid var(--bm-border); border-radius: var(--bm-radius-sm); background: #fff; font-size: 20px; cursor: pointer; line-height: 1; color: var(--bm-primary); }
.bm-emoji-clear { width: 32px; height: 32px; font-size: 16px; color: var(--bm-muted); border-color: transparent; background: none; }
.bm-emoji-btn:hover { border-color: var(--bm-primary); }
.bm-emoji-name { flex-basis: 100%; font-size: 11px; color: var(--bm-muted); letter-spacing: .04em; min-height: 14px; }
.bm-emoji-suggest, .bm-emoji-panel { position: absolute; top: 48px; left: 0; z-index: 20; background: #fff; border: 1px solid var(--bm-border); border-radius: var(--bm-radius-md); box-shadow: var(--bm-shadow-md); padding: 10px; }
.bm-emoji-suggest { max-width: 420px; }
.bm-emoji-suggest-head, .bm-emoji-grid-head { font-size: 11px; color: var(--bm-muted); letter-spacing: .06em; text-transform: uppercase; font-weight: 600; margin: 2px 2px 8px; }
.bm-emoji-grid-head { grid-column: 1 / -1; margin-top: 8px; }
.bm-emoji-suggest-row { display: flex; flex-wrap: wrap; gap: 4px; }
.bm-emoji-opt { width: 40px; height: 40px; border: 1px solid transparent; border-radius: 6px; background: none; font-size: 24px; cursor: pointer; line-height: 1; padding: 0; }
.bm-emoji-opt:hover, .bm-emoji-opt.is-active { background: var(--bm-blush); border-color: var(--bm-accent); }
.bm-emoji-panel { width: 380px; }
.bm-emoji-search { width: 100%; padding: 10px 12px; border: 1px solid var(--bm-border); border-radius: var(--bm-radius-sm); font-family: var(--bm-font-sans); font-size: 14px; margin-bottom: 8px; box-sizing: border-box; }
.bm-emoji-grid { display: grid; grid-template-columns: repeat(8, 40px); gap: 2px; max-height: 280px; overflow-y: auto; }
.bm-emoji-hint, .bm-emoji-empty { font-size: 12px; color: var(--bm-muted); margin: 8px 2px 0; grid-column: 1 / -1; }
@media (max-width: 520px) { .bm-emoji-panel { width: calc(100vw - 48px); } .bm-emoji-grid { grid-template-columns: repeat(auto-fill, 40px); } }

/* ---------- Revision 6: admin users ---------- */
.bm-user-actions { display: flex; gap: 18px; align-items: flex-start; flex-wrap: wrap; }
.bm-user-actions summary { cursor: pointer; font-size: 13px; text-decoration: underline; color: var(--bm-secondary); }
.bm-user-actions summary.bm-danger-summary { color: #C62828; }
.bm-user-form { margin-top: 12px; padding: 14px; border: 1px solid var(--bm-border-light); border-radius: var(--bm-radius-sm); background: var(--bm-bg); min-width: 260px; }
.bm-user-form .bm-form-group { margin-bottom: 12px; }
.bm-btn-danger-solid { padding: 9px 16px; border: 1px solid #C62828 !important; border-radius: var(--bm-radius-sm); background: #C62828 !important; color: #fff !important; text-decoration: none !important; font-weight: 600; }

/* ---------- Revision 7: temporary passwords ---------- */
.bm-credential-card { border-color: var(--bm-accent); background: #FFFCF6; }
.bm-credential-pw code { font-size: 26px; letter-spacing: .04em; padding: 8px 16px; display: inline-block; background: #fff; border: 1px dashed var(--bm-accent); margin: 4px 0 10px; user-select: all; }
.bm-credential-card p { margin-bottom: 8px; }
.bm-own-pw { margin-top: 16px; border-top: 1px solid var(--bm-border-light); padding-top: 12px; }
.bm-own-pw summary { cursor: pointer; font-size: 13px; text-decoration: underline; color: var(--bm-secondary); }

/* ---------- Revision 8: uploaded logo ---------- */
.bm-logo-img { display: block; width: auto; max-width: min(340px, 60vw); object-fit: contain; }
.bm-logo-img-header { margin: 0 auto 4px; }
.bm-logo-img-drawer { max-width: 180px; }
.bm-logo-img-footer, .bm-logo-img-holding { max-width: 260px; margin-bottom: 8px; }
.bm-holding-logo .bm-logo-img { margin: 0 auto 8px; }
@media (max-width: 768px) { .bm-logo-img-header { max-height: 46px; max-width: 46vw; } }
.bm-flash-info { background: #FFF8E8; color: #6B5320; border-color: #E9D3A5; }
.bm-danger-text { color: #C62828 !important; }
.bm-logo-setting { display: grid; grid-template-columns: minmax(200px, 300px) 1fr; gap: 24px; align-items: start; margin-bottom: 16px; }
.bm-logo-preview { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 120px; padding: 18px; border: 1px dashed var(--bm-border); border-radius: var(--bm-radius-md); background: #fff; text-align: center; }
.bm-logo-preview img { max-width: 100%; object-fit: contain; }
.bm-logo-preview .bm-logo-text { font-family: var(--bm-font-serif); font-size: 26px; letter-spacing: .1em; }
.bm-logo-preview small { color: var(--bm-muted); font-size: 12px; }
.bm-logo-setting .bm-form-group label { display: flex; align-items: center; margin-bottom: 8px; }
@media (max-width: 800px) { .bm-logo-setting { grid-template-columns: 1fr; } }

/* ---------- Revision 8: home slider — admin chooser ---------- */
.bm-slider-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 14px 0 18px; }
.bm-slider-option { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 8px 12px; align-items: start; padding: 14px; border: 1px solid var(--bm-border); border-radius: var(--bm-radius-md); cursor: pointer; background: #fff; text-transform: none !important; letter-spacing: 0 !important; font-weight: 400 !important; }
.bm-slider-option.is-current, .bm-slider-option:has(input:checked) { border-color: var(--bm-primary); background: var(--bm-bg); box-shadow: inset 0 0 0 1px var(--bm-primary); }
.bm-slider-option input { margin-top: 3px; width: auto; grid-row: span 3; }
.bm-slider-option-text small { display: block; color: var(--bm-secondary); font-size: 12px; line-height: 1.5; margin-top: 4px; }
.bm-slider-try { grid-column: 2; font-size: 12px; justify-self: start; }
/* little wireframe drawings of each style */
.bm-slider-mini { grid-column: 2; position: relative; display: block; width: 120px; height: 62px; border-radius: 6px; background: var(--bm-blush); overflow: hidden; }
.bm-slider-mini i { position: absolute; display: block; background: var(--bm-accent); border-radius: 3px; opacity: .85; }
.bm-slider-mini--off i { display: none; }
.bm-slider-mini--off::after { content: "\2014"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--bm-muted); font-size: 20px; }
.bm-slider-mini--spotlight i:nth-child(1) { left: 8px; top: 14px; width: 44px; height: 6px; }
.bm-slider-mini--spotlight i:nth-child(2) { left: 8px; top: 26px; width: 34px; height: 4px; opacity: .45; }
.bm-slider-mini--spotlight i:nth-child(3) { left: 8px; top: 38px; width: 22px; height: 8px; background: var(--bm-primary); }
.bm-slider-mini--spotlight i:nth-child(4) { right: 8px; top: 8px; width: 48px; height: 46px; border-radius: 24px 24px 4px 4px; }
.bm-slider-mini--spotlight i:nth-child(5) { left: 50px; bottom: 3px; width: 20px; height: 3px; background: var(--bm-primary); opacity: .5; }
.bm-slider-mini--fade i:nth-child(1) { inset: 0; border-radius: 0; opacity: .55; }
.bm-slider-mini--fade i:nth-child(2) { left: 8px; top: 12px; width: 50px; height: 38px; background: #fff; opacity: .95; }
.bm-slider-mini--fade i:nth-child(3) { left: 14px; top: 19px; width: 34px; height: 5px; background: var(--bm-primary); }
.bm-slider-mini--fade i:nth-child(4) { left: 14px; top: 31px; width: 22px; height: 7px; background: var(--bm-primary); }
.bm-slider-mini--fade i:nth-child(5) { display: none; }
.bm-slider-mini--carousel i { top: 10px; width: 26px; height: 42px; }
.bm-slider-mini--carousel i:nth-child(1) { left: 6px; }
.bm-slider-mini--carousel i:nth-child(2) { left: 35px; }
.bm-slider-mini--carousel i:nth-child(3) { left: 64px; }
.bm-slider-mini--carousel i:nth-child(4) { left: 93px; opacity: .45; }
.bm-slider-mini--carousel i:nth-child(5) { display: none; }
.bm-slider-mini--focus i:nth-child(1) { left: 40px; top: 6px; width: 40px; height: 50px; z-index: 2; }
.bm-slider-mini--focus i:nth-child(2) { left: 14px; top: 14px; width: 30px; height: 34px; opacity: .4; }
.bm-slider-mini--focus i:nth-child(3) { right: 14px; top: 14px; width: 30px; height: 34px; opacity: .4; }
.bm-slider-mini--focus i:nth-child(4), .bm-slider-mini--focus i:nth-child(5) { display: none; }
.bm-slider-mini--gallery i:nth-child(1) { left: 8px; top: 6px; width: 62px; height: 34px; }
.bm-slider-mini--gallery i:nth-child(2) { left: 76px; top: 10px; width: 36px; height: 5px; background: var(--bm-primary); }
.bm-slider-mini--gallery i:nth-child(3) { left: 76px; top: 20px; width: 26px; height: 4px; opacity: .45; }
.bm-slider-mini--gallery i:nth-child(4) { left: 8px; top: 46px; width: 104px; height: 10px; opacity: .45; background: repeating-linear-gradient(90deg, var(--bm-accent) 0 14px, transparent 14px 18px); }
.bm-slider-mini--gallery i:nth-child(5) { display: none; }
@media (max-width: 1000px) { .bm-slider-options { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .bm-slider-options { grid-template-columns: 1fr; } }

/* ---------- Revision 8: home slider — shared ---------- */
.bm-slider { padding: 64px 0; background: var(--bm-bg); border-bottom: 1px solid var(--bm-border); overflow: hidden; }
.bm-slider-header { margin-bottom: 32px; }
.bm-slider-frame { position: relative; }
.bm-slider-viewport { position: relative; overflow: hidden; }
.bm-slide { box-sizing: border-box; }
.bm-slide-media { display: block; overflow: hidden; background: var(--bm-blush); }
.bm-slide-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.bm-slide-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 12px; }
.bm-slide-tags .bm-badge { position: static; }
.bm-slide-kicker { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--bm-accent-hover); font-weight: 600; }
.bm-slide-vol { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--bm-muted); }
.bm-slide-title { font-family: var(--bm-font-serif); font-weight: 500; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1; margin: 0 0 12px; }
.bm-slide-title a { color: inherit; text-decoration: none; }
.bm-slide-text { color: var(--bm-secondary); font-size: 15px; line-height: 1.7; margin: 0 0 16px; }
.bm-slide-price { display: flex; align-items: baseline; gap: 12px; font-size: 20px; margin-bottom: 22px; }
.bm-slide-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.bm-slider .bm-slide-actions .bm-btn-cart { width: auto; background: var(--bm-primary) !important; color: #fff !important; border: 1px solid var(--bm-primary) !important; padding: 10px 18px !important; font-size: 11px !important; }
.bm-slider .bm-slide-actions .bm-btn-cart:hover { background: var(--bm-accent-hover) !important; border-color: var(--bm-accent-hover) !important; }
.bm-slider .bm-slide-actions .bm-btn-cart.is-added { background: #2D5A43 !important; border-color: #2D5A43 !important; }
.bm-slider-arrow { position: absolute; top: 50%; z-index: 5; width: 46px; height: 46px; margin-top: -23px; display: grid; place-items: center; padding: 0 0 4px; border: 1px solid var(--bm-border); border-radius: 50%; background: rgba(255,255,255,.92); color: var(--bm-primary); font-size: 30px; line-height: 1; cursor: pointer; box-shadow: var(--bm-shadow-sm); transition: var(--bm-transition); }
.bm-slider-arrow:hover:not(:disabled) { background: var(--bm-primary); color: #fff; border-color: var(--bm-primary); }
.bm-slider-arrow:disabled { opacity: .35; cursor: default; }
.bm-slider-arrow:focus-visible, .bm-slider-dot:focus-visible, .bm-slider-thumb:focus-visible, .bm-slider-pause:focus-visible { outline: 2px solid var(--bm-accent-hover); outline-offset: 3px; }
.bm-slider-prev { left: -8px; }
.bm-slider-next { right: -8px; }
.bm-slider-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 24px; }
.bm-slider-dots { display: flex; gap: 6px; }
.bm-slider-dot { width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.bm-slider-dot::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 4px; background: var(--bm-border); transition: var(--bm-transition); }
.bm-slider-dot[aria-current]::after { width: 24px; margin-left: -12px; background: var(--bm-primary); }
.bm-slider-pause { width: 32px; height: 32px; border: 1px solid var(--bm-border); border-radius: 50%; background: #fff; color: var(--bm-secondary); font-size: 10px; cursor: pointer; }
.bm-slider-pause[hidden] { display: none; }
.bm-slider-preview-note { margin-top: 16px; }

/* 1. Spotlight — sliding track, photo beside text */
.bm-slider--spotlight { background: radial-gradient(circle at 75% 40%, #FFFFFF 0%, #F6EEE5 70%); }
.bm-slider--spotlight .bm-slider-track, .bm-slider--gallery .bm-slider-track { display: flex; transition: transform .6s cubic-bezier(.65,.05,.36,1); }
.bm-slider--spotlight .bm-slide { flex: 0 0 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 8px 64px; }
.bm-slider--spotlight .bm-slide-media { order: 2; aspect-ratio: 1 / 1; max-height: 480px; width: 100%; max-width: 480px; justify-self: center; border-radius: 50% 50% var(--bm-radius-lg) var(--bm-radius-lg) / 40% 40% var(--bm-radius-lg) var(--bm-radius-lg); box-shadow: var(--bm-shadow-lg); }
.bm-slider--spotlight .bm-slide.is-active .bm-slide-media img { transform: scale(1.04); }
.bm-slider--spotlight .bm-slide-title { font-size: clamp(32px, 4.4vw, 56px); }

/* 2. Full-width fade — photo fills the banner, panel on top */
.bm-slider--fade { padding: 0; background: var(--bm-primary); }
.bm-slider--fade > .bm-container { max-width: none; padding: 0; }
.bm-slider--fade .bm-slider-header { background: var(--bm-bg); margin: 0; padding: 48px 20px 32px; }
.bm-slider--fade .bm-slider-viewport { height: clamp(440px, 62vh, 620px); }
.bm-slider--fade .bm-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s linear .9s; }
.bm-slider--fade .bm-slide.is-active { opacity: 1; visibility: visible; transition: opacity .9s ease; z-index: 1; }
.bm-slider--fade .bm-slide-media { position: absolute; inset: 0; }
.bm-slider--fade .bm-slide-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(31,29,29,.45) 0%, rgba(31,29,29,.1) 55%, rgba(31,29,29,0) 100%); }
.bm-slider--fade .bm-slide.is-active .bm-slide-media img { animation: bm-kenburns 9s ease-out both; }
.bm-slider--fade .bm-slide-body { position: absolute; z-index: 2; left: max(24px, calc((100vw - 1200px) / 2 + 24px)); top: 50%; transform: translateY(-50%); width: min(440px, calc(100% - 48px)); padding: 36px; box-sizing: border-box; background: rgba(255,255,255,.95); border-radius: var(--bm-radius-md); box-shadow: var(--bm-shadow-lg); }
.bm-slider--fade .bm-slider-prev { left: 16px; }
.bm-slider--fade .bm-slider-next { right: 16px; }
.bm-slider--fade .bm-slider-controls { position: relative; z-index: 3; margin: 0; padding: 14px 0; background: var(--bm-primary); }
.bm-slider--fade .bm-slider-dot::after { background: rgba(255,255,255,.35); }
.bm-slider--fade .bm-slider-dot[aria-current]::after { background: #fff; }
@keyframes bm-kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }

/* 3. Card carousel — scroll-snap row */
.bm-slider--carousel .bm-slider-viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 2px 18px; }
.bm-slider--carousel .bm-slider-viewport::-webkit-scrollbar { display: none; }
.bm-slider--carousel .bm-slider-track { display: flex; gap: 22px; }
.bm-slider--carousel .bm-slide { flex: 0 0 calc((100% - 66px) / 4); scroll-snap-align: start; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--bm-border-light); border-radius: var(--bm-radius-md); overflow: hidden; transition: var(--bm-transition); }
.bm-slider--carousel .bm-slide:hover { box-shadow: var(--bm-shadow-md); transform: translateY(-3px); }
.bm-slider--carousel .bm-slide-media { aspect-ratio: 4 / 5; }
.bm-slider--carousel .bm-slide:hover .bm-slide-media img { transform: scale(1.05); }
.bm-slider--carousel .bm-slide-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.bm-slider--carousel .bm-slide-title { font-size: 22px; }
.bm-slider--carousel .bm-slide-text { font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bm-slider--carousel .bm-slide-price { font-size: 17px; margin-bottom: 14px; margin-top: auto; }
.bm-slider--carousel .bm-slide-actions .bm-btn { flex: 1; padding-left: 10px !important; padding-right: 10px !important; }
.bm-slider--carousel .bm-slider-prev { left: -18px; }
.bm-slider--carousel .bm-slider-next { right: -18px; }

/* 4. Centre focus — middle card large, neighbours faded */
.bm-slider--focus .bm-slider-viewport { height: 610px; }
.bm-slider--focus .bm-slide { position: absolute; left: 50%; top: 0; width: 380px; margin-left: -190px; background: #fff; border-radius: var(--bm-radius-lg); overflow: hidden; box-shadow: var(--bm-shadow-md); opacity: 0; visibility: hidden; transform: scale(.7); transition: transform .6s cubic-bezier(.65,.05,.36,1), opacity .6s ease, visibility 0s linear .6s; }
.bm-slider--focus .bm-slide.is-active { opacity: 1; visibility: visible; transform: none; z-index: 3; box-shadow: var(--bm-shadow-lg); transition: transform .6s cubic-bezier(.65,.05,.36,1), opacity .6s ease; }
.bm-slider--focus .bm-slide.is-prev, .bm-slider--focus .bm-slide.is-next { opacity: .45; visibility: visible; z-index: 2; cursor: pointer; transition: transform .6s cubic-bezier(.65,.05,.36,1), opacity .6s ease; }
.bm-slider--focus .bm-slide.is-prev { transform: translateX(-88%) scale(.8); }
.bm-slider--focus .bm-slide.is-next { transform: translateX(88%) scale(.8); }
.bm-slider--focus .bm-slide.is-prev:hover, .bm-slider--focus .bm-slide.is-next:hover { opacity: .7; }
.bm-slider--focus .bm-slide-media { aspect-ratio: 1 / 1; }
.bm-slider--focus .bm-slide-body { padding: 20px 24px 24px; text-align: center; }
.bm-slider--focus .bm-slide-tags, .bm-slider--focus .bm-slide-price, .bm-slider--focus .bm-slide-actions { justify-content: center; }
.bm-slider--focus .bm-slide-title { font-size: 28px; }
.bm-slider--focus .bm-slide-text { font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 12px; }
.bm-slider--focus .bm-slide-price { margin-bottom: 14px; }
.bm-slider--focus .bm-slider-prev { left: calc(50% - 300px); }
.bm-slider--focus .bm-slider-next { right: calc(50% - 300px); }

/* 5. Gallery with thumbnails — framed slide + photo strip */
.bm-slider--gallery .bm-slider-viewport { border-radius: var(--bm-radius-lg); background: #fff; box-shadow: var(--bm-shadow-md); }
.bm-slider--gallery .bm-slide { flex: 0 0 100%; display: grid; grid-template-columns: 1.35fr 1fr; align-items: stretch; }
.bm-slider--gallery .bm-slide-media { min-height: 460px; }
.bm-slider--gallery .bm-slide-body { padding: 48px 48px 48px 44px; align-self: center; }
.bm-slider--gallery .bm-slider-prev { left: 16px; }
.bm-slider--gallery .bm-slider-next { right: 16px; }
.bm-slider-thumbs { display: flex; gap: 10px; overflow-x: auto; padding: 4px; scrollbar-width: thin; max-width: 100%; }
.bm-slider-thumb { flex: 0 0 auto; width: 76px; height: 76px; padding: 0; border: 2px solid transparent; border-radius: var(--bm-radius-md); overflow: hidden; background: var(--bm-blush); cursor: pointer; opacity: .55; transition: var(--bm-transition); }
.bm-slider-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bm-slider-thumb:hover { opacity: .85; }
.bm-slider-thumb[aria-current] { opacity: 1; border-color: var(--bm-primary); }

/* responsive */
@media (max-width: 1100px) { .bm-slider--carousel .bm-slide { flex-basis: calc((100% - 44px) / 3); } }
@media (max-width: 860px) {
  .bm-slider { padding: 44px 0; }
  .bm-slider--fade { padding: 0; }
  .bm-slider--spotlight .bm-slide { grid-template-columns: 1fr; gap: 22px; padding: 0 8px; text-align: center; }
  .bm-slider--spotlight .bm-slide-media { order: 0; max-width: 320px; }
  .bm-slider--spotlight .bm-slide-tags, .bm-slider--spotlight .bm-slide-price, .bm-slider--spotlight .bm-slide-actions { justify-content: center; }
  .bm-slider--spotlight .bm-slider-arrow, .bm-slider--gallery .bm-slider-arrow { top: 160px; }
  .bm-slider--carousel .bm-slide { flex-basis: calc((100% - 22px) / 2); }
  .bm-slider--carousel .bm-slider-prev { left: -6px; }
  .bm-slider--carousel .bm-slider-next { right: -6px; }
  .bm-slider--fade .bm-slider-viewport { height: 560px; }
  .bm-slider--fade .bm-slide-body { top: auto; bottom: 16px; transform: none; left: 16px; width: calc(100% - 32px); padding: 22px; }
  .bm-slider--fade .bm-slider-arrow { top: 26%; }
  .bm-slider--focus .bm-slider-viewport { height: 560px; }
  .bm-slider--focus .bm-slide { width: 300px; margin-left: -150px; }
  .bm-slider--focus .bm-slider-prev { left: 4px; }
  .bm-slider--focus .bm-slider-next { right: 4px; }
  .bm-slider--gallery .bm-slide { grid-template-columns: 1fr; }
  .bm-slider--gallery .bm-slide-media { min-height: 0; aspect-ratio: 4 / 3; }
  .bm-slider--gallery .bm-slide-body { padding: 24px; text-align: center; }
  .bm-slider--gallery .bm-slide-tags, .bm-slider--gallery .bm-slide-price, .bm-slider--gallery .bm-slide-actions { justify-content: center; }
  .bm-slider-thumb { width: 58px; height: 58px; }
}
@media (max-width: 560px) {
  .bm-slider--carousel .bm-slide { flex-basis: 78%; }
  .bm-slider--carousel .bm-slider-arrow { display: none; }
  .bm-slider--focus .bm-slide { width: 76vw; margin-left: -38vw; }
  .bm-slider--focus .bm-slide.is-prev { transform: translateX(-80%) scale(.78); }
  .bm-slider--focus .bm-slide.is-next { transform: translateX(80%) scale(.78); }
  .bm-slider-arrow { width: 40px; height: 40px; margin-top: -20px; font-size: 26px; }
  .bm-slide-text { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .bm-slider *, .bm-slider *::after { transition-duration: .01ms !important; animation: none !important; }
}

/* Revision 8 — slider polish after visual check */
.bm-slide-price { flex-wrap: wrap; row-gap: 4px; }
.bm-slide-price del, .bm-slide-price ins, .bm-slide-price .bm-price, .bm-slide-price .amount, .bm-slide-price .bm-low-stock { white-space: nowrap; }
/* centre focus: the active card sits in the flow so the slider is always tall enough for it */
.bm-slider--focus .bm-slider-viewport, .bm-slider--focus .bm-slider-viewport { height: auto; padding: 4px 0 12px; }
.bm-slider--focus .bm-slide.is-active { position: relative; }
.bm-slider--focus .bm-slider-prev { left: 0; }
.bm-slider--focus .bm-slider-next { right: 0; }
@media (max-width: 860px) { .bm-slider--focus .bm-slider-viewport { height: auto; } }
@media (max-width: 560px) {
  .bm-slider--carousel .bm-slide-actions, .bm-slider--focus .bm-slide-actions { flex-direction: column; align-items: stretch; }
  .bm-slider--carousel .bm-slide-actions .bm-btn, .bm-slider--focus .bm-slide-actions .bm-btn { width: 100%; }
  .bm-slider--focus .bm-slider-arrow { top: 38%; }
}

/* Revision 9 — coupon codes */
.bm-totals-list .bm-totals-discount dd, .bm-drawer-totals .bm-totals-discount .bm-totals-val { color: #2E7D32; }
.bm-coupon-box { margin: -6px 0 22px; padding: 14px 0 0; border-top: 1px dashed var(--bm-border); }
.bm-coupon-label { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--bm-muted); font-weight: 600; margin-bottom: 8px; }
.bm-coupon-row { display: flex; gap: 8px; align-items: stretch; }
.bm-coupon-row input { flex: 1; min-width: 0; text-transform: uppercase; letter-spacing: .06em; padding: 10px 12px; border: 1px solid var(--bm-border); border-radius: var(--bm-radius-sm, 8px); font: inherit; }
.bm-coupon-row .bm-btn { white-space: nowrap; }
.bm-coupon-applied { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 14px; margin: 0; padding: 10px 12px; background: #E8F5E9; color: #2E7D32; border-radius: var(--bm-radius-sm, 8px); }
.bm-coupon-remove { background: none; border: 0; color: inherit; text-decoration: underline; cursor: pointer; font: inherit; font-size: 13px; padding: 0; }
.bm-drawer-totals .bm-totals-discount { margin-top: 4px; }

/* Revision 9b — home "About the shop" without the side card */
.bm-story-grid.bm-story-grid--text { grid-template-columns: 1fr; max-width: 760px; margin: 0 auto; text-align: center; }
.bm-story-grid--text .bm-story-copy { align-items: center; }

/* Revision 10 — Settings split into tabs */
.bm-settings-tabs { gap: 6px; border-bottom: 1px solid var(--bm-border); margin-bottom: 24px; }
.bm-settings-tabs a { padding: 10px 16px; margin-bottom: -1px; border: 1px solid transparent; border-radius: 8px 8px 0 0; color: var(--bm-secondary); text-decoration: none; }
.bm-settings-tabs a:hover { color: var(--bm-primary); }
.bm-settings-tabs a.is-active { background: #fff; border-color: var(--bm-border); border-bottom-color: #fff; color: var(--bm-primary); font-weight: 600; }
.bm-settings-savebar { position: sticky; bottom: 0; z-index: 5; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 14px 0; margin-top: 8px; background: #F6F3EE; border-top: 1px solid var(--bm-border); }
.bm-settings-dirty { color: #B26A00; }
@media (max-width: 560px) { .bm-settings-tabs { flex-wrap: nowrap; overflow-x: auto; gap: 2px; } .bm-settings-tabs a { padding: 8px 10px; font-size: 14px; white-space: nowrap; flex: none; } }
/* Revision 10b — settings save without reload */
.bm-settings-status { font-size: 14px; }
.bm-settings-status.is-ok { color: #2E7D32; font-weight: 600; }
.bm-settings-status.is-error { color: #C62828; font-weight: 600; }
.bm-settings-savebar button[disabled] { opacity: .7; cursor: progress; }

/* Revision 11 — admin saves without reload (admin-save.js) + Shop tabs */
.bm-shop-tabs { margin-top: -6px; }
html.bm-saving, html.bm-saving * { cursor: progress !important; }
.bm-admin button.is-busy, .bm-admin .bm-btn.is-busy { opacity: .6; }
.bm-toast-wrap { position: fixed; right: 20px; bottom: 20px; z-index: 1000; display: flex; flex-direction: column; gap: 10px; max-width: min(420px, calc(100vw - 40px)); }
.bm-toast { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px 12px 16px; border-radius: 10px; border: 1px solid; font-size: 14px; box-shadow: 0 8px 24px rgba(0,0,0,.12); animation: bm-toast-in .25s ease-out; transition: opacity .4s, transform .4s; }
.bm-toast span { flex: 1; }
.bm-toast button { background: none; border: 0; font-size: 18px; line-height: 1; cursor: pointer; color: inherit; padding: 0 2px; }
.bm-toast-success { background: #E8F5E9; color: #2E7D32; border-color: #A5D6A7; }
.bm-toast-error { background: #FFEBEE; color: #C62828; border-color: #EF9A9A; }
.bm-toast.is-leaving { opacity: 0; transform: translateY(8px); }
@keyframes bm-toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .bm-toast { animation: none; transition: none; } }

/* Revision 12 — coupon on/off switch in the list */
.bm-coupon-toggle { margin: 0; }
.bm-coupon-toggle .bm-switch input { width: 20px; height: 20px; }

/* Revision 13b — on/off toggles (admin_toggle() in admin.php), in the site's own colours: green = on, red = off, no text.
   A real checkbox sits underneath, so forms, scripts and the keyboard work as with a plain checkbox. */
label.bm-onoff, .bm-form-group label.bm-onoff, .bm-logo-setting .bm-form-group label.bm-onoff {
  display: inline-flex; align-items: center; gap: 10px; position: relative; cursor: pointer; margin: 0 0 10px;
  font-size: 14px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--bm-primary);
}
.bm-onoff input[type="checkbox"], .bm-form-group .bm-onoff input[type="checkbox"] {
  position: absolute; left: 0; top: 50%; width: 40px; height: 22px; margin: -11px 0 0; padding: 0; opacity: 0; cursor: pointer; border: 0;
}
.bm-onoff-ui { position: relative; flex: none; width: 40px; height: 22px; border-radius: 11px; background: #C62828; transition: background-color .25s cubic-bezier(0.25, 0.8, 0.25, 1); }
.bm-onoff-ui::before { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(31, 29, 29, .25); transition: transform .25s cubic-bezier(0.25, 0.8, 0.25, 1); }
.bm-onoff input:checked + .bm-onoff-ui { background: #2E7D32; }
.bm-onoff input:checked + .bm-onoff-ui::before { transform: translateX(18px); }
.bm-onoff input:focus-visible + .bm-onoff-ui { box-shadow: 0 0 0 3px rgba(197, 168, 128, .55); }
.bm-onoff input:disabled + .bm-onoff-ui { opacity: .45; }
.bm-onoff-text { line-height: 1.4; }
label.bm-onoff.bm-onoff-bare { margin: 0; }
.bm-onoff-bare .bm-onoff-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bm-admin-card > label.bm-onoff:last-child { margin-bottom: 0; }
@media (prefers-reduced-motion: reduce) { .bm-onoff-ui, .bm-onoff-ui::before { transition: none; } }
/* elements marked hidden stay hidden even where a layout rule sets display (e.g. the "Remove the logo" tick) */
.bm-admin [hidden] { display: none !important; }
/* Revision 14 — admin update messages are toasts (rendered by admin_view, dismissed by admin-save.js) */
.bm-toast-info { background: #FFF8E8; color: #6B5320; border-color: #E9D3A5; }
.bm-toast-wrap:empty { display: none; }
@media (max-width: 560px) { .bm-toast-wrap { left: 16px; right: 16px; bottom: 16px; max-width: none; } }

/* Revision 16 — admin lists: pages + "Show 5/10/15/25/50 per page" */
.bm-pager { display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--bm-border-light); font-size: 13px; color: var(--bm-secondary); }
.bm-pager-card { padding-top: 6px; padding-bottom: 14px; }
.bm-pager-card .bm-pager { margin-top: 0; border-top: 0; }
.bm-pager-pages { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.bm-pager-pages a, .bm-pager-pages span { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; height: 32px; padding: 0 8px; border-radius: var(--bm-radius-sm); text-decoration: none; color: var(--bm-primary); }
.bm-pager-pages a { border: 1px solid var(--bm-border); background: #fff; }
.bm-pager-pages a:hover { border-color: var(--bm-accent); }
.bm-pager-pages .is-current { background: var(--bm-primary); color: #fff; font-weight: 600; }
.bm-pager-pages .is-off { color: var(--bm-border); }
.bm-pager-pages .is-gap { min-width: 16px; color: var(--bm-muted); }
.bm-pager-per { margin: 0; }
.bm-pager-per label { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; text-transform: none; letter-spacing: 0; font-weight: 400; margin: 0; color: var(--bm-secondary); }
.bm-pager-per select { width: auto; padding: 6px 28px 6px 10px; border: 1px solid var(--bm-border); border-radius: var(--bm-radius-sm); background-color: #fff; font: inherit; color: var(--bm-primary); }

/* Revision 17 — FAQs & Content: compact entry cards, ↑ ↓ / Remove, add button, same tabs + save bar as Settings */
.bm-tab-count { display: inline-block; min-width: 20px; margin-left: 6px; padding: 0 6px; border-radius: 10px; background: var(--bm-blush); color: var(--bm-secondary); font-size: 11px; font-weight: 600; line-height: 18px; text-align: center; }
.bm-settings-tabs a.is-active .bm-tab-count { background: var(--bm-primary); color: #fff; }
.bm-content-intro p { margin: 0; color: var(--bm-secondary); font-size: 14px; }
.bm-content-switch { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--bm-border-light); }
.bm-content-switch label.bm-onoff { margin: 0; }
.bm-content-switch .bm-muted { font-size: 13px; }
.bm-entries { display: flex; flex-direction: column; gap: 14px; margin-bottom: 14px; }
.bm-entry { background: #fff; border: 1px solid var(--bm-border); border-radius: var(--bm-radius-md); padding: 16px 20px 6px; box-shadow: var(--bm-shadow-sm); transition: opacity .2s; }
.bm-entry-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.bm-entry-num { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--bm-blush); color: var(--bm-secondary); font-size: 12px; font-weight: 600; }
.bm-entry-title { flex: 1; min-width: 0; font-weight: 600; color: var(--bm-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bm-entry-actions { flex: none; display: flex; align-items: center; gap: 6px; }
.bm-entry-btn { width: 32px; height: 32px; border: 1px solid var(--bm-border); border-radius: var(--bm-radius-sm); background: #fff; color: var(--bm-primary); font-size: 15px; line-height: 1; cursor: pointer; }
.bm-entry-btn:hover:not(:disabled) { border-color: var(--bm-accent); }
.bm-entry-btn:disabled { opacity: .35; cursor: default; }
.bm-entry-remove { height: 32px; padding: 0 12px; border: 1px solid transparent; border-radius: var(--bm-radius-sm); background: none; color: #C62828; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.bm-entry-remove:hover { border-color: #EF9A9A; background: #FFEBEE; }
.bm-entry-removed { margin: 0 0 12px; padding: 10px 14px; border-radius: var(--bm-radius-sm); background: #FFEBEE; color: #C62828; font-size: 13px; }
.bm-entry-removed button { margin-left: 8px; border: 0; background: none; color: inherit; font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; padding: 0; }
.bm-entry.is-removed { opacity: .75; }
.bm-entry.is-removed .bm-entry-fields, .bm-entry.is-removed .bm-entry-btn, .bm-entry.is-removed .bm-entry-remove { display: none; }
.bm-entry.is-removed .bm-entry-title { text-decoration: line-through; color: var(--bm-muted); }
.bm-entry-fields { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0 16px; }
.bm-entry-fields .bm-form-group { margin-bottom: 14px; grid-column: span 6; }
.bm-entry-fields .bm-w-wide { grid-column: span 4; }
.bm-entry-fields .bm-w-third { grid-column: span 2; }
.bm-entry-fields .bm-w-short { grid-column: span 2; }
.bm-entries-empty p { margin: 0; color: var(--bm-secondary); }
.bm-entries-add { margin: 0 0 6px; }
@media (max-width: 700px) {
  .bm-entry { padding: 14px 14px 4px; }
  .bm-entry-fields .bm-w-wide, .bm-entry-fields .bm-w-third { grid-column: span 6; }
  .bm-entry-fields .bm-w-short { grid-column: span 6; }
  .bm-entry-head { flex-wrap: wrap; row-gap: 8px; }
  .bm-entry-title { flex: 1 1 calc(100% - 40px); white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .bm-entry-actions { width: 100%; justify-content: flex-end; }
}

/* Revision 18 — Dashboard (src/dashboard.php) + Trash "Delete forever" */
.bm-dash-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap; margin-bottom: 22px; }
.bm-dash-head h1 { margin-bottom: 4px; }
.bm-dash-head .bm-muted { margin: 0; font-size: 14px; }
.bm-dash-periods { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: #fff; border: 1px solid var(--bm-border); border-radius: var(--bm-radius-md); }
.bm-dash-periods a { padding: 7px 12px; border-radius: var(--bm-radius-sm); font-size: 13px; color: var(--bm-secondary); text-decoration: none; white-space: nowrap; }
.bm-dash-periods a:hover { color: var(--bm-primary); background: var(--bm-blush); }
.bm-dash-periods a.is-active { background: var(--bm-primary); color: #fff; font-weight: 600; }
.bm-dash-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.bm-dash-tile { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; background: #fff; border: 1px solid var(--bm-border); border-radius: var(--bm-radius-md); box-shadow: var(--bm-shadow-sm); min-width: 0; }
.bm-dash-tile-hero { background: var(--bm-primary); border-color: var(--bm-primary); color: #fff; }
.bm-dash-label { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--bm-muted); font-weight: 600; }
.bm-dash-tile-hero .bm-dash-label { color: #CFC6BE; }
.bm-dash-value { font-size: 26px; font-weight: 600; line-height: 1.15; color: var(--bm-primary); font-variant-numeric: tabular-nums; }
.bm-dash-tile-hero .bm-dash-value { color: #fff; font-size: 30px; }
.bm-dash-delta { font-size: 12px; color: var(--bm-secondary); }
.bm-dash-tile-hero .bm-dash-delta { color: #E6DED6; }
.bm-dash-delta.is-good { color: #2E7D32; } .bm-dash-delta.is-bad { color: #C62828; }
.bm-dash-tile-hero .bm-dash-delta.is-good { color: #9BD3A0; } .bm-dash-tile-hero .bm-dash-delta.is-bad { color: #F3A6A6; }
.bm-dash-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 0; }
.bm-dash-grid > .bm-admin-card { margin-bottom: 18px; min-width: 0; }
.bm-dash-sub { margin: -6px 0 10px; font-size: 13px; }
.bm-chart-scroll { overflow-x: auto; }
.bm-chart { display: block; width: 100%; height: auto; min-width: 520px; }
.bm-chart-grid { stroke: #F0E8E1; stroke-width: 1; }
.bm-chart-zero { stroke: #D9C9BA; stroke-width: 1; }
.bm-chart-ylabel, .bm-chart-xlabel { font-family: var(--bm-font-sans); font-size: 11px; fill: #8E8883; }
.bm-chart-hit { fill: transparent; cursor: default; outline: none; }
.bm-chart-hit:hover, .bm-chart-hit:focus { fill: rgba(31, 29, 29, .045); }
.bm-chart-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: -6px 0 10px; font-size: 12px; color: var(--bm-secondary); }
.bm-chart-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.bm-chart-table { margin-top: 10px; font-size: 13px; }
.bm-chart-table summary { cursor: pointer; color: var(--bm-secondary); }
.bm-chart-table table { margin-top: 8px; }
.bm-chart-tip { position: absolute; z-index: 1001; pointer-events: none; padding: 8px 10px; background: var(--bm-primary); color: #fff; border-radius: var(--bm-radius-sm); font-size: 12px; line-height: 1.5; box-shadow: var(--bm-shadow-md); font-variant-numeric: tabular-nums; }
.bm-chart-tip-head { font-weight: 600; margin-bottom: 2px; }
.bm-dash-money td:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.bm-dash-money .bm-dash-total td { font-weight: 700; border-top: 2px solid var(--bm-primary); }
.bm-dash-note { font-size: 12px; text-align: left !important; white-space: normal !important; }
.bm-dash-onhand { margin: 0; font-size: 15px; } .bm-dash-onhand strong { font-size: 26px; margin-right: 4px; }
.bm-dash-low { list-style: none; margin: 0; padding: 0; } .bm-dash-low li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--bm-border-light); font-size: 14px; }
.bm-dash-num td:not(:first-child), .bm-dash-num th:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 1000px) { .bm-dash-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bm-dash-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .bm-dash-tiles { grid-template-columns: 1fr 1fr; gap: 10px; } .bm-dash-tile { padding: 14px; } .bm-dash-value { font-size: 20px; } .bm-dash-tile-hero { grid-column: 1 / -1; } }
td form + form { margin-top: 6px; }
.bm-trash-purge { font-size: 12px; }
.bm-dash-charts > .bm-admin-card { margin-bottom: 18px; min-width: 0; }

/* Revision 19 — customer accounts (templates/account.php) */
.bm-account-section .bm-container { max-width: 1000px; }
.bm-account-card { max-width: 520px; margin: 0 auto; }
.bm-account-flash { max-width: 520px; margin: 0 auto 18px !important; }
.bm-account-home .bm-form-card + .bm-form-card { margin-top: 18px; }
.bm-account-note { max-width: 100%; margin: 0 0 20px; padding: 14px 18px; background: var(--bm-blush); border: 1px solid var(--bm-border); border-radius: var(--bm-radius-sm); font-size: 14px; color: var(--bm-secondary); }
.bm-account-note a { color: var(--bm-primary); font-weight: 600; }
.bm-account-small { margin: 14px 0 0; font-size: 13px; color: var(--bm-muted); text-align: center; }
.bm-account-alt { margin: 14px 0 0; font-size: 14px; text-align: center; color: var(--bm-secondary); }
.bm-account-alt a { color: var(--bm-primary); font-weight: 600; }
.bm-account-sent { margin: 0 0 18px; font-size: 14px; color: var(--bm-secondary); }
.bm-code-input { font-size: 26px !important; letter-spacing: .35em; text-align: center; font-variant-numeric: tabular-nums; }
.bm-account-resend { margin-top: 16px; text-align: center; font-size: 13px; color: var(--bm-muted); }
.bm-link-button { border: 0; background: none; padding: 0; font: inherit; color: var(--bm-primary); font-weight: 600; text-decoration: underline; cursor: pointer; }
.bm-field-hint { margin: 6px 0 0; font-size: 12px; color: var(--bm-muted); }
.bm-checkbox-line { display: flex; align-items: center; gap: 10px; margin: 6px 0 0; font-size: 14px; color: var(--bm-secondary); cursor: pointer; }
.bm-checkbox-line input { width: 18px; height: 18px; accent-color: var(--bm-primary); }
.bm-account-tabs { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; border-bottom: 1px solid var(--bm-border); }
.bm-account-tabs a { padding: 10px 16px; margin-bottom: -1px; border: 1px solid transparent; border-radius: 8px 8px 0 0; color: var(--bm-secondary); text-decoration: none; font-size: 14px; }
.bm-account-tabs a.is-active { background: #fff; border-color: var(--bm-border); border-bottom-color: #fff; color: var(--bm-primary); font-weight: 600; }
.bm-account-signout { margin-left: auto; }
.bm-account-signout .bm-link-button { font-weight: 500; color: var(--bm-secondary); font-size: 14px; }
.bm-account-orders td, .bm-account-orders th { white-space: nowrap; }
.bm-util-account { margin-right: 0; }
.bm-mobile-account-link { display: block; margin-top: 18px; text-align: center; font-size: 14px; font-weight: 600; color: var(--bm-primary); }
@media (max-width: 560px) { .bm-util-account .bm-util-label { display: none; } .bm-account-tabs a { padding: 8px 10px; } }
