/* =========================================================
   عوافي — هوية بترولية ونعناعية وبرتقالية — تنسيق شامل نهائي
   مخصص لثيم رائد في سلة
   الخلفيات: أبيض ورمادي فاتح
   النصوص: أسود ورمادي داكن
   اللون الرئيسي: بترولي عوافي، مع نعناعي وبرتقالي للإبراز
   ========================================================= */

:root {
  --color-primary: #08777b !important;
  --color-primary-dark: #055a5e !important;
  --color-primary-light: #f59a23 !important;
  --color-primary-reverse: #ffffff !important;

  --awafi-primary: #08777b;
  --awafi-primary-dark: #055a5e;
  --awafi-accent: #f59a23;
  --awafi-mint-soft: #edf8f5;
  --awafi-mint-soft-2: #dff1ec;

  --sq-bg: #f6f7f9;
  --sq-bg-soft: #fafafa;
  --sq-surface: #ffffff;
  --sq-surface-2: #f9fafb;

  --sq-text: #111827;
  --sq-text-2: #1f2937;
  --sq-muted: #4b5563;
  --sq-muted-2: #6b7280;

  --sq-border: #e5e7eb;
  --sq-border-strong: #d1d5db;
  --awafi-border: rgba(8, 119, 123, 0.42);

  --sq-shadow-xs: 0 2px 8px rgba(17, 24, 39, 0.06);
  --sq-shadow-sm: 0 8px 24px rgba(17, 24, 39, 0.08);
  --sq-shadow-md: 0 16px 38px rgba(17, 24, 39, 0.11);
  --sq-focus: 0 0 0 3px rgba(8, 119, 123, 0.14);
}

html {
  scroll-behavior: smooth;
  background: var(--sq-bg) !important;
}

body.theme-raed,
body.theme-raed .app-inner,
body.theme-raed .s-page-wrapper,
body.theme-raed .s-main-content,
body.theme-raed main#main-content {
  color: var(--sq-text) !important;
  background: var(--sq-bg) !important;
}

body.theme-raed {
  overflow-x: hidden;
}

body.theme-raed ::selection {
  color: #ffffff;
  background: var(--awafi-primary);
}

/* النصوص العامة */
body.theme-raed main#main-content,
body.theme-raed main#main-content p,
body.theme-raed main#main-content li,
body.theme-raed main#main-content span,
body.theme-raed main#main-content label,
body.theme-raed main#main-content small,
body.theme-raed main#main-content .text-gray-500,
body.theme-raed main#main-content .text-gray-600,
body.theme-raed main#main-content .text-gray-700,
body.theme-raed main#main-content .text-gray-800 {
  color: var(--sq-text-2) !important;
}

body.theme-raed main#main-content h1,
body.theme-raed main#main-content h2,
body.theme-raed main#main-content h3,
body.theme-raed main#main-content h4,
body.theme-raed main#main-content h5,
body.theme-raed main#main-content h6,
body.theme-raed main#main-content .section-title,
body.theme-raed main#main-content .s-slider-block__title h2 {
  color: var(--sq-text) !important;
}

body.theme-raed a {
  text-decoration: none;
}

body.theme-raed main#main-content a:not(.s-button-element):not(.banner-entry) {
  color: var(--awafi-primary) !important;
  transition: color 0.2s ease;
}

body.theme-raed main#main-content a:not(.s-button-element):not(.banner-entry):hover,
body.theme-raed main#main-content a:not(.s-button-element):not(.banner-entry):focus-visible {
  color: var(--awafi-accent) !important;
}

/* =========================================================
   الشريطان المتحركان
   ========================================================= */

salla-advertisement,
.announcement-bar,
.s-announcement-bar {
  display: none !important;
}

#saqour-dual-bars {
  position: relative;
  z-index: 1001;
  width: 100%;
  overflow: hidden;
  background: #ffffff;
  border-bottom: 1px solid var(--sq-border);
  font-family: inherit;
}

.saqour-moving-bar {
  position: relative;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  direction: rtl;
  box-sizing: border-box;
}

.saqour-moving-bar--main {
  height: 38px;
  color: #ffffff !important;
  background: linear-gradient(90deg, #055a5e 0%, #08777b 48%, #0a8589 100%);
  border-bottom: 1px solid #055a5e;
  box-shadow: 0 4px 14px rgba(5, 90, 94, 0.16);
}

.saqour-moving-bar--coupon {
  height: 42px;
  color: var(--sq-text) !important;
  background: linear-gradient(90deg, #f4fbf9 0%, #e5f4f0 50%, #f4fbf9 100%);
  border-bottom: 1px solid rgba(8, 119, 123, 0.28);
  box-shadow: 0 4px 16px rgba(17, 24, 39, 0.05);
  cursor: pointer;
}

.saqour-marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  min-width: 200%;
  height: 100%;
  will-change: transform;
}

.saqour-moving-bar--main .saqour-marquee-track {
  animation: saqourMoveRTL 28s linear infinite;
}

.saqour-moving-bar--coupon .saqour-marquee-track {
  animation: saqourMoveLTR 24s linear infinite;
}

.saqour-marquee-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-width: 50%;
  height: 100%;
}

.saqour-marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 100%;
  padding: 0 38px;
  color: inherit !important;
  font-size: 13px;
  font-weight: 700;
}

.saqour-marquee-item::after {
  content: "◆";
  margin-right: 38px;
  color: var(--awafi-primary);
  font-size: 8px;
}

.saqour-moving-bar--coupon .saqour-marquee-item::after {
  color: var(--awafi-accent);
}

.saqour-coupon-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 3px 10px;
  color: var(--awafi-primary) !important;
  background: #ffffff;
  border: 1px dashed var(--awafi-primary);
  border-radius: 7px;
  font-weight: 900;
  letter-spacing: 1px;
}

.saqour-copy-hint {
  color: var(--sq-muted) !important;
  font-size: 11px;
  font-weight: 600;
}

#saqour-copy-message {
  position: fixed;
  left: 50%;
  bottom: 25px;
  z-index: 999999;
  padding: 11px 18px;
  color: #ffffff !important;
  background: var(--awafi-primary);
  border: 1px solid var(--awafi-primary-dark);
  border-radius: 10px;
  box-shadow: var(--sq-shadow-md);
  font-size: 13px;
  font-weight: 800;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 20px);
  transition: 0.25s ease;
}

#saqour-copy-message.saqour-show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

@keyframes saqourMoveRTL {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}

@keyframes saqourMoveLTR {
  from { transform: translateX(50%); }
  to { transform: translateX(0); }
}

.saqour-moving-bar:hover .saqour-marquee-track {
  animation-play-state: paused;
}

/* =========================================================
   الترويسة والقائمة والبحث
   ========================================================= */

.store-header,
.store-header .top-navbar,
.store-header #mainnav,
.store-header #mainnav .inner,
header.store-header {
  color: var(--sq-text) !important;
  background: rgba(255, 255, 255, 0.98) !important;
}

.store-header {
  border-bottom: 1px solid var(--sq-border) !important;
}

.store-header .top-navbar {
  border-bottom: 1px solid var(--sq-border) !important;
}

.store-header #mainnav {
  border-bottom: 2px solid rgba(8, 119, 123, 0.16) !important;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.07) !important;
}

