@font-face {
  font-family: '29LTKaff';
  src: url('https://assets.zid.store/themes/f6c450d0-3383-4c29-9188-efa4330d50a2/29LTSemibold.ttf');
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: '29LTKaff';
  src: url('https://assets.zid.store/themes/f6c450d0-3383-4c29-9188-efa4330d50a2/29LTReg.ttf');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: '29LTKaff';
  src: url('https://assets.zid.store/themes/f6c450d0-3383-4c29-9188-efa4330d50a2/29LTLight.ttf');
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

/* ===== Font ===== */
body { font-family: '29LTKaff', 'PingARLT', sans; }

/* ===== Header  ===== */
.main-nav-container { min-height: auto; }
.mm-ocd-opened .mobile-menu{ color: #2637C0; }
.sicon-user{ color: #2637C0; }

header .sicon-menu:before{
  content: '';
  background: url(https://media.zid.store/cdn-cgi/image/w=2220,q=100,f=auto/https://media.zid.store/122d7179-64fe-44e8-9431-f091055bb083/11cefd61-176f-4dbe-9e87-18d344999d25.svg) no-repeat center / cover;
  width: 27px; height: 28px; display: block;
}
header .sicon-search:before {
  content: '';
  background: url(https://media.zid.store/cdn-cgi/image/w=2220,q=100,f=auto/https://media.zid.store/122d7179-64fe-44e8-9431-f091055bb083/1e73599e-1da1-4ba7-a0a8-dda20c7f9a0f.svg) no-repeat center / cover;
  width: 24px; height: 24px; display: block;
}
.s-cart-summary-count {
  background: transparent;
  color: #2637C0;
  right: -10px;
}
header .sicon-cart:before {
  content: '';
  background: url(https://media.zid.store/cdn-cgi/image/w=2220,q=100,f=auto/https://media.zid.store/122d7179-64fe-44e8-9431-f091055bb083/d63ed20b-53d7-4ef8-be38-e53265c191e2.svg) no-repeat center / cover;
  width: 25px; height: 25px; display: block;
}

/* ===== Tabs ===== */
.home-block-line { display: none; }

.s-block--tabs-produtcs .tabs {
  justify-content: center;
  border: none;
  gap: 1rem;
}
.s-block--tabs-produtcs .tab-trigger button {
  padding: 0;
  font-size: 1rem;
  border-bottom: 2px solid;
  opacity: 0.6;
  font-weight: 600;
  border-radius: 5px;
  font-size: 1.125rem;
}
.s-block--tabs-produtcs .tab-trigger.is-active button { opacity: 1; }
.s-block-tabs { margin-top: 0; }
.s-block-tabs .s-products-list-vertical-cards {
  display: flex;
  overflow-x: auto;
  padding: 0 0 1rem;
  gap: 1rem;
}
.s-block-tabs .s-products-list-vertical-cards custom-salla-product-card {
  flex: 0 0 auto;
  width: 22%;
  scroll-snap-align: start;
  gap: 2%;
}
@media (max-width: 768px) {
  .advanced-slider__caption{ top:11% }
  .s-block-tabs .s-products-list-vertical-cards custom-salla-product-card { width:55%; }
  h2.text-3xl.font-bold.tracking-tight.text-store-text-primary,
  p.mt-2.text-3xl.font-bold.tracking-tight.text-store-text { font-size: 1.5rem; }
  .s-block--faq p.text-lg { font-size: 1rem; }
}
.s-block-tabs ::-webkit-scrollbar { height: 6px; }
/* ===== Tabs ===== */

/* ===== Product Card ===== */
.product-card__enhanced-mini-cart button.s-button-element {
  width: 90%;
  margin-inline: auto;
  border-radius: 25px;
  margin-bottom: 1rem;
}
.product-card { border-radius: 24px !important; }
.product-card__enhanced-mini-cart__btn--inner {
  gap: 0.5rem;
  flex-direction: row-reverse;
}
.product-card__enhanced-mini-cart__btn--inner span,
.product-card__enhanced-mini-cart__btn--inner i { margin: 0; }
.product-card__enhanced-mini-cart button.s-button-element { padding: 10px 10px; }
.product-card__enhanced-mini-cart__btn--inner i { font-size: 1rem; }
.product-card__enhanced-mini-cart__btn--inner i:before {
  content: '';
  background: url(https://media.zid.store/eeebe6f0-dc0e-46e7-a4fb-56c7c4f3196f/0d387af7-32d3-441a-a7de-7c4ee409c22c.svg) no-repeat center / cover;
  width: 21px; height: 21px; display: block;
}
/* ===== Product Card ===== */

/* ====== Accordion ====== */
.accordion-section {
  margin-inline: auto;
  padding: 1.5rem 1rem;
  max-width: 60rem;
  background-color: #2637c0;
  border-radius: 24px;
}
.accordion-button {
  cursor: pointer;
  width: 100%;
  padding: 10px 15px;
  text-align: right;
  color: #fff;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items:center;
  transition: all 0.3s ease-out;
  border-radius: 16px;
  font-weight: 500;
  border: 1px solid #fff;
  margin-bottom: 10px;
}
body:lang(en) .accordion-button,
body:lang(en) .accordion-content p { direction: ltr; }
.accordion{ padding-top:10px }
.accordion-button.active { opacity:0.75 }
.accordion-button .icon { font-size: 20px; margin-left: 10px; }
.accordion-content {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease-out;
  padding-left: 18px;
  padding-right: 18px;
  color: #fff;
}
.accordion-button:after {
  content: "╋";
  font-size: 0.8rem;
  transition: all .3s ease;
  font-weight: 400;
}
.accordion-button.active:after {
  content: "━";
  transform: rotate(180deg);
}
.accordion-content p { margin: 10px 0 18px; }
/* ====== End Accordion ====== */

/* ===== About ===== */
.index .fixed-products { margin: 0; }
.fixed-products h2.text-center.text-store-text-primary.text-2xl { display: none; }

.s-block--about .btn {
  background-color: #2637c0;
  color: #fff;
  border-radius: 25px !important;
  padding: 0 2.5rem !important;
  margin: 0;
}
.s-block--about .btn i { display: none; }
.s-block--circle-links .swiper-slide a > div,
.s-block--circle-links .swiper-slide a > div img { border-radius: 0 }
/* ===== About ===== */

/* ===== Faq ===== */
.s-block--faq .container {
  width: 95%;
  background-color: #2637c0;
  padding: 1rem;
  border-radius: 24px;
}
.s-block--faq p { color: #fff; }
.single-faq { background-color: transparent; border-color: #fff; }
.single-faq i { background: transparent; }
.s-block--faq  .grid { padding: 1rem 0.5rem; }
/* ===== Faq ===== */

/* ===== Testimonial ===== */
.s-block--testimonials .flex.flex-col.justify-between.h-full {
  box-shadow: none;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  border: 2px solid;
  flex-direction: column-reverse;
}
.s-block--testimonials div#item-text { text-align: center; }
.s-block--testimonials .flex.items-center.mt-6.-mx-2 {
  margin: 0;
  justify-content: center;
}
.s-block--testimonials img { display: none; }
.s-block--testimonials p.text-base.mb-2.text-store-text-primary {
  text-align: start;
  width: 100%;
  font-weight: 700;
}
.s-block--testimonials .sicon-quote,
.s-block--testimonials.enhanced:before { display: none; }

.s-block--testimonials .flex.items-center.mt-6.-mx-2 div.mx-2{
  display: flex;
  width: 100%;
  justify-content: space-between;
}
.comment__rating { display: flex; justify-content: flex-end; }
/* ===== Testimonial ===== */

footer svg.absolute { display: none; }
footer { border-top: 2px solid; }

.store-footer div.order-1 h3{ font-size:0; margin:0 }
.store-footer div.order-1 h3:after{
  content:"الصفحات التعريفية";
  display: block;
  font-size: 1rem;
  font-weight: 700;
}
.store-footer .footer-list li:nth-of-type(4):before{
  content:"الدعم والمساعدة";
  display: block;
  font-size: 1rem;
  font-weight: 700;
  margin-top: 0.5rem;
}
.store-footer .footer-list li:nth-of-type(7):before{
  content:"السياسات والخدمات";
  display: block;
  font-size: 1rem;
  font-weight: 700;
  margin-top: 0.5rem;
}

/* ===============================
   FIX: عنوان سكشن المنتجات الثابتة
   - إلغاء ::before اللي كان بيكتب "الأكثر مبيعاً"
   - تنسيق العنوان الحقيقي (من الداشبورد) بخط أسود تحته
================================ */

/* إلغاء أي تاج قديم */
.index .s-block.fixed-products .home-block-title::before{
  content: none !important;
  display: none !important;
}

/* تنسيق عنوان السكشن الحقيقي */
.index .s-block.fixed-products .home-block-title{
  display:flex;
  justify-content:center;
  align-items:center;
  margin: 0 0 14px;
  text-align:center;
}
.index .s-block.fixed-products .home-block-title h2{
  position: relative;
  display: inline-block;
  padding: 10px 0;  /* padding فوق وتحت */
  margin: 0;
  color: #000;
  font-weight: 700;
  line-height: 1.2;
}
.index .s-block.fixed-products .home-block-title h2::after{
  content:"";
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  bottom:2px;
  width:70px;
  height:2px;
  background:#000;
  border-radius:999px;
}

/* buy numbers */
ul.product-metadata:not([class*="!mb-0"]) li:first-of-type {
  color: #000;
  background: rgba(222, 220, 233, 0.4);
  padding: 5px 8px;
  border-radius: 6px;
  width: fit-content;
  text-align: center;
}
ul.product-metadata:not([class*="!mb-0"]) li:first-of-type strong {
  font-weight: normal;
}
ul.product-metadata:not([class*="!mb-0"]) li:first-of-type strong:before {
  content: "";
  background-image: url("https://media.zid.store/310143cd-e00b-4bed-a0fc-a788b32ddc14/00bd5bd5-0c80-4da5-a429-aeb5853399b6.png");
  width: 22px !important;
  height: 22px !important;
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin: 0 2px -5px;
}
.product-single ul.product-metadata:not([class*="!mb-0"]) {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  justify-content: center !important;
}
ul.product-metadata:not([class*="!mb-0"]) li:last-of-type {
  display: none !important;
}

/* salla-rating-stars */
.product-single .product-details-col salla-rating-stars {
  color: #000;
  background: rgba(222, 220, 233, 0.4);
  padding: 4px 8px 1px;
  min-width: 130px;
  border-radius: 6px;
  width: fit-content;
  text-align: center;
}
.product-single .product-details-col .s-rating-stars-reviews {
  color: #484d56;
  margin: 0 5px !important;
}
.sizes-btn{
  border:1px solid #777882;
  color:#2637C0;
  width: 100%;
  text-align: start;
  padding: 0.5rem 1rem;
  font-weight: 700;
  margin:2rem auto
}
.product-single
  .product-details-col
  .s-rating-stars-btn-star:not(:first-child) {
  display: none !important;
}

/* see more */
.s-block--best-offers .flex.items-center.gap-8.mt-5,
.s-block.fixed-products .flex.items-center.gap-8.mt-5 {
  justify-content: center;
}
.s-block--best-offers div.text-center.mb-8 h2 {
  display: none;
}
.s-block--best-offers .flex.items-center.gap-8.mt-5 span.bg-gray-200,
.s-block.fixed-products .flex.items-center.gap-8.mt-5 span.bg-gray-200 {
  display: none;
}
.s-block--best-offers .flex.items-center.gap-8.mt-5 a,
.s-block.fixed-products .flex.items-center.gap-8.mt-5 a {
  font-weight: 400;
  border: 1px solid #2637C0;
  color:#2637C0;
  padding: 0.5rem 1.25rem !important;
  border-radius: 25px !important;
  flex: auto;
  height: auto;
}
.s-block.fixed-products .flex.items-center.gap-8.mt-5 a:hover {
  background-color: transparent;
}
body.ltr .s-block--best-offers .flex.items-center.gap-8.mt-5 a span,
body.ltr .s-block.fixed-products .flex.items-center.gap-8.mt-5 a span {
  font-size: 0;
}
body.ltr .s-block--best-offers .flex.items-center.gap-8.mt-5 a span:after,
body.ltr .s-block.fixed-products .flex.items-center.gap-8.mt-5 a span:after {
  content: 'See more';
  display: block;
  font-weight: bold;
}
.s-block--best-offers .flex.items-center.gap-8.mt-5 a i,
.s-block.fixed-products .flex.items-center.gap-8.mt-5 a i {
  display: none;
}
.s-block--best-offers .flex.items-center.gap-8.mt-5 a span,
.s-block.fixed-products .flex.items-center.gap-8.mt-5 a span {
  font-size: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.s-block--best-offers .flex.items-center.gap-8.mt-5 a span:after,
.s-block.fixed-products .flex.items-center.gap-8.mt-5 a span:after {
  content: 'عرض المزيد';
  display: block;
  font-size: 0.875rem;
}

/* إخفاء شارة السجل التجاري من الفوتر */
footer salla-trust-badges { display: none !important; }


/* ==========================================
   Tabby / Tamara: REMOVE CUSTOM STYLES SAFELY
   الهدف: يرجعوا افتراضي من سلة/الثيم بدون ما نكسر تمارا
========================================== */

/* رجّع تابي افتراضي (ده اللي كان متبهدل) */
salla-installment #tabbyPromoWrapper,
#tabbyPromo > [class*='styles__tabby']{
  all: revert !important;
}

/* رجّع الكونتينر العام لو أنت كنت مغيره قبل كده */
salla-installment,
salla-installment.hydrated{
  all: revert !important;
  display: block !important;
}

/* تمارا: ممنوع نعملها revert (ده كان بيخفيها) — بس نتأكد إنها ظاهرة */
tamara-widget,
salla-installment tamara-widget{
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
}


/* ================================
   FIX: Center Fixed Products (Desktop only)
   يلغي max-width اللي مأثر على السكشن
================================ */

/* ديسكتوب كبير */
@media (min-width: 1200px) {

  /* شيل max-width من الكونتينر بتاع سكشن المنتجات الثابتة */
  .index
  .s-block.container.fixed-products,
  .index
  .s-block.container.fixed-products > .container {
    max-width: none !important;
    width: 100% !important;
  }

  /* توسيط المحتوى نفسه */
  .index
  .s-block.container.fixed-products
  salla-products-list {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* توسيط عنوان السكشن */
  .index
  .s-block.container.fixed-products
  .home-block-title {
    justify-content: center !important;
    text-align: center !important;
  }
}

.mm-ocd-opened .mobile-menu {
    color: #9e7845;
}

/* ===============================
   لون ذهبي موحد
   =============================== */
:root {
    --gold: #9e7845;
}

/* ===============================
   كسر Tailwind text colors
   =============================== */
header [class*="text-blue"],
header [class*="text-primary"],
header [class*="text-indigo"] {
    --tw-text-opacity: 1 !important;
    color: var(--gold) !important;
}

/* ===============================
   أيقونات سلة (Font Icons)
   =============================== */
header i[class^="sicon-"]::before,
header i[class*=" sicon-"]::before {
    color: var(--gold) !important;
}

/* ===============================
   أيقونة القائمة (☰)
   =============================== */
header .sicon-menu.text-2xl::before {
    color: var(--gold) !important;
}

/* ===============================
   أيقونة تسجيل الدخول
   =============================== */
header button[aria-label="Login"] i::before {
    color: var(--gold) !important;
}

/* ===============================
   أيقونة البحث
   =============================== */
header .sicon-search::before {
    color: var(--gold) !important;
}

/* ===============================
   أيقونة السلة + العداد
   =============================== */
header .sicon-cart::before,
header .sicon-shopping-bag::before {
    color: var(--gold) !important;
}

header .cart-badge {
    background-color: var(--gold) !important;
    color: #fff !important;
}


/* ===============================
   HEADER ONLY – GOLD COLOR
   =============================== */

/* لون متغير خاص بالهيدر فقط */
header {
  --header-gold: #9e7845;
}

/* أيقونة المستخدم */
header .sicon-user {
  color: var(--header-gold);
}

/* عداد السلة */
header .s-cart-summary-count {
  color: var(--header-gold);
  background: transparent;
  right: -10px;
}

/* ===============================
   أيقونات الهيدر (صور SVG كـ background)
   نحولها ذهبي بالـ filter
   =============================== */
header .sicon-menu::before,
header .sicon-search::before,
header .sicon-cart::before {
  filter:
    brightness(0)
    saturate(100%)
    invert(55%)
    sepia(25%)
    saturate(600%)
    hue-rotate(5deg)
    brightness(95%)
    contrast(95%);
}

/* ===============================
   لون الهيدر عند فتح المينيو (موبايل)
   =============================== */
.mm-ocd-opened header .mobile-menu {
  color: var(--header-gold);
}