/*
Theme Name: MAKHA BD
Theme URI: https://www.makhabd.com/
Author: MAKHA BD
Description: Custom responsive WooCommerce theme for MAKHA BD.
Version: 1.0.25
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: makha-bd
*/
@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@300;400;500;600;700&display=swap');

:root{--blue:#087fc1;--blue2:#05679f;--purple:#7046bd;--green:#159653;--ink:#202733;--muted:#6b7280;--line:#e4eaf0;--bg:#f5f8fb}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:system-ui,-apple-system,"Noto Sans Bengali",sans-serif;line-height:1.55}a{color:var(--blue);text-decoration:none}img{max-width:100%;height:auto}.makha-container{width:min(1280px,calc(100% - 28px));margin:auto}
.makha-topbar{background:var(--blue2);color:white;padding:6px 0;font-size:13px}.makha-topbar .makha-container{display:flex;justify-content:space-between;gap:10px}
.makha-header{background:#fff;box-shadow:0 2px 14px #0000000c;position:relative;z-index:20}.makha-header-main{display:grid;grid-template-columns:auto minmax(160px,1fr) auto auto;align-items:center;gap:18px;padding:14px 0}.makha-brand{font-size:25px;font-weight:850;color:var(--blue2);white-space:nowrap}.makha-brand img{max-height:52px;width:auto}
.makha-search{display:flex;border:1px solid var(--line);border-radius:99px;overflow:hidden;background:#f8fafc}.makha-search input{width:100%;min-width:0;border:0;background:transparent;padding:12px 16px;outline:0}.makha-search button{border:0;background:var(--blue);color:#fff;padding:0 20px}.makha-language{min-width:105px;max-width:150px;font-size:12px}.makha-language select{max-width:100%;border:1px solid var(--line);border-radius:7px;padding:5px;background:#fff}.makha-header-actions{display:flex;gap:12px;font-weight:650}.makha-header-actions a{color:var(--ink)}
.makha-nav{background:var(--blue)}.makha-nav ul{display:flex;list-style:none;margin:0;padding:0}.makha-nav a{display:block;padding:12px 18px;color:#fff;font-weight:650}.makha-nav a:hover{background:var(--blue2)}
.makha-content{padding:24px 0 90px;min-height:55vh}.makha-hero{background:linear-gradient(120deg,#087fc1,#4b9ed0 58%,#7046bd);color:#fff;border-radius:20px;padding:clamp(28px,5vw,64px);margin-bottom:26px;min-height:210px;display:flex;align-items:center;background-size:cover;background-position:center}.makha-hero h1{font-size:clamp(27px,4vw,44px);line-height:1.2;margin:0 0 10px;color:#fff}.makha-hero p{font-size:17px;max-width:650px;margin:0 0 18px}
.makha-button,.button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:10px;padding:10px 15px;background:var(--purple);color:#fff!important;font-weight:700;cursor:pointer}.makha-button-green{background:var(--green)}
.makha-section-title{font-size:24px;margin:22px 0 15px}.makha-category-notice{background:#eaf7ef;border:1px solid #b8e4c8;border-left:5px solid var(--green);border-radius:12px;padding:14px 17px;margin:0 0 20px;color:#14532d;font-weight:650}
.woocommerce ul.products,.woocommerce-page ul.products{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;margin:0!important}.woocommerce ul.products:before,.woocommerce ul.products:after{display:none!important}.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{float:none!important;width:auto!important;margin:0!important;background:#fff;border:1px solid var(--line);border-radius:14px;padding:12px!important;box-shadow:0 5px 22px #162d4610;display:flex;flex-direction:column;min-width:0}.woocommerce ul.products li.product a img{border-radius:10px;margin:0 0 10px;aspect-ratio:1;object-fit:contain}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:14px;line-height:1.4;color:var(--ink);padding:0;margin:6px 0;min-height:40px}.woocommerce ul.products li.product .price{color:var(--blue2);font-weight:800;margin:5px 0 10px}.woocommerce span.onsale{background:var(--purple)}.makha-product-meta{display:flex;justify-content:space-between;gap:5px;flex-wrap:wrap;font-size:11px;margin:0 0 7px;color:var(--muted)}.makha-product-brand{font-weight:700;color:#475467}.makha-stock.is-in{color:#12804a}.makha-stock.is-out{color:#b42318}
.makha-product-actions{display:grid;gap:7px;margin-top:auto}.makha-product-actions .button{width:100%;font-size:12px;padding:9px 6px}.makha-product-actions .makha-buy-now,.makha-product-buy-now{background:var(--green)!important}
.makha-footer{background:#102d43;color:#e7f1f8;padding:35px 0 80px;margin-top:30px}.makha-footer a{color:#fff}.makha-footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:25px}.makha-social{display:flex;gap:10px;flex-wrap:wrap}.makha-social a{background:#ffffff20;padding:8px 12px;border-radius:9px}
.makha-mobile-nav{display:none}.makha-page-card,.woocommerce div.product{background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px}.woocommerce div.product .product_title{font-size:clamp(22px,3vw,32px)}.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--blue2);font-weight:800}.woocommerce div.product form.cart .single_add_to_cart_button{background:var(--purple)}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select{border:1px solid var(--line);border-radius:8px;padding:11px}.woocommerce-checkout #payment{border-radius:12px}
.makha-checkout-submit{position:fixed;bottom:0;left:0;right:0;z-index:99;background:#fff;padding:10px 14px calc(10px + env(safe-area-inset-bottom));box-shadow:0 -4px 18px #0002;display:none}.makha-checkout-submit button{width:100%;background:var(--green);font-size:16px}
@media(max-width:900px){.makha-header-main{grid-template-columns:1fr auto}.makha-language{grid-column:1/-1;grid-row:3;max-width:100%}.woocommerce ul.products,.woocommerce-page ul.products{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.makha-header-main{grid-template-columns:1fr auto;gap:10px}.makha-search{grid-column:1/-1;grid-row:2}.makha-nav{display:none}.makha-footer-grid{grid-template-columns:1fr 1fr}.makha-mobile-nav{display:grid;grid-template-columns:repeat(4,1fr);position:fixed;bottom:0;left:0;right:0;z-index:100;background:#fff;border-top:1px solid var(--line);padding:7px 5px calc(7px + env(safe-area-inset-bottom));box-shadow:0 -3px 15px #0001}.makha-mobile-nav a{display:flex;flex-direction:column;align-items:center;color:#344054;font-size:11px;font-weight:700}.makha-mobile-nav span{font-size:20px}.woocommerce-checkout .makha-checkout-submit{display:block}.woocommerce-checkout form.checkout{padding-bottom:70px}}
@media(max-width:420px){.makha-container{width:calc(100% - 18px)}.makha-brand{font-size:20px}.woocommerce ul.products,.woocommerce-page ul.products{gap:7px}.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{padding:7px!important}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:12px;min-height:34px}.woocommerce ul.products li.product .price{font-size:12px}.makha-product-actions .button{font-size:11px;padding:8px 3px;min-height:40px}.makha-footer-grid{grid-template-columns:1fr}}

/* Sticky checkout action is inserted only when WooCommerce renders its real submit button. */
.makha-checkout-submit{display:none}
@media(max-width:900px){body.woocommerce-checkout.makha-sticky-checkout-ready .makha-checkout-submit{display:block;bottom:58px}}


/* Customer account dashboard: responsive summary cards and order history. */
.woocommerce-account .makha-account-summary{margin:22px 0;padding:18px;background:#fff;border:1px solid var(--line);border-radius:16px}
.makha-account-summary h2{margin:0 0 14px;color:var(--ink);font-size:22px}
.makha-account-summary-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 22px}
.makha-account-summary-card{display:flex;flex-direction:column;gap:5px;padding:14px;border:1px solid var(--line);border-radius:12px;background:#f8fbfd}
.makha-account-summary-card span{font-size:13px;color:var(--muted)}
.makha-account-summary-card strong{font-size:21px;color:var(--blue2);overflow-wrap:anywhere}
.makha-account-orders-wrap{max-width:100%;overflow-x:auto}
.makha-account-orders{min-width:620px}
.makha-account-summary a.button{white-space:nowrap}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #f4b400;outline-offset:2px}
@media(max-width:600px){.makha-account-summary-cards{grid-template-columns:1fr 1fr}.makha-account-summary-card:last-child{grid-column:1/-1}.woocommerce-account .makha-account-summary{padding:13px}.makha-account-summary-card strong{font-size:18px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* Split COD delivery-fee prepayment notices and gateway description. */
.woocommerce-checkout .woocommerce-info,.woocommerce-checkout .woocommerce-error{border-top-color:var(--blue)}
.woocommerce-checkout #payment .payment_method_makha_cod_prepaid label{font-weight:800;color:var(--blue2)}
.woocommerce-checkout #payment .payment_method_makha_cod_prepaid .payment_box{background:#eaf7ff;border-radius:10px;color:#16445f}
.woocommerce-order-received .woocommerce-order-overview{border-top:3px solid var(--blue)}


/* MAKHA BD modern mobile storefront refresh (v1.0.5). */
.makha-topbar{background:#0876d1;padding:8px 0;font-size:13px}.makha-topbar .makha-container{align-items:center}
.makha-header{background:#fff}.makha-header-main{grid-template-columns:1fr auto;gap:12px;padding:15px 0 12px}
.makha-brand{display:flex;align-items:center;gap:8px;font-size:clamp(21px,3vw,30px);letter-spacing:-.5px;color:#0869b7}.makha-brand-mark{font-size:34px;line-height:1}
.makha-brand .custom-logo{max-height:54px;width:auto}
.makha-header-actions{align-items:center;gap:clamp(8px,2vw,22px)}.makha-header-actions a{font-size:clamp(12px,1.5vw,17px);font-weight:800;white-space:nowrap;color:#172033}
.makha-search{grid-column:1/-1;grid-row:2;border:2px solid #dceaff;background:#f8fbff;min-height:54px;box-shadow:0 3px 10px #0b67b50b}
.makha-search-icon{align-self:center;padding-left:15px;font-size:27px;color:#526071}.makha-search input{font-size:16px;padding:12px}.makha-search button{min-width:105px;background:#0876d1;font-size:16px;font-weight:800}
.makha-language{grid-column:1/-1;grid-row:3;max-width:100%;min-height:0}.makha-category-wrap{background:#fff;padding:0 0 12px}
.makha-category-ribbon{border:1px solid #d9e9ff;border-radius:20px;background:linear-gradient(180deg,#f8fbff,#edf5ff);box-shadow:0 5px 15px #0b67b510;overflow:hidden}
.makha-category-track{display:flex;align-items:stretch;gap:0;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;padding:7px 8px 9px;scroll-snap-type:x proximity}.makha-category-track::-webkit-scrollbar{display:none}
.makha-category-item{position:relative;flex:0 0 auto;min-width:92px;max-width:140px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:3px;padding:6px 10px;color:#172033;font-size:13px;text-align:center;scroll-snap-align:start}
.makha-category-item span{font-size:27px;line-height:1.2}.makha-category-item b{font-weight:800;white-space:nowrap}.makha-category-item:hover,.makha-category-item:focus-visible{color:#0876d1;background:#e5f1ff;border-radius:12px}
.makha-category-all{color:#0876d1}.makha-category-all:after{content:"";position:absolute;bottom:-9px;left:10px;right:10px;height:4px;border-radius:9px;background:#0876d1}
.makha-category-more{flex:0 0 auto;align-self:center;display:flex;flex-direction:column;justify-content:center;align-items:center;min-width:75px;min-height:64px;margin-left:5px;border-radius:18px;background:#0876d1;color:#fff;font-weight:800;text-align:center;padding:7px}
.makha-nav{background:#0876d1}.makha-nav a{padding:11px 17px}
.makha-content{padding:22px 0 110px;background:linear-gradient(180deg,#f5faff 0,#fff 260px)}
.makha-hero{position:relative;overflow:hidden;min-height:300px;border-radius:22px;background-position:center;background-size:cover;box-shadow:0 12px 28px #0876d126;padding:clamp(25px,5vw,52px)}
.makha-hero h1{font-weight:900;font-size:clamp(30px,5vw,48px)}.makha-hero p{font-weight:650;font-size:clamp(16px,2.3vw,21px);line-height:1.6}.makha-hero .makha-button{min-height:52px;border-radius:17px;padding:12px 23px;font-size:17px;box-shadow:0 6px 14px #078a4933}
.makha-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:30px 0 15px}.makha-section-heading .makha-section-title{margin:0;background:#0876d1;color:#fff;border-radius:0 20px 20px 0;padding:10px 22px;font-size:clamp(20px,3vw,28px)}.makha-see-all{background:#edf5ff;border:1px solid #d8e9ff;color:#0869b7;padding:11px 17px;border-radius:18px;font-weight:850;white-space:nowrap}
.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{border:1px solid #e4effb;border-radius:20px;padding:12px!important;box-shadow:0 7px 20px #0c4e8512;transition:transform .18s ease,box-shadow .18s ease}.woocommerce ul.products li.product:hover{transform:translateY(-3px);box-shadow:0 12px 25px #0c4e8520}
.woocommerce ul.products li.product a img{aspect-ratio:1/1.03;background:#fff;object-fit:contain;border-radius:14px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:clamp(13px,1.5vw,17px);font-weight:850;min-height:40px}.woocommerce ul.products li.product .price{font-size:clamp(15px,1.7vw,20px);font-weight:900}
.woocommerce ul.products li.product .price del{font-size:.78em;color:#98a2b3;opacity:1}.woocommerce ul.products li.product .price ins{text-decoration:none}
.woocommerce span.onsale{min-width:52px;min-height:52px;border-radius:50%;background:#ef3948;padding:7px;font-weight:900;line-height:1.25;display:flex;align-items:center;justify-content:center}
.makha-product-actions{gap:7px}.makha-product-actions .button{min-height:42px;border-radius:12px;font-size:clamp(11px,1.3vw,15px);font-weight:850}.makha-product-actions .add_to_cart_button{background:#7042c7!important}.makha-product-actions .makha-buy-now{background:#07994d!important}.makha-product-meta{font-size:12px}.makha-stock.is-in{background:#e8fff4;border-radius:20px;padding:2px 7px;font-weight:800}
.makha-mobile-nav{background:linear-gradient(100deg,#0876d1,#0788e8);border:2px solid #39c8ff;border-radius:34px 34px 0 0;padding:9px 6px calc(9px + env(safe-area-inset-bottom));box-shadow:0 -6px 22px #0876d133}.makha-mobile-nav a{color:#fff;font-size:12px}.makha-mobile-nav span{font-size:23px}
@media(max-width:900px){.makha-nav{display:none}.makha-header-main{grid-template-columns:minmax(0,1fr) auto}.makha-language{grid-column:1/-1;grid-row:3}.makha-category-wrap{display:block}.makha-category-item{min-width:90px}.makha-content{padding-top:16px}.makha-hero{min-height:250px;margin-bottom:24px}.makha-mobile-nav{display:grid}}
@media(max-width:600px){.makha-topbar{font-size:12px}.makha-topbar-url{display:none}.makha-header-main{padding:12px 0 10px;gap:9px}.makha-brand{font-size:22px}.makha-brand-mark{font-size:29px}.makha-header-actions{gap:9px}.makha-header-actions a{font-size:12px}.makha-search{min-height:48px}.makha-search button{min-width:78px;padding:0 12px}.makha-category-wrap{padding-bottom:9px}.makha-category-ribbon{border-radius:17px}.makha-category-item{min-width:82px;padding:5px 8px;font-size:12px}.makha-category-item span{font-size:25px}.makha-category-more{min-width:65px;min-height:58px;font-size:12px}.makha-hero{min-height:225px;padding:24px 20px;border-radius:19px}.makha-hero h1{font-size:29px}.makha-hero p{font-size:15px;max-width:90%}.makha-hero .makha-button{font-size:14px;min-height:46px;padding:9px 15px}.makha-section-heading{margin:23px 0 12px}.makha-section-heading .makha-section-title{font-size:19px;padding:9px 14px}.makha-see-all{font-size:12px;padding:9px 11px}.woocommerce ul.products,.woocommerce-page ul.products{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{padding:7px!important;border-radius:15px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:12px;min-height:34px}.woocommerce ul.products li.product .price{font-size:13px}.woocommerce span.onsale{min-width:42px;min-height:42px;font-size:10px;top:7px;left:7px}.makha-product-actions .button{font-size:10px;min-height:39px;padding:7px 3px;border-radius:10px}.makha-product-meta{font-size:10px}}
@media(max-width:370px){.makha-header-actions a{font-size:11px}.makha-category-item{min-width:76px}.makha-section-heading .makha-section-title{font-size:17px}.makha-see-all{font-size:11px;padding:8px}.woocommerce ul.products,.woocommerce-page ul.products{gap:6px}.makha-product-actions .button{font-size:9px}}

.makha-hero-reference{padding:0;min-height:0;aspect-ratio:774/397;background-position:center;background-size:100% 100%;}.makha-hero-reference-link{display:block;width:100%;height:100%;min-height:inherit;aspect-ratio:774/397;}
@media(max-width:600px){.makha-hero-reference{aspect-ratio:774/397;min-height:0;padding:0}.makha-hero-reference-link{min-height:0}}

/* v1.0.6: brand social icons and business contact details */
.makha-social-icons{display:flex;align-items:center;gap:11px;margin-top:16px}
.makha-social-icon{width:42px;height:42px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:#0879cf;color:#fff!important;box-shadow:0 3px 10px #001b3326;transition:transform .18s ease,opacity .18s ease}
.makha-social-icon:hover,.makha-social-icon:focus-visible{transform:translateY(-3px);opacity:.9}
.makha-social-icon svg{width:21px;height:21px;display:block}
.makha-social-youtube{background:#e62117}.makha-social-tiktok{background:#111}.makha-social-whatsapp{background:#20b866}.makha-social-instagram{background:linear-gradient(135deg,#6b48c8,#df347b,#f2a23a)}
.makha-contact p{display:flex;align-items:flex-start;gap:8px;line-height:1.7}.makha-contact a{overflow-wrap:anywhere}.makha-footer-bottom{border-top:1px solid #ffffff24;margin-top:25px;padding-top:16px;font-size:13px}
@media(max-width:900px){.makha-social-icon{width:38px;height:38px}.makha-footer-bottom{margin-bottom:8px}}

/* v1.0.7: compact product actions, visible desktop category navigation and social links in header. */
.makha-topbar-inner{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}
.makha-topbar-contact{display:flex;align-items:center;justify-content:flex-end;gap:14px;flex-wrap:wrap}
.makha-topbar-contact>a{color:#fff;font-weight:800;white-space:nowrap}
.makha-social-header{display:flex;align-items:center;gap:7px;margin:0}
.makha-social-header .makha-social-icon{width:28px;height:28px;box-shadow:none}
.makha-social-header .makha-social-icon svg{width:15px;height:15px}
.makha-category-wrap{display:block}
.makha-category-track{justify-content:flex-start}
.makha-nav{display:block}
.makha-nav .makha-container>div>ul,.makha-nav .makha-container>ul{display:flex;align-items:center;gap:2px;flex-wrap:wrap}
.makha-nav a{font-size:14px;white-space:nowrap}
.makha-product-actions{display:flex;flex-direction:column;gap:5px;margin-top:auto}
.makha-product-actions .button{display:flex;width:100%;min-height:34px;min-width:0;padding:6px 5px;border-radius:9px;font-size:clamp(9px,1.05vw,12px);line-height:1.15;white-space:normal;overflow-wrap:anywhere;text-align:center}
.makha-product-actions .add_to_cart_button{background:#7042c7!important}
.makha-product-actions .makha-buy-now{background:#07994d!important}
.makha-checkout-submit{display:none;position:fixed;left:0;right:0;bottom:0;z-index:99;background:#fff;padding:8px 12px calc(8px + env(safe-area-inset-bottom));box-shadow:0 -4px 18px #0002}
.makha-checkout-submit button{width:100%;min-height:42px;background:#07994d!important;color:#fff!important;font-size:15px;font-weight:900}
@media(max-width:900px){
 .makha-nav{display:none}
 .makha-category-wrap{display:block}
 .makha-topbar-inner{justify-content:center}
 .makha-topbar-contact{gap:8px}
 .makha-social-header .makha-social-icon{width:25px;height:25px}
 .makha-product-actions .button{font-size:clamp(9px,1.2vw,11px);min-height:33px;padding:5px 3px}
 body.woocommerce-checkout.makha-sticky-checkout-ready .makha-checkout-submit{display:block;bottom:58px}
 .woocommerce-checkout form.checkout{padding-bottom:115px}
}
@media(max-width:600px){
 .makha-topbar-message{font-size:11px}
 .makha-topbar-url{display:none}
 .makha-topbar-contact>a{font-size:11px}
 .makha-social-header{gap:5px}
 .makha-social-header .makha-social-icon{width:23px;height:23px}
 .makha-social-header .makha-social-icon svg{width:13px;height:13px}
 .makha-product-actions .button{font-size:9px;min-height:32px;padding:5px 2px;border-radius:8px}
}
@media(min-width:901px){
 .makha-category-item{min-width:100px}
 .makha-category-more{min-width:72px}
 .makha-nav .makha-container{max-width:1240px}
}


/* v1.0.9: remove duplicate lower sky-blue primary category/menu bar; retain icon category ribbon below search. */
.makha-nav{display:none!important}

/* v1.0.9 maintenance: brand label and reliable mobile checkout action above bottom navigation. */
.makha-single-brand{margin:7px 0 12px;color:var(--muted);font-size:14px}.makha-single-brand strong{color:var(--ink)}
@media(max-width:900px){body.woocommerce-checkout.makha-sticky-checkout-ready .makha-checkout-submit{display:block;bottom:calc(58px + env(safe-area-inset-bottom));padding-bottom:10px}body.woocommerce-checkout form.checkout,body.woocommerce-checkout .wc-block-checkout__form{padding-bottom:calc(138px + env(safe-area-inset-bottom))}}

.makha-header-cart{display:inline-flex;align-items:center;gap:4px}.makha-cart-count{display:inline-flex;min-width:20px;height:20px;padding:0 5px;align-items:center;justify-content:center;border-radius:99px;background:var(--green);color:#fff;font-size:11px;line-height:1}
@media(max-width:600px){.makha-header-cart{gap:2px}.makha-cart-count{min-width:17px;height:17px;font-size:10px}}

/* v1.0.10 checkout recovery: preserve real WooCommerce validation state and avoid overlap. */
body.woocommerce-checkout.makha-sticky-checkout-ready .makha-checkout-submit{display:block}
.woocommerce-checkout .makha-checkout-submit button:disabled{opacity:.55;cursor:not-allowed}
@media(min-width:901px){.woocommerce-checkout .makha-checkout-submit{display:none!important}}


/* v1.0.12 — checkout visual refresh aligned with the approved MAKHA BD mockup. */
body.woocommerce-checkout{background:#f4f7fb}
body.woocommerce-checkout .makha-content{padding-top:18px}
body.woocommerce-checkout .woocommerce{max-width:920px;margin:0 auto}
body.woocommerce-checkout .wp-block-woocommerce-checkout,
body.woocommerce-checkout .wc-block-checkout{background:transparent}
body.woocommerce-checkout .wc-block-components-checkout-step,
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .woocommerce-billing-fields,
body.woocommerce-checkout .woocommerce-shipping-fields,
body.woocommerce-checkout .woocommerce-additional-fields,
body.woocommerce-checkout .woocommerce-checkout-review-order,
body.woocommerce-checkout #order_review,
body.woocommerce-checkout form.checkout{background:#fff;border:1px solid #e3eaf2;border-radius:16px;box-shadow:0 6px 24px #16324b0b;padding:18px;margin:0 0 16px}
body.woocommerce-checkout .wc-block-components-title,.woocommerce-checkout h3,.woocommerce-checkout h2{color:#15283b;font-weight:800}
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-combobox .components-combobox-control__input,
body.woocommerce-checkout .wc-block-components-textarea,
body.woocommerce-checkout .input-text,
body.woocommerce-checkout select{border:1px solid #d8e2ec!important;border-radius:10px!important;min-height:46px;background:#fff}
body.woocommerce-checkout .wc-block-components-button:not(.is-link),
body.woocommerce-checkout #place_order{background:#159653!important;border-radius:11px!important;color:#fff!important;font-weight:800;min-height:48px}
body.woocommerce-checkout .wc-block-components-radio-control-accordion-option,
body.woocommerce-checkout .wc-block-components-radio-control__option{border:1px solid #e0e7ef;border-radius:11px;margin:7px 0;padding:12px}
body.woocommerce-checkout .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control__option--checked,
body.woocommerce-checkout .wc-block-components-radio-control__option-checked{border-color:#7046bd;background:#faf7ff}
body.woocommerce-checkout .payment_box{border-radius:10px;background:#f4f8fc}
body.woocommerce-checkout .makha-copy-wallet{display:inline-flex;align-items:center;justify-content:center;margin-left:8px;padding:6px 12px;border:0;border-radius:8px;background:#7046bd;color:#fff;font-weight:750;cursor:pointer}
body.woocommerce-checkout .makha-copy-wallet:focus-visible{outline:3px solid #f4b400;outline-offset:2px}
body.woocommerce-checkout .makha-copy-status{display:inline-block;margin-left:8px;color:#13834b;font-size:12px;font-weight:700}
@media(max-width:700px){body.woocommerce-checkout .wc-block-components-checkout-step,body.woocommerce-checkout .wc-block-checkout__main,body.woocommerce-checkout .wc-block-checkout__sidebar,body.woocommerce-checkout form.checkout{padding:13px;border-radius:13px}body.woocommerce-checkout .woocommerce{width:100%}}


/* MAKHA BD checkout visual layout v1.0.13 — purple payment panel and clear gateway choices. */
body.woocommerce-checkout { background:#f7f5fc; }
.woocommerce-checkout .woocommerce,
.woocommerce-checkout .wc-block-checkout {
  max-width:1120px; margin:18px auto 40px; padding:0 14px;
}
.woocommerce-checkout .woocommerce form.checkout,
.woocommerce-checkout .wc-block-checkout__main,
.woocommerce-checkout .wc-block-checkout__sidebar {
  background:#fff; border:1px solid #e8e2f3; border-radius:18px;
  box-shadow:0 8px 26px rgba(77,35,142,.09); padding:20px;
}
.woocommerce-checkout .woocommerce-billing-fields>h3,
.woocommerce-checkout .woocommerce-shipping-fields>h3,
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout .wc-block-components-checkout-step__title {
  color:#24153e; font-weight:800;
}
.woocommerce-checkout .woocommerce form .form-row label,
.woocommerce-checkout .wc-block-components-text-input label { color:#211b2b; font-weight:700; }
.woocommerce-checkout .woocommerce form .form-row input.input-text,
.woocommerce-checkout .woocommerce form .form-row textarea,
.woocommerce-checkout .wc-block-components-text-input input,
.woocommerce-checkout .wc-block-components-textarea textarea {
  min-height:48px; border:1.5px solid #d8d2e2; border-radius:11px;
  padding:12px 14px; background:#fff; box-shadow:none;
}
.woocommerce-checkout .woocommerce form .form-row textarea,
.woocommerce-checkout .wc-block-components-textarea textarea { min-height:86px; }
.woocommerce-checkout #payment,
.woocommerce-checkout .wc-block-checkout__payment-method {
  border:1px solid #e3d9f4; border-radius:14px; background:#fff; overflow:hidden;
}
.woocommerce-checkout #payment ul.payment_methods { padding:0; border:0; }
.woocommerce-checkout #payment ul.payment_methods>li,
.woocommerce-checkout .wc-block-components-radio-control .wc-block-components-radio-control__option {
  padding:15px 14px; border-bottom:1px solid #e8e4ee; background:#fff;
}
.woocommerce-checkout #payment ul.payment_methods>li:last-child { border-bottom:0; }
.woocommerce-checkout #payment ul.payment_methods li input.input-radio { accent-color:#5423a6; }
.woocommerce-checkout #payment ul.payment_methods li label,
.woocommerce-checkout .wc-block-components-radio-control__label { font-weight:750; color:#21172f; }
.woocommerce-checkout #payment div.payment_box,
.woocommerce-checkout .wc-block-components-radio-control-accordion-content {
  background:#f5f0fc; border:1px solid #e2d4f6; border-radius:10px; color:#302342;
}
.woocommerce-checkout .makha-copy-wallet {
  display:inline-flex; align-items:center; justify-content:center; margin-left:8px;
  min-height:34px; padding:5px 12px; border:0; border-radius:8px;
  background:#5926a8; color:#fff; font-weight:750; cursor:pointer;
}
.woocommerce-checkout .makha-copy-wallet:focus-visible { outline:3px solid #f3bd35; outline-offset:2px; }
.woocommerce-checkout #place_order,
.woocommerce-checkout .wc-block-components-checkout-place-order-button {
  width:100%; min-height:58px; border:0; border-radius:13px;
  background:linear-gradient(100deg,#5521a2,#6a2ab5); color:#fff;
  font-size:20px; font-weight:850; box-shadow:0 5px 14px rgba(82,30,155,.2);
}
.woocommerce-checkout #place_order:hover,
.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { background:#48168f; }
.woocommerce-checkout .woocommerce-info,
.woocommerce-checkout .woocommerce-error { border-top-color:#5926a8; }
@media(max-width:700px) {
  .woocommerce-checkout .woocommerce form.checkout,
  .woocommerce-checkout .wc-block-checkout__main,
  .woocommerce-checkout .wc-block-checkout__sidebar { padding:13px; border-radius:14px; }
  .woocommerce-checkout #place_order,
  .woocommerce-checkout .wc-block-components-checkout-place-order-button { font-size:18px; min-height:54px; }
}


/* v1.0.14 — compact typography and balanced responsive checkout/order summary. */
body.woocommerce-checkout {
  font-size: 15px;
  line-height: 1.45;
}
body.woocommerce-checkout .woocommerce,
body.woocommerce-checkout .wc-block-checkout {
  width: min(100% - 28px, 1060px);
  max-width: 1060px;
}
body.woocommerce-checkout .woocommerce h1,
body.woocommerce-checkout .woocommerce h2,
body.woocommerce-checkout .woocommerce h3,
body.woocommerce-checkout .wc-block-checkout h1,
body.woocommerce-checkout .wc-block-checkout h2,
body.woocommerce-checkout .wc-block-checkout h3 {
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.3;
}
body.woocommerce-checkout .woocommerce,
body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-checkout .wc-block-components-checkout-step,
body.woocommerce-checkout .wc-block-components-order-summary,
body.woocommerce-checkout .wc-block-components-order-summary * {
  font-size: 14px;
}
body.woocommerce-checkout .wc-block-components-order-summary-item__description,
body.woocommerce-checkout .wc-block-components-order-summary-item__individual-prices,
body.woocommerce-checkout .wc-block-components-order-summary-item__total-price,
body.woocommerce-checkout .wc-block-components-product-metadata,
body.woocommerce-checkout .wc-block-components-order-summary__button-text,
body.woocommerce-checkout .woocommerce-checkout-review-order-table,
body.woocommerce-checkout .woocommerce-checkout-review-order-table th,
body.woocommerce-checkout .woocommerce-checkout-review-order-table td {
  font-size: 13px;
  line-height: 1.45;
}
body.woocommerce-checkout .wc-block-components-product-name,
body.woocommerce-checkout .woocommerce-checkout-review-order-table .product-name {
  font-size: 14px;
  line-height: 1.4;
  font-weight: 650;
  overflow-wrap: anywhere;
}
body.woocommerce-checkout .wc-block-components-order-summary-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px;
}
body.woocommerce-checkout .wc-block-components-order-summary-item__image {
  width: 64px;
  min-width: 64px;
}
body.woocommerce-checkout .wc-block-components-order-summary-item__description {
  min-width: 0;
  overflow-wrap: anywhere;
}
body.woocommerce-checkout .wc-block-components-order-summary-item__total-price {
  white-space: nowrap;
  text-align: right;
}
body.woocommerce-checkout .wc-block-components-totals-item,
body.woocommerce-checkout .wc-block-components-totals-item__label,
body.woocommerce-checkout .wc-block-components-totals-item__value {
  font-size: 14px;
}
body.woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
body.woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot .order-total {
  font-size: 18px;
  font-weight: 800;
}
body.woocommerce-checkout .woocommerce form .form-row label,
body.woocommerce-checkout .wc-block-components-text-input label {
  font-size: 14px;
}
body.woocommerce-checkout .woocommerce form .form-row input.input-text,
body.woocommerce-checkout .woocommerce form .form-row textarea,
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-textarea textarea {
  font-size: 14px;
  min-height: 44px;
}
body.woocommerce-checkout #payment ul.payment_methods>li,
body.woocommerce-checkout .wc-block-components-radio-control .wc-block-components-radio-control__option {
  padding: 11px 12px;
}
body.woocommerce-checkout #place_order,
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
  font-size: 17px;
  min-height: 50px;
}
@media (min-width: 901px) {
  body.woocommerce-checkout .wc-block-checkout {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, .85fr);
    gap: 24px;
    align-items: start;
  }
  body.woocommerce-checkout .wc-block-checkout__main,
  body.woocommerce-checkout .wc-block-checkout__sidebar {
    min-width: 0;
  }
  body.woocommerce-checkout .woocommerce form.checkout {
    max-width: 100%;
  }
}
@media (max-width: 700px) {
  body.woocommerce-checkout .woocommerce,
  body.woocommerce-checkout .wc-block-checkout {
    width: calc(100% - 20px);
    margin: 10px auto 24px;
    padding: 0;
  }
  body.woocommerce-checkout .woocommerce form.checkout,
  body.woocommerce-checkout .wc-block-checkout__main,
  body.woocommerce-checkout .wc-block-checkout__sidebar {
    padding: 12px;
    border-radius: 12px;
  }
  body.woocommerce-checkout .wc-block-components-order-summary-item {
    grid-template-columns: 54px minmax(0, 1fr) auto;
    gap: 8px;
  }
  body.woocommerce-checkout .wc-block-components-order-summary-item__image {
    width: 54px;
    min-width: 54px;
  }
  body.woocommerce-checkout .wc-block-components-order-summary-item__description,
  body.woocommerce-checkout .wc-block-components-order-summary-item__total-price,
  body.woocommerce-checkout .wc-block-components-product-name {
    font-size: 13px;
  }
  body.woocommerce-checkout .wc-block-components-totals-item,
  body.woocommerce-checkout .wc-block-components-totals-item__label,
  body.woocommerce-checkout .wc-block-components-totals-item__value {
    font-size: 13px;
  }
  body.woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
  body.woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    font-size: 17px;
  }
  body.woocommerce-checkout .makha-checkout-submit {
    bottom: calc(62px + env(safe-area-inset-bottom));
    padding: 7px 10px;
  }
}
@media (min-width: 701px) {
  body.woocommerce-checkout .makha-checkout-submit { display: none !important; }
}


/* v1.0.15 HOTFIX — restore full checkout width and prevent product text collapsing. */
body.woocommerce-checkout .makha-content,
body.woocommerce-checkout .makha-content > .makha-container,
body.woocommerce-checkout .wp-block-woocommerce-checkout,
body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-checkout .woocommerce {
  width: 100% !important;
  max-width: 1120px !important;
  min-width: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
body.woocommerce-checkout .wc-block-checkout {
  display: grid !important;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr) !important;
  gap: 22px !important;
  align-items: start !important;
}
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wc-block-components-order-summary,
body.woocommerce-checkout .wc-block-components-order-summary__content,
body.woocommerce-checkout .wc-block-components-order-summary-item,
body.woocommerce-checkout .wc-block-components-order-summary-item__description {
  min-width: 0 !important;
  max-width: 100% !important;
}
body.woocommerce-checkout .wc-block-components-order-summary-item {
  display: grid !important;
  grid-template-columns: 64px minmax(0, 1fr) max-content !important;
  gap: 12px !important;
  align-items: start !important;
  width: 100% !important;
}
body.woocommerce-checkout .wc-block-components-order-summary-item__image {
  width: 64px !important;
  min-width: 64px !important;
}
body.woocommerce-checkout .wc-block-components-order-summary-item__description,
body.woocommerce-checkout .wc-block-components-product-name,
body.woocommerce-checkout .wc-block-components-product-metadata,
body.woocommerce-checkout .wc-block-components-order-summary-item__total-price {
  word-break: normal !important;
  overflow-wrap: break-word !important;
  white-space: normal;
  font-size: 14px !important;
  line-height: 1.45 !important;
}
body.woocommerce-checkout .wc-block-components-order-summary-item__total-price {
  white-space: nowrap !important;
  text-align: right !important;
}
@media (max-width: 900px) {
  body.woocommerce-checkout .makha-content,
  body.woocommerce-checkout .makha-content > .makha-container,
  body.woocommerce-checkout .wp-block-woocommerce-checkout,
  body.woocommerce-checkout .wc-block-checkout,
  body.woocommerce-checkout .woocommerce {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  body.woocommerce-checkout .wc-block-checkout {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
  }
  body.woocommerce-checkout .wc-block-checkout__main,
  body.woocommerce-checkout .wc-block-checkout__sidebar {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }
  body.woocommerce-checkout .wc-block-components-order-summary-item {
    grid-template-columns: 56px minmax(0, 1fr) max-content !important;
    gap: 9px !important;
  }
  body.woocommerce-checkout .wc-block-components-order-summary-item__image {
    width: 56px !important;
    min-width: 56px !important;
  }
  body.woocommerce-checkout .wc-block-components-order-summary-item__description,
  body.woocommerce-checkout .wc-block-components-product-name,
  body.woocommerce-checkout .wc-block-components-product-metadata {
    font-size: 13px !important;
  }
}
@media (max-width: 380px) {
  body.woocommerce-checkout .wc-block-components-order-summary-item {
    grid-template-columns: 48px minmax(0, 1fr) !important;
  }
  body.woocommerce-checkout .wc-block-components-order-summary-item__image {
    width: 48px !important;
    min-width: 48px !important;
  }
  body.woocommerce-checkout .wc-block-components-order-summary-item__total-price {
    grid-column: 2;
    text-align: left !important;
  }
}


/* v1.0.16 — automatic responsive checkout sizing */
body.woocommerce-checkout #content,
body.woocommerce-checkout .site-content,
body.woocommerce-checkout .content-area,
body.woocommerce-checkout .site-main,
body.woocommerce-checkout .entry-content,
body.woocommerce-checkout .wp-site-blocks,
body.woocommerce-checkout .wp-block-post-content,
body.woocommerce-checkout .makha-content,
body.woocommerce-checkout .makha-container,
body.woocommerce-checkout .makha-content > .makha-container,
body.woocommerce-checkout .wp-block-woocommerce-checkout {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}
body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-checkout .woocommerce {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 1120px !important;
  min-width: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
body.woocommerce-checkout .wc-block-checkout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .82fr) !important;
  gap: clamp(16px, 2.5vw, 28px) !important;
  align-items: start !important;
}
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wc-block-components-order-summary,
body.woocommerce-checkout .wc-block-components-order-summary__content,
body.woocommerce-checkout .wc-block-components-order-summary-item,
body.woocommerce-checkout .wc-block-components-order-summary-item__description {
  box-sizing: border-box !important;
  min-width: 0 !important;
  max-width: 100% !important;
}
body.woocommerce-checkout .wc-block-components-order-summary,
body.woocommerce-checkout .wc-block-components-order-summary__content {
  width: 100% !important;
}
body.woocommerce-checkout .wc-block-components-order-summary-item {
  display: grid !important;
  grid-template-columns: 60px minmax(0, 1fr) max-content !important;
  width: 100% !important;
  gap: 10px !important;
  align-items: start !important;
}
body.woocommerce-checkout .wc-block-components-order-summary-item__image {
  width: 60px !important;
  min-width: 60px !important;
}
body.woocommerce-checkout .wc-block-components-order-summary-item__description {
  width: auto !important;
  overflow: visible !important;
}
body.woocommerce-checkout .wc-block-components-product-name,
body.woocommerce-checkout .wc-block-components-product-metadata,
body.woocommerce-checkout .wc-block-components-order-summary-item__description,
body.woocommerce-checkout .wc-block-components-order-summary-item__total-price {
  word-break: normal !important;
  overflow-wrap: anywhere !important;
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
  font-size: clamp(12px, 1.15vw, 14px) !important;
  line-height: 1.45 !important;
}
body.woocommerce-checkout .wc-block-components-order-summary-item__total-price {
  white-space: nowrap !important;
  text-align: right !important;
}
@media (max-width: 900px) {
  body.woocommerce-checkout .wc-block-checkout {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 720px !important;
    gap: 14px !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  body.woocommerce-checkout .wc-block-checkout__main,
  body.woocommerce-checkout .wc-block-checkout__sidebar {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }
  body.woocommerce-checkout .wc-block-components-order-summary-item {
    grid-template-columns: 56px minmax(0, 1fr) max-content !important;
    gap: 9px !important;
  }
  body.woocommerce-checkout .wc-block-components-order-summary-item__image {
    width: 56px !important;
    min-width: 56px !important;
  }
}
@media (max-width: 520px) {
  body.woocommerce-checkout .wc-block-checkout {
    max-width: 100% !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  body.woocommerce-checkout .wc-block-components-order-summary-item {
    grid-template-columns: 50px minmax(0, 1fr) max-content !important;
    gap: 8px !important;
  }
  body.woocommerce-checkout .wc-block-components-order-summary-item__image {
    width: 50px !important;
    min-width: 50px !important;
  }
  body.woocommerce-checkout .wc-block-components-product-name {
    font-size: 13px !important;
  }
  body.woocommerce-checkout .wc-block-components-order-summary-item__total-price {
    font-size: 12px !important;
  }
}
@media (max-width: 360px) {
  body.woocommerce-checkout .wc-block-components-order-summary-item {
    grid-template-columns: 44px minmax(0, 1fr) !important;
  }
  body.woocommerce-checkout .wc-block-components-order-summary-item__image {
    width: 44px !important;
    min-width: 44px !important;
  }
  body.woocommerce-checkout .wc-block-components-order-summary-item__total-price {
    grid-column: 2 !important;
    text-align: left !important;
  }
}
@media (min-width: 901px) {
  body.woocommerce-checkout .wc-block-checkout {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}


/* v1.0.17 — checkout layout based on the user's supplied HTML reference.
   All values, products, totals and payment actions remain rendered by WooCommerce. */
body.woocommerce-checkout,
body.woocommerce-checkout * { font-family:'Hind Siliguri',system-ui,-apple-system,sans-serif; }
body.woocommerce-checkout { background:#f4f6f9 !important; color:#333; }
body.woocommerce-checkout .makha-topbar { background:#114b9b !important; color:#fff; }
body.woocommerce-checkout .makha-header { background:#fff; }
body.woocommerce-checkout .makha-nav { background:#0f62c6 !important; }
body.woocommerce-checkout .makha-nav a:hover { background:#114b9b !important; }
body.woocommerce-checkout .makha-content {
  background:#f4f6f9 !important;
  padding:22px 0 100px !important;
}
body.woocommerce-checkout .makha-content > .makha-container {
  width:min(1200px,calc(100% - 30px)) !important;
  max-width:1200px !important;
  min-width:0 !important;
  margin:0 auto !important;
}
body.woocommerce-checkout .makha-content > .makha-container:before {
  content:'🛒  চেকআউট';
  display:block;
  color:#114b9b;
  font-size:clamp(21px,2.5vw,26px);
  line-height:1.35;
  font-weight:700;
  margin:0 0 18px;
}
/* WooCommerce Checkout Block: details/payment left, live order summary right. */
body.woocommerce-checkout .wc-block-checkout {
  display:grid !important;
  grid-template-columns:minmax(0,1fr) minmax(320px,.92fr) !important;
  gap:20px !important;
  align-items:start !important;
  width:100% !important;
  max-width:100% !important;
  margin:0 auto !important;
  padding:0 !important;
  background:transparent !important;
}
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  box-sizing:border-box !important;
  background:#fff !important;
  border:1px solid #e0e6ee !important;
  border-radius:9px !important;
  padding:16px !important;
  box-shadow:0 2px 10px rgba(0,0,0,.045) !important;
}
body.woocommerce-checkout .wc-block-components-checkout-step {
  border:1px solid #e2e7ee !important;
  border-radius:7px !important;
  background:#fff !important;
  padding:14px !important;
  margin:0 0 14px !important;
}
body.woocommerce-checkout .wc-block-components-checkout-step__title,
body.woocommerce-checkout .wc-block-components-title,
body.woocommerce-checkout .woocommerce-billing-fields>h3,
body.woocommerce-checkout #order_review_heading {
  color:#114b9b !important;
  font-size:18px !important;
  font-weight:700 !important;
}
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-textarea textarea,
body.woocommerce-checkout .wc-block-components-combobox .components-combobox-control__input,
body.woocommerce-checkout .woocommerce form .form-row input.input-text,
body.woocommerce-checkout .woocommerce form .form-row textarea,
body.woocommerce-checkout .woocommerce form .form-row select {
  width:100% !important;
  min-width:0 !important;
  min-height:44px !important;
  padding:10px 12px !important;
  border:1px solid #d5dce5 !important;
  border-radius:5px !important;
  background:#fff !important;
  font-size:14px !important;
}
body.woocommerce-checkout .wc-block-components-radio-control .wc-block-components-radio-control__option,
body.woocommerce-checkout #payment ul.payment_methods>li {
  border:1px solid #e1e6ed !important;
  border-radius:7px !important;
  margin:7px 0 !important;
  padding:12px !important;
}
body.woocommerce-checkout .wc-block-components-radio-control .wc-block-components-radio-control__option-checked,
body.woocommerce-checkout .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control__option--checked {
  border-color:#0f62c6 !important;
  background:#eef6ff !important;
}
body.woocommerce-checkout .wc-block-components-order-summary,
body.woocommerce-checkout .wc-block-components-order-summary__content,
body.woocommerce-checkout .woocommerce-checkout-review-order,
body.woocommerce-checkout #order_review {
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  box-sizing:border-box !important;
}
body.woocommerce-checkout .wc-block-components-order-summary__title {
  background:#0f62c6 !important;
  color:#fff !important;
  border-radius:6px 6px 0 0 !important;
  padding:12px 14px !important;
  font-size:18px !important;
  font-weight:700 !important;
}
body.woocommerce-checkout .wc-block-components-order-summary-item {
  display:grid !important;
  grid-template-columns:70px minmax(0,1fr) max-content !important;
  align-items:start !important;
  gap:12px !important;
  width:100% !important;
  min-width:0 !important;
  padding:12px 0 !important;
}
body.woocommerce-checkout .wc-block-components-order-summary-item__image {
  width:70px !important;
  min-width:70px !important;
}
body.woocommerce-checkout .wc-block-components-order-summary-item__description {
  display:block !important;
  width:auto !important;
  min-width:0 !important;
  overflow:visible !important;
}
body.woocommerce-checkout .wc-block-components-product-name,
body.woocommerce-checkout .wc-block-components-product-metadata,
body.woocommerce-checkout .wc-block-components-order-summary-item__description,
body.woocommerce-checkout .wc-block-components-order-summary-item__total-price {
  writing-mode:horizontal-tb !important;
  text-orientation:mixed !important;
  word-break:normal !important;
  overflow-wrap:anywhere !important;
  font-size:14px !important;
  line-height:1.5 !important;
}
body.woocommerce-checkout .wc-block-components-order-summary-item__total-price {
  white-space:nowrap !important;
  text-align:right !important;
}
body.woocommerce-checkout .wc-block-components-totals-item,
body.woocommerce-checkout .wc-block-components-totals-item__label,
body.woocommerce-checkout .wc-block-components-totals-item__value {
  font-size:14px !important;
}
body.woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
body.woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
  color:#114b9b !important;
  font-size:19px !important;
  font-weight:800 !important;
}
body.woocommerce-checkout .wc-block-components-button:not(.is-link),
body.woocommerce-checkout #place_order,
body.woocommerce-checkout .woocommerce button.button.alt {
  min-height:48px !important;
  background:#17a34a !important;
  color:#fff !important;
  border:0 !important;
  border-radius:6px !important;
  font-size:17px !important;
  font-weight:700 !important;
}
body.woocommerce-checkout .wc-block-components-button:not(.is-link):hover,
body.woocommerce-checkout #place_order:hover { background:#128a3d !important; }
/* Classic WooCommerce checkout fallback uses the same two-column composition. */
body.woocommerce-checkout form.woocommerce-checkout {
  display:grid !important;
  grid-template-columns:minmax(0,1fr) minmax(320px,.92fr) !important;
  gap:20px !important;
  align-items:start !important;
  width:100% !important;
  max-width:100% !important;
  padding:0 !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
}
body.woocommerce-checkout form.woocommerce-checkout #customer_details,
body.woocommerce-checkout form.woocommerce-checkout #order_review_heading,
body.woocommerce-checkout form.woocommerce-checkout #order_review {
  min-width:0 !important;
  width:100% !important;
  box-sizing:border-box !important;
  background:#fff !important;
  border:1px solid #e0e6ee !important;
  border-radius:9px !important;
  padding:16px !important;
}
body.woocommerce-checkout form.woocommerce-checkout #customer_details { grid-column:1; grid-row:1 / span 2; }
body.woocommerce-checkout form.woocommerce-checkout #order_review_heading { grid-column:2; grid-row:1; margin:0 !important; background:#0f62c6 !important; color:#fff !important; }
body.woocommerce-checkout form.woocommerce-checkout #order_review { grid-column:2; grid-row:2; }
@media(max-width:800px) {
  body.woocommerce-checkout .makha-content { padding:14px 0 100px !important; }
  body.woocommerce-checkout .makha-content > .makha-container { width:calc(100% - 20px) !important; }
  body.woocommerce-checkout .wc-block-checkout,
  body.woocommerce-checkout form.woocommerce-checkout {
    display:flex !important;
    flex-direction:column !important;
    gap:13px !important;
    width:100% !important;
    max-width:100% !important;
  }
  body.woocommerce-checkout .wc-block-checkout__main,
  body.woocommerce-checkout .wc-block-checkout__sidebar,
  body.woocommerce-checkout form.woocommerce-checkout #customer_details,
  body.woocommerce-checkout form.woocommerce-checkout #order_review_heading,
  body.woocommerce-checkout form.woocommerce-checkout #order_review {
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    flex:0 0 auto !important;
    margin:0 !important;
  }
  body.woocommerce-checkout .wc-block-components-order-summary-item {
    grid-template-columns:58px minmax(0,1fr) max-content !important;
    gap:9px !important;
  }
  body.woocommerce-checkout .wc-block-components-order-summary-item__image {
    width:58px !important;
    min-width:58px !important;
  }
  body.woocommerce-checkout .wc-block-components-product-name,
  body.woocommerce-checkout .wc-block-components-product-metadata,
  body.woocommerce-checkout .wc-block-components-order-summary-item__description { font-size:13px !important; }
}
@media(max-width:420px) {
  body.woocommerce-checkout .makha-content > .makha-container { width:calc(100% - 16px) !important; }
  body.woocommerce-checkout .wc-block-checkout__main,
  body.woocommerce-checkout .wc-block-checkout__sidebar,
  body.woocommerce-checkout .wc-block-components-checkout-step,
  body.woocommerce-checkout form.woocommerce-checkout #customer_details,
  body.woocommerce-checkout form.woocommerce-checkout #order_review { padding:11px !important; }
  body.woocommerce-checkout .wc-block-components-order-summary-item {
    grid-template-columns:48px minmax(0,1fr) max-content !important;
    gap:7px !important;
  }
  body.woocommerce-checkout .wc-block-components-order-summary-item__image {
    width:48px !important;
    min-width:48px !important;
  }
  body.woocommerce-checkout .wc-block-components-order-summary-item__total-price { font-size:12px !important; }
}


/* v1.0.19 — compact product cards and single-line action labels */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  min-width: 0 !important;
  padding: 9px !important;
}
.woocommerce ul.products li.product a img,
.woocommerce-page ul.products li.product a img {
  width: 100% !important;
  max-height: 150px !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: contain !important;
  margin-bottom: 7px !important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
  line-height: 1.3 !important;
  margin: 4px 0 !important;
  min-height: 0 !important;
}
.makha-product-actions {
  display: flex !important;
  flex-direction: column !important;
  gap: 5px !important;
  margin-top: auto !important;
}
.makha-product-actions .button {
  display: flex !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 34px !important;
  padding: 5px 4px !important;
  font-size: clamp(9px, 1.05vw, 12px) !important;
  line-height: 1.15 !important;
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  text-align: center !important;
  justify-content: center !important;
  gap: 3px !important;
}
@media (max-width: 600px) {
  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product {
    padding: 6px !important;
    border-radius: 14px !important;
  }
  .woocommerce ul.products li.product a img,
  .woocommerce-page ul.products li.product a img {
    max-height: 112px !important;
    margin-bottom: 5px !important;
  }
  .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .woocommerce-page ul.products li.product .woocommerce-loop-product__title {
    font-size: 12px !important;
    line-height: 1.25 !important;
  }
  .woocommerce ul.products li.product .price,
  .woocommerce-page ul.products li.product .price {
    font-size: 12px !important;
    margin: 4px 0 7px !important;
  }
  .makha-product-actions .button {
    min-height: 32px !important;
    padding: 4px 2px !important;
    font-size: 10px !important;
    letter-spacing: -0.25px !important;
  }
}
@media (max-width: 370px) {
  .makha-product-actions .button {
    font-size: 9px !important;
    padding-left: 1px !important;
    padding-right: 1px !important;
  }
}


/* v1.0.20 — plain compact product action labels */
.makha-product-actions .button,
.makha-product-buy-now {
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
}

/* MAKHA BD Theme 1.0.25 */
:root{--makha-blue:#087fc1;--makha-purple:#7046bd;--makha-green:#159653;--makha-ink:#202733;--makha-border:#e4eaf0}
:focus-visible{outline:3px solid rgba(8,127,193,.45);outline-offset:2px}
body,button,input,select,textarea{font-family:"Hind Siliguri","Noto Sans Bengali",system-ui,sans-serif}
.makha-affiliate-page,.makha-affiliate-dashboard{max-width:1120px;margin:0 auto}
.makha-affiliate-hero{background:linear-gradient(125deg,#087fc1,#286fb0 52%,#7046bd);color:#fff;border-radius:20px;padding:clamp(22px,4vw,42px);margin-bottom:22px}
.makha-affiliate-hero h1,.makha-affiliate-hero p{color:#fff}
.makha-affiliate-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.makha-affiliate-stat,.makha-affiliate-panel{background:#fff;border:1px solid var(--makha-border);border-radius:14px;padding:16px;min-width:0}
.makha-affiliate-stat strong{display:block;font-size:26px;color:var(--makha-blue)}
.makha-affiliate-page input,.makha-affiliate-dashboard input{max-width:100%;padding:11px;border:1px solid var(--makha-border);border-radius:9px}
.makha-affiliate-page button,.makha-affiliate-dashboard button{background:var(--makha-purple);color:#fff;border:0;border-radius:9px;padding:10px 16px;font-weight:700}
@media(max-width:900px){.makha-affiliate-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.makha-affiliate-page table,.makha-affiliate-dashboard table{display:block;overflow-x:auto;white-space:nowrap}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