.store-header .navbar-brand img {
  display: block;
  width: auto !important;
  max-height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(17, 24, 39, 0.10));
}

.store-header a,
.store-header custom-main-menu a,
.store-header .main-menu a,
.store-header .main-menu li > a,
.store-header .s-mega-menu a,
.store-header .s-contacts-topnav-link,
.store-header .s-cart-summary-content,
.store-header .s-cart-summary-total {
  color: var(--sq-text) !important;
}

.store-header custom-main-menu a,
.store-header .main-menu a,
.store-header .main-menu li > a,
.store-header .s-mega-menu a {
  position: relative;
  font-weight: 700;
  transition: color 0.22s ease, background-color 0.22s ease;
}

.store-header custom-main-menu a:hover,
.store-header custom-main-menu a:focus-visible,
.store-header .main-menu a:hover,
.store-header .main-menu li > a:hover,
.store-header .s-mega-menu a:hover {
  color: var(--awafi-primary) !important;
}

.store-header custom-main-menu > ul > li > a::after,
.store-header .main-menu > li > a::after {
  content: "";
  position: absolute;
  right: 50%;
  bottom: -9px;
  width: 0;
  height: 2px;
  background: var(--awafi-primary);
  border-radius: 999px;
  transform: translateX(50%);
  transition: width 0.25s ease;
}

.store-header custom-main-menu > ul > li > a:hover::after,
.store-header .main-menu > li > a:hover::after {
  width: 72%;
}

