@import url("https://cdn.salla.sa/themes/custom_fonts/1252562433/thmanyahserifdisplay-Regular.css");
@import url("https://cdn.salla.sa/themes/custom_fonts/1252562433/thmanyahseriftext-Bold.css");

/* ملاحظة: سطري الخطوط اللي فوق لازم يكونون أول شي في الخانة — لا تحطين قبلهم أي شي ولا تعليق.
   الخطين: العناوين thmanyahseriftext-Bold · النصوص thmanyahserifdisplay-Regular */


/* =========================================================
   أنتيك — تخصيص ثيم رائد (CSS)
   النسخة 6 — 23 نوفمبر 2026 (… + لمسة عذار في العناوين ss01)
   اللون الأساسي = لون البنر (#5b1f3c) — يجي من إعدادات الثيم
   ========================================================= */

/* ---------- 1) الألوان ---------- */
:root {
  --antik-bg: #fbf5f5;          /* خلفية المتجر: وردي بيج فاتح جدًا */
  --antik-surface: #ffffff;     /* الكروت والصناديق */
  --antik-soft: #f5e9ec;        /* خلفية أقسام هادية / حدود */
  --antik-line: #eedfe3;        /* خطوط فاصلة */
  --antik-text: #2b1520;        /* النص الأساسي: بنفسجي غامق بدل الأسود */
  --antik-muted: #7a6570;       /* نص ثانوي */
  --antik-plum: var(--color-primary, #5b1f3c);       /* لون البنر */
  --antik-plum-dark: var(--color-primary-dark, #350016);
  --antik-radius: 14px;
}

body,
.app-inner,
main {
  background-color: var(--antik-bg) !important;
  color: var(--antik-text);
}

/* الهيدر */
.store-header,
.main-nav-container,
.main-nav-container .inner,
.top-navbar {
  background-color: #fffafa !important;
}
.main-nav-container {
  border-bottom: 1px solid var(--antik-line);
  box-shadow: none !important;
}

/* العناوين */
.s-block__title h2,
h1, h2, h3 {
  color: var(--antik-text);
}
.s-block__display-all {
  color: var(--antik-plum) !important;
}

/* ---------- 2) الأزرار: نفس لون البنر ---------- */
.s-button-primary,
.s-button-solid.s-button-primary,
.btn--primary,
.s-button-primary-outline {
  background-color: var(--antik-plum) !important;
  border-color: var(--antik-plum) !important;
  color: #fff !important;
}
.s-button-primary:hover,
.btn--primary:hover,
.s-button-primary-outline:hover {
  background-color: var(--antik-plum-dark) !important;
  border-color: var(--antik-plum-dark) !important;
}

/* ---------- 3) قسم المنتجات: شبكة بدل كروت أفقية ---------- */
.s-products-list-horizontal-cards {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 20px;
}
@media (max-width: 1023px) {
  .s-products-list-horizontal-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 12px;
  }
}

/* ---------- 4) كرت المنتج (على طريقة الصورة المرجعية) ---------- */
.s-product-card-entry {
  position: relative;
  display: flex !important;
  flex-direction: column !important;
  height: auto !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  overflow: visible !important;
}

/* الصورة: كبيرة ومتساوية بنسبة 3:4 */
.s-product-card-entry .s-product-card-image {
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  aspect-ratio: 3 / 4;
  flex: none !important;
  border-radius: var(--antik-radius);
  overflow: hidden;
  background: var(--antik-soft);
}
.s-product-card-entry .s-product-card-image a,
.s-product-card-entry .s-product-card-image img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

/* المحتوى تحت الصورة: الاسم والسعر يمين، زر السلة يسار */
.s-product-card-entry .s-product-card-content {
  position: static !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 12px;
  align-items: center;
  padding: 12px 2px 0 !important;
  background: transparent !important;
}
.s-product-card-entry .s-product-card-content > * {
  grid-column: 1;
}
.s-product-card-entry .s-product-card-content-title,
.s-product-card-entry .s-product-card-content-title a {
  font-size: 15px;
  line-height: 1.5;
  color: var(--antik-text) !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;   /* سطرين بحد أقصى */
  min-height: 3em;         /* عشان كل الكروت بنفس الارتفاع */
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}
/* الوصف القصير تحت الاسم يطول الكرت — نخفيه في الكروت فقط */
.s-product-card-entry .s-product-card-content-subtitle {
  display: none !important;
}
/* السعر: غامق مو بلون الأزرار عشان ما يتعب العين */
.s-product-card-entry .s-product-card-price,
.s-product-card-entry .s-product-card-sale-price h4 {
  color: var(--antik-text) !important;
  font-size: 17px;
  margin-top: 4px;
}

/* زر السلة: دائري بلون البنر على اليسار */
.s-product-card-entry .s-product-card-content-footer {
  position: static !important;
  grid-column: 2 !important;
  grid-row: 1 / span 3;
  margin: 0 !important;
  width: auto !important;
  display: block !important;
}
.s-product-card-entry salla-add-product-button,
.s-product-card-entry salla-add-product-button > div {
  width: auto !important;
}
.s-product-card-entry salla-add-product-button .s-button-element {
  width: 46px !important;
  height: 46px !important;
  min-width: 0 !important;
  padding: 0 !important;
  border-radius: 999px !important;
  background: var(--antik-plum) !important;
  border-color: var(--antik-plum) !important;
  color: #fff !important;
}
.s-product-card-entry salla-add-product-button .s-button-text > span {
  display: none;  /* نخفي كلمة «أضف إلى السلة» ونخلي الأيقونة */
}
.s-product-card-entry salla-add-product-button .s-button-text i {
  font-size: 19px !important;
  margin: 0 !important;
}

/* القلب: فوق الصورة في الزاوية */
.s-product-card-entry .s-product-card-wishlist-btn.s-button-wrap {
  position: absolute !important;
  top: 12px !important;
  left: 12px !important;
  right: auto !important;   /* بدونها يتمدد القلب ويطلع على الكرت اللي جنبه */
  bottom: auto !important;
  width: auto !important;
  z-index: 3;
}
.s-product-card-entry button.s-product-card-wishlist-btn {
  width: 40px !important;
  height: 40px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.92) !important;
  border: 0 !important;
  color: var(--antik-text) !important;
}

