html{scroll-behavior:auto!important}.kfc-checkout-core{--kfc:#0d6f4d;--kfc-dark:#083e2e;--kfc-soft:#eef7f2;--kfc-border:#d8e4de;background:#f6f8f7;overscroll-behavior:none}.kfc-checkout-core *{box-sizing:border-box}.kfc-checkout-core input,.kfc-checkout-core select,.kfc-checkout-core textarea,.kfc-checkout-core button{font-size:16px!important;touch-action:manipulation}.kfc-checkout-core .woocommerce{max-width:760px;margin:auto;padding:6px}.kfc-progress{direction:rtl;background:linear-gradient(135deg,var(--kfc-dark),#176d4e);color:#fff;border-radius:18px;padding:11px 12px;margin:6px 0 8px;box-shadow:0 8px 24px #0b4b3618}.kfc-progress header{display:flex;justify-content:space-between;gap:10px;align-items:center}.kfc-progress header strong{font-size:17px}.kfc-progress header span{font-size:12px;opacity:.82}.kfc-progress ol{list-style:none;margin:9px 0 7px;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:5px}.kfc-progress li{min-width:0;border:1px solid #ffffff2b;border-radius:11px;padding:6px 2px;text-align:center;opacity:.52}.kfc-progress li b{display:block;width:22px;height:22px;line-height:22px;margin:0 auto 3px;background:#ffffff20;border-radius:7px;font-size:11px}.kfc-progress li span{font-size:9px;font-weight:800;white-space:nowrap}.kfc-progress li.is-active{opacity:1;background:#fff;color:#183b2d}.kfc-progress li.is-done{opacity:.88}.kfc-progress li.is-skipped{text-decoration:line-through;opacity:.28}.kfc-progress-line{height:3px;background:#ffffff28;border-radius:10px;overflow:hidden}.kfc-progress-line i{display:block;height:100%;width:25%;background:#fff;transition:width .2s}.kfc-checkout-core form.checkout{background:#fff;border:1px solid var(--kfc-border);border-radius:18px;padding:10px;box-shadow:0 9px 30px #18372a10;min-height:0}.kfc-stage-head{direction:rtl;display:flex;align-items:center;gap:10px;background:#f4f8f6;border:1px solid var(--kfc-border);border-radius:14px;padding:8px 10px;margin-bottom:9px}.kfc-stage-head>b{display:grid;place-items:center;min-width:34px;height:34px;border-radius:10px;background:var(--kfc);color:#fff;font-size:13px}.kfc-stage-head strong{font-size:16px}.kfc-stage[hidden]{display:none!important}.kfc-stage{direction:rtl}.kfc-server-hidden,.kfc-phone-hidden{display:none!important}.kfc-checkout-core #customer_details{display:block!important;width:100%!important}.kfc-checkout-core #customer_details .col-1,.kfc-checkout-core #customer_details .col-2{float:none!important;width:100%!important}.kfc-checkout-core #customer_details .col-2{display:none!important}.kfc-checkout-core .woocommerce-billing-fields>h3{display:none!important}.kfc-checkout-core .woocommerce-billing-fields__field-wrapper{display:grid;grid-template-columns:1fr;gap:8px;padding:10px;border:1px solid var(--kfc-border);border-radius:16px;background:linear-gradient(180deg,#fbfdfc,#f4f9f6)}.kfc-checkout-core .form-row{float:none!important;width:100%!important;margin:0!important;padding:0!important;grid-column:1/-1}.kfc-checkout-core .form-row label{font-weight:850;margin:0 0 4px;font-size:13px;color:#173d30}.kfc-checkout-core .input-text,.kfc-checkout-core select,.kfc-checkout-core .select2-selection{width:100%!important;min-height:46px!important;height:46px!important;border:1px solid #cbd9d2!important;border-radius:13px!important;background:#fff!important;padding:8px 11px!important;box-shadow:0 3px 10px #0c51300b!important;outline:none!important}.kfc-checkout-core .select2-container{width:100%!important}.kfc-checkout-core .select2-selection__rendered{line-height:28px!important}.kfc-checkout-core .input-text:focus,.kfc-checkout-core select:focus{border-color:#2c9870!important;box-shadow:0 0 0 3px #2c987015!important}.kfc-address-field .input-text{height:54px!important;min-height:54px!important}.kfc-otp-card,.kfc-login-ok,.kfc-login-error{border:1px solid var(--kfc-border);border-radius:15px;background:#fbfdfc;padding:11px;display:grid;gap:9px}.kfc-login-ok{background:#edf9f2;text-align:center}.kfc-login-ok strong{font-size:15px}.kfc-login-ok b{font-size:20px}.kfc-otp-card label{display:grid;gap:4px}.kfc-otp-card label>span{font-weight:850;font-size:13px}.kfc-otp-card label>div{display:grid;grid-template-columns:1fr auto;gap:7px}.kfc-otp-card input{height:46px;border:1px solid #cad9d1;border-radius:13px;padding:8px 11px;min-width:0}.kfc-otp-card button,.kfc-location-box button{border:0;border-radius:13px;background:var(--kfc);color:#fff;font-weight:900;padding:0 15px;min-height:46px}.kfc-otp-card p{min-height:18px;margin:0;color:#b2382f;font-size:12px}.kfc-otp-card p.is-ok{color:var(--kfc)}.kfc-otp-card [data-kfc-send]{font-size:12px!important;line-height:1.2!important;white-space:normal!important;text-align:center!important;padding:9px 10px!important;margin:3px 0!important;min-width:124px;min-height:52px!important;height:auto!important}
@media(max-width:680px){.kfc-otp-card label>div{grid-template-columns:1fr 124px}.kfc-otp-card [data-kfc-send]{font-size:10.5px!important;line-height:1.2!important;padding:9px 8px!important;margin:4px 0!important;min-width:124px!important;min-height:56px!important;height:auto!important}}
.kfc-shipping-options{display:grid;gap:7px}.kfc-shipping-card{display:flex;align-items:center;gap:10px;border:1px solid var(--kfc-border);border-radius:14px;padding:10px;background:#fff;cursor:pointer;min-height:54px}.kfc-shipping-card:has(input:checked){border:2px solid #39a979;background:#eefaf4}.kfc-shipping-card input{width:20px;height:20px;accent-color:var(--kfc)}.kfc-stage-note{display:none!important}.kfc-empty,.kfc-loading{padding:12px;border-radius:12px;background:#f3f6f4;color:#607067;font-size:13px}.kfc-location-box{border:1px solid var(--kfc-border);border-radius:15px;background:#f7fbf9;padding:12px;display:grid;gap:9px}.kfc-location-box>div{display:grid}.kfc-location-box>div small{display:none}.kfc-location-box button{min-height:48px}.kfc-location-box p{margin:0;color:#6b7b73;font-size:12px}.kfc-location-box.is-set{background:#ecfdf5;border-color:#86efac}.kfc-payment-stage #order_review_heading{display:none}.kfc-payment-stage #order_review{float:none!important;width:100%!important}.kfc-payment-stage .shop_table{border-radius:14px!important;overflow:hidden;margin-bottom:8px!important}.kfc-payment-stage #payment{background:#fff!important}.kfc-payment-stage .wc_payment_method{border:1px solid var(--kfc-border);border-radius:14px;margin:7px 0!important;padding:9px!important}.kfc-payment-stage .wc_payment_method:has(input:checked){border:2px solid #3bad7b;background:#effaf4}.kfc-payment-stage #place_order{width:100%!important;min-height:50px!important;border-radius:14px!important;background:var(--kfc)!important;font-weight:900!important}.kfc-payment-stage #place_order.kfc-payment-locked{opacity:.45!important}.kfc-actions{direction:rtl;display:grid;grid-template-columns:auto 1fr auto;gap:7px;align-items:center;border-top:1px solid #e3ebe7;margin-top:9px;padding-top:9px}.kfc-actions button{min-height:46px;border-radius:13px;border:1px solid var(--kfc-border);padding:0 13px;font-weight:900}.kfc-actions [data-kfc-next]{background:var(--kfc);color:#fff;border-color:var(--kfc)}.kfc-actions p{margin:0;text-align:center;color:#a83a31;font-weight:700;font-size:12px}.kfc-checkout-core .woocommerce-NoticeGroup,.kfc-checkout-core .woocommerce-error{border-radius:12px;font-size:12px}.kfc-checkout-core #ship-to-different-address{display:none!important}.kfc-checkout-core .optional{display:none!important}
@media(max-width:680px){body.kfc-checkout-core{overflow-x:hidden}.kfc-checkout-core .woocommerce{padding:3px}.kfc-progress{border-radius:15px;padding:8px;margin:3px 0 6px}.kfc-progress header strong{font-size:15px}.kfc-progress ol{gap:3px;margin:6px 0 5px}.kfc-progress li{padding:4px 1px;border-radius:9px}.kfc-progress li span{font-size:8px}.kfc-progress li b{width:20px;height:20px;line-height:20px}.kfc-checkout-core form.checkout{padding:8px;border-radius:15px}.kfc-stage-head{padding:6px 8px;margin-bottom:7px}.kfc-stage-head>b{min-width:30px;height:30px}.kfc-stage-head strong{font-size:15px}.kfc-checkout-core .woocommerce-billing-fields__field-wrapper{gap:6px;padding:8px}.kfc-checkout-core .form-row label{font-size:12px}.kfc-checkout-core .input-text,.kfc-checkout-core select,.kfc-checkout-core .select2-selection{height:44px!important;min-height:44px!important}.kfc-address-field .input-text{height:48px!important;min-height:48px!important}.kfc-actions{grid-template-columns:1fr 1fr;margin-top:7px;padding-top:7px}.kfc-actions p{grid-column:1/-1;grid-row:1;text-align:center;min-height:0}.kfc-actions button{grid-row:2;min-height:44px}.kfc-otp-card{padding:9px}.kfc-otp-card label>div{grid-template-columns:1fr 105px}.kfc-otp-card input,.kfc-otp-card button{height:44px;min-height:44px}.kfc-payment-stage .woocommerce-checkout-payment{padding:0!important}}

.kfc-delivery-map{width:100%;height:245px;border:1px solid #cbd9d2;border-radius:14px;overflow:hidden;background:#edf3ef;position:relative;z-index:1;direction:ltr}
.kfc-delivery-map .leaflet-control-attribution{font-size:9px!important}
.kfc-map-pin-wrap{background:transparent!important;border:0!important}
.kfc-map-pin{display:block;position:relative;width:34px;height:42px;filter:drop-shadow(0 4px 5px rgba(0,0,0,.25))}
.kfc-map-pin:before{content:'';position:absolute;left:4px;top:1px;width:26px;height:26px;border-radius:50% 50% 50% 0;background:#0d6f4d;transform:rotate(-45deg)}
.kfc-map-pin i{position:absolute;left:13px;top:9px;width:8px;height:8px;border-radius:50%;background:#fff;z-index:2}
.kfc-map-error{height:100%;display:grid;place-items:center;padding:18px;text-align:center;color:#6b7b73;font-size:12px}
.kfc-location-box.is-set .kfc-delivery-map{border-color:#55b98e}
.kfc-location-actions{display:grid!important;grid-template-columns:minmax(190px,1fr) minmax(160px,1fr);gap:8px;align-items:center}.kfc-location-actions span{display:block;text-align:center;color:#52675d;font-size:12px;font-weight:750;line-height:1.7}.kfc-location-actions button{margin:0!important}
@media(max-width:680px){.kfc-delivery-map{height:215px}.kfc-location-box{padding:9px;gap:7px}.kfc-location-box button{min-height:44px}}
@media(max-width:520px){.kfc-location-actions{grid-template-columns:1fr}.kfc-location-actions span{padding:2px 4px}}



/* v1.6.0 — one cart page only; checkout starts with OTP */
body.kfc-checkout-core form.checkout [data-kfc-stage]{display:none!important}
body.kfc-checkout-core[data-kfc-step="1"] form.checkout [data-kfc-stage="otp"],
body.kfc-checkout-core[data-kfc-step="3"] form.checkout [data-kfc-stage="shipping"],
body.kfc-checkout-core[data-kfc-step="4"] form.checkout [data-kfc-stage="location"]{display:block!important}
body.kfc-checkout-core form.checkout #customer_details{display:none!important;width:100%!important}
body.kfc-checkout-core[data-kfc-step="2"] form.checkout #customer_details{display:block!important}
body.kfc-checkout-core form.checkout #order_review_heading,
body.kfc-checkout-core form.checkout #order_review{display:none!important}
body.kfc-checkout-core[data-kfc-step="1"] [data-kfc-back]{visibility:hidden!important}
body.kfc-checkout-core .kfc-shipping-card span{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%}
body.kfc-checkout-core .kfc-shipping-card span b{font-size:14px;color:#173d30}
body.kfc-checkout-core .kfc-shipping-card span small{font-size:12px;color:#526b60;white-space:nowrap}
body.kfc-checkout-core .kfc-loading{display:flex;align-items:center;justify-content:center;gap:9px;min-height:58px}
body.kfc-checkout-core .kfc-loading i{width:18px;height:18px;border-radius:50%;border:2px solid #c7d8d0;border-top-color:var(--kfc);animation:kfcspin .7s linear infinite}
@keyframes kfcspin{to{transform:rotate(360deg)}}
body.kfc-checkout-core [data-kfc-next]:disabled,body.kfc-checkout-core [data-kfc-back]:disabled{opacity:.58;cursor:wait}

/* Dedicated cart page — no shipping selector here. */
body.kfc-cart-core{--kfc:#0d6f4d;--kfc-dark:#083e2e;--kfc-soft:#eef7f2;--kfc-border:#d8e4de;background:#f6f8f7}
body.kfc-cart-core *{box-sizing:border-box}
body.kfc-cart-core .entry-title,body.kfc-cart-core h1.page-title,body.kfc-cart-core .woocommerce>h2:first-child{display:none!important}
body.kfc-cart-core .woocommerce{max-width:820px;margin:0 auto;padding:8px}
body.kfc-cart-core .kfc-cart-page{direction:rtl;background:#fff;border:1px solid var(--kfc-border);border-radius:22px;box-shadow:0 14px 40px #173d3012;padding:12px;margin:8px auto 90px;overflow:hidden}
body.kfc-cart-core .kfc-cart-page-head{display:flex;align-items:center;justify-content:space-between;gap:12px;background:linear-gradient(135deg,var(--kfc-dark),#1d7958);color:#fff;border-radius:17px;padding:14px 15px;margin-bottom:12px}
body.kfc-cart-core .kfc-cart-page-head>div{display:grid;gap:2px}
body.kfc-cart-core .kfc-cart-page-head span{font-size:12px;opacity:.8}
body.kfc-cart-core .kfc-cart-page-head strong{font-size:20px}
body.kfc-cart-core .kfc-cart-page-head>b{font-size:13px;background:#ffffff18;border:1px solid #ffffff2f;border-radius:12px;padding:7px 10px;white-space:nowrap}
body.kfc-cart-core .kfc-cart-page-app{display:grid;gap:10px;min-height:120px}
body.kfc-cart-core .kfc-loading{display:flex;align-items:center;justify-content:center;gap:8px;padding:18px;border-radius:14px;background:#f4f8f6;color:#61756b}
body.kfc-cart-core .kfc-loading i{width:18px;height:18px;border-radius:50%;border:2px solid #d5e2dc;border-top-color:var(--kfc);animation:kfcspin .7s linear infinite}
body.kfc-cart-core .kfc-cart-list{display:grid;gap:10px}
body.kfc-cart-core .kfc-cart-card{display:grid;grid-template-columns:84px minmax(0,1fr) auto;gap:11px;align-items:center;border:1px solid var(--kfc-border);border-radius:17px;background:linear-gradient(180deg,#fff,#fbfdfc);padding:10px;box-shadow:0 6px 18px #173d3008}
body.kfc-cart-core .kfc-cart-card img{width:84px;height:84px;border-radius:13px;object-fit:cover;background:#eef3f0}
body.kfc-cart-core .kfc-cart-card-main{display:grid;gap:5px;min-width:0}
body.kfc-cart-core .kfc-cart-card-main strong{font-size:14px;line-height:1.75;color:#173d30;overflow-wrap:anywhere}
body.kfc-cart-core .kfc-cart-card-main span{font-size:12px;color:#6c7c74}
body.kfc-cart-core .kfc-cart-card-main b{font-size:15px;color:var(--kfc)}
body.kfc-cart-core .kfc-cart-stepper{display:flex;align-items:center;gap:5px;background:#f2f7f4;border:1px solid #dbe6e0;border-radius:13px;padding:5px}
body.kfc-cart-core .kfc-cart-stepper button{width:34px;height:34px;border:0;border-radius:9px;background:#fff;color:var(--kfc);font-size:21px;font-weight:900;box-shadow:0 2px 8px #173d300c;touch-action:manipulation}
body.kfc-cart-core .kfc-cart-stepper i{min-width:30px;text-align:center;font-style:normal;font-weight:900;color:#203c31}
body.kfc-cart-core .kfc-cart-page-actions{position:sticky;bottom:8px;z-index:7;display:grid;grid-template-columns:1fr 1.25fr;gap:9px;align-items:center;margin-top:12px;padding:9px;background:#ffffffef;backdrop-filter:blur(12px);border:1px solid var(--kfc-border);border-radius:16px;box-shadow:0 10px 28px #173d3020}
body.kfc-cart-core .kfc-cart-page-actions>div{display:grid;gap:2px;padding:0 6px}
body.kfc-cart-core .kfc-cart-page-actions span{font-size:11px;color:#677970}
body.kfc-cart-core .kfc-cart-page-actions b{font-size:16px;color:#173d30}
body.kfc-cart-core .kfc-cart-checkout{display:flex;align-items:center;justify-content:center;min-height:50px;border-radius:13px;background:linear-gradient(135deg,#0d6f4d,#20936b);color:#fff!important;text-decoration:none!important;font-weight:900;font-size:15px}
body.kfc-cart-core .kfc-cart-checkout.is-disabled{opacity:.45;pointer-events:none}
body.kfc-cart-core .kfc-cart-empty{display:grid;gap:7px;place-items:center;text-align:center;min-height:170px;border:1px dashed #cbdcd3;border-radius:17px;background:#f8fbf9;color:#52675d;padding:20px}
body.kfc-cart-core .kfc-cart-empty b{font-size:17px;color:#173d30}
body.kfc-cart-core .kfc-cart-empty span{font-size:13px}

/* Standard WooCommerce order-pay page */
body.kfc-order-pay-core{--kfc:#0d6f4d;--kfc-dark:#083e2e;--kfc-border:#d8e4de;background:#f6f8f7}
body.kfc-order-pay-core .woocommerce{max-width:720px;margin:20px auto;padding:10px;direction:rtl}
body.kfc-order-pay-core .woocommerce-order-pay .shop_table,body.kfc-order-pay-core form#order_review{background:#fff;border:1px solid var(--kfc-border);border-radius:18px;padding:12px;box-shadow:0 10px 30px #173d3010}
body.kfc-order-pay-core #payment{background:#fff!important;border-radius:16px!important}
body.kfc-order-pay-core .wc_payment_methods{padding:0!important;display:grid;gap:8px}
body.kfc-order-pay-core .wc_payment_method{border:1px solid var(--kfc-border);border-radius:14px;padding:10px!important;margin:0!important;background:#fff}
body.kfc-order-pay-core .wc_payment_method:has(input:checked){border:2px solid #35a574;background:#eefaf4}
body.kfc-order-pay-core #place_order{width:100%!important;min-height:54px!important;border-radius:14px!important;background:var(--kfc)!important;color:#fff!important;font-weight:900!important;font-size:16px!important}
body.kfc-order-pay-core input,body.kfc-order-pay-core button{font-size:16px!important}
@media(max-width:680px){body.kfc-cart-core .woocommerce{padding:4px}body.kfc-cart-core .kfc-cart-page{padding:8px;border-radius:17px;margin-top:4px}body.kfc-cart-core .kfc-cart-page-head{padding:10px 11px;border-radius:14px}body.kfc-cart-core .kfc-cart-page-head strong{font-size:17px}body.kfc-cart-core .kfc-cart-card{grid-template-columns:66px minmax(0,1fr);gap:8px;padding:8px;border-radius:14px}body.kfc-cart-core .kfc-cart-card img{width:66px;height:66px;border-radius:11px}body.kfc-cart-core .kfc-cart-card-main strong{font-size:12.5px}body.kfc-cart-core .kfc-cart-stepper{grid-column:1/-1;justify-content:space-between;padding:4px 6px}body.kfc-cart-core .kfc-cart-page-actions{grid-template-columns:.9fr 1.35fr;bottom:76px}body.kfc-cart-core .kfc-cart-checkout{min-height:48px;font-size:14px}body.kfc-order-pay-core .woocommerce{padding:6px;margin:6px auto}body.kfc-order-pay-core .woocommerce-order-pay .shop_table,body.kfc-order-pay-core form#order_review{border-radius:15px;padding:9px}}


/* v1.6.1 — cart price output fix + tighter mobile cart */
body.kfc-cart-core .kfc-cart-page{margin-bottom:150px!important}
body.kfc-cart-core .kfc-cart-card-main span,
body.kfc-cart-core .kfc-cart-card-main b,
body.kfc-cart-core [data-kfc-cart-total]{direction:rtl;unicode-bidi:plaintext}
body.kfc-cart-core .kfc-cart-card-main span{white-space:normal}
body.kfc-cart-core .kfc-cart-card-main b{font-weight:900}
@media(max-width:680px){
  body.kfc-cart-core .kfc-cart-page{margin:6px auto 170px!important}
  body.kfc-cart-core .kfc-cart-card{
    grid-template-columns:70px minmax(0,1fr) auto!important;
    align-items:center!important;
  }
  body.kfc-cart-core .kfc-cart-card img{grid-column:1;grid-row:1;width:70px!important;height:70px!important}
  body.kfc-cart-core .kfc-cart-card-main{grid-column:2;grid-row:1}
  body.kfc-cart-core .kfc-cart-card-main strong{
    display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
    line-height:1.65!important;font-size:12.5px!important
  }
  body.kfc-cart-core .kfc-cart-stepper{
    grid-column:3!important;grid-row:1!important;flex-direction:column!important;
    width:42px;padding:4px!important;gap:3px!important
  }
  body.kfc-cart-core .kfc-cart-stepper button{width:32px!important;height:30px!important}
  body.kfc-cart-core .kfc-cart-stepper i{min-width:30px!important}
  body.kfc-cart-core .kfc-cart-page-actions{
    bottom:82px!important;
    grid-template-columns:minmax(0,.85fr) minmax(0,1.35fr)!important
  }
}


/* v1.6.2 — cart cards must never sit behind the checkout action bar */
body.kfc-cart-core .kfc-cart-page-app{position:relative;z-index:2;overflow:visible!important}
body.kfc-cart-core .kfc-cart-list{position:relative;z-index:3}
body.kfc-cart-core .kfc-cart-card{position:relative;z-index:3}
body.kfc-cart-core .kfc-cart-page-actions{
  position:relative!important;
  inset:auto!important;
  bottom:auto!important;
  z-index:2!important;
  margin:14px 0 0!important;
  transform:none!important;
}
body.kfc-cart-core .kfc-cart-page{padding-bottom:14px!important}
@media(max-width:680px){
  body.kfc-cart-core .kfc-cart-page{margin-bottom:155px!important;padding-bottom:10px!important}
  body.kfc-cart-core .kfc-cart-page-actions{
    position:relative!important;
    bottom:auto!important;
    margin-top:12px!important;
    box-shadow:0 8px 22px #173d3014!important;
  }
  body.kfc-cart-core .kfc-cart-card{min-height:88px!important}
  body.kfc-cart-core .kfc-cart-list{padding-bottom:0!important}
}



/* v1.7.0 — faster flow + compact order-pay with always-visible pay button */
body.kfc-order-pay-core .woocommerce-order-pay .shop_table,
body.kfc-order-pay-core form#order_review{margin-bottom:10px!important}
body.kfc-order-pay-core .woocommerce-order-pay .shop_table th,
body.kfc-order-pay-core .woocommerce-order-pay .shop_table td{padding:8px 6px!important;font-size:13px!important;line-height:1.7!important;vertical-align:top!important}
body.kfc-order-pay-core .woocommerce-order-pay .shop_table td.product-name,
body.kfc-order-pay-core .woocommerce-order-pay .shop_table th.product-name{font-size:12.5px!important;color:#183f31!important;overflow-wrap:anywhere}
body.kfc-order-pay-core .woocommerce-order-pay .shop_table td.product-total,
body.kfc-order-pay-core .woocommerce-order-pay .shop_table th.product-total,
body.kfc-order-pay-core .woocommerce-order-pay .shop_table tr.order-total td,
body.kfc-order-pay-core .woocommerce-order-pay .shop_table tr.order-total th{font-weight:900!important}
body.kfc-order-pay-core .woocommerce-order-pay ul.payment_methods,
body.kfc-order-pay-core #payment .payment_methods{margin:0!important}
body.kfc-order-pay-core .wc_payment_method>label{display:flex!important;align-items:center!important;gap:10px!important;font-size:15px!important;font-weight:800!important;color:#173d30!important;line-height:1.5!important}
body.kfc-order-pay-core .wc_payment_method>label img{margin-inline-start:auto!important;float:none!important;max-height:32px!important;max-width:76px!important;width:auto!important;height:auto!important;object-fit:contain!important}
body.kfc-order-pay-core #payment div.payment_box{margin:8px 0 0!important;padding:10px 12px!important;border-radius:12px!important;background:#f4f7f5!important;color:#4b5d55!important;font-size:12.5px!important;line-height:1.85!important}
body.kfc-order-pay-core #payment div.payment_box p:last-child{margin-bottom:0!important}
body.kfc-order-pay-core #payment .place-order{margin-top:10px!important}
body.kfc-order-pay-core #payment .place-order #place_order{box-shadow:0 10px 24px #0d6f4d2b!important}
@media(max-width:680px){
  body.kfc-order-pay-core{padding-bottom:150px!important}
  body.kfc-order-pay-core .woocommerce{padding:6px 6px 130px!important;margin:4px auto!important}
  body.kfc-order-pay-core .woocommerce-order-pay .shop_table,
  body.kfc-order-pay-core form#order_review{border-radius:14px!important;padding:8px!important}
  body.kfc-order-pay-core .woocommerce-order-pay .shop_table th,
  body.kfc-order-pay-core .woocommerce-order-pay .shop_table td{padding:6px 4px!important;font-size:12px!important}
  body.kfc-order-pay-core .woocommerce-order-pay .shop_table td.product-name,
  body.kfc-order-pay-core .woocommerce-order-pay .shop_table th.product-name{font-size:11.5px!important;line-height:1.65!important}
  body.kfc-order-pay-core .woocommerce-order-pay .shop_table .shipping td,
  body.kfc-order-pay-core .woocommerce-order-pay .shop_table .shipping th{line-height:1.6!important}
  body.kfc-order-pay-core #payment{background:transparent!important;border:0!important;border-radius:0!important}
  body.kfc-order-pay-core .wc_payment_methods{gap:6px!important}
  body.kfc-order-pay-core .wc_payment_method{padding:8px!important;border-radius:12px!important}
  body.kfc-order-pay-core .wc_payment_method>label{font-size:13.5px!important}
  body.kfc-order-pay-core #payment div.payment_box{padding:8px 10px!important;font-size:11.5px!important;line-height:1.75!important}
  body.kfc-order-pay-core #payment .place-order{position:fixed!important;left:10px!important;right:10px!important;bottom:76px!important;z-index:999!important;background:rgba(255,255,255,.98)!important;border:1px solid var(--kfc-border)!important;border-radius:16px!important;padding:10px!important;box-shadow:0 12px 30px #173d3022!important}
  body.kfc-order-pay-core #payment .place-order:before{content:'پرداخت نهایی سفارش';display:block;font-size:11px;font-weight:700;color:#687a72;margin-bottom:7px}
  body.kfc-order-pay-core #payment .place-order #place_order{min-height:50px!important;font-size:15px!important;border-radius:13px!important;margin:0!important}
}


/* v1.7.1 — visible minus + explicit remove per cart row */
body.kfc-cart-core .kfc-cart-controls{display:grid;gap:6px;justify-items:center;align-items:center}
body.kfc-cart-core .kfc-cart-stepper .kfc-qty-minus{background:#fff!important;color:#233c32!important;border:1px solid #cbd9d2!important;font-size:24px!important;line-height:1!important;display:grid!important;place-items:center!important}
body.kfc-cart-core .kfc-cart-stepper .kfc-qty-plus{display:grid!important;place-items:center!important}
body.kfc-cart-core .kfc-cart-stepper button:disabled{opacity:.38!important;cursor:not-allowed!important}
body.kfc-cart-core .kfc-cart-remove{border:0!important;border-radius:10px!important;background:#fff2f2!important;color:#a62b2b!important;min-height:32px!important;padding:5px 9px!important;font-size:11.5px!important;font-weight:900!important;white-space:nowrap!important;box-shadow:none!important;touch-action:manipulation}
body.kfc-cart-core .kfc-cart-remove span{font-size:17px!important;line-height:1!important;margin-inline-end:3px}
body.kfc-cart-core .kfc-cart-card.is-updating{opacity:.58;pointer-events:none}
@media(max-width:680px){
  body.kfc-cart-core .kfc-cart-card{grid-template-columns:70px minmax(0,1fr) 48px!important}
  body.kfc-cart-core .kfc-cart-controls{grid-column:3!important;grid-row:1!important;width:48px!important;gap:5px!important}
  body.kfc-cart-core .kfc-cart-stepper{grid-column:auto!important;grid-row:auto!important;width:44px!important;flex-direction:column!important;padding:4px!important;gap:3px!important}
  body.kfc-cart-core .kfc-cart-stepper button{width:34px!important;height:31px!important}
  body.kfc-cart-core .kfc-cart-remove{width:44px!important;min-height:31px!important;padding:3px 2px!important;font-size:9px!important;line-height:1.15!important;white-space:normal!important}
  body.kfc-cart-core .kfc-cart-remove span{display:block!important;margin:0!important;font-size:15px!important}
}


/* v1.7.2 shipping recovery */
.kfc-shipping-stage .kfc-empty{display:grid;gap:8px;place-items:center;padding:20px 14px!important;text-align:center}
.kfc-shipping-stage .kfc-empty strong{font-size:15px;color:#2d493f}
.kfc-shipping-stage .kfc-empty small{font-size:12px;line-height:1.8;color:#6d7b76}
.kfc-shipping-stage .kfc-empty button{min-height:42px;padding:0 18px;border:0;border-radius:14px;background:#247654;color:#fff;font:inherit;font-weight:800;cursor:pointer}


/* v1.7.8.3 — visual-only checkout cleanup: hide legacy top login card via JS; compact button typography */
body.kfc-checkout-core form.checkout .kfc-otp-card button,
body.kfc-checkout-core form.checkout .kfc-actions button,
body.kfc-checkout-core form.checkout .kfc-location-box button,
body.kfc-checkout-core form.checkout .kfc-shipping-stage button{
  font-size:13px!important;
  line-height:1.25!important;
  padding:8px 12px!important;
  margin:4px 2px!important;
}
body.kfc-checkout-core form.checkout .kfc-otp-card [data-kfc-send]{
  font-size:10.5px!important;
  line-height:1.2!important;
  padding:9px 9px!important;
  margin:4px 2px!important;
  min-width:124px!important;
  min-height:56px!important;
  height:auto!important;
}
@media(max-width:680px){
  body.kfc-checkout-core form.checkout .kfc-otp-card button,
  body.kfc-checkout-core form.checkout .kfc-actions button,
  body.kfc-checkout-core form.checkout .kfc-location-box button,
  body.kfc-checkout-core form.checkout .kfc-shipping-stage button{
    font-size:12px!important;
    padding:8px 10px!important;
    margin:4px 2px!important;
  }
  body.kfc-checkout-core form.checkout .kfc-otp-card [data-kfc-send]{
    font-size:10px!important;
    padding:9px 7px!important;
    margin:4px 2px!important;
  }
}
