@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;700;800&display=swap");
@import url("https://site-assets.fontawesome.com/releases/v6.4.2/css/all.css");

body *:not(i) {
  font-family: "Cairo", sans-serif;
}

body {
  background-color: #fff !important;
}

/* ========================================= */
/* --- 1. إخفاء الشريط العلوي (الحساب والعملة) --- */
/* ========================================= */
.account-lang-currency.upper-bar {
    display: none !important;
}

/* ========================================= */
/* --- 2. تصغير حجم الناف بار الرئيسي --- */
/* ========================================= */

/* تقليل الحشوات (Padding) العلوية والسفلية للناف بار */
.search-header {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}

/* تحديد ارتفاع أصغر للناف بار نفسه */
.search-header-bar {
    min-height: 70px !important; /* كان يأخذ مساحة أكبر افتراضياً */
}

/* تصغير اللوجو قليلاً ليتناسب مع الناف بار النحيف الجديد (ديسكتوب) */
.image-logo {
    max-height: 65px !important; /* قللناه من 85 إلى 65 ليكون أنيقاً */
}

/* --- تعديلات تصغير الناف بار للموبايل --- */
@media (max-width: 768px) {
    .search-header {
        padding-top: 5px !important;
        padding-bottom: 5px !important;
    }
    
    .search-header-bar {
        min-height: 55px !important;
    }

    /* تصغير اللوجو في الموبايل ليتناسب مع المساحة */
    .image-logo {
        max-height: 50px !important;
    }
    
    /* تصغير شريط البحث في الموبايل (إذا كان يظهر) */
    .sm-search-icon {
        width: 35px !important;
        height: 35px !important;
    }
}
.footer-copyrights{
  display: none !important;
}

.whatsapp-checkout-btn{
  display:block;
  width:100%;
  margin-top:20px;
  padding:14px;
  text-align:center;
  background:#25D366;
  color:#fff;
  font-weight:600;
  border-radius:10px;
  text-decoration:none;
  font-size:15px;
  transition:all .3s ease;
  box-shadow:0 6px 16px rgba(0,0,0,.15);
}

.whatsapp-checkout-btn:hover{
  background:#1ebe5d;
  transform:translateY(-2px);
  box-shadow:0 10px 22px rgba(0,0,0,.2);
}

.header-theme-bg-primary {
  background-color: #fff;
  border-bottom: 1px solid#d6bc87;
}

.sticky .header-theme-bg-primary {
  border-radius: 0 0 50px 50px;
}

.search-input-input {
  border: 1px solid#d6bc87;
  border-radius: 15px;
}

nav#sliding-menu {
  background: #ce7a89;
}
.slide-menu ul {
  background: #ce7a89;
  color: white;
}
.upper-bar * {
  color: white;
  border-color: white !important;
}

/* ========================================= */
/* --- تنسيق السلة والسعر (تم حل المسافة) --- */
/* ========================================= */

.header-cart {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important; /* تجميع العناصر في المنتصف أو اليمين */
  gap: 12px !important; /* <<-- هذه هي المسافة بين السعر والسلة (يمكنك تكبيرها أو تصغيرها) */
}

h3.cart-header-total {
  color: #ce7a89;
  margin: 0 !important; /* إزالة الهوامش الافتراضية التي تبعد السعر */
  display: flex;
  align-items: center;
  gap: 5px;
}

.a-shopping-cart {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  padding: 5px;
}

/* إخفاء الأيقونة القديمة */
.icon-shopping_cart_black_36dp-1-1::before,
.icon-shopping_cart_black_36dp-1-1 .path1,
.icon-shopping_cart_black_36dp-1-1 .path2,
.icon-shopping_cart_black_36dp-1-1 .path1::before,
.icon-shopping_cart_black_36dp-1-1 .path2::before {
  display: none !important;
  content: none !important;
}

