@font-face{font-family:"Tajawal";src:url("/wp-content/fonts/tajawal/Iura6YBj_oCad4k1nzSBDZxLhLFw4Q.woff") format("woff");font-style:normal;font-weight:400 900;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+08A0-08FF,U+FB50-FDFF,U+FE70-FEFF;}
@font-face{font-family:"Tajawal";src:url("/wp-content/fonts/tajawal/Iura6YBj_oCad4k1nzGBDZxLhLE.woff") format("woff");font-style:normal;font-weight:400 900;font-display:swap;unicode-range:U+0000-00FF,U+2000-206F,U+20AC,U+2122;}
:root{--rq-brand:#5D2F77;--rq-brand-deep:#3E1E68;--rq-accent:#E45A92;--rq-soft:#F7F2FB;--rq-line:#ECE6F1;--rq-ink:#1E1225;}
html,body{font-family:"Tajawal",Tahoma,Arial,sans-serif;}
html.rq-font-pending body{opacity:0!important;}
html.rq-font-ready body{opacity:1;transition:opacity .16s ease;}
body.rq-guest-checkout form.checkout{display:none!important;}
.rq-checkout-gate{display:flex;align-items:flex-start;gap:16px;max-width:1080px;margin:16px auto 24px;padding:20px 22px;border:1px solid #E5C9EF;border-radius:20px;background:linear-gradient(135deg,#FBF5FD,#FFF3F8);box-shadow:0 18px 40px -28px rgba(62,30,104,.48);color:var(--rq-ink);font-family:"Tajawal",Tahoma,Arial,sans-serif;}
.rq-checkout-gate__icon{display:grid;place-items:center;flex:none;width:42px;height:42px;border-radius:13px;background:linear-gradient(135deg,var(--rq-brand),var(--rq-accent));color:#fff;font-size:24px;font-weight:800;line-height:1;}
.rq-checkout-gate strong{display:block;color:var(--rq-brand-deep);font-size:18px;font-weight:800;line-height:1.5;}
.rq-checkout-gate p{margin:4px 0 12px;color:#6B6275;font-size:14px;line-height:1.9;}
.rq-checkout-gate__button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 20px;border-radius:12px;background:linear-gradient(135deg,var(--rq-brand),var(--rq-accent));color:#fff!important;text-decoration:none!important;font-size:14px;font-weight:800;box-shadow:0 12px 24px -15px rgba(93,47,119,.9);transition:transform .2s ease,filter .2s ease;}
.rq-checkout-gate__button:hover{color:#fff!important;transform:translateY(-1px);filter:brightness(1.04);}
body.rq-digital-checkout #billing_country_field,body.rq-digital-checkout #billing_state_field,body.rq-digital-checkout #billing_city_field,body.rq-digital-checkout #billing_postcode_field,body.rq-digital-checkout #billing_address_1_field,body.rq-digital-checkout #billing_address_2_field,body.rq-digital-checkout #billing_countrysj_field,body.rq-digital-checkout #ship-to-different-address,body.rq-digital-checkout .shipping_address{display:none!important;}
body.rq-digital-checkout input[name="billing_phone"],body.rq-digital-checkout #billing_phone,body.rq-digital-checkout input[type="tel"]{direction:rtl!important;text-align:right!important;unicode-bidi:plaintext;}
body.rq-guest-checkout .woocommerce-form-login-toggle,body.rq-guest-checkout .woocommerce-form-coupon-toggle{display:none!important;}
body.ruqi-shop-ui .woocommerce-NoticeGroup-checkout .woocommerce-error,body.ruqi-shop-ui .woocommerce-checkout > .woocommerce-error,body.ruqi-shop-ui .woocommerce-checkout .woocommerce-error{display:grid!important;gap:8px;margin:16px 0 22px!important;padding:16px 18px!important;border:1px solid #F3B4CC!important;border-radius:18px!important;background:linear-gradient(135deg,#FFF3F7,#FFF9FB)!important;color:#8A1F4A!important;box-shadow:0 12px 30px -24px rgba(194,24,91,.6)!important;font-family:"Tajawal",Tahoma,Arial,sans-serif!important;font-size:14px!important;line-height:1.85!important;list-style:none!important;}
body.ruqi-shop-ui .woocommerce-NoticeGroup-checkout .woocommerce-error li{display:flex;align-items:flex-start;gap:8px;margin:0!important;padding:0!important;border:0!important;}
body.ruqi-shop-ui .woocommerce-NoticeGroup-checkout .woocommerce-error li::before{content:"!";display:grid;place-items:center;flex:none;width:20px;height:20px;margin-top:2px;border-radius:50%;background:var(--rq-accent);color:#fff;font-size:12px;font-weight:900;line-height:1;}
body.ruqi-shop-ui .woocommerce-invalid-required-field>label,body.ruqi-shop-ui .woocommerce-invalid.woocommerce-invalid-required-field>label{color:#C2185B!important;font-weight:800!important;}
body.ruqi-shop-ui .woocommerce-invalid-required-field input,body.ruqi-shop-ui .woocommerce-invalid-required-field select,body.ruqi-shop-ui .woocommerce-invalid-required-field textarea,body.ruqi-shop-ui .woocommerce-invalid-required-field .select2-selection{border-color:#E45A92!important;background:#FFF5F8!important;box-shadow:0 0 0 3px rgba(228,90,146,.13)!important;}
body.ruqi-shop-ui .woocommerce-invalid-required-field::after{content:"يرجى تعبئة هذا الحقل";display:block;margin-top:6px;color:#B4235D;font-size:12px;font-weight:700;line-height:1.5;}
body.ruqi-shop-ui .woocommerce-invalid-required-field .required{color:#C2185B!important;}
@keyframes rq-ux-spin{to{transform:rotate(360deg);}}
.rq-ux-busy{position:relative!important;color:transparent!important;pointer-events:none!important;}
.rq-ux-busy>*{visibility:hidden!important;}
.rq-ux-busy::after{content:"";position:absolute;inset:0;margin:auto;width:20px;height:20px;border:2.5px solid rgba(255,255,255,.35);border-top-color:#fff;border-radius:50%;animation:rq-ux-spin .7s linear infinite;}
.rq-auth[data-rq-view="register"] .ruqi-verify-resend{display:none!important;}
body .woocommerce form button,body .woocommerce form input[type="submit"],body .woocommerce .button{font-family:"Tajawal",Tahoma,Arial,sans-serif;}
@media(max-width:700px){.rq-checkout-gate{margin:12px 12px 18px;padding:17px 15px;gap:11px}.rq-checkout-gate strong{font-size:16px}.rq-checkout-gate p{font-size:13px}.rq-checkout-gate__button{width:100%;}.rq-checkout-gate>div{flex:1;}}
body.ruqi-shop-ui input[name="billing_phone"],body.ruqi-shop-ui #billing_phone,body.ruqi-shop-ui input[type="tel"]{direction:rtl!important;text-align:right!important;unicode-bidi:plaintext;}
body.ruqi-shop-ui .woocommerce-checkout-payment { direction: rtl; }
body.ruqi-shop-ui .woocommerce-checkout-payment .wc_payment_methods { display: grid; gap: 10px; margin: 0 0 16px !important; padding: 0 !important; }
body.ruqi-shop-ui .woocommerce-checkout-payment .wc_payment_method { margin: 0 !important; padding: 13px 15px !important; border: 1px solid #E8DDF0 !important; border-radius: 16px !important; background: #fff !important; box-shadow: 0 10px 26px -24px rgba(62,30,104,.65); }
body.ruqi-shop-ui .woocommerce-checkout-payment .wc_payment_method > label { display: flex !important; align-items: center; gap: 9px; color: #3E1E68 !important; font-weight: 800 !important; }
body.ruqi-shop-ui .woocommerce-checkout-payment .wc_payment_method > label img { max-width: 62px !important; max-height: 28px !important; object-fit: contain; margin-inline-start: auto !important; }
body.ruqi-shop-ui .woocommerce-checkout-payment .payment_box { margin: 10px 0 0 !important; padding: 10px 12px !important; border-radius: 11px !important; background: #FBF7FD !important; color: #6B6275 !important; font-size: 12px !important; line-height: 1.8 !important; }
body.ruqi-shop-ui .woocommerce-checkout-payment .payment_box::before { display: none !important; }

/* Payment method badges */
body.ruqi-shop-ui .rq-payment-methods { display:flex; flex-wrap:wrap; gap:6px; margin:8px 0 6px; direction:ltr; }
body.ruqi-shop-ui .rq-payment-method { display:inline-flex; align-items:center; min-height:24px; padding:3px 9px; border:1px solid #e7ddef; border-radius:999px; background:#fff; color:#4b315f; font-size:11px; font-weight:800; letter-spacing:.02em; }
body.ruqi-shop-ui .rq-payment-method--visa { color:#1a3d8f; border-color:#cbd7fb; }
body.ruqi-shop-ui .rq-payment-method--mastercard { color:#9d3b23; border-color:#f0cfc5; }
body.ruqi-shop-ui .rq-payment-method--fawry { color:#8f5a13; border-color:#f0dfb9; direction:rtl; }
body.ruqi-shop-ui .rq-payment-method--wallet { color:#5d2f77; border-color:#ddc9eb; direction:rtl; }
body.ruqi-shop-ui .rq-payment-hint { display:block; color:#6b6275; font-size:12px; line-height:1.8; }

/* Keep the checkout focused: the shipping fee note is the visible explanation; the rate radio is retained only for calculation. */
body.ruqi-shop-ui .woocommerce-checkout .woocommerce-shipping-methods,
body.ruqi-shop-ui .woocommerce-checkout .shipping_method { display:none !important; }

/* The checkout mode marker is refreshed after cart changes, so a digital-only cart never keeps stale shipping UI. */
body.rq-digital-cart #billing_country_field,
body.rq-digital-cart #billing_city_field,
body.rq-digital-cart #billing_state_field,
body.rq-digital-cart #billing_postcode_field,
body.rq-digital-cart #billing_address_1_field,
body.rq-digital-cart #billing_address_2_field,
body.rq-digital-cart #ship-to-different-address,
body.rq-digital-cart .shipping_address,
body.rq-digital-cart .woocommerce-shipping-totals,
body.rq-digital-cart .wc_payment_method.payment_method_cod { display:none !important; }
body.rq-digital-cart .woocommerce-checkout-payment .wc_payment_method.payment_method_cod { display:none !important; }

body.ruqi-shop-ui #ship-to-different-address { display:none !important; }
body.ruqi-shop-ui .woocommerce-shipping-fields > h3.step-title { display:none !important; }

body.ruqi-shop-ui .shipping_address_wrapper { display:none !important; }
/* Final checkout presentation pass */
body.ruqi-shop-ui .woocommerce-checkout-payment,
body.ruqi-shop-ui .woocommerce-checkout-payment .wc_payment_method,
body.ruqi-shop-ui .woocommerce-checkout-payment .payment_box {
  direction: rtl !important;
  text-align: right !important;
}
body.ruqi-shop-ui .woocommerce-checkout-payment .wc_payment_method > label {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  direction: rtl !important;
  text-align: right !important;
}
body.ruqi-shop-ui .woocommerce-checkout-payment .wc_payment_method > label img {
  width: auto !important;
  max-width: 92px !important;
  max-height: 34px !important;
  height: auto !important;
  object-fit: contain !important;
  margin-inline-start: 0 !important;
  margin-inline-end: auto !important;
}
body.ruqi-shop-ui .rq-payment-methods {
  direction: rtl !important;
  justify-content: flex-start !important;
  align-items: center !important;
  gap: 7px !important;
}
body.ruqi-shop-ui .rq-payment-method {
  min-height: 28px !important;
  padding: 4px 10px !important;
  font-size: 12px !important;
  line-height: 1.3 !important;
}
/* Replace the generic blue COD notice with the store palette. */
body.ruqi-shop-ui.woocommerce-order-received.rq-order-cod .woocommerce-info,
body.ruqi-shop-ui.woocommerce-order-received.rq-order-cod .woocommerce-order > .woocommerce-info {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  width: min(100%, 860px) !important;
  margin: 0 auto 18px !important;
  padding: 14px 18px !important;
  border: 1px solid #e6d3ee !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, #f8f1fc, #fff5fa) !important;
  color: #5d2f77 !important;
  box-shadow: 0 10px 24px -18px rgba(93,47,119,.55) !important;
  text-align: right !important;
  font-family: 'Tajawal', Tahoma, Arial, sans-serif !important;
  font-weight: 700 !important;
}
body.ruqi-shop-ui.woocommerce-order-received.rq-order-cod .woocommerce-info::before {
  color: #5d2f77 !important;
}
/* Shipping address is not needed on the order summary. */
body.ruqi-shop-ui.woocommerce-order-received .woocommerce-customer-details .woocommerce-column--shipping-address {
  display: none !important;
}
body.ruqi-shop-ui.woocommerce-order-received .woocommerce-customer-details .woocommerce-column--billing-address {
  width: 100% !important;
  float: none !important;
}
/* Keep one precise field message; remove the extra generic pseudo-message. */
body.ruqi-shop-ui .woocommerce-invalid-required-field::after,
body.ruqi-shop-ui .woocommerce-invalid.woocommerce-invalid-required-field::after {
  content: none !important;
  display: none !important;
}
body.ruqi-shop-ui .woocommerce-NoticeGroup-checkout .woocommerce-error li a {
  color: #5d2f77 !important;
  font-weight: 800 !important;
  text-decoration: underline !important;
}
