/* Add custom CSS styles below */ 
.custom-advanced-slider + .s-block--slider-with-bg { margin-top: 0 !important; }
.s-block--slider-with-bg, .s-block--slider-with-bg .slider-bg { background-color: #ffffff !important; }
.s-block--slider-with-bg .slider-bg::before { display: none !important; }
.s-block--slider-with-bg .slider-bg h3, .s-block--slider-with-bg .slider-bg p { color: #ac9159 !important; font-weight: 700 !important; }
.s-block--slider-with-bg .s-slider-nav-arrow { background-color: #ffffff !important; border-color: #204137 !important; }
.s-block--slider-with-bg .s-slider-nav-arrow svg { fill: #204137 !important; stroke: #204137 !important; stroke-width: 1.5px !important; }

/* ===== أقسام المتجر - أثينا: تصميم بطاقات أفقية مرقمة ===== */
.store_categories_section { counter-reset: athenaCat; }
@media (min-width: 768px) { .store_categories_section .store_category_item_wrapper { display: grid !important; grid-template-columns: repeat(2, max-content); justify-content: center; column-gap: 96px; row-gap: 56px; } }
.store_categories_section .store_category_item { flex-direction: row-reverse !important; align-items: center !important; justify-content: flex-end !important; gap: 24px !important; counter-increment: athenaCat; }
.store_categories_section .store_category_item .img-shine-wrapper { width: 140px !important; height: 140px !important; flex-shrink: 0; border-radius: 0 !important; }
.store_categories_section .store_category_item .img-shine-wrapper img { width: 100% !important; height: 100% !important; object-fit: cover; border-radius: 0 !important; }
.store_categories_section .store_category_item_content { flex-direction: column !important; align-items: flex-start !important; gap: 10px !important; text-align: start !important; min-width: 170px; }
.store_categories_section .store_category_item_content::before { content: counter(athenaCat, decimal-leading-zero); color: #ac9159; font-size: 20px; line-height: 1; }
.store_categories_section .store_category_item_title { color: #ffffff !important; font-size: 40px !important; font-weight: 700 !important; line-height: 1.2 !important; margin: 0 !important; }
.store_categories_section .store_category_item_subtitle { color: #ffffff !important; border: 1.5px solid #ffffff; padding: 6px 18px; font-size: 13px !important; font-weight: 700 !important; line-height: 1.4 !important; margin: 0 !important; transition: background-color .3s ease, color .3s ease; }
.store_categories_section .store_category_item:hover .store_category_item_subtitle { background-color: #ffffff; color: #204137 !important; }
@media (max-width: 767px) {
  .store_categories_section .store_category_item_wrapper { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px; row-gap: 28px; padding: 0 4px; justify-content: stretch; }
  .store_categories_section > salla-slider.mp-hidden-desktop { display: none !important; }
  .store_categories_section .store_category_item { flex-direction: column !important; align-items: stretch !important; justify-content: flex-start !important; gap: 10px !important; width: 100%; }
  .store_categories_section .store_category_item .img-shine-wrapper { width: 100% !important; height: auto !important; aspect-ratio: 1 / 1; }
  .store_categories_section .store_category_item_content { min-width: 0; gap: 6px !important; }
  .store_categories_section .store_category_item_content::before { font-size: 15px; }
  .store_categories_section .store_category_item_title { font-size: 22px !important; }
  .store_categories_section .store_category_item_subtitle { font-size: 11px !important; padding: 4px 12px; }
}

/* ===== أقسام المتجر: توزيع حسب العدد (ديسكتوب) — 4 = (2+2)، 6 = (3+3) ===== */
@media (min-width: 768px) {
  .store_categories_section .store_category_item_wrapper:has(.store_category_item:nth-child(4):last-child) {
    grid-template-columns: repeat(2, max-content) !important;
  }
  .store_categories_section .store_category_item_wrapper:has(.store_category_item:nth-child(6):last-child) {
    grid-template-columns: repeat(3, max-content) !important;
    column-gap: 56px !important;
  }
}

/* ===== منتجات حسب التصنيف (مختارات رنة): عنوان أبيض عريض ===== */
.products_tabs_section .home_component_title { color: #ffffff !important; font-weight: 700 !important; }

/* ===== بطاقة المنتج: إزالة الإطار الأبيض الخارجي ===== */
[class*="product-card"],
[class*="product-entry"] {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}
.s-product-card-entry,
.s-product-card-vertical {
  padding: 0 !important;
}
/* الصورة تملأ مساحتها بالكامل بدون أي فراغ حولها */
.s-product-card-image,
.s-product-card-image a {
  display: block;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  line-height: 0;
  overflow: hidden;
}
.s-product-card-image img {
  display: block;
  width: 100% !important;
  margin: 0 !important;
  border: 0 !important;
}

/* ===== آراء عملاء مخصصة - أثينا: لمسة جمالية ===== */
.athena_customer_reviews h1.home_component_subtitle { color: #204137 !important; font-weight: 700 !important; font-size: 32px !important; line-height: 1.4 !important; white-space: nowrap !important; width: auto !important; }
.athena_customer_reviews h1.home_component_subtitle::after { content: ""; display: block; width: 64px; height: 3px; margin: 14px auto 0; background: #ac9159; border-radius: 3px; }
.athena_customer_reviews .bg-white { position: relative; border-radius: 18px !important; border-top: 4px solid #ac9159; box-shadow: 0 10px 28px rgba(32, 65, 55, .15) !important; transition: box-shadow .3s ease; }
.athena_customer_reviews .bg-white:hover { box-shadow: 0 14px 36px rgba(172, 145, 89, .40) !important; }
.athena_customer_reviews .bg-white::before { content: "\201D"; position: absolute; top: 4px; right: 22px; font-size: 72px; line-height: 1; font-family: Georgia, serif; color: #ac9159; opacity: .25; pointer-events: none; }
.athena_customer_reviews .bg-white p { color: #231f1e !important; font-size: 15px !important; line-height: 1.8 !important; }
.athena_customer_reviews .bg-white .default-avatar { box-shadow: 0 0 0 3px #ffffff, 0 0 0 5px #ac9159; }
.athena_customer_reviews .bg-white h3 { color: #204137 !important; font-size: 15px !important; margin-bottom: 8px !important; }
@media (max-width: 767px) { .athena_customer_reviews h1.home_component_subtitle { font-size: 24px !important; } }

/* ===== صفحات المنتج والتصنيف: توزيع ألوان الهوية على الخلفية الخضراء ===== */
/* الهيدر: خلفية بيضاء مثل الصفحة الرئيسية لتظهر القائمة والأيقونات */
body.product-single .store-header, body.product-index .store-header { background-color: #ffffff !important; }
/* مسار التنقل */
body.product-single .s-breadcrumb-item, body.product-single .s-breadcrumb-item a, body.product-index .s-breadcrumb-item, body.product-index .s-breadcrumb-item a { color: rgba(255, 255, 255, .75) !important; }
body.product-single .s-breadcrumb-item:last-child, body.product-index .s-breadcrumb-item:last-child { color: #ac9159 !important; }
/* صفحة المنتج: الاسم والسعر والوصف */
body.product-single .main-content h1 { color: #ffffff !important; font-weight: 700 !important; }
body.product-single .main-content h2.font-black:not(.bg-white h2) { color: #ac9159 !important; }
body.product-single article.article--main p { color: rgba(255, 255, 255, .88) !important; line-height: 1.9 !important; }
/* صفحة المنتج: منتجات قد تعجبك */
body.product-single .s-slider-block__title h2 { color: #ffffff !important; font-weight: 700 !important; }
body.product-single salla-products-slider .s-slider-nav-arrow { background-color: #ffffff !important; border-color: #ac9159 !important; opacity: 1; }
body.product-single salla-products-slider .s-slider-nav-arrow svg { fill: #204137 !important; }
/* صفحة التصنيف: العنوان وعدد المنتجات والترتيب */
body.product-index h1.font-bold, body.product-index h1.font-bold * { color: #ffffff !important; }
body.product-index label.whitespace-nowrap { color: rgba(255, 255, 255, .85) !important; }
body.product-index .section-description, body.product-index .s-infinite-scroll-last { color: rgba(255, 255, 255, .75) !important; }
/* آراء العملاء في الصفحتين */
body.product-single .s-reviews-header, body.product-index .s-reviews-header { color: #ffffff !important; font-weight: 700 !important; }

/* ===== صفحة المنتج: وصف المنتج بكل عناصره (يتجاوز الألوان المضمّنة في الوصف) ===== */
body.product-single .product__description, body.product-single .product__description * { color: rgba(255, 255, 255, .88) !important; }
body.product-single .product__description strong, body.product-single .product__description b { color: #ffffff !important; font-weight: 700 !important; }
body.product-single .product__description h1, body.product-single .product__description h2, body.product-single .product__description h3, body.product-single .product__description h4, body.product-single .product__description h1 *, body.product-single .product__description h2 *, body.product-single .product__description h3 *, body.product-single .product__description h4 * { color: #ac9159 !important; font-weight: 700 !important; }
body.product-single .product__description li::marker { color: #ac9159 !important; }
body.product-single .product__description a, body.product-single .product__description a * { color: #ac9159 !important; text-decoration: underline; }

/* ===== صفحة المنتج: إخفاء صندوق التعليقات الأبيض الفارغ (يظهر تلقائيًا عند وجود تقييمات) ===== */
body.product-single salla-comments:not(:has(salla-comment-item)) { display: none !important; }
/* ===== صفحة المنتج: إخفاء عنوان القسم السفلي (منتجات قد تعجبك) ===== */
body.product-single .s-before-related + .container .s-slider-block__title h2 { display: none !important; }
/* ===== صفحة المنتج: عنوان "منتجات مشابهة" أبيض ممدود وعريض ===== */
body.product-single .similar-products__title { font-size: 0 !important; color: #ffffff !important; }
body.product-single .similar-products__title::after { content: "منتجـــات مشابهـــة"; font-size: 28px; font-weight: 700; color: #ffffff; line-height: 1.4; }
@media (max-width: 767px) {
  body.product-single .similar-products__title::after { font-size: 22px; }
}

/* ===== منتجات متحركة مع خلفية: عنوان "الأكثر مبيعا" في المنتصف، أكبر، أخضر الهوية ===== */
.s-block--slider-with-bg .slider-bg h3 { display: block; width: 100%; text-align: center !important; color: #204137 !important; font-size: 28px !important; font-weight: 700 !important; line-height: 1.5 !important; }
.s-block--slider-with-bg .slider-bg p { text-align: center !important; margin-left: auto !important; margin-right: auto !important; }
@media (max-width: 767px) { .s-block--slider-with-bg .slider-bg h3 { font-size: 24px !important; } }

/* إخفاء وصف التصنيف (store-banner) */
.product-index .section-description { display: none !important; }

/* إخفاء الهيرو بانر من تصنيف كهرمان فقط */
.container:has(salla-products-list[source-value="1980862275"]) > .banner { display: none !important; }