.store-header .s-search-input-wrapper {
  min-height: 44px;
  overflow: hidden;
  color: var(--sq-text) !important;
  background: var(--sq-surface-2) !important;
  border: 1px solid var(--sq-border-strong) !important;
  border-radius: 14px !important;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.store-header .s-search-input-wrapper:focus-within {
  background: #ffffff !important;
  border-color: var(--awafi-primary) !important;
  box-shadow: var(--sq-focus) !important;
}

.store-header .s-search-input {
  height: 44px !important;
  color: var(--sq-text) !important;
  -webkit-text-fill-color: var(--sq-text) !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.store-header .s-search-input::placeholder {
  color: var(--sq-muted-2) !important;
  -webkit-text-fill-color: var(--sq-muted-2) !important;
  opacity: 1;
}

.store-header .s-search-icon,
.store-header .s-search-icon svg,
.store-header .s-search-icon svg path {
  color: var(--sq-text) !important;
  fill: currentColor !important;
}

.store-header .s-search-results {
  color: var(--sq-text) !important;
  background: #ffffff !important;
  border: 1px solid var(--sq-border) !important;
  box-shadow: var(--sq-shadow-md) !important;
}

.store-header [data-testid="store-header-user-menu"] .s-user-menu-login-btn,
.store-header [data-testid="store-header-cart"] .s-cart-summary-wrapper,
.store-header [data-testid="store-header-mobile-toggle"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 44px;
  height: 44px;
  padding: 0 10px !important;
  color: var(--sq-text) !important;
  background: #ffffff !important;
  border: 1px solid rgba(8, 119, 123, 0.35) !important;
  border-radius: 12px !important;
  box-shadow: var(--sq-shadow-xs);
  transition: transform 0.22s ease, color 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.store-header [data-testid="store-header-user-menu"] .s-user-menu-login-btn:hover,
.store-header [data-testid="store-header-cart"] .s-cart-summary-wrapper:hover,
.store-header [data-testid="store-header-mobile-toggle"]:hover {
  color: var(--awafi-primary) !important;
  background: var(--awafi-mint-soft) !important;
  border-color: var(--awafi-primary) !important;
  transform: translateY(-2px);
}

.store-header [data-testid="store-header-user-menu"] svg,
.store-header [data-testid="store-header-cart"] svg,
.store-header [data-testid="store-header-mobile-toggle"] i,
.store-header .header-btn__icon,
.store-header .s-cart-summary-icon {
  width: 23px !important;
  height: 23px !important;
  color: currentColor !important;
  fill: currentColor !important;
}

.store-header [data-testid="store-header-user-menu"] svg path,
.store-header [data-testid="store-header-cart"] svg path {
  fill: currentColor !important;
  stroke: currentColor !important;
}

.store-header .s-cart-summary-count {
  top: -7px !important;
  right: -7px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 21px !important;
  height: 21px !important;
  padding: 0 5px !important;
  color: #ffffff !important;
  background: var(--awafi-primary) !important;
  border: 2px solid #ffffff !important;
  border-radius: 999px !important;
  font-size: 11px !important;
}

.store-header .main-menu .sub-menu,
.store-header .main-menu ul ul,
.store-header .s-mega-menu,
#mobile-menu,
.mm-menu {
  color: var(--sq-text) !important;
  background: #ffffff !important;
  border-color: var(--sq-border) !important;
  box-shadow: var(--sq-shadow-md) !important;
}

#mobile-menu a,
.mm-menu a,
.mm-listitem__text {
  color: var(--sq-text) !important;
}

#mobile-menu a:hover,
.mm-menu a:hover {
  color: var(--awafi-primary) !important;
  background: var(--awafi-mint-soft) !important;
}

/* =========================================================
   الحاويات والعناوين والأقسام
   ========================================================= */

body.theme-raed .s-block,
body.theme-raed section.s-block {
  color: var(--sq-text) !important;
}

body.theme-raed .s-slider-block__title,
body.theme-raed .section-title,
body.theme-raed .page-header,
body.theme-raed .page-title {
  color: var(--sq-text) !important;
}

body.theme-raed .s-slider-block__display-all {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 44px !important;
  padding: 0 18px !important;
  color: var(--sq-text) !important;
  background: #ffffff !important;
  border: 1px solid var(--awafi-primary) !important;
  border-radius: 11px !important;
  font-weight: 800 !important;
  transition: all 0.22s ease !important;
}

body.theme-raed .s-slider-block__display-all:hover,
body.theme-raed .s-slider-block__display-all:focus-visible {
  color: #ffffff !important;
  background: var(--awafi-primary) !important;
  border-color: var(--awafi-accent) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(8, 119, 123, 0.22) !important;
}

.swiper-pagination-bullet {
  background: #9ca3af !important;
  opacity: 0.7 !important;
}

.swiper-pagination-bullet-active {
  width: 22px !important;
  background: var(--awafi-primary) !important;
  border-radius: 999px !important;
  opacity: 1 !important;
}

/* =========================================================
   البنرات
   ========================================================= */

.banner-entry {
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate;
  color: var(--sq-text) !important;
  /* لا تستخدم background shorthand هنا لأن صور البنرات تُحمّل كـ background-image */
  background-color: #ffffff !important;
  border: 1px solid var(--sq-border) !important;
  border-radius: 16px !important;
  box-shadow: var(--sq-shadow-sm);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.banner-entry:hover {
  transform: translateY(-4px);
  border-color: var(--awafi-border) !important;
  box-shadow: var(--sq-shadow-md);
}

body.theme-raed .banner-entry img,
body.theme-raed .banner-entry picture,
body.theme-raed .banner-entry picture img {
  position: relative !important;
  z-index: 1 !important;
  width: 100% !important;
  height: 100% !important;
  filter: none !important;
  opacity: 1 !important;
  transition: transform 0.35s ease !important;
}

body.theme-raed .banner-entry::after {
  content: "";
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  pointer-events: none !important;
  background: linear-gradient(115deg, transparent 40%, rgba(8, 119, 123, 0.10) 100%) !important;
  opacity: 0 !important;
  transition: opacity 0.3s ease !important;
}

body.theme-raed .banner-entry:hover::after {
  opacity: 1 !important;
}

body.theme-raed .banner-entry:hover img,
body.theme-raed .banner-entry:hover picture img {
  transform: scale(1.02) !important;
}

.banner-entry .banner-entry__text {
  position: relative !important;
  z-index: 3 !important;
  color: var(--sq-text) !important;
  background: rgba(255, 255, 255, 0.90) !important;
  border: 1px solid rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(8px);
}

.banner-entry .banner__title,
.banner-entry .banner__description,
.banner-entry:hover .banner__title,
.banner-entry:hover .banner__description {
  color: var(--sq-text) !important;
}

/* =========================================================
   بطاقات المنتجات والتصنيفات
   ========================================================= */

custom-salla-product-card.s-product-card-entry,
salla-product-card,
.s-product-card-entry,
.product-entry,
.product-card,
.s-products-list-vertical__item {
  color: var(--sq-text) !important;
  background: #ffffff !important;
  border: 1px solid var(--sq-border) !important;
  border-radius: 16px !important;
  box-shadow: var(--sq-shadow-sm);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

custom-salla-product-card.s-product-card-entry:hover,
.s-product-card-entry:hover,
.product-entry:hover,
.product-card:hover,
.s-products-list-vertical__item:hover {
  transform: translateY(-5px);
  border-color: var(--awafi-border) !important;
  box-shadow: var(--sq-shadow-md);
}

.s-product-card-image,
.s-product-card-image a,
.product-card__image,
.product-entry__image {
  overflow: hidden;
  background: #ffffff !important;
  border-bottom: 1px solid var(--sq-border) !important;
}

.s-product-card-image img,
.product-card__image img,
.product-entry__image img {
  object-fit: contain !important;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.s-product-card-entry:hover .s-product-card-image img,
.product-card:hover .product-card__image img,
.product-entry:hover .product-entry__image img {
  transform: scale(1.04);
  filter: brightness(1.02) contrast(1.01);
}

.s-product-card-content,
.s-product-card-content * {
  background: transparent !important;
}

.s-product-card-content-title,
.s-product-card-content-title a,
.s-product-card-price,
.s-product-card-price i,
.s-product-card-content-sub,
.s-product-card-content-subtitle {
  color: var(--sq-text) !important;
}

.s-product-card-content-title a:hover {
  color: var(--awafi-primary) !important;
}

.s-product-card-sale-price,
.s-product-card-price.is-on-sale,
.price_is_on_sale .total-price {
  color: var(--awafi-primary) !important;
}

.s-product-card-regular-price,
.before-price,
.s-product-card-price-before {
  color: var(--sq-muted-2) !important;
}

.s-product-card-image salla-button.s-product-card-wishlist-btn,
salla-button.s-product-card-wishlist-btn {
  display: block !important;
  z-index: 60 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

salla-button.s-product-card-wishlist-btn .s-button-element {
  color: var(--sq-text) !important;
  background: rgba(255, 255, 255, 0.94) !important;
  border: 1px solid var(--sq-border-strong) !important;
  border-radius: 50% !important;
  box-shadow: var(--sq-shadow-xs) !important;
  backdrop-filter: blur(6px);
  opacity: 1 !important;
  visibility: visible !important;
  transition: all 0.2s ease !important;
}

salla-button.s-product-card-wishlist-btn i.sicon-heart,
salla-button.s-product-card-wishlist-btn i.sicon-heart::before {
  color: currentColor !important;
  -webkit-text-fill-color: currentColor !important;
  opacity: 1 !important;
}

salla-button.s-product-card-wishlist-btn:hover .s-button-element,
salla-button.s-product-card-wishlist-btn.added .s-button-element,
salla-button.s-product-card-wishlist-btn.is-added .s-button-element,
salla-button.s-product-card-wishlist-btn.favorited .s-button-element,
salla-button.s-product-card-wishlist-btn .s-button-element.added,
salla-button.s-product-card-wishlist-btn .s-button-element.is-added,
salla-button.s-product-card-wishlist-btn .s-button-element.favorited {
  color: var(--awafi-primary) !important;
  background: var(--awafi-mint-soft) !important;
  border-color: var(--awafi-primary) !important;
  box-shadow: 0 0 0 3px rgba(8, 119, 123, 0.10), var(--sq-shadow-xs) !important;
}

.s-button-primary-outline,
.s-product-card-content-footer .s-button-element,
salla-add-product-button .s-button-element,
.s-button-element.s-button-primary,
button.s-button-primary {
  color: var(--sq-text) !important;
  background: #ffffff !important;
  border: 1px solid var(--awafi-primary) !important;
  border-radius: 10px !important;
  font-weight: 800 !important;
  transition: all 0.22s ease !important;
}

.s-button-primary-outline:hover,
.s-product-card-content-footer .s-button-element:hover,
salla-add-product-button .s-button-element:hover,
.s-button-element.s-button-primary:hover,
button.s-button-primary:hover {
  color: #ffffff !important;
  background: var(--awafi-primary) !important;
  border-color: var(--awafi-accent) !important;
}

.category-entry,
.s-category-card,
[data-testid="store-category-card"],
.s-categories-card,
.s-block--categories .swiper-slide > a,
.s-block--categories .swiper-slide > div {
  color: var(--sq-text) !important;
  /* background-color فقط حتى لا تمسح صورة التصنيف الموجودة كـ background-image */
  background-color: #ffffff !important;
  border: 1px solid var(--sq-border) !important;
  border-radius: 15px !important;
  box-shadow: var(--sq-shadow-sm) !important;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease !important;
}

.category-entry:hover,
.s-category-card:hover,
[data-testid="store-category-card"]:hover,
.s-categories-card:hover,
.s-block--categories .swiper-slide > a:hover,
.s-block--categories .swiper-slide > div:hover {
  transform: translateY(-4px) !important;
  border-color: var(--awafi-border) !important;
  box-shadow: var(--sq-shadow-md) !important;
}

.category-entry h2,
.category-entry h3,
.category-entry p,
.s-category-card h2,
.s-category-card h3,
.s-category-card p,
[data-testid="store-category-card"] * {
  color: var(--sq-text) !important;
}

/* =========================================================
   التقييمات ومميزات المتجر
   ========================================================= */


/* قسم آراء العملاء — تصميم احترافي ومتوازن */
section.s-block--testimonials,
section.s-block--custom-testimonials {
  position: relative !important;
  overflow: hidden !important;
  padding-top: 42px !important;
  padding-bottom: 52px !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(8, 119, 123, 0.055), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f8f9fb 100%) !important;
  border-top: 1px solid var(--sq-border) !important;
  border-bottom: 1px solid var(--sq-border) !important;
}

section.s-block--testimonials .s-reviews-container,
section.s-block--custom-testimonials .s-reviews-container {
  position: relative !important;
}

section.s-block--testimonials .s-reviews-header-wrapper,
section.s-block--custom-testimonials .s-reviews-header-wrapper {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 8px !important;
  text-align: center !important;
}

section.s-block--testimonials .s-reviews-header,
section.s-block--custom-testimonials .s-reviews-header {
  position: relative !important;
  margin: 0 !important;
  padding-bottom: 13px !important;
  color: var(--sq-text) !important;
  font-size: clamp(22px, 2.2vw, 28px) !important;
  font-weight: 900 !important;
  line-height: 1.45 !important;
  text-align: center !important;
}

section.s-block--testimonials .s-reviews-header::after,
section.s-block--custom-testimonials .s-reviews-header::after {
  content: "" !important;
  position: absolute !important;
  right: 50% !important;
  bottom: 0 !important;
  width: 58px !important;
  height: 3px !important;
  background: linear-gradient(90deg, var(--awafi-primary-dark), var(--awafi-accent)) !important;
  border-radius: 999px !important;
  transform: translateX(50%) !important;
}

salla-reviews,
section.s-block--testimonials salla-slider,
section.s-block--custom-testimonials salla-slider {
  display: block !important;
  overflow: hidden !important;
}

salla-reviews .swiper,
section.s-block--testimonials .swiper,
section.s-block--custom-testimonials .swiper {
  padding-top: 30px !important;
  padding-bottom: 42px !important;
  overflow: visible !important;
}

salla-reviews .swiper-slide,
section.s-block--testimonials .s-reviews-swiper-slide,
section.s-block--custom-testimonials .s-reviews-swiper-slide {
  width: min(760px, 72vw) !important;
  height: auto !important;
  opacity: 0.42 !important;
  filter: saturate(0.75) !important;
  transform: scale(0.91) !important;
  transition:
    opacity 0.32s ease,
    filter 0.32s ease,
    transform 0.32s ease !important;
}

salla-reviews .swiper-slide-prev,
salla-reviews .swiper-slide-next,
section.s-block--testimonials .swiper-slide-prev,
section.s-block--testimonials .swiper-slide-next,
section.s-block--custom-testimonials .swiper-slide-prev,
section.s-block--custom-testimonials .swiper-slide-next {
  opacity: 0.68 !important;
  filter: saturate(0.9) !important;
  transform: scale(0.95) !important;
}

salla-reviews .swiper-slide-active,
section.s-block--testimonials .swiper-slide-active,
section.s-block--custom-testimonials .swiper-slide-active {
  opacity: 1 !important;
  filter: none !important;
  transform: scale(1) !important;
}

.s-reviews-testimonial {
  height: 100% !important;
  padding: 0 10px !important;
  color: var(--sq-text) !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.s-reviews-testimonial__inner {
  position: relative !important;
  isolation: isolate !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 276px !important;
  padding: 34px 44px 30px !important;
  overflow: hidden !important;
  color: var(--sq-text) !important;
  text-align: center !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(250, 250, 251, 0.98)) !important;
  border: 1px solid rgba(8, 119, 123, 0.20) !important;
  border-radius: 22px !important;
  box-shadow:
    0 18px 44px rgba(17, 24, 39, 0.10),
    0 0 0 1px rgba(255, 255, 255, 0.88) inset !important;
}

.s-reviews-testimonial__inner::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  right: 13% !important;
  width: 74% !important;
  height: 3px !important;
  z-index: 2 !important;
  background: linear-gradient(90deg, transparent, var(--awafi-primary), var(--awafi-accent), var(--awafi-primary), transparent) !important;
  pointer-events: none !important;
}

.s-reviews-testimonial__inner::after {
  content: "" !important;
  position: absolute !important;
  top: -92px !important;
  left: 50% !important;
  width: 220px !important;
  height: 220px !important;
  z-index: -1 !important;
  background: radial-gradient(circle, rgba(8, 119, 123, 0.07), transparent 70%) !important;
  transform: translateX(-50%) !important;
  pointer-events: none !important;
}

.s-reviews-testimonial__avatar {
  position: relative !important;
  z-index: 3 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  width: 78px !important;
  height: 78px !important;
  margin: 0 auto 16px !important;
  padding: 4px !important;
  overflow: hidden !important;
  background: #ffffff !important;
  border: 1px solid rgba(8, 119, 123, 0.36) !important;
  border-radius: 50% !important;
  box-shadow:
    0 9px 24px rgba(17, 24, 39, 0.12),
    0 0 0 6px rgba(8, 119, 123, 0.055) !important;
}

.s-reviews-testimonial__avatar img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  object-fit: cover !important;
  object-position: center !important;
  background: #f3f4f6 !important;
  border: 0 !important;
  border-radius: 50% !important;
  box-shadow: none !important;
}

.s-reviews-testimonial__text {
  position: relative !important;
  z-index: 2 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: center !important;
}

.s-reviews-testimonial__text p {
  width: 100% !important;
  max-width: 620px !important;
  margin: 0 auto !important;
  color: var(--sq-text-2) !important;
  -webkit-text-fill-color: var(--sq-text-2) !important;
  font-size: 15.5px !important;
  font-weight: 500 !important;
  line-height: 1.95 !important;
  text-align: center !important;
  text-wrap: balance !important;
}

.s-reviews-testimonial__name_wrapper {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  width: 100% !important;
  margin: 18px 0 0 !important;
  padding: 0 !important;
  text-align: center !important;
}

.s-reviews-testimonial__info {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  margin: 0 !important;
  text-align: center !important;
}

.s-reviews-testimonial__info h2,
.s-reviews-testimonial__name_wrapper h2 {
  margin: 0 !important;
  color: var(--sq-text) !important;
  -webkit-text-fill-color: var(--sq-text) !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  line-height: 1.6 !important;
  text-align: center !important;
}

.s-reviews-testimonial__rating {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  direction: ltr !important;
  text-align: center !important;
}

.s-reviews-testimonial__rating salla-rating-stars,
.s-reviews-testimonial__rating .s-rating-stars,
.s-reviews-testimonial__rating .s-rating-stars-wrapper,
.s-reviews-testimonial__rating .s-rating-stars-container {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto !important;
  padding: 0 !important;
  direction: ltr !important;
}

.s-rating-stars-selected,
.s-rating-stars-selected svg,
.s-rating-stars-selected svg path,
.s-reviews-testimonial__rating svg,
.s-reviews-testimonial__rating svg path {
  color: #f2b632 !important;
  fill: currentColor !important;
}

.s-reviews-testimonial__icon {
  position: absolute !important;
  top: 22px !important;
  right: 24px !important;
  z-index: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 42px !important;
  height: 42px !important;
  color: rgba(8, 119, 123, 0.44) !important;
  background: var(--awafi-mint-soft) !important;
  border: 1px solid rgba(8, 119, 123, 0.14) !important;
  border-radius: 50% !important;
  pointer-events: none !important;
}

.s-reviews-testimonial__icon svg {
  width: 22px !important;
  height: 22px !important;
  color: currentColor !important;
  fill: currentColor !important;
  opacity: 1 !important;
}

.s-reviews-testimonial__icon svg path {
  fill: currentColor !important;
}

@media (max-width: 767px) {
  section.s-block--testimonials,
  section.s-block--custom-testimonials {
    padding-top: 30px !important;
    padding-bottom: 38px !important;
  }

  salla-reviews .swiper,
  section.s-block--testimonials .swiper,
  section.s-block--custom-testimonials .swiper {
    padding-top: 22px !important;
    padding-bottom: 34px !important;
  }

  salla-reviews .swiper-slide,
  section.s-block--testimonials .s-reviews-swiper-slide,
  section.s-block--custom-testimonials .s-reviews-swiper-slide {
    width: 88vw !important;
    opacity: 0.34 !important;
    transform: scale(0.94) !important;
  }

  salla-reviews .swiper-slide-active,
  section.s-block--testimonials .swiper-slide-active,
  section.s-block--custom-testimonials .swiper-slide-active {
    opacity: 1 !important;
    transform: scale(1) !important;
  }

  .s-reviews-testimonial {
    padding: 0 5px !important;
  }

  .s-reviews-testimonial__inner {
    min-height: 292px !important;
    padding: 28px 20px 24px !important;
    border-radius: 18px !important;
  }

  .s-reviews-testimonial__avatar {
    width: 70px !important;
    height: 70px !important;
    margin-bottom: 14px !important;
  }

  .s-reviews-testimonial__text p {
    max-width: 100% !important;
    font-size: 14px !important;
    line-height: 1.9 !important;
  }

  .s-reviews-testimonial__name_wrapper {
    gap: 8px !important;
    margin-top: 15px !important;
  }

  .s-reviews-testimonial__info h2,
  .s-reviews-testimonial__name_wrapper h2 {
    font-size: 14px !important;
  }

 /* علامة الاقتباس في الجوال بدون دائرة */
.s-reviews-testimonial__icon {
  top: 16px !important;
  right: 18px !important;

  width: auto !important;
  height: auto !important;

  padding: 0 !important;
  margin: 0 !important;

  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;

  opacity: 1 !important;
}

/* إخفاء الأيقونة الأصلية في الجوال */
.s-reviews-testimonial__icon svg,
.s-reviews-testimonial__icon i,
.s-reviews-testimonial__icon span {
  display: none !important;
}

/* علامة اقتباس بسيطة */
.s-reviews-testimonial__icon::before {
  content: "“" !important;

  display: block !important;

  color: rgba(8, 119, 123, 0.55) !important;

  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 38px !important;
  font-weight: 700 !important;
  line-height: 1 !important;

  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

}


section.s-block--bundle-store-features {
  position: relative !important;
  padding-top: 50px !important;
  padding-bottom: 50px !important;
  background: linear-gradient(180deg, #ffffff, #f8f9fb) !important;
  border-top: 1px solid var(--sq-border) !important;
  border-bottom: 1px solid var(--sq-border) !important;
}

section.s-block--bundle-store-features > [component-name="store-features"] {
  display: block !important;
  background: transparent !important;
  --features-bg-color: transparent !important;
}

/* =========================================================
   المودالات والتنبيهات والحالات الفارغة والفلاتر
   ========================================================= */

.s-modal-wrapper,
.s-modal-container,
.s-modal-content,
.modal-content,
.s-drawer-wrapper,
.s-drawer-container {
  color: var(--sq-text) !important;
  background: #ffffff !important;
  border-color: var(--sq-border) !important;
}

.s-modal-wrapper *,
.s-modal-container *,
.modal-content *,
.s-drawer-wrapper *,
.s-drawer-container * {
  color: var(--sq-text) !important;
}

.s-toast-wrapper,
.s-toast,
.toast,
.s-alert,
.alert {
  color: var(--sq-text) !important;
  background: #ffffff !important;
  border-color: var(--sq-border) !important;
  box-shadow: var(--sq-shadow-md) !important;
}

.s-alert-success,
.alert-success {
  border-right: 4px solid #15803d !important;
}

.s-alert-error,
.alert-error,
.s-alert-danger,
.alert-danger {
  border-right: 4px solid var(--awafi-primary) !important;
}

.empty-state,
.s-empty-state,
[data-testid*="empty-state"] {
  color: var(--sq-text) !important;
  background: #ffffff !important;
  border: 1px dashed var(--sq-border-strong) !important;
  border-radius: 14px !important;
}

.pagination,
.s-pagination,
salla-pagination {
  color: var(--sq-text) !important;
}

.pagination a,
.pagination button,
.s-pagination a,
.s-pagination button {
  color: var(--sq-text) !important;
  background: #ffffff !important;
  border-color: var(--sq-border) !important;
}

.pagination .active,
.pagination [aria-current="page"],
.s-pagination .active {
  color: #ffffff !important;
  background: var(--awafi-primary) !important;
  border-color: var(--awafi-primary) !important;
}

.filters-menu,
#filters-menu,
.sorting-menu,
.s-products-filter,
.s-products-sort {
  color: var(--sq-text) !important;
  background: #ffffff !important;
  border-color: var(--sq-border) !important;
}

/* =========================================================
   الفوتر
   ========================================================= */

footer.store-footer,
.store-footer,
.store-footer__inner {
  color: var(--sq-text) !important;
  background: #ffffff !important;
}

footer.store-footer {
  border-top: 3px solid var(--awafi-primary) !important;
  box-shadow: 0 -10px 28px rgba(17, 24, 39, 0.06) !important;
}

.store-footer__inner {
  border-bottom: 1px solid var(--sq-border) !important;
}

.store-footer h3,
.store-footer .s-contacts-title,
.store-footer .s-menu-footer-title,
.store-footer strong,
.store-footer a {
  color: var(--sq-text) !important;
}

.store-footer p,
.store-footer .s-menu-footer-item,
.store-footer .s-contacts-item,
.store-footer .copyright-text,
.store-footer .copyright-text p {
  color: var(--sq-muted) !important;
}

.store-footer a:hover,
.store-footer .s-menu-footer-item:hover,
.store-footer .s-contacts-item:hover,
.store-footer .copyright-text a:hover {
  color: var(--awafi-primary) !important;
}

.store-footer .s-contacts-icon,
.store-footer .s-contacts-icon svg,
.store-footer .s-contacts-icon svg path {
  color: var(--awafi-primary) !important;
  fill: currentColor !important;
}

.store-footer .s-social-list {
  display: flex !important;
  flex-wrap: wrap;
  gap: 10px !important;
}

.store-footer .s-social-link a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 42px !important;
  height: 42px !important;
  color: var(--sq-text) !important;
  background: #ffffff !important;
  border: 1px solid var(--sq-border-strong) !important;
  border-radius: 12px !important;
  box-shadow: var(--sq-shadow-xs) !important;
  transition: all 0.22s ease !important;
}

.store-footer .s-social-link a:hover {
  color: #ffffff !important;
  background: var(--awafi-primary) !important;
  border-color: var(--awafi-primary) !important;
  transform: translateY(-3px);
}

.store-footer .s-social-icon,
.store-footer .s-social-icon svg {
  width: 20px !important;
  height: 20px !important;
  color: currentColor !important;
  fill: currentColor !important;
}

.store-footer .s-social-icon svg path {
  fill: currentColor !important;
}

.store-footer .s-payments-list-item {
  padding: 5px !important;
  background: #ffffff !important;
  border: 1px solid var(--sq-border) !important;
  border-radius: 8px !important;
}

.store-footer .s-payments-list-item img {
  filter: none !important;
  opacity: 1 !important;
}

/* =========================================================
   شاشة البداية
   ========================================================= */

#saqour-splash {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483647 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: radial-gradient(circle at 50% 42%, rgba(8, 119, 123, 0.12), transparent 24rem), #ffffff !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transition: opacity 0.45s ease, visibility 0.45s ease !important;
}

#saqour-splash.saqour-hide {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

#saqour-splash .saqour-splash-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

#saqour-splash img {
  width: 126px;
  height: 126px;
  object-fit: contain;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.10);
  filter: drop-shadow(0 0 18px rgba(8, 119, 123, 0.26));
  animation: saqourPulse 1.15s ease-in-out infinite;
}

#saqour-splash .saqour-loader {
  display: block;
  width: 150px;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: #e5e7eb;
}

#saqour-splash .saqour-loader::before {
  content: "";
  display: block;
  width: 45%;
  height: 100%;
  border-radius: inherit;
  background: var(--awafi-primary);
  animation: saqourLoad 1s ease-in-out infinite;
}

