/* الكارت */
.slide--cat-entry {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  border-radius: 16px;
}

/* حجم الكارت */


.slide--cat-entry {
  width: 180px !important;
  height: 123px !important;
}

.s-slider-container .swiper-slide {
  margin-left: 30px !important;
}

/* إخفاء اسم التصنيف الخارجي */
.slide--cat-entry h2 {
  display: none !important;
}

/* الصورة */
.slide--cat-entry img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;

  object-fit: contain; /* 👈 بدل cover */

  background: #fff; /* عشان الفراغات */
  padding: 0;

  border-radius: 16px !important;
}

/* النص */
.slide--cat-entry h2 {
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 10px;

  background: rgba(33,115,70,0.9);
  box-shadow: 0 6px 20px rgba(33,115,70,0.35);

  backdrop-filter: blur(2px);
}

/* توسيط عنوان السلايدر */
.s-slider-block__title {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

/* إلغاء تقسيم يمين/شمال */
.s-slider-block__title-right,
.s-slider-block__title-left {
  width: auto !important;
}

/* توسيط النص */
.s-slider-block__title-right h2 {
  text-align: center !important;
  width: 100%;
}

/* =========================
   إخفاء أيقونات سلة الأصلية
========================= */
.s-user-menu-login-btn svg,
.s-cart-summary-icon svg,
.header-btn__icon {
  display: none !important;
}

/* =========================
   زر الحساب
========================= */
.s-user-menu-login-btn {
  position: relative;
  width: 42px;
  height: 42px;

  border: 1px solid #E5E7EB;
  border-radius: 50%;

  background: #fff;

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

  transition: 0.3s ease;
}

/* أيقونة الحساب الجديدة */
.s-user-menu-login-btn::before {
  content: "";

  width: 22px;
  height: 22px;

  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%230F172A' stroke-width='1.8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M15.75 6.75a3.75 3.75 0 11-7.5 0 3.75 3.75 0 017.5 0zM4.5 20.118a7.5 7.5 0 0115 0A17.933 17.933 0 0112 21.75a17.933 17.933 0 01-7.5-1.632z' /%3E%3C/svg%3E");

  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  display: block;
}

/* =========================
   زر السلة
========================= */
.s-cart-summary-wrapper {
  position: relative;

  width: 42px;
  height: 42px;

  border: 1px solid #E5E7EB;
  border-radius: 50%;

  background: #fff;

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

  transition: 0.3s ease;
}

/* أيقونة السلة الجديدة */
.s-cart-summary-wrapper::before {
  content: "";

  width: 21px;
  height: 21px;

  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%230F172A' stroke-width='1.8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M2.25 3h1.386a1.5 1.5 0 011.415 1.026L5.7 6m0 0L7.5 13.5h8.25l2.1-6.75H5.7zm1.8 10.5a1.125 1.125 0 100 2.25 1.125 1.125 0 000-2.25zm9 0a1.125 1.125 0 100 2.25 1.125 1.125 0 000-2.25z' /%3E%3C/svg%3E");

  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  display: block;
}

/* =========================
   إخفاء النصوص القديمة
========================= */
.s-cart-summary-content {
  display: none !important;
}

/* =========================
   Hover احترافي
========================= */
.s-user-menu-login-btn:hover,
.s-cart-summary-wrapper:hover {
  background: #F8FAFC;
  border-color: #CBD5E1;
}

/* =========================
   تعديل رقم السلة
========================= */
.s-cart-summary-count {
  top: -5px !important;
  right: -5px !important;

  background: #991B1B !important;

  width: 18px;
  height: 18px;

  font-size: 11px;
  font-weight: 700;
}