/* شارة العرض على الصورة (مثل «هيبة المخمل») */
.s-product-card-promotion-title {
  background: var(--antik-plum) !important;
  color: #fff !important;
  border-radius: 999px !important;
  top: 12px !important;
  right: 12px !important;
  font-size: 12px;
  padding: 4px 12px !important;
}

/* ---------- 5) الأقسام والفوتر ---------- */
.s-block--full-bg {
  background-color: var(--antik-soft) !important;
}
footer,
.store-footer,
.store-footer__inner {
  background-color: #f6ecee !important;
  color: var(--antik-text);
}

/* ---------- 6) الجوال ---------- */
@media (max-width: 767px) {
  .s-product-card-entry .s-product-card-content { column-gap: 8px; }
  .s-product-card-entry .s-product-card-content-title,
  .s-product-card-entry .s-product-card-content-title a { font-size: 13px; }
  .s-product-card-entry .s-product-card-price { font-size: 15px; }
  .s-product-card-entry salla-add-product-button .s-button-element {
    width: 38px !important;
    height: 38px !important;
  }
  .s-product-card-entry salla-add-product-button .s-button-text i { font-size: 16px !important; }
  .s-product-card-entry button.s-product-card-wishlist-btn {
    width: 34px !important;
    height: 34px !important;
  }
}

