/*
Theme Name: Mobile Max BD All-in-One Safe
Author: Mobile Max BD
Description: Mobile Max BD WooCommerce shop with homepage slider, product grid, order flow and single-product buttons.
Version: 2.9.5
*/
:root{--blue:#0866ff;--dark:#111827;--green:#16a34a;--wa:#25d366;--red:#ef4444;--bg:#f5f7fb}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:#111827;font-family:Arial,Helvetica,sans-serif}
a{text-decoration:none}.mm-header{background:#fff;border-bottom:1px solid #e5e7eb;position:sticky;top:0;z-index:50}
.mm-head{max-width:1180px;margin:auto;padding:12px 15px;display:flex;align-items:center;justify-content:space-between}
.mm-logo{font-size:22px;font-weight:900;color:var(--blue)}.mm-nav a{margin-left:14px;color:#111827;font-weight:700;font-size:14px}
.mm-wrap{max-width:1180px;margin:auto;padding:18px 14px}.mm-box{background:#fff;border-radius:18px;padding:18px;box-shadow:0 5px 24px rgba(15,23,42,.06)}
.mm-slider{position:relative;overflow:hidden;border-radius:18px;background:#111827;min-height:210px}.mm-slide{display:none;min-height:210px;padding:28px 22px;align-items:center;justify-content:space-between;gap:20px;color:#fff}.mm-slide.active{display:flex}
.mm-slide h2{margin:0 0 8px;font-size:30px}.mm-slide p{margin:0 0 15px;font-size:16px}.mm-slide-btn{display:inline-block;background:#fff;color:#111827;padding:10px 18px;border-radius:10px;font-weight:800}
.mm-slide-icon{font-size:75px}.mm-prev,.mm-next{position:absolute;top:50%;transform:translateY(-50%);border:0;background:rgba(255,255,255,.2);color:#fff;width:38px;height:38px;border-radius:50%;font-size:22px;cursor:pointer}.mm-prev{left:10px}.mm-next{right:10px}
.mm-dots{position:absolute;bottom:10px;left:0;right:0;text-align:center}.mm-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#fff;opacity:.45;margin:0 4px;cursor:pointer}.mm-dot.active{opacity:1}
.mm-benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:15px 0}.mm-benefit{background:#fff;border:1px solid #e5e7eb;border-radius:13px;padding:12px;text-align:center;font-weight:800}
.mm-section-title{margin:20px 0 12px;font-size:23px}.mm-products{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.mm-card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;overflow:hidden}.mm-card img{width:100%;height:210px;object-fit:cover;display:block}.mm-card-body{padding:11px}.mm-card-title{font-weight:800;min-height:40px}.mm-price{font-size:18px;font-weight:900;margin:7px 0}.mm-card-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px}.mm-card-actions a{color:#fff;text-align:center;border-radius:10px;padding:10px 4px;font-size:13px;font-weight:800}.mm-order-sm{background:var(--blue)}.mm-cart-sm{background:var(--dark)}
.mm-single-buttons{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:20px 0 5px;padding:12px;background:#f8fafc;border:1px solid #e5e7eb;border-radius:16px}
.mm-big-btn{display:flex!important;align-items:center;justify-content:center;min-height:52px;border-radius:12px!important;color:#fff!important;font-weight:900!important;font-size:16px!important;box-shadow:0 4px 10px rgba(0,0,0,.08);transition:.15s}.mm-big-btn:hover{transform:translateY(-1px);opacity:.94}.mm-order{background:var(--blue)}.mm-cart{background:var(--dark)}.mm-wa{background:var(--wa)}.mm-call{background:var(--red)}
.woocommerce div.product div.images img{border-radius:14px}.woocommerce div.product .price{font-weight:900}
.mm-form input,.mm-form textarea,.mm-form select{width:100%;padding:12px;border:1px solid #d1d5db;border-radius:10px;font-size:16px}.mm-submit{width:100%;padding:14px;border:0;border-radius:12px;background:var(--blue);color:#fff;font-size:17px;font-weight:900}
.mm-footer{margin-top:40px;background:#111827;color:#fff;text-align:center;padding:28px 15px}

.mm-checkout-box{max-width:720px;margin:auto}
.mm-check-product{display:flex;align-items:center;gap:14px;padding:12px;background:#f8fafc;border:1px solid #e5e7eb;border-radius:14px;margin-bottom:18px}
.mm-check-img{width:85px;flex:0 0 85px}.mm-check-img img{width:85px;height:85px;object-fit:cover;border-radius:10px}
.mm-check-price{font-size:18px;font-weight:900;margin-top:5px}.mm-form label{font-weight:800}.mm-form p{margin:0 0 14px}
.mm-phone-note{display:block;margin-top:5px;color:#6b7280}.mm-payment{padding:14px;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:12px;margin:10px 0 15px}.mm-payment div{margin-top:5px;font-weight:800}
.mm-total{padding:15px;background:#f8fafc;border:1px solid #e5e7eb;border-radius:12px;margin-bottom:15px}.mm-total>div{display:flex;justify-content:space-between;padding:5px 0}.mm-grand{font-size:20px;font-weight:900;border-top:1px solid #ddd;margin-top:7px;padding-top:10px!important}

@media(max-width:800px){.mm-products{grid-template-columns:repeat(2,1fr)}.mm-card img{height:175px}.mm-slider,.mm-slide{min-height:190px}.mm-slide h2{font-size:23px}.mm-slide-icon{font-size:55px}}
@media(max-width:480px){.mm-wrap{padding:12px 9px}.mm-box{padding:11px}.mm-logo{font-size:19px}.mm-nav a{font-size:12px;margin-left:7px}.mm-slide{padding:24px 17px}.mm-slide p{font-size:13px}.mm-slide-icon{font-size:43px}.mm-benefits{grid-template-columns:1fr}.mm-card img{height:145px}.mm-card-title{font-size:14px}.mm-price{font-size:16px}.mm-card-actions a{font-size:12px;padding:9px 2px}.mm-single-buttons{gap:8px;padding:9px}.mm-big-btn{font-size:14px!important;min-height:49px}}

/* Customer Account */
.mm-account-box{max-width:980px;margin:8px auto 0}
.mm-account-head{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:4px 0 18px;border-bottom:1px solid #e5e7eb;margin-bottom:18px}
.mm-account-head h1{margin:0 0 5px;font-size:28px}
.mm-account-head p{margin:0;color:#6b7280}
.mm-account-icon{width:54px;height:54px;border-radius:16px;background:#eef4ff;display:flex;align-items:center;justify-content:center;font-size:27px}
.woocommerce-account .woocommerce-MyAccount-navigation{width:25%;float:left;background:#f8fafc;border:1px solid #e5e7eb;border-radius:14px;padding:8px}
.woocommerce-account .woocommerce-MyAccount-content{width:72%;float:right}
.woocommerce-account .woocommerce-MyAccount-navigation ul{margin:0;padding:0;list-style:none}
.woocommerce-account .woocommerce-MyAccount-navigation a{display:block;padding:12px 10px;color:#111827;font-weight:800;border-radius:9px}
.woocommerce-account .woocommerce-MyAccount-navigation a:hover{background:#eaf1ff;color:#0866ff}
.woocommerce-account .woocommerce-MyAccount-content a{color:#0866ff;font-weight:700}
.woocommerce-account .woocommerce button.button{background:#0866ff;color:#fff;border-radius:10px;padding:11px 18px;font-weight:800}
@media(max-width:700px){
 .mm-account-box{padding:12px 10px}
 .mm-account-head h1{font-size:22px}
 .woocommerce-account .woocommerce-MyAccount-navigation,
 .woocommerce-account .woocommerce-MyAccount-content{width:100%;float:none}
 .woocommerce-account .woocommerce-MyAccount-navigation{margin-bottom:15px}
 .woocommerce-account .woocommerce-MyAccount-navigation ul{display:grid;grid-template-columns:1fr 1fr}
 .woocommerce-account .woocommerce-MyAccount-navigation a{font-size:13px;padding:10px 7px}
}

.mm-order-box{max-width:760px;margin:20px auto}
.mm-order-product{display:flex;gap:18px;align-items:center;padding:14px;border:1px solid #e5e7eb;border-radius:14px;margin:15px 0}
.mm-order-image img{width:110px;height:110px;object-fit:contain}
.mm-order-price{font-size:20px;font-weight:800}
.mm-order-form label{display:block;font-weight:800;margin:14px 0 6px}
.mm-order-form input,.mm-order-form textarea,.mm-order-form select{width:100%;box-sizing:border-box;border:1px solid #d1d5db;border-radius:10px;padding:11px;font-size:16px}
.mm-order-summary{margin-top:18px;border:1px solid #e5e7eb;border-radius:12px;padding:12px}
.mm-order-summary>div{display:flex;justify-content:space-between;padding:7px 0}
.mm-order-summary .mm-total{font-size:20px;border-top:1px solid #e5e7eb;margin-top:6px;padding-top:12px}
.mm-payment{margin:15px 0;padding:12px;border-radius:10px;background:#f3f4f6;font-weight:800}
.mm-order-submit,.mm-btn{display:inline-block;background:#0866ff;color:#fff!important;border:0;border-radius:10px;padding:12px 18px;font-weight:800;text-decoration:none;cursor:pointer}
.mm-notice,.mm-success{padding:25px;text-align:center;border:1px solid #e5e7eb;border-radius:14px}
@media(max-width:600px){.mm-order-product{align-items:flex-start}.mm-order-image img{width:85px;height:85px}}

/* v2.7 order guarantee */
.mm-order-form{display:block!important}
.mm-order-form label{display:block!important}
.mm-order-form input,.mm-order-form textarea,.mm-order-form select{display:block!important}
.mm-order-submit{display:block!important;width:100%;font-size:17px}

/* =========================================================
   Mobile Max BD v2.8 - Beautiful Customer Checkout
   ========================================================= */
.mm-checkout-page{background:#f6f8fc;padding:30px 14px 55px;min-height:70vh}
.mm-checkout-container{max-width:1050px;margin:0 auto}
.mm-checkout-top{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 22px}
.mm-checkout-kicker{font-size:12px;letter-spacing:1.4px;font-weight:900;color:#0866ff;margin-bottom:5px}
.mm-checkout-top h1{font-size:30px;line-height:1.2;margin:0 0 6px;color:#111827}
.mm-checkout-top p{margin:0;color:#6b7280;font-size:15px}
.mm-secure-badge{background:#eaf7ef;color:#168345;border:1px solid #ccebd8;padding:9px 13px;border-radius:999px;font-size:13px;font-weight:800;white-space:nowrap}
.mm-checkout-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:20px;align-items:start}
.mm-checkout-card{background:#fff;border:1px solid #e6eaf0;border-radius:18px;box-shadow:0 8px 28px rgba(20,35,60,.07);padding:22px}
.mm-card-title{display:flex;align-items:center;gap:10px;margin-bottom:18px}
.mm-card-title>span{width:36px;height:36px;border-radius:10px;background:#eef4ff;display:flex;align-items:center;justify-content:center}
.mm-card-title h2{font-size:19px;margin:0;color:#111827}
.mm-product-preview{display:flex;gap:16px;align-items:center;padding:14px;background:#f8fafc;border-radius:14px;border:1px solid #edf0f4}
.mm-product-image{width:125px;height:125px;flex:0 0 125px;background:#fff;border-radius:12px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.mm-product-image img{width:100%;height:100%;object-fit:contain}
.mm-product-info h3{font-size:18px;line-height:1.35;margin:0 0 9px;color:#111827}
.mm-product-price{font-size:21px;font-weight:900;color:#0866ff}
.mm-product-cod{font-size:13px;color:#17834a;font-weight:700;margin-top:8px}
.mm-mini-summary{margin-top:17px;border-top:1px solid #e8ebf0;padding-top:9px}
.mm-mini-summary>div{display:flex;justify-content:space-between;gap:12px;padding:9px 2px;color:#4b5563;font-size:14px}
.mm-mini-summary strong{color:#111827}
.mm-mini-summary .mm-grand-total{border-top:1px dashed #dfe3e9;margin-top:5px;padding-top:13px;font-size:18px;color:#111827}
.mm-mini-summary .mm-grand-total strong{font-size:22px;color:#0866ff}
.mm-checkout-form{margin:0}
.mm-field{margin-bottom:15px}
.mm-field label{display:block;font-size:14px;font-weight:800;color:#1f2937;margin:0 0 7px}
.mm-field label span{color:#e11d48}
.mm-field input,.mm-field textarea,.mm-field select{width:100%;box-sizing:border-box;border:1px solid #d8dee8;background:#fff;color:#111827;border-radius:11px;padding:12px 13px;font-size:15px;outline:none;transition:.15s}
.mm-field textarea{resize:vertical;min-height:88px}
.mm-field input:focus,.mm-field textarea:focus,.mm-field select:focus{border-color:#6ea0ff;box-shadow:0 0 0 3px rgba(8,102,255,.10)}
.mm-field-help{font-size:12px;color:#8a94a6;margin-top:5px}
.mm-field-help.ok{color:#168345}
.mm-field-help.error{color:#d11a3a;font-weight:700}
.mm-two-fields{display:grid;grid-template-columns:1.45fr .55fr;gap:12px}
.mm-payment-box{display:flex;align-items:center;gap:12px;padding:13px 14px;border:1px solid #dbeee2;background:#f3fbf6;border-radius:12px;margin:5px 0 16px}
.mm-payment-icon{width:38px;height:38px;border-radius:10px;background:#dff4e7;display:flex;align-items:center;justify-content:center;font-size:20px}
.mm-payment-box strong{display:block;font-size:14px;color:#176b3d}
.mm-payment-box small{display:block;color:#667085;margin-top:2px}
.mm-checkout-btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;text-decoration:none;border:0;border-radius:11px;background:#0866ff;color:#fff!important;font-size:15px;font-weight:900;padding:13px 18px;cursor:pointer;box-sizing:border-box}
.mm-confirm-btn{width:100%;font-size:17px;padding:15px 18px;box-shadow:0 8px 18px rgba(8,102,255,.20)}
.mm-confirm-btn:hover{filter:brightness(.96)}
.mm-checkout-note{text-align:center;color:#8a94a6;font-size:11px;margin-top:10px}
.mm-checkout-success,.mm-checkout-error{max-width:650px;margin:25px auto;background:#fff;border:1px solid #e6eaf0;border-radius:18px;box-shadow:0 8px 28px rgba(20,35,60,.07);padding:40px 24px;text-align:center}
.mm-success-icon,.mm-error-icon{width:62px;height:62px;border-radius:50%;margin:0 auto 14px;display:flex;align-items:center;justify-content:center;font-size:30px;font-weight:900}
.mm-success-icon{background:#e5f7ec;color:#168345}
.mm-error-icon{background:#fff0f1;color:#d11a3a}
.mm-checkout-success h1,.mm-checkout-error h1{font-size:25px;margin:0 0 8px}
.mm-checkout-success p,.mm-checkout-error p{color:#667085}
.mm-order-number{display:inline-block;background:#f5f7fa;border-radius:9px;padding:9px 14px;margin:10px 0 20px}
.mm-success-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}
.mm-secondary-btn{background:#eef3ff;color:#0866ff!important}

@media(max-width:800px){
  .mm-checkout-page{padding:18px 10px 40px}
  .mm-checkout-top{align-items:flex-start;flex-direction:column;gap:10px}
  .mm-checkout-top h1{font-size:24px}
  .mm-checkout-grid{grid-template-columns:1fr}
  .mm-checkout-card{padding:16px;border-radius:15px}
  .mm-product-image{width:105px;height:105px;flex-basis:105px}
  .mm-product-info h3{font-size:16px}
  .mm-product-price{font-size:19px}
}
@media(max-width:430px){
  .mm-two-fields{grid-template-columns:1fr}
  .mm-product-preview{align-items:flex-start}
  .mm-product-image{width:90px;height:90px;flex-basis:90px}
  .mm-secure-badge{font-size:12px}
}


/* =========================================================
   Mobile Max BD v2.9 - Checkout stability/reset
   ========================================================= */
.mm-checkout-page,.mm-checkout-page *{box-sizing:border-box}
.mm-checkout-page{width:100%;overflow-x:hidden}
.mm-checkout-page .mm-checkout-container{width:100%;max-width:1050px}
.mm-checkout-page .mm-checkout-grid{width:100%}
.mm-checkout-page .mm-checkout-card{min-width:0;width:100%}
.mm-checkout-page .mm-field{width:100%;min-width:0}
.mm-checkout-page .mm-field input,.mm-checkout-page .mm-field textarea,.mm-checkout-page .mm-field select{display:block;width:100%;max-width:100%;min-width:0;height:auto;margin:0}
.mm-checkout-page .mm-checkout-form{width:100%;max-width:100%;margin:0;padding:0}
.mm-checkout-page button.mm-confirm-btn{appearance:none;-webkit-appearance:none}
@media(max-width:800px){
  .mm-checkout-page .mm-checkout-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}
  .mm-checkout-page .mm-checkout-card{padding:15px}
  .mm-checkout-page .mm-product-preview{width:100%;max-width:100%}
}


/* V2.9 Thank You Page */
.mm-thankyou-page{padding:28px 15px 55px;background:#f5f7fb;min-height:70vh}
.mm-thankyou-container{max-width:980px;margin:0 auto}
.mm-thankyou-card{background:#fff;border:1px solid #e6eaf0;border-radius:22px;padding:28px;box-shadow:0 10px 35px rgba(20,35,60,.08);text-align:center}
.mm-thankyou-icon{width:68px;height:68px;border-radius:50%;margin:0 auto 14px;display:flex;align-items:center;justify-content:center;background:#fff1f1;color:#d33;font-size:34px;font-weight:800}
.mm-thankyou-icon.mm-success{background:#eafaf0;color:#16a05d}
.mm-thankyou-brand{font-weight:800;letter-spacing:1.5px;font-size:13px;color:#1769e0;margin-bottom:7px}
.mm-thankyou-card h1{margin:0 0 10px;font-size:30px;line-height:1.25}
.mm-thankyou-lead{margin:0 auto 16px;color:#687385;max-width:680px;line-height:1.7}
.mm-thankyou-order-no{display:inline-block;background:#f0f5ff;border:1px solid #dbe7ff;border-radius:12px;padding:10px 15px;margin-bottom:22px;color:#40516b}
.mm-thankyou-order-no strong{color:#1769e0}
.mm-thankyou-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;text-align:left}
.mm-thankyou-box{border:1px solid #e7ebf1;border-radius:16px;padding:18px;background:#fbfcfe}
.mm-thankyou-box h2{font-size:18px;margin:0 0 14px}
.mm-detail-row{display:flex;justify-content:space-between;gap:18px;padding:9px 0;border-bottom:1px solid #edf0f4;font-size:14px}
.mm-detail-row:last-child{border-bottom:0}
.mm-detail-row span{color:#6d7788}.mm-detail-row strong{text-align:right;color:#202936}
.mm-thankyou-product{display:flex;gap:12px;align-items:center;padding:0 0 12px;margin-bottom:5px;border-bottom:1px solid #edf0f4}
.mm-thankyou-product-image img{width:58px;height:58px;object-fit:contain;border-radius:10px;background:#fff}
.mm-thankyou-product div:last-child{line-height:1.55;font-size:13px;color:#6d7788}.mm-thankyou-product strong{display:block;color:#202936;font-size:14px}
.mm-total-row{font-size:16px;padding-top:13px}.mm-total-row strong{color:#1769e0;font-size:18px}
.mm-cod-note{margin-top:12px;background:#effaf3;color:#167448;border-radius:10px;padding:10px;font-size:13px;font-weight:700}
.mm-delivery-info{display:flex;gap:14px;align-items:flex-start;text-align:left;margin-top:18px;padding:18px;border-radius:16px;background:#eef7ff;border:1px solid #d8ebff}
.mm-delivery-icon{font-size:30px}.mm-delivery-info h2{font-size:18px;margin:0 0 5px}.mm-delivery-info p{margin:0;color:#536276;line-height:1.7;font-size:14px}
.mm-thankyou-actions{display:flex;justify-content:center;gap:10px;margin-top:22px;flex-wrap:wrap}
.mm-thankyou-actions .mm-checkout-btn{min-width:180px;text-decoration:none}.mm-secondary-btn{background:#fff!important;color:#1769e0!important;border:1px solid #1769e0!important}
.mm-thankyou-footer{margin:20px 0 0;color:#8a94a3;font-size:13px}
@media(max-width:700px){.mm-thankyou-page{padding:16px 10px 40px}.mm-thankyou-card{padding:20px 14px;border-radius:17px}.mm-thankyou-card h1{font-size:24px}.mm-thankyou-grid{grid-template-columns:1fr}.mm-detail-row{align-items:flex-start}.mm-detail-row strong{max-width:62%}.mm-delivery-info{padding:14px}.mm-thankyou-actions{flex-direction:column}.mm-thankyou-actions .mm-checkout-btn{width:100%}}

/* V2.9 automatic thank-you page */
.mm-thankyou-card{max-width:900px!important;margin:20px auto!important;text-align:center;padding:34px 22px!important}
.mm-thank-lead{font-size:16px;line-height:1.7;margin:0 auto 22px;max-width:680px}
.mm-thank-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;text-align:left;margin:22px 0}
.mm-thank-box{border:1px solid #e6e6e6;border-radius:16px;padding:18px;background:#fff}
.mm-thank-box h3{margin:0 0 12px;font-size:18px}
.mm-thank-box p{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid #eee;padding:9px 0;margin:0;line-height:1.5}
.mm-thank-box p:last-child{border-bottom:0}
.mm-thank-box strong{text-align:right}
.mm-thank-total{font-size:18px}
.mm-delivery-message{background:#f5f8ff;border-radius:14px;padding:16px;margin:8px 0 22px;line-height:1.7;text-align:left}
@media(max-width:700px){.mm-thank-grid{grid-template-columns:1fr}.mm-thankyou-card{padding:26px 14px!important}.mm-thank-box p{flex-direction:column;gap:2px}.mm-thank-box strong{text-align:left}}
