/* Rounded, contained storefront components in the existing Souq identity. */
body.sq{--sq-r-sm:12px;--sq-r-md:20px;--sq-r-lg:24px}
body.sq main *,body.bok-payment-page .bok-payment *{box-sizing:border-box}
body.sq :is(.button,button.button,input[type=submit],.wp-block-button__link,.sq-btn-outline,.sq-search,.sq-copy-btn,.sq-bankak__pick,.sq-copy-sku-btn){border-radius:999px!important}
body.sq :is(input.input-text,input[type=text],input[type=tel],input[type=email],input[type=password],select,textarea){border-radius:20px!important;max-width:100%}
body.sq :is(.sq-card,.sq-cart__store,.sqf-address-form,.sqf-destination,.sqf-saved__item,.sq-ab__card,.sq-ab__add,.sq-trustbox,.sq-empty,.sq-track__form-wrap,.sq-track__res,.woocommerce-MyAccount-content,.sqc-dash__cards a,.sqc-save,.sqc-reset,.bok-receipt){border-radius:24px!important}
body.sq :is(.sqf-address-page,.sqf-payment-page,.sq-cart__items,.sq-cart__side,.sq-ci__body,.woocommerce-MyAccount-content){min-width:0}
body.sq :is(.sqf-destination,.sqf-saved__item,.sq-bankak__info,.sq-bankak__upload,.sq-track__res,.woocommerce-error,.woocommerce-message,.woocommerce-info){overflow-wrap:anywhere}
body.sq :is(.sqf-address-form,.sq-af,.woocommerce-form,.sq-track__form-wrap) label .required,
body.sq .required,body.bok-payment-page .required{color:#B42318!important;text-decoration:none!important;border:0!important;margin-inline-end:4px;margin-inline-start:0}
/* Every SDG price remains an intact, left-to-right unit: currency on the left. */
body.sq .woocommerce-Price-amount,body.bok-payment-page .woocommerce-Price-amount{display:inline-block;direction:ltr!important;unicode-bidi:isolate;white-space:nowrap;font-variant-numeric:tabular-nums}
body.sq .woocommerce-Price-amount bdi,body.bok-payment-page .woocommerce-Price-amount bdi{direction:ltr!important;unicode-bidi:isolate}
body.sq .woocommerce-Price-currencySymbol{font-size:.82em;font-weight:500}
body.sq .sq-money-inline,body.bok-payment-page .sq-money-inline{display:inline-flex;direction:ltr!important;unicode-bidi:isolate;align-items:baseline;gap:.25em;white-space:nowrap;font-variant-numeric:tabular-nums}
body.sq .sq-money-inline>span,body.bok-payment-page .sq-money-inline>span{font-size:.82em}
body.sq .sq-required-caption{display:inline-flex;align-items:baseline;justify-content:center;gap:4px;direction:rtl;flex-wrap:wrap}
/* One outer cart summary, with the address as an unboxed section inside it. */
body.sq .sq-cart__side .cart_totals{border:1px solid #D0D0F8!important;border-radius:24px!important;padding:20px!important;background:#fff;box-shadow:none!important;width:100%!important;margin:0!important;display:flow-root}
body.sq .cart_totals .sqf-destination{border:0!important;border-bottom:1px solid #D0D0F8!important;border-radius:0!important;padding:0 0 16px!important;margin:0 0 20px!important;background:transparent}
body.sq .sqf-destination__head{flex-wrap:wrap;align-items:center;gap:8px 16px}
body.sq .sqf-destination__head strong{flex:1 1 160px;min-width:0;line-height:1.7}
body.sq .sqf-destination__head a{flex:0 0 auto}
body.sq .cart_totals h2{padding:0!important;margin:0 0 12px!important;border:0!important;background:transparent!important;font-size:18px;line-height:1.5}
body.sq .cart_totals table{border:0!important;border-collapse:separate!important;border-spacing:0!important;margin:0!important;table-layout:auto}
body.sq .cart_totals :is(th,td){padding:12px 0!important;overflow-wrap:anywhere}
body.sq .cart_totals .order-total :is(th,td){padding-block:16px!important}
body.sq .cart_totals .order-total small{display:block;white-space:normal!important;line-height:1.7;font-weight:400;font-size:12px;color:#5E5E70}
body.sq .cart_totals .wc-proceed-to-checkout{margin:8px 0 0!important;padding:0!important;clear:both}
body.sq .cart_totals .checkout-button{width:100%;min-width:0;min-height:50px;white-space:normal;line-height:1.5;padding:14px 18px!important}
/* Invoice: one paper surface, clear columns, item header and a distinct final total. */
body.sq .sqf-payment-form #order_review{position:static!important;min-width:0}
body.sq .sqf-payment-form #order_review_heading{margin:24px 0 0!important;padding:20px 20px 16px!important;border:1px solid #D0D0F8!important;border-bottom:0!important;border-radius:24px 24px 0 0!important;background:#fff!important;font-size:19px!important}
body.sq .sqf-payment-form #order_review_heading::after{content:'السوق العربي';display:block;font:400 13px/1.7 'IBM Plex Sans Arabic',sans-serif;color:#5E5E70;margin-top:4px}
body.sq .sqf-payment-form table.shop_table{border:1px solid #D0D0F8!important;border-top:0!important;border-radius:0 0 24px 24px!important;border-collapse:separate!important;border-spacing:0!important;padding:0 20px 12px!important;overflow:hidden;margin:0 0 28px!important;table-layout:fixed}
body.sq .sqf-payment-form table.shop_table thead{display:table-header-group!important}
body.sq .sqf-payment-form table.shop_table thead tr{display:table-row!important}
body.sq .sqf-payment-form table.shop_table thead th{background:#F4F4FE!important;color:#5E5E70;font-size:12px;font-weight:600;padding:10px 12px!important}
body.sq .sqf-payment-form table.shop_table :is(th,td){padding:14px 8px!important;vertical-align:top;border:0!important;border-bottom:1px solid #D0D0F8!important;line-height:1.7;min-width:0;overflow-wrap:anywhere}
body.sq .sqf-payment-form table.shop_table tr>:first-child{width:56%!important}
body.sq .sqf-payment-form table.shop_table tr>:last-child{width:44%!important}
body.sq .sqf-payment-form table.shop_table .product-quantity{display:block;font-size:12px;font-weight:500;color:#5E5E70;margin-top:4px}
body.sq .sqf-payment-form table.shop_table .order-total :is(th,td){background:#F4F4FE!important;border-bottom:0!important;font-weight:700;font-size:19px;padding-block:16px!important}
body.sq .sqf-payment-form table.shop_table .order-total small{white-space:normal!important;max-width:100%;font-size:12px;font-weight:400;line-height:1.7;overflow-wrap:anywhere}
body.sq .sqf-payment-form #shipping_method label{display:block;white-space:normal;line-height:1.7}
body.sq .sqf-payment-form #shipping_method li{width:100%;min-width:0}
body.sq #shipping_method,body.sq #shipping_method *{text-indent:0!important}
body.sq .sqf-payment-form #shipping_method label{display:block!important;white-space:normal!important;text-align:left!important}
body.sq .sqf-payment-form #shipping_method .woocommerce-Price-amount{display:block!important;width:100%!important;min-width:0;max-width:100%;text-align:left!important;margin-top:4px}
body.sq .sqf-payment-form #shipping_method .woocommerce-Price-amount bdi{display:inline!important;width:auto}
body.sq #payment ul.payment_methods li{border-radius:24px!important;min-width:0;overflow-wrap:anywhere}
body.sq #payment ul.payment_methods li>label{white-space:normal;line-height:1.7}
body.sq .sq-bankak__info,body.sq .sq-bankak__upload{border-radius:20px!important}
body.sq #place_order{white-space:normal!important;line-height:1.7!important;min-height:52px;padding:12px 20px!important}
body.sq :is(.woocommerce-error,.woocommerce-info,.woocommerce-message){border-radius:20px!important}
body.sq .woocommerce-MyAccount-content :is(table,form){max-width:100%}
@media(max-width:921px){
 body.sq-has-paybar .cart_totals .wc-proceed-to-checkout{padding:12px 16px!important;margin:0!important;gap:12px;border-radius:24px 24px 0 0!important;min-height:76px}
 body.sq-has-paybar .wc-proceed-to-checkout .checkout-button{flex:1 1 55%;width:auto}
 body.sq-has-paybar .sq-paybar__total{flex:0 1 40%;min-width:0}
 body.sq-has-paybar .sq-paybar__total span{line-height:1.7}
 body.sq .sq-cart__side{padding-bottom:12px}
}
@media(max-width:639px){
 body.sq .sq-cart__side .cart_totals{padding:16px!important}
 body.sq .sqf-payment-form #order_review_heading{padding:18px 14px 12px!important;font-size:18px!important}
 body.sq .sqf-payment-form table.shop_table{padding:0 10px 10px!important}
 body.sq .sqf-payment-form table.shop_table :is(th,td){padding:12px 6px!important;font-size:14px}
 body.sq .sqf-payment-form table.shop_table .order-total :is(th,td){font-size:17px}
 body.sq .sqf-destination__head strong{flex-basis:150px}
 body.sq .sqf-address-form .sqf-saved__item{padding:14px!important}
 body.sq .sq-ci{grid-template-columns:64px minmax(0,1fr) 36px;gap:8px}
 body.sq .sq-ci__img{width:64px;height:64px}
 body.sq .sq-ci__remove{width:36px;height:44px}
 body.sq .sq-af__row{grid-template-columns:1fr}
}