@keyframes saqourPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.055); }
}

@keyframes saqourLoad {
  0% { transform: translateX(150%); }
  100% { transform: translateX(-260%); }
}

/* =========================================================
   عدسة التكبير والتأثير الزجاجي
   ========================================================= */

#saqour-magnifier {
  position: fixed !important;
  z-index: 2147483000 !important;
  display: block !important;
  width: 190px !important;
  height: 190px !important;
  pointer-events: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  background: #ffffff no-repeat !important;
  border: 3px solid #ffffff !important;
  border-radius: 50% !important;
  box-shadow: 0 16px 42px rgba(17, 24, 39, 0.24), 0 0 0 5px rgba(8, 119, 123, 0.55) !important;
  transform: scale(0.96);
  transition: opacity 0.08s ease, visibility 0.08s ease, transform 0.08s ease !important;
  will-change: left, top, background-position;
}

#saqour-magnifier.saqour-show {
  opacity: 1 !important;
  visibility: visible !important;
  transform: scale(1) !important;
}

.saqour-zoom-cursor {
  cursor: zoom-in !important;
}

:is(custom-salla-product-card, salla-product-card, .s-product-card-entry, .product-entry, .product-card, .s-products-list-vertical__item) {
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate;
  --glass-x: 50%;
  --glass-y: 50%;
}