/* رسم الـ SVG كخلفية مباشرة */
.icon-shopping_cart_black_36dp-1-1 {
  display: inline-block !important;
  width: 28px !important;
  height: 28px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ce7a89' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'%3E%3C/circle%3E%3Ccircle cx='20' cy='21' r='1'%3E%3C/circle%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6'%3E%3C/path%3E%3C/svg%3E") !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}

.cart-badge {
  position: absolute !important;
  top: -5px !important;
  right: -5px !important;
  background-color: #ce7a89 !important;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: bold !important;
  min-width: 18px !important;
  height: 18px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 2px solid #fff !important;
  z-index: 2;
}

/* ========================================= */

@media (min-width: 767px) {
  /* تم فصل اللوجو عن السلة لتجنب مشكلة المسافات */
  .header-logo {
    order: 2 !important;
    width: 33.3%;
    justify-content: space-around !important;
  }
  .header-cart {
    order: 2 !important;
    width: 33.3%;
    justify-content: flex-end !important; /* تثبيت السلة ناحية اليمين */
    padding-right: 15px !important;
  }
  
}

.dark.d-none.d-lg-block {
  background: #ce7a89;
}

ul.main-nav > li > a {
  color: #fff !important;
}

.container.container-slider {
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}
.main-slider {
  box-sizing: content-box;
  width: 100%;
  overflow-y: hidden;
  max-height: 945px !important;
}
.slick-dotted.slick-slider {
  margin-bottom: 0px;
  max-height: 945px;
}
.slick-slide img {
  object-fit: fill !important;
}
.prod-col {
  padding-top: 5px;
  padding-bottom: 5px;
}

.product-item {
  box-shadow: 0 1px 3px #ddd;
  background-color: white;
  border-radius: 15px;
  overflow: hidden !important;
}

.product-item * {
  text-align: center;
}

.product-crd-spec {
  min-height: 50px !important;
}

.product-card-add-to-cart {
  padding: 7px 35px;
  background-color: #ce7a89 !important;
  color: white !important;
  font-size: 14px;
  border: 0;
  display: flex;
  justify-content: center;
  width: 65%;
  margin-right: auto;
  border-radius: 0 15px 0 0;
  position: relative;
}

.product-card-add-to-cart:before {
  position: absolute;
  content: "\f00e ";
  font-family: fontawesome;
  color: #ce7a89;
  font-size: 17px;
  display: inline-block;
  right: -50px;
  transform: translateX(-50%);
}
a.btn.btn-primary.btn-product-card-select-variant {
  padding: 7px 35px;
  background-color: #ce7a89 !important;
  color: white !important;
  font-size: 14px;
  border: 0;
  display: flex;
  justify-content: center;
  width: 65%;
  margin-right: auto;
  border-radius: 0 15px 0 0;
  position: relative;
}
a.btn.btn-primary.btn-product-card-select-variant:before {
  position: absolute;
  content: "\f00e ";
  font-family: fontawesome;
  color: #ce7a89;
  font-size: 17px;
  display: inline-block;
  right: -50px;
  transform: translateX(-50%);
}

.product-item small {
  display: none;
}
.product-item .product-price,
.slick-next.slick-arrow > span,
.slick-prev.slick-arrow > span {
  color: #ce7a89 !important;
}
.col-product-info img {
    display: none;
}
h2.section-title {
  margin-bottom: 2rem;
  position: relative;
  display: table;
  color: #ce7a89 !important;
  background-color: #fff;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

h2.section-title:before {
  content: "";
  width: 350px;
  height: 2px;
  background-color: #ce7a89;
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

a.more-button {
  background: #ce7a89;
  color: #fff;
  border: 0;
  box-shadow: 0 1px 3px #ddd;
  border-radius: 50px;
}

.features-section {
  background: transparent;
  justify-content: space-evenly !important;
}

.features-section-img {
  background: transparent !important;
}

.features-section p {
  color: #ce7a89;
  font-size: 16px;
  font-weight: bold;
}

.footer-store-section {
  background: #ce7a89;
  color: #fff;
}

.features-section-img {
  max-height: 200px !important;
  max-width: 200px !important;
}
.partners-slider-wrapper .slick-slide img {
  display: block;
  background: #ce7a89;
  border-radius: 20px;
  padding: 19px;
  max-width: 139px !important;
  max-height: 150px !important;
}

.slick-list .prod-col.slick-slide {
  transition: 0.3s;
}
.slick-list .prod-col.slick-slide:hover {
  transform: scale(1.03);
}
.store-section a {
  color: white !important;
}

.store-section .social-icons span {
  color: white !important;
  border: 2px solid #ffffff !important;
}

div#\32 6817880-f288-4407-b162-588418f04b19 .gallery.row {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr))!important;
    align-items: baseline;
}

.gallery.row .gallery-item {
    max-width: 100% !important;
}

.gallery.row .gallery-item .box-1-1 {
    height: 250px !important;
    width:190px;
}

button.loyalty_footer_btn {
    display: none !important;
}

.riyal-svg {
  color: #ce7a89 !important;
}

.sm-search-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #f7f7f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ce7a89 !important;
  transition: all 0.3s ease;
}

.sm-search-icon:hover {
  background: #fdf5f6;
}

/* ========================================= */
/* --- تعديلات الموبايل --- */
/* ========================================= */

@media (max-width: 768px) {
  .partners-slider .partners-item {
    vertical-align: middle;
    background: #ce7a89;
    padding: 7px;
    border-radius: 15px;
  }
  
  .header-theme-bg-primary * {
    color: #ce7a89;
  }

  /* ========================================= */
/* --- تحسين شكل اللوجو (ديسكتوب وموبايل) --- */
/* ========================================= */

/* ضبط حاوية اللوجو لتكون متناسقة */
.header-logo {
  display: flex !important;
  align-items: center !important;
}

/* إلغاء أي ارتفاعات مبالغ فيها من الرابط */
.header-logo a {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  height: auto !important; 
  padding: 5px 0 !important;
}

/* التنسيق الاحترافي لصورة اللوجو */
.image-logo {
  height: auto !important;
  max-height: 85px !important; /* حجم ممتاز للوجو على الكمبيوتر */
  width: auto !important;
  object-fit: contain !important; /* الحفاظ على أبعاد الصورة بدون تمطيط */
  transition: transform 0.3s ease; /* تأثير حركة ناعم */
}

/* تأثير بسيط وجميل عند تمرير الماوس على اللوجو */
.image-logo:hover {
  transform: scale(1.05);
}

/* ========================================= */
/* --- تعديلات اللوجو المخصصة للموبايل --- */
/* ========================================= */

@media (max-width: 768px) {
  .header-logo {
    flex-grow: 1 !important; /* لجعل اللوجو يأخذ المساحة المتبقية */
    justify-content: flex-start !important;
    gap: 15px !important; /* مسافة بين اللوجو وزر القائمة الجانبية */
  }

  .image-logo {
    max-height: 60px !important; /* تصغير اللوجو قليلاً في الجوال ليكون أنيقاً */
    margin: 0 !important;
    position: static !important; /* إلغاء أي تموضع غريب سابق */
    transform: none !important;
  }
  
  /* تنسيق زر القائمة الجانبية (الهامبرغر) بلون هويتك */
  .icon-menu_open_black_24dp-1::before {
    color: #ce7a89 !important;
    font-size: 28px !important;
  }
}

  .product-item {
    width: 180px !important;
  }

  .footer-store-section * {
    text-align: center;
    justify-content: center;
  }
  
  button.whatsapp-button {
    right: 75% !important;
    bottom: 10% !important;
  }

  .header-cart {
    background: #ffffff !important;
    border: 1px solid #e9e9ee !important;
    border-radius: 14px !important;
    padding: 8px 10px !important;
    gap: 8px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.3s ease;
  }

  .header-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08) !important;
  }

  .header-cart a {
    text-decoration: none;
  }

  .cart-header-total {
    margin: 0 !important;
    font-size: 15px;
    font-weight: 700;
    color: #ce7a89; 
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1;
  }

  .a-shopping-cart {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: transparent !important;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: none !important;
  }

  .cart-badge {
    position: absolute !important;
    top: -4px !important;
    right: -4px !important;
    min-width: 20px !important;
    height: 20px !important;
    padding: 0 4px !important;
    border-radius: 50px !important;
    background: #ce7a89 !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 2px solid #fff !important;
  }
}