/* ---------- 7) توزيع الخطين ---------- */
/* النصوص العادية */
body, input, select, textarea, button, p, span, a, small, label, li {
  font-family: "thmanyahserifdisplay-Regular", -apple-system, system-ui, sans-serif !important;
  font-weight: 400;
}
/* العناوين والأسعار وأسماء المنتجات */
h1, h2, h3, h4, b, strong,
.s-block__title h2,
.s-product-card-content-title,
.s-product-card-content-title a,
.s-product-card-price,
.s-product-options-option-label b {
  font-family: "thmanyahseriftext-Bold", -apple-system, system-ui, sans-serif !important;
  font-weight: 700;
}

/* ---------- 8) صفحة المنتج: نظيفة بدون صناديق (على طريقة عذار) ---------- */
.main-content .tamara-product-widget,
.main-content salla-product-options.s-product-options-wrapper,
.main-content form.product-form > section.bg-white:not(.sticky-product-bar) {  /* شريط الإضافة في الجوال يبقى أبيض لأنه ثابت تحت */
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.main-content .tamara-product-widget {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-bottom: 8px;
}
/* فاصل خفيف بدل الصناديق */
.main-content salla-product-options.s-product-options-wrapper {
  border-top: 1px solid var(--antik-line) !important;
  padding-top: 24px !important;
  margin-top: 8px;
}
.s-product-options-option-container + .s-product-options-option-container {
  margin-top: 26px;
}
.s-product-options-option-label b {
  font-size: 17px;
  color: var(--antik-text);
}
.s-product-options-option-label small {
  color: var(--antik-muted);
}
/* الكمبيوتر: اسم الخيار يمين والأزرار يساره، مثل عذار */
@media (min-width: 768px) {
  .s-product-options-option {
    display: grid !important;
    grid-template-columns: 130px minmax(0, 1fr);
    column-gap: 20px;
    align-items: start;
  }
  .s-product-options-option .s-product-options-option-content {
    grid-column: 2 !important;  /* رائد يمدّه على العمودين — نرجعه يسار الاسم */
  }
  .main-content .sticky-product-bar {
    background: transparent !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    border-top: 1px solid var(--antik-line);
    border-radius: 0 !important;
  }
}

/* ---------- 9) الأسئلة الشائعة: بدون صناديق، عمودين، عنوان يمين (مثل عذار) ---------- */
.s-block--faqs,
.s-block--faqs.s-block--full-bg {
  background: transparent !important;
  padding-top: 2rem !important;
}
.s-block--faqs .lp-title {
  align-items: flex-start !important;
  text-align: right !important;
}
.s-block--faqs .lp-title__overline {
  display: none !important;   /* الخط اللي فوق العنوان */
}
.s-block--faqs .lp-title__main {
  font-size: clamp(28px, 4vw, 40px) !important;
  line-height: 1.5 !important;
  color: var(--antik-text);
}
.s-block--faqs .lp-title__sub {
  color: var(--antik-muted);
  opacity: 1 !important;
}
.s-block--faqs .list {
  column-gap: 32px !important;
  row-gap: 0 !important;
}
@media (min-width: 768px) {
  .s-block--faqs .list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
.s-block--faqs .faq-item__inner {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  border-bottom: 1px solid var(--antik-line) !important;
}
.s-block--faqs .faq-item__inner label {
  padding-right: 0 !important;
  padding-left: 0 !important;
  font-size: 16px;
}
.s-block--faqs .faq-item__inner label::before,
.s-block--faqs .faq-item__inner label::after {
  background: transparent !important;
  color: var(--antik-text) !important;
}
.s-block--faqs .faq-answer {
  padding-right: 0 !important;
  padding-left: 0 !important;
  color: var(--antik-muted);
}

/* ---------- 10) المميزات: أيقونة خطية بدون دائرة، وبدون كروت ---------- */
.s-block--features__item {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
.s-block--features__item .feature-icon {
  background: transparent !important;
  color: var(--antik-plum) !important;
  width: auto !important;
  height: auto !important;
  margin-bottom: 14px;
}
.s-block--features__item .feature-icon i {
  font-size: 46px !important;
  color: var(--antik-plum) !important;
}
.s-block--features__item h2 {
  font-size: 19px;
  color: var(--antik-text);
}
.s-block--features__item p {
  color: var(--antik-muted);
}
/* خط فاصل رفيع بين المميزات على الكمبيوتر */
@media (min-width: 768px) {
  .s-block--features__item + .s-block--features__item {
    border-right: 1px solid var(--antik-line) !important;
  }
}

/* ---------- 11) آراء العملاء: كروت ناعمة بإطار رفيع، بدون صورة وبدون علامة الاقتباس ---------- */
.s-reviews-header {
  font-size: clamp(28px, 4vw, 40px) !important;
  line-height: 1.5;
  color: var(--antik-text) !important;
  margin-bottom: 24px;
}
/* رائد يخلي السلايدر أعرض من الصفحة — نرجعه لعرضها عشان تطلع 3 كروت كاملة */
.s-reviews-testimonials-slider .swiper {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.s-reviews-testimonial {
  height: 100%;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.s-reviews-testimonials-slider .swiper-slide .s-reviews-testimonial__inner {
  width: 100% !important;
  max-width: none !important;
  min-height: 220px;
  height: 100%;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: space-between;
  text-align: center !important;
  padding: 28px 24px !important;
  background: #fff !important;
  border: 1px solid var(--antik-line) !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  opacity: 1 !important;
  transform: none !important;
}
.s-reviews-testimonial__avatar,
.s-reviews-testimonial__icon {
  display: none !important;
}
.s-reviews-testimonial__text {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 0 !important;
}
/* رائد يخفي نص الكروت الجانبية — نخليه ظاهر في الكل */
.s-reviews-testimonials-slider .swiper-slide .s-reviews-testimonial__text p {
  display: block !important;
  max-height: none !important;
  height: auto !important;
  overflow: visible !important;
  opacity: 1 !important;
  font-size: 16px;
  line-height: 1.9;
  color: var(--antik-text) !important;
  text-align: center !important;
  margin-bottom: 20px;
}
.s-reviews-testimonials-slider .swiper-slide .s-reviews-testimonial__name_wrapper,
.s-reviews-testimonials-slider .swiper-slide .s-reviews-testimonial__rating {
  display: flex !important;
  flex-direction: column;
  align-items: center !important;
  gap: 8px;
  opacity: 1 !important;
  margin-top: auto;
}
.s-reviews-testimonial__info h2 {
  font-size: 17px;
  color: var(--antik-text) !important;
}
/* النجوم بلون النص الغامق بدل الأصفر */
.s-reviews-testimonial__rating svg {
  fill: var(--antik-text) !important;
}

/* الكروت الجانبية في آراء العملاء: نفس وضوح الكرت النشط */
.s-reviews-testimonials-slider .swiper-slide {
  opacity: 1 !important;
  filter: none !important;
}

/* ---------- 12) لمسة عذار في العناوين ----------
   عذار يستخدم نفس خط ثمانية Serif Text، والسر إنه يفعّل «المجموعة الأسلوبية 1» (ss01)
   اللي تمد الحروف الأخيرة (ي، س، ك…) — وخطك Bold فيه نفس الخاصية. */
h1, h2, h3, h4,
.s-block__title h2,
.lp-title__main,
.s-reviews-header,
#abayaCalculatorContainer h4,
.s-block--features__item h2 {
  font-feature-settings: "ss01" !important;
  letter-spacing: -0.5px;
}
/* الطلب السريع: تباين العنوان والزر */
salla-quick-order .s-quick-order-button-cont h3{color:#fff !important;}
salla-quick-order .s-quick-order-button-cont p{color:rgba(255,255,255,.85) !important;}
salla-quick-order .s-button-light{background:#fff !important;color:#5B1F3C !important;border:none !important;}
salla-quick-order .s-button-light .s-button-text{color:#5B1F3C !important;font-weight:600;}
/* إخفاء رابط حاسبة المقاس من صفحات المنتج (الحاسبة باقية في الواجهة فقط) */
.antik-mini-calc { display: none !important; }