/* ==================================================
   سويق × اليوم الوطني 96
   تصميم نهائي خفيف ومنظم لثيم رائد – منصة سلة
   ================================================== */

:root {
  --saweeg-deep: #002f2d;
  --saweeg-green: #00894a;
  --saweeg-olive: #5c6351;
  --saweeg-gold: #c4a972;
  --saweeg-cream: #e8e5dc;

  --saweeg-bg: #f8f7f3;
  --saweeg-card: #ffffff;
  --saweeg-text: #1c2926;
  --saweeg-muted: #727872;
  --saweeg-border: #e8e5dc;

  --saweeg-radius: 16px;
  --saweeg-shadow: 0 8px 24px rgba(0, 47, 45, 0.06);
}

/* =========================
   التصميم العام
   ========================= */

html {
  scroll-behavior: smooth;
}

body.theme-raed {
  background: var(--saweeg-bg) !important;
  color: var(--saweeg-text);
}

body.theme-raed #main-content {
  background: var(--saweeg-bg) !important;
  background-image: none !important;
}

body.theme-raed a,
body.theme-raed button {
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

::selection {
  background: var(--saweeg-gold);
  color: var(--saweeg-deep);
}

/* =========================
   الشريط العلوي
   ========================= */

body.theme-raed .top-navbar {
  background: var(--saweeg-deep) !important;
  border: 0 !important;
}

body.theme-raed .top-navbar,
body.theme-raed .top-navbar a,
body.theme-raed .top-navbar button {
  color: #ffffff !important;
}

body.theme-raed .top-navbar a:hover {
  color: var(--saweeg-gold) !important;
}

/* =========================
   الهيدر والقائمة
   ========================= */

body.theme-raed .main-nav-container {
  background: #ffffff !important;
  border-bottom: 1px solid var(--saweeg-border);
  box-shadow: 0 2px 12px rgba(0, 47, 45, 0.04) !important;
}

body.theme-raed .main-menu > li > a,
body.theme-raed .main-nav-container nav a {
  color: var(--saweeg-text) !important;
  font-weight: 700;
}

body.theme-raed .main-menu > li > a:hover,
body.theme-raed .main-nav-container nav a:hover {
  color: var(--saweeg-green) !important;
}

body.theme-raed .header-btn__icon {
  background: #ffffff !important;
  color: var(--saweeg-deep) !important;
  border: 1px solid var(--saweeg-border) !important;
  box-shadow: none !important;
}

body.theme-raed .header-btn__icon:hover {
  background: var(--saweeg-deep) !important;
  color: #ffffff !important;
  border-color: var(--saweeg-deep) !important;
}

body.theme-raed .s-cart-summary-count,
body.theme-raed .header-btn__badge {
  background: var(--saweeg-gold) !important;
  color: var(--saweeg-deep) !important;
}

/* =========================
   البحث
   ========================= */

body.theme-raed .header-search input,
body.theme-raed .s-search-input,
body.theme-raed salla-search input {
  background: #f2f3f1 !important;
  color: var(--saweeg-text) !important;
  border: 1px solid transparent !important;
  border-radius: 999px !important;
  box-shadow: none !important;
}

body.theme-raed .header-search input:focus,
body.theme-raed .s-search-input:focus,
body.theme-raed salla-search input:focus {
  background: #ffffff !important;
  border-color: var(--saweeg-green) !important;
  box-shadow: 0 0 0 3px rgba(0, 137, 74, 0.08) !important;
  outline: none !important;
}

/* =========================
   البنر الرئيسي
   ========================= */

body.index #main-content > a:first-of-type {
  display: block;
}

body.index #main-content > a:first-of-type img {
  display: block;
  width: 100%;
  border: 0 !important;
  border-radius: var(--saweeg-radius) !important;
  box-shadow: none !important;
}

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

body.theme-raed #main-content h2,
body.theme-raed .s-block--title h2,
body.theme-raed .s-slider-block__title h2 {
  color: var(--saweeg-deep) !important;
  border: 0 !important;
  padding: 0 !important;
  font-weight: 800;
  line-height: 1.5;
}

body.theme-raed .s-block--title a,
body.theme-raed .s-slider-block__title a,
body.theme-raed .s-slider-block__display-all {
  color: var(--saweeg-muted) !important;
  font-weight: 600;
}

body.theme-raed .s-block--title a:hover,
body.theme-raed .s-slider-block__title a:hover,
body.theme-raed .s-slider-block__display-all:hover {
  color: var(--saweeg-green) !important;
}

/* =========================
   بطاقات المنتجات
   ========================= */

body.theme-raed .s-products-list-wrapper {
  gap: 16px !important;
}

body.theme-raed .s-product-card-entry {
  background: var(--saweeg-card) !important;
  border: 1px solid var(--saweeg-border) !important;
  border-radius: var(--saweeg-radius) !important;
  box-shadow: none !important;
  overflow: hidden;
}