:is(custom-salla-product-card, salla-product-card, .s-product-card-entry, .product-entry, .product-card, .s-products-list-vertical__item)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle 180px at var(--glass-x) var(--glass-y), rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.20) 30%, transparent 70%),
    linear-gradient(115deg, transparent 20%, rgba(8, 119, 123, 0.04) 38%, rgba(255, 255, 255, 0.70) 50%, rgba(8, 119, 123, 0.05) 62%, transparent 80%);
  transform: translateX(-25%);
  transition: opacity 0.3s ease, transform 0.65s ease;
}

:is(custom-salla-product-card, salla-product-card, .s-product-card-entry, .product-entry, .product-card, .s-products-list-vertical__item)::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 21;
  pointer-events: none;
  opacity: 0;
  border: 1px solid rgba(8, 119, 123, 0.26);
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
  transition: opacity 0.3s ease;
}

:is(custom-salla-product-card, salla-product-card, .s-product-card-entry, .product-entry, .product-card, .s-products-list-vertical__item):hover::before {
  opacity: 1;
  transform: translateX(25%);
}

:is(custom-salla-product-card, salla-product-card, .s-product-card-entry, .product-entry, .product-card, .s-products-list-vertical__item):hover::after {
  opacity: 1;
}

:is(custom-salla-product-card, salla-product-card, .s-product-card-entry, .product-entry, .product-card, .s-products-list-vertical__item) > * {
  position: relative;
  z-index: 2;
}

