/* =====================================================
   MZIONA CUSTOM CSS
   ترتيب وتخصيص واجهة المتجر
===================================================== */

@media (max-width: 768px) {

  #best-offers-2-slider {
    --product-data-view: 3 / 5   !important;
  }

  #best-offers-2-slider custom-salla-product-card,
  #best-offers-2-slider custom-salla-product-card.product-entry {
    --product-data-view: 3 / 5  3 / 5   !important;
  }

  #best-offers-2-slider .product-entry__image,
  #best-offers-2-slider .product-entry__image.aspect-\[var\(--product-data-view\)\] {
    aspect-ratio: 3 / 5   !important;
    height: auto !important;
    min-height: unset !important;
    max-height: none !important;
  }

  #best-offers-2-slider .card-slide-data {
    width: 100% !important;
    height: 100% !important;
  }

  #best-offers-2-slider img.card-slide {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
  }

}


/* =====================================================
   1) صفحات المحتوى / من نحن
===================================================== */

.content-entry {
  max-width: 950px !important;
  margin: 0 auto !important;
  line-height: 1.8 !important;
  background: #fff !important;
}

.content-entry h1 {
  font-size: 1.6rem !important;
  line-height: 2 !important;
  color: #1a1a1a !important;
  margin-bottom: 30px !important;
  text-align: center !important;
  font-weight: normal !important;
}

.content-entry h2 {
  font-size: 1.5rem !important;
  color: #800020 !important;
  margin-top: 40px !important;
  margin-bottom: 20px !important;
  font-weight: bold !important;
  border-bottom: 1px solid #eee !important;
  padding-bottom: 10px !important;
}

.content-entry h3 {
  font-size: 1.1rem !important;
  color: #444 !important;
  margin-bottom: 15px !important;
  padding-right: 15px !important;
  border-right: 3px solid #800020 !important;
  line-height: 1.6 !important;
  font-weight: 500 !important;
}

.content-entry p {
  font-size: 1.1rem !important;
  color: #666 !important;
  margin-bottom: 15px !important;
}

.content-entry br {
  display: block !important;
  content: "" !important;
  margin-top: 10px !important;
}

.content-entry ol,
.content-entry ul {
  padding-right: 40px !important;
  margin-bottom: 20px !important;
}

.content-entry li {
  font-size: 1.1rem !important;
  color: #555 !important;
  margin-bottom: 12px !important;
  list-style-position: outside !important;
}

.content-entry ol {
  list-style-type: decimal !important;
}



/* =====================================================
   الشريط السفلي (معطل مؤقتًا)
   كان يظهر فقط في الرئيسية وعلى الجوال
===================================================== */

/*

.store-bottom-nav {
  display: none !important;
}

@media (max-width: 767px) {

  body.index .store-bottom-nav,
  body.home .store-bottom-nav,
  body.salla-home .store-bottom-nav {

    display: block !important;
  }
}

@media (min-width: 768px) {

  .store-bottom-nav {
    display: none !important;
  }
}

*/

/* =====================================================
   3) إخفاء عناصر غير مرغوبة
===================================================== */

/* إخفاء زر Apple Pay */
apple-pay-button,
.s-quick-buy-apple-pay {
  display: none !important;
}

/* إخفاء زر دليل القياسات الأصلي */
div[onclick*="size-guide::open"] {
  display: none !important;
}

/* إخفاء الحقول الأصلية بعد تحويلها بالـ JS */
.accordion-content-all {
  display: none !important;
}



/* =====================================================
   4) جدول القياسات
===================================================== */

.mz-size-guide {
  direction: rtl;
  margin: 22px 0;
}

.mz-size-guide::before {
  content: "دليل القياسات";
  display: block;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #111;
}

.mz-size-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.mz-size-tabs span {
  flex: 1;
  text-align: center;
  padding: 11px;
  border-radius: 12px;
  background: #f5f5f5;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.25s ease;
}

.mz-size-tabs span.active {
  background: #111;
  color: #fff;
}

.mz-size-table {
  display: none !important;
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
}

.mz-size-table.active {
  display: table !important;
}

.mz-size-table th {
  background: #111;
  color: #fff;
  padding: 14px;
  font-size: 13px;
  font-weight: 700;
}

.mz-size-table td {
  text-align: center;
  padding: 14px;
  border-bottom: 1px solid #eee;
  font-size: 13px;
  color: #111;
}

.mz-size-table tbody tr:nth-child(even) {
  background: #fafafa;
}

.mz-size-table tbody tr:last-child td {
  border-bottom: none;
}


/* زر المقاس داخل جدول القياسات */

