/* Add custom CSS styles below */ 
/* ===============================
   متغيرات الألوان والهوية
================================ */
:root {
  --color-primary: #C9A24D;
  --color-primary-dark: #A8842F;
  --color-primary-light: #E6C76A;
  --color-primary-reverse: #C9A24D;

  --color-bg-dark: #241A4A;
  --color-bg-mid: #2B1E5A;
  --color-accent: #2EC4C9;

  --logo: url(https://ibb.co/Xk3NgmSn);
}

/* ===============================
   تسوق حسب الأقسام (Menu Scroll)
================================ */
.quick-menu-icons-wrapper {
  padding: 20px 10px;
  text-align: center;
}

.quick-menu-title {
  position: relative; 
  display: inline-block;
  font-size: 26px;
  font-weight: bold;
  text-align: center;
  color: #333;
  margin-bottom: 10px;
}

/* خط تحت العنوان */
.quick-menu-title::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 1.5cm;
  transform: translateX(-50%);
  width: 300px;
  height: 2px;
  background-color: #333;
}

/* الدائرة في منتصف الخط */
.quick-menu-title::before {
  content: "";
  width: 12px;
  height: 12px;
  background-color: #333;
  border-radius: 50%;
  position: absolute;
  left: 50%;
  top: calc(58px - 6px);
  transform: translateX(-50%);
}

.menu-scroll {
  display: flex;
  gap: 3px;
  overflow-x: auto;
  padding: 0 10px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin-top: 1cm;
}

.menu-scroll::-webkit-scrollbar {
  display: none;
}

.menu-item {
  flex: 0 0 auto;
  width: 110px;
  height: 150px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 10px;
  box-sizing: border-box;
}

.menu-item img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid #ddd;
  object-fit: cover;
  margin-bottom: 8px;
  transition: transform 0.3s ease;
  display: block;
}

.menu-item:hover img {
  transform: scale(1.2);
}

.menu-item span {
  font-size: 14px;
  font-weight: bold;
  color: #000;
  text-align: center;
  line-height: 1.2;
  word-wrap: break-word;
  display: block;
}

/* ===============================
   بطاقات المنتجات
================================ */
.home-page .s-product-card-vertical {
  width: calc(33.333% - 12px) !important;
  max-width: calc(33.333% - 12px) !important;
  flex: 0 0 calc(33.333% - 12px) !important;
  height: 100% !important;
  padding: 2px !important;
  margin: 2px !important;
  box-sizing: border-box !important;
}

.collection-page .s-product-card-vertical {
  width: calc(50% - 12px) !important;
  max-width: calc(50% - 12px) !important;
  flex: 0 0 calc(50% - 12px) !important;
  height: 100% !important;
  padding: 2px !important;
  margin: 2px !important;
  box-sizing: border-box !important;
}

.slick-slide > .s-product-card-vertical,
.swiper-slide > .s-product-card-vertical {
  margin: 3px !important;
}

.s-product-card-vertical img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.s-product-card-vertical img:hover {
  transform: scale(1.03);
}

.s-product-card-vertical h3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  line-height: 1.2em;
  max-height: 2.4em;
}

.s-product-card-content-subtitle {
  display: none !important;
}

/* زر أضف للسلة */
.s-product-card-vertical {
  position: relative !important;
  padding-bottom: 0 !important;
}

.s-product-card-content {
  padding-bottom: 10px !important;
}

.s-product-card-vertical .s-button-wide {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 30px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  border-radius: 0 !important;
  background: linear-gradient(to right, var(--color-primary-dark), var(--color-primary));
}

/* شارة الخصم */
.discount-badge {
  position: absolute;
  bottom: 0;
  left: 93%;
  transform: translateX(-50%);
  background: red;
  color: white;
  font-weight: bold;
  padding: 1px 1px;
  border-radius: 4px;
  font-size: 12px;
  z-index: 10;
}

/* ===============================
   فوتر
================================ */
footer.store-footer {
  padding: 40px 0 120px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.s-contacts-title {
  color: #A8842F;
  text-align: center;
}

.s-social-list {
  display: flex;
  justify-content: center;
  gap: 15px;
  padding: 0;
  margin: 20px 0;
}

.s-social-icon, .s-contacts-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin: 0 auto;
}

footer h1, footer h2, footer h3, footer h4, footer h5, footer h6 {
  color: var(--color-primary) !important;
}

/* ===============================
   فقاعة الواتساب
================================ */
.whatsapp-bubble {
  position: fixed;
  right: 20px;
  bottom: 75px;
  background: #fff;
  color: #000;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13px;
  z-index: 9999;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: opacity 0.5s ease;
}

.whatsapp-bubble.hide {
  opacity: 0;
  pointer-events: none;
}

/* ===============================
   أيقونة القلب
================================ */
.sicon-heart {
  color: black !important;
}

/* ===============================
   Media Queries للكمبيوتر
================================ */
@media(min-width:768px){

  /* الأقسام: Grid 5 أعمدة */
  .menu-scroll {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    overflow: visible;
    justify-items: center;
    margin-top: 1cm;
  }

  .menu-item img {
    width: 90px;
    height: 90px;
  }

  /* الرئيسية: 5 بطاقات */
  .home-page .s-product-card-vertical {
    width: calc(20% - 12px) !important;
    max-width: calc(20% - 12px) !important;
    flex: 0 0 calc(20% - 12px) !important;
  }

  /* التصنيف: 4 بطاقات */
  .collection-page .s-product-card-vertical {
    width: calc(25% - 12px) !important;
    max-width: calc(25% - 12px) !important;
    flex: 0 0 calc(25% - 12px) !important;
  }

}



/* ⭐ تنسيق النجوم لجميع « */
.fake-rating {
    display: block;       /* يجعلها كسطر مستقل */
    width: 100%;
    margin-top: 6px;      /* مسافة تحت السعر */
    color: var(--color-primary);  /* لون ذهبي من الهوية */
    font-size: 15px;
    letter-spacing: 2px;
    font-weight: 700;
    text-align: right;    /* يمكنك تغييره إلى left أو center */
    direction: ltr;
}

/* تكبير بسيط على الكمبيوتر */
@media (min-width: 1024px) {
  .fake-rating {
      font-size: 18px;
      letter-spacing: 3px;
  }
}

.product-title,
.s-product-card-title {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}