/* =========================================================
   تجاوب الجوال
   ========================================================= */

@media (max-width: 767px) {
  .saqour-moving-bar--main { height: 36px; }
  .saqour-moving-bar--coupon { height: 40px; }
  .saqour-marquee-item { padding: 0 23px; font-size: 12px; }
  .saqour-marquee-item::after { margin-right: 23px; }
  .saqour-coupon-code { padding: 4px 9px; font-size: 12px; }
  .saqour-copy-hint { display: none; }
  .saqour-moving-bar--main .saqour-marquee-track { animation-duration: 23s; }
  .saqour-moving-bar--coupon .saqour-marquee-track { animation-duration: 20s; }

  .store-header #mainnav {
    min-height: 72px !important;
  }

  .store-header .navbar-brand img {
    max-height: 58px;
    max-width: 145px;
  }

  .store-header [data-testid="store-header-user-menu"] .s-user-menu-login-btn,
  .store-header [data-testid="store-header-cart"] .s-cart-summary-wrapper,
  .store-header [data-testid="store-header-mobile-toggle"] {
    min-width: 38px;
    height: 38px;
    padding: 0 8px !important;
    border-radius: 10px !important;
  }

  .s-product-card-entry,
  custom-salla-product-card.s-product-card-entry,
  .banner-entry,
  .s-reviews-testimonial,
  .s-reviews-testimonial__inner,
  .category-entry,
  .s-category-card {
    border-radius: 13px !important;
  }

}

@media (max-width: 767px), (hover: none), (pointer: coarse) {
  #saqour-magnifier {
    display: none !important;
  }

  .saqour-zoom-cursor {
    cursor: default !important;
  }

  :is(custom-salla-product-card, salla-product-card, .s-product-card-entry, .product-entry, .product-card, .s-products-list-vertical__item)::before,
  :is(custom-salla-product-card, salla-product-card, .s-product-card-entry, .product-entry, .product-card, .s-products-list-vertical__item)::after {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .saqour-marquee-track {
    animation-play-state: paused !important;
  }
}

/* =========================================================
   تصحيحات V4.2 النهائية
   1) إزالة المستطيل الأبيض من بنرات السيارات
   2) تعتيم خفيف عند المرور على بنرات السيارات
   3) تثبيت وضوح الشريط الإعلاني الأول
   ========================================================= */

/* ---------------------------------------------------------
   الشريط الإعلاني الأول: بترولي واضح مع نص وفواصل بيضاء
   --------------------------------------------------------- */
#saqour-dual-bars .saqour-moving-bar--main {
  color: #ffffff !important;
  background: linear-gradient(
    90deg,
    #055a5e 0%,
    #08777b 48%,
    #0a8589 100%
  ) !important;
  border-bottom-color: #055a5e !important;
  box-shadow: 0 4px 16px rgba(5, 90, 94, 0.22) !important;
}

#saqour-dual-bars .saqour-moving-bar--main .saqour-marquee-track,
#saqour-dual-bars .saqour-moving-bar--main .saqour-marquee-group,
#saqour-dual-bars .saqour-moving-bar--main .saqour-marquee-item,
#saqour-dual-bars .saqour-moving-bar--main .saqour-marquee-item * {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

#saqour-dual-bars .saqour-moving-bar--main .saqour-marquee-item::after {
  color: #ffffff !important;
  opacity: 0.9 !important;
}

/* ---------------------------------------------------------
   بنرات السيارات والتصنيفات في المقدمة
   إزالة المستطيل الأبيض نهائيا مع تعتيم خفيف عند المرور
   --------------------------------------------------------- */