.mz-size-select {
  min-width: 42px;
  height: 30px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  color: #111;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.22s ease;
}

.mz-size-select:hover {
  border-color: #111;
}

.mz-size-select.active {
  background: #111;
  color: #fff;
  border-color: #111;
}
/* =====================================================
   5) الوصف / المواصفات الاحترافية
===================================================== */

.mz-desc-wrap {
  margin: 18px 0;
  direction: rtl;
}

.mz-desc-head {
  background: #f3f3f3;
  padding: 13px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 13px;
  color: #333;
  user-select: none;
}

.mz-toggle {
  font-size: 18px;
  line-height: 1;
  transition: 0.2s ease;
}

.mz-desc-body {
  display: none;
  padding: 14px 4px 0;
}

.mz-row {
  padding: 6px 0;
  line-height: 2;
  font-size: 13px;
}

.mz-label {
  color: #777;
}

.mz-value {
  color: #111;
}



/* =====================================================
   6) تحسينات الجوال
===================================================== */

@media (max-width: 768px) {

  .mz-size-table th,
  .mz-size-table td {
    padding: 12px 8px;
    font-size: 12px;
  }

  .mz-size-tabs span {
    padding: 10px;
    font-size: 12px;
  }

  .content-entry h1 {
    font-size: 1.35rem !important;
  }

  .content-entry h2 {
    font-size: 1.25rem !important;
  }

  .content-entry p,
  .content-entry li {
    font-size: 1rem !important;
  }

}

/* =====================================================
   7) تنسيق معلومات المنتج تحت الصور
===================================================== */

.mz-top-info{
  display:flex !important;
  justify-content:space-between !important;
  align-items:flex-start !important;
  gap:10px !important;
  direction:rtl !important;
  padding:10px 8px 6px !important;
  background:transparent !important;
}

.mz-top-info-right{
  flex:1 !important;
  min-width:0 !important;
  text-align:right !important;
}

.mz-top-info-left{
  flex:0 0 auto !important;
  text-align:left !important;
  padding-top:4px !important;
}

.mz-top-info .product-title{
  font-size:18px !important;
  line-height:1.35 !important;
  font-weight:700 !important;
  margin:0 0 5px !important;
  color:#111 !important;
  text-align:right !important;
  max-width:220px !important;
}

.mz-top-info .total-price-single{
  display:block !important;
  font-size:18px !important;
  line-height:1.2 !important;
  font-weight:700 !important;
  margin:0 !important;
  color:#111 !important;
  white-space:nowrap !important;
  text-align:left !important;
}

.mz-top-info .product-sku{
  margin-top:2px !important;
  text-align:right !important;
  direction:ltr !important;
  display:inline-flex !important;
  width:auto !important;
  align-items:center !important;
}

.mz-sku-code{
  font-size:10px !important;
  color:#a3a3a3 !important;
  font-weight:400 !important;
  letter-spacing:.3px !important;
  opacity:.9 !important;
  line-height:1.2 !important;
}

/* ================= */
/* =====================================================
   USER ICON STYLE
===================================================== */

/* إزالة الخلفية والدائرة */

#header .s-user-menu-avatar-wrap,
#stickymain .s-user-menu-avatar-wrap{
  background:transparent !important;
  border:none !important;
  box-shadow:none !important;
  width:24px !important;
  height:24px !important;
  border-radius:0 !important;
  overflow:visible !important;

  /* SVG اليوزر */

  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 12C14.2091 12 16 10.2091 16 8C16 5.79086 14.2091 4 12 4C9.79086 4 8 5.79086 8 8C8 10.2091 9.79086 12 12 12Z' stroke='%23424242' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M20 21C20 17.6863 16.4183 15 12 15C7.58172 15 4 17.6863 4 21' stroke='%23424242' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;

  background-repeat:no-repeat !important;
  background-position:center !important;
  background-size:21px !important;
  color: white;
}

/* إخفاء صورة اليوزر الأصلية */

#header .s-user-menu-trigger-avatar,
#stickymain .s-user-menu-trigger-avatar,
#header .s-user-menu-trigger-content,
#header .s-user-menu-trigger-icon,
#stickymain .s-user-menu-trigger-content,
#stickymain .s-user-menu-trigger-icon{
  display:none !important;
}


/* Search tool */

.mz-mobile-search-box input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 16px; /* غيّر الرقم هنا من 13 إلى 16 */
    color: #333;
}


/* توحيد حجم شعار الهيدر الأساسي والستكي */