body.theme-raed .s-product-card-entry:hover {
  border-color: rgba(0, 137, 74, 0.4) !important;
  box-shadow: var(--saweeg-shadow) !important;
  transform: none !important;
}

body.theme-raed .s-product-card-image {
  background: #f3eadf !important;
}

body.theme-raed .s-product-card-content {
  padding: 14px !important;
}

body.theme-raed .s-product-card-content-main {
  min-height: 76px;
}

body.theme-raed .s-product-card-content-title,
body.theme-raed .s-product-card-content-title a {
  color: var(--saweeg-deep) !important;
  font-weight: 800 !important;
  line-height: 1.55;
}

body.theme-raed .s-product-card-content-subtitle {
  color: var(--saweeg-muted) !important;
  line-height: 1.65;
}

body.theme-raed .s-product-card-price {
  color: var(--saweeg-deep) !important;
  font-weight: 800 !important;
}

body.theme-raed .s-product-card-sale-price {
  color: var(--saweeg-muted) !important;
}

/* شارة المنتج */

body.theme-raed .s-product-card-promotion-title,
body.theme-raed .s-product-card-sale-badge,
body.theme-raed .s-product-card-offer-badge,
body.theme-raed .badge--sale {
  background: var(--saweeg-deep) !important;
  color: #ffffff !important;
  border: 0 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  font-weight: 700 !important;
}

/* المفضلة */

body.theme-raed .s-product-card-wishlist-btn,
body.theme-raed .s-product-card-wishlist-btn .s-button-element {
  background: rgba(255, 255, 255, 0.94) !important;
  color: var(--saweeg-deep) !important;
  border-color: var(--saweeg-border) !important;
  box-shadow: none !important;
}

body.theme-raed .s-product-card-wishlist-btn:hover,
body.theme-raed .s-product-card-wishlist-btn:hover .s-button-element {
  background: var(--saweeg-deep) !important;
  color: #ffffff !important;
}

/* زر إضافة المنتج داخل البطاقات */

body.theme-raed
  .s-product-card-content-footer
  .s-button-element {
  background: #ffffff !important;
  color: var(--saweeg-deep) !important;
  border: 1px solid var(--saweeg-deep) !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  font-weight: 700;
}

body.theme-raed
  .s-product-card-content-footer
  .s-button-element:hover {
  background: var(--saweeg-deep) !important;
  color: #ffffff !important;
}

/* ==================================================
   صفحة المنتج
   ================================================== */

/* مسار التنقل */

body.product-single .breadcrumbs {
  padding-top: 14px !important;
  padding-bottom: 14px !important;
}

body.product-single .s-breadcrumb-wrapper {
  color: var(--saweeg-muted) !important;
  font-size: 13px;
}

body.product-single .s-breadcrumb-item a {
  color: var(--saweeg-muted) !important;
}

body.product-single .s-breadcrumb-item a:hover {
  color: var(--saweeg-green) !important;
}

/* توزيع الصورة والمعلومات */

body.product-single
  .container--product-details
  > .flex {
  gap: 32px;
  align-items: flex-start;
}

body.product-single
  .container--product-details
  .sidebar {
  margin: 0 !important;
}

/* إطار صورة المنتج */

body.product-single .details-slider {
  background: #f3eadf !important;
  border: 1px solid var(--saweeg-border);
  border-radius: 18px !important;
  box-shadow: none !important;
  overflow: hidden;
}

body.product-single .details-slider .promotion-title {
  background: var(--saweeg-deep) !important;
  color: #ffffff !important;
  border: 0 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  font-weight: 700;
}

body.product-single .details-slider .btn--wishlist,
body.product-single
  .details-slider
  .btn--wishlist
  .s-button-element {
  background: rgba(255, 255, 255, 0.94) !important;
  color: var(--saweeg-deep) !important;
  border-color: var(--saweeg-border) !important;
  box-shadow: none !important;
}

/* بطاقة معلومات المنتج */

body.product-single
  .container--product-details
  .main-content {
  background: #ffffff;
  border: 1px solid var(--saweeg-border);
  border-radius: 18px;
  padding: 28px;
  box-shadow: none;
}

/* اسم المنتج */

body.product-single
  [data-testid="store-product-title"] {
  color: var(--saweeg-deep) !important;
  margin-bottom: 6px !important;
  font-size: clamp(23px, 2vw, 30px);
  line-height: 1.45 !important;
}

/* وصف المنتج المختصر */

body.product-single .product-entry__sub-title {
  color: var(--saweeg-olive) !important;
  margin-bottom: 10px !important;
  font-size: 15px;
  font-weight: 600;
}

/* التقييم */