@media (max-width:767px){
    div#\32 6817880-f288-4407-b162-588418f04b19 .gallery.row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr))!important;
    align-items: baseline;
}
    .gallery.row .gallery-item .box-1-1 {
    height: 130px !important;
    width:100%;
}
  p.MuiTypography-root.MuiTypography-body2.css-fh93i6 {
  color: transparent;
  position: relative;
}

p.MuiTypography-root.MuiTypography-body2.css-fh93i6::after {
  content: "بنفس اليوم";
  color: black;
  position: absolute;
  left: 0;
  top: 0;
}
} /* تم وضع قوس الإغلاق هنا لكي لا يتسبب في تعطل باقي التنسيقات أدناه */

  /* ========================================= */
/* --- 1. إخفاء الشريط العلوي بالكامل --- */
/* ========================================= */
.account-lang-currency.upper-bar {
    display: none !important;
}

/* ========================================= */
/* --- 2. تصغير ارتفاع الناف بار الرئيسي --- */
/* ========================================= */
.search-header {
    padding-top: 2px !important; /* تقليل الفراغ العلوي */
    padding-bottom: 2px !important; /* تقليل الفراغ السفلي */
    min-height: 70px !important; 
    display: flex;
    align-items: center;
}

/* ========================================= */
/* --- 3. تقسيم الناف بار وتوسيط اللوجو --- */
/* ========================================= */
@media (min-width: 992px) { /* للكمبيوتر والشاشات الكبيرة */
    .search-header-bar {
        display: flex !important;
        width: 100% !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
    
    /* مربع البحث (اليمين) */
    .search-input.lg-search-div {
        flex: 1 1 33.33% !important;
        max-width: 33.33% !important;
        order: 1 !important; 
        padding: 0 !important;
    }
    
    /* مربع اللوجو (المنتصف تماماً) */
    .header-logo {
        flex: 1 1 33.33% !important;
        max-width: 33.33% !important;
        order: 2 !important; 
        justify-content: center !important; /* توسيط محتوى المربع */
    }
    
    /* مربع السلة والسعر (اليسار) */
    .header-cart {
        flex: 1 1 33.33% !important;
        max-width: 33.33% !important;
        order: 3 !important; 
        justify-content: flex-end !important; /* دفع السلة لأقصى اليسار */
    }
}

/* ========================================= */
/* --- 4. تكبير اللوجو بذكاء (بدون زيادة الشريط) --- */
/* ========================================= */
.header-logo a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
}

.image-logo {
    max-height: 65px !important; /* الارتفاع الفعلي لعدم دفع الناف بار */
    /* هنا السحر: نكبر اللوجو بنسبة 60% إضافية بصرياً */
    transform: scale(1.6) !important; 
    object-fit: contain !important;
    transition: transform 0.3s ease;
}

/* تأثير نبض خفيف عند وضع الماوس على اللوجو */
.image-logo:hover {
    transform: scale(1.65) !important; 
}

/* --- تعديلات اللوجو للموبايل --- */
@media (max-width: 991px) {
    .image-logo {
        max-height: 50px !important;
        transform: scale(1.3) !important; /* تكبير هادئ في الموبايل حتى لا يغطي الأزرار */
    }
    .header-logo {
        justify-content: flex-start !important;
    }
}