/*
Theme Name: Mobile Max BD
Theme URI: https://example.com/
Author: OpenAI
Description: Responsive Bengali mobile and electronics WooCommerce theme with theme settings panel and Customizer controls.
Version: 2.38
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: mobile-max-bd
*/
:root{--green:#168638;--dark:#14652c;--pale:#f4faef;--line:#e2ebdf;--text:#263329}
*{box-sizing:border-box}body{margin:0;background:#fff;color:var(--text);font-family:Arial,"Noto Sans Bengali",sans-serif;font-size:15px}a{color:inherit;text-decoration:none}button,.button,input[type=submit]{background:var(--green);color:white;border:0;border-radius:5px;padding:10px 14px;cursor:pointer}.site-header{position:sticky;top:0;z-index:5;background:#fff;border-bottom:1px solid var(--line)}.header-inner{max-width:1120px;margin:auto;padding:12px 16px;display:flex;align-items:center;gap:14px;justify-content:space-between}.brand{font-weight:800;color:var(--green);font-size:23px}.header-tools{display:flex;align-items:center;gap:12px}.searchbar{display:flex;gap:6px}.searchbar input{width:180px;padding:9px;border:1px solid var(--line);border-radius:5px}.container{max-width:1120px;margin:auto;padding:18px 16px}.hero{background:linear-gradient(120deg,#e7f7dd,#f7fff2);border-radius:12px;padding:24px;margin:8px 0 22px;display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:155px}.hero h1{margin:0 0 8px;color:var(--dark);font-size:clamp(24px,4vw,38px)}.hero p{margin:0 0 14px}.hero-mark{font-size:68px}.section-head{display:flex;justify-content:space-between;align-items:center;margin:24px 0 12px}.section-head h2{font-size:20px;margin:0}.section-head a{font-size:13px;color:var(--green)}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.product-card{position:relative;border:1px solid var(--line);border-radius:9px;padding:10px;background:#fff;min-width:0}.product-card img{width:100%;height:150px;object-fit:contain;background:#f7fbf4;border-radius:6px}.product-card h3{font-size:14px;line-height:1.45;margin:9px 0 5px;min-height:38px}.price{color:var(--green);font-weight:700;margin:5px 0 10px}.product-card .button{display:block;text-align:center;padding:9px 7px;font-size:13px}.badge-sale{position:absolute;top:16px;left:16px;background:var(--green);color:#fff;border-radius:12px;padding:3px 7px;font-size:11px}.category-row{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.category-tile{background:var(--pale);border:1px solid var(--line);border-radius:9px;text-align:center;padding:14px 5px;color:var(--dark);font-weight:700}.category-tile span{display:block;font-size:25px;margin-bottom:5px}.site-footer{background:#14762d;color:#fff;margin-top:30px;padding:28px 16px}.footer-inner{max-width:1120px;margin:auto;display:grid;grid-template-columns:2fr 1fr 1fr;gap:22px}.site-footer a{color:#fff}.footer-inner h3{margin-top:0}.mobile-nav{display:none}.woocommerce ul.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.woocommerce ul.products:before,.woocommerce ul.products:after{display:none}.woocommerce ul.products li.product{float:none!important;width:auto!important;margin:0!important;border:1px solid var(--line);border-radius:9px;padding:10px}.woocommerce div.product div.images img{border-radius:10px}.woocommerce div.product .product_title{color:var(--dark)}.woocommerce a.button,.woocommerce button.button,.woocommerce #respond input#submit{background:var(--green);color:white}.woocommerce .quantity .qty{min-height:38px;border:1px solid var(--line);border-radius:5px}.floating-whatsapp{position:fixed;right:16px;bottom:78px;z-index:8;background:#19b95b;color:white;width:48px;height:48px;border-radius:50%;display:grid;place-items:center;font-size:24px;box-shadow:0 3px 12px #0002}.notice{background:#f1f8eb;padding:12px;border-radius:7px}
@media(max-width:760px){.header-inner{padding:10px 12px;gap:8px}.brand{font-size:19px}.searchbar input{width:105px}.header-tools{gap:7px}.container{padding:12px}.hero{padding:18px;min-height:130px}.hero-mark{font-size:45px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-card{padding:7px}.product-card img{height:135px}.category-row{grid-template-columns:repeat(3,minmax(0,1fr))}.footer-inner{grid-template-columns:1fr}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid var(--line);z-index:10;justify-content:space-around;padding:8px 4px calc(8px + env(safe-area-inset-bottom));font-size:11px;text-align:center}.mobile-nav a{display:flex;flex-direction:column;gap:2px}.mobile-nav span{font-size:19px}.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.woocommerce div.product div.images,.woocommerce div.product div.summary{float:none;width:100%}}

/* Mobile Max BD product, checkout and thank-you pages */
body.single-product, body.woocommerce-checkout, body.woocommerce-order-received{background:#f2f7f4}
.woocommerce div.product{background:#fff;border:1px solid #e1e9e4;border-radius:16px;padding:16px;margin-bottom:20px}
.woocommerce div.product div.images{width:100%;float:none;margin-bottom:18px}
.woocommerce div.product div.images .flex-control-thumbs{display:flex;gap:8px;margin-top:10px}
.woocommerce div.product div.images .flex-control-thumbs li{width:calc(25% - 6px);float:none}
.woocommerce div.product div.images .flex-control-thumbs img{border:1px solid #dce7e0;border-radius:7px}
.woocommerce div.product div.summary{width:100%;float:none;clear:both}
.woocommerce div.product .product_title{font-size:clamp(25px,5vw,38px);line-height:1.35;color:#20372b}
.woocommerce div.product p.price,.woocommerce div.product span.price{font-size:28px;color:#8d9414;font-weight:800}
.kb-order-now{display:block!important;text-align:center;background:#078f4b!important;color:#fff!important;font-weight:800;font-size:19px;padding:17px!important;border-radius:12px!important;margin:18px 0 12px!important}
.kb-product-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px}
.kb-product-actions a{display:flex;justify-content:center;align-items:center;text-align:center;border:2px solid #168b51;border-radius:12px;padding:13px 5px;font-weight:700;color:#168b51;min-height:62px}
.kb-product-actions a:first-child{background:#087fdb;color:#fff;border-color:#087fdb}
.kb-checkout-wrap{max-width:760px;margin:18px auto;background:#fff;border-radius:14px;padding:clamp(18px,4vw,32px);box-shadow:0 4px 18px #173d2510}
.kb-checkout-wrap h1,.kb-thankyou-wrap h1{font-size:clamp(30px,6vw,44px);margin:0 0 24px;color:#20372b}
.woocommerce-checkout .woocommerce form .form-row{padding:0;margin:0 0 22px}
.woocommerce-checkout .woocommerce form .form-row label{font-size:18px;font-weight:700;margin-bottom:10px;display:block}
.woocommerce-checkout .woocommerce form .input-text,.woocommerce-checkout .woocommerce form select,.woocommerce-checkout .woocommerce form textarea{border:1px solid #d7e2dc;border-radius:12px;padding:17px 15px;font-size:17px;min-height:58px;background:#fff;width:100%}
.woocommerce-checkout .woocommerce form textarea{min-height:125px}
.kb-cod-note{padding:18px;background:#edf8f0;color:#216a43;border-radius:12px;font-size:18px;font-weight:700;margin:20px 0}
.woocommerce-checkout #place_order{width:100%;float:none;background:#078f4b;color:#fff;font-size:19px;font-weight:800;padding:18px;border-radius:12px}
.woocommerce-checkout #order_review_heading{font-size:27px;margin-top:28px}
.woocommerce-checkout #order_review{background:#f7faf8;border-radius:14px;padding:16px}
.kb-thankyou-wrap{max-width:760px;margin:24px auto;background:#fff;border-radius:16px;padding:clamp(22px,5vw,40px);text-align:center;box-shadow:0 4px 18px #173d2510}
.kb-thankyou-icon{width:76px;height:76px;border-radius:50%;display:grid;place-items:center;margin:0 auto 16px;background:#e3f7e9;color:#078f4b;font-size:42px}
.kb-thankyou-wrap .woocommerce-order-overview{padding:16px;background:#f4f8f5;border-radius:12px;display:flex;flex-wrap:wrap;gap:18px;justify-content:center}
.kb-thankyou-wrap .woocommerce-customer-details,.kb-thankyou-wrap .woocommerce-order-details{text-align:left;margin-top:24px}
@media(min-width:760px){.woocommerce div.product{padding:26px}.woocommerce div.product div.images{width:48%;float:left}.woocommerce div.product div.summary{width:48%;float:right;clear:none}.woocommerce div.product:after{content:"";display:block;clear:both}}
@media(max-width:600px){.kb-product-actions{gap:7px}.kb-product-actions a{font-size:13px;min-height:58px}.woocommerce div.product{padding:12px}.kb-checkout-wrap{margin:10px;border-radius:12px}.woocommerce-checkout .woocommerce form .input-text,.woocommerce-checkout .woocommerce form select,.woocommerce-checkout .woocommerce form textarea{font-size:16px}}

/* v1.4: remove duplicate default add-to-cart button on single product; keep four custom actions */
.single-product div.product form.cart .single_add_to_cart_button{display:none!important}
.single-product div.product .kb-product-actions{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:14px}
.single-product div.product .kb-product-actions .kb-order-now{display:flex!important;margin:0!important;font-size:15px!important;padding:13px 5px!important}
.single-product div.product .kb-product-actions .kb-whatsapp{background:#19a957;color:#fff;border-color:#19a957}

/* v1.5 single-product refinements: no zoom, clickable gallery thumbnails, exactly four custom actions */
.single-product .woocommerce-product-gallery__image a{cursor:default}
.single-product .woocommerce-product-gallery__image img{pointer-events:none}
.single-product .woocommerce-product-gallery .flex-control-thumbs img{cursor:pointer;opacity:.78;transition:opacity .15s,border-color .15s}
.single-product .woocommerce-product-gallery .flex-control-thumbs img.flex-active,.single-product .woocommerce-product-gallery .flex-control-thumbs img:hover{opacity:1;border-color:var(--green)}
.single-product div.product form.cart .single_add_to_cart_button{display:none!important}
.single-product div.product .kb-product-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0}
.single-product div.product .kb-product-actions a{min-height:50px;border:0;border-radius:10px;padding:12px 8px;color:#fff;font-weight:700;text-decoration:none}
.single-product div.product .kb-product-actions .kb-call{background:#159b59}
.single-product div.product .kb-product-actions .kb-add-cart{background:#159fcb}
.single-product div.product .kb-product-actions .kb-order-now{background:var(--green)!important}
.single-product div.product .kb-product-actions .kb-whatsapp{background:#19a957}
/* Order Now button for related/recommended product cards */
.woocommerce ul.products li.product a.mmbd-loop-order-now{display:block!important;text-align:center;margin-top:7px;background:var(--green)!important;color:#fff!important;border-radius:6px;padding:10px 8px;font-weight:700;font-size:13px;line-height:1.4}
.woocommerce ul.products li.product a.mmbd-loop-order-now:hover{opacity:.9}


/* v1.7 homepage product cards: Order Now plus compact eye/view button beside Add to Cart */
.home-card-actions{display:grid;grid-template-columns:minmax(0,1fr) 42px;gap:7px;align-items:stretch;margin-top:5px}
.product-card .home-card-actions .home-add-cart{display:flex;align-items:center;justify-content:center;min-width:0;margin:0;padding:9px 5px;font-size:12px;line-height:1.3;overflow-wrap:anywhere}
.product-card .home-card-actions .home-view-product{display:flex;align-items:center;justify-content:center;width:42px;min-height:38px;border:1px solid var(--green);border-radius:6px;color:var(--green);background:#f4faef;font-size:22px;line-height:1}
.product-card .home-card-actions .home-view-product:hover{background:var(--green);color:#fff}
.product-card .home-order-now{display:block;text-align:center;margin-top:8px;padding:10px 6px;font-size:13px;font-weight:800;line-height:1.35;background:#078f4b;color:#fff;border-radius:7px}
.product-card .home-order-now:hover{background:#14652c;color:#fff}

/* v1.8 simplified checkout */
.kb-checkout-wrap .woocommerce-billing-fields>h3,.kb-checkout-wrap .woocommerce-additional-fields>h3{font-size:20px}.woocommerce-checkout .form-row{margin-bottom:14px}.woocommerce-checkout .form-row label{font-weight:700;margin-bottom:6px}.woocommerce-checkout .form-row .input-text,.woocommerce-checkout .form-row select,.woocommerce-checkout .form-row textarea{width:100%;min-height:46px;border:1px solid #d9e3d7;border-radius:8px;padding:11px;background:#fff}.woocommerce-checkout #order_review{border:1px solid #e2ebdf;border-radius:10px;padding:14px}.woocommerce-checkout #place_order{width:100%;min-height:50px;font-size:17px;font-weight:700;border-radius:8px}


/* v1.9: compact single-column checkout with only requested fields */
.woocommerce-checkout .kb-checkout-wrap form.checkout{display:block}
.woocommerce-checkout .kb-checkout-wrap #customer_details,
.woocommerce-checkout .kb-checkout-wrap #order_review{width:100%;float:none}
.woocommerce-checkout .kb-checkout-wrap #customer_details .col-1,
.woocommerce-checkout .kb-checkout-wrap #customer_details .col-2{width:100%;float:none}
.woocommerce-checkout .kb-checkout-wrap #customer_details .col-2{display:none!important}
.woocommerce-checkout .kb-checkout-wrap .woocommerce-billing-fields>h3{display:none}
.woocommerce-checkout .kb-checkout-wrap .woocommerce-additional-fields>h3{font-size:19px;margin:8px 0 10px}
.woocommerce-checkout .kb-checkout-wrap #order_review_heading{font-size:22px;margin:22px 0 12px}
.woocommerce-checkout .kb-checkout-wrap .woocommerce-checkout-review-order-table{width:100%;border-collapse:collapse}
.woocommerce-checkout .kb-checkout-wrap .woocommerce-checkout-review-order-table th,
.woocommerce-checkout .kb-checkout-wrap .woocommerce-checkout-review-order-table td{padding:10px 5px}
.woocommerce-checkout .kb-checkout-wrap .woocommerce-terms-and-conditions-wrapper{font-size:13px}
.woocommerce-checkout .kb-checkout-wrap #place_order{background:#078f4b!important;color:#fff!important}

/* v2.0: ensure checkout layout remains usable with classic shortcode */
.woocommerce-checkout .kb-checkout-wrap form.checkout{display:block!important;max-width:100%;margin:0 auto}
.woocommerce-checkout .kb-checkout-wrap #customer_details{width:100%!important;float:none!important}
.woocommerce-checkout .kb-checkout-wrap #order_review{width:100%!important;float:none!important;clear:both}
.woocommerce-checkout .kb-checkout-wrap .woocommerce-billing-fields__field-wrapper{display:block}
.woocommerce-checkout .kb-checkout-wrap .form-row-first,.woocommerce-checkout .kb-checkout-wrap .form-row-last{width:100%!important;float:none!important}
.woocommerce-checkout .kb-checkout-wrap #billing_country_field{display:none!important}

/* Always-visible custom checkout note box */
.mmbd-checkout-note-box{display:block!important;clear:both;width:100%;margin:18px 0;padding:14px;background:#f6fbf4;border:1px solid #dcebd7;border-radius:10px}.mmbd-checkout-note-box label{display:block;font-weight:700;margin-bottom:8px}.mmbd-checkout-note-box textarea{display:block;width:100%;min-height:100px;padding:12px;border:1px solid #cfdcc9;border-radius:8px;background:#fff;font:inherit;box-sizing:border-box}


/* v2.20: polished WooCommerce cart page, responsive on mobile */
body.woocommerce-cart{background:#f3f7f4}
.woocommerce-cart .woocommerce{max-width:1120px;margin:22px auto 38px;padding:0 16px}
.woocommerce-cart .woocommerce-notices-wrapper{margin-bottom:14px}
.woocommerce-cart .woocommerce-message,.woocommerce-cart .woocommerce-info,.woocommerce-cart .woocommerce-error{border:0;border-radius:12px;box-shadow:0 3px 14px #173d2508;padding:16px 18px;background:#fff}
.woocommerce-cart .woocommerce-message:before,.woocommerce-cart .woocommerce-info:before{color:#168638}
.woocommerce-cart .woocommerce-cart-form{background:#fff;border:1px solid #e1eae3;border-radius:18px;padding:clamp(14px,2.5vw,24px);box-shadow:0 8px 28px #173d2509;overflow:hidden}
.woocommerce-cart .woocommerce-cart-form:before{content:'🛒  আপনার শপিং কার্ট';display:block;font-size:clamp(22px,3vw,30px);font-weight:800;color:#174b2a;margin:0 0 18px}
.woocommerce-cart table.shop_table{border:0;border-collapse:separate;border-spacing:0;width:100%;margin:0;color:#263329}
.woocommerce-cart table.shop_table thead th{background:#f1f8f2;color:#315b3d;font-size:13px;font-weight:800;border:0;padding:14px 10px}
.woocommerce-cart table.shop_table thead th:first-child{border-radius:10px 0 0 10px}.woocommerce-cart table.shop_table thead th:last-child{border-radius:0 10px 10px 0}
.woocommerce-cart table.shop_table td{border:0;border-bottom:1px solid #edf1ed;padding:17px 10px;vertical-align:middle}
.woocommerce-cart table.shop_table tr:last-child td{border-bottom:0}
.woocommerce-cart td.product-remove a.remove{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;background:#fff0f0;color:#c43838!important;border-radius:50%;font-size:20px;line-height:1}
.woocommerce-cart td.product-remove a.remove:hover{background:#c43838;color:#fff!important}
.woocommerce-cart td.product-thumbnail img{width:76px!important;height:76px!important;object-fit:contain;background:#f7faf7;border:1px solid #edf1ed;border-radius:12px;padding:5px}
.woocommerce-cart td.product-name a{font-weight:750;color:#203d2a;line-height:1.5}
.woocommerce-cart td.product-price,.woocommerce-cart td.product-subtotal{font-weight:800;color:#168638;white-space:nowrap}
.woocommerce-cart td.product-quantity .quantity{display:inline-flex;align-items:center}
.woocommerce-cart td.product-quantity .qty{width:70px;min-height:42px;border:1px solid #d8e5db;border-radius:10px;background:#fbfdfb;padding:8px;text-align:center;font-weight:700}
.woocommerce-cart .actions{padding:18px 0 0!important}
.woocommerce-cart .coupon{display:flex;gap:8px;flex-wrap:wrap}
.woocommerce-cart .coupon .input-text{min-width:150px;min-height:44px;border:1px solid #d9e5dc;border-radius:10px;padding:10px 13px}
.woocommerce-cart .button,.woocommerce-cart button.button,.woocommerce-cart a.button{border:0!important;border-radius:10px!important;padding:13px 17px!important;background:#168638!important;color:#fff!important;font-weight:800!important;line-height:1.3!important;transition:transform .15s,background .15s}
.woocommerce-cart .button:hover,.woocommerce-cart button.button:hover,.woocommerce-cart a.button:hover{background:#105f2a!important;color:#fff!important;transform:translateY(-1px)}
.woocommerce-cart .button:disabled{opacity:.5!important}
.woocommerce-cart .cart-collaterals{margin-top:22px}
.woocommerce-cart .cart_totals{float:none!important;width:100%!important;max-width:520px;margin-left:auto;background:#fff;border:1px solid #e1eae3;border-radius:18px;padding:clamp(18px,3vw,26px);box-shadow:0 8px 28px #173d2509}
.woocommerce-cart .cart_totals h2{font-size:24px;color:#174b2a;margin:0 0 18px}
.woocommerce-cart .cart_totals table.shop_table{border-collapse:collapse}
.woocommerce-cart .cart_totals table.shop_table th,.woocommerce-cart .cart_totals table.shop_table td{padding:14px 8px;border-bottom:1px solid #edf1ed;background:transparent}
.woocommerce-cart .cart_totals table.shop_table th{color:#53675a;font-weight:600}
.woocommerce-cart .cart_totals table.shop_table .order-total th,.woocommerce-cart .cart_totals table.shop_table .order-total td{font-size:18px;font-weight:850;color:#14652c;border-bottom:0}
.woocommerce-cart .wc-proceed-to-checkout{padding:12px 0 0}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button{display:block;text-align:center;font-size:17px;padding:17px!important;background:linear-gradient(135deg,#168638,#0e6c2d)!important;box-shadow:0 7px 16px #1686382b}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:after{content:'  →'}
.woocommerce-cart .return-to-shop{text-align:center;margin:25px 0}
.woocommerce-cart .return-to-shop a.button{display:inline-block;padding:15px 22px!important}
.woocommerce-cart .cart-empty{background:#fff;border:1px solid #e1eae3;border-radius:18px;padding:30px 20px;text-align:center;font-size:19px;font-weight:700;color:#315b3d;box-shadow:0 8px 28px #173d2509}
.woocommerce-cart .cart-empty:before{content:'🛍️';display:block;font-size:52px;margin:0 0 12px}
@media(max-width:700px){
 .woocommerce-cart .woocommerce{margin:12px auto 28px;padding:0 10px}
 .woocommerce-cart .woocommerce-cart-form{padding:13px;border-radius:14px}
 .woocommerce-cart .woocommerce-cart-form:before{font-size:23px;margin-bottom:14px}
 .woocommerce-cart table.shop_table_responsive thead{display:none}
 .woocommerce-cart table.shop_table_responsive tr{display:grid;grid-template-columns:32px 62px minmax(0,1fr);gap:7px;align-items:center;padding:12px 0;border-bottom:1px solid #edf1ed}
 .woocommerce-cart table.shop_table_responsive tr:last-child{border-bottom:0}
 .woocommerce-cart table.shop_table_responsive tr td{display:block!important;border:0!important;padding:4px!important;text-align:left!important;min-width:0}
 .woocommerce-cart table.shop_table_responsive tr td:before{display:none!important}
 .woocommerce-cart table.shop_table_responsive td.product-remove{grid-column:1;grid-row:1;align-self:start}
 .woocommerce-cart table.shop_table_responsive td.product-thumbnail{grid-column:2;grid-row:1 / span 2}
 .woocommerce-cart table.shop_table_responsive td.product-thumbnail img{width:60px!important;height:60px!important}
 .woocommerce-cart table.shop_table_responsive td.product-name{grid-column:3;grid-row:1;overflow-wrap:anywhere;font-size:14px}
 .woocommerce-cart table.shop_table_responsive td.product-price{grid-column:3;grid-row:2;font-size:13px;color:#168638}
 .woocommerce-cart table.shop_table_responsive td.product-quantity{grid-column:2 / span 2;grid-row:3;padding-left:4px!important}
 .woocommerce-cart table.shop_table_responsive td.product-subtotal{grid-column:2 / span 2;grid-row:4;font-size:14px;padding-left:4px!important}
 .woocommerce-cart table.shop_table_responsive td.product-subtotal:before{content:'মোট: ';display:inline!important;font-weight:600;color:#53675a}
 .woocommerce-cart table.shop_table_responsive td.actions{grid-column:1 / -1;padding-top:14px!important}
 .woocommerce-cart .actions .coupon{display:grid;grid-template-columns:1fr;gap:8px;margin-bottom:12px}
 .woocommerce-cart .actions .coupon .input-text{width:100%;float:none}
 .woocommerce-cart .actions button[name=update_cart]{width:100%;float:none}
 .woocommerce-cart .cart_totals{max-width:none;border-radius:14px;padding:17px;margin-top:14px}
 .woocommerce-cart .cart_totals h2{font-size:22px}
 .woocommerce-cart .cart_totals table.shop_table th,.woocommerce-cart .cart_totals table.shop_table td{padding:12px 5px}
 .woocommerce-cart .wc-proceed-to-checkout a.checkout-button{font-size:16px}
}

/* v2.22 responsive header logo fix */
.brand{display:flex;align-items:center;gap:8px;min-width:0;flex:0 1 auto;line-height:1.2;overflow:visible}
.brand .site-logo-image{display:block;flex:0 0 auto;width:auto!important;height:auto!important;max-width:190px;max-height:56px;min-width:1px;object-fit:contain;object-position:left center;visibility:visible;opacity:1}
.brand .brand-fallback{font-size:inherit;font-weight:800;color:var(--green);white-space:normal}
.brand .brand-fallback:not([hidden]){display:inline-block}
.header-inner{min-width:0}
.header-tools{flex:0 1 auto;min-width:0}
@media(min-width:761px){.brand .site-logo-image{max-width:190px;max-height:56px}.header-inner{gap:16px}.header-tools{gap:12px}}
@media(max-width:760px){.brand .site-logo-image{max-width:135px;max-height:44px}.header-inner{gap:8px}.header-tools{gap:7px}}

/* v2.24: adjustable header logo and optional brand text */
.brand .site-logo-image{width:auto!important;height:auto!important;object-fit:contain;flex-shrink:0}.brand .brand-name{display:inline-block;white-space:normal}.brand .brand-fallback:not([hidden]){display:inline-block}


/* v2.25: framed header cart icon, responsive and still clickable */
.header-tools .mmbd-header-cart{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:46px;min-height:44px;padding:8px 10px;border:1px solid #d7e7d9;border-radius:12px;background:linear-gradient(145deg,#ffffff,#f1f9f1);color:var(--dark);font-size:23px;line-height:1;box-shadow:0 3px 10px rgba(20,101,44,.08);transition:background .18s,border-color .18s,transform .18s}
.header-tools .mmbd-header-cart:hover,.header-tools .mmbd-header-cart:focus-visible{background:#e9f7ec;border-color:var(--green);transform:translateY(-1px);outline:2px solid transparent}
.header-tools .mmbd-header-cart .cart-count{display:inline-flex;align-items:center;justify-content:center;min-width:19px;height:19px;padding:0 4px;border-radius:999px;background:var(--green);color:#fff;font-size:11px;font-weight:800;line-height:1}
@media(max-width:760px){.header-tools .mmbd-header-cart{min-width:40px;min-height:40px;padding:7px 8px;border-radius:10px;font-size:21px}.header-tools .mmbd-header-cart .cart-count{min-width:17px;height:17px;font-size:10px}}

/* v2.29: true image banner carousel; category tiles removed from homepage */
.mmbd-banner-slider{position:relative;width:100%;overflow:hidden;border-radius:14px;margin:8px 0 24px;background:#eef2f7;aspect-ratio:1200/420;}
.mmbd-banner-track{position:relative;width:100%;height:100%;}
.mmbd-banner-slide{position:absolute;inset:0;display:block;opacity:0;visibility:hidden;transition:opacity .5s ease;}
.mmbd-banner-slide.is-active{opacity:1;visibility:visible;z-index:1;}
.mmbd-banner-slide img{display:block;width:100%;height:100%;object-fit:cover;}
.mmbd-banner-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:3;width:38px;height:38px;border-radius:50%;padding:0;background:rgba(255,255,255,.9);color:#172033;font-size:30px;line-height:1;box-shadow:0 2px 8px #0002;}
.mmbd-banner-arrow.prev{left:12px}.mmbd-banner-arrow.next{right:12px}
.mmbd-banner-dots{position:absolute;bottom:12px;left:0;right:0;display:flex;justify-content:center;gap:7px;z-index:3}
.mmbd-banner-dots button{width:9px;height:9px;min-height:9px;padding:0;border-radius:20px;background:rgba(255,255,255,.65);box-shadow:0 1px 3px #0003}
.mmbd-banner-dots button.active{width:25px;background:#fff}
@media(max-width:760px){.mmbd-banner-slider{aspect-ratio:1200/420;border-radius:9px;margin:6px 0 18px}.mmbd-banner-arrow{width:28px;height:28px;font-size:22px}.mmbd-banner-arrow.prev{left:6px}.mmbd-banner-arrow.next{right:6px}.mmbd-banner-dots{bottom:6px}.mmbd-banner-dots button{width:6px;height:6px;min-height:6px}.mmbd-banner-dots button.active{width:18px}.category-row{display:none!important}}

/* v2.31: expandable all-in-one contact dock */
.mmbd-contact-dock{position:fixed;right:16px;bottom:82px;z-index:999;display:flex;flex-direction:column;align-items:flex-end;gap:10px}
.mmbd-contact-toggle{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;background:#20b85a;color:#fff;font-size:24px;font-weight:700;box-shadow:0 5px 18px #0003;padding:0;border:3px solid #fff}
.mmbd-contact-links{display:none;flex-direction:column;align-items:flex-end;gap:9px}
.mmbd-contact-dock.is-open .mmbd-contact-links{display:flex}
.mmbd-contact-link{display:flex;align-items:center;gap:10px;padding:8px 13px 8px 9px;border-radius:28px;background:#fff;color:#172033;box-shadow:0 3px 14px #0002;border:1px solid #e8eaf0;min-width:132px;font-size:13px}
.mmbd-contact-link span{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;color:#fff;font-size:19px;font-weight:700}
.mmbd-contact-link.wa span{background:#20b85a}.mmbd-contact-link.msg span{background:#087cff}.mmbd-contact-link.call span{background:#159b59}.mmbd-contact-link.imo span{background:#00b7e8}
.mmbd-contact-link b{font-weight:700}.mmbd-contact-toggle:hover{filter:brightness(.95)}
@media(max-width:600px){.mmbd-contact-dock{right:12px;bottom:76px}.mmbd-contact-toggle{width:50px;height:50px}}

/* v2.32: make the existing floating contact button visibly green and labeled */
.mmbd-contact-toggle{cursor:pointer;line-height:1.05;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;background:#20b85a!important;color:#fff!important}
.mmbd-contact-toggle small{font-size:9px;line-height:1;font-weight:700;color:#fff}
.mmbd-contact-toggle span{font-size:23px;line-height:1}
.mmbd-contact-links{position:relative}

/* v2.34: restore floating contact button visibility across all pages */
body .mmbd-contact-dock{display:flex!important;position:fixed!important;right:16px!important;bottom:82px!important;z-index:99999!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important}
body .mmbd-contact-toggle{display:flex!important;visibility:visible!important;opacity:1!important;cursor:pointer!important}
body .mmbd-contact-dock .mmbd-contact-links{display:none;flex-direction:column}
body .mmbd-contact-dock.is-open .mmbd-contact-links{display:flex!important}
@media(max-width:600px){body .mmbd-contact-dock{right:12px!important;bottom:76px!important}}

/* v2.35: compact single contact button that expands to all contact methods */
body .mmbd-contact-dock{position:fixed!important;right:14px!important;bottom:88px!important;z-index:999999!important;display:flex!important;flex-direction:column!important;align-items:flex-end!important;gap:10px!important;visibility:visible!important;opacity:1!important}
body .mmbd-contact-toggle{width:52px!important;height:52px!important;min-width:52px!important;padding:0!important;border:2px solid #fff!important;border-radius:50%!important;background:#20b85a!important;color:#fff!important;box-shadow:0 4px 16px rgba(0,0,0,.28)!important;display:flex!important;align-items:center!important;justify-content:center!important;flex-direction:column!important;cursor:pointer!important;line-height:1!important}
body .mmbd-contact-toggle span{font-size:25px!important;line-height:1!important}
body .mmbd-contact-toggle small{font-size:8px!important;line-height:1.1!important;margin-top:2px!important;color:#fff!important}
body .mmbd-contact-links{display:none!important;flex-direction:column!important;align-items:flex-end!important;gap:8px!important}
body .mmbd-contact-dock.is-open .mmbd-contact-links{display:flex!important}
body .mmbd-contact-link{min-width:145px!important;padding:8px 13px 8px 9px!important;border-radius:28px!important;background:#fff!important;color:#172033!important;box-shadow:0 3px 14px rgba(0,0,0,.18)!important}
@media(max-width:600px){body .mmbd-contact-dock{right:10px!important;bottom:78px!important}body .mmbd-contact-toggle{width:49px!important;height:49px!important;min-width:49px!important}}


/* v2.37: single product actions — full-width order button first, three compact buttons below */
.single-product div.product .kb-product-actions{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:8px!important;
  width:100%;
  margin:14px 0!important;
}
.single-product div.product .kb-product-actions .kb-order-now{
  grid-column:1 / -1!important;
  grid-row:1!important;
  display:flex!important;
  align-items:center;
  justify-content:center;
  width:100%!important;
  min-height:60px!important;
  margin:0!important;
  padding:16px 10px!important;
  font-size:20px!important;
  line-height:1.35!important;
  border-radius:10px!important;
  order:-1;
}
.single-product div.product .kb-product-actions .kb-call,
.single-product div.product .kb-product-actions .kb-add-cart,
.single-product div.product .kb-product-actions .kb-whatsapp{
  grid-row:2!important;
  grid-column:auto!important;
  display:flex!important;
  align-items:center;
  justify-content:center;
  width:100%!important;
  min-width:0!important;
  min-height:42px!important;
  margin:0!important;
  padding:9px 4px!important;
  font-size:12px!important;
  line-height:1.25!important;
  text-align:center;
  white-space:normal;
  overflow-wrap:anywhere;
  border-radius:8px!important;
}
@media(max-width:420px){
 .single-product div.product .kb-product-actions{gap:6px!important}
 .single-product div.product .kb-product-actions .kb-order-now{min-height:56px!important;font-size:18px!important}
 .single-product div.product .kb-product-actions .kb-call,
 .single-product div.product .kb-product-actions .kb-add-cart,
 .single-product div.product .kb-product-actions .kb-whatsapp{font-size:11px!important;padding:8px 2px!important;min-height:40px!important}
}


/* v2.38: force the single-product button layout on mobile, overriding older mobile rules */
@media screen and (max-width: 767px){
 body.single-product div.product .kb-product-actions{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  grid-template-rows:auto auto!important;
  gap:6px!important;
  width:100%!important;
  margin:14px 0!important;
 }
 body.single-product div.product .kb-product-actions > .kb-order-now{
  grid-column:1 / 4!important; grid-row:1!important;
  width:100%!important; min-width:0!important; min-height:56px!important;
  margin:0!important; padding:14px 8px!important; font-size:18px!important;
  display:flex!important; align-items:center!important; justify-content:center!important;
  order:-1!important; white-space:normal!important; box-sizing:border-box!important;
 }
 body.single-product div.product .kb-product-actions > .kb-call{grid-column:1!important;grid-row:2!important}
 body.single-product div.product .kb-product-actions > .kb-add-cart{grid-column:2!important;grid-row:2!important}
 body.single-product div.product .kb-product-actions > .kb-whatsapp{grid-column:3!important;grid-row:2!important}
 body.single-product div.product .kb-product-actions > .kb-call,
 body.single-product div.product .kb-product-actions > .kb-add-cart,
 body.single-product div.product .kb-product-actions > .kb-whatsapp{
  display:flex!important; align-items:center!important; justify-content:center!important;
  width:100%!important; min-width:0!important; min-height:42px!important;
  margin:0!important; padding:7px 2px!important; font-size:clamp(9px,2.7vw,12px)!important;
  line-height:1.2!important; text-align:center!important; white-space:normal!important;
  overflow-wrap:anywhere!important; word-break:normal!important; box-sizing:border-box!important;
 }
}