#header .min-logo img,
#header .min-logo .lazy__bg,
#stickymain .min-logo img,
#stickymain .min-logo .lazy__bg{
  width:96px !important;
  height:42px !important;
  object-fit:contain !important;
  background-size:contain !important;
  background-position:center !important;
  background-repeat:no-repeat !important;
}

/* =====================================================
   iPad Custom Hero Image
===================================================== */

@media (min-width:768px) and (max-width:1024px){

  #home-slider-0 picture img{

    content:url("https://cdn.files.salla.network/homepage/179146074/f8a513a1-af59-4fe4-9298-0e889152b086.webp");

    width:100% !important;
    height:100% !important;

    object-fit:cover !important;

    object-position:center center !important;

    display:block !important;
  }

  #home-slider-0{
    height:82vh !important;
  }

}

/* =====================================================
   Search Box Style 
===================================================== */

.mz-mobile-search-box{

  background:#f3f1ef !important;

  border-radius:10px !important;

  height:46px !important;

  padding-inline:14px !important;

  border:none !important;

  box-shadow:none !important;
}

/* الانبوت */

.mz-mobile-search-box input{

  font-size:13px !important;

  color:#444 !important;

  font-weight:400 !important;
}

/* placeholder */

.mz-mobile-search-box input::placeholder{

  color:#8b8b8b !important;
}

/* الأيقونات */

.mz-search-trigger svg{

  width:17px !important;
  height:17px !important;

  opacity:.75 !important;
}

/* =====================================================
   MZIONA SAJI PRODUCTS SLIDER FINAL
   تطبيق شكل مزيونة على سكشن ساجي الأصلي
===================================================== */

/* إخفاء السكشن المخصص القديم لو موجود */
#mziona-featured-products{
  display:none !important;
}

/* السكشن الأساسي */
#best-offers-2-slider{
  direction:rtl !important;
  margin:0 !important;
  padding:30px 10px !important;
  background:#fff !important;
  overflow:hidden !important;
}

/* الكونتينر */
#best-offers-2-slider .container{
  max-width:100% !important;
  width:100% !important;
  padding:0 !important;
  margin:0 !important;
}

/* إخفاء عنوان ساجي الأصلي والخط والدائرة */
#best-offers-2-slider .saji-block-titles,
#best-offers-2-slider .saji-main-title,
#best-offers-2-slider .saji-enhanced-line,
#best-offers-2-slider .saji-enhanced-line::before,
#best-offers-2-slider .saji-enhanced-line::after{
  display:none !important;
  opacity:0 !important;
  visibility:hidden !important;
  height:0 !important;
  margin:0 !important;
  padding:0 !important;
}

/* رأس السلايدر الجديد */
#best-offers-2-slider .s-slider-block__title{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  flex-direction:row !important;

  position:relative !important;

  width:100% !important;

  margin:0 0 16px !important;
  padding:0 !important;

  min-height:0 !important;

  direction:rtl !important;
  text-align:initial !important;

  z-index:50 !important;

  transform:none !important;

  top:auto !important;
  bottom:auto !important;
  left:auto !important;
  right:auto !important;
}

/* العنوان الجديد */
#best-offers-2-slider .mz-saji-title{
  margin:0 !important;
  padding:0 !important;

  font-size:24px !important;
  font-weight:800 !important;
  line-height:1.2 !important;

  color:#111 !important;

  text-align:right !important;

  order:1 !important;
}

/* جهة عرض الكل */
#best-offers-2-slider .s-slider-block__title-left{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;

  position:static !important;

  width:auto !important;

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

  order:2 !important;
}

/* رابط عرض الكل */
#best-offers-2-slider .s-slider-block__display-all{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;

  font-size:13px !important;
  font-weight:400 !important;

  color:#666 !important;
  text-decoration:none !important;

  background:transparent !important;
  border:none !important;

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

  white-space:nowrap !important;
}

/* السلايدر */
#best-offers-2-slider .s-slider-container{
  overflow:hidden !important;
  width:100% !important;
}

#best-offers-2-slider .s-slider-swiper-wrapper{
  align-items:stretch !important;
}

#best-offers-2-slider .s-products-slider-card{
  height:auto !important;
  padding:0 4px !important;
}

/* الكرت */
#best-offers-2-slider custom-salla-product-card{
  border:none !important;
  box-shadow:none !important;
  background:transparent !important;
  overflow:visible !important;
}

#best-offers-2-slider custom-salla-product-card:hover{
  box-shadow:none !important;
}

/* الصورة */
#best-offers-2-slider .product-entry__image{
  aspect-ratio:3 / 4.25 !important;

  border-radius:3px !important;
  overflow:hidden !important;

  background:#fff !important;

  position:relative !important;
}

