/* ========================================
   Author: Hassan Moaiery
   Email:  h.moaiery@gmail.com
   Phone:  +98 912 290 2832
   Project: Iran Textile Market - Frontend Redesign
   Date: 2026/10/01
======================================== */

/* 1 */
@media (min-width:992px){.o_website_sale_checkout_container>.row.mb32{display:grid!important;grid-template-columns:minmax(0,2fr) minmax(320px,1fr)!important;column-gap:32px!important;align-items:start!important}}
@media (min-width:992px){.o_website_sale_checkout_container>.row.mb32>.col-12:first-child{grid-column:1/-1!important;width:100%!important;max-width:none!important}}
@media (min-width:992px){.o_website_sale_checkout_container>.row.mb32>.oe_cart{grid-column:1!important;grid-row:2!important;width:100%!important;max-width:none!important;padding:0!important}}
@media (min-width:992px){.o_website_sale_checkout_container>.row.mb32>.o_wsale_shorter_cart_summary{grid-column:2!important;grid-row:2!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important}}
#shop_cart{width:100%;background:#fff;border:1px solid #e5eceb;border-radius:22px;padding:26px;box-shadow:0 12px 35px rgba(15,70,68,.06)}
#shop_cart>div:first-child{padding-bottom:18px;margin-bottom:20px!important;border-bottom:1px solid #edf2f2}
#shop_cart>div:first-child h4{font-size:20px;font-weight:800;color:#173638}
#cart_products{width:100%;gap:14px}
#cart_products .o_cart_product{width:100%;background:#fff;border:1px solid #e3ebea;border-radius:18px;padding:18px!important;align-items:center}
#cart_products .o_cart_product_image{flex:0 0 88px}
#cart_products .o_cart_product_image img{width:88px;height:88px;object-fit:cover;border:0!important;border-radius:14px!important}
#cart_products .o_cart_product>div.d-flex.flex-column.flex-grow-1{min-width:0}
#cart_products .o_cart_product h6{font-size:15px;font-weight:700;color:#183638;line-height:1.8}
#cart_products [name="website_sale_cart_line_price"]{font-size:16px;font-weight:800;color:#169d91}
#cart_products [name="o_wsale_cart_line_button_container"]{display:flex!important;align-items:center!important;gap:8px!important;margin-top:10px!important;width:auto!important}
#cart_products [name="o_wsale_cart_line_button_container"]>.text-300{display:none!important}
#cart_products [name="o_wsale_cart_line_button_container"]>a{width:auto!important;min-width:0!important;max-width:none!important;white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important}
#cart_products [name="o_wsale_cart_line_button_container"]>a.js_delete_product{display:inline-flex!important;align-items:center!important;justify-content:center!important;height:36px!important;padding:0 13px!important;border-radius:9px!important;background:#fff1ef!important;color:#d95f57!important;font-size:12px!important;font-weight:700!important;line-height:1!important;text-decoration:none!important}
#cart_products [name="o_wsale_cart_line_button_container"]>a.js_delete_product:hover{background:#ffe3df!important;color:#bf443d!important}
#cart_products [name="o_wsale_cart_line_button_container"]>a.o_add_wishlist{display:inline-flex!important;align-items:center!important;justify-content:center!important;height:36px!important;padding:0 13px!important;border-radius:9px!important;background:#edf8f6!important;color:#168d83!important;font-size:12px!important;font-weight:700!important;line-height:1!important;text-decoration:none!important}
#cart_products [name="o_wsale_cart_line_button_container"]>a.o_add_wishlist:hover{background:#daf1ed!important;color:#10766e!important}
#cart_products .css_quantity{width:116px!important;height:38px!important;border:1px solid #dce9e7!important;border-radius:10px!important;overflow:hidden!important;background:#fff!important}
#cart_products .css_quantity>a{width:36px!important;min-width:36px!important;height:36px!important;padding:0!important;display:flex!important;align-items:center!important;justify-content:center!important;border:0!important;border-radius:0!important;background:#eef8f6!important;color:#168f85!important;text-decoration:none!important}
#cart_products .css_quantity>a:hover{background:#dff2ef!important;color:#0c746c!important}
#cart_products .css_quantity .quantity{width:42px!important;min-width:42px!important;height:36px!important;padding:0!important;text-align:center!important;font-weight:800!important;color:#183638!important;background:#fff!important;box-shadow:none!important}
#cart_products .css_quantity .oi-minus{font-size:0!important}
#cart_products .css_quantity .oi-plus{font-size:0!important}
#cart_products .css_quantity .oi-minus:before{content:"−"!important;font-family:Arial,sans-serif!important;font-size:20px!important;font-weight:400!important;line-height:1!important}
#cart_products .css_quantity .oi-plus:before{content:"+"!important;font-family:Arial,sans-serif!important;font-size:20px!important;font-weight:400!important;line-height:1!important}
.o_wsale_shorter_cart_summary .o_total_card{width:100%!important;border:1px solid #e4eceb!important;border-radius:20px!important;overflow:hidden!important;box-shadow:0 14px 40px rgba(15,70,68,.08)!important}
.o_wsale_shorter_cart_summary .o_total_card .card-body{padding:24px!important}
.o_wsale_shorter_cart_summary .o_cart_total table{font-size:13px}
.o_wsale_shorter_cart_summary .coupon_form{margin-top:18px;padding-top:18px;border-top:1px solid #edf1f1}
.o_wsale_shorter_cart_summary .coupon_form .input-group{border:1px solid #e4ebea;border-radius:11px;overflow:hidden}
.o_wsale_shorter_cart_summary .coupon_form input{border:0!important;box-shadow:none!important}
.o_wsale_shorter_cart_summary .coupon_form button{border:0!important;background:#eef8f6!important;color:#178e84!important;font-weight:700}
.o_wsale_shorter_cart_summary [name="website_sale_main_button"]{min-height:48px;border:0!important;border-radius:12px!important;background:#21998d!important;font-weight:800!important;display:flex!important;align-items:center!important;justify-content:center!important}
@media (max-width:991.98px){#shop_cart{padding:16px;border-radius:16px}}
#cart_products .wk_virtual_cart_remove{display:none!important}
#cart_products .availability_messages:empty{display:none!important}
#cart_products .css_quantity[name="website_sale_cart_line_quantity"]{display:flex!important;width:116px!important;height:38px!important;padding:0!important;margin:0!important;border:1px solid #dce9e7!important;border-radius:10px!important;overflow:hidden!important;background:#fff!important;box-shadow:none!important}
#cart_products .css_quantity[name="website_sale_cart_line_quantity"]>a{flex:0 0 36px!important;width:36px!important;height:36px!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important}
#cart_products .css_quantity[name="website_sale_cart_line_quantity"]>input{flex:0 0 42px!important;width:42px!important;height:36px!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important}
#cart_products .css_quantity[name="website_sale_cart_line_quantity"]>a:first-child{border-radius:0 9px 9px 0!important}
#cart_products .css_quantity[name="website_sale_cart_line_quantity"]>a:last-child{border-radius:9px 0 0 9px!important}
  
/* 2 */
@media (min-width:992px){.o_website_sale_checkout_container>.row.mb32{display:grid!important;grid-template-columns:minmax(0,2fr) minmax(320px,1fr)!important;grid-template-areas:"wizard wizard" "checkout summary"!important;column-gap:32px!important;row-gap:28px!important;align-items:start!important;direction:rtl!important}.o_website_sale_checkout_container>.row.mb32>.col-12:first-child{grid-area:wizard!important;width:100%!important;max-width:none!important}.o_website_sale_checkout_container>.row.mb32>.oe_cart{grid-area:checkout!important;width:100%!important;max-width:none!important;flex:none!important;padding:0!important;margin:0!important}.o_website_sale_checkout_container>.row.mb32>.d-none.d-lg-block.offset-xxl-1.col-12.col-lg-5{grid-area:summary!important;display:block!important;width:100%!important;max-width:none!important;flex:none!important;margin:0!important;padding:0!important}.o_website_sale_checkout_container .o_total_card{position:sticky!important;top:110px!important;width:100%!important;margin:0!important}}
#shop_checkout #o_delivery_methods{display:flex!important;flex-direction:column!important;gap:14px!important;--bs-list-group-border-width:0!important;--bs-list-group-border-radius:0!important}
#shop_checkout #o_delivery_methods>li[name="o_delivery_method"]{margin:0!important;padding:18px 20px!important;border:1px solid #e4eceb!important;border-radius:16px!important;background:#fff!important;overflow:hidden!important}
#shop_checkout #o_delivery_methods>.list-group-item:first-child,#shop_checkout #o_delivery_methods>.list-group-item:last-child,#shop_checkout #o_delivery_methods>.list-group-item+.list-group-item{border-radius:16px!important;border-width:1px!important}
#shop_checkout #o_delivery_methods>li[name="o_delivery_method"]:has(input:checked){border-color:#2aa99b!important;box-shadow:0 5px 18px rgba(22,130,119,.08)!important}
#shop_checkout #o_delivery_methods>li[name="o_delivery_method"]>.text-muted{margin-top:10px!important;line-height:1.9!important}
#shop_checkout #delivery_address_list{margin-top:24px!important}
#shop_checkout #delivery_address_list .o_portal_address_list{gap:14px!important}
#shop_checkout #delivery_address_list .o_address_card{border-radius:16px!important;overflow:hidden!important}
#shop_checkout #billing_address_list{margin-top:24px!important}
#shop_checkout #billing_address_list .o_portal_address_list{gap:14px!important}
#shop_checkout #billing_address_list .o_address_card{border-radius:16px!important;overflow:hidden!important}
@media (max-width:991.98px){.o_website_sale_checkout_container>.row.mb32{display:flex!important}#shop_checkout #o_delivery_methods{gap:10px!important}#shop_checkout #o_delivery_methods>li[name="o_delivery_method"]{padding:14px!important;border-radius:14px!important}}

/* 3 */
@media (min-width:992px){.o_website_sale_checkout_container>.row.mb32{display:grid!important;grid-template-columns:minmax(0,2fr) minmax(320px,1fr)!important;grid-template-areas:"wizard wizard" "payment summary"!important;column-gap:32px!important;row-gap:28px!important;align-items:start!important;direction:rtl!important}.o_website_sale_checkout_container>.row.mb32>.col-12:first-child{grid-area:wizard!important;width:100%!important;max-width:none!important}.o_website_sale_checkout_container>.row.mb32>.oe_cart{grid-area:payment!important;width:100%!important;max-width:none!important;flex:none!important;padding:0!important;margin:0!important}.o_website_sale_checkout_container>.row.mb32>.d-none.d-lg-block.offset-xxl-1.col-12.col-lg-5{grid-area:summary!important;display:block!important;width:100%!important;max-width:none!important;flex:none!important;margin:0!important;padding:0!important}.o_website_sale_checkout_container>.row.mb32>.d-none.d-lg-block.offset-xxl-1.col-12.col-lg-5>.o_total_card{position:sticky!important;top:110px!important;width:100%!important;margin:0!important}}
#payment_method{display:block!important;visibility:visible!important;opacity:1!important;background:#fff!important;border:1px solid #e7efee!important;border-radius:20px!important;padding:24px!important;box-shadow:0 12px 35px rgba(20,55,58,.06)!important}
#payment_method #o_payment_form{display:block!important}
#payment_method #o_payment_form_options{display:flex!important}
#payment_method #o_payment_methods{display:block!important}
#payment_method #o_payment_methods>.list-group{display:flex!important;flex-direction:column!important;gap:14px!important}
#payment_method li[name="o_payment_option"]{display:flex!important;visibility:visible!important;opacity:1!important;margin:0!important;padding:18px!important;border:1px solid #e2ecea!important;border-radius:15px!important;background:#fff!important}
#payment_method li[name="o_payment_option"]+li[name="o_payment_option"]{border-top-width:1px!important}
#payment_method li[name="o_payment_option"]:has(input:checked){border-color:#249f91!important;background:#f6fbfa!important;box-shadow:0 5px 18px rgba(36,159,145,.1)!important}
#payment_method .o_payment_option_label{display:block!important;font-weight:700!important;color:#17373b!important}
#payment_method li[name="o_payment_option"] img{display:block!important;max-height:44px!important;width:auto!important;object-fit:contain!important}        #address_on_payment{margin-top:18px!important}
#address_on_payment>.card{border:1px solid #e2ecea!important;border-radius:18px!important;overflow:hidden!important;box-shadow:0 10px 30px rgba(20,55,58,.05)!important}
#address_on_payment>.card>.card-body{padding:22px!important}
#address_on_payment .float-end.no-decoration{display:inline-flex!important;align-items:center!important;gap:6px!important;padding:9px 14px!important;border:1px solid #dce9e7!important;border-radius:10px!important;background:#f4faf9!important;color:#168f83!important}
#address_on_payment .o_portal_address{line-height:1.9!important}
.o_website_sale_checkout_container button[name="o_payment_submit_button"]{width:100%!important;max-width:none!important;margin:0!important;padding:12px 18px!important;border-radius:10px!important}
@media (max-width:991.98px){#payment_method{padding:16px!important;border-radius:16px!important}#payment_method #o_payment_methods>.list-group{gap:10px!important}#payment_method li[name="o_payment_option"]{padding:14px!important;border-radius:13px!important}#address_on_payment>.card>.card-body{padding:16px!important}}


/* 4 */
@media (min-width:992px){.o_website_sale_checkout_container>.row.mt32.mb32{display:grid!important;grid-template-columns:minmax(0,2fr) minmax(320px,1fr)!important;column-gap:32px!important;align-items:start!important;direction:rtl!important}.o_website_sale_checkout_container>.row.mt32.mb32>.oe_cart{grid-column:1!important;grid-row:1!important;width:100%!important;max-width:none!important;flex:none!important;padding:0!important;margin:0!important}.o_website_sale_checkout_container>.row.mt32.mb32>.d-none.d-lg-block.offset-xxl-1.col-12.col-lg-5{grid-column:2!important;grid-row:1!important;display:block!important;width:100%!important;max-width:none!important;flex:none!important;margin:0!important;padding:0!important}.o_website_sale_checkout_container>.row.mt32.mb32>.d-none.d-lg-block.offset-xxl-1.col-12.col-lg-5>.o_total_card{position:sticky!important;top:110px!important;width:100%!important;margin:0!important}}
.o_website_sale_checkout_container>.row.mt32.mb32>.oe_cart{background:#fff!important;border:1px solid #e5eceb!important;border-radius:22px!important;padding:28px!important;box-shadow:0 12px 35px rgba(15,70,68,.06)!important}
.o_website_sale_checkout_container>.row.mt32.mb32>.oe_cart>div:first-child{margin-bottom:18px!important}
.o_website_sale_checkout_container>.row.mt32.mb32>.oe_cart>div:first-child h3{margin:0!important;font-size:22px!important;font-weight:800!important;color:#173638!important}
.o_website_sale_checkout_container>.row.mt32.mb32>.oe_cart>div:first-child .btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:40px!important;padding:8px 16px!important;border:1px solid #dce9e7!important;border-radius:10px!important;background:#f4faf9!important;color:#168f83!important;font-weight:700!important}
#order_name{display:flex!important;align-items:center!important;justify-content:space-between!important;margin:0 0 18px!important;padding:14px 18px!important;border:1px solid #e2ecea!important;border-radius:13px!important;background:#f7fbfa!important}
#order_name h5{margin:0!important;font-size:16px!important;font-weight:700!important;color:#173638!important}
#order_name h5 span:last-child{margin-right:6px!important;color:#159589!important;font-weight:800!important}
div[name="order_confirmation"]{margin:0 0 18px!important}
div[name="order_confirmation"]>.alert{position:relative!important;margin:0!important;padding:16px 18px!important;border-radius:13px!important;border-width:1px!important}
div[name="order_confirmation"]>.alert-danger{background:#fff3f3!important;border-color:#f2cece!important;color:#9d3535!important}
div[name="order_confirmation"]>.alert-success{background:#effaf6!important;border-color:#c8eadc!important;color:#176d55!important}
div[name="order_confirmation"]>.alert-warning{background:#fff9eb!important;border-color:#f0dfb2!important;color:#86631a!important}
div[name="order_confirmation"]>.alert p{margin:0!important;font-weight:700!important;line-height:1.8!important}
div[name="order_confirmation"]>.alert .float-end{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:34px!important;height:34px!important;padding:0!important;margin:0!important;border-radius:9px!important}
#delivery_and_billing{padding:22px!important}
#delivery_and_billing>.d-flex{gap:24px!important}
#delivery_and_billing .o_portal_address{padding:0!important;margin:0!important;line-height:1.9!important;color:#526264!important}
#delivery_and_billing .o_portal_address>div:first-child{font-weight:800!important;color:#173638!important;margin-bottom:8px!important}
#delivery_and_billing .badge{padding:7px 11px!important;border:1px solid #bfe5df!important;border-radius:20px!important;background:#edf9f7!important;color:#158d82!important;font-size:11px!important;font-weight:700!important}
.o_website_sale_checkout_container>.row.mt32.mb32>.oe_cart>.mt-3:has(#delivery_and_billing){margin-top:18px!important}
.o_website_sale_checkout_container>.row.mt32.mb32>.oe_cart>.mt-3:has(#delivery_and_billing)>.card{border:1px solid #e2ecea!important;border-radius:16px!important;overflow:hidden!important;box-shadow:none!important}
.o_website_sale_checkout_container>.row.mt32.mb32>.d-none.d-lg-block .o_total_card{border:1px solid #e4eceb!important;border-radius:20px!important;overflow:hidden!important;box-shadow:0 14px 40px rgba(15,70,68,.08)!important}
.o_website_sale_checkout_container>.row.mt32.mb32>.d-none.d-lg-block .o_total_card .card-body{padding:24px!important}
.o_website_sale_checkout_container>.row.mt32.mb32>.d-none.d-lg-block .o_cart_products_table{margin-bottom:16px!important}
.o_website_sale_checkout_container>.row.mt32.mb32>.d-none.d-lg-block .o_cart_product_image img{width:58px!important;height:58px!important;object-fit:cover!important;border-radius:10px!important}
.o_website_sale_checkout_container>.row.mt32.mb32>.d-none.d-lg-block .o_cart_item_count{background:#168f83!important}
.o_website_sale_checkout_container>.row.mt32.mb32>.d-none.d-lg-block .o_cart_total{padding-top:16px!important;border-color:#e8eeee!important}
.o_website_sale_checkout_container>.row.mt32.mb32>.d-none.d-lg-block tr[name="o_order_total"] strong{font-size:17px!important}
.o_website_sale_checkout_container>.row.mt32.mb32>.d-none.d-lg-block tr[name="o_order_total"] td:last-child strong{color:#159d91!important;font-size:19px!important}
@media (max-width:991.98px){.o_website_sale_checkout_container>.row.mt32.mb32>.oe_cart{padding:18px!important;border-radius:16px!important}#delivery_and_billing{padding:16px!important}#delivery_and_billing>.d-flex{gap:16px!important}}
 