body.product-single
  .s-rating-stars-selected
  svg {
  fill: var(--saweeg-gold) !important;
}

body.product-single .s-rating-stars-reviews {
  color: var(--saweeg-muted) !important;
}

/* السعر أعلى الصفحة */

body.product-single .color-grey {
  display: block;
  color: var(--saweeg-muted) !important;
  margin-top: 10px;
}

body.product-single
  [data-testid="store-product-price"] {
  margin-top: 4px;
  margin-bottom: 8px;
}

body.product-single
  [data-testid="store-product-price"]
  p {
  color: var(--saweeg-deep) !important;
  font-size: 24px !important;
  font-weight: 800 !important;
}

/* وصف المنتج */

body.product-single .product__description {
  border-top: 1px solid var(--saweeg-border);
  margin-top: 18px;
  padding: 18px 0 4px !important;
  color: #4f5955;
}

body.product-single .product__description article {
  line-height: 1.95 !important;
}

body.product-single .product__description h2 {
  color: var(--saweeg-deep) !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 18px 0 7px !important;
  font-size: 17px !important;
  font-weight: 800 !important;
}

body.product-single .product__description p {
  color: #4f5955;
  margin-bottom: 7px;
}

body.product-single #btn-show-more {
  color: var(--saweeg-green) !important;
  font-weight: 700;
  text-decoration: none !important;
}

/* إخفاء وسوم البحث الكثيرة */

body.product-single
  .container--product-details
  .main-content
  > div:has(> a[href*="/tag-"]) {
  display: none !important;
}

/* إخفاء رقم الموديل من الواجهة */

body.product-single
  .container--product-details
  .main-content
  > div[class*="grid-cols-3"] {
  display: none !important;
}

/* عدد مرات الشراء */

body.product-single
  .main-content
  > .bg-white.py-2\.5 {
  background: #f3f6f3 !important;
  color: var(--saweeg-olive) !important;
  border: 0 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}

body.product-single
  .main-content
  > .bg-white.py-2\.5
  .text-red-800 {
  color: var(--saweeg-olive) !important;
}

/* =========================
   بطاقة السعر والشراء
   ========================= */

body.product-single .product-form {
  background: #ffffff;
  border: 1px solid var(--saweeg-border);
  border-radius: 14px;
  padding: 18px;
  margin-top: 16px;
  box-shadow: none;
}

/* قسم السعر */

body.product-single
  .product-form
  > section:first-of-type {
  background: transparent !important;
  padding: 0 0 16px !important;
  border-bottom: 1px solid var(--saweeg-border);
  border-radius: 0 !important;
}

/* قسم الكمية والشراء */