body.theme-raed main#main-content :is(
  [data-testid="store-home-square-banners"],
  .s-block--banners,
  .s-block--categories
) .banner-entry {
  position: relative !important;
  overflow: hidden !important;
  background-color: transparent !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: cover !important;
  opacity: 1 !important;
  visibility: visible !important;
}

body.theme-raed main#main-content :is(
  [data-testid="store-home-square-banners"],
  .s-block--banners,
  .s-block--categories
) .banner-entry .banner-entry__text {
  max-width: none !important;
  color: #ffffff !important;
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.theme-raed main#main-content :is(
  [data-testid="store-home-square-banners"],
  .s-block--banners,
  .s-block--categories
) .banner-entry :is(
  .banner__title,
  .banner__description,
  .banner-entry__title,
  .banner-entry__description
) {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-shadow:
    0 2px 5px rgba(0, 0, 0, 0.95),
    0 0 10px rgba(0, 0, 0, 0.62) !important;
}

body.theme-raed main#main-content :is(
  [data-testid="store-home-square-banners"],
  .s-block--banners,
  .s-block--categories
) .banner-entry::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  pointer-events: none !important;
  background: rgba(0, 0, 0, 0.18) !important;
  opacity: 0 !important;
  transition: opacity 0.28s ease !important;
}

body.theme-raed main#main-content :is(
  [data-testid="store-home-square-banners"],
  .s-block--banners,
  .s-block--categories
) .banner-entry:hover::after {
  opacity: 1 !important;
}

body.theme-raed main#main-content :is(
  [data-testid="store-home-square-banners"],
  .s-block--banners,
  .s-block--categories
) .banner-entry:hover img,
body.theme-raed main#main-content :is(
  [data-testid="store-home-square-banners"],
  .s-block--banners,
  .s-block--categories
) .banner-entry:hover picture img {
  transform: scale(1.018) !important;
  filter: brightness(0.94) !important;
}

/* بطاقات التصنيفات التي لا تستخدم banner-entry */
body.theme-raed main#main-content .s-block--categories :is(
  .category-entry,
  .s-category-card,
  [data-testid="store-category-card"],
  .s-categories-card
) {
  position: relative !important;
  overflow: hidden !important;
  background-color: transparent !important;
}

body.theme-raed main#main-content .s-block--categories :is(
  .category-entry,
  .s-category-card,
  [data-testid="store-category-card"],
  .s-categories-card
)::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  pointer-events: none !important;
  background: rgba(0, 0, 0, 0.16) !important;
  opacity: 0 !important;
  transition: opacity 0.28s ease !important;
}

body.theme-raed main#main-content .s-block--categories :is(
  .category-entry,
  .s-category-card,
  [data-testid="store-category-card"],
  .s-categories-card
):hover::after {
  opacity: 1 !important;
}

/* الجوال */

/* =========================================================
   تحسينات V4.3
   - تقويس قسم التصنيفات بدل الحافة المستقيمة
   - ظل خفيف ولمعة بترولية وبرتقالية علوية
   ========================================================= */

/* ---------------------------------------------------------
   قسم التصنيفات: حافة علوية مقوسة + ظل ولمعة هادئة
   JavaScript يضيف sq-curved-category-section للقسم الصحيح.
   أضيفت محددات احتياطية لثيم رائد.
   --------------------------------------------------------- */
body.theme-raed main#main-content :is(
  .sq-curved-category-section,
  section.s-block--categories,
  [data-testid="store-home-square-banners"].sq-curved-category-section
) {
  position: relative !important;
  isolation: isolate !important;
  margin-top: 26px !important;
  padding-top: 30px !important;
  padding-bottom: 24px !important;
  color: var(--sq-text) !important;
  background:
    radial-gradient(
      circle at 50% 0,
      rgba(8, 119, 123, 0.055),
      transparent 25rem
    ),
    #ffffff !important;
  border: 1px solid rgba(8, 119, 123, 0.14) !important;
  border-radius: 38px 38px 20px 20px !important;
  box-shadow:
    0 15px 34px rgba(17, 24, 39, 0.075),
    0 -2px 17px rgba(8, 119, 123, 0.075),
    inset 0 1px 0 rgba(255, 255, 255, 0.92) !important;
}

body.theme-raed main#main-content :is(
  .sq-curved-category-section,
  section.s-block--categories,
  [data-testid="store-home-square-banners"].sq-curved-category-section
)::before {
  content: "" !important;
  position: absolute !important;
  top: -1px !important;
  right: 8% !important;
  z-index: 8 !important;
  width: 84% !important;
  height: 3px !important;
  pointer-events: none !important;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(8, 119, 123, 0.18) 10%,
    #08777b 33%,
    #f59a23 50%,
    #08777b 67%,
    rgba(8, 119, 123, 0.18) 90%,
    transparent 100%
  ) !important;
  border-radius: 999px !important;
  box-shadow:
    0 0 7px rgba(245, 154, 35, 0.62),
    0 0 17px rgba(8, 119, 123, 0.23) !important;
}

/* إبقاء محتوى قسم التصنيفات ظاهرًا بالكامل */
body.theme-raed main#main-content .sq-curved-category-section {
  overflow: visible !important;
}

body.theme-raed main#main-content .sq-curved-category-section > :first-child {
  border-radius: 30px 30px 0 0 !important;
}

@media (max-width: 767px) {
  body.theme-raed main#main-content :is(
    .sq-curved-category-section,
    section.s-block--categories
  ) {
    margin-top: 18px !important;
    padding-top: 22px !important;
    padding-bottom: 18px !important;
    border-radius: 25px 25px 15px 15px !important;
  }

}

/* =========================================================
   إصلاحات V4.5 المستقرة
   - إزالة التقوس الكبير المشوّه
   - فوتر أبيض بزوايا علوية مقوسة وظل ولمعة بترولية خفيفة
   ========================================================= */

/* الفوتر: تقوس نظيف وآمن من دون عناصر ضخمة خارج الصندوق */
body.theme-raed footer.store-footer,
body.theme-raed .store-footer {
  position: relative !important;
  isolation: isolate !important;
  overflow: hidden !important;
  margin-top: 42px !important;
  color: #111827 !important;
  background: #ffffff !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 38px 38px 0 0 !important;
  box-shadow:
    0 -14px 32px rgba(17, 24, 39, 0.09),
    0 -3px 14px rgba(8, 119, 123, 0.10) !important;
}

/* لمعة بترولية وبرتقالية قصيرة تتبع الحافة المقوسة */
body.theme-raed footer.store-footer::before,
body.theme-raed .store-footer::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  right: 8% !important;
  z-index: 4 !important;
  width: 84% !important;
  height: 4px !important;
  pointer-events: none !important;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(8, 119, 123, 0.28) 12%,
    #08777b 34%,
    #f5a332 50%,
    #08777b 66%,
    rgba(8, 119, 123, 0.28) 88%,
    transparent 100%
  ) !important;
  border-radius: 0 0 999px 999px !important;
  box-shadow:
    0 0 8px rgba(245, 154, 35, 0.62),
    0 0 18px rgba(8, 119, 123, 0.22) !important;
}

body.theme-raed footer.store-footer::after,
body.theme-raed .store-footer::after {
  content: none !important;
  display: none !important;
}

