/* BNN Menu retail component layer. Dependency-free and safe-area aware. */
html { scroll-behavior: smooth; }
body { overflow-x: hidden; padding-bottom: calc(88px + env(safe-area-inset-bottom)); background: var(--bnn-page-bg, #fffafc); color: var(--bnn-text, #38262f); }
button, input, select, textarea { font: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--bnn-focus, #275d9c); outline-offset: 2px; }
.bnn-container { width: min(1180px, calc(100% - 32px)); max-width: 100%; min-width: 0; box-sizing: border-box; margin-inline: auto; }
.bnn-site-header { position: sticky; top: 0; z-index: 25; background: var(--bnn-page-bg, #fffafc); border-bottom: 1px solid var(--bnn-border, #efcfdd); backdrop-filter: blur(14px); }
.bnn-header-inner { min-width: 0; min-height: 68px; display: flex; align-items: center; gap: 9px; overflow: hidden; }
.bnn-brand { display: inline-flex; align-items: center; flex: 0 0 auto; min-width: 0; gap: 8px; color: var(--bnn-heading); font-weight: 900; }
.bnn-brand img { width: 46px; height: 46px; box-sizing: border-box; padding: 3px; object-fit: contain; border: 2px solid var(--bnn-accent, #d3a8b9); border-radius: 50%; background: var(--bnn-surface, #fff); }
.bnn-brand-name { font-size: 14px; line-height: 1.05; white-space: nowrap; }
.bnn-brand-name small { display: block; margin-top: 3px; color: var(--bnn-red); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.bnn-header-search { position: relative; flex: 1 1 auto; width: 0; min-width: 0; }
.bnn-header-search input { width: 100%; min-width: 0; box-sizing: border-box; padding: 10px 34px 10px 36px; border: 1px solid var(--bnn-border); border-radius: 999px; background: var(--bnn-surface, #fff); color: var(--bnn-text); outline: none; font-size: 16px; }
.bnn-header-search input:focus { border-color: var(--bnn-primary); box-shadow: 0 0 0 3px var(--bnn-surface-soft); }
.bnn-search-icon { position: absolute; left: 14px; top: 50%; z-index: 1; transform: translateY(-50%); color: var(--bnn-muted); }
.bnn-search-clear { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border: 0; border-radius: 50%; background: var(--bnn-surface-soft); color: var(--bnn-muted); cursor: pointer; }
.bnn-cart-button { position: relative; display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--bnn-button-bg, var(--bnn-green)); color: var(--bnn-button-text, #fff); cursor: pointer; }
.bnn-cart-count { position: absolute; top: -3px; right: -2px; min-width: 18px; height: 18px; border-radius: 50%; background: var(--bnn-primary); color: var(--bnn-button-text, #fff); font-size: 11px; line-height: 18px; text-align: center; font-weight: 900; }
.bnn-preview-banner { margin: 9px 0 10px; padding: 7px 10px; border-radius: 10px; background: #fff0f3; color: #7b2e48; font-size: 11px; }
.bnn-preview-banner span { margin-right: 5px; color: var(--bnn-red); font-weight: 900; }
.bnn-retail-hero { display: grid; gap: 9px; align-items: end; margin: 0 0 11px; padding: 16px 16px; border: 1px solid var(--bnn-banner-border, transparent); border-radius: 18px; background-color: var(--bnn-banner-background, var(--bnn-primary)); color: var(--bnn-banner-title, #fff); }
.bnn-retail-hero.has-image-background { height: var(--bnn-banner-height, auto); background-image: var(--bnn-banner-gradient-layer, none), var(--bnn-banner-overlay, none), var(--bnn-banner-image-desktop, none); background-position: center; background-size: cover; }
.bnn-retail-hero.is-image-only { display: block; padding: 0; overflow: hidden; background: none; }
.bnn-banner-image-link, .bnn-banner-image-picture { display: block; }
.bnn-banner-image-picture img { display: block; width: 100%; height: auto; max-width: 100%; }
.bnn-eyebrow { margin: 0 0 6px; color: var(--bnn-red); font-size: 10px; letter-spacing: .13em; line-height: 1.3; font-weight: 900; }
.bnn-retail-hero .bnn-eyebrow { color: var(--bnn-banner-eyebrow, var(--bnn-primary-hover)); }
.bnn-retail-hero h1 { max-width: 620px; margin: 0; color: var(--bnn-banner-title, #fff); font-family: Georgia, serif; font-size: clamp(26px, 7vw, 48px); line-height: .98; letter-spacing: -.035em; }
.bnn-retail-hero h1 em { color: var(--bnn-banner-title, #fff); font-style: normal; }
.bnn-hero-copy { max-width: 630px; margin: 8px 0 0; color: var(--bnn-banner-description, rgba(255,255,255,.78)); font-size: 13px; }
.bnn-hero-promo { display: grid; grid-template-columns: 30px 1fr; gap: 0 8px; align-items: center; padding: 9px 11px; border: 1px solid var(--bnn-banner-border, rgba(255,255,255,.16)); border-radius: 12px; background: var(--bnn-banner-promo-background, rgba(255,255,255,.07)); }
.bnn-promo-icon { grid-row: span 2; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--bnn-accent); color: var(--bnn-heading); }
.bnn-hero-promo strong { font-size: 14px; }
.bnn-hero-promo span:last-child { color: var(--bnn-banner-promo-text, rgba(255,255,255,.78)); font-size: 11px; }
.bnn-retail-hero.is-centered { text-align: center; }
.bnn-retail-hero.is-centered .bnn-hero-promo { text-align: left; }
.bnn-hero-promo .bnn-promo-link { grid-column: 2; justify-self: start; margin-top: 3px; }
.bnn-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 0 0 14px; }
.bnn-benefits > div { display: grid; grid-template-columns: 18px 1fr; gap: 0 4px; padding: 7px 6px; border: 1px solid var(--bnn-border); border-radius: 11px; background: var(--bnn-surface, #fff); }
.bnn-benefits span { grid-row: span 2; color: var(--bnn-accent); font-size: 15px; }
.bnn-benefit-icon img { display: block; width: 16px; height: 16px; object-fit: contain; }
.bnn-benefits strong { color: var(--bnn-heading); font-size: 10px; line-height: 1.15; }
.bnn-benefits small { color: var(--bnn-muted); font-size: 10px; line-height: 1.15; }
.bnn-benefit-copy { display: grid; min-width: 0; gap: 2px; color: inherit; text-decoration: none; }
.bnn-benefit-copy:hover strong { color: var(--bnn-primary); }
.bnn-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin: 16px 0 10px; }
.bnn-section-heading h2 { margin: 0; color: var(--bnn-green); font-size: 23px; letter-spacing: -.025em; }
.bnn-home-category-groups { display: grid; gap: 26px; }
.bnn-home-category-group { min-width: 0; scroll-margin-top: 92px; }
.bnn-home-category-group .bnn-section-heading { margin-top: 6px; }
.bnn-home-category-group h3 { margin: 0; color: var(--bnn-heading); font-size: 20px; line-height: 1.15; }
.bnn-home-category-group .bnn-eyebrow { margin-bottom: 4px; }
.bnn-section-subtitle, .bnn-section-hint { margin: 4px 0 0; color: var(--bnn-muted); font-size: 12px; }
.bnn-section-hint { white-space: nowrap; }
.bnn-category-row { display: flex; gap: 6px; overflow-x: auto; padding: 1px 1px 4px; scrollbar-width: none; }
.bnn-category-row::-webkit-scrollbar { display: none; }
.bnn-category-button { flex: 0 0 auto; min-height: 34px; padding: 6px 10px; border: 1px solid var(--bnn-border); border-radius: 999px; background: var(--bnn-chip-bg, #fff); color: var(--bnn-chip-text, var(--bnn-muted)); cursor: pointer; font-size: 12px; font-weight: 800; line-height: 1.2; white-space: nowrap; }
.bnn-category-button.is-active, .bnn-category-button:hover { border-color: var(--bnn-chip-active-bg, var(--bnn-green)); background: var(--bnn-chip-active-bg, var(--bnn-green)); color: var(--bnn-chip-active-text, #fff); }
.bnn-retail-promo { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 12px 0 16px; padding: 10px 12px; border-radius: 14px; background: var(--bnn-surface-soft); }
.bnn-retail-promo h2 { margin: 0; color: var(--bnn-heading); font-size: 15px; }
.bnn-retail-promo p { margin: 3px 0 0; color: var(--bnn-muted); font-size: 11px; }
.bnn-promo-link { flex: 0 0 auto; padding: 8px 11px; border: 0; border-radius: 999px; background: var(--bnn-button-bg); color: var(--bnn-button-text); cursor: pointer; font-size: 11px; font-weight: 900; }
.bnn-live-dot { display: inline-flex; align-items: center; gap: 6px; color: var(--bnn-heading); font-size: 11px; font-weight: 800; white-space: nowrap; }
.bnn-live-dot i { width: 7px; height: 7px; border-radius: 50%; background: var(--bnn-accent); box-shadow: 0 0 0 4px var(--bnn-surface-soft); }
.bnn-product-list { display: grid; min-width: 0; gap: 10px; }
.bnn-product-card { position: relative; min-width: 0; overflow: hidden; border: 1px solid var(--bnn-border); border-radius: 16px; background: var(--bnn-surface, #fff); box-shadow: 0 4px 15px rgba(0, 0, 0, .08); }
.bnn-product-card--list { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 0 11px; }
.bnn-product-media { position: relative; display: block; grid-row: span 2; width: 84px; height: 100%; min-height: 144px; padding: 0; overflow: hidden; border: 0; background: var(--bnn-surface-soft); cursor: pointer; }
.bnn-product-media img { width: 100%; height: 100%; min-height: 144px; object-fit: cover; }
.bnn-status-badge { position: absolute; top: 7px; left: 7px; padding: 4px 7px; border-radius: 999px; background: rgba(255,255,255,.9); color: var(--bnn-green); font-size: 9px; font-weight: 900; }
.bnn-status-preorder { color: #8b651d; }
.bnn-status-seasonal { color: #7d4f9e; }
.bnn-status-out { color: #8f1f2a; }
.bnn-product-card-body { min-width: 0; display: grid; grid-template-rows: 1fr auto; padding: 11px 10px 10px 0; }
.bnn-product-main { min-width: 0; }
.bnn-product-category { margin: 0 0 4px; color: var(--bnn-muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.bnn-product-card h3 { min-width: 0; margin: 0; color: var(--bnn-heading); font-size: 15px; line-height: 1.2; }
.bnn-card-title { display: block; width: 100%; min-width: 0; padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer; font-weight: 900; text-align: left; }
.bnn-product-desc { margin: 5px 0 5px; color: var(--bnn-muted); font-size: 11px; line-height: 1.25; }
.bnn-product-price { color: var(--bnn-sale-price, var(--bnn-red)); font-size: 16px; font-weight: 950; }
.bnn-product-actions { display: flex; align-items: center; justify-content: space-between; gap: 7px; min-width: 0; }
.bnn-quantity { display: inline-flex; flex: 0 0 auto; align-items: center; height: 30px; overflow: hidden; border: 1px solid var(--bnn-border); border-radius: 999px; background: var(--bnn-surface, #fff); }
.bnn-quantity button { width: 28px; height: 30px; border: 0; background: transparent; color: var(--bnn-primary); cursor: pointer; font-weight: 950; }
.bnn-quantity span { min-width: 15px; color: var(--bnn-text); text-align: center; font-size: 12px; font-weight: 900; }
.bnn-add-button { min-height: 30px; padding: 7px 11px; border: 0; border-radius: 999px; background: var(--bnn-button-bg, var(--bnn-red)); color: var(--bnn-button-text, #fff); cursor: pointer; font-size: 11px; font-weight: 900; white-space: nowrap; }
.bnn-add-button:hover { background: var(--bnn-button-hover, var(--bnn-red-dark)); }
.bnn-add-button.is-added { background: var(--bnn-button-hover); }
.bnn-add-button.is-disabled, .bnn-add-button:disabled { background: var(--bnn-muted); color: var(--bnn-surface); cursor: not-allowed; }
.bnn-empty-state { grid-column: 1 / -1; padding: 30px 16px; border: 1px dashed var(--bnn-line); border-radius: 14px; color: var(--bnn-muted); text-align: center; }
.bnn-checkout-shell { margin: 0; scroll-margin-top: 86px; }
.bnn-checkout-heading { align-items: start; }
.bnn-back-link { flex: 0 0 auto; padding: 9px 12px; border: 1px solid var(--bnn-border); border-radius: 999px; background: var(--bnn-surface, #fff); color: var(--bnn-heading); cursor: pointer; font-size: 12px; font-weight: 850; }
.bnn-checkout-grid { display: flex; flex-direction: column; gap: 15px; }
.bnn-checkout-grid > aside { order: -1; }
.bnn-checkout-card { padding: 17px; border: 1px solid var(--bnn-border); border-radius: 16px; background: var(--bnn-surface, #fff); }
.bnn-checkout-card h3 { margin: 0 0 14px; color: var(--bnn-heading); font-size: 18px; }
.bnn-form-field { display: grid; gap: 5px; margin-bottom: 12px; }
.bnn-form-field label { color: var(--bnn-text); font-size: 13px; font-weight: 800; }
.bnn-form-field input, .bnn-form-field textarea, .bnn-form-field select { width: 100%; box-sizing: border-box; padding: 11px 12px; border: 1px solid var(--bnn-border); border-radius: 10px; background: var(--bnn-surface, #fff); color: var(--bnn-text); font-size: 16px; }
.bnn-checkout-button { display: block; width: 100%; box-sizing: border-box; padding: 13px 17px; border: 0; border-radius: 999px; background: var(--bnn-button-bg); color: var(--bnn-button-text); cursor: pointer; text-align: center; font-weight: 950; }
.bnn-cart-summary { display: flex; justify-content: space-between; gap: 12px; margin: 15px 0; color: var(--bnn-text); font-weight: 900; }
.bnn-mock-alert { padding: 12px 13px; border-radius: 11px; background: var(--bnn-error-bg); color: var(--bnn-error-text); font-size: 12px; }
.bnn-summary-row { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--bnn-border); color: var(--bnn-muted); font-size: 12px; }
.bnn-summary-row strong { color: var(--bnn-text); }
.bnn-empty-checkout, .bnn-empty-cart { margin: 24px 0; color: var(--bnn-muted); text-align: center; }
.bnn-site-footer { margin-top: 42px; padding: 28px 0 32px; background: var(--bnn-footer-bg, var(--bnn-green)); color: var(--bnn-footer-text, rgba(255,255,255,.76)); }
.bnn-site-footer strong { color: var(--bnn-footer-text, #fff); }
.bnn-site-footer a { color: var(--bnn-accent, #ffd3dd); }
.bnn-footer-grid { display: grid; gap: 20px; align-items: start; }
.bnn-footer-column { min-width: 0; }
.bnn-footer-title { margin: 0; color: var(--bnn-footer-text, #fff); font-size: 14px; line-height: 1.25; }
.bnn-footer-subtitle { display: block; margin-top: 13px; color: var(--bnn-footer-text, #fff); font-size: 12px; }
.bnn-footer-note { margin: 5px 0 0; font-size: 12px; }
.bnn-footer-contact-list { display: grid; gap: 8px; margin: 12px 0 0; font-size: 12px; font-style: normal; line-height: 1.45; }
.bnn-footer-contact-item { display: flex; align-items: flex-start; gap: 8px; min-width: 0; }
.bnn-footer-contact-item > span:first-child { display: inline-grid; flex: 0 0 18px; place-items: center; width: 18px; color: var(--bnn-accent); font-size: 14px; font-weight: 800; }
.bnn-footer-contact-item a { min-width: 0; overflow-wrap: anywhere; }
.bnn-footer-support-note { margin-top: 14px; }
.bnn-footer-map { aspect-ratio: 16 / 9; min-height: 150px; margin-top: 10px; overflow: hidden; border: 1px solid rgba(255,255,255,.24); border-radius: 13px; background: rgba(255,255,255,.08); }
.bnn-footer-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.bnn-footer-directions { display: inline-block; margin-top: 10px; font-weight: 800; }
.bnn-footer-links { display: grid; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; font-size: 12px; }
.bnn-footer-links li { margin: 0; }
.bnn-footer-bottom { margin-top: 22px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.7); font-size: 11px; }
.bnn-footer-mobile-optional { display: block; }
.bnn-bottom-nav { position: fixed; right: 10px; bottom: 0; left: 10px; z-index: 30; display: flex; align-items: center; justify-content: space-around; min-height: 59px; padding: 5px 7px calc(5px + env(safe-area-inset-bottom)); border: 1px solid var(--bnn-border); border-bottom: 0; border-radius: 18px 18px 0 0; background: var(--bnn-quickbar-bg, var(--bnn-surface)); box-shadow: 0 -8px 24px rgba(0, 0, 0, .18); backdrop-filter: blur(14px); }
.bnn-bottom-nav a { display: grid; justify-items: center; gap: 2px; min-width: 54px; min-height: 44px; padding: 5px 3px; color: var(--bnn-muted); font-size: 10px; font-weight: 850; }
.bnn-bottom-nav a.is-active { color: var(--bnn-primary); }
.bnn-contact-dock { position: fixed; top: 50%; right: 14px; z-index: 28; display: none; transform: translateY(-50%); gap: 7px; flex-direction: column; }
.bnn-contact-dock a { display: grid; justify-items: center; gap: 3px; width: 58px; padding: 8px 4px; border: 1px solid var(--bnn-border); border-radius: 13px; background: var(--bnn-quickbar-bg, var(--bnn-surface)); box-shadow: 0 6px 18px rgba(0, 0, 0, .12); color: var(--bnn-quickbar-icon, var(--bnn-heading)); font-size: 9px; font-weight: 900; }
.bnn-contact-dock a span:first-child { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; background: var(--bnn-quickbar-bg, var(--bnn-heading)); color: var(--bnn-quickbar-icon, #fff); font-size: 15px; }
.bnn-contact-mobile { position: fixed; right: 14px; bottom: calc(71px + env(safe-area-inset-bottom)); z-index: 35; display: block; }
.bnn-contact-toggle { display: grid; place-items: center; width: 47px; height: 47px; border: 0; border-radius: 50%; background: var(--bnn-primary); color: var(--bnn-button-text); box-shadow: 0 7px 20px rgba(0, 0, 0, .22); cursor: pointer; font-size: 19px; }
.bnn-contact-menu { position: fixed; top: 76px; right: 14px; display: grid; gap: 7px; width: 132px; padding: 9px; border: 1px solid var(--bnn-border); border-radius: 15px; background: var(--bnn-surface, #fff); box-shadow: 0 10px 30px rgba(0, 0, 0, .24); }
.bnn-contact-menu a { display: flex; align-items: center; gap: 8px; min-height: 36px; color: var(--bnn-heading); font-size: 12px; font-weight: 850; }
.bnn-contact-menu a span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--bnn-primary); color: var(--bnn-button-text); font-size: 13px; }
.bnn-drawer-open .bnn-contact-mobile, .bnn-modal-open .bnn-contact-mobile, .bnn-checkout-mode .bnn-contact-mobile, .bnn-form-focus .bnn-contact-mobile, .bnn-keyboard-open .bnn-contact-mobile { visibility: hidden; opacity: 0; pointer-events: none; }
.bnn-form-focus .bnn-bottom-nav, .bnn-keyboard-open .bnn-bottom-nav { visibility: hidden; opacity: 0; pointer-events: none; }
.bnn-cart-drawer { position: fixed; inset: 0; z-index: 45; display: none; background: rgba(18,27,23,.5); }
.bnn-cart-drawer.is-open { display: block; }
.bnn-cart-panel { position: absolute; right: 0; bottom: 0; left: 0; max-height: calc(100vh - 24px); overflow: auto; padding: 19px 20px calc(20px + env(safe-area-inset-bottom)); border-radius: 24px 24px 0 0; background: var(--bnn-page-bg); box-shadow: 0 -12px 40px rgba(0, 0, 0, .28); }
.bnn-cart-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.bnn-cart-panel h2 { margin: 0; color: var(--bnn-heading); font-size: 23px; }
.bnn-close-button { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--bnn-surface, #fff); color: var(--bnn-muted); cursor: pointer; font-size: 21px; }
.bnn-cart-line { display: grid; grid-template-columns: 52px minmax(0,1fr) auto; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--bnn-line); }
.bnn-cart-line img { width: 52px; height: 52px; border-radius: 11px; object-fit: cover; }
.bnn-cart-line-main { min-width: 0; }
.bnn-cart-line strong { display: block; color: var(--bnn-heading); font-size: 13px; }
.bnn-cart-line small { color: var(--bnn-muted); font-size: 11px; }
.bnn-cart-line-controls { display: flex; align-items: center; gap: 6px; margin-top: 5px; }
.bnn-cart-line-controls .bnn-quantity { height: 27px; }
.bnn-cart-line-controls .bnn-quantity button { width: 25px; height: 27px; }
.bnn-remove-line { border: 0; background: transparent; color: var(--bnn-muted); cursor: pointer; font-size: 11px; text-decoration: underline; }
.bnn-line-price { color: var(--bnn-red); font-size: 13px; font-weight: 900; white-space: nowrap; }
.bnn-cart-actions { display: grid; gap: 8px; }
.bnn-continue-button { padding: 10px 16px; border: 1px solid var(--bnn-border); border-radius: 999px; background: var(--bnn-surface, #fff); color: var(--bnn-heading); cursor: pointer; font-weight: 850; }
.bnn-prototype-note { margin: 12px 0 0; color: var(--bnn-muted); font-size: 11px; text-align: center; }
body.bnn-drawer-open { overflow: hidden; }
.bnn-cart-drawer .bnn-cart-line-image { display: block; width: 52px; height: 52px; overflow: hidden; border-radius: 11px; background: var(--bnn-soft-background); }
.bnn-cart-drawer .bnn-cart-line-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bnn-cart-line-meta { display: block; margin-top: 3px; }
.bnn-cart-line-meta dl { margin: 0; }
.bnn-cart-line-meta dt, .bnn-cart-line-meta dd { display: inline; margin: 0 3px 0 0; }
.bnn-cart-line-meta dt { font-weight: 800; }
.bnn-cart-qty-button { display: grid; place-items: center; width: 27px; height: 27px; padding: 0; border: 1px solid var(--bnn-border); border-radius: 50%; background: var(--bnn-surface, #fff); color: var(--bnn-primary); cursor: pointer; font-size: 16px; font-weight: 900; line-height: 1; }
.bnn-cart-quantity { min-width: 18px; color: var(--bnn-text); font-size: 12px; font-weight: 900; text-align: center; }
.bnn-cart-status { min-height: 16px; margin: 8px 0 0; color: var(--bnn-muted); font-size: 11px; }
.bnn-cart-status.is-error { color: #a5254b; }
.bnn-cart-empty { padding: 22px 0 10px; color: var(--bnn-muted); text-align: center; }
.bnn-cart-empty p { margin: 0 0 12px; }
.bnn-cart-panel.is-loading, .bnn-cart-drawer.is-loading .bnn-cart-panel { cursor: progress; opacity: .76; }
.bnn-modal { position: fixed; inset: 0; z-index: 55; display: none; align-items: end; justify-content: center; padding: 12px; background: rgba(18,27,23,.55); }
.bnn-modal.is-open { display: flex; }
.bnn-modal-card { position: relative; width: min(520px, 100%); max-height: calc(100vh - 24px); overflow: auto; border-radius: 24px; background: var(--bnn-page-bg); box-shadow: 0 16px 50px rgba(0, 0, 0, .34); }
.bnn-modal-card > img { width: 100%; max-height: 230px; object-fit: cover; }
.bnn-modal-card > .bnn-close-button { position: absolute; top: 12px; right: 12px; }
.bnn-modal-body { padding: 19px; }
.bnn-modal-body h2 { margin: 0 0 8px; color: var(--bnn-heading); font-family: Georgia, serif; font-size: 27px; line-height: 1.04; }
.bnn-modal-description { margin: 0 0 10px; color: var(--bnn-muted); font-size: 13px; }
.bnn-modal-meta, .bnn-modal-total { display: flex; justify-content: space-between; gap: 10px; color: var(--bnn-muted); font-size: 12px; }
.bnn-modal-meta { margin-bottom: 10px; }
.bnn-modal-total { align-items: center; margin: 13px 0; padding-top: 11px; border-top: 1px solid var(--bnn-border); }
.bnn-modal-total strong { color: var(--bnn-red); font-size: 18px; }
.bnn-modal-qty { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 13px; color: var(--bnn-heading); font-weight: 850; }

@media (max-width: 619px) {
  body { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
  .bnn-brand-name { display: block; font-size: 11px; line-height: 1.05; }
  .bnn-brand-name small { margin-top: 2px; font-size: 7px; letter-spacing: .06em; }
  .bnn-header-inner { gap: 8px; }
  .bnn-retail-hero { gap: 7px; padding: 13px 14px; border-radius: 16px; }
  .bnn-retail-hero h1 { font-size: clamp(24px, 7vw, 32px); }
  .bnn-hero-copy { margin-top: 6px; line-height: 1.25; }
  .bnn-hero-promo { grid-template-columns: 26px 1fr; padding: 7px 9px; }
  .bnn-promo-icon { width: 26px; height: 26px; }
  .bnn-benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bnn-benefits > div { min-width: 0; }
  .bnn-benefits strong { font-size: 10px; }
  .bnn-benefits small { display: block; font-size: 9px; }
  .bnn-section-heading { align-items: start; margin: 12px 0 8px; }
  .bnn-live-dot { margin-top: 20px; }
  .bnn-retail-hero .bnn-eyebrow { margin-bottom: 4px; font-size: 9px; }
  .bnn-hero-copy { font-size: 12px; }
  .bnn-hero-promo strong { font-size: 13px; }
  .bnn-hero-promo span:last-child { font-size: 10px; }
  .bnn-section-heading h2 { font-size: 21px; }
  .bnn-category-section .bnn-section-heading { margin-top: 10px; margin-bottom: 6px; }
  .bnn-category-button { min-height: 32px; padding: 6px 9px; }
  .bnn-retail-promo { margin: 8px 0 11px; padding: 8px 10px; }
  .bnn-retail-promo h2 { font-size: 14px; }
  .bnn-retail-promo p { display: none; }
  .bnn-menu-heading { margin-top: 10px; }
  .bnn-product-actions { padding-right: 52px; }
  .bnn-site-footer { padding-right: 58px; }
  .bnn-checkout-heading { display: block; }
  .bnn-back-link { margin-top: 8px; }
  .bnn-checkout-card { padding: 14px; }
  .bnn-checkout-card input, .bnn-checkout-card textarea, .bnn-checkout-card select { scroll-margin-bottom: 20px; }
}

/* Phase 3C.2M: compact category pills with responsive horizontal mobile scrolling. */
.bnn-category-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 7px;
  max-width: 100%;
  margin: 0;
  padding: 2px 2px 5px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}
.bnn-category-row::-webkit-scrollbar { display: none; }
.bnn-category-button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: max-content;
  min-width: 0;
  min-height: 34px;
  box-sizing: border-box;
  padding: 7px 11px;
  border: 1px solid var(--bnn-border);
  border-radius: 999px;
  background: var(--bnn-card, #fff);
  color: var(--bnn-heading);
  cursor: pointer;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}
.bnn-category-button:hover {
  border-color: var(--bnn-chip-active-bg, var(--bnn-primary));
  background: var(--bnn-chip-bg, var(--bnn-soft-background));
  color: var(--bnn-chip-text, var(--bnn-heading));
}
.bnn-category-button.is-active {
  border-color: var(--bnn-chip-active-bg, var(--bnn-primary));
  background: var(--bnn-chip-active-bg, var(--bnn-primary));
  color: var(--bnn-chip-active-text, var(--bnn-button-text, #fff));
}
@media (min-width: 620px) {
  .bnn-category-row {
    flex-wrap: wrap;
    overflow-x: visible;
    overflow-y: visible;
  }
}

/* Phase 3C.2L: approved five-icon Quickbar defaults. Custom Media Library icons keep priority. */
.bnn-quickbar a[data-bnn-quickbar-item] .bnn-quickbar-icon,
.bnn-contact-dock a[data-bnn-quickbar-item] .bnn-contact-icon {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: var(--bnn-quickbar-bg, var(--bnn-surface, #f3f5f7));
  color: var(--bnn-quickbar-icon, #fff);
}
.bnn-quickbar a[data-bnn-quickbar-item] .bnn-quickbar-icon-asset,
.bnn-contact-dock a[data-bnn-quickbar-item] .bnn-quickbar-icon-asset {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}
.bnn-quickbar a[data-bnn-quickbar-item="messenger"] .bnn-quickbar-icon,
.bnn-contact-dock a[data-bnn-quickbar-item="messenger"] .bnn-contact-icon { background: linear-gradient(145deg, #00b2ff, #8c2be2) !important; }
.bnn-quickbar a[data-bnn-quickbar-item="zalo"] .bnn-quickbar-icon,
.bnn-contact-dock a[data-bnn-quickbar-item="zalo"] .bnn-contact-icon { background: #0068ff !important; }
.bnn-quickbar a[data-bnn-quickbar-item="phone"] .bnn-quickbar-icon,
.bnn-contact-dock a[data-bnn-quickbar-item="phone"] .bnn-contact-icon { background: #2e9d59 !important; }
.bnn-quickbar a[data-bnn-quickbar-item="maps"] .bnn-quickbar-icon,
.bnn-contact-dock a[data-bnn-quickbar-item="maps"] .bnn-contact-icon { border: 1px solid #e1e5ea; background: #fff !important; }
.bnn-quickbar a[data-bnn-quickbar-item="checkout"] .bnn-quickbar-icon,
.bnn-contact-dock a[data-bnn-quickbar-item="checkout"] .bnn-contact-icon { background: #e5485d !important; }
.bnn-quickbar .bnn-quickbar-icon-asset-messenger,
.bnn-quickbar .bnn-quickbar-icon-asset-zalo,
.bnn-quickbar .bnn-quickbar-icon-asset-phone,
.bnn-quickbar .bnn-quickbar-icon-asset-checkout,
.bnn-contact-dock .bnn-quickbar-icon-asset-messenger,
.bnn-contact-dock .bnn-quickbar-icon-asset-zalo,
.bnn-contact-dock .bnn-quickbar-icon-asset-phone,
.bnn-contact-dock .bnn-quickbar-icon-asset-checkout { filter: brightness(0) invert(1); }
.bnn-quickbar-icon-asset-maps { width: 22px !important; height: 28px !important; filter: none; }
.bnn-quickbar a[data-bnn-quickbar-item] .bnn-quickbar-icon .bnn-icon-image,
.bnn-contact-dock a[data-bnn-quickbar-item] .bnn-contact-icon .bnn-icon-image { max-width: 26px; max-height: 26px; }

/* Phase 3B.2E.6: admin-managed icons, compact Woo toast, and cart quickbar. */
.bnn-svg-icon { display: block; width: 1em; height: 1em; fill: currentColor; }
.bnn-icon-image { display: block; width: 1em; height: 1em; object-fit: contain; }
.bnn-header-cart-icon { display: inline-grid; place-items: center; font-size: 21px; line-height: 1; }
.bnn-header-cart-icon .bnn-svg-icon { width: 21px; height: 21px; }
.bnn-contact-icon { display: grid !important; place-items: center; }
.bnn-contact-icon .bnn-svg-icon { width: 16px; height: 16px; }
.bnn-quickbar a[data-bnn-quickbar-item] { color: var(--bnn-quickbar-label, var(--bnn-muted)); }
.bnn-quickbar a[data-bnn-quickbar-item] .bnn-quickbar-icon,
.bnn-quickbar a[data-bnn-quickbar-item] span:first-child { display: grid; place-items: center; background: var(--bnn-quickbar-bg, var(--bnn-heading)); color: var(--bnn-quickbar-icon, #fff); }
.bnn-quickbar a[data-bnn-quickbar-item] .bnn-quickbar-icon .bnn-svg-icon { width: 1em; height: 1em; }
.bnn-quickbar a[data-bnn-quickbar-item] .bnn-cart-count { background: var(--bnn-primary); color: #fff; }
.bnn-add-toast { border-color: var(--bnn-toast-border, var(--bnn-primary)); background: var(--bnn-toast-background, var(--bnn-heading)); color: var(--bnn-toast-text, #fff); }
.bnn-add-toast-copy strong { color: var(--bnn-toast-text, #fff); }
.bnn-add-toast-copy span { color: var(--bnn-toast-text, rgba(255, 255, 255, .82)); opacity: .82; }
.bnn-add-toast-icon { display: grid; flex: 0 0 34px; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .13); color: var(--bnn-toast-icon, #ffd5e8); font-size: 20px; }
.bnn-add-toast-icon .bnn-svg-icon { width: 21px; height: 21px; }
.bnn-add-toast-cart { background: var(--bnn-toast-button-background, var(--bnn-primary)); color: var(--bnn-toast-button-text, #fff); }
.bnn-add-toast-cart:hover { background: var(--bnn-primary-hover); color: var(--bnn-toast-button-text, #fff); }
.bnn-add-toast-close { background: rgba(255, 255, 255, .13); color: var(--bnn-toast-text, #fff); }
.bnn-quickbar a[data-bnn-quickbar-item="cart"] { position: relative; }
.bnn-quickbar a[data-bnn-quickbar-item="cart"] > .bnn-cart-count { top: 3px; right: 16%; }
.bnn-contact-dock a[data-bnn-quickbar-item] { color: var(--bnn-quickbar-label, var(--bnn-green)); }
.bnn-quickbar a[data-bnn-quickbar-item="checkout"],
.bnn-contact-dock a[data-bnn-quickbar-item="checkout"] { color: var(--bnn-quickbar-payment-label, var(--bnn-primary)); }
.bnn-contact-dock a[data-bnn-quickbar-item] { position: relative; }
.bnn-contact-dock a[data-bnn-quickbar-item] .bnn-contact-icon { background: var(--bnn-quickbar-bg, var(--bnn-green)); color: var(--bnn-quickbar-icon, #fff); }
.bnn-contact-dock a[data-bnn-quickbar-item] .bnn-cart-count { position: absolute; top: 4px; right: 5px; min-width: 16px; padding: 2px 4px; border-radius: 999px; background: var(--bnn-primary); color: #fff; font-size: 9px; text-align: center; }
.bnn-drawer-open .bnn-contact-dock { visibility: hidden; opacity: 0; pointer-events: none; }
@media (max-width: 379px) {
  .bnn-container { width: calc(100% - 24px); }
  .bnn-product-card--list { grid-template-columns: 74px minmax(0, 1fr); gap: 0 8px; }
  .bnn-product-media, .bnn-product-media img { width: 74px; min-height: 140px; }
  .bnn-product-card-body { padding-right: 8px; }
  .bnn-product-actions { gap: 4px; }
  .bnn-quantity button { width: 25px; }
  .bnn-add-button { padding-inline: 8px; }
}
@media (min-width: 620px) {
  body { padding-bottom: 0; }
  .bnn-header-inner { min-height: 78px; }
  .bnn-brand img { width: 50px; height: 50px; }
  .bnn-brand-name { font-size: 16px; }
  .bnn-retail-hero { grid-template-columns: 1.55fr .75fr; padding: 25px 28px; }
  .bnn-retail-hero.has-image-background { background-image: var(--bnn-banner-gradient-layer, none), var(--bnn-banner-overlay, none), var(--bnn-banner-image-desktop, none); }
  .bnn-category-row { flex-wrap: wrap; overflow-x: visible; row-gap: 6px; }
  .bnn-product-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
  .bnn-product-card--list { display: block; }
  .bnn-product-media, .bnn-product-media img { width: 100%; height: auto; min-height: 0; aspect-ratio: 1.5 / 1; }
  .bnn-product-card-body { display: block; padding: 12px; }
  .bnn-product-actions { margin-top: 12px; }
  .bnn-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bnn-footer-policies { grid-column: 1 / -1; }
  .bnn-checkout-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: start; }
  .bnn-checkout-grid > aside { order: 0; }
  .bnn-bottom-nav, .bnn-contact-mobile { display: none; }
  .bnn-contact-dock { display: flex; }
  .bnn-cart-panel { top: 0; right: 0; bottom: 0; left: auto; width: min(430px, 100%); max-height: none; border-radius: 24px 0 0 24px; }
  .bnn-modal { align-items: center; }
}
@media (max-width: 619px) {
  .bnn-retail-hero.has-image-background { background-image: var(--bnn-banner-gradient-layer, none), var(--bnn-banner-overlay, none), var(--bnn-banner-image-mobile, var(--bnn-banner-image-desktop, none)); }
  .bnn-footer-grid { gap: 18px; }
  .bnn-footer-mobile-optional,
  .bnn-footer-map-column { display: none !important; }
  .bnn-footer-contact-list { gap: 7px; margin-top: 8px; }
  .bnn-footer-links { gap: 6px; margin-top: 10px; }
  .bnn-footer-bottom { margin-top: 18px; padding-top: 12px; }
}
@media (min-width: 1080px) {
  .bnn-product-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
  .bnn-product-media { display: block; width: 100%; height: auto; min-height: 0; flex: 0 0 auto; aspect-ratio: 1 / 1; overflow: hidden; }
  .bnn-product-media > img { display: block; width: 100%; height: 100% !important; max-width: none; max-height: none; min-height: 0; object-fit: cover; }
  .bnn-retail-hero { padding: 28px 34px; }
  .bnn-footer-grid { grid-template-columns: 1.15fr 1.05fr .9fr; }
  .bnn-footer-policies { grid-column: auto; }
}

@media (min-width: 900px) and (max-width: 1079px) {
  .bnn-footer-grid { grid-template-columns: 1.15fr 1.05fr .9fr; }
  .bnn-footer-policies { grid-column: auto; }
}

/* Phase 3A.4B: exact BNN pink retail grid and five-action mobile quick bar. */
.bnn-menu-toggle { display: none; }
.bnn-quickbar { display: none; }
.bnn-product-card { box-shadow: 0 5px 18px rgba(0, 0, 0, .08); }
.bnn-add-button,
.bnn-checkout-button,
.bnn-promo-link { background: var(--bnn-button-background); color: var(--bnn-button-text); }
.bnn-add-button:hover,
.bnn-checkout-button:hover,
.bnn-promo-link:hover { background: var(--bnn-primary-hover); }
.bnn-product-card h3,
.bnn-section-heading h2,
.bnn-cart-panel h2,
.bnn-checkout-card h3,
.bnn-modal-body h2 { color: var(--bnn-heading); }
.bnn-product-price { color: var(--bnn-sale-price); }
.bnn-modal-total strong { color: var(--bnn-primary); }
.bnn-category-button:not(.is-active) {
  background: var(--bnn-chip-bg, #fff3f7);
  color: var(--bnn-chip-text, var(--bnn-heading));
}
.bnn-category-button.is-active { border-color: var(--bnn-primary); background: var(--bnn-primary); color: var(--bnn-button-text, #fff); }
.bnn-category-button:hover:not(.is-active) { border-color: var(--bnn-primary); background: var(--bnn-soft-background); color: var(--bnn-heading); }
.bnn-header-search input:focus { border-color: var(--bnn-primary); box-shadow: 0 0 0 3px var(--bnn-surface-soft); }
.bnn-header-search input { border-color: var(--bnn-border); }
.bnn-site-header { background: var(--bnn-page-bg); border-bottom-color: var(--bnn-border); }
.bnn-brand img { border-color: var(--bnn-accent); }
.bnn-cart-button { background: var(--bnn-button-bg); color: var(--bnn-button-text); }
.bnn-cart-count { background: var(--bnn-primary); }

/* Phase 3C.4Q: accessible mobile navigation drawer. */
.bnn-mobile-navigation { display: none; }

@media (max-width: 619px) {
  .bnn-mobile-navigation {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: block;
  }
  .bnn-mobile-navigation[hidden] { display: none; }
  .bnn-mobile-navigation-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: rgba(30, 20, 24, .44);
    cursor: pointer;
    opacity: 0;
    transition: opacity .2s ease;
  }
  .bnn-mobile-navigation-panel {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: min(88vw, 375px);
    max-width: 100%;
    overflow-y: auto;
    padding: calc(18px + env(safe-area-inset-top)) 20px calc(20px + env(safe-area-inset-bottom));
    box-sizing: border-box;
    background: var(--bnn-surface, #fff);
    box-shadow: 14px 0 35px rgba(75, 31, 49, .16);
    transform: translateX(-102%);
    transition: transform .22s ease;
  }
  .bnn-mobile-navigation.is-open .bnn-mobile-navigation-overlay { opacity: 1; }
  .bnn-mobile-navigation.is-open .bnn-mobile-navigation-panel { transform: translateX(0); }
  .bnn-mobile-navigation-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--bnn-border); }
  .bnn-mobile-navigation-head h2 { margin: 0; color: var(--bnn-heading); font-size: 18px; letter-spacing: .08em; }
  .bnn-mobile-nav-list { list-style: none; margin: 8px 0 0; padding: 0; }
  .bnn-mobile-nav-list li { margin: 0; border-bottom: 1px solid var(--bnn-border); }
  .bnn-mobile-nav-list a { display: flex; align-items: center; min-height: 54px; padding: 8px 0; color: var(--bnn-heading); font-size: 14px; font-weight: 850; letter-spacing: .035em; text-decoration: none; }
  .bnn-mobile-nav-list a:hover,
  .bnn-mobile-nav-list a:focus-visible { color: var(--bnn-primary); }
  .bnn-mobile-nav-list .sub-menu { list-style: none; margin: 0; padding: 0 0 0 12px; }
  .bnn-mobile-nav-list .sub-menu a { min-height: 44px; font-size: 12px; }
  body.bnn-mobile-nav-open { overflow: hidden; }
  body.bnn-mobile-nav-open .bnn-quickbar,
  body.bnn-mobile-nav-open .bnn-contact-mobile { visibility: hidden; opacity: 0; pointer-events: none; }
  body.admin-bar .bnn-mobile-navigation-panel { top: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  .bnn-mobile-navigation-overlay,
  .bnn-mobile-navigation-panel { transition: none; }
}

@media (max-width: 619px) {
  body { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
  html body .bnn-product-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bnn-checkout-shell { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
  .bnn-header-inner {
    flex-wrap: wrap;
    row-gap: 8px;
    min-height: 0;
    padding-block: 8px 10px;
    overflow: visible;
  }
  .bnn-menu-toggle {
    order: 1;
    display: grid;
    place-items: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border: 1px solid var(--bnn-border);
    border-radius: 12px;
    background: var(--bnn-surface, #fff);
    color: var(--bnn-heading);
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
  }
  .bnn-brand { order: 2; margin-inline: auto; }
  .bnn-brand img { width: 42px; height: 42px; }
  .bnn-brand-name { font-size: 11px; }
  .bnn-cart-button { order: 3; width: 40px; height: 40px; }
  .bnn-header-search { order: 4; flex: 0 0 100%; width: 100%; }
  .bnn-header-search input { min-height: 42px; }
  .bnn-retail-hero { margin-bottom: 9px; }
  .bnn-product-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .bnn-product-card--list { display: flex; flex-direction: column; gap: 0; }
  .bnn-product-media {
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    flex: 0 0 auto;
    aspect-ratio: 1 / 1;
    overflow: hidden;
  }
  .bnn-product-media > img {
    display: block;
    width: 100%;
    height: 100% !important;
    max-width: none;
    max-height: none;
    min-height: 0;
    object-fit: cover;
  }
  .bnn-product-card-body { display: flex; flex: 1; min-height: 0; flex-direction: column; padding: 9px; }
  .bnn-product-category { overflow: hidden; margin-bottom: 3px; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
  .bnn-product-card h3 { font-size: 14px; line-height: 1.18; }
  .bnn-card-title { display: -webkit-box; overflow: hidden; min-height: 33px; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .bnn-product-desc { display: -webkit-box; overflow: hidden; min-height: 25px; margin: 4px 0; font-size: 10px; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .bnn-product-price { margin: 4px 0 8px; font-size: 15px; }
  .bnn-product-actions { display: grid; grid-template-columns: 1fr; gap: 7px; margin-top: auto; padding-right: 0; }
  .bnn-quantity { width: 100%; height: 36px; justify-content: space-between; }
  .bnn-quantity button { width: 38px; height: 36px; }
  .bnn-add-button { width: 100%; min-height: 40px; padding: 8px 4px; font-size: 10px; line-height: 1.1; white-space: normal; }
  .bnn-site-footer { padding-right: 16px; padding-bottom: calc(40px + env(safe-area-inset-bottom)); }
  .bnn-add-toast { top: calc(112px + env(safe-area-inset-top)); right: 10px; left: 10px; width: auto; }
  .bnn-bottom-nav,
  .bnn-contact-mobile { display: none !important; }
  .bnn-quickbar {
    position: fixed;
    right: 8px;
    bottom: 0;
    left: 8px;
    z-index: 40;
    display: flex !important;
    align-items: stretch;
    justify-content: space-around;
    min-height: 64px;
    padding: 5px 5px calc(6px + env(safe-area-inset-bottom));
    border: 1px solid var(--bnn-border);
    border-bottom: 0;
    border-radius: 18px 18px 0 0;
    background: var(--bnn-quickbar-bg, var(--bnn-surface));
    box-shadow: 0 -8px 24px rgba(0, 0, 0, .18);
    backdrop-filter: blur(14px);
  }
  .bnn-quickbar a {
    display: grid;
    flex: 1;
    min-width: 0;
    min-height: 48px;
    align-content: center;
    justify-items: center;
    gap: 2px;
    padding: 4px 2px;
    color: var(--bnn-muted);
    font-size: 9px;
    font-weight: 900;
    text-align: center;
  }
  .bnn-quickbar a span:first-child {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 9px;
    background: var(--bnn-quickbar-bg, var(--bnn-heading));
    color: var(--bnn-quickbar-icon, #fff);
    font-size: 14px;
    line-height: 1;
  }
  .bnn-quickbar a[data-bnn-quickbar-item]:hover,
  .bnn-quickbar a[data-bnn-quickbar-item]:focus-visible { color: var(--bnn-quickbar-label, var(--bnn-primary)); }
  .bnn-quickbar a[data-bnn-quickbar-item="checkout"],
  .bnn-quickbar a[data-bnn-quickbar-item="checkout"]:hover,
  .bnn-quickbar a[data-bnn-quickbar-item="checkout"]:focus-visible { color: var(--bnn-quickbar-payment-label, var(--bnn-primary)); }
  .bnn-quickbar a:last-child span:first-child { background: var(--bnn-primary); color: var(--bnn-button-text); }
  .bnn-drawer-open .bnn-quickbar,
  .bnn-modal-open .bnn-quickbar,
  .bnn-form-focus .bnn-quickbar,
  .bnn-keyboard-open .bnn-quickbar { visibility: hidden; opacity: 0; pointer-events: none; }
}

@media (max-width: 379px) {
  .bnn-product-list { gap: 8px; }
  .bnn-product-card-body { padding: 8px; }
  .bnn-product-card h3 { font-size: 13px; }
  .bnn-product-price { font-size: 14px; }
  .bnn-add-button { font-size: 9px; }
  .bnn-quickbar { right: 4px; left: 4px; }
}

@media (min-width: 620px) {
  .bnn-menu-toggle,
  .bnn-quickbar { display: none !important; }
}

/* WooCommerce archive/product grids inherit the same retail rhythm at integration time. */
.woocommerce ul.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; }
@media (max-width: 619px) {
  .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}
@media (min-width: 1080px) {
  .woocommerce ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
}

/* Phase 3C.4S.1: keep single-product related products in their own clear row. */
body.single-product .related.products {
  clear: both;
  width: 100%;
  max-width: 100%;
  margin: 32px 0 0;
  padding: 0;
  overflow: visible;
}
body.single-product .related.products > h2 {
  clear: both;
  margin: 0 0 14px;
  color: var(--bnn-heading);
  font-size: 21px;
  line-height: 1.25;
  text-align: left;
}
body.single-product .related.products > ul.products {
  clear: both;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  gap: 10px;
}
body.single-product .related.products > ul.products::before,
body.single-product .related.products > ul.products::after { display: none; content: none; }
body.single-product .related.products > ul.products > li.product {
  float: none !important;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
}
@media (min-width: 620px) {
  body.single-product .related.products > ul.products { gap: 15px; }
}
@media (min-width: 1080px) {
  body.single-product .related.products > ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
}

/* Phase 3B.2E.1: compact WooCommerce quantity + add-to-cart row. */
.bnn-product-card { container: bnn-product-card / inline-size; height: 100%; display: flex; flex-direction: column; }
.bnn-product-card-body { flex: 1; display: flex; flex-direction: column; }
.bnn-product-main { display: flex; flex: 1; min-height: 0; flex-direction: column; }
.bnn-card-title { font-weight: 750; }
.bnn-product-price { margin-top: auto; }
.bnn-product-actions { display: flex; align-items: center; justify-content: flex-end; gap: 7px; margin-top: auto; }
.bnn-product-actions form.cart { display: flex; flex: 1 1 auto; align-items: center; min-width: 0; height: 34px; gap: 7px; margin: 0; }
.bnn-product-actions form.cart .quantity.bnn-loop-quantity { display: inline-flex; flex: 0 0 auto; align-items: center; width: auto; min-width: 0; height: 34px; margin: 0; box-sizing: border-box; overflow: hidden; border: 1px solid var(--bnn-border); border-radius: 999px; background: var(--bnn-surface, #fff); }
.bnn-product-actions form.cart .quantity.bnn-loop-quantity input.qty { width: 26px; min-width: 26px; height: 32px; margin: 0; padding: 0; border: 0; background: transparent; color: var(--bnn-heading); font-size: 12px; font-weight: 900; line-height: 32px; text-align: center; }
.bnn-product-actions form.cart .quantity.bnn-loop-quantity input.qty::-webkit-inner-spin-button,
.bnn-product-actions form.cart .quantity.bnn-loop-quantity input.qty::-webkit-outer-spin-button { margin: 0; appearance: none; }
.bnn-product-actions form.cart .quantity.bnn-loop-quantity input.qty { appearance: textfield; }
.bnn-product-actions form.cart .bnn-qty-step { display: grid; place-items: center; flex: 0 0 23px; width: 23px; height: 32px; padding: 0; border: 0; background: transparent; color: var(--bnn-heading); cursor: pointer; font-size: 16px; font-weight: 950; line-height: 1; }
.bnn-product-actions form.cart .bnn-qty-step:disabled { color: #c8b9bf; cursor: not-allowed; }
.bnn-product-actions form.cart .button.bnn-product-add { display: inline-flex !important; flex: 1 1 auto; align-items: center; justify-content: center; width: auto; min-width: 0; height: 34px; min-height: 34px; margin: 0 !important; box-sizing: border-box; padding: 0 8px; border: 0; border-radius: 9px; background: var(--bnn-button-background); color: #F7F7F7 !important; cursor: pointer; font-size: 15px; font-weight: 600; line-height: 1; white-space: nowrap; }
.bnn-product-actions form.cart .button.bnn-product-add:hover { background: var(--bnn-primary-hover); }
.bnn-product-actions form.cart .button.bnn-product-add:disabled { opacity: .55; cursor: not-allowed; }
.bnn-product-actions .added_to_cart.wc-forward { display: none !important; }
.bnn-add-label-compact { display: none; }
.bnn-product-price del { margin-right: 3px; color: var(--bnn-muted); font-size: .78em; opacity: .78; }
.bnn-product-price ins { text-decoration: none; }

/* Phase 3B.2E.3: replace WooCommerce loop cart links with one accessible toast. */
.bnn-add-toast[hidden] { display: none !important; }
.bnn-add-toast { position: fixed; top: 90px; right: 88px; z-index: 60; display: flex; align-items: center; gap: 10px; width: min(390px, calc(100vw - 32px)); box-sizing: border-box; padding: 11px 12px; border: 1px solid var(--bnn-toast-border, var(--bnn-border)); border-radius: 14px; background: var(--bnn-toast-background, var(--bnn-heading)); box-shadow: 0 12px 30px rgba(91, 35, 55, .18); color: var(--bnn-toast-text, #fff); }
.bnn-add-toast-copy { display: grid; min-width: 0; gap: 2px; }
.bnn-add-toast-copy strong { color: var(--bnn-toast-text, #fff); font-size: 13px; }
.bnn-add-toast-copy span { overflow: hidden; color: var(--bnn-toast-text, rgba(255, 255, 255, .82)); font-size: 11px; opacity: .82; text-overflow: ellipsis; white-space: nowrap; }
.bnn-add-toast-cart { flex: 0 0 auto; padding: 7px 10px; border-radius: 999px; background: var(--bnn-toast-button-background, var(--bnn-primary)); color: var(--bnn-toast-button-text, #fff); font-size: 11px; font-weight: 900; white-space: nowrap; }
.bnn-add-toast-cart:hover { background: var(--bnn-toast-button-background, var(--bnn-primary)); color: var(--bnn-toast-button-text, #fff); }
.bnn-add-toast-close { display: grid; flex: 0 0 28px; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .13); color: var(--bnn-toast-text, #fff); cursor: pointer; font-size: 18px; line-height: 1; }

@container bnn-product-card (max-width: 240px) {
  .bnn-product-actions form.cart { gap: 6px; }
  .bnn-product-actions form.cart .button.bnn-product-add { padding-inline: 5px; font-size: 14px; }
  .bnn-add-label-full { display: none; }
  .bnn-add-label-compact { display: inline; }
}

/* Phase 3B.2E.2: keep tablet contact controls below content and reveal long titles. */
@media (max-width: 379px) {
  .bnn-card-title { min-height: 45px; -webkit-line-clamp: 3; }
}

@media (min-width: 620px) and (max-width: 1359px) {
  body { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
  .bnn-contact-dock,
  .bnn-contact-mobile { display: none !important; }
  .bnn-quickbar {
    position: fixed;
    right: 18px;
    bottom: 0;
    left: 18px;
    z-index: 40;
    display: flex !important;
    align-items: stretch;
    justify-content: space-around;
    min-height: 64px;
    padding: 5px 10px calc(6px + env(safe-area-inset-bottom));
    border: 1px solid var(--bnn-border);
    border-bottom: 0;
    border-radius: 18px 18px 0 0;
    background: var(--bnn-quickbar-bg, var(--bnn-surface));
    box-shadow: 0 -8px 24px rgba(0, 0, 0, .18);
    backdrop-filter: blur(14px);
  }
  .bnn-quickbar a {
    display: grid;
    flex: 1;
    min-width: 0;
    min-height: 48px;
    align-content: center;
    justify-items: center;
    gap: 2px;
    padding: 4px 6px;
    color: var(--bnn-muted);
    font-size: 11px;
    font-weight: 900;
    text-align: center;
  }
  .bnn-quickbar a span:first-child {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: var(--bnn-quickbar-bg, var(--bnn-heading));
    color: var(--bnn-quickbar-icon, #fff);
    font-size: 15px;
    line-height: 1;
  }
  .bnn-quickbar a:hover,
  .bnn-quickbar a:focus-visible { color: var(--bnn-primary); }
  .bnn-quickbar a:last-child { color: var(--bnn-primary); }
  .bnn-quickbar a:last-child span:first-child { background: var(--bnn-primary); color: var(--bnn-button-text); }
  .bnn-drawer-open .bnn-quickbar,
  .bnn-modal-open .bnn-quickbar,
  .bnn-form-focus .bnn-quickbar,
  .bnn-keyboard-open .bnn-quickbar { visibility: hidden; opacity: 0; pointer-events: none; }
}

@media (min-width: 1360px) {
  body { padding-bottom: 0; }
  .bnn-quickbar,
  .bnn-contact-mobile { display: none !important; }
  .bnn-contact-dock { display: flex; }
}

/* Phase 3B.2E: real WooCommerce Classic Checkout presentation and DEV safety state. */
.bnn-checkout-page .bnn-page-shell { width: min(1180px, calc(100% - 32px)); padding: 18px 0 calc(104px + env(safe-area-inset-bottom)); }
.bnn-checkout-intro { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin: 0 0 16px; padding: 17px 18px; border: 1px solid var(--bnn-border); border-radius: 18px; background: linear-gradient(135deg, var(--bnn-surface) 0%, var(--bnn-soft-background) 100%); }
.bnn-checkout-intro h1 { margin: 0 0 5px; color: var(--bnn-heading); font-family: Georgia, serif; font-size: clamp(25px, 5vw, 36px); line-height: 1.05; }
.bnn-checkout-intro p:not(.bnn-eyebrow) { margin: 0; color: var(--bnn-muted); font-size: 13px; }
.bnn-checkout-back { flex: 0 0 auto; padding: 9px 13px; border: 1px solid var(--bnn-border); border-radius: 999px; background: var(--bnn-surface); color: var(--bnn-heading); font-size: 12px; font-weight: 850; }
.bnn-checkout-page .woocommerce { min-width: 0; }
.bnn-checkout-page form.checkout { display: flex; flex-direction: column; gap: 14px; }
.bnn-checkout-page #customer_details { display: grid; gap: 14px; order: 1; }
.bnn-checkout-page #customer_details .col-1,
.bnn-checkout-page #customer_details .col-2 { float: none; width: auto; padding: 16px; border: 1px solid var(--bnn-border); border-radius: 16px; background: var(--bnn-surface); box-sizing: border-box; }
.bnn-checkout-page #customer_details .col-1::before,
.bnn-checkout-page #customer_details .col-1::after,
.bnn-checkout-page #customer_details .col-2::before,
.bnn-checkout-page #customer_details .col-2::after { display: none; }
.bnn-checkout-page #customer_details h3 { margin: 0 0 14px; color: var(--bnn-heading); font-size: 19px; }
.bnn-checkout-page #customer_details .form-row,
.bnn-checkout-page #customer_details .form-row-first,
.bnn-checkout-page #customer_details .form-row-last { float: none; width: 100%; margin-right: 0; }
.bnn-checkout-page #customer_details .form-row label { color: var(--bnn-text); font-size: 13px; font-weight: 800; }
.bnn-checkout-page #customer_details .form-row input,
.bnn-checkout-page #customer_details .form-row select,
.bnn-checkout-page #customer_details .form-row textarea { min-height: 46px; padding: 12px 13px; border-color: var(--bnn-border); border-radius: 11px; background: var(--bnn-surface); color: var(--bnn-text); font-size: 16px; }
.bnn-checkout-page #customer_details .form-row textarea { min-height: 92px; }
.bnn-checkout-page #order_review_heading { order: 2; margin: 0; padding: 0 2px; color: var(--bnn-heading); font-size: 21px; }
.bnn-checkout-page #order_review { order: 3; min-width: 0; padding: 14px; border: 1px solid var(--bnn-border); border-radius: 16px; background: var(--bnn-surface); }
.bnn-checkout-page #order_review table.shop_table { margin: 0; border: 0; box-shadow: none; }
.bnn-checkout-page #order_review table.shop_table th,
.bnn-checkout-page #order_review table.shop_table td { padding: 10px 7px; }
.bnn-checkout-page #order_review table.shop_table .product-name { color: var(--bnn-text); font-weight: 700; }
.bnn-checkout-page #order_review table.shop_table .product-total,
.bnn-checkout-page #order_review table.shop_table .order-total td { color: var(--bnn-primary); font-weight: 850; }
.bnn-checkout-page #order_review table.shop_table .order-total th,
.bnn-checkout-page #order_review table.shop_table .order-total td { border-bottom: 0; font-size: 17px; }
.bnn-shipping-blocked-row td { padding: 10px 0 !important; border-bottom: 0 !important; }
.bnn-shipping-blocked-message { display: grid; gap: 4px; padding: 11px 12px; border: 1px solid var(--bnn-error-bg); border-radius: 11px; background: var(--bnn-error-bg); color: var(--bnn-error-text); font-size: 12px; line-height: 1.4; }
.bnn-shipping-blocked-message strong { color: var(--bnn-error-text); }
.bnn-dev-checkout-notice { margin: 0 0 14px; padding: 12px 14px; border: 1px solid var(--bnn-error-bg); border-radius: 12px; background: var(--bnn-error-bg); color: var(--bnn-error-text); font-size: 13px; font-weight: 800; }
.bnn-checkout-page #payment { margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--bnn-border); background: transparent; }
.bnn-checkout-page #payment .wc_payment_methods { padding: 0; border: 0; }
.bnn-checkout-page #payment .place-order { padding: 0; }
.bnn-checkout-page #payment .button,
.bnn-checkout-page #place_order { width: 100%; min-height: 48px; border-radius: 999px; background: var(--bnn-button-bg, var(--bnn-primary)); color: var(--bnn-button-text, #fff); font-weight: 900; }
.bnn-checkout-page #place_order.bnn-dev-order-lock { cursor: not-allowed; opacity: .58; }
.bnn-checkout-page .woocommerce-form-coupon-toggle { margin: 0 0 12px; }
.bnn-checkout-page .woocommerce-info,
.bnn-checkout-page .woocommerce-message,
.bnn-checkout-page .woocommerce-error { border-color: var(--bnn-error-bg); border-radius: 12px; background: var(--bnn-error-bg); color: var(--bnn-error-text); }

@media (min-width: 760px) {
  .bnn-checkout-page .bnn-page-shell { width: min(1180px, calc(100% - 48px)); padding-top: 28px; }
  .bnn-checkout-page form.checkout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr); align-items: start; column-gap: 18px; }
  .bnn-checkout-page #customer_details { grid-column: 1; grid-row: 1 / span 3; }
  .bnn-checkout-page #order_review_heading { grid-column: 2; grid-row: 1; }
  .bnn-checkout-page #order_review { grid-column: 2; grid-row: 2 / span 2; }
}

@media (max-width: 619px) {
  .bnn-checkout-page .bnn-page-shell { width: calc(100% - 24px); padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
  .bnn-checkout-intro { display: block; padding: 14px; }
  .bnn-checkout-intro h1 { font-size: 27px; }
  .bnn-checkout-intro p { overflow-wrap: anywhere; }
  .bnn-checkout-back { display: inline-block; margin-top: 10px; }
  .bnn-checkout-page #customer_details .col-1,
  .bnn-checkout-page #customer_details .col-2,
  .bnn-checkout-page #order_review { padding: 13px; }
  .bnn-checkout-page #order_review_heading { font-size: 20px; }

  .woocommerce .woocommerce-message,
  .woocommerce .woocommerce-info,
  .woocommerce .woocommerce-error { box-sizing: border-box; max-width: 100%; overflow: hidden; overflow-wrap: anywhere; }
  .woocommerce .woocommerce-message,
  .woocommerce .woocommerce-info,
  .woocommerce .woocommerce-error { width: 100% !important; min-width: 0 !important; }
  .woocommerce .woocommerce-message .button,
  .woocommerce .woocommerce-info .button,
  .woocommerce .woocommerce-error .button { position: static !important; float: none !important; clear: both; display: block; width: fit-content; max-width: 100%; margin: 9px 0 0 auto !important; white-space: normal; }

  .woocommerce-cart .woocommerce,
  .woocommerce-cart .woocommerce-cart-form,
  .woocommerce-cart .cart_totals { width: 100%; min-width: 0; max-width: 100%; }
  .woocommerce-cart .woocommerce table.shop_table { display: block; width: 100% !important; min-width: 0 !important; max-width: 100% !important; overflow: hidden; }
  .woocommerce-cart .woocommerce table.shop_table thead { display: none; }
  .woocommerce-cart .woocommerce table.shop_table tbody,
  .woocommerce-cart .woocommerce table.shop_table tr.cart_item { display: block; width: 100%; }
  .woocommerce-cart .woocommerce table.shop_table tr.cart_item { position: relative; box-sizing: border-box; padding: 9px 12px; border-bottom: 1px solid var(--bnn-border); }
  .woocommerce-cart .woocommerce table.shop_table tr.cart_item td { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100% !important; min-width: 0 !important; max-width: 100%; box-sizing: border-box; padding: 9px 0; border: 0; text-align: right; overflow: hidden; overflow-wrap: anywhere; word-break: break-word; }
  .woocommerce-cart .woocommerce table.shop_table tr.cart_item td::before { flex: 0 0 auto; margin: 0; color: var(--bnn-text); font-weight: 800; }
  .woocommerce-cart .woocommerce table.shop_table tr.cart_item td.product-remove { position: absolute; top: 6px; right: 8px; display: block; width: auto; padding: 0; z-index: 1; }
  .woocommerce-cart .woocommerce table.shop_table tr.cart_item td.product-remove::before { display: none; }
  .woocommerce-cart .woocommerce table.shop_table tr.cart_item td.product-thumbnail { justify-content: flex-start; padding-right: 30px; }
  .woocommerce-cart .woocommerce table.shop_table tr.cart_item td.product-name { display: block; width: 100% !important; max-width: 100%; padding-right: 30px; text-align: left; }
  .woocommerce-cart .woocommerce table.shop_table tr.cart_item td.product-name::before { display: block; margin-bottom: 4px; }
  .woocommerce-cart .woocommerce table.shop_table tr.cart_item td.product-name a,
  .woocommerce-cart .woocommerce table.shop_table tr.cart_item td.product-name span { display: block; max-width: 100%; white-space: normal !important; overflow-wrap: anywhere; word-break: break-word; }
  .woocommerce-cart .woocommerce table.shop_table tr.actions { display: block; padding: 12px; }
  .woocommerce-cart .woocommerce table.shop_table tr.actions td { display: block; width: 100%; padding: 0; border: 0; text-align: left; }
  .woocommerce-cart .woocommerce table.shop_table tr.actions td::before { display: none; }
  .woocommerce-cart .woocommerce table.shop_table .coupon { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; margin-bottom: 10px; }
  .woocommerce-cart .woocommerce table.shop_table .coupon input,
  .woocommerce-cart .woocommerce table.shop_table .coupon button { flex: 1 1 145px; min-width: 0; box-sizing: border-box; }
  .woocommerce-cart .woocommerce table.shop_table .coupon button { margin: 0; }
  .woocommerce-cart .woocommerce table.shop_table .actions > button { width: 100%; margin: 0; }
  .woocommerce-cart .cart_totals table.shop_table { display: table; width: 100% !important; table-layout: fixed; }
  .woocommerce-cart .cart_totals table.shop_table th,
  .woocommerce-cart .cart_totals table.shop_table td { min-width: 0; max-width: 100%; white-space: normal; overflow-wrap: anywhere; word-break: break-word; }
}

/* Phase 3C.4G: compact homepage voucher chips with one-at-a-time details. */
.bnn-home-discount-codes { min-width: 0; margin: 0 0 14px; }
.bnn-home-discount-codes .bnn-section-heading { margin: 0 0 var(--bnn-voucher-heading-margin-bottom); }
.bnn-home-discount-codes .bnn-section-heading h2 { color: var(--bnn-voucher-heading-color); font-size: var(--bnn-voucher-heading-size-desktop); font-weight: var(--bnn-voucher-heading-weight); }
.bnn-home-discount-codes__body { min-width: 0; box-sizing: border-box; padding: 0; border: 0; background: transparent; }
.bnn-home-discount-codes__body .bnn-isures-home-native.isures-sdc--wrap { width: 100%; max-width: 100%; margin: 0; padding: 0; clear: both; }
.bnn-home-discount-codes__body .bnn-isures-voucher-list.isures-sdc--list { display: flex; flex-wrap: wrap; align-items: flex-start; gap: var(--bnn-voucher-chip-gap); min-width: 0; margin: 0; padding: 0; list-style: none; }
.bnn-home-discount-codes--slider .bnn-home-discount-codes__body .bnn-isures-voucher-list.isures-sdc--list { flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; scroll-snap-type: x proximity; padding: 1px 1px 4px; }
.bnn-home-discount-codes--slider .bnn-home-discount-codes__body .bnn-isures-voucher-list.isures-sdc--list::-webkit-scrollbar { display: none; }
.bnn-home-discount-codes__body .bnn-isures-voucher.isures-sdc--item { display: block; flex: 0 0 auto; width: auto; max-width: 100%; min-width: 0; min-height: 0 !important; margin: 0 !important; padding: 0 !important; position: relative; box-sizing: border-box; }
.bnn-home-discount-codes__body .bnn-isures-voucher__chip { display: inline-flex; align-items: center; justify-content: center; gap: 6px; max-width: min(82vw, 220px); min-height: 34px; margin: 0; padding: var(--bnn-voucher-chip-padding-y) var(--bnn-voucher-chip-padding-x); border: 1px solid var(--bnn-voucher-chip-border); border-radius: var(--bnn-voucher-chip-radius); background: var(--bnn-voucher-chip-bg); color: var(--bnn-voucher-chip-color); cursor: pointer; font: inherit; font-size: var(--bnn-voucher-chip-size-desktop); font-weight: var(--bnn-voucher-chip-weight); line-height: 1.2; white-space: nowrap; text-align: left; box-shadow: none; transition: border-color .16s ease, background-color .16s ease, color .16s ease; }
.bnn-home-discount-codes__body .bnn-isures-voucher__chip:hover,
.bnn-home-discount-codes__body .bnn-isures-voucher__chip:focus-visible { border-color: var(--bnn-voucher-hover-border, var(--bnn-primary)); background: var(--bnn-voucher-hover-bg, var(--bnn-soft-background)); color: var(--bnn-voucher-hover-text, var(--bnn-primary)); outline: none; }
.bnn-home-discount-codes__body .bnn-isures-voucher.is-open .bnn-isures-voucher__chip { border-color: var(--bnn-voucher-hover-border, var(--bnn-primary)); background: var(--bnn-voucher-hover-bg, var(--bnn-soft-background)); color: var(--bnn-voucher-hover-text, var(--bnn-primary)); }
.bnn-isures-voucher__chip-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bnn-isures-voucher__chip-icon { flex: 0 0 auto; font-size: 14px; line-height: 1; transform: translateY(-1px); transition: transform .16s ease; }
.bnn-isures-voucher.is-open .bnn-isures-voucher__chip-icon { transform: rotate(180deg) translateY(1px); }
.bnn-isures-voucher__details { width: min(360px, calc(100vw - 32px)); margin-top: 6px; }
.bnn-isures-voucher__details[hidden] { display: none !important; }
.bnn-home-discount-codes__body .bnn-isures-voucher__card.isures-sdc--info_wrap { display: flex; align-items: stretch; justify-content: space-between; gap: 12px; width: 100%; min-width: 0; min-height: 0; padding: 12px; border: 1px solid var(--bnn-voucher-chip-border, var(--bnn-border)); border-radius: 14px; background: var(--bnn-voucher-detail-bg, var(--bnn-background)); box-shadow: 0 6px 18px rgba(142,60,97,.07); }
.bnn-home-discount-codes--style-compact .bnn-isures-voucher__card.isures-sdc--info_wrap { box-shadow: none; }
.bnn-home-discount-codes--style-card .bnn-isures-voucher__card.isures-sdc--info_wrap { border-color: var(--bnn-voucher-hover-border, var(--bnn-primary)); background: var(--bnn-voucher-hover-bg, var(--bnn-soft-background)); }
.bnn-home-discount-codes__body .bnn-isures-voucher__content.isures-sdc--content_wrap { display: flex; flex: 1 1 auto; flex-direction: column; justify-content: center; width: auto; min-width: 0; padding: 0; }
.bnn-isures-voucher__detail-title { margin: 0 0 5px; color: var(--bnn-voucher-detail-title, var(--bnn-heading)); font-size: 14px; font-weight: 800; line-height: 1.25; }
.bnn-isures-voucher__code-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px; min-width: 0; }
.bnn-isures-voucher__code-label { color: var(--bnn-voucher-muted, var(--bnn-muted)); font-size: 11px; }
.bnn-home-discount-codes__body .bnn-isures-voucher__code.isures-sdc--content_name { display: inline; max-width: 100%; overflow-wrap: anywhere; font-size: 15px; font-weight: 800; line-height: 1.25; color: var(--bnn-voucher-detail-title, var(--bnn-heading)); }
.bnn-home-discount-codes__body .bnn-isures-voucher__excerpt.isures-sdc--content_excpt { display: block; max-width: 100%; margin-top: 5px; overflow-wrap: anywhere; font-size: 12px; line-height: 1.35; color: var(--bnn-voucher-detail-text, var(--bnn-text)); }
.bnn-home-discount-codes__body .bnn-isures-voucher__expires.isures-sdc--content_expires { display: block; max-width: 100%; margin-top: 6px; font-size: 11px; line-height: 1.3; color: var(--bnn-voucher-hover-text, var(--bnn-primary)); overflow-wrap: anywhere; }
.bnn-isures-voucher__condition { display: block; max-width: 100%; margin-top: 4px; color: var(--bnn-voucher-muted, var(--bnn-muted)); font-size: 11px; line-height: 1.3; overflow-wrap: anywhere; }
.bnn-home-discount-codes__body .bnn-isures-voucher__actions.isures-sdc--content_right { display: flex; flex: 0 0 86px; align-items: stretch; justify-content: flex-end; gap: 6px; flex-direction: column; min-width: 0; max-width: 100%; margin: 0; }
.bnn-home-discount-codes__body .bnn-isures-voucher__copy.isures-sdc--copy_code,
.bnn-home-discount-codes__body .bnn-isures-voucher__apply.isures-sdc--apply_code { display: inline-flex !important; align-items: center; justify-content: center; width: 100%; min-width: 0; min-height: 32px; margin: 0; padding: 6px 8px; border: 1px solid var(--bnn-voucher-apply-bg, var(--bnn-primary)); border-radius: 8px; background: var(--bnn-voucher-detail-bg, var(--bnn-background)); color: var(--bnn-voucher-apply-bg, var(--bnn-primary)) !important; font-size: 11px; font-weight: 750; line-height: 1.2; text-align: center; white-space: nowrap; text-decoration: none; box-shadow: none; }
.bnn-home-discount-codes__body .bnn-isures-voucher__apply.isures-sdc--apply_code { background: var(--bnn-voucher-apply-bg, var(--bnn-primary)) !important; color: var(--bnn-voucher-apply-text, #fff) !important; }
.bnn-home-discount-codes__body .bnn-isures-voucher__copy.isures-sdc--copy_code:hover,
.bnn-home-discount-codes__body .bnn-isures-voucher__copy.isures-sdc--copy_code:focus-visible { background: var(--bnn-voucher-hover-bg, var(--bnn-soft-background)); color: var(--bnn-voucher-hover-text, var(--bnn-primary)) !important; }
.bnn-home-discount-codes__body .bnn-isures-voucher__apply.isures-sdc--apply_code:hover,
.bnn-home-discount-codes__body .bnn-isures-voucher__apply.isures-sdc--apply_code:focus-visible { opacity: .9; }
.bnn-home-discount-codes__body .bnn-isures-voucher__copy.isures-sdc--copy_code.copied { background: var(--bnn-voucher-apply-bg, var(--bnn-primary)) !important; color: var(--bnn-voucher-apply-text, #fff) !important; }
.bnn-home-discount-codes__body .bnn-isures-voucher__copy.isures-sdc--copy_code.copied .bnn-isures-voucher__copy-label { font-size: 0; }
.bnn-home-discount-codes__body .bnn-isures-voucher__copy.isures-sdc--copy_code.copied .bnn-isures-voucher__copy-label::after { content: 'Đã sao chép'; font-size: 11px; }
.bnn-home-discount-codes__body .bnn-isures-voucher .html-copied { display: none !important; }

@media (max-width: 619px) {
  .bnn-home-discount-codes { margin-bottom: 10px; }
  .bnn-home-discount-codes .bnn-section-heading h2 { font-size: var(--bnn-voucher-heading-size-mobile); }
  .bnn-home-discount-codes__body .bnn-isures-voucher-list.isures-sdc--list { gap: var(--bnn-voucher-chip-gap); }
  .bnn-home-discount-codes__body .bnn-isures-voucher__chip { min-height: 36px; font-size: var(--bnn-voucher-chip-size-mobile); }
  .bnn-isures-voucher__details { width: min(340px, calc(100vw - 28px)); }
}

@media (max-width: 420px) {
  .bnn-home-discount-codes__body .bnn-isures-voucher__card.isures-sdc--info_wrap { display: block; padding: 11px; }
  .bnn-home-discount-codes__body .bnn-isures-voucher__actions.isures-sdc--content_right { flex-direction: row; flex-basis: auto; margin-top: 10px; }
  .bnn-home-discount-codes__body .bnn-isures-voucher__copy.isures-sdc--copy_code,
  .bnn-home-discount-codes__body .bnn-isures-voucher__apply.isures-sdc--apply_code { flex: 1 1 0; }
}

/* Phase 3C.4J: keep the vendor apply flow, but present its result as a compact BNN toast. */
body.bnn-home-coupon-apply-pending .isures_notice_popup,
body.bnn-home-coupon-apply-pending [id*="isures_notice_popup"],
body.bnn-home-coupon-apply-pending .mfp-wrap,
body.bnn-home-coupon-apply-pending .mfp-bg { visibility: hidden !important; opacity: 0 !important; pointer-events: none !important; }
.bnn-home-discount-codes .bnn-isures-voucher__apply.is-bnn-applying { opacity: .68; pointer-events: none; }
.bnn-coupon-toast[hidden] { display: none !important; }
.bnn-coupon-toast { position: fixed; top: calc(76px + env(safe-area-inset-top)); right: 20px; z-index: 1000; display: flex; align-items: flex-start; gap: 10px; width: min(340px, calc(100vw - 32px)); box-sizing: border-box; padding: 11px 12px; border: 1px solid var(--bnn-voucher-chip-border, var(--bnn-border)); border-radius: 14px; background: var(--bnn-background, #fff); color: var(--bnn-heading); box-shadow: 0 14px 34px rgba(91, 35, 55, .18); }
.bnn-coupon-toast.is-success { border-color: var(--bnn-primary); }
.bnn-coupon-toast.is-error { border-color: var(--bnn-error-bg, #c85a73); }
.bnn-coupon-toast__icon { display: grid; flex: 0 0 30px; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--bnn-success-bg, var(--bnn-primary)); color: var(--bnn-success-text, #fff); font-size: 17px; font-weight: 800; line-height: 1; }
.bnn-coupon-toast.is-error .bnn-coupon-toast__icon { background: var(--bnn-error-bg, #c85a73); color: var(--bnn-error-text, #fff); }
.bnn-coupon-toast__copy { display: grid; min-width: 0; gap: 2px; padding-top: 1px; }
.bnn-coupon-toast__copy strong { color: var(--bnn-heading); font-size: 13px; line-height: 1.25; }
.bnn-coupon-toast__copy span { color: var(--bnn-text); font-size: 11px; line-height: 1.35; overflow-wrap: anywhere; }
.bnn-coupon-toast__close { display: grid; flex: 0 0 26px; place-items: center; width: 26px; height: 26px; margin: -3px -2px 0 auto; padding: 0; border: 0; border-radius: 50%; background: var(--bnn-soft-background, #fff5f8); color: var(--bnn-heading); cursor: pointer; font-size: 18px; line-height: 1; }
.bnn-coupon-toast__close:hover, .bnn-coupon-toast__close:focus-visible { background: var(--bnn-voucher-chip-border, #efc9db); outline: none; }
@media (max-width: 619px) {
  .bnn-home-discount-codes--slider .bnn-home-discount-codes__body .bnn-isures-voucher-list.isures-sdc--list { scroll-padding-inline: 2px; }
  .bnn-coupon-toast { top: calc(74px + env(safe-area-inset-top)); right: 12px; left: 12px; width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .bnn-home-discount-codes__body .bnn-isures-voucher__chip,
  .bnn-coupon-toast { transition: none; }
}

/* Phase 3C.4K.3: keep WooCommerce's single native coupon bar above checkout. */
.bnn-checkout-page .woocommerce-form-coupon-toggle { margin: 0 0 14px; min-width: 0; }
.bnn-checkout-page .woocommerce-form-coupon-toggle .woocommerce-info { margin: 0; padding: 11px 14px; border: 1px solid var(--bnn-border); border-radius: 10px; background: var(--bnn-surface-soft); color: var(--bnn-text); }
.bnn-checkout-page .woocommerce-form-coupon-toggle .showcoupon { color: var(--bnn-primary); font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }
.bnn-checkout-page .woocommerce-form-coupon-toggle .showcoupon:focus-visible { outline: 2px solid var(--bnn-primary); outline-offset: 2px; }
.bnn-checkout-page form.checkout_coupon { margin: 0 0 14px; padding: 12px; border: 1px solid var(--bnn-border); border-radius: 12px; background: var(--bnn-surface); }
.bnn-checkout-page form.checkout_coupon .form-row { margin-bottom: 0; }
.bnn-checkout-page .isures-sdc--wrap { max-width: 100%; min-width: 0; margin-top: 10px; }
.bnn-checkout-page .isures-sdc--item { min-width: 0; }
.bnn-checkout-page .isures-sdc--apply_code.is-bnn-applying { opacity: .65; pointer-events: none; }
body.bnn-checkout-page #isures_notice_popup,
body.bnn-checkout-page .isures_notice_popup { display: none !important; }
body.bnn-checkout-coupon-apply-pending .isures_notice_popup,
body.bnn-checkout-coupon-apply-pending [id*="isures_notice_popup"],
body.bnn-checkout-coupon-apply-pending .mfp-wrap,
body.bnn-checkout-coupon-apply-pending .mfp-bg { visibility: hidden !important; opacity: 0 !important; pointer-events: none !important; }
@media (max-width: 619px) {
  .bnn-checkout-page .woocommerce-form-coupon-toggle .woocommerce-info { padding: 11px 12px; }
  .bnn-checkout-page form.checkout_coupon { padding: 10px; }
}

/* Phase 3C.4R: reuse the BNN quantity/add-to-cart treatment on single products. */
body.single-product .summary form.cart:not(.variations_form),
body.single-product .summary form.cart .woocommerce-variation-add-to-cart {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin: 0;
}
body.single-product .summary form.cart .quantity {
  display: inline-flex !important;
  flex: 0 0 auto;
  align-items: center;
  width: auto;
  min-width: 0;
  height: 34px;
  margin: 0 !important;
  box-sizing: border-box;
  overflow: hidden;
  border: 1px solid var(--bnn-border);
  border-radius: 999px;
  background: var(--bnn-surface);
  float: none;
}
body.single-product .summary form.cart .quantity input.qty {
  width: 26px !important;
  min-width: 26px;
  height: 32px !important;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--bnn-heading);
  font-size: 12px;
  font-weight: 900;
  line-height: 32px;
  text-align: center;
  appearance: textfield;
}
body.single-product .summary form.cart .quantity input.qty::-webkit-inner-spin-button,
body.single-product .summary form.cart .quantity input.qty::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}
body.single-product .summary form.cart .bnn-qty-step {
  display: grid;
  place-items: center;
  flex: 0 0 23px;
  width: 23px;
  height: 32px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--bnn-heading);
  cursor: pointer;
  font-size: 16px;
  font-weight: 950;
  line-height: 1;
}
body.single-product .summary form.cart .bnn-qty-step:disabled {
  color: var(--bnn-muted);
  cursor: not-allowed;
}
body.single-product .summary form.cart .single_add_to_cart_button,
body.single-product .summary form.cart .bnn-single-product-add {
  display: inline-flex !important;
  flex: 1 1 180px;
  align-items: center;
  justify-content: center;
  width: auto !important;
  min-width: 160px;
  height: 34px;
  min-height: 34px;
  margin: 0 !important;
  box-sizing: border-box;
  padding: 0 14px !important;
  border: 0 !important;
  border-radius: 9px !important;
  background: var(--bnn-button-background) !important;
  color: #F7F7F7 !important;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}
body.single-product .summary form.cart .single_add_to_cart_button:hover,
body.single-product .summary form.cart .bnn-single-product-add:hover {
  background: var(--bnn-primary-hover) !important;
  color: #F7F7F7 !important;
}
body.single-product .summary form.cart .single_add_to_cart_button:disabled,
body.single-product .summary form.cart .single_add_to_cart_button.disabled {
  opacity: .55;
  cursor: not-allowed;
}
@media (max-width: 619px) {
  body.single-product .summary form.cart:not(.variations_form),
  body.single-product .summary form.cart .woocommerce-variation-add-to-cart {
    gap: 6px;
  }
  body.single-product .summary form.cart .single_add_to_cart_button,
  body.single-product .summary form.cart .bnn-single-product-add {
    flex-basis: 160px;
    min-width: 150px;
    padding-inline: 10px !important;
    font-size: 14px;
  }
}