#best-offers-2-slider .product-entry__image img{
  width:100% !important;
  height:100% !important;

  object-fit:cover !important;

  display:block !important;

  transition:transform .4s ease !important;
}

#best-offers-2-slider custom-salla-product-card:hover .product-entry__image img{
  transform:scale(1.02) !important;
}

/* المحتوى */
#best-offers-2-slider form.content-wrap,
#best-offers-2-slider .content-wrap{
  padding:0 !important;

  background:transparent !important;
  background-color:transparent !important;
}

/* إزالة البادينق الداخلي الزائد */
#best-offers-2-slider .content-wrap.p-3,
#best-offers-2-slider .donating-wrap.p-3{
  padding:0 !important;
}

/* محتوى المنتج */
#best-offers-2-slider .product-entry__content{
  gap:4px !important;

  padding:4px 2px 0 !important;

  justify-content:flex-start !important;
}

/* اسم المنتج */
#best-offers-2-slider .product-entry__title{
  font-size:12px !important;
  line-height:1.35 !important;

  color:#111 !important;

  font-weight:400 !important;

  text-align:center !important;

  display:-webkit-box !important;
  -webkit-line-clamp:2 !important;
  -webkit-box-orient:vertical !important;

  overflow:hidden !important;

  min-height:32px !important;
}

/* السعر */
#best-offers-2-slider .price-wrapper,
#best-offers-2-slider .total-price{
  display:flex !important;
  justify-content:center !important;
  align-items:center !important;

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

#best-offers-2-slider .total-price{
  font-size:14px !important;
  font-weight:700 !important;

  color:#111 !important;
}

/* تم الشراء */
#best-offers-2-slider .switch-display-area{
  display:block !important;
  height:20px !important;
}

#best-offers-2-slider .promo-rotator{
  height:20px !important;
}

#best-offers-2-slider .promo-rotator small{
  font-size:10px !important;
  color:#111 !important;
}

/* زر السلة */
#best-offers-2-slider .product_addCart_mob{
  position:static !important;

  height:30px !important;

  margin-top:4px !important;

  opacity:1 !important;

  overflow:visible !important;
}

#best-offers-2-slider .product_addCart_mob button{
  height:30px !important;
  min-height:30px !important;

  border:none !important;
  border-radius:0 !important;

  background:rgba(255,255,255,.92) !important;

  color:#111 !important;

  font-size:12px !important;

  transition:.25s ease !important;
}

#best-offers-2-slider .product_addCart_mob button:hover{
  background:#111 !important;
  color:#fff !important;
}

/* الأسهم فوق الصور */
#best-offers-2-slider .s-slider-block__title-nav{
  position:absolute !important;

  left:0 !important;
  right:0 !important;

  top:210px !important;

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

  width:100% !important;

  padding:0 4px !important;

  pointer-events:none !important;

  z-index:80 !important;
}

#best-offers-2-slider .s-slider-nav-arrow{
  width:30px !important;
  height:30px !important;
  min-width:30px !important;

  border:none !important;
  border-radius:50% !important;

  background:rgba(255,255,255,.78) !important;

  color:#111 !important;

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

  pointer-events:auto !important;

  box-shadow:0 1px 6px rgba(0,0,0,.08) !important;

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

  transition:
    transform .22s ease,
    background .22s ease,
    opacity .22s ease !important;
}

#best-offers-2-slider .s-slider-nav-arrow:hover{
  transform:scale(1.08) !important;
  background:#fff !important;
}

#best-offers-2-slider .s-slider-nav-arrow:active{
  transform:scale(.94) !important;
}

#best-offers-2-slider .s-slider-nav-arrow svg{
  width:20px !important;
  height:20px !important;
}

#best-offers-2-slider .s-slider-nav-arrow path{
  fill:#111 !important;
}

/* محرر سلة */
#best-offers-2-slider .s-design-before,
#best-offers-2-slider .s-design-after{
  pointer-events:none !important;
}

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

  #best-offers-2-slider .mz-saji-title{
    font-size:30px !important;
  }

  #best-offers-2-slider .s-slider-block__title-nav{
    top:260px !important;
  }
}
/* Fix black add-to-cart after layer */

#best-offers-2-slider{
  --product-btns-bg:rgba(255,255,255,.92) !important;
  --product-btns-color:#111 !important;
}

#best-offers-2-slider .btn--add-to-cart::after{
  display:none !important;
  content:none !important;
}

#best-offers-2-slider .product_addCart_mob button{
  background:rgba(255,255,255,.92) !important;
  color:#111 !important;
}