/*
Theme Name: Bulmia WooCommerce 1:1
Theme URI: https://bulmia.com/
Author: OpenAI
Description: Port WooCommerce du thème Shopify Bulmia fourni par le propriétaire. Reproduit l'accueil, navigation, cartes produits, fiche produit, notification panier, guide des tailles, à propos et contact.
Version: 3.30.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: bulmia
*/

:root{--bm-pink:#ff4fa3;--bm-pink-soft:#fff0f7;--bm-pink-line:#ffc4e0;--bm-black:#121212;--bm-green:#00B67A;--bm-page:1600px;--bm-head:"Open Sans",Arial,sans-serif;--bm-body:Roboto,Arial,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:#121212;font-family:var(--bm-body);font-size:15px;line-height:1.5}body.bm-menu-open{overflow:hidden}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}button,input,select,textarea{font:inherit}.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.bm-page-width{width:min(100% - 40px,1600px);margin-inline:auto}.bm-main{min-height:45vh}.woocommerce-notices-wrapper{width:min(100% - 40px,1200px);margin:16px auto}.woocommerce-message,.woocommerce-info,.woocommerce-error{border:1px solid #e7e7e7!important;border-top:3px solid var(--bm-pink)!important;background:#fff!important;color:#121212!important;padding:16px 20px!important;list-style:none!important}

/* trust bar source styles rely on own CSS; keep wrapper flush */
.tl-trustbar{position:relative;z-index:30}

/* Header */
.bm-header{position:relative;z-index:25;background:#fff;border-bottom:1px solid #e8e8e8}.bm-header.is-sticky{position:sticky;top:0;box-shadow:0 3px 14px rgba(0,0,0,.06)}.bm-header__inner{max-width:1600px;margin:auto;min-height:74px;padding:8px 48px;display:grid;grid-template-columns:170px 1fr 170px;align-items:center;gap:24px}.bm-logo{display:flex;align-items:center;justify-content:flex-start}.bm-logo img{display:block;width:auto;max-width:130px;max-height:54px;object-fit:contain}.bm-logo__text{font-family:var(--bm-head);font-size:25px;font-weight:800;letter-spacing:.08em}.bm-nav{display:flex;align-items:center;justify-content:center;gap:24px;white-space:nowrap}.bm-nav a{position:relative;font-size:14px;color:#121212;padding:14px 0}.bm-nav a::after{content:"";position:absolute;left:0;right:100%;bottom:8px;height:1px;background:#121212;transition:right .18s ease}.bm-nav a:hover::after{right:0}.bm-header__icons{display:flex;justify-content:flex-end;align-items:center;gap:14px}.bm-icon-btn{display:grid;place-items:center;width:38px;height:38px;border:0;background:transparent;cursor:pointer;padding:7px;color:#121212}.bm-icon-btn svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.7}.bm-cart-link{position:relative}.bm-cart-count{position:absolute;right:-1px;top:-2px;min-width:18px;height:18px;border-radius:999px;background:var(--bm-pink);color:#fff;font-size:10px;font-weight:700;display:grid;place-items:center;padding:0 4px}.bm-mobile-toggle{display:none}

/* mobile drawer */
.bm-drawer-overlay{position:fixed;inset:0;background:rgba(0,0,0,.35);z-index:90;opacity:0;visibility:hidden;transition:.2s}.bm-drawer{position:fixed;z-index:91;inset:0 auto 0 0;width:min(88vw,390px);background:#fff;transform:translateX(-101%);transition:transform .28s ease;display:flex;flex-direction:column}.bm-menu-open .bm-drawer-overlay{opacity:1;visibility:visible}.bm-menu-open .bm-drawer{transform:none}.bm-drawer__top{height:72px;display:flex;align-items:center;justify-content:space-between;padding:0 20px;border-bottom:1px solid #eee}.bm-drawer__links{padding:14px 24px 30px;overflow:auto}.bm-drawer__links a{display:block;padding:13px 0;font-size:18px;border-bottom:1px solid #f0f0f0}.bm-drawer__account{margin-top:18px;font-size:14px!important;border:0!important}

/* search */
.bm-search{position:fixed;z-index:110;left:0;right:0;top:0;background:#fff;border-bottom:1px solid #ddd;box-shadow:0 12px 30px rgba(0,0,0,.12);transform:translateY(-110%);transition:.25s}.bm-search.is-open{transform:none}.bm-search__inner{max-width:900px;margin:auto;padding:26px 20px;display:flex;gap:10px}.bm-search input{flex:1;height:52px;border:1px solid #aaa;padding:0 16px;font-size:17px}.bm-search button{width:52px;border:1px solid #121212;background:#121212;color:#fff;cursor:pointer}

/* Home hero copied from Shopify source */
.bmh{position:relative;min-height:600px;display:flex;align-items:center;overflow:hidden;background-color:#111;background-image:linear-gradient(90deg,rgba(0,0,0,.75) 0%,rgba(0,0,0,.4) 45%,rgba(0,0,0,.1) 100%),var(--bmh-img);background-size:cover;background-position:center;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Arial,sans-serif}.bmh__wrap{position:relative;width:100%;max-width:1200px;margin:0 auto;padding:72px 48px;display:flex;align-items:center;justify-content:space-between;gap:40px}.bmh__content{max-width:560px;text-align:left}.bmh__tag{display:inline-flex;align-items:center;gap:10px;margin:0 0 22px;font-size:12px;font-weight:800;letter-spacing:.24em;text-transform:uppercase;color:#fff!important}.bmh__tag::before{content:'';width:28px;height:2px;background:#ff4fa3}.bmh__title{margin:0 0 18px;line-height:1;color:#fff!important}.bmh__sm{display:block;font-size:clamp(16px,2vw,20px);font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:rgba(255,255,255,.8)!important;margin-bottom:10px}.bmh__lg{display:block;font-size:clamp(44px,7vw,84px);font-weight:900;letter-spacing:-.035em;line-height:.95;color:#fff!important;text-shadow:0 4px 30px rgba(0,0,0,.45)}.bmh__lg sup{font-size:.38em;vertical-align:top;position:relative;top:.25em;letter-spacing:0}.bmh__lg em{font-style:italic;color:#ff4fa3!important}.bmh__sub{margin:0 0 30px;max-width:440px;font-size:clamp(15px,1.7vw,17px);line-height:1.55;color:rgba(255,255,255,.88)!important}.bmh__btn{display:inline-flex;align-items:center;gap:12px;padding:17px 34px;border-radius:4px;background:#ff4fa3;color:#fff!important;font-size:15px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;text-decoration:none;box-shadow:0 10px 30px rgba(255,79,163,.35);transition:transform .15s ease,box-shadow .15s ease}.bmh__btn:hover{transform:translateY(-2px);box-shadow:0 14px 36px rgba(255,79,163,.5)}.bmh__badge{flex:0 0 auto;width:180px;height:180px;margin:0;border-radius:50%;background:#ff4fa3;color:#fff!important;transform:rotate(-10deg);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;outline:2px dashed rgba(255,255,255,.65);outline-offset:-12px;box-shadow:0 18px 40px rgba(0,0,0,.4)}.bmh__badge span{font-size:13px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:#fff!important}.bmh__badge b{font-size:58px;font-weight:900;line-height:1;margin:2px 0;color:#fff!important}

/* product grid, Dawn-like */
.bm-featured{padding:36px 0}.bm-section-title{font-family:var(--bm-head);font-size:32px;font-weight:700;margin:0 0 26px;line-height:1.25}.bm-section-title em{font-style:italic}.bm-section-title::after{content:"";display:block;width:36px;height:2px;background:var(--bm-pink);margin-top:10px}.bm-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.bm-product-card{position:relative;min-width:0}.bm-card__media{position:relative;display:block;aspect-ratio:1/1;overflow:hidden;background:#f7f7f7}.bm-card__media img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .3s ease}.bm-product-card:hover .bm-card__media img{transform:scale(1.02)}.bm-badge{position:absolute;left:12px;bottom:12px;background:#000;color:#fff;padding:6px 12px;border-radius:16px;font-size:12px;line-height:1}.bm-card__body{padding:12px 2px 20px}.bm-card__title{font-family:var(--bm-head);font-size:14px;font-weight:400;line-height:1.35;margin:0 0 7px}.bm-price{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;font-size:14px}.bm-price del{color:#707070;font-size:13px}.bm-price ins{text-decoration:none;color:var(--bm-pink)}.bm-view-all{display:flex;justify-content:center;margin-top:28px}.bm-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 28px;border:1px solid #121212;background:#121212;color:#fff;font-size:14px;cursor:pointer}.bm-btn:hover{opacity:.9}

/* Woo archives */
.bm-shop-header{padding:36px 0 28px;text-align:center}.bm-shop-title{font-family:var(--bm-head);font-size:40px;margin:0}.bm-shop-count{color:#777;margin-top:8px}.woocommerce .products{list-style:none!important;margin:0!important;padding:0!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.woocommerce ul.products li.product{width:auto!important;margin:0!important;float:none!important}.woocommerce-result-count,.woocommerce-ordering{margin:0 0 24px!important}.woocommerce-ordering select{height:44px;border:1px solid #ccc;background:#fff;padding:0 36px 0 12px}.woocommerce-pagination{padding:30px 0 50px}.woocommerce nav.woocommerce-pagination ul{border:0!important}.woocommerce nav.woocommerce-pagination ul li{border:0!important;margin:3px!important}.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{min-width:40px;height:40px;display:grid!important;place-items:center!important;background:#f6f6f6!important;color:#111!important}.woocommerce nav.woocommerce-pagination ul li span.current{background:#111!important;color:#fff!important}

/* Product page */
.bm-product{max-width:1200px;margin:0 auto;padding:16px 24px 12px;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(360px,.8fr);gap:60px;align-items:start}.bm-gallery{display:grid;grid-template-columns:82px minmax(0,1fr);gap:14px;position:sticky;top:100px}.bm-gallery__thumbs{display:flex;flex-direction:column;gap:10px}.bm-gallery__thumb{padding:0;border:1px solid transparent;background:#f6f6f6;cursor:pointer;aspect-ratio:1;overflow:hidden}.bm-gallery__thumb.is-active{border-color:#121212}.bm-gallery__thumb img{width:100%;height:100%;object-fit:cover;display:block}.bm-gallery__main{position:relative;aspect-ratio:1;background:#f7f7f7;overflow:hidden}.bm-gallery__slide{position:absolute;inset:0;opacity:0;pointer-events:none;transition:opacity .18s}.bm-gallery__slide.is-active{opacity:1;pointer-events:auto}.bm-gallery__slide img{width:100%;height:100%;display:block;object-fit:cover}.bm-gallery__counter{display:none}.bm-product__info{position:sticky;top:104px}.bm-product__info h1{font-family:var(--bm-head);font-size:22px;line-height:1.2;margin:12px 0 14px}.bm-product__info h1::after{content:"";display:block;width:36px;height:2px;background:var(--bm-pink);margin-top:10px}.bm-product__price{font-size:18px;margin:0 0 14px}.bm-product__price del{font-size:15px;color:#6f6f6f;margin-right:8px}.bm-product__price ins{text-decoration:none;color:var(--bm-pink)}.bm-save{display:inline-flex;background:#111;color:#fff;border-radius:999px;padding:5px 10px;font-size:11px;margin-bottom:16px}.bm-product .woocommerce-product-details__short-description{color:#555}.bm-product form.cart{margin:16px 0 0!important}.bm-product form.cart .quantity{display:none!important}.bm-product .single_add_to_cart_button{width:100%;height:52px;border:1px solid #121212!important;background:#121212!important;color:#fff!important;border-radius:0!important;font-weight:500!important;font-size:15px!important;margin:4px 0 0!important}.bm-product .single_add_to_cart_button:hover{background:#2b2b2b!important}.bm-product .variations{width:100%!important;margin:0 0 8px!important}.bm-product .variations tr{display:block;margin-bottom:14px}.bm-product .variations th,.bm-product .variations td{display:block!important;padding:0!important;text-align:left!important}.bm-product .variations label{font-weight:400!important;font-size:13px}.bm-product .variations select{width:100%;height:48px;border:1px solid #ccc;background:#fff;margin-top:7px;padding:0 12px}.bm-product .reset_variations{font-size:12px;margin-top:5px;display:inline-block!important}.bm-variant-pills{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}.bm-variant-pill{min-width:44px;height:40px;padding:0 13px;border:1px solid #ccc;border-radius:22px;background:#fff;cursor:pointer}.bm-variant-pill:hover,.bm-variant-pill.is-active{border-color:var(--bm-pink);box-shadow:0 0 0 1px var(--bm-pink) inset}.bm-variant-pill.is-disabled{opacity:.35;cursor:not-allowed}.bm-product .single_variation_wrap{margin-top:0}.bm-product .woocommerce-variation-price{margin:5px 0 10px}.bm-product .woocommerce-variation-availability{font-size:12px}.bm-offer{display:flex;align-items:center;justify-content:center;gap:8px;margin:12px 0 0;padding:7px 12px;font-size:12px;line-height:1.3;color:#111;text-align:center;background:#fff0f7;border:1px solid #ffc4e0;border-radius:8px}.bm-offer strong{font-weight:800}.bm-offer__dot{width:7px;height:7px;border-radius:50%;background:#ff4fa3;flex:0 0 auto}.bm-reassure{list-style:none;margin:12px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);border:1px solid #ececec;border-radius:8px;overflow:hidden}.bm-reassure li{display:flex;align-items:center;justify-content:center;gap:6px;padding:9px 8px;font-size:11.5px;line-height:1.25;color:#4a4a4a;text-align:center;border-left:1px solid #f1f1f1}.bm-reassure li:first-child{border-left:0}.bm-reassure strong{color:#0a0a0a}.bm-reassure svg{width:14px;height:14px;color:#ff4fa3;flex-shrink:0}.bm-help-mini{margin-top:14px;border-top:1px solid #e5e5e5;border-bottom:1px solid #e5e5e5}.bm-help-mini summary{cursor:pointer;padding:14px 0;font-weight:600;list-style:none}.bm-help-mini p{margin:0 0 16px;color:#555}.bm-product-tabs{max-width:1000px;margin:30px auto 50px;padding:0 30px}.bm-product-tabs h2{text-align:center;font-family:var(--bm-head);font-size:26px;margin:0 0 20px}.bm-faq-item{border-radius:8px;margin:0 0 10px;overflow:hidden}.bm-faq-item summary{display:flex;justify-content:space-between;cursor:pointer;background:#f2f2f2;padding:15px 20px;font-weight:700;font-size:1.4rem;list-style:none}.bm-faq-item summary::after{content:"❯";color:#ff4fa3;transition:.2s}.bm-faq-item[open] summary::after{transform:rotate(90deg)}.bm-faq-answer{padding:15px 20px;background:#fff}.bm-related{width:min(100% - 40px,1200px);margin:0 auto;padding:12px 0 40px}.bm-related .bm-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:620px}

/* Cart notification */
.bm-cart-note{position:fixed;right:28px;top:92px;z-index:140;width:min(390px,calc(100vw - 32px));background:#fff;border:1px solid #ddd;box-shadow:0 12px 36px rgba(0,0,0,.16);padding:20px;opacity:0;visibility:hidden;transform:translateY(-10px);transition:.22s}.bm-cart-note.is-open{opacity:1;visibility:visible;transform:none}.bm-cart-note__top{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.bm-cart-note__top strong{font-family:var(--bm-head);font-size:16px}.bm-cart-note__close{border:0;background:none;font-size:24px;cursor:pointer}.bm-cart-note__product{display:flex;gap:12px;align-items:center;margin-bottom:16px}.bm-cart-note__product img{width:70px;height:70px;object-fit:cover;background:#f6f6f6}.bm-cart-note__name{font-size:14px;font-weight:600}.bm-cart-note__actions{display:grid;gap:9px}.bm-cart-note__actions a{height:46px;display:grid;place-items:center;border:1px solid #121212}.bm-cart-note__actions a:first-child{background:#fff;color:#121212}.bm-cart-note__actions a:nth-child(2){background:#121212;color:#fff}.bm-cart-note__continue{height:40px;border:0;background:none;text-decoration:underline;cursor:pointer}

/* Contact */
.bm-contact-head{text-align:center;padding:40px 20px 28px}.bm-contact-head h1{font-family:var(--bm-head);font-style:italic;font-size:46px;margin:0 0 18px}.bm-contact-head p{margin:0;color:#333}.bm-contact-form{width:min(100% - 40px,740px);margin:0 auto 32px}.bm-contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.bm-field{margin-bottom:18px}.bm-field label{display:block;font-size:12px;margin-bottom:6px}.bm-field input,.bm-field textarea{width:100%;border:1px solid #bbb;background:#fff;padding:14px 15px;outline:none}.bm-field input:focus,.bm-field textarea:focus{border-color:#121212}.bm-field textarea{min-height:150px;resize:vertical}.bm-contact-email{text-align:center;padding:10px 20px 46px}.bm-form-success{padding:12px 16px;border:1px solid #b7e3ce;background:#f2fff9;margin-bottom:20px}.bm-form-error{padding:12px 16px;border:1px solid #efb4b4;background:#fff4f4;margin-bottom:20px}

/* Footer */
.bm-newsletter{background:#000;color:#fff;padding:40px 20px 52px;text-align:center}.bm-newsletter h2{font-family:var(--bm-head);font-size:30px;margin:0 0 8px}.bm-newsletter p{margin:0 0 20px}.bm-newsletter form{max-width:520px;margin:auto;display:flex}.bm-newsletter input{flex:1;min-width:0;height:50px;background:transparent;border:1px solid #aaa;border-right:0;color:#fff;padding:0 15px}.bm-newsletter button{width:58px;border:1px solid #aaa;background:transparent;color:#fff;cursor:pointer;font-size:22px}.bm-footer{background:#000;color:#fff;border-top:3px solid var(--bm-pink);padding:36px 40px 24px}.bm-footer__grid{max-width:1200px;margin:auto;display:grid;grid-template-columns:1fr 1fr 1fr;gap:50px}.bm-footer h3{font-size:15px;margin:0 0 16px}.bm-footer a{display:block;color:#d7d7d7;margin:8px 0;font-size:13px}.bm-footer a:hover{color:var(--bm-pink)}.bm-footer__brand{font-size:13px;color:#ccc}.bm-footer__bottom{max-width:1200px;margin:28px auto 0;padding-top:20px;border-top:1px solid #333;display:flex;justify-content:space-between;gap:20px;color:#aaa;font-size:12px}.bm-payments{display:flex;gap:5px;flex-wrap:wrap}.bm-payments span{background:#fff;color:#111;border-radius:3px;padding:3px 7px;font-size:9px;font-weight:700}

/* Woo cart + checkout */
.woocommerce-cart .bm-main,.woocommerce-checkout .bm-main,.woocommerce-account .bm-main{width:min(100% - 40px,1200px);margin:36px auto}.woocommerce table.shop_table{border:0!important;border-collapse:collapse!important}.woocommerce table.shop_table th,.woocommerce table.shop_table td{border-bottom:1px solid #e5e5e5!important;padding:16px 10px!important}.woocommerce-cart-form__cart-item img{width:90px!important}.woocommerce a.remove{color:#111!important}.woocommerce a.remove:hover{background:#111!important;color:#fff!important}.woocommerce .quantity .qty{height:42px;border:1px solid #ccc}.woocommerce button.button,.woocommerce a.button,.woocommerce input.button,.woocommerce #respond input#submit{border-radius:0!important;background:#111!important;color:#fff!important;font-weight:500!important;padding:14px 20px!important}.woocommerce .cart_totals{background:#fafafa;padding:22px}.woocommerce .wc-proceed-to-checkout a.checkout-button{font-size:15px!important;background:#111!important}.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select{padding:12px;border:1px solid #bbb;background:#fff}.select2-container--default .select2-selection--single{height:44px;border-radius:0;border-color:#bbb}.select2-container--default .select2-selection--single .select2-selection__rendered{line-height:42px}.select2-container--default .select2-selection--single .select2-selection__arrow{height:42px}

@media(max-width:1200px){.bm-header__inner{padding-inline:22px;grid-template-columns:145px 1fr 145px}.bm-nav{gap:14px}.bm-nav a{font-size:12.5px}.bm-product{gap:34px}}
@media(max-width:990px){.bm-header__inner{grid-template-columns:52px 1fr 96px;min-height:66px;padding:6px 12px}.bm-mobile-toggle{display:grid}.bm-logo{justify-content:center}.bm-logo img{max-width:120px}.bm-nav,.bm-account-icon{display:none}.bm-header__icons{gap:5px}.bm-product-grid,.woocommerce .products{grid-template-columns:repeat(2,minmax(0,1fr))}.bm-product{grid-template-columns:1fr;gap:24px;padding:12px 16px}.bm-gallery,.bm-product__info{position:static}.bm-gallery{grid-template-columns:1fr}.bm-gallery__thumbs{display:none}.bm-gallery__main{aspect-ratio:1}.bm-gallery__counter{display:block;position:absolute;right:12px;bottom:12px;background:#fff;padding:6px 10px;border-radius:999px;font-size:11px;z-index:4}.bm-product__info{padding-bottom:18px}.bm-footer__grid{grid-template-columns:1fr 1fr}.bm-footer__brand{grid-column:1/-1}.bm-cart-note{top:78px;right:16px}}
@media(max-width:749px){.bmh{min-height:600px;background-image:linear-gradient(180deg,rgba(0,0,0,.4) 0%,rgba(0,0,0,.75) 100%),var(--bmh-img)}.bmh__wrap{padding:56px 20px 48px}.bmh__badge{position:absolute;top:18px;right:16px;width:96px;height:96px;outline-offset:-7px}.bmh__badge span{font-size:9px;letter-spacing:.1em}.bmh__badge b{font-size:30px}.bmh__btn{width:100%;justify-content:center}.bm-featured{padding:30px 0}.bm-page-width{width:calc(100% - 24px)}.bm-section-title{font-size:26px}.bm-card__title{font-size:13px}.bm-contact-grid{grid-template-columns:1fr}.bm-contact-head h1{font-size:38px}.bm-footer{padding-inline:20px}.bm-footer__grid{grid-template-columns:1fr}.bm-footer__brand{grid-column:auto}.bm-footer__bottom{flex-direction:column}.bm-newsletter h2{font-size:26px}.bm-reassure{grid-template-columns:1fr}.bm-reassure li{justify-content:flex-start;text-align:left;border-left:0;border-top:1px solid #f1f1f1}.bm-reassure li:first-child{border-top:0}.bm-related .bm-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* ==========================================================
   Bulmia 3.1 — product quantity + Shopify-like cart
   ========================================================== */
.bm-product form.cart .quantity{display:inline-flex!important;align-items:center!important;margin:0!important;float:none!important}
.bm-product .woocommerce-variation-add-to-cart,.bm-product form.cart:not(.variations_form){display:flex!important;flex-wrap:wrap;gap:10px;align-items:center}
.bm-product .woocommerce-variation-add-to-cart .quantity,.bm-product form.cart:not(.variations_form) .quantity{flex:0 0 auto}
.bm-product .single_add_to_cart_button{flex:1 1 240px;width:auto!important;margin:0!important}
.bm-product .bm-qty{margin:0}

.bm-qty{display:inline-flex;align-items:center;height:42px;border:1px solid #b9b9b9;background:#fff;overflow:hidden}
.bm-qty .quantity{display:block!important;margin:0!important;float:none!important}
.bm-qty .quantity .qty{width:48px!important;height:40px!important;border:0!important;border-left:1px solid #eee!important;border-right:1px solid #eee!important;border-radius:0!important;padding:0!important;text-align:center!important;font-size:14px!important;appearance:textfield;-moz-appearance:textfield}
.bm-qty .quantity .qty::-webkit-outer-spin-button,.bm-qty .quantity .qty::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.bm-qty__btn{width:40px;height:40px;border:0;background:#fff;color:#111;font-size:19px;line-height:1;cursor:pointer;padding:0;display:grid;place-items:center}
.bm-qty__btn:hover{background:#f7f7f7}

.bm-cart-page{width:min(100% - 40px,1320px);margin:0 auto;padding:42px 0 70px;color:#111}
.bm-cart-offer{position:relative;margin:0 auto 40px;max-width:430px;padding:10px 16px;border:1px solid #ffc4e0;border-radius:13px;background:#fff0f7;text-align:center}
.bm-cart-offer p{margin:0 0 8px;font-size:15px;line-height:1.3;font-weight:500}.bm-cart-offer strong{font-weight:700}
.bm-cart-offer__track{height:6px;background:#ffe0ef;border-radius:999px;overflow:hidden}.bm-cart-offer__track span{display:block;height:100%;background:#ff4fa3;border-radius:999px;transition:width .25s ease}.bm-cart-offer.is-done{border-color:#ff4fa3}
.bm-cart-page .woocommerce-notices-wrapper{max-width:1000px;margin:0 auto 22px}.bm-cart-page .woocommerce-error,.bm-cart-page .woocommerce-message{border-radius:0}

.bm-cart-empty{text-align:center;padding:60px 20px 52px}.bm-cart-empty h1{font-family:var(--bm-head);font-size:46px;line-height:1.05;letter-spacing:.02em;margin:0 0 34px}
.bm-cart-shop-btn{display:inline-flex;align-items:center;justify-content:center;min-width:310px;height:68px;border-radius:999px;background:#111;color:#fff!important;font-family:var(--bm-head);font-size:19px;font-weight:700;letter-spacing:.08em}
.bm-cart-login{margin-top:78px}.bm-cart-login h2{font-family:var(--bm-head);font-size:28px;letter-spacing:.03em;margin:0 0 18px}.bm-cart-login p{font-size:20px;margin:0;color:#333}.bm-cart-login a{text-decoration:underline;text-underline-offset:4px}

.bm-cart-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:0 0 25px}.bm-cart-heading h1{font-family:var(--bm-head);font-size:36px;margin:0}.bm-cart-heading h1::after{content:"";display:block;width:42px;height:3px;background:#ff4fa3;margin-top:11px}.bm-cart-heading>a{text-decoration:underline;text-underline-offset:3px;font-size:14px}
.bm-cart-layout{display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:56px;align-items:start}.bm-cart-form{min-width:0}
.bm-cart-list{border-top:1px solid #dedede}.bm-cart-item{display:grid;grid-template-columns:105px minmax(0,1fr) auto;gap:18px;padding:22px 0;border-bottom:1px solid #dedede;align-items:start}
.bm-cart-item__image{display:block;background:#f5f5f5;aspect-ratio:1;overflow:hidden}.bm-cart-item__image img{display:block;width:100%!important;height:100%!important;object-fit:cover;margin:0!important}
.bm-cart-item__name{display:inline-block;font-weight:700;font-size:15px;margin:1px 0 5px}.bm-cart-item__unit-price{font-size:14px;margin-bottom:4px}.bm-cart-item__meta,.bm-cart-item__meta p,.bm-cart-item__meta dl{font-size:12px;color:#555;margin:0}.bm-cart-item__meta dt,.bm-cart-item__meta dd{display:inline;margin:0}.bm-cart-item__meta dd{margin-left:4px}.bm-cart-item__actions{display:flex;align-items:center;gap:14px;margin-top:12px}.bm-cart-item__remove{width:34px;height:34px;display:grid;place-items:center}.bm-cart-item__remove svg{width:20px;height:20px;fill:none;stroke:#111;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.bm-cart-item__total{font-weight:600;font-size:15px;text-align:right;white-space:nowrap;padding-top:3px}
.bm-cart-form button[name="update_cart"],.bm-cart-form input[name="update_cart"]{display:none!important}

.bm-cart-summary{position:sticky;top:110px}.bm-cart-summary h2{font-size:13px;font-weight:700;border-bottom:1px solid #dedede;padding:0 0 14px;margin:0}.bm-cart-summary__line{display:flex;justify-content:space-between;gap:20px;padding:17px 0;border-bottom:1px solid #dedede;font-size:14px}.bm-cart-summary__discount strong{font-weight:500}.bm-cart-summary__total{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:20px 0 8px;font-family:var(--bm-head);font-size:22px;font-weight:800}.bm-cart-summary__total strong{font-size:20px}.bm-cart-summary__note{font-size:11.5px;color:#666;margin:0 0 17px}.bm-cart-checkout{height:56px;background:#30343a;color:#fff!important;display:flex;align-items:center;justify-content:center;font-size:15px;font-weight:600}.bm-cart-checkout:hover{background:#111}

.bm-cart-delivery{max-width:820px;margin:65px auto 0;background:#fff;border:1px solid #e7e8ee;border-radius:16px;padding:16px 24px 13px;position:relative;overflow:hidden}.bm-cart-delivery::before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:#ff4fa3}.bm-cart-delivery svg{width:18px;height:18px;stroke:#ff4fa3;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}.bm-cart-delivery__top{display:flex;align-items:center;justify-content:center;gap:12px;text-align:center;font-size:13px;letter-spacing:.03em}.bm-cart-delivery__top b{font-weight:800}.bm-cart-delivery__bottom{display:flex;justify-content:center;flex-wrap:wrap;gap:10px 30px;margin-top:13px;padding-top:12px;border-top:1px solid #e7e8ee}.bm-cart-delivery__bottom span{display:inline-flex;align-items:center;gap:7px;font-size:11.5px;letter-spacing:.03em}.bm-cart-delivery__bottom svg{width:16px;height:16px}.bm-cart-delivery__bottom b{font-weight:700}

@media(max-width:900px){.bm-cart-page{width:min(100% - 28px,720px);padding-top:28px}.bm-cart-layout{grid-template-columns:1fr;gap:30px}.bm-cart-summary{position:static}.bm-cart-heading{align-items:center}.bm-cart-empty{padding-top:40px}.bm-cart-empty h1{font-size:34px}.bm-cart-login{margin-top:55px}.bm-cart-login h2{font-size:23px}.bm-cart-login p{font-size:16px}.bm-cart-delivery{margin-top:45px}}
@media(max-width:560px){.bm-cart-offer{margin-bottom:28px}.bm-cart-empty{padding:30px 0 35px}.bm-cart-empty h1{font-size:30px}.bm-cart-shop-btn{min-width:0;width:100%;max-width:310px;height:58px;font-size:16px}.bm-cart-heading h1{font-size:28px}.bm-cart-heading>a{font-size:12px}.bm-cart-item{grid-template-columns:82px minmax(0,1fr);gap:13px}.bm-cart-item__total{grid-column:2;text-align:left;padding:0}.bm-cart-delivery{padding:15px 12px 12px}.bm-cart-delivery__top{font-size:11.5px}.bm-cart-delivery__bottom{gap:8px 13px}.bm-cart-delivery__bottom span{font-size:10.5px}.bm-product .woocommerce-variation-add-to-cart,.bm-product form.cart:not(.variations_form){align-items:stretch}.bm-product .single_add_to_cart_button{flex-basis:100%;height:52px}.bm-product .bm-qty{height:44px}}


/* ==========================================================
   Bulmia 3.3 — clean AJAX notices, Shopify cart popup, layout
   ========================================================== */
:root{--bm-shell:1500px;--bm-gutter:clamp(20px,4vw,64px)}
html,body{max-width:100%;overflow-x:hidden}
.bm-page-width{width:min(calc(100% - (var(--bm-gutter) * 2)),var(--bm-shell));margin-inline:auto}
.bm-header__inner{width:min(calc(100% - (var(--bm-gutter) * 2)),var(--bm-shell));max-width:none;padding:8px 0}
.bm-product{width:min(calc(100% - (var(--bm-gutter) * 2)),1240px);max-width:none;padding:22px 0 18px}
.bm-cart-page{width:min(calc(100% - (var(--bm-gutter) * 2)),1280px)}
.bm-related{width:min(calc(100% - (var(--bm-gutter) * 2)),1200px)}
.bm-product-tabs{width:min(calc(100% - (var(--bm-gutter) * 2)),1000px);max-width:none;padding-inline:0}
.woocommerce-notices-wrapper{width:min(calc(100% - (var(--bm-gutter) * 2)),1200px)}

/* Product add-to-cart errors stay local and compact. */
.bm-add-error{flex:1 0 100%;margin-top:3px;padding:10px 12px;border:1px solid #efb1c9;background:#fff4f8;color:#8a173f;font-size:12.5px}

/* Shopify-style add-to-cart notification. */
.bm-cart-note{position:fixed;right:max(var(--bm-gutter),22px);top:94px;z-index:220;width:min(390px,calc(100vw - 32px));background:#fff;border:1px solid #d9d9d9;border-top:0;box-shadow:0 13px 34px rgba(0,0,0,.14);padding:24px 28px 22px;opacity:0;visibility:hidden;transform:translateY(-120%);transition:transform .25s ease,opacity .18s ease,visibility 0s .25s}
.bm-cart-note.is-open{opacity:1;visibility:visible;transform:translateY(0);transition:transform .28s ease,opacity .18s ease,visibility 0s}
.bm-cart-note__top{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:18px}
.bm-cart-note__top strong{display:flex;align-items:center;gap:9px;font-family:var(--bm-body);font-size:14px;font-weight:500}
.bm-cart-note__check{display:grid;place-items:center;width:18px;height:18px;color:#111;font-size:15px;line-height:1}
.bm-cart-note__close{margin:-11px -14px 0 0;border:0;background:transparent;font-size:27px;font-weight:300;line-height:1;cursor:pointer;color:#111}
.bm-cart-note__product{display:grid;grid-template-columns:72px minmax(0,1fr);gap:15px;align-items:start;margin:0 0 20px;padding:0}
.bm-cart-note__product img{display:block;width:72px;height:72px;object-fit:cover;background:#f6f6f6}
.bm-cart-note__product-copy{min-width:0;padding-top:1px}
.bm-cart-note__name{font-family:var(--bm-head);font-size:14px;font-weight:600;line-height:1.35;margin-bottom:5px}
.bm-cart-note__variant{font-size:12px;color:#666;line-height:1.45;margin-bottom:4px}
.bm-cart-note__price{font-size:12px;color:#333}
.bm-cart-note__actions{display:grid;gap:10px;text-align:center}
.bm-cart-note__actions a{height:47px;display:grid;place-items:center;border:1px solid #111;font-size:13px;font-weight:500}
.bm-cart-note__view{background:#fff;color:#111!important}
.bm-cart-note__checkout{background:#111;color:#fff!important}
.bm-cart-note__continue{height:auto;padding:5px;border:0;background:transparent;text-decoration:underline;text-underline-offset:3px;font-size:12.5px;cursor:pointer;color:#111}

/* Prevent the desktop nav from overflowing at intermediate browser widths. */
@media(max-width:1220px){
  .bm-header__inner{grid-template-columns:52px 1fr 96px;min-height:66px}
  .bm-mobile-toggle{display:grid}
  .bm-logo{justify-content:center}
  .bm-logo img{max-width:120px}
  .bm-nav,.bm-account-icon{display:none}
  .bm-header__icons{gap:5px}
  .bm-cart-note{top:78px}
}
@media(max-width:990px){
  .bm-product{width:min(calc(100% - 32px),760px);padding:12px 0}
}
@media(max-width:749px){
  :root{--bm-gutter:12px}
  .bm-header__inner{width:calc(100% - 24px)}
  .bm-cart-note{right:12px;top:74px;width:calc(100vw - 24px);padding:20px}
  .bm-cart-note__close{margin:-8px -8px 0 0}
}

/* ==========================================================
   Bulmia 3.4 — header safe area / no clipped cart icon
   ========================================================== */
@media (min-width:1421px){
  .bm-header__inner{
    width:calc(100% - 96px);
    max-width:1760px;
    margin-inline:auto;
    padding:8px 4px 8px 0;
    grid-template-columns:minmax(140px,170px) minmax(0,1fr) max-content;
    column-gap:22px;
  }
  .bm-nav{min-width:0;gap:clamp(14px,1.25vw,24px)}
  .bm-header__icons{
    min-width:max-content;
    padding-right:10px;
    gap:12px;
  }
  .bm-cart-link{margin-right:5px}
  .bm-cart-count{right:-3px;top:-2px}
}

/* Collapse before the navigation can push the cart outside the viewport. */
@media (max-width:1420px){
  .bm-header__inner{
    width:calc(100% - 40px);
    max-width:100%;
    grid-template-columns:52px minmax(0,1fr) 104px;
    min-height:66px;
    padding:6px 0;
  }
  .bm-mobile-toggle{display:grid}
  .bm-logo{justify-content:center}
  .bm-logo img{max-width:120px}
  .bm-nav,.bm-account-icon{display:none}
  .bm-header__icons{gap:6px;padding-right:6px;min-width:0}
  .bm-cart-link{margin-right:3px}
  .bm-cart-note{top:78px}
}

@media (max-width:749px){
  .bm-header__inner{width:calc(100% - 24px)}
  .bm-header__icons{padding-right:2px}
}

/* ==========================================================
   Bulmia 3.5 — crisp cards, fixed popup label, Shopify checkout
   ========================================================== */
.bm-card__media img{
  image-rendering:auto;
  backface-visibility:hidden;
  transform:translateZ(0);
}
.bm-cart-note__view{
  display:flex!important;
  align-items:center;
  justify-content:center;
  white-space:nowrap;
  line-height:1.15;
  padding-inline:12px;
}

/* Checkout page intentionally has no store header/footer: this mirrors the
   focused Shopify mobile checkout while WooCommerce still handles the order. */
body.bm-checkout-shell{
  margin:0;
  background:#fff;
  color:#111;
  font-family:var(--bm-body);
  overflow-x:hidden;
}
body.bm-checkout-shell .woocommerce-notices-wrapper{
  width:min(calc(100% - 32px),720px);
  margin:14px auto;
}
.bm-checkout{
  width:100%;
  min-height:100vh;
  background:#fff;
}
.bm-checkout-summary-toggle{
  width:100%;
  min-height:64px;
  border:0;
  border-bottom:1px solid #e1e1e1;
  background:#f7f7f7;
  padding:0 max(24px,env(safe-area-inset-left)) 0 max(24px,env(safe-area-inset-right));
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  color:#ff4fa3;
  cursor:pointer;
  text-align:left;
  font-size:15px;
}
.bm-checkout-summary-toggle>span{display:flex;align-items:center;gap:8px}
.bm-checkout-summary-toggle strong{font-family:var(--bm-head);font-size:21px;color:#111;white-space:nowrap}
.bm-checkout-summary-chevron{display:inline-block;font-size:19px;transition:transform .2s ease;transform-origin:center}
.bm-checkout-summary-toggle[aria-expanded="true"] .bm-checkout-summary-chevron{transform:rotate(180deg)}
.bm-checkout-summary-panel{
  border-bottom:1px solid #e1e1e1;
  background:#fafafa;
  padding:18px max(24px,env(safe-area-inset-right)) 18px max(24px,env(safe-area-inset-left));
}
.bm-checkout-summary-panel[hidden]{display:none!important}
.bm-checkout-summary-item{display:grid;grid-template-columns:56px minmax(0,1fr) auto;gap:12px;align-items:center;padding:8px 0}
.bm-checkout-summary-img{position:relative;width:56px;height:56px;border:1px solid #ddd;border-radius:10px;background:#fff}
.bm-checkout-summary-img img{width:100%;height:100%;object-fit:cover;border-radius:9px}
.bm-checkout-summary-img span{position:absolute;right:-7px;top:-8px;min-width:20px;height:20px;border-radius:999px;background:#6e6e6e;color:#fff;display:grid;place-items:center;padding:0 5px;font-size:11px}
.bm-checkout-summary-copy{min-width:0;font-size:12px;color:#666}
.bm-checkout-summary-copy strong{display:block;color:#111;font-size:13px;margin-bottom:2px}
.bm-checkout-summary-copy dl,.bm-checkout-summary-copy p{margin:0;font-size:11px}
.bm-checkout-summary-price{font-size:13px;font-weight:600;white-space:nowrap}

.bm-checkout-inner{
  width:min(calc(100% - 48px),720px);
  margin:0 auto;
  padding:24px 0 44px;
}
.bm-checkout-form{margin:0!important}
.bm-checkout-section{margin:0 0 34px}
.bm-checkout-section h2{
  font-family:var(--bm-head);
  font-size:26px;
  line-height:1.15;
  letter-spacing:-.02em;
  margin:0 0 16px;
  font-weight:800;
}
.bm-checkout-section-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:16px}
.bm-checkout-section-head h2{margin:0}
.bm-checkout-login,.bm-checkout-policy-link{color:#ff4fa3!important;text-decoration:underline;text-underline-offset:2px}
.bm-checkout-login{font-size:15px;white-space:nowrap}
.bm-checkout-secure{margin:-7px 0 16px;color:#777;font-size:14px}

/* Floating-label fields inspired by Shopify checkout. */
.bm-billing-fields .form-row,
.bm-checkout .woocommerce-address-fields .form-row{
  position:relative;
  float:none!important;
  width:100%!important;
  margin:0 0 10px!important;
  padding:0!important;
}
.bm-billing-fields .form-row label,
.bm-checkout .woocommerce-address-fields .form-row label{
  position:absolute;
  z-index:3;
  top:8px;
  left:20px;
  right:20px;
  margin:0!important;
  color:#777;
  font-size:12px;
  line-height:1.1;
  pointer-events:none;
  font-weight:400;
}
.bm-billing-fields .form-row label .required{display:none}
.bm-billing-fields .input-text,
.bm-billing-fields select,
.bm-checkout .select2-container .select2-selection--single{
  width:100%!important;
  min-height:64px!important;
  border:1px solid #d8d8d8!important;
  border-radius:14px!important;
  background:#fff!important;
  color:#111!important;
  box-shadow:none!important;
  outline:0!important;
  font-size:16px!important;
}
.bm-billing-fields .input-text{
  padding:25px 20px 8px!important;
}
.bm-billing-fields select{
  padding:22px 46px 6px 18px!important;
}
.bm-billing-fields .form-row:focus-within .input-text,
.bm-billing-fields .form-row:focus-within select,
.bm-billing-fields .form-row:focus-within .select2-selection--single{
  border-color:#ff4fa3!important;
  box-shadow:0 0 0 1px #ff4fa3!important;
}
.bm-billing-fields .select2-container{width:100%!important}
.bm-billing-fields .select2-container .select2-selection--single{height:64px!important;padding:18px 44px 0 18px!important}
.bm-billing-fields .select2-container--default .select2-selection--single .select2-selection__rendered{padding:4px 0 0!important;line-height:32px!important;color:#111!important;font-size:16px}
.bm-billing-fields .select2-container--default .select2-selection--single .select2-selection__arrow{height:62px!important;right:14px!important}
.bm-billing-fields #billing_address_2_field label{opacity:0}
.bm-billing-fields #billing_address_2{padding-top:8px!important}
.bm-billing-fields #billing_address_2::placeholder{color:#777;opacity:1}
.bm-checkout .woocommerce-input-wrapper{display:block;width:100%}

.bm-checkout-checkbox{
  display:flex;
  align-items:flex-start;
  gap:11px;
  font-size:15px;
  line-height:1.35;
  cursor:pointer;
  margin:6px 0 0;
}
.bm-checkout-checkbox input{
  appearance:none;
  -webkit-appearance:none;
  flex:0 0 20px;
  width:20px;
  height:20px;
  border:1px solid #d5d5d5;
  border-radius:7px;
  background:#fff;
  margin:0;
  display:grid;
  place-items:center;
}
.bm-checkout-checkbox input:checked{background:#ff4fa3;border-color:#ff4fa3}
.bm-checkout-checkbox input:checked::after{content:"✓";color:#fff;font-size:13px;font-weight:700}
.bm-save-details{margin-top:11px}
.create-account{margin-top:12px}

/* Shipping method card. */
.bm-review-table{width:100%!important;border:0!important;border-collapse:separate!important;border-spacing:0!important;margin:0!important}
.bm-review-products,.bm-review-hidden{display:none!important}
.bm-review-table tfoot,.bm-review-table tbody{border:0!important}
.bm-review-table tr.woocommerce-shipping-totals{display:block!important;width:100%!important}
.bm-review-table tr.woocommerce-shipping-totals>th{display:none!important}
.bm-review-table tr.woocommerce-shipping-totals>td{display:block!important;width:100%!important;padding:0!important;border:0!important;background:none!important;text-align:left!important}
.bm-review-table #shipping_method{list-style:none;margin:0!important;padding:0!important;display:grid;gap:10px}
.bm-review-table #shipping_method li{position:relative;margin:0!important;padding:0!important}
.bm-review-table #shipping_method input{position:absolute;opacity:0;pointer-events:none}
.bm-review-table #shipping_method label{
  min-height:64px;
  border:1.5px solid #ff4fa3;
  border-radius:14px;
  background:#fff6fa;
  display:flex!important;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  width:100%;
  padding:0 20px;
  font-size:16px!important;
  font-weight:700;
  color:#111;
  cursor:pointer;
}
.bm-review-table #shipping_method input:not(:checked)+label{border-color:#ddd;background:#fff}
.bm-review-table #shipping_method .woocommerce-Price-amount{margin-left:auto;font-weight:700}
.bm-review-table .woocommerce-shipping-destination,.bm-review-table .woocommerce-shipping-calculator{display:none!important}

/* Payment area. */
.bm-payment-box{background:transparent!important;border:0!important}
.bm-payment-box:before{display:none!important}
.bm-payment-box .wc_payment_methods{list-style:none!important;margin:0 0 26px!important;padding:0!important;border:0!important}
.bm-payment-box .wc_payment_method{
  border:1px solid #ddd;
  border-radius:14px;
  overflow:hidden;
  margin:0 0 10px!important;
  background:#fff;
}
.bm-payment-box .wc_payment_method>input{margin-left:16px!important}
.bm-payment-box .wc_payment_method>label{display:inline-flex!important;align-items:center;min-height:58px;padding:0 16px!important;font-weight:600}
.bm-payment-box .payment_box{margin:0!important;background:#f7f7f7!important;color:#555!important;border-radius:0!important;padding:16px 18px!important;font-size:13px!important}
.bm-payment-box .payment_box:before{display:none!important}
.bm-no-payment{
  min-height:142px;
  margin:0!important;
  border:0!important;
  border-radius:14px!important;
  background:#f4f4f4!important;
  color:#6f6f6f!important;
  display:flex!important;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:28px!important;
  font-size:16px!important;
  line-height:1.35;
}
.bm-no-payment:before{content:"⚠";display:block;margin-right:10px;color:#aaa;font-size:22px}

.bm-checkout-total-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:6px 0 20px;
}
.bm-checkout-total-thumb{width:44px;height:44px;border:1px solid #ddd;border-radius:10px;background:#f8f8f8;overflow:hidden;flex:0 0 44px}.bm-checkout-total-thumb img{display:block;width:100%!important;height:100%!important;object-fit:cover;margin:0!important}
.bm-checkout-total-copy{display:flex;flex-direction:column;gap:1px;margin-right:auto}
.bm-checkout-total-copy strong{font-family:var(--bm-head);font-size:22px;line-height:1.05}
.bm-checkout-total-copy span{color:#777;font-size:13px}
.bm-checkout-total-amount{display:flex;align-items:center;gap:9px;white-space:nowrap}
.bm-checkout-currency{display:inline-flex;align-items:center;justify-content:center;padding:4px 8px;border-radius:999px;background:#f4f4f4;color:#777;font-size:11px;font-weight:700}
.bm-checkout-total-amount strong{font-family:var(--bm-head);font-size:22px}
.bm-checkout-total-amount .woocommerce-Price-currencySymbol{margin-left:2px}

.bm-payment-box .place-order{padding:0!important;margin:0!important}
.bm-pay-now,#place_order.bm-pay-now{
  width:100%!important;
  min-height:58px!important;
  margin:0!important;
  border:0!important;
  border-radius:12px!important;
  background:#ff4fa3!important;
  color:#fff!important;
  font-size:17px!important;
  font-weight:800!important;
  box-shadow:none!important;
  float:none!important;
}
.bm-pay-now:hover,#place_order.bm-pay-now:hover{background:#f63b94!important}
.bm-payment-box .woocommerce-terms-and-conditions-wrapper{font-size:12px;line-height:1.45;margin:0 0 15px;color:#555}
.bm-payment-box .woocommerce-privacy-policy-text p{margin:0 0 12px}

.bm-payment-box .woocommerce-privacy-policy-text{margin:14px 0 16px!important}
.bm-privacy-reassurance{display:flex;align-items:center;gap:8px;padding:9px 11px;border:1px solid #eee;border-radius:10px;background:#fafafa;color:#666;font-size:11.5px;line-height:1.4}
.bm-privacy-reassurance__icon{flex:0 0 auto;width:21px;height:21px;border-radius:999px;background:#f3f3f3;display:grid;place-items:center;font-size:11px;line-height:1}
.bm-privacy-reassurance strong{color:#222;font-size:11.5px}
.bm-privacy-reassurance a{color:#e83f90!important;text-decoration:underline!important;text-underline-offset:2px}
.bm-payment-box .woocommerce-form__label-for-checkbox{display:flex;gap:8px;align-items:flex-start}
.bm-checkout-policy-link{display:inline-block;margin-top:4px;font-size:14px}

/* Hide classic checkout layout artifacts that plugins/Blocks may inject. */
body.bm-checkout-shell .wc-block-checkout,
body.bm-checkout-shell .wp-block-woocommerce-checkout,
body.bm-checkout-shell .woocommerce-form-coupon-toggle,
body.bm-checkout-shell .woocommerce-form-login-toggle{display:none!important}
body.bm-checkout-shell .woocommerce-error,
body.bm-checkout-shell .woocommerce-message,
body.bm-checkout-shell .woocommerce-info{border-radius:10px!important;font-size:13px!important}

@media(min-width:900px){
  .bm-checkout-inner{width:min(calc(100% - 64px),760px);padding-top:36px;padding-bottom:60px}
  .bm-checkout-summary-toggle{padding-inline:max(calc((100vw - 760px)/2),32px)}
  .bm-checkout-summary-panel{padding-inline:max(calc((100vw - 760px)/2),32px)}
}
@media(max-width:600px){
  .bm-checkout-inner{width:calc(100% - 32px);padding:22px 0 36px}
  .bm-checkout-summary-toggle{min-height:62px;padding-inline:16px;font-size:14px}
  .bm-checkout-summary-toggle strong{font-size:20px}
  .bm-checkout-summary-panel{padding:14px 16px}
  .bm-checkout-section{margin-bottom:30px}
  .bm-checkout-section h2{font-size:24px;margin-bottom:15px}
  .bm-checkout-section-head{margin-bottom:15px}
  .bm-checkout-login{font-size:14px}
  .bm-billing-fields .input-text,.bm-billing-fields select,.bm-checkout .select2-container .select2-selection--single{min-height:62px!important;border-radius:13px!important}
  .bm-billing-fields .select2-container .select2-selection--single{height:62px!important}
  .bm-review-table #shipping_method label{min-height:64px;padding:0 16px;border-radius:13px}
  .bm-no-payment{min-height:140px;padding:24px!important}
  .bm-checkout-total-copy strong,.bm-checkout-total-amount strong{font-size:21px}
  .bm-pay-now,#place_order.bm-pay-now{min-height:58px!important;border-radius:12px!important}
}


/* ==========================================================
   Bulmia 3.6 — round review avatars + responsive Shopify checkout
   ========================================================== */
/* Review profile photos must never inherit their source aspect ratio. */
.al-c__ava,
img.al-c__ava{
  width:44px!important;
  height:44px!important;
  min-width:44px!important;
  min-height:44px!important;
  max-width:44px!important;
  max-height:44px!important;
  aspect-ratio:1 / 1!important;
  border-radius:999px!important;
  object-fit:cover!important;
  object-position:center!important;
  overflow:hidden!important;
}

/* Checkout brand header. */
.bm-checkout-brand{
  height:76px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:8px 24px;
  border-bottom:1px solid #e2e2e2;
  background:#fff;
}
.bm-checkout-brand a{display:flex;align-items:center;justify-content:center;pointer-events:auto}
.bm-checkout-brand img{display:block;width:auto;max-width:138px;max-height:54px;object-fit:contain}
.bm-checkout-brand__text{font-family:var(--bm-head);font-weight:900;font-size:27px;letter-spacing:.06em}

/* SVG chevron aligns with the label baseline instead of relying on a font glyph. */
.bm-checkout-summary-toggle>span{display:inline-flex;align-items:center;gap:9px;line-height:1.2}
.bm-checkout-summary-chevron{display:inline-flex!important;align-items:center;justify-content:center;width:16px;height:16px;line-height:1!important;transform:none!important}
.bm-checkout-summary-chevron svg{display:block;width:14px;height:8px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s ease;transform-origin:center}
.bm-checkout-summary-toggle[aria-expanded="true"] .bm-checkout-summary-chevron svg{transform:rotate(180deg)}

/* Desktop checkout: Shopify-style form left, order summary right. */
.bm-checkout-layout{width:100%}
.bm-checkout-maincol{min-width:0}
.bm-checkout-sidebar{display:none}
.bm-checkout-desktop-products{display:grid;gap:14px;margin-bottom:24px}
.bm-checkout-desktop-item{display:grid;grid-template-columns:62px minmax(0,1fr) auto;gap:12px;align-items:center}
.bm-checkout-desktop-img{position:relative;width:62px;height:62px;border:1px solid #d9dde4;border-radius:10px;background:#fff;overflow:visible}
.bm-checkout-desktop-img img{display:block;width:100%!important;height:100%!important;object-fit:cover!important;border-radius:9px!important;margin:0!important}
.bm-checkout-desktop-qty{position:absolute;right:-7px;top:-8px;min-width:21px;height:21px;padding:0 6px;border-radius:999px;background:#111;color:#fff;display:grid;place-items:center;font-size:11px;font-weight:700}
.bm-checkout-desktop-copy{min-width:0;font-size:12px;color:#73767d;line-height:1.35}
.bm-checkout-desktop-copy strong{display:block;color:#111;font-size:13px;font-weight:600;margin-bottom:2px;white-space:normal}
.bm-checkout-desktop-copy dl,.bm-checkout-desktop-copy p{margin:0;font-size:11px}
.bm-checkout-desktop-price{font-size:13px;font-weight:600;white-space:nowrap}
.bm-checkout-desktop-totals{border-top:1px solid #d9dde4;padding-top:18px;display:grid;gap:9px;font-size:13px}
.bm-checkout-desktop-total-line{display:flex;align-items:center;justify-content:space-between;gap:18px}
.bm-checkout-desktop-total-line strong{font-size:19px;color:#111}
.bm-checkout-desktop-total-line--grand{margin-top:5px;padding-top:12px;border-top:1px solid #d9dde4}
.bm-checkout-desktop-total-line--grand span:first-child{font-family:var(--bm-head);font-size:19px;font-weight:800}
.bm-checkout-desktop-total-value{display:flex;align-items:center;gap:8px;white-space:nowrap}
.bm-checkout-desktop-currency{color:#777;font-size:10px;text-transform:uppercase}
.bm-checkout-desktop-fees{display:grid;gap:7px}
.bm-checkout-desktop-fee{display:flex;justify-content:space-between;gap:14px;color:#333}

/* Static reassurance only: deliberately no links or click targets. */
.bm-checkout-trust{
  margin-top:28px;
  padding-top:23px;
  border-top:1px solid #d9dde4;
  user-select:none;
}
.bm-checkout-trust,* .bm-checkout-trust{cursor:default}
.bm-checkout-trust__brand{display:flex;align-items:center;justify-content:center;gap:7px;font-size:20px;font-weight:700;margin-bottom:5px}
.bm-checkout-trust__star{color:#00b67a;font-size:28px;line-height:1}
.bm-checkout-trust__score{display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap;font-size:12px;margin-bottom:16px}
.bm-checkout-trust__boxes{display:inline-flex;gap:2px}
.bm-checkout-trust__boxes span{width:20px;height:20px;background:#00b67a;color:#fff;display:grid;place-items:center;font-size:14px;line-height:1}
.bm-checkout-trust__review{border:1px solid #cfd6df;border-radius:10px;background:rgba(255,255,255,.38);padding:15px 16px;font-size:12px;line-height:1.45}
.bm-checkout-trust__review-stars{color:#00b67a;font-size:18px;letter-spacing:1px;margin-bottom:6px}
.bm-checkout-trust__review strong{display:block;font-size:13px;margin-bottom:2px}
.bm-checkout-trust__review small{display:block;color:#73767d;margin-top:5px}
.bm-checkout-trust__verified{text-align:center;color:#7a7d83;font-size:10.5px;margin-top:12px}

.bm-checkout-legal{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:32px;font-size:11px}
.bm-checkout-legal a{text-decoration:underline;text-underline-offset:2px;color:#111}

@media(min-width:980px){
  body.bm-checkout-shell{background:linear-gradient(90deg,#fff 0 53%,#f3f6fa 53% 100%)}
  .bm-checkout{background:transparent}
  .bm-checkout-summary-toggle,.bm-checkout-summary-panel{display:none!important}
  .bm-checkout-layout{
    width:min(calc(100% - 64px),1180px);
    margin:0 auto;
    display:grid;
    grid-template-columns:minmax(0,1.02fr) minmax(360px,.88fr);
    gap:0;
    align-items:start;
  }
  .bm-checkout-maincol{padding:42px 54px 68px 0}
  .bm-checkout-inner{width:100%!important;max-width:620px!important;margin:0!important;padding:0!important}
  .bm-checkout-sidebar{
    display:block;
    min-height:calc(100vh - 76px);
    padding:42px 0 60px 54px;
    position:relative;
  }
  .bm-checkout-sidebar__sticky{position:sticky;top:28px;max-width:440px}
  .bm-checkout-section{margin-bottom:30px}
  .bm-checkout-section h2{font-size:22px;margin-bottom:14px}
  .bm-checkout-section-head{margin-bottom:14px}
  .bm-checkout-secure{font-size:13px}

  /* Shopify desktop field pairing. */
  .bm-billing-fields{display:block}
  .bm-delivery-section{display:flex;flex-wrap:wrap;column-gap:10px}
  .bm-delivery-section>h2{flex:0 0 100%}
  .bm-delivery-section #billing_country_field,
  .bm-delivery-section #billing_address_1_field,
  .bm-delivery-section #billing_address_2_field,
  .bm-delivery-section #billing_state_field,
  .bm-delivery-section #billing_phone_field,
  .bm-delivery-section .bm-save-details,
  .bm-delivery-section .create-account{flex:0 0 100%}
  .bm-delivery-section #billing_first_name_field,
  .bm-delivery-section #billing_last_name_field,
  .bm-delivery-section #billing_postcode_field,
  .bm-delivery-section #billing_city_field{flex:1 1 calc(50% - 5px);width:calc(50% - 5px)!important}
  .bm-billing-fields .input-text,
  .bm-billing-fields select,
  .bm-checkout .select2-container .select2-selection--single{min-height:54px!important;border-radius:9px!important;font-size:14px!important}
  .bm-billing-fields .input-text{padding:22px 14px 6px!important}
  .bm-billing-fields select{padding:20px 42px 5px 14px!important}
  .bm-billing-fields .form-row label,.bm-checkout .woocommerce-address-fields .form-row label{left:14px;right:14px;top:7px;font-size:10.5px}
  .bm-billing-fields .select2-container .select2-selection--single{height:54px!important;padding:14px 40px 0 14px!important}
  .bm-billing-fields .select2-container--default .select2-selection--single .select2-selection__arrow{height:52px!important;right:9px!important}
  .bm-review-table #shipping_method label{min-height:56px;border-radius:9px;padding:0 15px;font-size:14px!important}
  .bm-payment-box .wc_payment_method{border-radius:9px}
  .bm-payment-box .wc_payment_method>label{min-height:52px;font-size:14px}
  .bm-pay-now,#place_order.bm-pay-now{min-height:54px!important;border-radius:8px!important;font-size:15px!important}
  .bm-checkout-total-row{display:none!important}
  .bm-checkout-policy-link{display:none!important}
}

@media(max-width:979px){
  body.bm-checkout-shell{background:#fff}
  .bm-checkout-brand{height:64px}
  .bm-checkout-brand img{max-width:122px;max-height:48px}
  .bm-checkout-maincol{width:100%}
  .bm-checkout-sidebar{display:none!important}
  .bm-checkout-legal{font-size:12px;margin-top:28px}
}


/* ============================================================
   Bulmia 3.11 — polished shop archive + payment reassurance
   ============================================================ */
.bm-shop-page{padding:46px 0 72px;background:#fff}
.bm-shop-shell{width:min(100% - 64px,1460px);margin:0 auto}
.bm-shop-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:0 0 28px;border-bottom:1px solid #ececec}
.bm-shop-eyebrow{margin:0 0 7px;font-size:11px;font-weight:800;letter-spacing:.2em;color:var(--bm-pink)}
.bm-shop-title{margin:0;font-family:var(--bm-head);font-size:clamp(32px,4vw,52px);line-height:1.05;font-weight:800;letter-spacing:-.025em}
.bm-shop-title::after{content:"";display:block;width:42px;height:3px;background:var(--bm-pink);margin-top:14px}
.bm-shop-total{margin:0 0 6px;color:#777;font-size:14px}
.bm-shop-description{max-width:760px;margin:22px 0 0;color:#666}
.bm-shop-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 0 26px}
.bm-shop-toolbar__count .woocommerce-result-count{float:none!important;margin:0!important;color:#6c6c6c;font-size:13px}
.bm-shop-toolbar__sort{display:flex;align-items:center;gap:10px;color:#6c6c6c;font-size:13px}
.bm-shop-toolbar__sort .woocommerce-ordering{float:none!important;margin:0!important}
.bm-shop-toolbar__sort select{height:42px;min-width:190px;border:1px solid #ddd;border-radius:8px;background:#fff;padding:0 38px 0 13px;color:#171717;font-size:13px}
.bm-shop-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:34px 18px}
.bm-shop-grid .bm-card__media{border-radius:2px;background:#f6f6f6}
.bm-shop-grid .bm-card__body{padding:12px 2px 0}
.bm-shop-grid .bm-card__title{font-size:14px;font-weight:500;margin-bottom:5px}
.bm-shop-grid .bm-price{font-size:14px}
.bm-shop-pagination{padding-top:38px}
.bm-shop-empty{padding:50px 0;text-align:center}
.bm-shop-page .woocommerce-notices-wrapper{width:100%;margin:0 0 18px}

/* Payment reassurance: informative, compact, no platform jargon. */
.bm-product-tabs .bm-faq-answer p{max-width:1000px;margin:0;color:#404040;font-size:15px;line-height:1.65}
.bm-checkout-payment-copy,.bm-checkout-payment-note{color:#727272}

@media(max-width:1100px){
  .bm-shop-shell{width:min(100% - 40px,1460px)}
  .bm-shop-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 16px}
}
@media(max-width:760px){
  .bm-shop-page{padding:28px 0 52px}
  .bm-shop-shell{width:calc(100% - 24px)}
  .bm-shop-hero{align-items:flex-start;padding-bottom:20px}
  .bm-shop-title{font-size:34px}
  .bm-shop-total{font-size:12px}
  .bm-shop-toolbar{padding:16px 0 20px;align-items:flex-end}
  .bm-shop-toolbar__count .woocommerce-result-count{font-size:12px}
  .bm-shop-toolbar__sort{display:block}
  .bm-shop-toolbar__sort>span{display:none}
  .bm-shop-toolbar__sort select{min-width:145px;height:40px;font-size:12px}
  .bm-shop-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 10px}
}

/* Product FAQ: compact premium accordion, not an oversized system block. */
.bm-product-tabs{max-width:980px;margin:44px auto 58px;padding:0 24px}
.bm-product-tabs h2{font-size:28px;margin-bottom:22px}
.bm-faq-item{margin:0 0 10px;border:1px solid #e8e8e8;border-radius:10px;background:#fff;overflow:hidden}
.bm-faq-item summary{min-height:58px;padding:17px 18px;background:#fff;font-size:16px;line-height:1.35;font-weight:700;align-items:center;outline:none!important}
.bm-faq-item summary:focus,.bm-faq-item summary:focus-visible{outline:none!important;box-shadow:none!important}
.bm-faq-item summary::after{content:"⌄";font-size:24px;line-height:1;color:var(--bm-pink);transform:none!important}
.bm-faq-item[open] summary::after{transform:rotate(180deg)!important}
.bm-faq-answer{padding:0 18px 18px;background:#fff;border-top:1px solid #f2f2f2}
.bm-faq-answer p{padding-top:15px!important;font-size:14px!important;line-height:1.65!important;color:#555!important}
@media(max-width:760px){.bm-product-tabs{padding:0 14px;margin-top:32px}.bm-faq-item summary{font-size:15px;padding:15px}.bm-faq-answer{padding:0 15px 15px}}


/* Bulmia 3.12 — dynamic delivery date under checkout shipping method */
.bm-review-table #shipping_method label{
  flex-wrap:wrap!important;
  align-content:center;
  row-gap:3px;
  padding-top:10px;
  padding-bottom:10px;
}
.bm-review-table #shipping_method .bm-shipping-main{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  width:100%;
  min-width:0;
}
.bm-review-table #shipping_method .bm-shipping-main .woocommerce-Price-amount{
  margin-left:auto!important;
  white-space:nowrap;
}
.bm-review-table #shipping_method .bm-shipping-estimate{
  display:block;
  flex:0 0 100%;
  width:100%;
  margin:0;
  color:#707070;
  font-size:11.5px;
  font-weight:400;
  line-height:1.35;
  letter-spacing:0;
}

/* ==========================================================
   Bulmia 3.13 — compact checkout validation notices
   ========================================================== */
body.bm-checkout-shell .woocommerce-notices-wrapper{
  width:100%!important;
  max-width:none!important;
  margin:0 0 22px!important;
  padding:0!important;
}
body.bm-checkout-shell .woocommerce-notices-wrapper:empty{display:none!important}
body.bm-checkout-shell ul.woocommerce-error,
body.bm-checkout-shell .woocommerce-error{
  position:relative!important;
  margin:0 0 18px!important;
  padding:14px 16px 14px 46px!important;
  border:1px solid #f2c7d8!important;
  border-left:3px solid #e83f90!important;
  border-top:1px solid #f2c7d8!important;
  border-radius:12px!important;
  background:#fff8fb!important;
  color:#2b2528!important;
  box-shadow:none!important;
  outline:0!important;
  list-style:none!important;
  font-size:13px!important;
  line-height:1.42!important;
}
body.bm-checkout-shell ul.woocommerce-error:focus,
body.bm-checkout-shell .woocommerce-error:focus{
  outline:0!important;
  box-shadow:none!important;
}
body.bm-checkout-shell ul.woocommerce-error::before,
body.bm-checkout-shell .woocommerce-error::before{
  content:"!"!important;
  position:absolute!important;
  left:15px!important;
  top:14px!important;
  width:20px!important;
  height:20px!important;
  margin:0!important;
  border-radius:999px!important;
  background:#e83f90!important;
  color:#fff!important;
  display:grid!important;
  place-items:center!important;
  font-family:Arial,sans-serif!important;
  font-size:13px!important;
  font-weight:800!important;
  line-height:1!important;
}
body.bm-checkout-shell ul.woocommerce-error li,
body.bm-checkout-shell .woocommerce-error li{
  margin:0!important;
  padding:2px 0!important;
  border:0!important;
  background:transparent!important;
  color:#2b2528!important;
  font-size:13px!important;
  font-weight:400!important;
  line-height:1.42!important;
}
body.bm-checkout-shell ul.woocommerce-error li::marker{content:""}
body.bm-checkout-shell ul.woocommerce-error li strong,
body.bm-checkout-shell .woocommerce-error li strong{font-weight:650!important}
body.bm-checkout-shell .woocommerce-error a{color:#2b2528!important;text-decoration:underline!important}
@media(max-width:600px){
  body.bm-checkout-shell ul.woocommerce-error,
  body.bm-checkout-shell .woocommerce-error{
    padding:12px 13px 12px 42px!important;
    border-radius:10px!important;
    font-size:12.5px!important;
  }
  body.bm-checkout-shell ul.woocommerce-error::before,
  body.bm-checkout-shell .woocommerce-error::before{left:13px!important;top:12px!important;width:19px!important;height:19px!important;font-size:12px!important}
  body.bm-checkout-shell ul.woocommerce-error li,
  body.bm-checkout-shell .woocommerce-error li{font-size:12.5px!important;padding:1.5px 0!important}
}

/* Footer menu location */
.bm-footer-menu{list-style:none;margin:0;padding:0}.bm-footer-menu li{margin:0;padding:0}.bm-footer-menu a{display:block}.bm-footer-menu .sub-menu{display:none}


/* ==========================================================
   Bulmia 3.15 — mobile polish, modern cards, Shopify-like checkout tweaks
   ========================================================== */
:root{--bm-radius:18px;--bm-radius-sm:14px;--bm-shadow-soft:0 10px 30px rgba(17,17,17,.06);--bm-shadow-hover:0 16px 36px rgba(17,17,17,.10)}

/* Global rounded buttons */
button,
input[type="submit"],
input[type="button"],
input[type="reset"],
a.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.added_to_cart,
.wc-forward,
.bm-btn{border-radius:999px!important}

/* Guide des tailles: prevent right-side clipping on mobile */
#sg-bulmia, #sg-bulmia .sg-wrap, #sg-bulmia .sg-panel, #sg-bulmia .sg-card{max-width:100%;min-width:0}
#sg-bulmia .sg-bar{align-items:flex-start}
#sg-bulmia .sg-tabs{max-width:100%;min-width:0}
#sg-bulmia .sg-tablewrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
@media(max-width:767px){
  #sg-bulmia{padding:34px 0 56px;overflow-x:hidden}
  #sg-bulmia .sg-wrap{padding:0 14px}
  #sg-bulmia .sg-panel{grid-template-columns:1fr;gap:16px}
  #sg-bulmia .sg-card{padding:18px}
  #sg-bulmia table{min-width:420px}
}

/* Shop toolbar without result count */
.bm-shop-toolbar--solo{justify-content:flex-end}
.bm-shop-toolbar__count,.bm-shop-toolbar__count .woocommerce-result-count{display:none!important}

/* Product cards: more premium / modern */
.bm-product-grid{gap:22px 18px}
.bm-product-card{display:flex;flex-direction:column;border:1px solid #efefef;border-radius:22px;background:#fff;overflow:hidden;box-shadow:var(--bm-shadow-soft);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.bm-product-card:hover{transform:translateY(-5px);box-shadow:var(--bm-shadow-hover);border-color:#e4e4e4}
.bm-card__media{aspect-ratio:4/5;border-radius:22px 22px 0 0;background:#f6f6f6}
.bm-card__media::after{content:"";position:absolute;inset:auto 0 0;height:28%;background:linear-gradient(180deg,rgba(255,255,255,0),rgba(255,255,255,.18));pointer-events:none}
.bm-card__media img{transition:transform .35s ease}
.bm-product-card:hover .bm-card__media img{transform:scale(1.035)}
.bm-badge{left:14px;top:14px;bottom:auto;background:#111;padding:7px 12px;border-radius:999px;font-size:11px;font-weight:700;letter-spacing:.02em}
.bm-card__body{padding:16px 16px 18px;display:flex;flex-direction:column;gap:7px;flex:1 1 auto}
.bm-card__title{font-size:15px;font-weight:700;line-height:1.35;margin:0;color:#121212}
.bm-card__title a{color:inherit;text-decoration:none}
.bm-price{font-size:15px;font-weight:700;color:#121212}
.bm-price del{font-size:13px;color:#888;font-weight:500}
.bm-price ins{color:#111;text-decoration:none}
.bm-price .amount{letter-spacing:-.01em}
@media(max-width:760px){
  .bm-shop-grid{gap:16px 10px}
  .bm-product-card{border-radius:18px}
  .bm-card__media{border-radius:18px 18px 0 0}
  .bm-card__body{padding:13px 12px 14px}
  .bm-card__title{font-size:14px}
  .bm-price{font-size:14px}
}

/* Product page option pills and CTA */
.bm-product .variations select{display:none!important}
.bm-product .reset_variations{display:none!important}
.bm-product .single_add_to_cart_button{border-radius:999px!important;height:56px!important;background:#111!important;border-color:#111!important;font-weight:700!important;letter-spacing:.01em;box-shadow:none!important}
.bm-product .single_add_to_cart_button:hover{background:#000!important}
.bm-variant-pills{gap:10px;margin-top:10px}
.bm-variant-pill{min-width:48px;height:42px;padding:0 16px;border:1px solid #d5d7db;border-radius:999px;background:#fff;color:#111;font-weight:600;transition:all .18s ease}
.bm-variant-pill:hover{border-color:#111;box-shadow:0 0 0 1px #111 inset}
.bm-variant-pill.is-active{background:#111;color:#fff;border-color:#111;box-shadow:none}
.bm-variant-pill.is-disabled{opacity:.32;background:#f5f5f5;color:#9aa0a6;border-color:#e3e5e8}
.bm-product .variations label,.bm-product .variations .label label{color:#111!important;font-weight:600!important}

/* Rounded controls across cart/checkout */
.bm-qty,.bm-qty__btn,.bm-cart-shop-btn,.bm-cart-checkout,.bm-cart-item__remove,.bm-cart-coupon button,.bm-cart-actions .button{border-radius:999px!important}

/* Checkout button and payment UI */
.bm-pay-now,#place_order,.bm-pay-now:hover,#place_order:hover{background:#111!important;border-color:#111!important;color:#fff!important}
.bm-pay-now,#place_order.bm-pay-now,#place_order{min-height:58px!important;border-radius:999px!important;font-size:17px!important;font-weight:800!important;letter-spacing:.01em!important}
.body.bm-checkout-shell #payment .payment_methods .payment_box{border-radius:18px!important}
body.bm-checkout-shell .wc_payment_methods .wc_payment_method,
body.bm-checkout-shell .bm-payment-box .wc_payment_method{border:1px solid #d8dce3!important;border-radius:18px!important;background:#fff!important;overflow:hidden!important;box-shadow:none!important}
body.bm-checkout-shell .wc_payment_methods .wc_payment_method>label,
body.bm-checkout-shell .bm-payment-box .wc_payment_method>label{min-height:64px!important;border-radius:18px!important;font-weight:700!important}
body.bm-checkout-shell .wc_payment_method.input-radio:checked+label{border-color:#111!important}
body.bm-checkout-shell .bm-billing-fields .input-text,
body.bm-checkout-shell .bm-billing-fields select,
body.bm-checkout-shell .select2-container .select2-selection--single{border-radius:18px!important;border:1px solid #d8dce3!important;background:#fff!important;box-shadow:none!important}
body.bm-checkout-shell .bm-billing-fields .input-text:focus,
body.bm-checkout-shell .bm-billing-fields select:focus,
body.bm-checkout-shell .select2-container .select2-selection--single:focus{border-color:#111!important;box-shadow:0 0 0 4px rgba(17,17,17,.06)!important}
body.bm-checkout-shell .bm-review-table #shipping_method label{border-radius:18px!important;border:1px solid #d8dce3!important;box-shadow:none!important}
body.bm-checkout-shell .woocommerce-checkout-payment{margin-top:0}
body.bm-checkout-shell .woocommerce-terms-and-conditions-wrapper .validate-required{margin-bottom:10px}

/* Mobile trustpilot block under the pay button */
.bm-checkout-trust--mobile{display:block;margin-top:34px}
.bm-checkout-trust__cta{display:block;margin-top:10px;color:#81848b;font-style:normal;font-size:11px;text-align:center}
@media(min-width:980px){.bm-checkout-trust--mobile{display:none!important}}
@media(max-width:979px){
  .bm-checkout-trust{padding-top:28px;margin-top:30px}
  .bm-checkout-trust__brand{font-size:18px;margin-bottom:10px}
  .bm-checkout-trust__score{gap:10px;font-size:14px;margin-bottom:18px}
  .bm-checkout-trust__boxes span{width:22px;height:22px;font-size:14px}
  .bm-checkout-trust__review{padding:18px 18px 16px;border-radius:18px;background:#fff;border:1px solid #dfe3ea}
  .bm-checkout-trust__review-stars{display:flex;justify-content:center;gap:3px;font-size:17px;margin-bottom:11px}
  .bm-checkout-trust__review strong{font-size:18px;text-align:left;margin-bottom:4px}
  .bm-checkout-trust__review span{display:block;font-size:15px;color:#222;text-align:left}
  .bm-checkout-trust__review small{margin-top:6px;font-size:12px;text-align:left}
  .bm-checkout-legal{margin-top:26px;row-gap:9px;column-gap:14px}
  .bm-checkout-legal a{font-size:12px}
  .bm-checkout-policy-link{display:none!important}
}

/* Make Shopify-like product/checkout CTAs consistently rounded */
.bm-product .single_add_to_cart_button,
#place_order,
.bm-pay-now,
.bm-btn{padding-inline:26px!important}


/* ==========================================================
   Bulmia 3.16 — card framing + pure black checkout + express wallets
   ========================================================== */

/* Product cards: square media and consistent title/price framing */
.bm-shop-grid .bm-product-card,.bm-product-grid .bm-product-card{border-radius:18px!important;overflow:hidden!important;background:#fff!important}
.bm-shop-grid .bm-card__media,.bm-product-grid .bm-card__media{aspect-ratio:1 / 1!important;border-radius:18px 18px 0 0!important;background:#f3f4f6!important}
.bm-shop-grid .bm-card__media img,.bm-product-grid .bm-card__media img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important}
.bm-shop-grid .bm-card__body,.bm-product-grid .bm-card__body{padding:14px 14px 16px!important;min-height:96px!important;display:flex!important;flex-direction:column!important;justify-content:space-between!important;gap:10px!important}
.bm-shop-grid .bm-card__title,.bm-product-grid .bm-card__title{margin:0!important;font-size:15px!important;line-height:1.28!important;font-weight:600!important;min-height:38px!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
.bm-shop-grid .bm-price,.bm-product-grid .bm-price{margin-top:auto!important;font-size:15px!important;line-height:1.2!important;font-weight:800!important;min-height:20px!important}
@media(max-width:760px){
  .bm-shop-grid .bm-product-card,.bm-product-grid .bm-product-card{border-radius:16px!important}
  .bm-shop-grid .bm-card__media,.bm-product-grid .bm-card__media{border-radius:16px 16px 0 0!important}
  .bm-shop-grid .bm-card__body,.bm-product-grid .bm-card__body{padding:12px 12px 14px!important;min-height:92px!important;gap:8px!important}
  .bm-shop-grid .bm-card__title,.bm-product-grid .bm-card__title{font-size:13.5px!important;min-height:35px!important}
  .bm-shop-grid .bm-price,.bm-product-grid .bm-price{font-size:14px!important}
}

/* Cart checkout CTA: pure black, not charcoal */
.bm-cart-checkout,
.woocommerce .wc-proceed-to-checkout a.checkout-button,
.woocommerce-cart .checkout-button{background:#000!important;border-color:#000!important;color:#fff!important;box-shadow:none!important}
.bm-cart-checkout:hover,
.woocommerce .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce-cart .checkout-button:hover{background:#000!important;color:#fff!important}

/* Final checkout CTA: pure black in every state */
body.bm-checkout-shell #place_order,
body.bm-checkout-shell #place_order:hover,
body.bm-checkout-shell #place_order:focus,
body.bm-checkout-shell #place_order:active,
body.bm-checkout-shell .bm-pay-now,
body.bm-checkout-shell .bm-pay-now:hover{background:#000!important;background-color:#000!important;border-color:#000!important;color:#fff!important;opacity:1!important;filter:none!important;box-shadow:none!important}

/* WooPayments express checkout sits above Contact like Shopify.
   It stays hidden unless WooPayments actually renders a wallet button. */
.bm-express-slot{display:none;margin:0 0 28px;padding:0;text-align:center}
.bm-express-slot:has(#wcpay-payment-request-wrapper),
.bm-express-slot:has(.wcpay-payment-request-wrapper),
.bm-express-slot:has([id*="payment-request"]),
.bm-express-slot:has([class*="express-checkout"]){display:block}
.bm-express-slot__label{margin:0 0 14px;color:#737373;font-size:14px;line-height:1.3}
.bm-express-slot__buttons{display:block;width:100%}
.bm-express-slot #wcpay-payment-request-wrapper,
.bm-express-slot .wcpay-payment-request-wrapper{margin:0!important;padding:0!important;width:100%!important}
.bm-express-slot #wcpay-payment-request-button,
.bm-express-slot .wcpay-payment-request-button,
.bm-express-slot [id*="payment-request-button"]{min-height:54px!important;border-radius:14px!important;overflow:hidden!important}
.bm-express-slot #wcpay-payment-request-button-separator,
.bm-express-slot .wcpay-payment-request-button-separator{display:none!important}
.bm-express-slot__separator{display:flex;align-items:center;gap:12px;margin:18px 0 0;color:#8b8b8b;font-size:12px;text-transform:uppercase}
.bm-express-slot__separator::before,.bm-express-slot__separator::after{content:"";height:1px;background:#e1e3e7;flex:1}
.bm-express-slot__separator span{display:inline-block;padding:0 2px}

/* Checkout mobile Trustpilot = same component as desktop, simply resized. */
@media(max-width:979px){
  .bm-checkout-trust--mobile{display:block!important}
  .bm-checkout-trust--mobile .bm-checkout-trust__brand{font-size:20px!important;margin-bottom:5px!important}
  .bm-checkout-trust--mobile .bm-checkout-trust__score{font-size:12px!important;gap:9px!important;margin-bottom:16px!important}
  .bm-checkout-trust--mobile .bm-checkout-trust__boxes span{width:20px!important;height:20px!important;font-size:14px!important}
  .bm-checkout-trust--mobile .bm-checkout-trust__review{padding:15px 16px!important;border-radius:10px!important;background:rgba(255,255,255,.45)!important;font-size:12px!important;line-height:1.45!important}
  .bm-checkout-trust--mobile .bm-checkout-trust__review-stars{justify-content:flex-start!important;color:#00b67a!important;font-size:18px!important;letter-spacing:1px!important;margin-bottom:6px!important}
  .bm-checkout-trust--mobile .bm-checkout-trust__review strong{font-size:13px!important;text-align:left!important;margin-bottom:2px!important}
  .bm-checkout-trust--mobile .bm-checkout-trust__review span{font-size:12px!important;text-align:left!important;color:inherit!important}
  .bm-checkout-trust--mobile .bm-checkout-trust__review small{font-size:11px!important;text-align:left!important;margin-top:5px!important}
}


/* ==========================================================
   Bulmia 3.17 — mobile card framing + real WooPayments express hook
   ========================================================== */
@media(max-width:760px){
  .bm-shop-grid .bm-product-card,
  .bm-product-grid .bm-product-card{height:auto!important;min-height:0!important;display:block!important;overflow:hidden!important}
  .bm-shop-grid .bm-card__media,
  .bm-product-grid .bm-card__media{display:block!important;width:100%!important;aspect-ratio:1/1!important;margin:0!important}
  .bm-shop-grid .bm-card__body,
  .bm-product-grid .bm-card__body{display:block!important;height:auto!important;min-height:0!important;padding:14px 14px 16px!important;background:#fff!important;text-align:left!important}
  .bm-shop-grid .bm-card__title,
  .bm-product-grid .bm-card__title{display:block!important;min-height:0!important;height:auto!important;margin:0 0 7px!important;padding:0!important;font-size:14px!important;line-height:1.28!important;font-weight:500!important;-webkit-line-clamp:unset!important;overflow:visible!important;white-space:normal!important}
  .bm-shop-grid .bm-card__title a,
  .bm-product-grid .bm-card__title a{display:block!important;margin:0!important;padding:0!important}
  .bm-shop-grid .bm-price,
  .bm-product-grid .bm-price{display:flex!important;align-items:baseline!important;min-height:0!important;height:auto!important;margin:0!important;padding:0!important;font-size:14px!important;line-height:1.25!important;font-weight:800!important;gap:6px!important}
}

/* Real express checkout surface. The WooPayments hook is rendered here. */
.bm-express-slot{display:block!important;margin:0 0 28px!important;padding:0!important;text-align:center!important}
.bm-express-slot__label{display:block!important;margin:0 0 14px!important;color:#737373!important;font-size:14px!important;line-height:1.3!important;font-weight:400!important}
.bm-express-slot__buttons{width:100%!important;min-width:0!important}
.bm-express-slot__fallback{margin:0!important;padding:13px 16px!important;border:1px solid #e2e4e8!important;border-radius:14px!important;background:#fafafa!important;color:#777!important;font-size:12px!important;line-height:1.4!important}
.bm-express-slot.has-express-buttons .bm-express-slot__fallback{display:none!important}
.bm-express-slot #wcpay-payment-request-wrapper,
.bm-express-slot .wcpay-payment-request-wrapper,
.bm-express-slot #wcpay-express-checkout-element,
.bm-express-slot .wcpay-express-checkout-wrapper{display:block!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
.bm-express-slot #wcpay-payment-request-button,
.bm-express-slot .wcpay-payment-request-button,
.bm-express-slot [id*="payment-request-button"],
.bm-express-slot [class*="express-checkout"] button{width:100%!important;min-height:56px!important;border-radius:16px!important;overflow:hidden!important}
.bm-express-slot__separator{display:flex!important;align-items:center!important;gap:12px!important;margin:18px 0 0!important;color:#8a8a8a!important;font-size:11px!important;text-transform:uppercase!important}
.bm-express-slot__separator::before,.bm-express-slot__separator::after{content:""!important;height:1px!important;background:#e0e2e6!important;flex:1!important}
@media(max-width:760px){
  .bm-express-slot{margin-bottom:26px!important}
  .bm-express-slot__label{font-size:15px!important;margin-bottom:13px!important}
  .bm-express-slot__fallback{border-radius:16px!important;padding:14px 14px!important}
}

/* Pure black cart/checkout buttons even when old theme CSS is cached. */
body .bm-cart-checkout,
body .woocommerce .wc-proceed-to-checkout a.checkout-button,
body.bm-checkout-shell #place_order{background:#000!important;background-color:#000!important;border-color:#000!important;color:#fff!important;opacity:1!important;filter:none!important;box-shadow:none!important}


/* Bulmia 3.18 — cache-proof compact mobile product-card copy */
@media(max-width:760px){
  body .bm-shop-page .bm-shop-grid .bm-card__body{padding:13px 14px 15px!important;margin:0!important;min-height:0!important;height:auto!important;display:block!important}
  body .bm-shop-page .bm-shop-grid .bm-card__title{margin:0 0 6px!important;padding:0!important;min-height:0!important;height:auto!important;font-size:14px!important;line-height:1.25!important;font-weight:500!important}
  body .bm-shop-page .bm-shop-grid .bm-price{margin:0!important;padding:0!important;min-height:0!important;height:auto!important;font-size:14px!important;line-height:1.2!important;font-weight:800!important}
}


/* ==========================================================
   Bulmia 3.19 — native WooCommerce promo code on cart + checkout
   ========================================================== */
.bm-cart-notices{width:min(100% - 40px,1320px);margin:0 auto 18px}
.bm-cart-notices:empty{display:none}
.bm-cart-coupon,.bm-checkout-coupon{margin:0 0 20px}
.bm-cart-coupon label,.bm-checkout-coupon label{display:block;margin:0 0 8px;color:#222;font-size:13px;font-weight:700}
.bm-coupon-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:stretch}
.bm-coupon-row input[type="text"]{width:100%;min-width:0;height:48px;margin:0!important;padding:0 15px!important;border:1px solid #d9dce2!important;border-radius:14px!important;background:#fff!important;color:#111!important;font-size:14px!important;box-shadow:none!important;outline:none!important}
.bm-coupon-row input[type="text"]:focus{border-color:#111!important;box-shadow:0 0 0 3px rgba(17,17,17,.06)!important}
.bm-coupon-row button{height:48px!important;min-width:104px!important;margin:0!important;padding:0 18px!important;border:1px solid #111!important;border-radius:14px!important;background:#111!important;color:#fff!important;font-size:13px!important;font-weight:700!important;line-height:1!important;box-shadow:none!important}
.bm-coupon-row button:hover,.bm-coupon-row button:focus{background:#000!important;color:#fff!important}
.bm-cart-summary__coupon{color:#333}
.bm-cart-summary__coupon .woocommerce-remove-coupon{display:inline-block;margin-left:6px;color:#777!important;font-size:11px;text-decoration:underline}
.bm-checkout-coupon{padding:0 0 26px;margin:0 0 26px;border-bottom:1px solid #e8e8e8}
.bm-checkout-coupon .woocommerce-error,.bm-checkout-coupon .woocommerce-message,.bm-checkout-coupon .woocommerce-info{margin:10px 0 0!important}
@media(max-width:600px){
  .bm-cart-notices{width:calc(100% - 24px)}
  .bm-coupon-row{grid-template-columns:minmax(0,1fr) 100px;gap:7px}
  .bm-coupon-row input[type="text"],.bm-coupon-row button{height:50px!important;border-radius:14px!important}
  .bm-coupon-row button{min-width:0!important;padding:0 12px!important}
  .bm-checkout-coupon{padding-bottom:22px;margin-bottom:24px}
}


/* ==========================================================
   Bulmia 3.20 — reliable checkout coupons + compact remove ×
   ========================================================== */
body.bm-checkout-shell .bm-checkout-coupon{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  width:100%!important;
  margin:0 0 26px!important;
  padding:0 0 24px!important;
  border-bottom:1px solid #e8e8e8!important;
}
body.bm-checkout-shell .bm-checkout-coupon label{display:block!important;margin:0 0 8px!important;color:#111!important;font-size:13px!important;font-weight:700!important}
body.bm-checkout-shell .bm-checkout-coupon .bm-coupon-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important}
body.bm-checkout-shell .bm-checkout-coupon input{display:block!important;width:100%!important;min-width:0!important;height:50px!important;padding:0 15px!important;border:1px solid #d9dce2!important;border-radius:14px!important;background:#fff!important;color:#111!important;font-size:14px!important}
body.bm-checkout-shell .bm-checkout-coupon button{display:inline-flex!important;align-items:center!important;justify-content:center!important;height:50px!important;min-width:108px!important;padding:0 18px!important;border:0!important;border-radius:999px!important;background:#111!important;color:#fff!important;font-size:13px!important;font-weight:700!important}
.bm-coupon-status{min-height:18px;margin:7px 2px 0!important;font-size:11.5px!important;line-height:1.35!important;color:#666!important}
.bm-coupon-status.is-success{color:#157347!important}
.bm-coupon-status.is-error{color:#b42318!important}

/* WooCommerce writes “Remove/Enlever” inside this link. Keep the accessible
   link but visually reduce it to a small ×. */
a.woocommerce-remove-coupon{
  display:inline-grid!important;
  place-items:center!important;
  width:18px!important;
  height:18px!important;
  min-width:18px!important;
  margin-left:6px!important;
  padding:0!important;
  border:0!important;
  border-radius:999px!important;
  background:#f1f1f1!important;
  color:transparent!important;
  font-size:0!important;
  line-height:1!important;
  text-decoration:none!important;
  vertical-align:middle!important;
}
a.woocommerce-remove-coupon::before{
  content:"×"!important;
  color:#555!important;
  font:500 16px/1 Arial,sans-serif!important;
}
a.woocommerce-remove-coupon:hover{background:#e7e7e7!important}

@media(max-width:600px){
  body.bm-checkout-shell .bm-checkout-coupon .bm-coupon-row{grid-template-columns:minmax(0,1fr) 96px!important;gap:7px!important}
  body.bm-checkout-shell .bm-checkout-coupon button{min-width:0!important;padding:0 10px!important}
}


/* Bulmia 3.21 — WooPayments Express Checkout compatibility */
.bm-express-slot{display:block!important;margin:0 0 28px!important}
.bm-express-slot__buttons:empty{display:none!important}
.bm-express-slot__buttons:empty + .bm-express-slot__separator{display:none!important}
.bm-express-slot:has(.bm-express-slot__buttons:empty) .bm-express-slot__label{display:none!important}
.bm-express-slot #wcpay-express-checkout-element,
.bm-express-slot .wcpay-express-checkout-wrapper,
.bm-express-slot #wcpay-payment-request-wrapper,
.bm-express-slot .wcpay-payment-request-wrapper{display:block!important;width:100%!important;max-width:none!important;margin:0!important}
.bm-express-slot [id*="express-checkout"],
.bm-express-slot [id*="payment-request"],
.bm-express-slot iframe{max-width:100%!important}
@media(max-width:600px){
  .bm-express-slot{margin-bottom:24px!important}
  .bm-express-slot__label{font-size:15px!important;margin-bottom:12px!important}
}


/* ==========================================================
   Bulmia 3.22 — WooPayments express checkout on cart/checkout
   ========================================================== */
.bm-cart-express{margin:22px 0 18px;text-align:center}
.bm-cart-express__title{margin:0 0 12px;color:#717171;font-size:13px;font-weight:500}
.bm-cart-express__buttons{width:100%;min-width:0}
.bm-cart-express__buttons .wcpay-express-checkout-wrapper,
.bm-cart-express__buttons #wcpay-express-checkout-element,
.bm-cart-express__buttons #wcpay-payment-request-wrapper{display:block!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
.bm-cart-express__buttons [id*="express-checkout"],
.bm-cart-express__buttons [id*="payment-request"],
.bm-cart-express__buttons iframe{max-width:100%!important}
.bm-cart-express__buttons button,
.bm-cart-express__buttons [role="button"]{border-radius:17px!important;overflow:hidden!important}
.bm-cart-express__or{display:flex;align-items:center;gap:12px;margin:14px 0 0;color:#8b8b8b;font-size:12px;text-transform:uppercase}
.bm-cart-express__or:before,.bm-cart-express__or:after{content:"";height:1px;background:#e2e2e2;flex:1}
.bm-cart-express__or span{padding:0 3px}
/* WooPayments already outputs its own separator; Bulmia provides one consistent separator. */
.bm-cart-express #wcpay-express-checkout-button-separator,
.bm-express-slot #wcpay-express-checkout-button-separator{display:none!important}
@media(max-width:760px){
  .bm-cart-express{margin:18px 0 16px}
  .bm-cart-express__title{font-size:14px}
}


/* ==========================================================
   Bulmia 3.23 — breathing room before product express pay
   ========================================================== */
/* WooPayments/Apple Pay/Google Pay/Amazon Pay are injected immediately
   after the native add-to-cart area. Give that wallet row its own space. */
.bm-product__info #wcpay-express-checkout-element,
.bm-product__info .wcpay-express-checkout-wrapper,
.bm-product__info #wcpay-payment-request-wrapper,
.bm-product__info .wcpay-payment-request-wrapper,
.bm-product__info [id*="express-checkout"],
.bm-product__info [class*="express-checkout"]{
  margin-top:18px!important;
}
.bm-product__info #wcpay-express-checkout-button-separator,
.bm-product__info .wcpay-express-checkout-button-separator,
.bm-product__info #wcpay-payment-request-button-separator,
.bm-product__info .wcpay-payment-request-button-separator{
  margin-top:18px!important;
}
@media(max-width:760px){
  .bm-product__info #wcpay-express-checkout-element,
  .bm-product__info .wcpay-express-checkout-wrapper,
  .bm-product__info #wcpay-payment-request-wrapper,
  .bm-product__info .wcpay-payment-request-wrapper,
  .bm-product__info [id*="express-checkout"],
  .bm-product__info [class*="express-checkout"]{
    margin-top:16px!important;
  }
}


/* ==========================================================
   Bulmia 3.24 — native WooCommerce Blocks express payments
   ========================================================== */
.bm-express-slot__buttons .wp-block-woocommerce-checkout-express-payment-block,
.bm-cart-express__buttons .wp-block-woocommerce-cart-express-payment-block,
.bm-express-slot__buttons .wc-block-components-express-payment,
.bm-cart-express__buttons .wc-block-components-express-payment{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
}
.bm-express-slot__buttons .wc-block-components-express-payment__event-buttons,
.bm-cart-express__buttons .wc-block-components-express-payment__event-buttons{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  list-style:none!important;
}
.bm-express-slot__buttons .wc-block-components-express-payment__event-buttons>li,
.bm-cart-express__buttons .wc-block-components-express-payment__event-buttons>li,
.bm-express-slot__buttons .wc-block-components-express-payment__event-buttons>div,
.bm-cart-express__buttons .wc-block-components-express-payment__event-buttons>div{
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  line-height:0!important;
  font-size:0!important;
}
.bm-express-slot__buttons .wc-block-components-express-payment__event-buttons iframe,
.bm-cart-express__buttons .wc-block-components-express-payment__event-buttons iframe,
.bm-express-slot__buttons .wc-block-components-express-payment__event-buttons button,
.bm-cart-express__buttons .wc-block-components-express-payment__event-buttons button{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  min-height:55px!important;
  margin:0!important;
  border-radius:17px!important;
  overflow:hidden!important;
}
.bm-express-slot__buttons .wc-block-components-express-payment__title,
.bm-cart-express__buttons .wc-block-components-express-payment__title{display:none!important}
.bm-express-slot__buttons:empty,.bm-cart-express__buttons:empty{display:none!important}
.bm-express-slot__buttons:empty~.bm-express-slot__separator,
.bm-cart-express__buttons:empty~.bm-cart-express__or{display:none!important}
@media(max-width:600px){
  .bm-express-slot__buttons .wc-block-components-express-payment__event-buttons,
  .bm-cart-express__buttons .wc-block-components-express-payment__event-buttons{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
  }
}


/* ==========================================================
   Bulmia 3.25 — WooPayments classic shortcode compatibility
   ========================================================== */
.bm-express-slot,.bm-cart-express{display:block!important;margin:0 0 28px!important}
.bm-express-slot__buttons,.bm-cart-express__buttons{display:block!important;width:100%!important}
.bm-express-slot .wcpay-express-checkout-wrapper,
.bm-cart-express .wcpay-express-checkout-wrapper{display:block!important;width:100%!important;max-width:none!important;margin:0!important}
.bm-express-slot #wcpay-express-checkout-element,
.bm-cart-express #wcpay-express-checkout-element{width:100%!important;max-width:none!important}
.bm-express-slot #wcpay-express-checkout-button-separator,
.bm-cart-express #wcpay-express-checkout-button-separator{margin:18px 0 0!important;color:#7a7a7a!important;text-align:center!important}
.bm-cart-express__or,.bm-express-slot__separator{display:none!important}
@media(max-width:760px){
  .bm-express-slot,.bm-cart-express{margin-bottom:24px!important}
}


/* ==========================================================
   Bulmia 3.26 — Shopify-like checkout hierarchy + tighter express gaps
   ========================================================== */

/* Product: keep the main CTA visually attached to wallet buttons. */
.bm-product__info #wcpay-express-checkout-element,
.bm-product__info .wcpay-express-checkout-wrapper,
.bm-product__info #wcpay-payment-request-wrapper,
.bm-product__info .wcpay-payment-request-wrapper,
.bm-product__info [id*="express-checkout"],
.bm-product__info [class*="express-checkout"]{
  margin-top:9px!important;
}
.bm-product__info #wcpay-express-checkout-button-separator,
.bm-product__info .wcpay-express-checkout-button-separator,
.bm-product__info #wcpay-payment-request-button-separator,
.bm-product__info .wcpay-payment-request-button-separator{
  margin-top:9px!important;
}

/* Cart: keep Express Checkout and Finaliser la commande as one action group. */
.bm-cart-express{margin-top:14px!important;margin-bottom:9px!important}
.bm-cart-express__title{margin-bottom:9px!important}
.bm-cart-checkout{margin-top:0!important}

/* Checkout general rhythm — close to Shopify: light canvas, white controls,
   compact groups, very clear vertical hierarchy. */
@media(max-width:979px){
  body.bm-checkout-shell,.bm-checkout{background:#f5f7fb!important}
  .bm-checkout-brand{height:72px!important;background:#fff!important}
  .bm-checkout-brand img{max-width:132px!important;max-height:50px!important}
  .bm-checkout-summary-toggle{
    min-height:72px!important;
    padding:0 18px!important;
    background:#eef3f9!important;
    border-bottom:1px solid #dbe2ea!important;
    color:#ff4fa3!important;
    font-size:15px!important;
  }
  .bm-checkout-summary-toggle strong{font-size:21px!important}
  .bm-checkout-summary-panel{padding:14px 18px!important;background:#eef3f9!important;border-bottom:1px solid #dbe2ea!important}
  .bm-checkout-inner{width:calc(100% - 32px)!important;padding:22px 0 34px!important}

  .bm-express-slot{margin:0 0 22px!important;text-align:center!important}
  .bm-express-slot__label{margin:0 0 12px!important;color:#777!important;font-size:16px!important;font-weight:400!important}

  .bm-checkout-section{margin:0 0 26px!important}
  .bm-checkout-section h2{font-size:25px!important;line-height:1.15!important;margin:0 0 13px!important;letter-spacing:-.025em!important}
  .bm-checkout-section-head{margin-bottom:13px!important}
  .bm-checkout-login{font-size:14px!important}
  .bm-checkout-secure{margin:-5px 0 13px!important;font-size:14px!important;line-height:1.45!important;color:#777!important}

  .bm-billing-fields .form-row,.bm-checkout .woocommerce-address-fields .form-row{margin-bottom:8px!important}
  .bm-billing-fields .input-text,
  .bm-billing-fields select,
  .bm-checkout .select2-container .select2-selection--single{
    min-height:58px!important;
    border-radius:14px!important;
    border-color:#d7dce2!important;
    font-size:15px!important;
  }
  .bm-billing-fields .input-text{padding:23px 17px 7px!important}
  .bm-billing-fields select{padding:21px 43px 6px 17px!important}
  .bm-billing-fields .form-row label,.bm-checkout .woocommerce-address-fields .form-row label{top:7px!important;left:17px!important;right:17px!important;font-size:11px!important}
  .bm-billing-fields .select2-container .select2-selection--single{height:58px!important;padding:15px 42px 0 17px!important}
  .bm-billing-fields .select2-container--default .select2-selection--single .select2-selection__arrow{height:56px!important;right:10px!important}
  .bm-checkout-checkbox{margin-top:7px!important;font-size:14px!important;gap:10px!important}

  .bm-review-table #shipping_method{gap:8px!important}
  .bm-review-table #shipping_method label{min-height:58px!important;padding:0 16px!important;border-radius:14px!important;font-size:14px!important}

  .bm-payment-box .wc_payment_methods{margin-bottom:16px!important}
  .bm-payment-box .wc_payment_method{margin-bottom:8px!important;border-radius:14px!important;border-color:#d7dce2!important}
  .bm-payment-box .wc_payment_method>label{min-height:56px!important;padding:0 14px!important;font-size:15px!important}
  .bm-payment-box .payment_box{padding:14px!important;background:#fff!important;border-top:1px solid #e2e5e9!important}

  .bm-checkout-total-row{padding:10px 0 16px!important}
  .bm-checkout-total-copy strong,.bm-checkout-total-amount strong{font-size:21px!important}
  .bm-pay-now,#place_order.bm-pay-now{min-height:58px!important;border-radius:999px!important;font-size:17px!important;font-weight:750!important}

  .bm-checkout-trust--mobile{margin-top:28px!important;padding-top:24px!important}
  .bm-checkout-legal{margin-top:24px!important;padding-bottom:12px!important}
}

/* Shopify-style compact coupon control near the total instead of at top. */
.bm-checkout-discount{margin:8px 0 12px!important}
.bm-checkout-discount>summary{
  list-style:none!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  width:100%!important;
  min-height:48px!important;
  padding:0 14px!important;
  border:1px solid #dfe4ea!important;
  border-radius:14px!important;
  background:#fff!important;
  color:#111!important;
  font-size:14px!important;
  font-weight:600!important;
  cursor:pointer!important;
}
.bm-checkout-discount>summary::-webkit-details-marker{display:none!important}
.bm-checkout-discount__lead{display:inline-flex!important;align-items:center!important;gap:10px!important;min-width:0!important}
.bm-checkout-discount__icon{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:18px!important;height:18px!important;line-height:1!important;color:#222!important;transform:none!important;font-size:16px!important;flex:0 0 18px!important}
.bm-checkout-discount__chevron{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:18px!important;height:18px!important;color:#6e737b!important;font-size:18px!important;line-height:1!important;flex:0 0 18px!important}
.bm-checkout-discount[open]>summary{margin-bottom:10px!important}
.bm-checkout-discount[open] .bm-checkout-discount__chevron{font-size:20px!important}
.bm-checkout-discount .bm-checkout-coupon{padding-top:2px!important}
body.bm-checkout-shell .bm-checkout-discount .bm-checkout-coupon{
  margin:0!important;
  padding:0!important;
  border:0!important;
}
body.bm-checkout-shell .bm-checkout-discount .bm-checkout-coupon label{display:none!important}
body.bm-checkout-shell .bm-checkout-discount .bm-coupon-row{grid-template-columns:minmax(0,1fr) 100px!important;gap:8px!important}
body.bm-checkout-shell .bm-checkout-discount .bm-checkout-coupon input,
body.bm-checkout-shell .bm-checkout-discount .bm-checkout-coupon button{height:48px!important}

@media(min-width:980px){
  .bm-express-slot{margin-bottom:22px!important}
  .bm-checkout-section{margin-bottom:26px!important}
  .bm-checkout-discount{margin:2px 0 12px!important}
}

/* Terms sit directly under payment choices, like the Shopify reference. */
.bm-checkout-terms{margin:2px 0 12px!important}
.bm-checkout-terms .woocommerce-terms-and-conditions-wrapper{margin-bottom:0!important}
@media(max-width:979px){
  .bm-checkout-terms{margin:0 0 12px!important}
  .bm-checkout-terms .bm-privacy-reassurance{background:#fff!important;border-color:#e0e4e9!important}
}


/* ==========================================================
   Bulmia 3.27 — mobile-first cart + checkout polish
   ========================================================== */

/* Product: compact action stack on phones. */
@media(max-width:760px){
  body .bm-product .single_add_to_cart_button{margin-bottom:0!important;border-radius:16px!important}
  body .bm-product__info #wcpay-express-checkout-element,
  body .bm-product__info .wcpay-express-checkout-wrapper,
  body .bm-product__info #wcpay-payment-request-wrapper,
  body .bm-product__info .wcpay-payment-request-wrapper,
  body .bm-product__info [id*="express-checkout"],
  body .bm-product__info [class*="express-checkout"]{margin-top:7px!important}
}

/* Cart: clean mobile card layout and compact purchase actions. */
@media(max-width:760px){
  body .bm-cart-page{
    width:100%!important;
    max-width:460px!important;
    margin:0 auto!important;
    padding:18px 16px calc(28px + env(safe-area-inset-bottom))!important;
  }
  body .bm-cart-offer{
    max-width:none!important;
    margin:0 0 20px!important;
    padding:12px 14px!important;
    border-radius:16px!important;
  }
  body .bm-cart-offer p{font-size:14px!important;margin-bottom:8px!important}
  body .bm-cart-heading{align-items:flex-end!important;margin:0 0 16px!important;gap:16px!important}
  body .bm-cart-heading h1{font-size:28px!important;line-height:1!important;letter-spacing:-.02em!important}
  body .bm-cart-heading h1::after{width:34px!important;height:3px!important;margin-top:9px!important}
  body .bm-cart-heading>a{font-size:13px!important;line-height:1.25!important;text-align:right!important}
  body .bm-cart-layout{display:block!important}
  body .bm-cart-list{border-top:1px solid #e5e5e5!important}
  body .bm-cart-item{
    grid-template-columns:88px minmax(0,1fr)!important;
    gap:14px!important;
    padding:16px 0!important;
    align-items:start!important;
  }
  body .bm-cart-item__image{width:88px!important;height:88px!important;border-radius:10px!important;background:#f5f5f5!important}
  body .bm-cart-item__image img{border-radius:10px!important}
  body .bm-cart-item__details{min-width:0!important}
  body .bm-cart-item__name{display:block!important;font-size:15px!important;line-height:1.25!important;margin:0 0 4px!important}
  body .bm-cart-item__unit-price{font-size:13px!important;margin-bottom:3px!important}
  body .bm-cart-item__meta,body .bm-cart-item__meta p,body .bm-cart-item__meta dl{font-size:11px!important;line-height:1.35!important}
  body .bm-cart-item__actions{gap:10px!important;margin-top:9px!important}
  body .bm-cart-item .bm-qty{height:38px!important;border-radius:999px!important}
  body .bm-cart-item .bm-qty__btn{width:36px!important;height:36px!important;font-size:18px!important}
  body .bm-cart-item .bm-qty .quantity .qty{width:42px!important;height:36px!important;font-size:14px!important}
  body .bm-cart-item__remove{width:36px!important;height:36px!important}
  body .bm-cart-item__total{grid-column:2!important;margin-top:8px!important;padding:0!important;font-size:15px!important;text-align:left!important}

  body .bm-cart-summary{
    position:static!important;
    margin:18px 0 0!important;
    padding:18px 16px 16px!important;
    border:1px solid #e2e2e2!important;
    border-radius:18px!important;
    background:#fff!important;
  }
  body .bm-cart-summary h2{
    border:0!important;
    padding:0!important;
    margin:0 0 12px!important;
    font-family:var(--bm-head)!important;
    font-size:21px!important;
    line-height:1.15!important;
  }
  body .bm-cart-coupon-details{margin:0 0 8px!important}
  body .bm-cart-coupon-details>summary{
    list-style:none!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    min-height:44px!important;
    padding:0!important;
    border-top:1px solid #ededed!important;
    border-bottom:1px solid #ededed!important;
    color:#222!important;
    font-size:13px!important;
    font-weight:600!important;
    cursor:pointer!important;
  }
  body .bm-cart-coupon-details>summary::-webkit-details-marker{display:none!important}
  body .bm-cart-coupon-details>summary::after{content:"+";font-size:20px!important;font-weight:400!important;color:#666!important}
  body .bm-cart-coupon-details[open]>summary::after{content:"−"}
  body .bm-cart-coupon-details .bm-cart-coupon{margin:12px 0 6px!important}
  body .bm-cart-coupon-details .bm-cart-coupon label{display:none!important}
  body .bm-cart-coupon-details .bm-coupon-row{grid-template-columns:minmax(0,1fr) 96px!important;gap:8px!important}
  body .bm-cart-coupon-details .bm-coupon-row input,
  body .bm-cart-coupon-details .bm-coupon-row button{height:46px!important;border-radius:12px!important}
  body .bm-cart-summary__line{padding:11px 0!important;font-size:13px!important;border-bottom:1px solid #ededed!important}
  body .bm-cart-summary__total{padding:16px 0 5px!important;font-size:20px!important;line-height:1.2!important}
  body .bm-cart-summary__total strong{font-size:20px!important}
  body .bm-cart-summary__note{margin:0 0 13px!important;font-size:11px!important;line-height:1.4!important}
  body .bm-cart-express{margin:13px 0 7px!important}
  body .bm-cart-express__title{margin:0 0 8px!important;font-size:13px!important;color:#707070!important}
  body .bm-cart-express__buttons button,
  body .bm-cart-express__buttons [role="button"],
  body .bm-cart-express__buttons iframe{min-height:50px!important;border-radius:14px!important}
  body .bm-cart-checkout{
    height:52px!important;
    min-height:52px!important;
    margin:7px 0 0!important;
    border-radius:14px!important;
    font-size:15px!important;
    font-weight:700!important;
  }
  body .bm-cart-delivery{
    margin:16px 0 0!important;
    padding:13px 13px 11px!important;
    border-radius:16px!important;
  }
  body .bm-cart-delivery__top{gap:8px!important;font-size:11.5px!important;line-height:1.45!important}
  body .bm-cart-delivery__bottom{gap:8px 12px!important;margin-top:11px!important;padding-top:10px!important}
  body .bm-cart-delivery__bottom span{font-size:10.5px!important}
}

/* Checkout: final mobile proportions and hierarchy. */
@media(max-width:979px){
  body.bm-checkout-shell{background:#f6f7f9!important}
  body.bm-checkout-shell .bm-checkout{background:#f6f7f9!important}
  body.bm-checkout-shell .bm-checkout-inner{
    width:100%!important;
    max-width:460px!important;
    padding:18px 16px calc(30px + env(safe-area-inset-bottom))!important;
  }
  body.bm-checkout-shell .bm-checkout-summary-toggle{
    min-height:58px!important;
    padding:0 16px!important;
    border-radius:0!important;
    border-left:0!important;
    border-right:0!important;
    background:#eef2f6!important;
    font-size:14px!important;
  }
  body.bm-checkout-shell .bm-checkout-summary-toggle strong{font-size:18px!important}
  body.bm-checkout-shell .bm-checkout-summary-panel{padding:12px 16px!important;background:#eef2f6!important}
  body.bm-checkout-shell .bm-checkout-summary-item{grid-template-columns:50px minmax(0,1fr) auto!important;gap:10px!important;padding:7px 0!important}
  body.bm-checkout-shell .bm-checkout-summary-img{width:50px!important;height:50px!important}

  body.bm-checkout-shell .bm-express-slot{margin:2px 0 22px!important;padding:0!important}
  body.bm-checkout-shell .bm-express-slot__label{margin:0 0 9px!important;font-size:14px!important;color:#777!important}
  body.bm-checkout-shell .bm-express-slot__buttons button,
  body.bm-checkout-shell .bm-express-slot__buttons [role="button"],
  body.bm-checkout-shell .bm-express-slot__buttons iframe{min-height:50px!important;border-radius:14px!important}

  body.bm-checkout-shell .bm-checkout-section{margin:0 0 22px!important}
  body.bm-checkout-shell .bm-checkout-section h2{
    margin:0 0 11px!important;
    font-size:21px!important;
    line-height:1.15!important;
    letter-spacing:-.02em!important;
  }
  body.bm-checkout-shell .bm-checkout-section-head{margin-bottom:11px!important}
  body.bm-checkout-shell .bm-checkout-login{font-size:13px!important}
  body.bm-checkout-shell .bm-checkout-secure{margin:-3px 0 11px!important;font-size:12.5px!important;line-height:1.4!important}

  body.bm-checkout-shell .bm-billing-fields .form-row,
  body.bm-checkout-shell .bm-checkout .woocommerce-address-fields .form-row{margin-bottom:12px!important}
  body.bm-checkout-shell .bm-billing-fields .input-text,
  body.bm-checkout-shell .bm-billing-fields select,
  body.bm-checkout-shell .bm-checkout .select2-container .select2-selection--single{
    min-height:52px!important;
    height:52px!important;
    border-radius:12px!important;
    font-size:14px!important;
  }
  body.bm-checkout-shell .bm-billing-fields .input-text{padding:20px 14px 5px!important}
  body.bm-checkout-shell .bm-billing-fields select{padding:18px 40px 5px 14px!important}
  body.bm-checkout-shell .bm-billing-fields .form-row label,
  body.bm-checkout-shell .bm-checkout .woocommerce-address-fields .form-row label{
    top:6px!important;left:14px!important;right:14px!important;font-size:10px!important;
  }
  body.bm-checkout-shell .bm-billing-fields .select2-container .select2-selection--single{padding:12px 38px 0 14px!important}
  body.bm-checkout-shell .bm-billing-fields .select2-container--default .select2-selection--single .select2-selection__rendered{font-size:14px!important;line-height:28px!important}
  body.bm-checkout-shell .bm-billing-fields .select2-container--default .select2-selection--single .select2-selection__arrow{height:50px!important;right:8px!important}
  body.bm-checkout-shell .bm-delivery-section #billing_country_field{margin-bottom:14px!important}
  body.bm-checkout-shell .bm-delivery-section #billing_first_name_field,
  body.bm-checkout-shell .bm-delivery-section #billing_last_name_field{margin-top:0!important}
  body.bm-checkout-shell .bm-checkout-checkbox{gap:9px!important;margin-top:6px!important;font-size:13px!important;line-height:1.35!important}
  body.bm-checkout-shell .bm-checkout-checkbox input{width:18px!important;height:18px!important;flex-basis:18px!important;border-radius:6px!important}

  body.bm-checkout-shell .bm-review-table #shipping_method{gap:7px!important}
  body.bm-checkout-shell .bm-review-table #shipping_method label{min-height:52px!important;padding:0 14px!important;border-radius:12px!important;font-size:13px!important}

  body.bm-checkout-shell .bm-payment-box .wc_payment_methods{margin:0 0 10px!important}
  body.bm-checkout-shell .bm-payment-box .wc_payment_method{margin:0 0 6px!important;border-radius:12px!important}
  body.bm-checkout-shell .bm-payment-box .wc_payment_method>label{min-height:50px!important;padding:0 12px!important;font-size:13.5px!important}
  body.bm-checkout-shell .bm-payment-box .wc_payment_method>input{margin-left:12px!important}
  body.bm-checkout-shell .bm-payment-box .payment_box{padding:12px!important;font-size:12px!important;background:#fff!important}
  body.bm-checkout-shell .bm-checkout-terms{margin:0 0 10px!important}
  body.bm-checkout-shell .bm-payment-box .woocommerce-terms-and-conditions-wrapper{font-size:11.5px!important;margin-bottom:10px!important}
  body.bm-checkout-shell .bm-privacy-reassurance{padding:9px 10px!important;border-radius:10px!important;font-size:11px!important}

  body.bm-checkout-shell .bm-checkout-discount{margin:8px 0 10px!important}
  body.bm-checkout-shell .bm-checkout-discount>summary{min-height:46px!important;padding:0 13px!important;border-radius:13px!important;font-size:13.5px!important}
  body.bm-checkout-shell .bm-checkout-discount__lead{gap:9px!important}
  body.bm-checkout-shell .bm-checkout-discount__icon{font-size:15px!important;width:16px!important;height:16px!important;flex-basis:16px!important}
  body.bm-checkout-shell .bm-checkout-discount__chevron{font-size:17px!important;width:16px!important;height:16px!important;flex-basis:16px!important}
  body.bm-checkout-shell .bm-checkout-discount .bm-checkout-coupon{padding-top:2px!important}
  body.bm-checkout-shell .bm-checkout-discount .bm-coupon-row{grid-template-columns:minmax(0,1fr) 94px!important;gap:8px!important}
  body.bm-checkout-shell .bm-checkout-discount .bm-checkout-coupon input,
  body.bm-checkout-shell .bm-checkout-discount .bm-checkout-coupon button{height:44px!important;border-radius:12px!important;font-size:13px!important}

  body.bm-checkout-shell .bm-checkout-total-row{padding:8px 0 12px!important;gap:10px!important}
  body.bm-checkout-shell .bm-checkout-total-thumb{width:40px!important;height:40px!important;flex-basis:40px!important;border-radius:9px!important}
  body.bm-checkout-shell .bm-checkout-total-copy strong,
  body.bm-checkout-shell .bm-checkout-total-amount strong{font-size:19px!important}
  body.bm-checkout-shell .bm-checkout-total-copy span{font-size:11.5px!important}
  body.bm-checkout-shell .bm-checkout-currency{font-size:9px!important;padding:3px 7px!important}
  body.bm-checkout-shell .bm-pay-now,
  body.bm-checkout-shell #place_order.bm-pay-now{
    min-height:52px!important;
    height:52px!important;
    border-radius:14px!important;
    font-size:15px!important;
  }
  body.bm-checkout-shell .bm-checkout-trust--mobile{margin-top:22px!important;padding-top:18px!important}
  body.bm-checkout-shell .bm-checkout-trust__brand{font-size:18px!important}
  body.bm-checkout-shell .bm-checkout-trust__score{margin-bottom:12px!important;font-size:11px!important;gap:7px!important}
  body.bm-checkout-shell .bm-checkout-trust__review{padding:12px 13px!important;border-radius:12px!important;font-size:11.5px!important}
  body.bm-checkout-shell .bm-checkout-legal{margin-top:18px!important;gap:7px 14px!important;font-size:10.5px!important}
}


/* ==========================================================
   Bulmia 3.29 — visible coupon savings in checkout summary
   ========================================================== */
.bm-checkout-price-breakdown{
  display:grid;
  gap:0;
  margin:6px 0 4px;
  padding:4px 0 8px;
  border-bottom:1px solid #e4e7eb;
}
.bm-checkout-price-line{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  min-height:34px;
  color:#555;
  font-size:13px;
  line-height:1.3;
}
.bm-checkout-price-line strong{color:#111;font-size:13px;font-weight:600;white-space:nowrap}
.bm-checkout-price-line--discount{color:#15834b}
.bm-checkout-price-line--discount strong{color:#15834b;font-weight:700}
.bm-checkout-price-line--discount small{
  display:inline-block;
  margin-left:5px;
  padding:2px 6px;
  border-radius:6px;
  background:#eef8f2;
  color:#15834b;
  font-size:9px;
  font-weight:750;
  letter-spacing:.03em;
  vertical-align:1px;
}
@media(max-width:979px){
  body.bm-checkout-shell .bm-checkout-price-breakdown{margin:4px 0 2px!important;padding:2px 0 7px!important}
  body.bm-checkout-shell .bm-checkout-price-line{min-height:31px!important;font-size:12.5px!important}
  body.bm-checkout-shell .bm-checkout-price-line strong{font-size:12.5px!important}
  body.bm-checkout-shell .bm-checkout-price-line--discount small{font-size:8.5px!important;padding:2px 5px!important}
}


/* ==========================================================
   Bulmia 3.30 — mobile cart notice + express payment spacing
   ========================================================== */
@media(max-width:760px){
  /* Keep WooCommerce's "Panier mis à jour" notice compact and readable.
     Woo's default icon is absolutely positioned and was overlapping the text
     on iPhone, while the global pink top border made the notice look broken. */
  body .bm-cart-notices{
    width:100%!important;
    max-width:none!important;
    margin:0 0 18px!important;
  }
  body .bm-cart-notices .woocommerce-message{
    position:relative!important;
    display:flex!important;
    align-items:center!important;
    min-height:50px!important;
    margin:0!important;
    padding:12px 14px 12px 44px!important;
    border:1px solid #dfe8e1!important;
    border-top:1px solid #dfe8e1!important;
    border-radius:14px!important;
    outline:0!important;
    box-shadow:none!important;
    background:#f8fbf8!important;
    color:#171717!important;
    font-size:13.5px!important;
    line-height:1.35!important;
    list-style:none!important;
  }
  body .bm-cart-notices .woocommerce-message::before{
    content:"✓"!important;
    position:absolute!important;
    left:14px!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    display:grid!important;
    place-items:center!important;
    width:20px!important;
    height:20px!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:999px!important;
    background:#78a600!important;
    color:#fff!important;
    font-family:Arial,sans-serif!important;
    font-size:12px!important;
    font-weight:700!important;
    line-height:20px!important;
  }
  body .bm-cart-notices .woocommerce-message::after{display:none!important}
  body .bm-cart-notices .woocommerce-message .button{
    float:none!important;
    order:2!important;
    margin:0 0 0 auto!important;
    white-space:nowrap!important;
  }

  /* WooPayments / WooCommerce Blocks can reserve vertical space above the
     actual wallet iframe. Remove only that internal mobile gap so the label
     sits directly above Apple Pay / Google Pay. */
  body .bm-cart-express{margin:8px 0 7px!important}
  body .bm-cart-express__title{margin:0 0 5px!important}
  body .bm-cart-express__buttons,
  body .bm-cart-express__buttons>*,
  body .bm-cart-express__buttons .wp-block-woocommerce-cart-express-payment-block,
  body .bm-cart-express__buttons .wc-block-components-express-payment,
  body .bm-cart-express__buttons .wc-block-components-express-payment__content,
  body .bm-cart-express__buttons .wc-block-components-express-payment__event-buttons,
  body .bm-cart-express__buttons .wcpay-express-checkout-wrapper,
  body .bm-cart-express__buttons #wcpay-express-checkout-element,
  body .bm-cart-express__buttons #wcpay-payment-request-wrapper{
    margin-top:0!important;
    padding-top:0!important;
    min-height:0!important;
  }
  body .bm-cart-express #wcpay-express-checkout-button-separator,
  body .bm-cart-express .wcpay-express-checkout-button-separator,
  body .bm-cart-express #wcpay-payment-request-button-separator,
  body .bm-cart-express .wcpay-payment-request-button-separator,
  body .bm-cart-express [id*="express-checkout-button-separator"],
  body .bm-cart-express [class*="express-checkout-button-separator"]{
    display:none!important;
    height:0!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
  }
  body .bm-cart-express__buttons iframe{
    display:block!important;
    margin-top:0!important;
    padding-top:0!important;
  }
}
