/* Mana Telugu Foods - WooCommerce shop page additions */
.mtf-shop-page .shop-notices-wrapper{gap:20px;align-items:center}
.mtf-shop-search{position:relative;max-width:430px;width:100%;margin:0}
.mtf-shop-search input{width:100%;height:52px;border:1px solid #e7e3dc;border-radius:4px;padding:0 55px 0 18px;background:#fff}
.mtf-shop-search button{position:absolute;right:0;top:0;width:52px;height:52px;border:0;background:transparent}
.mtf-shop-search button i{font-size:16px}
.mtf-sort-form{margin:0}
.mtf-sort-form select{min-width:180px}
.mtf-category-list .custom-checkbox{cursor:pointer}
.mtf-category-list .custom-checkbox.is-active{font-weight:700}
.mtf-price-filter .slider-wrapper{position:relative;padding:8px 0 18px}
.mtf-price-filter .range-min,.mtf-price-filter .range-max{position:absolute;left:0;right:0;top:8px;width:100%;pointer-events:none;appearance:none;background:transparent;height:6px;margin:0}
.mtf-price-filter .range-min::-webkit-slider-thumb,.mtf-price-filter .range-max::-webkit-slider-thumb{pointer-events:auto;appearance:none;width:16px;height:16px;border-radius:50%;background:#111;border:0;cursor:pointer}
.mtf-price-filter .range-min::-moz-range-thumb,.mtf-price-filter .range-max::-moz-range-thumb{pointer-events:auto;width:16px;height:16px;border-radius:50%;background:#111;border:0;cursor:pointer}
.mtf-price-filter .slider-track{height:4px;background:#ddd;border-radius:10px;position:relative;top:2px}
.mtf-price-filter .filter-bottom{margin-top:15px}
.mtf-price-filter .price-value{font-size:14px}
.mtf-price-filter .filter-btn{border:0;cursor:pointer}
.mtf-product-card .thumb img{max-width:100%;height:auto;display:block;margin:auto}
.mtf-product-card .title{margin-bottom:8px}
.mtf-product-card .price{font-weight:700}
.mtf-size-link{display:flex;align-items:center;justify-content:center;height:42px;border:1px solid #ddd;border-radius:3px;font-size:13px}
.mtf-shop-list-view .mtf-product-list-card{display:flex;align-items:center;gap:30px;padding:25px;margin-bottom:25px;background:#fff;border:1px solid #eee}
.mtf-shop-list-view .mtf-product-list-card:before,.mtf-shop-list-view .mtf-product-list-card .shape,.mtf-shop-list-view .mtf-product-list-card .icon,.mtf-shop-list-view .mtf-product-list-card .frame{display:none}
.mtf-shop-list-view .mtf-product-list-card .thumb{flex:0 0 280px;height:240px;display:flex;align-items:center;justify-content:center;background:#f8f6f1}
.mtf-shop-list-view .mtf-product-list-card .thumb img{max-height:220px;width:auto;max-width:100%}
.mtf-shop-list-view .mtf-product-list-card .content{flex:1}
.mtf-shop-list-view .mtf-product-list-card .pricing-item{display:flex;align-items:center;gap:25px}
.mtf-shop-list-view .mtf-product-list-card .price{font-weight:700}
.mtf-shop-pagination{margin-top:40px}
.mtf-shop-pagination ul{display:flex;gap:8px;justify-content:center;list-style:none;padding:0;margin:0}
.mtf-shop-pagination li{list-style:none}
.mtf-shop-pagination a,.mtf-shop-pagination span{display:flex;align-items:center;justify-content:center;min-width:42px;height:42px;border:1px solid #e5e5e5;padding:0 12px}
@media(max-width:767px){.mtf-shop-search{max-width:none}.mtf-shop-list-view .mtf-product-list-card{display:block}.mtf-shop-list-view .mtf-product-list-card .thumb{width:100%;margin-bottom:20px}.mtf-shop-list-view .mtf-product-list-card .pricing-item{flex-wrap:wrap}}

/* Product listing purchase controls */
.mtf-product-card .content{position:relative;z-index:2}
.mtf-product-buybox{width:100%;margin-top:14px}
.mtf-variation-buybox{display:grid;grid-template-columns:minmax(130px,1fr) auto;gap:9px;align-items:center;width:100%}
.mtf-weight-select{height:42px;width:100%;border:1px solid #ddd;background:#fff;border-radius:4px;padding:0 34px 0 12px;font-size:13px;outline:none}
.mtf-dynamic-price{white-space:nowrap}
.mtf-archive-add{grid-column:1/-1;width:100%;border:0;cursor:pointer;min-height:42px}
.mtf-archive-add:disabled{opacity:.5;cursor:not-allowed}
.mtf-product-list-card .mtf-variation-buybox{max-width:430px;grid-template-columns:160px auto}
@media(max-width:575px){.mtf-variation-buybox,.mtf-product-list-card .mtf-variation-buybox{grid-template-columns:1fr}.mtf-dynamic-price{grid-column:1}}
/* Keep product cards from being distorted by long descriptions/controls. */
.mtf-product-card{height:100%;display:flex;flex-direction:column}
.mtf-product-card .content{flex:1;display:flex;flex-direction:column}
.mtf-product-card .pricing-item{margin-top:auto}
.mtf-product-list-card .content{min-width:0}

/* Screenshot-style dynamic variation selector */
.mtf-product-purchase{margin-top:18px;width:100%;font-family:inherit}
.mtf-purchase-archive{margin-top:10px}
.mtf-option-heading{text-transform:uppercase;letter-spacing:2px;font-weight:700;font-size:14px;color:#777;margin:0 0 10px}
.mtf-weight-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:18px}
.mtf-weight-option{position:relative;min-height:82px;padding:20px 10px 10px;border:3px solid #dedede;border-radius:20px;background:#fff;cursor:pointer;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;transition:.2s;box-shadow:none}
.mtf-weight-option:hover{transform:translateY(-1px)}
.mtf-weight-option.is-selected{border-color:#FFC222;background:#fffaf0}
.mtf-weight-option.is-unavailable{opacity:.45;cursor:not-allowed}
.mtf-weight-option strong{font-size:18px;line-height:1.1;color:#222}
.mtf-option-price{font-size:15px;font-weight:700;color:#222;margin-top:4px;white-space:nowrap}
.mtf-option-badge{position:absolute;top:-17px;left:50%;transform:translateX(-50%);white-space:nowrap;padding:8px 14px;border-radius:22px;background:#202020;color:#fff;font-size:12px;font-weight:700;line-height:1}
.mtf-weight-option:first-child .mtf-option-badge{background:#FFC222}
.mtf-option-check{position:absolute;right:8px;top:8px;width:22px;height:22px;border-radius:50%;background:#FFC222;color:#fff;display:none;align-items:center;justify-content:center;font-size:11px}
.mtf-weight-option.is-selected .mtf-option-check{display:flex}
.mtf-preference-heading{margin-top:12px}
.mtf-preference-options{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:18px}
.mtf-preference-option{min-height:48px;padding:8px 18px;border:3px solid #dedede;border-radius:15px;background:#fff;font-size:16px;font-weight:700;color:#222;cursor:pointer;transition:.2s}
.mtf-preference-option.is-selected{background:#FFC222;border-color:#FFC222;color:#fff}
.mtf-promo-box{display:flex;align-items:center;justify-content:space-between;gap:15px;border:3px dashed #2f8b4c;border-radius:18px;background:#eef7df;padding:14px 16px;margin:10px 0 14px;color:#2f8b4c}
.mtf-promo-box strong{display:block;font-size:17px;line-height:1.2}
.mtf-promo-box span{display:inline-block;margin-top:4px;background:#fff7e8;padding:4px 9px;border-radius:8px;font-size:14px;font-weight:600}
.mtf-promo-box b{font-size:16px}
.mtf-copy-coupon{width:48px;height:48px;border:2px solid #2f8b4c;border-radius:12px;background:#fff;color:#2f8b4c;font-size:18px;cursor:pointer;flex:0 0 48px}
.mtf-purchase-row{display:grid;grid-template-columns:minmax(110px,.75fr) minmax(0,1.25fr);gap:10px}
.mtf-quantity-control{display:flex;align-items:center;justify-content:space-between;border:2px solid #555;border-radius:12px;overflow:hidden;min-height:52px}
.mtf-quantity-control button{width:38px;height:52px;border:0;background:transparent;font-size:25px;color:#222;cursor:pointer}
.mtf-quantity-control .mtf-qty{width:45px;border:0;background:transparent;text-align:center;font-size:20px;outline:none;-moz-appearance:textfield}
.mtf-quantity-control .mtf-qty::-webkit-inner-spin-button,.mtf-quantity-control .mtf-qty::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.mtf-add-product,.mtf-buy-now{min-height:52px;border-radius:12px;cursor:pointer;font-size:18px;font-weight:700;transition:.2s}
.mtf-add-product{background:#fffaf0;border:2px solid #FFC222;color:#FFC222}
.mtf-buy-now{width:100%;margin-top:10px;background:#FFC222;border:2px solid #FFC222;color:#fff}
.mtf-add-product:disabled,.mtf-buy-now:disabled{opacity:.45;cursor:not-allowed}
.mtf-selection-status{font-size:12px;color:#a33;margin-top:5px;min-height:16px}
.mtf-simple-price{font-weight:700;font-size:20px;margin-bottom:8px}
.mtf-simple-purchase .add_to_cart_button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:8px 15px;background:#FFC222;color:#fff;border:0;border-radius:8px;font-weight:700}
.mtf-purchase-list .mtf-weight-options{max-width:520px}
.mtf-purchase-list .mtf-weight-option{min-height:72px}
.mtf-purchase-list .mtf-promo-box{max-width:520px}
@media(max-width:1199px){.mtf-purchase-archive .mtf-weight-option{min-height:76px}.mtf-purchase-archive .mtf-weight-option strong{font-size:16px}.mtf-purchase-archive .mtf-option-badge{font-size:10px}}
@media(max-width:767px){.mtf-weight-options{gap:7px}.mtf-weight-option{border-width:2px;border-radius:14px;min-height:75px}.mtf-option-badge{font-size:9px;padding:7px 9px;top:-14px}.mtf-weight-option strong{font-size:15px}.mtf-option-price{font-size:13px}.mtf-preference-option{font-size:14px;min-height:44px;padding:7px 13px}.mtf-promo-box{padding:12px}.mtf-promo-box strong{font-size:14px}.mtf-purchase-row{grid-template-columns:1fr}.mtf-add-product,.mtf-buy-now{min-height:50px}.mtf-purchase-archive .mtf-promo-box{display:none}}

/* Mana Telugu Foods – final shop layout refinements */
.mtf-shop-page .mtf-product-grid-row{align-items:stretch}
.mtf-shop-page .mtf-product-card{overflow:visible}
/* .mtf-shop-page .mtf-product-card .content{padding-bottom:18px} */
.mtf-shop-page .mtf-product-excerpt{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0 0 10px;line-height:1.5}

/* Two product cards per row inside the main shop column. */
.mtf-shop-page #grid .row > [class*="col-"]{width:50%}
@media(max-width:767px){.mtf-shop-page #grid .row > [class*="col-"]{width:100%}}

/* Compact purchase controls that follow the existing theme rather than the screenshot's oversized UI. */
.mtf-product-purchase{margin-top:14px}
.mtf-option-heading{font-family:inherit;font-size:13px;letter-spacing:1.5px;color:#666;margin:0 0 8px}
.mtf-weight-options{gap:8px;margin-bottom:14px}
.mtf-weight-option{min-height:64px;padding:14px 8px 8px;border:1px solid #ded7cb;border-radius:8px;background:#fff;box-shadow:0 2px 10px rgba(0,0,0,.03)}
.mtf-weight-option.is-selected{border-color:#FFC222;background:#fffaf0;box-shadow:0 3px 12px rgba(233,151,18,.10)}
.mtf-option-badge{top:-12px;padding:5px 9px;border-radius:12px;font-size:10px;background:#2b2b2b}
.mtf-weight-option strong{font-size:15px}
.mtf-option-price{font-size:13px;margin-top:3px}
.mtf-option-check{right:5px;top:5px;width:18px;height:18px;font-size:9px}
.mtf-preference-options{gap:8px;margin-bottom:14px}
.mtf-preference-option{min-height:42px;padding:7px 14px;border:1px solid #ded7cb;border-radius:7px;font-size:14px}
.mtf-preference-option.is-selected{background:#FFC222;border-color:#FFC222;color:#fff}
.mtf-purchase-row{grid-template-columns:100px minmax(0,1fr);gap:8px}
.mtf-quantity-control{min-height:44px;border:1px solid #cfc7bb;border-radius:6px}
.mtf-quantity-control button{height:44px;width:30px;font-size:20px}
.mtf-quantity-control .mtf-qty{font-size:17px;width:35px}
.mtf-add-product,.mtf-buy-now{min-height:44px;border-radius:6px;font-size:14px}
.mtf-add-product{background:#FFC222;border:1px solid #FFC222;color:#fff}
.mtf-buy-now{margin-top:8px;background:#2f2f2f;border-color:#2f2f2f}
.mtf-selection-status{font-size:11px;min-height:14px}
.mtf-simple-purchase .mtf-simple-price{font-size:18px;margin-bottom:7px}

/* Price filter alignment */
.mtf-price-filter .slider-wrapper{height:42px;padding:14px 4px 0;margin:0 0 10px}
.mtf-price-filter .slider-track{top:0;height:4px;width:100%}
.mtf-price-filter .range-min,.mtf-price-filter .range-max{top:0;height:4px}
.mtf-price-filter .range-min::-webkit-slider-thumb,.mtf-price-filter .range-max::-webkit-slider-thumb{width:15px;height:15px}
.mtf-price-filter .range-min::-moz-range-thumb,.mtf-price-filter .range-max::-moz-range-thumb{width:15px;height:15px}
.mtf-price-filter .filter-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:8px}
.mtf-price-filter .price-value{font-size:13px;line-height:1.4;white-space:nowrap}
.mtf-price-filter .filter-btn{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:7px 16px;border-radius:4px;background:#FFC222;color:#fff;font-weight:600}

@media(max-width:1199px){
  .mtf-purchase-archive .mtf-weight-options{gap:6px}
  .mtf-purchase-archive .mtf-weight-option{min-height:60px}
  .mtf-purchase-archive .mtf-weight-option strong{font-size:14px}
}
@media(max-width:767px){
  .mtf-purchase-row{grid-template-columns:90px minmax(0,1fr)}
  .mtf-price-filter .filter-bottom{align-items:flex-start}
  .mtf-price-filter .price-value{white-space:normal}
}

/* ===== Final Mana Telugu Foods shop refinements ===== */
.mtf-shop-page #grid .row > [class*="col-"]{width:50%}
.mtf-shop-page .mtf-product-excerpt{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0 0 10px;line-height:1.45}

/* Compact, theme-aligned variation controls */
.mtf-product-purchase{margin-top:14px}
.mtf-option-heading{font-size:13px;letter-spacing:1.5px;color:#666;margin:0 0 8px}
.mtf-weight-options{gap:8px;margin-bottom:14px}
.mtf-weight-option{min-height:64px;padding:14px 8px 8px;border:1px solid #ded7cb;border-radius:8px;background:#fff;box-shadow:none}
.mtf-weight-option.is-selected{border-color:#FFC222;background:#fffaf0}
.mtf-option-badge{top:-12px;padding:5px 9px;border-radius:12px;font-size:10px;background:#2b2b2b}
.mtf-weight-option strong{font-size:15px}
.mtf-option-price{font-size:13px;margin-top:3px}
.mtf-option-check{right:5px;top:5px;width:18px;height:18px;font-size:9px}
.mtf-preference-options{gap:8px;margin-bottom:14px}
.mtf-preference-option{min-height:42px;padding:7px 14px;border:1px solid #ded7cb;border-radius:7px;font-size:14px}
.mtf-preference-option.is-selected{background:#FFC222;border-color:#FFC222;color:#fff}
.mtf-purchase-row{grid-template-columns:100px minmax(0,1fr);gap:8px}
.mtf-quantity-control{min-height:44px;border:1px solid #cfc7bb;border-radius:6px}
.mtf-quantity-control button{height:44px;width:30px;font-size:20px}
.mtf-quantity-control .mtf-qty{font-size:17px;width:35px}
.mtf-add-product,.mtf-buy-now{min-height:44px;border-radius:6px;font-size:14px}
.mtf-add-product{background:#FFC222;border:1px solid #FFC222;color:#fff}
.mtf-buy-now{margin-top:8px;background:#2f2f2f;border-color:#2f2f2f}
.mtf-selection-status{font-size:11px;min-height:14px}
.mtf-simple-purchase .mtf-simple-price{font-size:18px;margin-bottom:7px}

/* Price filter alignment */
.mtf-price-filter .slider-wrapper{height:42px;padding:14px 4px 0;margin:0 0 10px}
.mtf-price-filter .slider-track{top:0;height:4px;width:100%}
.mtf-price-filter .range-min,.mtf-price-filter .range-max{top:0;height:4px}
.mtf-price-filter .range-min::-webkit-slider-thumb,.mtf-price-filter .range-max::-webkit-slider-thumb{width:15px;height:15px}
.mtf-price-filter .range-min::-moz-range-thumb,.mtf-price-filter .range-max::-moz-range-thumb{width:15px;height:15px}
.mtf-price-filter .filter-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:8px}
.mtf-price-filter .price-value{font-size:13px;line-height:1.4;white-space:nowrap}
.mtf-price-filter .filter-btn{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:7px 16px;border-radius:4px;background:#FFC222;color:#fff;font-weight:600}

@media(max-width:767px){
  .mtf-shop-page #grid .row > [class*="col-"]{width:100%}
  .mtf-purchase-row{grid-template-columns:90px minmax(0,1fr)}
  .mtf-price-filter .filter-bottom{align-items:flex-start}
  .mtf-price-filter .price-value{white-space:normal}
}

/* Purchase controls shared with the product listing */
.mtf-product-purchase .mtf-qty,
.mtf-product-purchase .mtf-qty:focus,
.mtf-product-purchase .mtf-qty:active{color:#111!important;-webkit-text-fill-color:#111!important;opacity:1;background:transparent!important;}
.mtf-product-purchase .mtf-add-product.theme-btn,
.mtf-product-purchase .mtf-buy-now.theme-btn{display:inline-flex;align-items:center;justify-content:center;text-align:center;text-decoration:none;}
.mtf-product-purchase .mtf-add-product.theme-btn{background:#fff;border:2px solid #FFC222;color:#FFC222;}
.mtf-product-purchase .mtf-add-product.theme-btn:hover{background:#FFC222;color:#fff;}
.mtf-product-purchase .mtf-buy-now.theme-btn{background:#FFC222;border:2px solid #FFC222;color:#fff;}
.mtf-product-purchase .mtf-buy-now.theme-btn:hover{background:#222;border-color:#222;color:#fff;}
.mtf-cart-success-popup{position:fixed;inset:0;z-index:99999;display:none;align-items:center;justify-content:center;padding:20px;}
.mtf-cart-success-popup.is-open{display:flex;}
.mtf-cart-success-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.55);cursor:pointer;}
.mtf-cart-success-dialog{position:relative;z-index:2;width:min(500px,100%);background:#fff;border-radius:14px;padding:34px 30px;text-align:center;box-shadow:0 20px 70px rgba(0,0,0,.25);}
.mtf-popup-close{position:absolute;right:14px;top:10px;border:0;background:transparent;font-size:28px;line-height:1;color:#555;cursor:pointer;}
.mtf-popup-icon{width:58px;height:58px;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 15px;background:#FFC222;color:#fff;font-size:25px;}
.mtf-cart-success-dialog h3{font-size:28px;margin:0 0 8px;}
.mtf-cart-success-dialog p{margin:0 0 22px;color:#666;}
.mtf-popup-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;}
.mtf-popup-actions .theme-btn{min-width:175px;}
body.mtf-popup-open{overflow:hidden;}
@media(max-width:575px){.mtf-cart-success-dialog{padding:30px 18px}.mtf-popup-actions{flex-direction:column}.mtf-popup-actions .theme-btn{width:100%;}}

/* Final purchase UI fixes */
.mtf-product-purchase .mtf-qty,.mtf-product-purchase .mtf-qty:focus{color:#111 !important;-webkit-text-fill-color:#111 !important;background:#fff !important;opacity:1 !important;}
.mtf-product-purchase .mtf-qty-minus,.mtf-product-purchase .mtf-qty-plus{color:#111 !important;}
.mtf-product-purchase .mtf-add-product{background:transparent;border:2px solid #FFC222;color:#FFC222;}
.mtf-product-purchase .mtf-add-product:hover{background:#FFC222;color:#fff;}
.mtf-product-purchase .mtf-buy-now.theme-btn{background:#FFC222;border:2px solid #FFC222;color:#fff;}
.mtf-product-purchase .mtf-buy-now.theme-btn:hover{background:#222;border-color:#222;color:#fff;}


/* Cart drawer – shared across product listing and product details */
.mtf-cart-drawer{position:fixed;inset:0;z-index:100000;visibility:hidden;pointer-events:none}
.mtf-cart-drawer.is-open{visibility:visible;pointer-events:auto}
.mtf-cart-drawer-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.45);opacity:0;transition:opacity .25s}
.mtf-cart-drawer.is-open .mtf-cart-drawer-backdrop{opacity:1}
.mtf-cart-drawer-panel{position:absolute;top:0;right:0;width:min(530px,100%);height:100%;background:#fff;box-shadow:-10px 0 35px rgba(0,0,0,.16);transform:translateX(100%);transition:transform .3s ease;display:flex;flex-direction:column}
.mtf-cart-drawer.is-open .mtf-cart-drawer-panel{transform:translateX(0)}
.mtf-cart-drawer-content{height:100%;display:flex;flex-direction:column;min-height:0}
.mtf-cart-drawer-head{height:64px;display:flex;align-items:center;justify-content:space-between;padding:0 27px;border-bottom:1px solid #eee;flex:0 0 auto}
.mtf-cart-drawer-head h3{font-size:18px;margin:0;font-weight:700;color:#151515}
.mtf-cart-drawer-count{font-size:16px}
.mtf-cart-drawer-close{border:0;background:transparent;font-size:32px;line-height:1;color:#222;cursor:pointer;padding:0 2px}
.mtf-cart-drawer-items{overflow:auto;flex:1;padding:10px 16px 15px}
.mtf-cart-drawer-item{position:relative;display:grid;grid-template-columns:76px minmax(0,1fr) auto;gap:14px;padding:14px 10px;border-bottom:1px solid #eee}
.mtf-cart-drawer-thumb{width:76px;height:76px;border-radius:8px;overflow:hidden;background:#f4f1ea;display:flex;align-items:center;justify-content:center}
.mtf-cart-drawer-thumb img{width:100%;height:100%;object-fit:cover}
.mtf-cart-drawer-remove{position:absolute;left:0;top:7px;width:22px;height:22px;border:0;border-radius:50%;background:#e8e8e8;color:#555;line-height:20px;padding:0;cursor:pointer;z-index:2}
.mtf-cart-drawer-info{min-width:0;padding-right:4px}
.mtf-cart-drawer-name{display:block;font-size:16px;font-weight:700;line-height:1.35;color:#222;margin-bottom:4px}
.mtf-cart-drawer-variation{font-size:13px;color:#777;margin-bottom:3px}
.mtf-cart-drawer-price{font-size:13px;color:#555;margin-bottom:7px}
.mtf-cart-drawer-qty{display:inline-flex;align-items:center;border:1px solid #ddd;border-radius:6px;overflow:hidden;height:30px}
.mtf-cart-drawer-qty button{width:30px;height:30px;border:0;background:#fff;color:#222;font-size:17px;cursor:pointer}
.mtf-cart-drawer-qty span{min-width:30px;text-align:center;color:#111;font-size:13px}
.mtf-cart-drawer-line-total{font-size:14px;font-weight:600;color:#222;white-space:nowrap;padding-top:2px}
.mtf-cart-drawer-empty{text-align:center;padding:80px 25px;color:#666}
.mtf-cart-drawer-empty-icon{font-size:42px;color:#FFC222;margin-bottom:12px}
.mtf-cart-drawer-empty h4{font-size:22px;margin:0 0 7px;color:#222}
.mtf-cart-drawer-empty p{margin:0}
.mtf-cart-drawer-bottom{flex:0 0 auto;border-top:1px solid #e5e5e5;background:#fff}
.mtf-cart-drawer-discount{width:100%;display:flex;align-items:center;justify-content:space-between;padding:17px 27px;border:0;border-bottom:1px solid #eee;background:#fff;color:#333;font-size:15px;font-weight:600;cursor:pointer;text-align:left}
.mtf-cart-drawer-subtotal{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;padding:19px 27px 14px;color:#222}
.mtf-cart-drawer-subtotal strong{font-size:15px}
.mtf-cart-drawer-subtotal small{display:block;font-size:12px;color:#666;margin-top:6px}
.mtf-cart-drawer-checkout,.mtf-cart-drawer-continue{display:flex;align-items:center;justify-content:center;min-height:50px;margin:0 18px 12px;border-radius:5px;font-size:18px;text-decoration:none}
.mtf-cart-drawer-checkout{background:#eee;color:#222}
.mtf-cart-drawer-continue{background:#FFC222;color:#111;margin-bottom:18px}
.mtf-cart-drawer-checkout:hover,.mtf-cart-drawer-continue:hover{color:#111}
body.mtf-cart-drawer-open{overflow:hidden}
/* Requested page background */
body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag,body.single-product{background:#f4f1ea}
.mtf-shop-page{background:#f4f1ea}
.mtf-single-product{background:#f4f1ea}
@media(max-width:575px){
 .mtf-cart-drawer-panel{width:100vw}
 .mtf-cart-drawer-head{padding:0 18px}
 .mtf-cart-drawer-items{padding-left:8px;padding-right:8px}
 .mtf-cart-drawer-item{grid-template-columns:72px minmax(0,1fr) auto;gap:11px;padding-left:12px}
 .mtf-cart-drawer-thumb{width:72px;height:72px}
 .mtf-cart-drawer-name{font-size:15px}
 .mtf-cart-drawer-subtotal,.mtf-cart-drawer-discount{padding-left:18px;padding-right:18px}
}
/* Final global drawer overrides on WooCommerce shop pages */
.mtf-cart-drawer{position:fixed!important;inset:0!important;width:100vw!important;height:100vh!important;z-index:2147483647!important;visibility:hidden!important;pointer-events:none!important}
.mtf-cart-drawer.is-open{visibility:visible!important;pointer-events:auto!important}
.mtf-cart-drawer-backdrop{position:fixed!important;inset:0!important;width:100vw!important;height:100vh!important;z-index:1!important;background:rgba(0,0,0,.64)!important;opacity:1!important}
.mtf-cart-drawer-panel{position:absolute!important;top:0!important;right:0!important;width:min(540px,100vw)!important;height:100vh!important;max-height:100vh!important;z-index:2!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}
.mtf-cart-drawer-content{height:100%!important;max-height:100vh!important;min-height:0!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}
.mtf-cart-drawer-items{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;-webkit-overflow-scrolling:touch!important}
.footer-section.footer-fix-padding-3{padding-bottom:0!important}

/* Order confirmation popup */
.mtf-order-success-popup{position:fixed;inset:0;z-index:2147483647;display:none;align-items:center;justify-content:center;padding:20px}
.mtf-order-success-popup.is-open{display:flex}.mtf-order-success-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.62)}
.mtf-order-success-dialog{position:relative;z-index:1;width:min(500px,100%);background:#fff;border-radius:20px;padding:38px 32px 32px;text-align:center;box-shadow:0 25px 80px rgba(0,0,0,.28)}
.mtf-order-success-close{position:absolute;right:15px;top:10px;border:0;background:none;color:#222;font-size:30px;line-height:1;cursor:pointer}
.mtf-order-success-icon{width:72px;height:72px;border-radius:50%;margin:0 auto 16px;background:#FFC222;color:#fff;display:flex;align-items:center;justify-content:center;font-size:30px}
.mtf-order-success-label{display:block;color:#FFC222;font-size:12px;font-weight:800;letter-spacing:2px;margin-bottom:7px}.mtf-order-success-dialog h3{font-size:28px;margin:0 0 10px;color:#173f72}
.mtf-order-success-dialog p{margin:0 auto 22px;color:#666;line-height:1.7;max-width:410px}.mtf-order-success-continue{border:0;cursor:pointer;min-width:190px}body.mtf-order-success-open{overflow:hidden!important}
@media(max-width:575px){.mtf-order-success-popup{padding:12px}.mtf-order-success-dialog{padding:34px 20px 24px;border-radius:16px}.mtf-order-success-dialog h3{font-size:23px}.mtf-order-success-icon{width:62px;height:62px;font-size:25px}}


/* Full-width category-tab shop layout */
.mtf-shop-page { background:#fff; }
.mtf-category-tabs-wrap{margin:0 0 30px;padding:22px 0 0;border-bottom:1px solid #e9e5dc}
.mtf-category-tabs-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:16px}
.mtf-category-tabs-head h2{font-size:30px;line-height:1.1;margin:0;color:#1e1d23}
.mtf-category-tabs-head span{font-size:14px;color:#777}
.mtf-category-tabs{display:flex;gap:10px;overflow-x:auto;padding:4px 2px 14px;scrollbar-width:none}
.mtf-category-tabs::-webkit-scrollbar{display:none}
.mtf-category-tab{flex:0 0 auto;border:1px solid #ded8ce;background:#fff;color:#35322d;border-radius:999px;padding:10px 18px;font-size:15px;font-weight:700;line-height:1;cursor:pointer;transition:.2s}
.mtf-category-tab:hover{border-color:#00833E;color:#00833E}
.mtf-category-tab.is-active{background:#00833E;border-color:#00833E;color:#fff}
.mtf-category-tabs.is-loading .mtf-category-tab{pointer-events:none;opacity:.7}
.mtf-shop-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}
.mtf-shop-toolbar .shop-showing{flex:1;display:flex;align-items:center;justify-content:flex-end;gap:20px}
.mtf-shop-toolbar .shop-showing p{margin:0;font-size:14px}
.mtf-ajax-product-grid{position:relative;min-height:100px}
.mtf-ajax-product-grid > .row{margin-left:0;margin-right:0}
.mtf-ajax-product-grid.is-loading{opacity:.55;pointer-events:none}
.mtf-shop-product-col{display:flex}
.mtf-shop-product-col .mtf-product-card{width:100%}
.mtf-shop-ajax-error{text-align:center;padding:40px;font-weight:700}
.mtf-product-card .thumb img{width:100%;object-fit:contain}

/* Use four cards per row on desktop; the shop has no left sidebar now. */
@media(min-width:1200px){
  .mtf-shop-product-col{flex:0 0 25%;max-width:25%}
}
@media(max-width:1199px) and (min-width:768px){
  .mtf-shop-product-col{flex:0 0 33.333333%;max-width:33.333333%}
}
@media(max-width:767px){
  .mtf-category-tabs-wrap{padding-top:8px;margin-bottom:20px}
  .mtf-category-tabs-head{display:block}
  .mtf-category-tabs-head h2{font-size:23px;margin-bottom:5px}
  .mtf-category-tabs-head span{font-size:13px}
  .mtf-category-tabs{gap:8px;padding-bottom:12px}
  .mtf-category-tab{font-size:14px;padding:10px 15px}
  .mtf-shop-toolbar{display:block;margin-bottom:20px}
  .mtf-shop-toolbar .shop-showing{margin-top:12px;display:flex;justify-content:space-between;gap:10px}
  .mtf-shop-toolbar .shop-showing p{font-size:13px}
  .mtf-shop-product-col{flex:0 0 100%;max-width:100%}
  .mtf-ajax-product-grid > .row{row-gap:16px!important}
}

/* Ensure typed text remains readable after the main.css replacement. */
.mtf-shop-page input,.mtf-shop-page select,.mtf-shop-page textarea{color:#222!important;-webkit-text-fill-color:#222!important;background:#fff;}

/* ===== Final shop toolbar cleanup =====
   The desktop search/result-count/sorting row is intentionally hidden per the approved listing design.
   Markup remains available to the existing AJAX/category code. */
.mtf-shop-page .mtf-shop-toolbar{display:none!important;}

/* ===== MTF Shop V3: full-width desktop grid + true mobile product card ===== */
.mtf-shop-page,
.mtf-shop-page .mtf-shop-container{width:100%;max-width:none}
.mtf-shop-page .mtf-shop-container{padding-left:32px;padding-right:32px}
.mtf-shop-page .mtf-category-tabs-wrap{width:100%}
.mtf-shop-page .mtf-category-tabs{width:100%;align-items:center}
.mtf-shop-page .mtf-category-tab{font-family:inherit;white-space:nowrap}
.mtf-ajax-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;width:100%;align-items:stretch}
.mtf-ajax-product-grid .mtf-shop-product-col{min-width:0;max-width:none!important;width:auto!important;padding:0!important;margin:0!important;display:block!important}
.mtf-ajax-product-grid .mtf-shop-product-col > .mtf-product-card{height:100%;margin:0!important; box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);}
.mtf-product-card .thumb img{max-width:100%;height:auto;object-fit:contain}

/* Remove the old bootstrap row/column assumptions. */
.mtf-shop-page .mtf-ajax-product-grid > .row{display:contents!important}

@media(max-width:1199px){
  .mtf-ajax-product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
  .mtf-shop-page .mtf-shop-container{padding-left:24px;padding-right:24px}
}

@media(max-width:767px){
  .mtf-shop-page .mtf-shop-container{padding-left:12px;padding-right:12px}
  .mtf-category-tabs-wrap{margin-bottom:16px;padding-top:6px}
  .mtf-category-tabs-head{display:none}
  .mtf-category-tabs{gap:8px;padding:2px 0 12px;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
  .mtf-category-tab{padding:10px 16px;font-size:14px;min-height:40px}
  .mtf-ajax-product-grid{grid-template-columns:1fr;gap:14px}

  /* Reference-style mobile product card: image left, details right. */
  .mtf-ajax-product-grid .mtf-shop-product-col{width:100%!important;min-width:0!important}
  .mtf-ajax-product-grid .mtf-product-card.food-category-items-4{
    display:grid!important;
    grid-template-columns:minmax(132px,38%) minmax(0,62%);
    gap:0!important;
    padding:0!important;
    margin:0!important;
    min-height:205px;
    background:#fff!important;
    border:1px solid #ece7dd!important;
    border-radius:14px!important;
    box-shadow:0 3px 14px rgba(0,0,0,.06)!important;
    overflow:hidden!important;
  }
  .mtf-ajax-product-grid .mtf-product-card .shape,
  .mtf-ajax-product-grid .mtf-product-card .icon{display:none!important}
  .mtf-ajax-product-grid .mtf-product-card .thumb{
    grid-column:1;
    grid-row:1;
    width:100%!important;
    min-height:auto!important;
    height:100%!important;
    margin:0!important;
    padding:10px!important;
    display:block!important;
    align-items:center!important;
    justify-content:center!important;
    background:#ffc222!important;
    overflow:hidden!important;
    position: relative;
  }
  .mtf-ajax-product-grid .mtf-product-card .thumb a{display:flex;width:100%;height:auto;padding-bottom:5px; align-items:center;justify-content:center}
  .mtf-ajax-product-grid .mtf-product-card .thumb img{width:100%!important;height:100%!important;max-height:190px!important;object-fit:contain!important}
  .mtf-ajax-product-grid .mtf-product-card .content{
    grid-column:2;
    grid-row:1;
    width:100%!important;
    min-width:0!important;
    padding:14px 12px 12px!important;
    margin:0!important;
    text-align:left!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:flex-start!important;
    overflow:hidden!important;
  }
  .mtf-ajax-product-grid .mtf-product-card .content .star{font-size:11px;margin-bottom:4px}
  .mtf-ajax-product-grid .mtf-product-card .content .title,
  .mtf-ajax-product-grid .mtf-product-card .content h2.title{
    font-size:19px!important;line-height:1.15!important;margin:0 0 5px!important;font-weight:700!important;
  }
  .mtf-ajax-product-grid .mtf-product-card .mtf-product-excerpt{font-size:12px!important;line-height:1.35!important;margin:0 0 8px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#777}
  .mtf-ajax-product-grid .mtf-product-card .mtf-product-buybox{margin-top:auto!important;padding-top:2px;width:100%!important}
  .mtf-ajax-product-grid .mtf-product-card .mtf-option-heading{font-size:11px!important;letter-spacing:1px!important;margin:0 0 7px!important}
  .mtf-ajax-product-grid .mtf-product-card .mtf-weight-options{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important;margin-bottom:9px!important}
  .mtf-ajax-product-grid .mtf-product-card .mtf-weight-option{min-height:55px!important;padding:10px 4px 5px!important;border-radius:8px!important;border-width:1px!important}
  .mtf-ajax-product-grid .mtf-product-card .mtf-weight-option strong{font-size:13px!important}
  .mtf-ajax-product-grid .mtf-product-card .mtf-option-price{font-size:11px!important;margin-top:2px!important}
  .mtf-ajax-product-grid .mtf-product-card .mtf-option-badge{font-size:7px!important;padding:4px 6px!important;top:-9px!important}
  .mtf-ajax-product-grid .mtf-product-card .mtf-option-check{width:15px!important;height:15px!important;right:3px!important;top:3px!important;font-size:8px!important}
  .mtf-ajax-product-grid .mtf-product-card .mtf-purchase-row{grid-template-columns:68px minmax(0,1fr)!important;gap:5px!important}
  .mtf-ajax-product-grid .mtf-product-card .mtf-quantity-control{min-height:38px!important;border-radius:7px!important}
  .mtf-ajax-product-grid .mtf-product-card .mtf-quantity-control button{height:38px!important;width:22px!important;font-size:17px!important}
  .mtf-ajax-product-grid .mtf-product-card .mtf-quantity-control .mtf-qty{font-size:14px!important;width:24px!important}
  .mtf-ajax-product-grid .mtf-product-card .mtf-add-product{min-height:38px!important;border-radius:7px!important;font-size:12px!important;padding:0 8px!important;white-space:nowrap}
  .mtf-ajax-product-grid .mtf-product-card .mtf-buy-now{display:none!important}
}

@media(max-width:390px){
  .mtf-ajax-product-grid .mtf-product-card.food-category-items-4{grid-template-columns:122px minmax(0,1fr);min-height:192px}
  .mtf-ajax-product-grid .mtf-product-card .thumb{min-height:192px!important}
  .mtf-ajax-product-grid .mtf-product-card .thumb img{max-height:178px!important}
  .mtf-ajax-product-grid .mtf-product-card .content{padding:12px 9px 10px!important}
  .mtf-ajax-product-grid .mtf-product-card .content .title,
  .mtf-ajax-product-grid .mtf-product-card .content h2.title{font-size:17px!important}
  .mtf-ajax-product-grid .mtf-product-card .mtf-weight-option strong{font-size:12px!important}
  .mtf-ajax-product-grid .mtf-product-card .mtf-option-price{font-size:10px!important}
}

/* Make the supplied main.css input rules safe on shop controls. */
.mtf-shop-page input,.mtf-shop-page input:focus,.mtf-shop-page select,.mtf-shop-page select:focus,.mtf-shop-page textarea{color:#222!important;-webkit-text-fill-color:#222!important}

/* ===== MTF Shop V4 - mobile cleanup ===== */
@media (max-width: 767px){
  /* Remove the mobile breadcrumb/banner and the empty gap below the header. */
  body.woocommerce-shop .breadcrumb-wrapper,
  body.tax-product_cat .breadcrumb-wrapper,
  body.tax-product_tag .breadcrumb-wrapper{
    display:none!important;
  }
  body.woocommerce-shop .mtf-shop-page,
  body.tax-product_cat .mtf-shop-page,
  body.tax-product_tag .mtf-shop-page{
    padding-top:8px!important;
    padding-bottom:80px!important;
  }
  .mtf-shop-page .mtf-shop-container{
    padding-left:10px!important;
    padding-right:10px!important;
  }

  /* Tabs should sit directly under the header. */
  .mtf-category-tabs-wrap{
    margin:0 0 10px!important;
    padding:0!important;
    border-bottom:0!important;
  }
  .mtf-category-tabs{
    padding:0 0 8px!important;
    gap:8px!important;
  }
  .mtf-category-tab{
    min-height:42px!important;
    padding:9px 16px!important;
    font-size:14px!important;
    line-height:1!important;
  }

  /* Remove the marked search / result-count / sorting block on mobile. */
  .mtf-shop-page .mtf-shop-toolbar{
    display:none!important;
  }

  /* Compact reference-style mobile product card. */
  .mtf-ajax-product-grid{
    gap:10px!important;
  }
  .mtf-ajax-product-grid .mtf-product-card.food-category-items-4{
    grid-template-columns:112px minmax(0,1fr)!important;
    min-height:176px!important;
    height:176px!important;
    border-radius:12px!important;
  }
  .mtf-ajax-product-grid .mtf-product-card .thumb{
    min-height:176px!important;
    height:176px!important;
    padding:6px!important;
    background:#f4f1ea!important;
  }
  .mtf-ajax-product-grid .mtf-product-card .thumb img{
    max-height:164px!important;
    object-fit:contain!important;
  }
  .mtf-ajax-product-grid .mtf-product-card .content{
    padding:10px 10px 8px!important;
    min-height:0!important;
  }
  .mtf-ajax-product-grid .mtf-product-card .content .star,
  .mtf-ajax-product-grid .mtf-product-card .mtf-product-excerpt{
    display:none!important;
  }
  .mtf-ajax-product-grid .mtf-product-card .content .title,
  .mtf-ajax-product-grid .mtf-product-card .content h2.title{
    font-size:16px!important;
    line-height:1.12!important;
    margin:0 0 4px!important;
    display:-webkit-box!important;
    -webkit-line-clamp:2!important;
    -webkit-box-orient:vertical!important;
    overflow:hidden!important;
  }
  .mtf-ajax-product-grid .mtf-product-card .mtf-product-buybox{
    margin-top:auto!important;
    padding-top:0!important;
  }
  .mtf-ajax-product-grid .mtf-product-card .mtf-option-heading{
    font-size:9px!important;
    letter-spacing:.8px!important;
    margin:0 0 5px!important;
  }
  .mtf-ajax-product-grid .mtf-product-card .mtf-weight-options{
    gap:4px!important;
    margin-bottom:6px!important;
  }
  .mtf-ajax-product-grid .mtf-product-card .mtf-weight-option{
    min-height:43px!important;
    height:43px!important;
    padding:7px 2px 3px!important;
    border-radius:7px!important;
  }
  .mtf-ajax-product-grid .mtf-product-card .mtf-weight-option strong{
    font-size:11px!important;
  }
  .mtf-ajax-product-grid .mtf-product-card .mtf-option-price{
    font-size:9px!important;
    margin-top:1px!important;
  }
  .mtf-ajax-product-grid .mtf-product-card .mtf-option-badge{
    font-size:6px!important;
    padding:3px 5px!important;
    top:-7px!important;
  }
  .mtf-ajax-product-grid .mtf-product-card .mtf-option-check{
    width:12px!important;
    height:12px!important;
    right:2px!important;
    top:2px!important;
    font-size:6px!important;
  }
  .mtf-ajax-product-grid .mtf-product-card .mtf-purchase-row{
    grid-template-columns:58px minmax(0,1fr)!important;
    gap:4px!important;
  }
  .mtf-ajax-product-grid .mtf-product-card .mtf-quantity-control{
    min-height:31px!important;
    height:31px!important;
    border-width:1px!important;
    border-radius:6px!important;
  }
  .mtf-ajax-product-grid .mtf-product-card .mtf-quantity-control button{
    height:31px!important;
    width:18px!important;
    font-size:14px!important;
  }
  .mtf-ajax-product-grid .mtf-product-card .mtf-quantity-control .mtf-qty{
    width:20px!important;
    font-size:12px!important;
  }
  .mtf-ajax-product-grid .mtf-product-card .mtf-add-product{
    min-height:31px!important;
    height:31px!important;
    border-radius:6px!important;
    font-size:10px!important;
    padding:0 5px!important;
  }

  /* Keep the mobile card compact on very narrow phones. */
  @media(max-width:390px){
    .mtf-ajax-product-grid .mtf-product-card.food-category-items-4{
      grid-template-columns:106px minmax(0,1fr)!important;
      min-height:170px!important;
      height:170px!important;
    }
    .mtf-ajax-product-grid .mtf-product-card .thumb{
      min-height:170px!important;
      height:170px!important;
    }
    .mtf-ajax-product-grid .mtf-product-card .thumb img{max-height:158px!important}
    .mtf-ajax-product-grid .mtf-product-card .content{padding:9px 8px 7px!important}
  }
}

/* ===== Mobile bottom navigation ===== */
.mtf-mobile-bottom-nav{
  display:none;
}
@media(max-width:767px){
  .mtf-mobile-bottom-nav{
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    z-index:2147483646;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    min-height:62px;
    padding:7px 6px calc(7px + env(safe-area-inset-bottom));
    background:#fff;
    border-top:1px solid #e9e4da;
    box-shadow:0 -8px 25px rgba(0,0,0,.08);
  }
  .mtf-mobile-bottom-nav a{
    position:relative;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:2px;
    min-height:48px;
    color:#555;
    font-family:"Nunito",sans-serif;
    font-size:11px;
    font-weight:700;
    line-height:1.1;
    text-decoration:none;
  }
  .mtf-mobile-bottom-nav a i{
    font-size:18px;
    line-height:1;
  }
  .mtf-mobile-bottom-nav a.is-active,
  .mtf-mobile-bottom-nav a:focus,
  .mtf-mobile-bottom-nav a:hover{
    color:#00833E;
  }
  .mtf-mobile-bottom-nav .mtf-mobile-nav-cart-count{
    position:absolute;
    top:1px;
    right:24%;
    min-width:16px;
    height:16px;
    padding:0 4px;
    border-radius:20px;
    background:#FFC222;
    color:#1e1d23;
    font-size:9px;
    line-height:16px;
    text-align:center;
  }
}


/* ===== V5 mobile product-card refinement ===== */
@media (max-width:767px){
  .mtf-ajax-product-grid .mtf-product-card.food-category-items-4{
    grid-template-columns:128px minmax(0,1fr)!important;
    min-height:160px!important;
    height:160px!important;
    overflow:hidden!important;
  }
  .mtf-ajax-product-grid .mtf-product-card .thumb{
    min-height:190px!important;
    height:190px!important;
    padding:5px!important;
    background:#f4f1ea!important;
    display:block!important;
    align-items:center!important;
    justify-content:center!important;
  }
  .mtf-ajax-product-grid .mtf-product-card .thumb img{
    width:100%!important;
    height:100%!important;
    max-height:184px!important;
    object-fit:contain!important;
  }
  .mtf-ajax-product-grid .mtf-product-card .content{
    padding:9px 9px 7px!important;
    overflow:hidden!important;
    min-width:0!important;
  }
  .mtf-ajax-product-grid .mtf-product-card .content .title,
  .mtf-ajax-product-grid .mtf-product-card .content h2.title{
    font-size:17px!important;
    line-height:1.12!important;
    margin:0 0 3px!important;
    display:-webkit-box!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:2!important;
    overflow:hidden!important;
    max-height:38px!important;
  }
  .mtf-ajax-product-grid .mtf-product-card .content .mtf-product-excerpt{
    display:-webkit-box!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:1!important;
    white-space:normal!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    font-size:11.5px!important;
    line-height:1.2!important;
    max-height:18px!important;
    margin:0 0 3px!important;
    color:#777!important;
  }
  .mtf-ajax-product-grid .mtf-product-card .mtf-product-buybox{margin-top:0!important;padding-top:0!important}
  .mtf-ajax-product-grid .mtf-product-card .mtf-option-heading{margin:0 0 4px!important;font-size:9px!important;line-height:1!important;letter-spacing:.8px!important}
  .mtf-ajax-product-grid .mtf-product-card .mtf-weight-options{gap:4px!important;margin:0 0 5px!important}
  .mtf-ajax-product-grid .mtf-product-card .mtf-weight-option{min-height:38px!important;height:38px!important;padding:6px 2px 2px!important;border-radius:7px!important}
  .mtf-ajax-product-grid .mtf-product-card .mtf-weight-option strong{font-size:10.5px!important;line-height:1!important}
  .mtf-ajax-product-grid .mtf-product-card .mtf-option-price{font-size:9px!important;line-height:1!important;margin-top:2px!important}
  .mtf-ajax-product-grid .mtf-product-card .mtf-option-badge{font-size:5.5px!important;padding:3px 5px!important;top:-6px!important}
  .mtf-ajax-product-grid .mtf-product-card .mtf-option-check{width:11px!important;height:11px!important;right:2px!important;top:2px!important;font-size:6px!important}
  .mtf-ajax-product-grid .mtf-product-card .mtf-purchase-row{grid-template-columns:58px minmax(0,1fr)!important;gap:4px!important}
  .mtf-ajax-product-grid .mtf-product-card .mtf-quantity-control{height:30px!important;min-height:30px!important;border-radius:6px!important}
  .mtf-ajax-product-grid .mtf-product-card .mtf-quantity-control button{width:17px!important;height:30px!important;font-size:14px!important}
  .mtf-ajax-product-grid .mtf-product-card .mtf-quantity-control .mtf-qty{width:20px!important;font-size:12px!important}
  .mtf-ajax-product-grid .mtf-product-card .mtf-add-product{height:30px!important;min-height:30px!important;border-radius:6px!important;font-size:10px!important;padding:0 4px!important}
}
@media(max-width:390px){
  .mtf-ajax-product-grid .mtf-product-card.food-category-items-4{grid-template-columns:118px minmax(0,1fr)!important;min-height:160px!important;height:160px!important}
  .mtf-ajax-product-grid .mtf-product-card .thumb{min-height:190px!important;height:190px!important}
  .mtf-ajax-product-grid .mtf-product-card .thumb img{max-height:184px!important}
}


/* ===== V21 Category heading + filter drawer ===== */
.mtf-category-results-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:4px 0 18px;padding:0 2px}
.mtf-category-results-head>div{align-items:baseline;gap:10px;min-width:0}
.mtf-category-results-head h1{font-size:28px;line-height:1.1;margin:0;color:#171717;font-weight:800}
.mtf-category-results-head #mtf-category-count{font-size:15px;color:#6d6d6d;white-space:nowrap}
.mtf-filter-open{position:relative;display:inline-flex;align-items:center;gap:8px;border:1px solid #ddd6cb;background:#fff;color:#171717;border-radius:9px;padding:10px 16px;font-size:15px;font-weight:700;cursor:pointer}
.mtf-filter-open:hover{border-color:#FFC222;background:#fffdf0}
.mtf-filter-open i{font-size:14px}.mtf-filter-open b{display:inline-flex;min-width:18px;height:18px;border-radius:50%;align-items:center;justify-content:center;background:#FFC222;color:#111;font-size:10px}
.mtf-filter-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.42);z-index:99991;opacity:0;visibility:hidden;transition:.2s}
.mtf-filter-backdrop.is-open{opacity:1;visibility:visible}
.mtf-filter-drawer{position:fixed;top:0;right:0;bottom:0;width:min(390px,92vw);background:#fff;z-index:99992;transform:translateX(105%);transition:transform .28s ease;box-shadow:-12px 0 35px rgba(0,0,0,.18);display:flex;flex-direction:column}
.mtf-filter-drawer.is-open{transform:translateX(0)}
.mtf-filter-drawer-head{display:flex;align-items:center;justify-content:space-between;padding:20px 22px;border-bottom:1px solid #eee}
.mtf-filter-drawer-head h3{margin:0;font-size:25px}.mtf-filter-drawer-head button{border:0;background:none;font-size:30px;line-height:1;cursor:pointer;color:#222}
.mtf-filter-body{overflow:auto;padding:4px 22px 110px}.mtf-filter-group{padding:20px 0;border-bottom:1px solid #ece7df}.mtf-filter-group h4{margin:0 0 14px;font-size:18px}.mtf-filter-group label{display:flex;align-items:center;gap:10px;padding:8px 0;font-size:15px;color:#333;cursor:pointer}.mtf-filter-group input[type=radio]{width:18px;height:18px;accent-color:#FFC222}
.mtf-price-range-row{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;margin-bottom:15px}.mtf-price-range-row input{width:100%;height:40px;border:1px solid #ddd;border-radius:7px;padding:0 10px;color:#222;background:#fff}.mtf-filter-group input[type=range]{width:100%;accent-color:#FFC222;margin:7px 0;display:block}
.mtf-filter-actions{position:absolute;bottom:0;left:0;right:0;padding:14px 22px;background:#fff;border-top:1px solid #eee;display:grid;grid-template-columns:1fr 1fr;gap:10px}.mtf-filter-actions button{min-height:46px;border-radius:8px;font-size:15px;font-weight:800;cursor:pointer}.mtf-filter-apply{border:1px solid #FFC222;background:#FFC222;color:#111}.mtf-filter-reset{border:1px solid #222;background:#fff;color:#222}
body.mtf-filter-lock{overflow:hidden}
/* requested brand accent: replace old orange shop controls with #FFC222 */
.mtf-shop-page .mtf-add-product,.mtf-shop-page .mtf-buy-now,.mtf-shop-page .mtf-preference-option.is-selected,.mtf-shop-page .mtf-product-purchase .mtf-buy-now,.mtf-shop-page .mtf-simple-purchase .add_to_cart_button{background:#FFC222!important;border-color:#FFC222!important;color:#111!important}
.mtf-shop-page .mtf-add-product{color:#111!important}.mtf-shop-page .mtf-weight-option.is-selected{border-color:#FFC222!important;background:#fffdf0!important}.mtf-shop-page .mtf-option-check{background:#FFC222!important;color:#111!important}.mtf-shop-page .mtf-option-badge{background:#2b2b2b!important}
@media(max-width:767px){.mtf-category-results-head{margin:2px 0 12px}.mtf-category-results-head h1{font-size:22px}.mtf-category-results-head #mtf-category-count{font-size:13px}.mtf-filter-open{padding:4px 13px;font-size:14px}.mtf-filter-drawer{width:100%;max-width:none}.mtf-filter-drawer-head{padding:16px 18px}.mtf-filter-body{padding:0 18px 100px}.mtf-filter-actions{padding:12px 18px}}

/* V21 product ratings */
.mtf-product-rating{display:flex;align-items:center;gap:2px;margin:0 0 6px;line-height:1}
.mtf-product-rating i{font-size:13px;color:#FFC222}
.mtf-product-rating i.fa-light{color:#cfcfcf;opacity:.8}
.mtf-product-rating .mtf-rating-value{margin-left:5px;font-size:12px;font-weight:700;color:#666}
@media(max-width:767px){.mtf-product-rating{margin-bottom:3px}.mtf-product-rating i{font-size:10px}.mtf-product-rating .mtf-rating-value{font-size:10px;margin-left:3px}}

/* ===== V22: category icon strip, yellow brand controls, visible ratings and filter drawer ===== */
.mtf-category-icon-strip{display:flex!important;gap:18px!important;overflow-x:auto!important;align-items:flex-start!important;padding:8px 2px 14px!important;border:0!important;scrollbar-width:none!important}
.mtf-category-icon-strip::-webkit-scrollbar{display:none}
.mtf-category-icon-tab{flex:0 0 92px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;gap:7px!important;border:0!important;background:transparent!important;color:#222!important;border-radius:0!important;padding:0!important;font-size:13px!important;font-weight:700!important;line-height:1.15!important;cursor:pointer!important;white-space:normal!important}
.mtf-category-icon-tab:hover{color:#111!important}
.mtf-category-icon-tab.is-active{background:transparent!important;border:0!important;color:#111!important}
.mtf-category-icon{width:72px!important;height:72px!important;border-radius:50%!important;background:#f7f3e9!important;border:2px solid transparent!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;box-shadow:0 2px 9px rgba(0,0,0,.08)!important;transition:.2s!important}
.mtf-category-icon img{width:100%!important;height:100%!important;object-fit:cover!important}
.mtf-category-icon i{font-size:24px!important;color:#555!important}
.mtf-category-icon-tab.is-active .mtf-category-icon{border-color:#FFC222!important;box-shadow:0 0 0 3px rgba(255,194,34,.18)!important}
.mtf-category-name{display:block!important;text-align:center!important;max-width:92px!important}
.mtf-category-results-head{margin-top:4px!important}
.mtf-filter-open{background:#FFC222!important;border-color:#FFC222!important;color:#111!important}
.mtf-filter-open:hover{background:#FFC222!important;border-color:#FFC222!important}
.mtf-filter-drawer{z-index:10010!important}
.mtf-filter-backdrop{z-index:10009!important}
.mtf-filter-apply{background:#FFC222!important;border-color:#FFC222!important;color:#111!important}
.mtf-shop-page .mtf-add-product,.mtf-shop-page .mtf-buy-now,.mtf-shop-page .mtf-simple-purchase .add_to_cart_button{background:#FFC222!important;border-color:#FFC222!important;color:#111!important}
.mtf-shop-page .mtf-add-product:hover,.mtf-shop-page .mtf-buy-now:hover{background:#FFC222!important;border-color:#FFC222!important;color:#111!important}
.mtf-product-rating{display:flex!important;align-items:center!important;gap:7px!important;margin:4px 0 8px!important;min-height:18px!important;visibility:visible!important;opacity:1!important}
.mtf-product-rating .mtf-stars{display:inline-flex!important;gap:1px!important;line-height:1!important}
.mtf-product-rating .mtf-stars span{font-family:Arial,sans-serif!important;font-size:15px!important;line-height:1!important;color:#d6d6d6!important}
.mtf-product-rating .mtf-stars span.is-filled{color:#FFC222!important}
.mtf-product-rating .mtf-rating-value{font-size:12px!important;font-weight:700!important;color:#666!important}
@media(max-width:767px){
 .mtf-category-icon-strip{gap:14px!important;padding:4px 0 12px!important}
 .mtf-category-icon-tab{flex-basis:78px!important;font-size:12px!important}
 .mtf-category-icon{width:62px!important;height:62px!important}
 .mtf-category-name{max-width:78px!important}
 .mtf-product-rating{margin:2px 0 5px!important;gap:5px!important}
 .mtf-product-rating .mtf-stars span{font-size:13px!important}
 .mtf-product-rating .mtf-rating-value{font-size:11px!important}
}

/* V22: remove the old green category active treatment and keep category icons neutral. */
.mtf-category-icon-tab.is-active{background:transparent!important;color:#111!important;border-color:transparent!important}


/* ===== V23 definitive product card + filter drawer refinements ===== */
.mtf-ajax-product-grid .mtf-product-card .content{min-width:0!important;overflow:hidden!important}
.mtf-ajax-product-grid .mtf-product-card .content .title,
.mtf-ajax-product-grid .mtf-product-card .content h2.title{
  display:block!important;overflow:visible!important;text-overflow:clip!important;
  white-space:normal!important;word-break:normal!important;overflow-wrap:anywhere!important;
  line-height:1.16!important;min-height:0!important;max-height:none!important;
}
.mtf-ajax-product-grid .mtf-product-card .mtf-product-excerpt{
  display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;
  overflow:hidden!important;text-overflow:ellipsis!important;white-space:normal!important;
  line-height:1.25!important;margin:3px 0 7px!important;color:#777!important;
}
.mtf-ajax-product-grid .mtf-product-card .mtf-product-rating{
  order:initial!important;margin:0 0 7px!important;min-height:19px!important;
}
.mtf-ajax-product-grid .mtf-product-card .mtf-product-rating .mtf-stars span{font-size:16px!important}
.mtf-ajax-product-grid .mtf-product-card .mtf-product-rating .mtf-rating-value{font-size:12px!important}
.mtf-ajax-product-grid .mtf-product-card .mtf-product-rating .mtf-rating-value small{font-size:11px!important;font-weight:600!important;color:#777!important}
/* Product cards should not show the literal WEIGHT label. */
.mtf-ajax-product-grid .mtf-product-card .mtf-purchase-archive > .mtf-option-heading:first-child{display:none!important}
.mtf-ajax-product-grid .mtf-product-card .mtf-purchase-archive .mtf-weight-options{margin-top:0!important}
/* More usable CTA sizing */
.mtf-ajax-product-grid .mtf-product-card .mtf-purchase-row{grid-template-columns:110px minmax(0,1fr)!important;gap:5px!important}
.mtf-ajax-product-grid .mtf-product-card .mtf-add-product{font-size:13px!important;font-weight:800!important;padding:0 6px!important}
.mtf-ajax-product-grid .mtf-product-card .mtf-quantity-control{min-width:0!important}

/* Filter must sit below the header/offer layer and above page content. */
.mtf-filter-drawer{z-index:2147483000!important}
.mtf-filter-backdrop{z-index:2147482999!important}
body.mtf-filter-open-state .mtf-mobile-bottom-nav{display:none!important}
body.mtf-filter-open-state{overflow:hidden!important}

@media(max-width:767px){
  .mtf-ajax-product-grid .mtf-product-card .content .title,
  .mtf-ajax-product-grid .mtf-product-card .content h2.title{
    font-size:18px!important;line-height:1.15!important;
    -webkit-line-clamp:2!important;display:-webkit-box!important;
    -webkit-box-orient:vertical!important;overflow:hidden!important;
    max-height:42px!important;
  }
  .mtf-ajax-product-grid .mtf-product-card .mtf-product-excerpt{font-size:12px!important;line-height:1.22!important;max-height:30px!important;margin:2px 0 5px!important}
  .mtf-ajax-product-grid .mtf-product-card .mtf-product-rating{gap:5px!important;margin:0 0 5px!important;min-height:18px!important}
  .mtf-ajax-product-grid .mtf-product-card .mtf-product-rating .mtf-stars span{font-size:16px!important}
  .mtf-ajax-product-grid .mtf-product-card .mtf-product-rating .mtf-rating-value{font-size:11px!important}
  .mtf-ajax-product-grid .mtf-product-card .mtf-product-rating .mtf-rating-value small{font-size:10px!important}
  .mtf-ajax-product-grid .mtf-product-card .mtf-purchase-row{grid-template-columns:68px minmax(0,1fr)!important;gap:4px!important}
  .mtf-ajax-product-grid .mtf-product-card .mtf-quantity-control{height:32px!important;min-height:32px!important;border-radius:6px!important}
  .mtf-ajax-product-grid .mtf-product-card .mtf-quantity-control button{width:20px!important;height:32px!important;font-size:16px!important}
  .mtf-ajax-product-grid .mtf-product-card .mtf-quantity-control .mtf-qty{width:25px!important;font-size:13px!important}
  .mtf-ajax-product-grid .mtf-product-card .mtf-add-product{height:32px!important;min-height:32px!important;font-size:13px!important;font-weight:800!important;border-radius:6px!important;padding:0 5px!important}
  /* Half-screen filter drawer; the other half stays as dimmed backdrop. */
  .mtf-filter-drawer{width:50vw!important;max-width:50vw!important;right:0!important;left:auto!important;top:0!important;bottom:0!important}
  .mtf-filter-drawer-head{padding:15px 12px!important}
  .mtf-filter-drawer-head h3{font-size:20px!important}
  .mtf-filter-drawer-head button{font-size:27px!important}
  .mtf-filter-body{padding:0 12px 92px!important}
  .mtf-filter-group{padding:15px 0!important}
  .mtf-filter-group h4{font-size:15px!important;line-height:1.15!important}
  .mtf-filter-group label{font-size:12px!important;gap:6px!important;padding:7px 0!important}
  .mtf-filter-group label input{flex:0 0 auto}
  .mtf-price-range-row{grid-template-columns:1fr!important;gap:5px!important}
  .mtf-price-range-row span{display:none!important}
  .mtf-price-range-row input{height:34px!important;font-size:12px!important}
  .mtf-filter-actions{padding:10px 12px!important;grid-template-columns:1fr!important;gap:7px!important}
  .mtf-filter-actions button{min-height:42px!important;font-size:12px!important}
}


/* ===== MTF V24 product card typography & controls ===== */
.mtf-shop-page .mtf-product-card .content .title,
.mtf-shop-page .mtf-product-card .content h2.title{
 font-size: 20px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    margin: 0 0 5px !important;
    display: block !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}
.mtf-shop-page .mtf-product-card .mtf-product-excerpt{
 font-size: 15px !important;
    line-height: 1.45 !important;
    color: #777 !important;
    margin: 0 0 8px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    height: 43px !important;
    min-height: 43px !important;
}
/* Archive cards: don't show the literal WEIGHT heading. */
.mtf-shop-page .mtf-purchase-archive .mtf-option-heading{display:none!important}
/* Exact control height and typography requested. */
.mtf-shop-page .mtf-product-card .mtf-quantity-control,
.mtf-shop-page .mtf-product-card .mtf-quantity-control button,
.mtf-shop-page .mtf-product-card .mtf-add-product{
 min-height: 52px !important;
    border: 2px solid #555 !important;
    border-radius: 12px !important;
}
.mtf-shop-page .mtf-product-card .mtf-add-product{font-size:13px!important;font-weight:800!important;padding:0 8px!important}
.mtf-shop-page .mtf-product-card .mtf-quantity-control .mtf-qty{height:38px!important;font-size:15px!important}

@media(max-width:767px){
  .mtf-ajax-product-grid .mtf-product-card.food-category-items-4{
    min-height:160px!important;
  }
  .mtf-ajax-product-grid .mtf-product-card .thumb{
    min-height:190px!important;
  }
  .mtf-ajax-product-grid .mtf-product-card .thumb img{
    max-height:203px!important;
    transform:scale(1.07)!important;
    transform-origin:center center!important;
  }
  .mtf-ajax-product-grid .mtf-product-card .content .title,
  .mtf-ajax-product-grid .mtf-product-card .content h2.title{
    font-size:18px!important;
    line-height:1.22!important;
    min-height:20px!important;
    max-height:20px!important;
    -webkit-line-clamp:1!important;
  }
  .mtf-ajax-product-grid .mtf-product-card .mtf-product-excerpt{
    font-size:12px!important;
    line-height:1.38!important;
    min-height:16px!important;
    max-height:16px!important;
    -webkit-line-clamp:2!important;
    white-space:normal!important;
  }
  .mtf-ajax-product-grid .mtf-product-card .mtf-add-product{
    height:38px!important;min-height:38px!important;font-size:13px!important;letter-spacing:.2px!important;
  }
  .mtf-ajax-product-grid .mtf-product-card .mtf-quantity-control,
  .mtf-ajax-product-grid .mtf-product-card .mtf-quantity-control button,
  .mtf-ajax-product-grid .mtf-product-card .mtf-quantity-control .mtf-qty{
    height:38px!important;min-height:38px!important;
  }
}
@media(max-width:390px){
  .mtf-ajax-product-grid .mtf-product-card.food-category-items-4{min-height:160px!important;grid-template-columns:122px minmax(0,1fr)!important}
  .mtf-ajax-product-grid .mtf-product-card .thumb{min-height:208px!important}
  .mtf-ajax-product-grid .mtf-product-card .thumb img{max-height:190px!important;transform:scale(1.07)!important}
  .mtf-ajax-product-grid .mtf-product-card .content .title,
  .mtf-ajax-product-grid .mtf-product-card .content h2.title{font-size:17px!important;min-height:auto !important;max-height:auto!important}
}

/* ===== Controlled V28 polish: product detail + related cards ===== */
/* Remove the excess whitespace above the product gallery. */
body.single-product .shop-details-section.mtf-single-product,
body.single-product .shop-details-wrapper,
body.single-product .shop-details-image,
body.single-product .shop-details-slider{margin-top:0!important;padding-top:0!important}
body.single-product .shop-details-section.mtf-single-product{padding-bottom:34px!important}
body.single-product .shop-details-slider{overflow:hidden!important}

/* Detail-page selected variation price must be prominent and always visible. */
.mtf-single-main-price{display:block!important;min-height:38px;margin:8px 0 10px!important;font-size:32px!important;font-weight:800!important;color:#171717!important;line-height:1.15!important}
.mtf-single-main-price .woocommerce-Price-amount{font-weight:800!important}
.mtf-single-short-description{margin:0 0 14px!important;line-height:1.45!important;color:#6d6d6d!important}
.mtf-single-short-description p{margin:0!important}
.mtf-product-detail-content .mtf-option-heading{margin-top:0!important}
.mtf-product-detail-content .mtf-product-purchase{margin-top:0!important}
.mtf-product-detail-content .mtf-buy-now{background:#168447!important;border-color:#168447!important;color:#fff!important}
.mtf-product-detail-content .mtf-buy-now:hover{background:#106b38!important;border-color:#106b38!important}

/* Related products use the same compact listing-card proportions. */
.mtf-related-products .mtf-related-product-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px!important}
.mtf-related-products .mtf-related-product-grid .mtf-shop-product-col{width:100%!important;max-width:none!important;padding:0!important}
.mtf-related-products .mtf-product-card{height:190px!important;min-height:190px!important;display:grid!important;grid-template-columns:128px minmax(0,1fr)!important;overflow:hidden!important;border:1px solid #e8e1d6!important;border-radius:15px!important;background:#fff!important}
.mtf-related-products .mtf-product-card .shape,
.mtf-related-products .mtf-product-card .icon{display:none!important}
.mtf-related-products .mtf-product-card .thumb{height:190px!important;min-height:190px!important;padding:6px!important;background:#f4f1ea!important;display:flex!important;align-items:center!important;justify-content:center!important;position:relative!important}
.mtf-related-products .mtf-product-card .thumb>a{width:100%;height:100%;display:flex;align-items:center;justify-content:center}
.mtf-related-products .mtf-product-card .thumb img{width:100%!important;height:100%!important;max-height:178px!important;object-fit:contain!important}
.mtf-related-products .mtf-product-card .content{min-width:0!important;padding:10px 9px 8px!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}
.mtf-related-products .mtf-product-card .title{font-size:18px!important;line-height:1.15!important;height:21px!important;max-height:21px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;margin:0 0 4px!important}
.mtf-related-products .mtf-product-card .title a{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;display:block!important}
.mtf-related-products .mtf-product-card .mtf-product-excerpt{font-size:12px!important;line-height:1.2!important;height:15px!important;max-height:15px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;margin:0 0 3px!important}
.mtf-related-products .mtf-product-card .mtf-product-rating{font-size:12px!important;line-height:16px!important;height:16px!important;margin:0 0 3px!important;white-space:nowrap!important}
.mtf-related-products .mtf-product-card .mtf-stars{font-size:16px!important;letter-spacing:0!important}
.mtf-related-products .mtf-product-card .mtf-rating-value{font-size:11px!important}
.mtf-related-products .mtf-product-card .pricing-item{margin-top:auto!important;min-width:0!important}
.mtf-related-products .mtf-product-card .mtf-product-purchase{margin:0!important}
.mtf-related-products .mtf-product-card .mtf-option-heading{display:none!important}
.mtf-related-products .mtf-product-card .mtf-weight-options{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:4px!important;margin:0 0 5px!important}
.mtf-related-products .mtf-product-card .mtf-weight-option{min-width:0!important;min-height:45px!important;height:45px!important;padding:9px 2px 2px!important;border-radius:8px!important}
.mtf-related-products .mtf-product-card .mtf-option-badge{top:-7px!important;font-size:7px!important;padding:2px 4px!important;white-space:nowrap!important}
.mtf-related-products .mtf-product-card .mtf-weight-option strong{font-size:12px!important;line-height:13px!important}
.mtf-related-products .mtf-product-card .mtf-option-price{font-size:11px!important;line-height:13px!important;margin-top:0!important}
.mtf-related-products .mtf-product-card .mtf-option-check{width:13px!important;height:13px!important;font-size:7px!important;right:2px!important;top:2px!important}
.mtf-related-products .mtf-product-card .mtf-purchase-row{display:grid!important;grid-template-columns:82px minmax(0,1fr)!important;gap:5px!important;margin:0!important}
.mtf-related-products .mtf-product-card .mtf-quantity-control{height:38px!important;min-height:38px!important;border-radius:7px!important}
.mtf-related-products .mtf-product-card .mtf-quantity-control button{height:36px!important;width:23px!important;font-size:17px!important}
.mtf-related-products .mtf-product-card .mtf-quantity-control .mtf-qty{height:36px!important;width:30px!important;font-size:15px!important}
.mtf-related-products .mtf-product-card .mtf-add-product{height:38px!important;min-height:38px!important;padding:0 4px!important;font-size:12px!important;white-space:nowrap!important;border-radius:7px!important;background:#FFC222!important;border-color:#FFC222!important;color:#111!important}
.mtf-related-products .mtf-product-card .mtf-selection-status{display:none!important}
.mtf-related-products .mtf-product-card .mtf-product-card-actions{position:absolute!important;right:5px!important;top:5px!important;z-index:4!important;display:flex!important;flex-direction:column!important;gap:5px!important}
.mtf-related-products .mtf-product-card .mtf-product-card-actions .mtf-product-action{width:34px!important;height:34px!important;border-radius:50%!important;background:#fff!important;box-shadow:0 3px 10px rgba(0,0,0,.12)!important}

/* Keep the mobile bottom navigation current, compact and unobtrusive. */
@media(max-width:767px){
  .mtf-related-products .mtf-related-product-grid{grid-template-columns:1fr!important;gap:14px!important}
  .mtf-related-products .mtf-product-card{height:190px!important;min-height:190px!important;grid-template-columns:128px minmax(0,1fr)!important}
  .mtf-related-products .mtf-product-card .thumb{height:190px!important;min-height:190px!important}
  .mtf-related-products .mtf-product-card .content{padding:10px 8px 7px!important}
  .mtf-related-products .mtf-product-card .title{font-size:17px!important}
  .mtf-related-products .mtf-product-card .mtf-product-excerpt{font-size:12px!important}
  .mtf-related-products .mtf-product-card .mtf-purchase-row{grid-template-columns:82px minmax(0,1fr)!important}
  .mtf-mobile-bottom-nav{min-height:64px!important;padding-top:8px!important;box-shadow:0 -5px 18px rgba(0,0,0,.12)!important}
  .mtf-mobile-bottom-nav a{font-size:11px!important;gap:3px!important}
  .mtf-mobile-bottom-nav a i{font-size:19px!important}
}

/* =========================================================
   Mana Telugu Foods - Related product cards / mobile slider
   Same card design as Home Customer Favorites
   ========================================================= */
.mtf-related-product-slider{position:relative;width:100%;overflow:visible;padding:8px 0 14px}
.mtf-related-product-slider .mtf-home-best-seller-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px!important;align-items:stretch;width:100%;margin:0!important;padding:0!important}
.mtf-related-product-slider .mtf-shop-product-col{width:auto!important;max-width:none!important;min-width:0!important;flex:none!important;padding:0!important;margin:0!important;display:flex!important}
.mtf-related-product-slider .mtf-product-card{width:100%!important;height:100%!important;margin:0!important;background:#fff!important;padding:20px!important;position:relative!important;border-radius:20px!important;border:0!important;box-shadow:0 8px 26px rgba(34,30,25,.10)!important;overflow:visible!important;display:flex!important;flex-direction:column!important}
.mtf-related-product-slider .mtf-product-card .shape{position:absolute!important;top:10px!important;left:10px!important;right:10px!important;text-align:center!important;z-index:0!important}
.mtf-related-product-slider .mtf-product-card .shape svg{width:100%!important;height:auto!important}
.mtf-related-product-slider .mtf-product-card .icon{display:none!important}
.mtf-related-product-slider .mtf-product-card .thumb{position:relative!important;z-index:1!important;text-align:center!important;min-height:250px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important}
.mtf-related-product-slider .mtf-product-card .thumb>a{width:100%!important;display:flex!important;align-items:center!important;justify-content:center!important;min-height:220px!important}
.mtf-related-product-slider .mtf-product-card .thumb img{display:inline-block!important;width:100%!important;max-width:100%!important;height:220px!important;object-fit:contain!important}
.mtf-related-product-slider .mtf-product-card .mtf-product-card-actions{position:absolute!important;top:4px!important;right:0!important;z-index:10!important;display:flex!important;flex-direction:column!important;gap:8px!important}
.mtf-related-product-slider .mtf-product-card .mtf-product-action{width:46px!important;height:46px!important;border:0!important;border-radius:50%!important;background:#fff!important;color:#222!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;box-shadow:0 5px 16px rgba(0,0,0,.13)!important;cursor:pointer!important}
.mtf-related-product-slider .mtf-product-card .mtf-product-rating-under-image{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:7px!important;margin:7px 0 0!important;min-height:22px!important}
.mtf-related-product-slider .mtf-product-card .mtf-product-rating-under-image .mtf-stars{display:inline-flex!important;gap:1px!important}
.mtf-related-product-slider .mtf-product-card .mtf-product-rating-under-image .mtf-stars span{font-size:16px!important;line-height:1!important;color:#ddd!important}
.mtf-related-product-slider .mtf-product-card .mtf-product-rating-under-image .mtf-stars span.is-filled{color:#ffc400!important}
.mtf-related-product-slider .mtf-product-card .mtf-product-rating-under-image .mtf-rating-value{font-size:13px!important;color:#5f5147!important;white-space:nowrap!important}
.mtf-related-product-slider .mtf-product-card .content{position:relative!important;z-index:2!important;display:flex!important;flex-direction:column!important;flex:1!important;text-align:left!important;margin-top:4px!important}
.mtf-related-product-slider .mtf-product-card .content .title,.mtf-related-product-slider .mtf-product-card .content h2.title{font-size:20px!important;line-height:1.25!important;font-weight:700!important;margin:0 0 5px!important;display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.mtf-related-product-slider .mtf-product-card .content .title a{color:#151515!important}
.mtf-related-product-slider .mtf-product-card .mtf-product-excerpt{font-size:15px!important;line-height:1.45!important;color:#777!important;margin:0 0 8px!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;height:43px!important;min-height:43px!important}
.mtf-related-product-slider .mtf-product-card .mtf-product-buybox{width:100%!important;margin-top:auto!important;padding-top:4px!important}
.mtf-related-product-slider .mtf-product-card .mtf-weight-options{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;margin:0 0 14px!important;padding-top:0!important}
.mtf-related-product-slider .mtf-product-card .mtf-weight-option{min-height:72px!important;padding:16px 7px 8px!important;border:2px solid #dedede!important;border-radius:18px!important;background:#fff!important}
.mtf-related-product-slider .mtf-product-card .mtf-weight-option.is-selected{border-color:#FFC222!important;background:#fffdf3!important}
.mtf-related-product-slider .mtf-product-card .mtf-weight-option strong{font-size:16px!important}
.mtf-related-product-slider .mtf-product-card .mtf-option-price{font-size:13px!important;margin-top:3px!important}
.mtf-related-product-slider .mtf-product-card .mtf-option-badge{font-size:9px!important;padding:6px 8px!important;top:-12px!important;border-radius:14px!important}
.mtf-related-product-slider .mtf-product-card .mtf-option-check{width:18px!important;height:18px!important;right:5px!important;top:5px!important;font-size:9px!important}
.mtf-related-product-slider .mtf-product-card .mtf-purchase-row{grid-template-columns:1fr 1.25fr!important;gap:8px!important}
.mtf-related-product-slider .mtf-product-card .mtf-quantity-control{min-height:52px!important;border:2px solid #555!important;border-radius:12px!important}
.mtf-related-product-slider .mtf-product-card .mtf-quantity-control button{height:52px!important;width:38px!important;font-size:24px!important}
.mtf-related-product-slider .mtf-product-card .mtf-quantity-control .mtf-qty{font-size:18px!important;width:40px!important}
.mtf-related-product-slider .mtf-product-card .mtf-add-product{min-height:52px!important;border-radius:12px!important;background:#fff!important;border:2px solid #FFC222!important;color:#e3ae00!important;font-size:15px!important;font-weight:700!important}
.mtf-related-product-slider .mtf-product-card .mtf-add-product:hover{background:#FFC222!important;color:#fff!important}
.mtf-related-product-slider .mtf-favorites-prev,.mtf-related-product-slider .mtf-favorites-next{display:none;position:absolute;top:50%;transform:translateY(-50%);width:42px;height:42px;border:0;border-radius:50%;background:#FFC222;color:#222;align-items:center;justify-content:center;z-index:100;box-shadow:0 5px 14px rgba(0,0,0,.14);cursor:pointer;pointer-events:auto!important}
.mtf-related-product-slider .mtf-favorites-prev{left:-18px}.mtf-related-product-slider .mtf-favorites-next{right:-18px}
@media(max-width:1199px) and (min-width:768px){.mtf-related-product-slider .mtf-home-best-seller-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px!important}}
@media(max-width:767px){
 .mtf-related-product-slider{padding:4px 0 14px;overflow:hidden}
 .mtf-related-product-slider .mtf-home-best-seller-grid{display:flex!important;gap:0!important;align-items:stretch!important}
 .mtf-related-product-slider .mtf-shop-product-col{width:86%!important;max-width:86%!important;flex:0 0 86%!important;padding:0 7px!important;margin:0!important;display:flex!important}
 .mtf-related-product-slider .mtf-product-card{width:100%!important;height:auto!important;min-height:0!important;padding:14px!important;border-radius:20px!important;box-shadow:0 7px 24px rgba(34,30,25,.11)!important}
 .mtf-related-product-slider .mtf-product-card .thumb{min-height:235px!important}
 .mtf-related-product-slider .mtf-product-card .thumb>a{min-height:205px!important}
 .mtf-related-product-slider .mtf-product-card .thumb img{height:205px!important;max-height:205px!important}
 .mtf-related-product-slider .mtf-product-card .mtf-product-action{width:42px!important;height:42px!important}
 .mtf-related-product-slider .mtf-product-card .content .title,.mtf-related-product-slider .mtf-product-card .content h2.title{font-size:19px!important;line-height:1.25!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
 .mtf-related-product-slider .mtf-product-card .mtf-product-excerpt{font-size:14px!important;line-height:1.45!important;height:41px!important;min-height:41px!important;-webkit-line-clamp:2!important}
 .mtf-related-product-slider .mtf-product-card .mtf-weight-option{min-height:68px!important;border-radius:16px!important}
 .mtf-related-product-slider .mtf-product-card .mtf-option-heading{display:none!important}
 .mtf-related-product-slider .mtf-product-card .mtf-weight-options{margin-top:0!important;padding-top:0!important}
 .mtf-related-product-slider .mtf-product-card .mtf-purchase-row{grid-template-columns:1fr 1.25fr!important;gap:7px!important}
 .mtf-related-product-slider .mtf-product-card .mtf-quantity-control{min-height:48px!important}
 .mtf-related-product-slider .mtf-product-card .mtf-quantity-control button{height:48px!important;width:32px!important}
 .mtf-related-product-slider .mtf-product-card .mtf-add-product{min-height:48px!important}
 .mtf-related-product-slider .mtf-favorites-prev,.mtf-related-product-slider .mtf-favorites-next{display:flex;top:38%;width:38px;height:38px}
 .mtf-related-product-slider .mtf-favorites-prev{left:0}.mtf-related-product-slider .mtf-favorites-next{right:0}
}

/* Related Products: same track/one-card sliding behavior as Home Our Categories. */
.mtf-related-product-slider{position:relative!important;overflow:hidden!important;padding:8px 8px 18px!important;margin:0 -8px!important;}
.mtf-related-product-slider .mtf-home-best-seller-grid{display:flex!important;gap:24px!important;align-items:stretch!important;width:100%!important;margin:0!important;padding:0!important;transition:transform .42s ease!important;will-change:transform!important;}
.mtf-related-product-slider .mtf-shop-product-col{width:auto!important;max-width:none!important;min-width:0!important;flex:0 0 calc((100% - 72px)/4)!important;padding:0!important;margin:0!important;display:flex!important;}
.mtf-related-product-slider .mtf-favorites-prev,.mtf-related-product-slider .mtf-favorites-next{display:flex!important;pointer-events:auto!important;}
.mtf-related-product-slider .mtf-favorites-prev:disabled,.mtf-related-product-slider .mtf-favorites-next:disabled{opacity:.4!important;cursor:default!important;}
@media(max-width:1199px) and (min-width:992px){.mtf-related-product-slider .mtf-home-best-seller-grid .mtf-shop-product-col{flex-basis:calc((100% - 48px)/3)!important;}}
@media(max-width:991px) and (min-width:768px){.mtf-related-product-slider .mtf-home-best-seller-grid{gap:18px!important}.mtf-related-product-slider .mtf-home-best-seller-grid .mtf-shop-product-col{flex-basis:calc((100% - 18px)/2)!important}.mtf-related-product-slider .mtf-favorites-prev,.mtf-related-product-slider .mtf-favorites-next{width:40px!important;height:40px!important;}}
@media(max-width:767px){
 .mtf-related-product-slider{padding:8px 0 18px!important;margin:0!important;overflow:hidden!important}
 .mtf-related-product-slider .mtf-home-best-seller-grid{gap:14px!important;display:flex!important}
 .mtf-related-product-slider .mtf-home-best-seller-grid .mtf-shop-product-col{width:86%!important;max-width:86%!important;flex:0 0 86%!important;padding:0!important;margin:0!important;display:flex!important}
 .mtf-related-product-slider .mtf-favorites-prev,.mtf-related-product-slider .mtf-favorites-next{display:flex!important;top:42%!important;width:38px!important;height:38px!important}
 .mtf-related-product-slider .mtf-favorites-prev{left:2px!important}.mtf-related-product-slider .mtf-favorites-next{right:2px!important}
}
/* MTF final: plain short description + admin-driven product description. */
.mtf-single-product .mtf-single-short-description{background:transparent!important;border:0!important;border-left:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important;color:inherit!important;}
.mtf-single-product .mtf-single-short-description p{margin:0 0 10px!important;}
.mtf-product-tabs .mtf-description-panel.mtf-admin-description{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important;color:inherit!important;font-size:inherit!important;line-height:inherit!important;font-family:inherit!important;font-weight:inherit!important;}

/* Category tabs are buttons and links; keep identical presentation. */
.mtf-category-tab{text-decoration:none!important;display:inline-flex;align-items:center;justify-content:center;}