body.theme-raed footer.store-footer > *,
body.theme-raed .store-footer__inner,
body.theme-raed .store-footer .copyrights,
body.theme-raed .store-footer [class*="copyright"] {
  position: relative !important;
  z-index: 2 !important;
  color: #111827 !important;
  background: #ffffff !important;
  background-image: none !important;
  border-top: 0 !important;
}

@media (max-width: 767px) {
  body.theme-raed footer.store-footer,
  body.theme-raed .store-footer {
    margin-top: 32px !important;
    border-radius: 24px 24px 0 0 !important;
  }
}

/* =========================================================
   زر واتساب العائم — عوافي
   نسخة موحدة بلا تكرار
   ========================================================= */

#saqour-whatsapp-float {
  position: fixed !important;
  inset: auto !important;
  top: auto !important;
  right: 22px !important;
  bottom: 24px !important;
  left: auto !important;

  align-items: center !important;
  gap: 10px !important;

  width: max-content !important;
  height: auto !important;
  max-width: calc(100vw - 28px) !important;

  margin: 0 !important;
  padding: 0 !important;

  color: #ffffff !important;
  background: transparent !important;
  border: 0 !important;
  text-decoration: none !important;

  direction: ltr !important;
  overflow: visible !important;

  z-index: 2147483500 !important;
  isolation: isolate !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;

  transform: translateZ(0) !important;
  backface-visibility: hidden !important;

  transition:
    transform 0.25s ease,
    filter 0.25s ease !important;
}

/* المتصفحات التي لا تدعم Popover */
#saqour-whatsapp-float:not([popover]) {
  display: inline-flex !important;
}

/* يبقى مخفيًا قبل فتح Popover، ثم يظهر في أعلى طبقة */
@supports selector(:popover-open) {
  #saqour-whatsapp-float[popover] {
    display: none !important;
  }

  #saqour-whatsapp-float[popover]:popover-open {
    display: inline-flex !important;
  }
}

#saqour-whatsapp-float[popover]::backdrop {
  background: transparent !important;
  pointer-events: none !important;
}

#saqour-whatsapp-float .sq-wa-icon {
  position: relative !important;
  z-index: 2 !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 58px !important;
  height: 58px !important;
  min-width: 58px !important;

  color: #ffffff !important;
  background: #25d366 !important;

  border: 2px solid #ffffff !important;
  border-radius: 50% !important;

  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.20),
    0 0 0 1px rgba(37, 211, 102, 0.18) !important;

  transition:
    background 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease !important;
}

#saqour-whatsapp-float .sq-wa-icon::before {
  content: "" !important;

  position: absolute !important;
  inset: -7px !important;
  z-index: -1 !important;

  background: rgba(37, 211, 102, 0.24) !important;
  border-radius: 50% !important;

  animation: sqWhatsappPulse 2.1s ease-out infinite !important;
}

#saqour-whatsapp-float svg {
  display: block !important;

  width: 30px !important;
  height: 30px !important;

  fill: #ffffff !important;
}

#saqour-whatsapp-float .sq-wa-label {
  position: relative !important;
  z-index: 2 !important;

  display: inline-flex !important;
  align-items: center !important;

  min-height: 42px !important;
  padding: 0 15px !important;

  color: #111827 !important;
  background: rgba(255, 255, 255, 0.97) !important;

  border: 1px solid rgba(37, 211, 102, 0.30) !important;
  border-radius: 12px !important;

  box-shadow:
    0 8px 22px rgba(17, 24, 39, 0.13),
    0 0 12px rgba(37, 211, 102, 0.10) !important;

  direction: rtl !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  white-space: nowrap !important;

  backdrop-filter: blur(8px) !important;

  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease !important;
}

#saqour-whatsapp-float:hover {
  color: #ffffff !important;
  transform: translateY(-4px) !important;
}

#saqour-whatsapp-float:hover .sq-wa-icon {
  background: #1fbd5a !important;

  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.23),
    0 0 20px rgba(37, 211, 102, 0.30) !important;

  transform: scale(1.05) !important;
}

#saqour-whatsapp-float:hover .sq-wa-label {
  color: #15803d !important;
  border-color: rgba(37, 211, 102, 0.40) !important;
}

@keyframes sqWhatsappPulse {
  0% {
    opacity: 0.75;
    transform: scale(0.82);
  }

  70%,
  100% {
    opacity: 0;
    transform: scale(1.35);
  }
}

@media (max-width: 767px) {
  #saqour-whatsapp-float {
    right: 12px !important;
    bottom: 86px !important;
    left: auto !important;

    gap: 7px !important;
    max-width: calc(100vw - 24px) !important;
  }

  #saqour-whatsapp-float .sq-wa-icon {
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
  }

  #saqour-whatsapp-float svg {
    width: 28px !important;
    height: 28px !important;
  }

  #saqour-whatsapp-float .sq-wa-label {
    min-height: 38px !important;
    padding: 0 11px !important;

    font-size: 12px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #saqour-whatsapp-float,
  #saqour-whatsapp-float *,
  #saqour-whatsapp-float *::before {
    animation: none !important;
    transition: none !important;
  }
}






/* إصلاح أيقونة الاقتباس في الكمبيوتر فقط */
@media (min-width: 768px) {

  section.s-block--testimonials .s-reviews-testimonial__icon,
  section.s-block--custom-testimonials .s-reviews-testimonial__icon {
    position: absolute !important;
    top: 24px !important;
    right: 28px !important;

    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;

    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    filter: none !important;

    opacity: 1 !important;
    overflow: visible !important;
  }

  /* إخفاء الأيقونة والدائرة الأصليتين */
  section.s-block--testimonials .s-reviews-testimonial__icon > *,
  section.s-block--custom-testimonials .s-reviews-testimonial__icon > *,
  section.s-block--testimonials .s-reviews-testimonial__icon svg,
  section.s-block--custom-testimonials .s-reviews-testimonial__icon svg,
  section.s-block--testimonials .s-reviews-testimonial__icon i,
  section.s-block--custom-testimonials .s-reviews-testimonial__icon i {
    display: none !important;
  }

  /* إزالة أي دائرة إضافية */
  section.s-block--testimonials .s-reviews-testimonial__icon::after,
  section.s-block--custom-testimonials .s-reviews-testimonial__icon::after {
    content: none !important;
    display: none !important;
  }

  /* علامة اقتباس نظيفة */
  section.s-block--testimonials .s-reviews-testimonial__icon::before,
  section.s-block--custom-testimonials .s-reviews-testimonial__icon::before {
    content: "“" !important;
    display: block !important;

    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;

    color: rgba(8, 119, 123, 0.50) !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 46px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
  }
}








/* توسيط عناوين أقسام المنتجات */
body.theme-raed .s-slider-block__title {
  position: relative !important;
  min-height: 48px !important;
}

/* توسيط عنوان القسم */
body.theme-raed .s-slider-block__title h2 {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  right: auto !important;

  width: max-content !important;
  max-width: 55% !important;
  margin: 0 !important;

  color: #111827 !important;
  text-align: center !important;

  transform: translate(-50%, -50%) !important;
}

/* ضبط الهاتف */
@media (max-width: 767px) {
  body.theme-raed .s-slider-block__title {
    min-height: 44px !important;
  }

  body.theme-raed .s-slider-block__title h2 {
    max-width: 48% !important;
    font-size: 18px !important;
    white-space: nowrap !important;
  }
}