/*
 * Rasid Card v2.0.6 refinement layer.
 * Loaded after the theme-facing stylesheet so Woodmart and Elementor cannot
 * collapse the approved typography, SVG controls, or light-section colours.
 */

.rch-template .rc-home,
.rch-shell-scope,
.rch-template .rch-cart-dialog,
body .otp-login-popup,
body .otp-popup-overlay,
body .rc-account-popup {
  font-family: "IBM Plex Sans Arabic", Arial, sans-serif !important;
}

.rch-template .rc-home [hidden],
.rch-template .rc-home .cart-toast[hidden],
.rch-template .rch-cart-dialog[hidden] {
  display: none !important;
}

.rch-template .rc-home .rch-ui-icon,
.rch-shell-scope .rch-ui-icon {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  max-width: 24px !important;
  display: block !important;
  overflow: visible !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.8 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

/* Header */
.rch-template .rc-home .site-header,
.rch-shell-scope .site-header {
  color: #101b2d !important;
  background: rgba(255,255,255,.97) !important;
}
.rch-template .rc-home .header-main,
.rch-shell-scope .header-main { height: 68px !important; }
.rch-template .rc-home .brand strong,
.rch-shell-scope .brand strong { color: #101b2d !important; font-size: 25px !important; }
.rch-template .rc-home .brand small,
.rch-shell-scope .brand small { font-size: 10px !important; }
.rch-template .rc-home .nav-inner,
.rch-shell-scope .nav-inner { height: 40px !important; }
.rch-template .rc-home .nav-inner a,
.rch-template .rc-home .nav-inner button,
.rch-shell-scope .nav-inner a,
.rch-shell-scope .nav-inner button {
  color: #101b2d !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
}
.rch-template .rc-home .nav-inner .all-categories,
.rch-shell-scope .nav-inner .all-categories { color: #fff !important; }
.rch-template .rc-home .all-categories span,
.rch-shell-scope .all-categories span { display: grid; place-items: center; }
.rch-template .rc-home .all-categories .rch-ui-icon,
.rch-shell-scope .all-categories .rch-ui-icon { width: 20px !important; height: 20px !important; min-width: 20px !important; }
.rch-template .rc-home .icon-button,
.rch-shell-scope .icon-button { color: #101b2d !important; }
.rch-template .rc-home .icon-button > .rch-ui-icon,
.rch-shell-scope .icon-button > .rch-ui-icon { width: 23px !important; height: 23px !important; }
.rch-template .rc-home .account-button i,
.rch-shell-scope .account-button i { color: #101b2d !important; font-size: 14px !important; }
.rch-template .rc-home .account-button small,
.rch-shell-scope .account-button small { color: #687880 !important; font-size: 11px !important; }
.rch-template .rc-home .top-note p > span,
.rch-shell-scope .top-note p > span { display: inline-flex; vertical-align: -4px; }
.rch-template .rc-home .top-note .rch-ui-icon,
.rch-shell-scope .top-note .rch-ui-icon { width: 18px !important; height: 18px !important; min-width: 18px !important; }

/* Never allow theme SVG rules to collapse cart controls. */
.rch-template .rc-home .rch-cart-icon,
.rch-shell-scope .rch-cart-icon {
  width: 23px !important;
  height: 23px !important;
  min-width: 23px !important;
  min-height: 23px !important;
  display: inline-grid !important;
  flex: 0 0 23px !important;
  place-items: center !important;
  padding: 0 !important;
}
.rch-template .rc-home .rch-cart-icon svg,
.rch-shell-scope .rch-cart-icon svg {
  width: 23px !important;
  height: 23px !important;
  min-width: 23px !important;
  max-width: 23px !important;
  display: block !important;
  fill: none !important;
  stroke: currentColor !important;
}

/* Hero and category rail */
.rch-template .rc-home .stack-copy > span { font-size: 12px !important; }
.rch-template .rc-home .stack-copy p { font-size: 15px !important; line-height: 1.85 !important; }
.rch-template .rc-home .stack-copy a,
.rch-template .rc-home .minimal-offer a { font-size: 14px !important; min-height: 48px !important; }
.rch-template .rc-home .slider-progress { align-items: center; min-height: 28px; }
.rch-template .rc-home .slider-progress button {
  height: 28px !important;
  min-height: 28px !important;
  overflow: visible !important;
  background: transparent !important;
}
.rch-template .rc-home .slider-progress button::before {
  content: "";
  position: absolute;
  inset: 12px 0;
  border-radius: 999px;
  background: rgba(255,255,255,.28);
}
.rch-template .rc-home .slider-progress button.is-active::after {
  inset: 12px 0 !important;
  border-radius: 999px;
}
.rch-template .rc-home .category-rail a { min-width: 175px; }
.rch-template .rc-home .category-rail strong { color: #101b2d !important; font-size: 14px !important; }
.rch-template .rc-home .category-rail small { color: #687880 !important; font-size: 11px !important; }
.rch-template .rc-home .category-rail a > span { font-size: 0 !important; }
.rch-template .rc-home .gift-logo .rch-ui-icon { width: 31px !important; height: 31px !important; min-width: 31px !important; }

/* Light sections and product rails */
.rch-template .rc-home .content-bg,
.rch-template .rc-home .shop-section,
.rch-template .rc-home .benefits { color: #101b2d !important; }
.rch-template .rc-home .section-head h2,
.rch-template .rc-home .product-info h3,
.rch-template .rc-home .product-info h3 a,
.rch-template .rc-home .benefits strong { color: #101b2d !important; }
.rch-template .rc-home .eyebrow { font-size: 12px !important; }
.rch-template .rc-home .section-head h2 { font-size: 31px !important; }
.rch-template .rc-home .text-link { color: #101b2d !important; font-size: 13px !important; }
.rch-template .rc-home .light-head h2,
.rch-template .rc-home .light-head .text-link { color: #fff !important; }
.rch-template .rc-home .product-rail { grid-auto-columns: calc((100% - 60px) / 5) !important; }
.rch-template .rc-home .platform { color: #687880 !important; font-size: 11px !important; }
.rch-template .rc-home .product-info h3 { min-height: 50px; font-size: 15px !important; line-height: 1.65 !important; }
.rch-template .rc-home .price-row del { font-size: 11px !important; }
.rch-template .rc-home .price-row strong { color: #101b2d !important; font-size: 20px !important; }
.rch-template .rc-home .delivery { color: #60727b !important; font-size: 11px !important; }
.rch-template .rc-home .delivery span { display: inline-flex; vertical-align: -3px; }
.rch-template .rc-home .delivery .rch-ui-icon { width: 15px !important; height: 15px !important; min-width: 15px !important; }
.rch-template .rc-home .discount,
.rch-template .rc-home .cover-kicker { font-size: 10px !important; }
.rch-template .rc-home .quick-add {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  padding: 0 !important;
  border-radius: 11px !important;
  background: #101b2d !important;
  color: #fff !important;
}
.rch-template .rc-home .quick-add .rch-cart-icon,
.rch-template .rc-home .quick-add .rch-cart-icon svg {
  width: 21px !important;
  height: 21px !important;
  min-width: 21px !important;
  max-width: 21px !important;
}
.rch-template .rc-home .heart { padding: 0 !important; }
.rch-template .rc-home .heart .rch-ui-icon { width: 20px !important; height: 20px !important; min-width: 20px !important; }
.rch-template .rc-home .heart.is-liked .rch-ui-icon { fill: currentColor !important; }

/* Testimonials, benefits and newsletter */
.rch-template .rc-home .reviews-heading > span { font-size: 11px !important; }
.rch-template .rc-home .reviews-heading > span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00c4ff;
  box-shadow: 0 0 0 4px rgba(0,196,255,.13);
}
.rch-template .rc-home .reviews-heading > p { font-size: 14px !important; }
.rch-template .rc-home .review-top strong { font-size: 13px !important; }
.rch-template .rc-home .review-top small,
.rch-template .rc-home .review-product small { font-size: 11px !important; }
.rch-template .rc-home .review-card blockquote { font-size: 14px !important; line-height: 1.85 !important; }
.rch-template .rc-home .benefits strong { font-size: 14px !important; }
.rch-template .rc-home .benefits p { font-size: 12px !important; }
.rch-template .rc-home .benefits article > span { font-size: 0 !important; }
.rch-template .rc-home .newsletter input {
  min-height: 48px !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: #101b2d !important;
  font-size: 14px !important;
}
.rch-template .rc-home .newsletter input::placeholder { color: #697b84 !important; opacity: 1; }
.rch-template .rc-home .newsletter button { font-size: 14px !important; }
.rch-template .rc-home .newsletter form small { font-size: 11px !important; }

/* Footer */
.rch-template .rc-home footer,
.rch-shell-scope .rch-footer { background: #0b1723 !important; color: #fff !important; }
.rch-template .rc-home .footer-brand > p,
.rch-shell-scope .footer-brand > p { color: #a8bac5 !important; font-size: 14px !important; }
.rch-template .rc-home .footer-main h3,
.rch-shell-scope .footer-main h3 { color: #fff !important; font-size: 15px !important; }
.rch-template .rc-home .footer-main > div:not(:first-child) a,
.rch-shell-scope .footer-main > div:not(:first-child) a { color: #b2c1ca !important; font-size: 13px !important; }
.rch-template .rc-home .socials a,
.rch-shell-scope .socials a { width: 40px; height: 40px; color: #c2d2db; }
.rch-template .rc-home .socials .rch-ui-icon,
.rch-shell-scope .socials .rch-ui-icon { width: 19px !important; height: 19px !important; min-width: 19px !important; }
.rch-template .rc-home .footer-bottom,
.rch-shell-scope .footer-bottom { color: #9db0bc !important; font-size: 12px !important; }
.rch-template .rc-home .footer-bottom span,
.rch-shell-scope .footer-bottom span { font-size: 10px !important; }

/* Commerce typography */
.rch-template .rch-commerce-page .rch-product-kicker span { font-size: 12px !important; }
.rch-template .rch-commerce-page .rch-short-description { font-size: 15px !important; }
.rch-template .rch-commerce-page .rch-price-block small,
.rch-template .rch-commerce-page .rch-quick-specs small { font-size: 11px !important; }
.rch-template .rch-commerce-page .rch-quick-specs strong { font-size: 13px !important; }
.rch-template .rch-commerce-page .rch-product-warning p,
.rch-template .rch-commerce-page .rch-purchase-safe p { font-size: 12px !important; }
.rch-template .rch-commerce-page .rch-secondary-actions .rch-ui-icon,
.rch-template .rch-commerce-page .rch-purchase-safe .rch-ui-icon,
.rch-template .rch-commerce-page .rch-trust-strip .rch-ui-icon,
.rch-template .rch-commerce-page .rch-digital-notice .rch-ui-icon,
.rch-template .rch-commerce-page .rch-summary-trust .rch-ui-icon { width: 20px !important; height: 20px !important; min-width: 20px !important; }
.rch-template .rch-commerce-page .rch-secondary-actions [data-rch-wishlist].is-active .rch-ui-icon { fill: currentColor !important; }
.rch-template .rch-commerce-page .rch-purchase-safe strong { font-size: 13px !important; }
.rch-template .rch-commerce-page .rch-trust-strip strong { font-size: 14px !important; }
.rch-template .rch-commerce-page .rch-trust-strip p { font-size: 11px !important; }
.rch-template .rch-commerce-page .rch-section-intro > span { font-size: 12px !important; }
.rch-template .rch-commerce-page .rch-specification-grid small,
.rch-template .rch-commerce-page .rch-product-page .rch-specs-card > div,
.rch-template .rch-commerce-page .rch-rating-bars > div { font-size: 11px !important; }
.rch-template .rch-commerce-page .rch-specification-grid strong,
.rch-template .rch-commerce-page .rch-steps-grid strong { font-size: 14px !important; }
.rch-template .rch-commerce-page .rch-steps-grid p,
.rch-template .rch-commerce-page .rch-review-cards article > p,
.rch-template .rch-commerce-page .rch-why-card > p { font-size: 12px !important; }
.rch-template .rch-commerce-page .rch-review-head strong { font-size: 14px !important; }
.rch-template .rch-commerce-page .rch-review-head small,
.rch-template .rch-commerce-page .rch-review-head time { font-size: 11px !important; }
.rch-template .rch-commerce-page .rch-review-dashboard > a { font-size: 13px !important; }
.rch-template .rch-commerce-page .rch-page-heading p { font-size: 14px !important; }
.rch-template .rch-commerce-page .rch-cart-table-head { font-size: 11px !important; }
.rch-template .rch-commerce-page .rch-cart-product > small,
.rch-template .rch-commerce-page .rch-cart-product .variation,
.rch-template .rch-commerce-page .rch-cart-product > span { font-size: 11px !important; }
.rch-template .rch-commerce-page .rch-cart-product h2 { font-size: 15px !important; }
.rch-template .rch-commerce-page .rch-cart-price,
.rch-template .rch-commerce-page .rch-cart-subtotal { font-size: 15px !important; }
.rch-template .rch-commerce-page .rch-coupon__heading strong { font-size: 13px !important; }
.rch-template .rch-commerce-page .rch-coupon__heading small,
.rch-template .rch-commerce-page .rch-coupon input,
.rch-template .rch-commerce-page .rch-coupon button,
.rch-template .rch-commerce-page .rch-update-cart { font-size: 12px !important; }
.rch-template .rch-commerce-page .rch-summary-title b,
.rch-template .rch-commerce-page .rch-summary-lines > div,
.rch-template .rch-commerce-page .rch-summary-lines strong,
.rch-template .rch-commerce-page .rch-summary-trust p,
.rch-template .rch-commerce-page .rch-summary-trust strong { font-size: 12px !important; }
.rch-template .rch-commerce-page .rch-summary-total > small { font-size: 11px !important; }
.rch-template .rch-commerce-page .rch-checkout-button { font-size: 14px !important; }

/* Approved balanced cart composition. Kept here so it wins over Woodmart. */
.rch-template .rch-cart-page .rch-cart-layout {
  grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  align-items: stretch !important;
}
.rch-template .rch-cart-page .rch-cart-main,
.rch-template .rch-cart-page .rch-cart-form { min-width: 0 !important; height: 100% !important; }
.rch-template .rch-cart-page .rch-cart-form {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
}
.rch-template .rch-cart-page .rch-cart-items-card { flex: 1 1 auto !important; }
.rch-template .rch-cart-page .rch-cart-tools { display: grid !important; gap: 12px !important; }
.rch-template .rch-cart-page .rch-order-summary {
  position: relative !important;
  top: auto !important;
  height: 100% !important;
}
.rch-template .rch-cart-page .rch-coupon { display: grid !important; }

@media (max-width: 900px) {
  .rch-template .rch-cart-page .rch-cart-layout { grid-template-columns: 1fr !important; }
  .rch-template .rch-cart-page .rch-order-summary { height: auto !important; }
}
@media (max-width: 767px) {
  .rch-template .rch-cart-page .rch-coupon { grid-template-columns: 1fr !important; }
  .rch-template .rch-cart-page .rch-cart-actions { grid-template-columns: 1fr !important; }
}

.rch-template .rch-commerce-page .rch-native-checkout label,
.rch-template .rch-commerce-page .rch-native-checkout table.shop_table th,
.rch-template .rch-commerce-page .rch-native-checkout table.shop_table td { font-size: 13px !important; }
.rch-template .rch-commerce-page .rch-native-checkout #payment div.payment_box,
.rch-template .rch-commerce-page .rch-native-checkout .woocommerce-terms-and-conditions-wrapper { font-size: 12px !important; }

/* Optional companion widget containment when the mini assistant is active. */
.rc-mini-assistant,
.rch-mini-assistant,
.mini-assistant-widget,
[data-rch-assistant] {
  right: 22px !important;
  bottom: 22px !important;
  max-width: min(340px,calc(100vw - 44px)) !important;
}
.rc-mini-assistant .assistant-bubble,
.rch-mini-assistant .assistant-bubble,
.mini-assistant-widget .assistant-bubble,
[data-rch-assistant] [data-assistant-bubble] { max-width: min(285px,calc(100vw - 90px)) !important; }

@media (max-width: 1050px) {
  .rch-template .rc-home .product-rail { grid-auto-columns: calc((100% - 45px) / 4) !important; }
}

@media (max-width: 760px) {
  .rch-template .rc-home .header-main,
  .rch-shell-scope .header-main { height: auto !important; }
  .rch-template .rc-home .nav-inner a,
  .rch-shell-scope .nav-inner a { font-size: 13px !important; }
  .rch-template .rc-home .section-head h2 { font-size: 27px !important; }
  .rch-template .rc-home .product-rail { grid-auto-columns: auto !important; }
  .rch-template .rc-home .product-info .platform { font-size: 11px !important; }
  .rch-template .rc-home .product-info h3 { min-height: 0; font-size: 15px !important; }
  .rch-template .rc-home .product-info .delivery { font-size: 11px !important; }
  .rch-template .rc-home .review-card blockquote { font-size: 13px !important; }
  .rch-template .rch-commerce-page .rch-checkout-progress > span { font-size: 11px !important; }
  .rch-template .rch-commerce-page .rch-page-heading > a { font-size: 11px !important; }
}

@media (max-width: 480px) {
  .rch-template .rc-home .top-note { font-size: 11px !important; }
  .rch-template .rc-home .product-card { min-height: 174px; grid-template-rows: 174px; }
  .rch-template .rc-home .product-card .cover { height: 174px; }
  .rch-template .rc-home .product-info h3 { font-size: 14px !important; }
  .rch-template .rc-home .product-info .price-row strong { font-size: 19px !important; }
  .rc-mini-assistant .assistant-bubble,
  .rch-mini-assistant .assistant-bubble,
  .mini-assistant-widget .assistant-bubble,
  [data-rch-assistant] [data-assistant-bubble] { display: none !important; }
}
