/* Scoped checkout improvements; no product/gallery overrides. */
#ORDER_FORM input:not([type=hidden]):not([type=checkbox]):not([type=radio]),#ORDER_FORM textarea,.oneclick-open input[type=tel]{font-size:16px!important;min-height:48px;border:1px solid #bfd0cc!important;border-radius:10px!important;padding:12px!important;background:#fff!important;color:#163b35!important;box-sizing:border-box;max-width:100%}
#ORDER_FORM input[type=radio],#ORDER_FORM input[type=checkbox],.oneclick-open input[type=checkbox]{width:22px;height:22px;accent-color:#087f79;vertical-align:middle}
#ORDER_CONFIRM_BUTTON,.oneclick-open input[type=submit]{min-height:50px!important;border:0!important;border-radius:10px!important;background:#087f79!important;color:white!important;font-size:17px!important;font-weight:600;text-align:center;padding:14px 20px!important;cursor:pointer;box-sizing:border-box}
.oneclick-open input[type=submit]:disabled{opacity:.7;cursor:wait}
.oneclick-open .load{display:none!important}
.ok-checkout-message{clear:both;padding:12px 0;color:#7b302a;font-size:16px;line-height:1.5;overflow-wrap:anywhere}
.ok-checkout-message:empty{display:none}
.ok-checkout-success{padding:24px 8px;color:#164b41;font-size:20px}
.oneclick-open .title{font-size:24px!important;font-weight:600}
.oneclick-open .inner-container{border-radius:16px;background:white}
#basket_form input[name^=QUANTITY_INPUT]{font-size:18px;min-width:44px;min-height:44px;text-align:center}
@media(max-width:767px){
 body:has(#basket_form) .ok-telegram-consult,body:has(#ORDER_FORM) .ok-telegram-consult{display:none!important}
 body:has(.oneclick-open.active) [href*="t.me/IlyaOnlineKrasotaBot"]{display:none!important}
 #basket_form,#ORDER_FORM{width:100%;max-width:100%;box-sizing:border-box}
 #basket_form table,#basket_form tbody{display:block;width:100%!important}
 #basket_form tr{display:flex!important;flex-wrap:wrap;align-items:center;gap:12px;padding:16px 12px!important;margin-bottom:12px;background:#fff;border:1px solid #dce8e4;border-radius:14px}
 #basket_form td{display:block!important;width:auto!important;padding:0!important;float:none!important}
 #basket_form td:first-child{width:64px!important;flex:0 0 64px}
 #basket_form td:first-child img{max-width:64px;max-height:80px;object-fit:contain}
 #basket_form td:nth-child(2){flex:1 1 calc(100% - 90px);font-size:16px;line-height:1.4}
 #basket_form td:nth-child(3){flex:1 1 120px}
 #basket_form td:nth-child(4){font-size:19px;font-weight:600}
 #basket_form .row,#ORDER_FORM .row,.oneclick-open .row{margin-left:0!important;margin-right:0!important}
 #ORDER_FORM [class*=col-]{float:none!important;width:100%!important;left:auto!important;padding-left:0!important;padding-right:0!important}
 #ORDER_FORM label{line-height:1.45}
 #ORDER_FORM textarea{width:100%;min-height:90px}
 #ORDER_CONFIRM_BUTTON{display:block;width:100%}
 .oneclick-open{max-width:100vw!important;padding:12px!important;box-sizing:border-box;overflow-y:auto!important;max-height:100dvh}
 .oneclick-open>.container{width:100%!important;max-width:480px;padding:0!important;margin:0 auto}
 .oneclick-open .form-container{width:100%!important;left:auto!important;float:none!important;padding:0!important}
 .oneclick-open .inner-container{padding:24px 18px!important;box-sizing:border-box;max-width:100%}
 .oneclick-open [class*=col-]{padding-left:0!important;padding-right:0!important}
 .oneclick-open .close-form{width:44px!important;height:44px!important;top:2px!important;right:2px!important;z-index:3}
 .oneclick-open .title{margin-bottom:20px!important;padding-top:16px!important}
 .oneclick-open input[type=tel],.oneclick-open input[type=submit]{width:100%!important}
 .oneclick-open label,.oneclick-open .agree{font-size:14px!important;line-height:1.45!important}
}

#basket_form .delete-basket{display:inline-flex!important;position:relative!important;align-items:center;justify-content:center;min-width:44px;min-height:44px;cursor:pointer}#basket_form .delete-basket:after{content:"Удалить";font-size:13px;color:#91483e;background:white;padding:4px}

.oneclick-open .ok-quick-name{width:100%;box-sizing:border-box;min-height:48px;font-size:16px;border:1px solid #bfd0cc;border-radius:10px;padding:12px;margin-bottom:12px;background:white}
.oneclick-open .inner-container{display:flow-root!important;height:auto!important;border:0!important;color:#163b35!important}
.oneclick-open form{display:flow-root!important;position:relative;color:#163b35!important}
.oneclick-open .wrap-agree,.oneclick-open .wrap-agree label{color:#526a64!important;font-size:14px!important;line-height:1.5!important}
.oneclick-open .close-form{display:block!important;cursor:pointer}
.oneclick-open .close-form:after{content:'×';font-size:32px;color:#163b35;display:block;text-align:center;line-height:44px;background:white;border-radius:22px}
@media(max-width:767px){
 .oneclick-open .inner-container [class*=col-]{float:none!important;width:100%!important;left:auto!important}
 .oneclick-open .inner-container .title{padding-top:22px!important}
 .oneclick-open .inner-container .input{height:auto!important;margin-bottom:16px!important}
 .order-checkout.hidden-xs{display:block!important;margin-top:28px;padding:18px 14px;border:1px solid #dce8e4;border-radius:14px;background:#fff}
 #basket_form .sum{display:flex!important;flex-direction:column;gap:16px;padding:16px!important;background:white!important;border:1px solid #dce8e4;border-radius:14px}
 #basket_form .coupon-cont,#basket_form .price_sum{width:100%!important;float:none!important;position:static!important;margin:0!important;padding:0!important;text-align:left!important}
 #basket_form .coupon-title{font-size:15px!important}
 #basket_form .coupon-cont input{min-height:44px;font-size:16px;max-width:100%;box-sizing:border-box}
 #basket_form .price_sum .one-click-full{display:block!important;padding:14px!important;background:#087f79!important;color:white!important;border:0!important;border-radius:10px!important;font-size:17px!important;margin-top:12px;text-align:center;white-space:normal}
}
@media(max-width:767px){.order-checkout .hidden-xs,.order-checkout .hidden-sm{display:block!important}.order-checkout{line-height:1.5}.order-checkout .section,.order-checkout .bx_section{margin-top:16px!important}.order-checkout .section label,.order-checkout .bx_section label{display:block;padding:10px 0}.order-checkout .section label input,.order-checkout .bx_section label input{margin-right:8px}}
.oneclick-open .form-container{border:0!important;background:transparent!important}
.oneclick-open .wrap-agree label{display:flex!important;align-items:flex-start;gap:10px}
.oneclick-open .wrap-agree input[type=checkbox]{appearance:auto!important;-webkit-appearance:checkbox!important;opacity:1!important;display:inline-block!important;position:static!important;flex:0 0 22px;margin:2px 0 0!important}
.oneclick-open .wrap-agree label>span{color:#526a64!important;font-size:14px!important;line-height:1.5!important}
/* Keep one native, accessible consent checkbox. */
.oneclick-open .wrap-agree{display:flex!important;align-items:flex-start;gap:10px}
.oneclick-open .wrap-agree label{position:static!important;float:none!important;flex:0 0 22px;width:22px!important;margin:0!important;padding:0!important}
.oneclick-open .wrap-agree label>span{display:none!important}
.oneclick-open .wrap-agree .wrap-desc{margin:0!important;padding:0!important;flex:1;min-width:0;font-size:14px;line-height:1.5}
@media(max-width:767px){
 #basket_form .coupon-container,#basket_form td.price{display:block!important;width:100%!important;box-sizing:border-box;padding:16px!important;background:#fff!important}
 #basket_form .coupon-container{border:1px solid #dce8e4;border-radius:12px 12px 0 0}
 #basket_form td.price{border:1px solid #dce8e4;border-top:0;border-radius:0 0 12px 12px}
 #basket_form .one-click-full{display:block!important;box-sizing:border-box;padding:14px!important;background:#087f79!important;color:#fff!important;border:0!important;border-radius:10px!important;font-size:17px!important;text-align:center;white-space:normal;min-height:48px;margin:12px 0}
}
@media(max-width:767px){#basket_form tr:has(>.coupon-container){display:block!important}#basket_form .coupon-container,#basket_form td.price{min-width:100%!important;flex:0 0 100%!important}#basket_form .coupon_block,#basket_form .ordercart_coupon_main{width:100%!important}#basket_form .coupon-enter{display:inline-block;padding:10px 0;font-size:15px}}