body.product-single
  .product-form
  > .sticky-product-bar {
  position: static !important;
  background: transparent !important;
  padding: 16px 0 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.product-single
  .sticky-product-bar__quantity {
  margin-bottom: 15px !important;
}

body.product-single .form-label {
  color: var(--saweeg-text) !important;
  font-weight: 700;
}

/* عداد الكمية */

body.product-single .s-quantity-input-container {
  background: var(--saweeg-bg) !important;
  border: 1px solid var(--saweeg-border) !important;
  border-radius: 10px !important;
  overflow: hidden;
}

body.product-single .s-quantity-input-button {
  color: var(--saweeg-deep) !important;
  background: transparent !important;
}

body.product-single .s-quantity-input-input {
  color: var(--saweeg-text) !important;
  background: #ffffff !important;
}

/* زر أضف إلى السلة الرئيسي */

body.product-single
  [data-testid="store-product-add-to-cart"]
  .s-button-primary {
  min-height: 48px;
  background: var(--saweeg-deep) !important;
  color: #ffffff !important;
  border-color: var(--saweeg-deep) !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  font-weight: 800;
}

body.product-single
  [data-testid="store-product-add-to-cart"]
  .s-button-primary:hover {
  background: var(--saweeg-green) !important;
  border-color: var(--saweeg-green) !important;
}

/* زر اشتر الآن */

body.product-single
  .s-add-product-button-mini-checkout {
  min-height: 48px;
  background: #ffffff !important;
  color: var(--saweeg-deep) !important;
  border: 1px solid var(--saweeg-deep) !important;
  border-radius: 10px !important;
}

body.product-single
  .s-add-product-button-main {
  gap: 10px !important;
}

/* الإهداء */

body.product-single .s-gifting-widget {
  background: var(--saweeg-bg) !important;
  border: 1px solid var(--saweeg-border) !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}

body.product-single
  .s-gifting-widget-action {
  color: var(--saweeg-deep) !important;
  border-color: var(--saweeg-deep) !important;
  border-radius: 9px !important;
}

/* المشاركة */

body.product-single
  .s-social-share-btn
  .s-button-element {
  background: #ffffff !important;
  color: var(--saweeg-deep) !important;
  border-color: var(--saweeg-border) !important;
  box-shadow: none !important;
}

/* =========================
   التقييمات والمنتجات المقترحة
   ========================= */

body.product-single .s-comments-item-wrapper {
  background: #ffffff !important;
  border: 1px solid var(--saweeg-border) !important;
  border-radius: 14px !important;
  box-shadow: none !important;
}

body.product-single
  .s-before-related
  .s-slider-block__title,
body.product-single
  .container
  .s-slider-block__title {
  margin-bottom: 16px;
}

/* =========================
   أسهم الشرائح
   ========================= */

body.theme-raed .s-slider-prev,
body.theme-raed .s-slider-next {
  background: #ffffff !important;
  color: var(--saweeg-deep) !important;
  border: 1px solid var(--saweeg-border) !important;
  box-shadow: none !important;
}

body.theme-raed .s-slider-prev:hover,
body.theme-raed .s-slider-next:hover {
  background: var(--saweeg-deep) !important;
  color: #ffffff !important;
}

/* =========================
   قائمة الجوال
   ========================= */

body.theme-raed #mobile-menu,
body.theme-raed .mobile-menu {
  background: #ffffff !important;
}

body.theme-raed #mobile-menu a,
body.theme-raed .mobile-menu a {
  color: var(--saweeg-text) !important;
  border-color: var(--saweeg-border) !important;
}

body.theme-raed #mobile-menu a:hover,
body.theme-raed .mobile-menu a:hover {
  color: var(--saweeg-green) !important;
}

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

body.theme-raed .store-footer,
body.theme-raed footer.store-footer {
  background: var(--saweeg-deep) !important;
  color: #ffffff !important;
  border-top: 3px solid var(--saweeg-gold);
}

body.theme-raed .store-footer .store-footer__inner {
  background: transparent !important;
}

body.theme-raed .store-footer h3,
body.theme-raed .store-footer h4,
body.theme-raed .store-footer p,
body.theme-raed .store-footer span,
body.theme-raed .store-footer li,
body.theme-raed .store-footer a {
  color: #ffffff !important;
}

body.theme-raed .store-footer a:hover {
  color: var(--saweeg-gold) !important;
}

/* =========================
   الجوال
   ========================= */

@media (max-width: 767px) {
  body.product-single .container--breadcrumbs {
    display: none !important;
  }

  body.product-single
    .container--product-details
    > .flex {
    gap: 18px;
  }

  body.product-single
    .container--product-details
    .main-content {
    padding: 18px;
    border-radius: 14px;
  }

  body.product-single .details-slider {
    border-radius: 14px !important;
  }

  body.product-single
    [data-testid="store-product-title"] {
    font-size: 22px;
    line-height: 1.5 !important;
  }

  body.product-single .product-form {
    padding: 14px;
  }

  body.product-single
    .s-add-product-button-main {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  body.theme-raed .s-product-card-content {
    padding: 12px !important;
  }

  body.theme-raed .s-product-card-content-main {
    min-height: 72px;
  }

  body.theme-raed .s-product-card-promotion-title {
    padding: 6px 9px !important;
    font-size: 11px !important;
  }

  body.index #main-content > a:first-of-type img {
    border-radius: 12px !important;
  }
}

/* تقليل الحركة */

@media (prefers-reduced-motion: reduce) {
  body.theme-raed *,
  body.theme-raed *::before,
  body.theme-raed *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
/* ==========================================================
   سويق — تصحيحات دقيقة للكود الحالي
   ألصق هذا الجزء في نهاية CSS الموجود، ولا تستبدل الكود الأساسي.
   ========================================================== */

/* 1) تصحيح محددات البنر وعناوين الأقسام في ثيم رائد */
body.theme-raed .s-block--fixed-banner img {
  display: block;
  width: 100%;
  height: auto;
  border: 0 !important;
  border-radius: var(--saweeg-radius) !important;
  box-shadow: none !important;
}

body.theme-raed .s-block__title h2,
body.theme-raed .s-block__title a,
body.theme-raed .s-block__display-all {
  border: 0 !important;
}

body.theme-raed .s-block__title h2 {
  color: var(--saweeg-deep) !important;
  font-weight: 800 !important;
  line-height: 1.5 !important;
}

body.theme-raed .s-block__display-all {
  color: var(--saweeg-muted) !important;
  font-weight: 600 !important;
}

/* 2) صور بطاقات المنتجات: مساحة مربعة ومتجاوبة */
body.theme-raed .s-product-card-image {
  position: relative !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
  background: #f3eadf !important;
}

body.theme-raed .s-product-card-image > a {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

body.theme-raed .s-product-card-image-cover {
  display: block !important;
  position: static !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  object-position: center center !important;
}

/* 3) الشارة الترويجية: متصلة بالحافة اليمنى ومنحنية من اليسار فقط */
body.theme-raed .s-product-card-promotion-title,
body.product-single .details-slider .promotion-title {
  right: 0 !important;
  left: auto !important;
  margin-right: 0 !important;
  border-radius: 10px 0 0 10px !important;
  white-space: nowrap;
}

/* 4) معرض صفحة المنتج: مساحة مربعة بلا قص أو تمديد */
body.product-single .details-slider .swiper-wrapper {
  height: auto !important;
  min-height: 0 !important;
  align-items: stretch !important;
}

body.product-single .details-slider .swiper-slide {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 1 / 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  background: #f3eadf !important;
}

body.product-single .details-slider .swiper-slide img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-width: 100% !important;
  max-height: none !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  object-position: center center !important;
}

/* 5) أزرار الشراء: قياسات موحدة وحواف ناعمة بلا إطار مزدوج */
body.product-single .s-add-product-button-main > * {
  min-width: 0 !important;
}

body.product-single
  [data-testid="store-product-add-to-cart"]
  .s-button-primary,
body.product-single
  .s-add-product-button-mini-checkout
  .s-button-element {
  width: 100% !important;
  min-height: 48px !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  justify-content: center !important;
}

body.product-single .s-add-product-button-main .s-button-text {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  white-space: nowrap !important;
}

body.product-single .s-add-product-button-mini-checkout {
  width: 100% !important;
  min-height: 48px !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 999px !important;
  overflow: visible !important;
}

body.product-single
  .s-add-product-button-mini-checkout
  .s-button-element {
  background: #ffffff !important;
  color: var(--saweeg-deep) !important;
  border: 1px solid var(--saweeg-deep) !important;
}

body.product-single salla-quick-buy {
  display: block !important;
  width: 100% !important;
  margin-top: 10px !important;
}

body.product-single apple-pay-button {
  display: block !important;
  width: 100% !important;
  height: 48px !important;
  --apple-pay-button-border-radius: 999px;
}

/* 6) بطاقة الإهداء: إزالة الفراغ والخط الزائد وضبط توزيع المحتوى */
body.product-single .s-gifting-widget {
  display: block !important;
  width: 100% !important;
  overflow: hidden !important;
}

body.product-single .s-gifting-widget .s-list-tile-item {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 16px !important;
  width: 100% !important;
  min-height: 0 !important;
  padding: 18px !important;
  border-radius: 12px !important;
}

body.product-single .s-gifting-widget .s-list-tile-item-icon,
body.product-single .s-gifting-widget .s-list-tile-item::before,
body.product-single .s-gifting-widget .s-list-tile-item::after {
  display: none !important;
  content: none !important;
}

body.product-single .s-gifting-widget .s-list-tile-item-content {
  min-width: 0 !important;
}

body.product-single .s-gifting-widget .s-list-tile-item-title,
body.product-single .s-gifting-widget .s-list-tile-item-subtitle {
  text-align: right !important;
}

body.product-single .s-gifting-widget-action,
body.product-single .s-gifting-widget-action .s-button-element {
  min-height: 44px !important;
  border-radius: 999px !important;
  box-shadow: none !important;
}

/* 7) التقييمات: بطاقة مدمجة ومحاذاة RTL ثابتة */
body.product-single .s-comments-item {
  margin-bottom: 14px !important;
  padding-bottom: 0 !important;
  border-bottom: 0 !important;
}

body.product-single .s-comments-item-wrapper {
  height: auto !important;
  min-height: 0 !important;
  padding: 16px !important;
  overflow: hidden !important;
}

body.product-single .s-comments-item-inner {
  gap: 12px !important;
  min-width: 0 !important;
}

body.product-single .s-comments-item-inner > .s-comments-flex-1,
body.product-single .s-comments-item-user-wrapper,
body.product-single .s-comments-item-user-info,
body.product-single .s-comments-item-content,
body.product-single .s-comments-item-content-container {
  min-width: 0 !important;
}

body.product-single .s-comments-item-content-container {
  display: block !important;
  text-align: right !important;
}

body.product-single .s-comments-item-content p {
  margin: 0 !important;
  line-height: 1.75 !important;
  overflow-wrap: anywhere !important;
}

body.product-single .s-translate-wrap {
  position: static !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: auto !important;
  margin: 8px 0 0 !important;
  writing-mode: horizontal-tb !important;
  transform: none !important;
}

body.product-single .s-translate-wrap * {
  writing-mode: horizontal-tb !important;
  transform: none !important;
}

/* 8) تحسينات الجوال فقط */
@media (max-width: 767px) {
  body.theme-raed .s-block--fixed-banner img {
    border-radius: 12px !important;
  }

  body.product-single .details-slider .swiper-wrapper {
    height: auto !important;
    min-height: 0 !important;
    align-items: stretch !important;
  }

  body.product-single .details-slider .swiper-slide {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 1 / 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
  }

  body.product-single .details-slider .swiper-slide img {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-width: 100% !important;
    max-height: none !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  body.product-single .product-form {
    padding: 14px !important;
  }

  body.product-single .s-add-product-button-main {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
    width: 100% !important;
  }

  body.product-single .s-add-product-button-main > salla-button,
  body.product-single
    .s-add-product-button-main
    > salla-mini-checkout-widget {
    display: block !important;
    width: 100% !important;
  }

  body.product-single .s-gifting-widget .s-list-tile-item {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 12px !important;
    padding: 16px !important;
  }

  body.product-single .s-gifting-widget .s-list-tile-item-action {
    width: 100% !important;
  }

  body.product-single .s-gifting-widget-action,
  body.product-single .s-gifting-widget-action .s-button-element {
    width: 100% !important;
  }

  body.product-single .s-comments {
    padding-top: 32px !important;
    padding-bottom: 32px !important;
  }

  body.product-single .s-comments-item-wrapper {
    padding: 14px !important;
  }

  body.product-single .s-comments-item-inner {
    display: grid !important;
    grid-template-columns: 40px minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 10px !important;
  }

  body.product-single .s-comments-item-avatar,
  body.product-single .s-comments-item-avatar-img {
    width: 40px !important;
    height: 40px !important;
  }

  body.product-single .s-comments-item-user-wrapper {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 3px !important;
  }

  body.product-single .s-comments-item-timestamp {
    justify-self: start !important;
    margin: 0 !important;
    white-space: nowrap !important;
  }

  body.product-single .s-comments-item-content {
    margin-top: 8px !important;
  }

  body.product-single .s-comments-item-content-container {
    width: 100% !important;
  }

  /* تقليل حجب زر واتساب العائم لمحتوى التقييمات وأزرار الشراء */
  body.product-single .wa-s-n {
    right: auto !important;
    left: 10px !important;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px)) !important;
    width: 46px !important;
    height: 46px !important;
  }
}

/* =========================================================
   سويق — بطاقة عرض اليوم الوطني
   نسخة خفيفة وآمنة لثيم رائد في منصة سلة

   التفعيل:
   1) أضف مكوّن "منتجات ثابتة/مختارة" تحت البنر.
   2) اختر المنتج 874393190 وحده.
   3) استخدم عنوان المكوّن: "اليوم الوطني".
   4) أضف هذا الكود في نهاية CSS الحالي.
   ========================================================= */

:root {
  --saweeg-offer-deep: #002f2d;
  --saweeg-offer-green: #00894a;
  --saweeg-offer-olive: #5c6351;
  --saweeg-offer-gold: #c4a972;
  --saweeg-offer-cream: #f8f7f3;
}

/* ضبط مساحة قسم العرض الحالي وتقريب البطاقة من العنوان */
body.theme-raed.index section[component-id="1780005563"] {
  margin-top: 32px !important;
  margin-bottom: 42px !important;
}

body.theme-raed.index
  section[component-id="1780005563"]
  > .s-block__title {
  margin: 0 0 16px !important;
}

body.theme-raed.index
  section[component-id="1780005563"]
  > .s-block__title
  h2 {
  margin: 0 !important;
  padding-right: 10px !important;
  color: var(--saweeg-offer-deep) !important;
  border-right: 3px solid var(--saweeg-offer-gold) !important;
  font-size: 24px !important;
  font-weight: 900 !important;
  line-height: 1.4 !important;
}

/* يستهدف مكوّن المنتجات الذي يحتوي على معرّف العرض فقط */
body.theme-raed.index
  section[data-testid="store-home-fixed-products"]
  salla-products-list[source-value*="874393190"] {
  display: block !important;
  width: 100% !important;
  margin: 0 auto !important;
}

body.theme-raed.index
  section[data-testid="store-home-fixed-products"]
  salla-products-list[source-value*="874393190"]
  .s-products-list-wrapper {
  display: block !important;
  width: 100% !important;
  max-width: 1180px !important;
  margin: 0 auto !important;
}

/* البطاقة الرئيسية */
body.theme-raed.index
  section[data-testid="store-home-fixed-products"]
  salla-products-list[source-value*="874393190"]
  custom-salla-product-card[id="874393190"] {
  display: grid !important;
  grid-template-columns: minmax(400px, 480px) minmax(0, 1fr) !important;
  align-items: stretch !important;
  direction: rtl !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  background: #ffffff !important;
  border: 1px solid rgba(196, 169, 114, 0.75) !important;
  border-radius: 20px !important;
  box-shadow: 0 14px 36px rgba(0, 47, 45, 0.09) !important;
}

body.theme-raed.index
  section[data-testid="store-home-fixed-products"]
  salla-products-list[source-value*="874393190"]
  custom-salla-product-card[id="874393190"]:hover {
  border-color: var(--saweeg-offer-gold) !important;
  box-shadow: 0 18px 42px rgba(0, 47, 45, 0.12) !important;
  transform: none !important;
}

/* صورة مربعة ومتوازنة */
body.theme-raed.index
  section[data-testid="store-home-fixed-products"]
  salla-products-list[source-value*="874393190"]
  custom-salla-product-card[id="874393190"]
  > .s-product-card-image {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: 1 / 1 !important;
  align-self: stretch !important;
  overflow: hidden !important;
  background: #f3eadf !important;
}

body.theme-raed.index
  section[data-testid="store-home-fixed-products"]
  salla-products-list[source-value*="874393190"]
  custom-salla-product-card[id="874393190"]
  .s-product-card-image
  > a {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: hidden !important;
}

body.theme-raed.index
  section[data-testid="store-home-fixed-products"]
  salla-products-list[source-value*="874393190"]
  custom-salla-product-card[id="874393190"]
  .s-product-card-image-cover {
  display: block !important;
  position: static !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  object-position: center !important;
}

/* شارة العرض متصلة بالحافة اليمنى */
body.theme-raed.index
  section[data-testid="store-home-fixed-products"]
  salla-products-list[source-value*="874393190"]
  custom-salla-product-card[id="874393190"]
  .s-product-card-promotion-title {
  right: 0 !important;
  left: auto !important;
  margin: 0 !important;
  padding: 8px 14px !important;
  background: var(--saweeg-offer-gold) !important;
  color: var(--saweeg-offer-deep) !important;
  border: 0 !important;
  border-radius: 10px 0 0 10px !important;
  font-weight: 800 !important;
}

/* تفاصيل العرض */
body.theme-raed.index
  section[data-testid="store-home-fixed-products"]
  salla-products-list[source-value*="874393190"]
  custom-salla-product-card[id="874393190"]
  > .s-product-card-content {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important;
  min-width: 0 !important;
  padding: 38px 44px !important;
  text-align: right !important;
  background: linear-gradient(135deg, rgba(196, 169, 114, 0.14), #ffffff 48%) !important;
}

body.theme-raed.index
  section[data-testid="store-home-fixed-products"]
  salla-products-list[source-value*="874393190"]
  custom-salla-product-card[id="874393190"]
  .s-product-card-content-main {
  width: 100% !important;
  min-height: 0 !important;
}

body.theme-raed.index
  section[data-testid="store-home-fixed-products"]
  salla-products-list[source-value*="874393190"]
  custom-salla-product-card[id="874393190"]
  .s-product-card-content-title,
body.theme-raed.index
  section[data-testid="store-home-fixed-products"]
  salla-products-list[source-value*="874393190"]
  custom-salla-product-card[id="874393190"]
  .s-product-card-content-title
  a {
  margin: 0 !important;
  color: var(--saweeg-offer-deep) !important;
  font-size: 28px !important;
  font-weight: 900 !important;
  line-height: 1.45 !important;
}

body.theme-raed.index
  section[data-testid="store-home-fixed-products"]
  salla-products-list[source-value*="874393190"]
  custom-salla-product-card[id="874393190"]
  .s-product-card-content-subtitle {
  margin-top: 10px !important;
  color: var(--saweeg-offer-olive) !important;
  font-size: 17px !important;
  line-height: 1.7 !important;
  opacity: 1 !important;
}

/* السعر قبل وبعد العرض */
body.theme-raed.index
  section[data-testid="store-home-fixed-products"]
  salla-products-list[source-value*="874393190"]
  custom-salla-product-card[id="874393190"]
  .s-product-card-content-sub {
  width: 100% !important;
  margin-top: 20px !important;
}

body.theme-raed.index
  section[data-testid="store-home-fixed-products"]
  salla-products-list[source-value*="874393190"]
  custom-salla-product-card[id="874393190"]
  .s-product-card-sale-price {
  display: flex !important;
  align-items: baseline !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  direction: rtl !important;
}

body.theme-raed.index
  section[data-testid="store-home-fixed-products"]
  salla-products-list[source-value*="874393190"]
  custom-salla-product-card[id="874393190"]
  .s-product-card-sale-price
  h4 {
  margin: 0 !important;
  color: var(--saweeg-offer-green) !important;
  font-size: 34px !important;
  font-weight: 900 !important;
  line-height: 1.25 !important;
}

body.theme-raed.index
  section[data-testid="store-home-fixed-products"]
  salla-products-list[source-value*="874393190"]
  custom-salla-product-card[id="874393190"]
  .s-product-card-sale-price
  span {
  color: #727872 !important;
  font-size: 16px !important;
  line-height: 1.4 !important;
  text-decoration: line-through !important;
}

/* زر الإضافة للسلة */
body.theme-raed.index
  section[data-testid="store-home-fixed-products"]
  salla-products-list[source-value*="874393190"]
  custom-salla-product-card[id="874393190"]
  .s-product-card-content-footer {
  width: 100% !important;
  margin-top: 22px !important;
}

body.theme-raed.index
  section[data-testid="store-home-fixed-products"]
  salla-products-list[source-value*="874393190"]
  custom-salla-product-card[id="874393190"]
  .s-product-card-content-footer
  .s-button-element {
  width: 100% !important;
  max-width: 340px !important;
  min-height: 52px !important;
  background: var(--saweeg-offer-deep) !important;
  color: #ffffff !important;
  border: 1px solid var(--saweeg-offer-deep) !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  justify-content: center !important;
}

/* الشاشات المتوسطة */
@media (min-width: 768px) and (max-width: 1023px) {
  body.theme-raed.index
    section[data-testid="store-home-fixed-products"]
    salla-products-list[source-value*="874393190"]
    custom-salla-product-card[id="874393190"] {
    grid-template-columns: 42% 58% !important;
  }

  body.theme-raed.index
    section[data-testid="store-home-fixed-products"]
    salla-products-list[source-value*="874393190"]
    custom-salla-product-card[id="874393190"]
    > .s-product-card-content {
    padding: 30px !important;
  }
}

/* الجوال */
@media (max-width: 767px) {
  body.theme-raed.index section[component-id="1780005563"] {
    margin-top: 26px !important;
    margin-bottom: 32px !important;
  }

  body.theme-raed.index
    section[component-id="1780005563"]
    > .s-block__title {
    margin-bottom: 12px !important;
  }

  body.theme-raed.index
    section[component-id="1780005563"]
    > .s-block__title
    h2 {
    padding-right: 8px !important;
    border-right-width: 3px !important;
    font-size: 22px !important;
  }

  body.theme-raed.index
    section[data-testid="store-home-fixed-products"]
    salla-products-list[source-value*="874393190"] {
    margin: 0 auto !important;
  }

  body.theme-raed.index
    section[data-testid="store-home-fixed-products"]
    salla-products-list[source-value*="874393190"]
    custom-salla-product-card[id="874393190"] {
    display: block !important;
    border-radius: 18px !important;
    box-shadow: 0 9px 26px rgba(0, 47, 45, 0.08) !important;
  }

  body.theme-raed.index
    section[data-testid="store-home-fixed-products"]
    salla-products-list[source-value*="874393190"]
    custom-salla-product-card[id="874393190"]
    > .s-product-card-image {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 1 / 1 !important;
  }

  body.theme-raed.index
    section[data-testid="store-home-fixed-products"]
    salla-products-list[source-value*="874393190"]
    custom-salla-product-card[id="874393190"]
    > .s-product-card-content {
    padding: 18px 18px 20px !important;
  }

  body.theme-raed.index
    section[data-testid="store-home-fixed-products"]
    salla-products-list[source-value*="874393190"]
    custom-salla-product-card[id="874393190"]
    .s-product-card-content-title,
  body.theme-raed.index
    section[data-testid="store-home-fixed-products"]
    salla-products-list[source-value*="874393190"]
    custom-salla-product-card[id="874393190"]
    .s-product-card-content-title
    a {
    font-size: 21px !important;
    line-height: 1.5 !important;
  }

  body.theme-raed.index
    section[data-testid="store-home-fixed-products"]
    salla-products-list[source-value*="874393190"]
    custom-salla-product-card[id="874393190"]
    .s-product-card-content-subtitle {
    font-size: 15px !important;
    line-height: 1.65 !important;
  }

  body.theme-raed.index
    section[data-testid="store-home-fixed-products"]
    salla-products-list[source-value*="874393190"]
    custom-salla-product-card[id="874393190"]
    .s-product-card-content-sub {
    margin-top: 14px !important;
  }

  body.theme-raed.index
    section[data-testid="store-home-fixed-products"]
    salla-products-list[source-value*="874393190"]
    custom-salla-product-card[id="874393190"]
    .s-product-card-sale-price
    h4 {
    font-size: 29px !important;
    line-height: 1.25 !important;
  }

  body.theme-raed.index
    section[data-testid="store-home-fixed-products"]
    salla-products-list[source-value*="874393190"]
    custom-salla-product-card[id="874393190"]
    .s-product-card-content-footer {
    margin-top: 18px !important;
  }

  body.theme-raed.index
    section[data-testid="store-home-fixed-products"]
    salla-products-list[source-value*="874393190"]
    custom-salla-product-card[id="874393190"]
    .s-product-card-content-footer
    .s-button-element {
    max-width: none !important;
    min-height: 50px !important;
  }
}