:root {
  --primary: #C2855E;
  --secondary: #E6A67A;
  --accent: #FAE5A2;
  --text-dark: #3A3A3A;
  --background: #FFF8F0;
  --white: #ffffff;
  --black: #000000;
}

@import url('https://fonts.googleapis.com/css2?family=Alexandria:wght@400;600;700&display=swap');

body {
  font-family: 'Alexandria', sans-serif;
  color: var(--text-dark);
  box-sizing: border-box;
  background-color: var(--background);
}

*, *::before, *::after {
  box-sizing: inherit;
}

/* زر الإضافة للسلة */
salla-add-product-button::part(button) {
  background-color: var(--white);
  color: var(--black);
  border: 2px solid var(--text-dark);
  border-radius: 8px;
  font-weight: 600;
  transition: background-color 0.3s, color 0.3s, transform 0.2s;
}
salla-add-product-button::part(button):hover {
  background-color: var(--black);
  color: var(--white);
}

/* زر اطلب الآن */
.order-now-btn {
  display: block;
  background-color: var(--white);
  color: var(--black);
  border: 2px solid var(--text-dark);
  border-radius: 8px;
  font-weight: 600;
  padding: 12px 0;
  margin-top: 12px;
  text-align: center;
  transition: all 0.3s ease;
}
.order-now-btn:hover {
  background-color: var(--black);
  color: var(--white);
}

/* بطاقة المنتج */
custom-salla-product-card {
  border: 1px solid var(--secondary);
  border-radius: 12px;
  background-color: var(--white);
  overflow: hidden;
  padding: 12px;
  text-align: center;
  transition: transform 0.3s ease;
}
custom-salla-product-card:hover {
  transform: scale(1.02);
}
.s-product-card-content-title {
  font-size: 16px;
  font-weight: bold;
  color: var(--black);
}
.s-product-card-price, h4.s-product-card-price {
  font-size: 18px;
  font-weight: bold;
  color: var(--black);
}

/* نجوم التقييم */
.s-product-rating {
  color: #FFD700;
  font-size: 18px;
  margin: 4px auto;
  direction: rtl;
}

/* ==== Animation ==== */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === قسم المكسرات === */
.boharmix-nuts-section {
  margin: 60px 0;
  font-family: 'Alexandria', sans-serif;
  position: relative;
  z-index: 1;
}

.boharmix-nuts-hero {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  height: auto;
  aspect-ratio: 16 / 6;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.boharmix-nuts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0 16px 40px;
  margin-top: -60px;
  position: relative;
  z-index: 2;
}

.boharmix-nuts-card {
  background: transparent;
  border-radius: 16px;
  overflow: hidden;
  width: 100%;
  text-decoration: none;
  position: relative;
  transition: transform 0.3s ease;
}
.boharmix-nuts-card img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 0.4s ease;
}
.boharmix-nuts-card:hover img {
  transform: scale(1.05);
}
.boharmix-nuts-card span {
  display: none !important;
}

.boharmix-title {
  display: none;
}

/* Responsive */
@media (max-width: 768px) {
  .boharmix-nuts-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .boharmix-nuts-card {
    width: 100%;
  }

  .boharmix-nuts-hero {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 480px) {
  .boharmix-nuts-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .boharmix-nuts-card {
    width: 100%;
  }
}

/* تأخير الأنيميشن */
.boharmix-nuts-card:nth-child(1) { transition-delay: 0.1s; }
.boharmix-nuts-card:nth-child(2) { transition-delay: 0.2s; }
.boharmix-nuts-card:nth-child(3) { transition-delay: 0.3s; }

/* === قسم البهارات === */
.boharmix-spices-section {
  margin: 60px 0;
  font-family: 'Alexandria', sans-serif;
  position: relative;
  z-index: 1;
}

.boharmix-spices-hero {
  background-image: url('https://i.imgur.com/jdqcPQB.jpg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  height: auto;
  padding-top: 30%;
  border-radius: 12px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .boharmix-spices-hero {
    padding-top: 50%;
  }
}

.boharmix-spices-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  padding: 0 16px 40px;
  margin-top: -60px;
  position: relative;
  z-index: 2;
}

.boharmix-spices-card {
  background: transparent;
  border-radius: 16px;
  overflow: hidden;
  width: 100%;
  flex: 0 0 31%;
  max-width: 31%;
  text-decoration: none;
  position: relative;
  transition: transform 0.3s ease;
  box-shadow: none;
}
.boharmix-spices-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.boharmix-spices-card:hover img {
  transform: scale(1.05);
}
.boharmix-spices-card span {
  display: none !important;
}

.boharmix-spices-card:nth-child(1) { transition-delay: 0.1s; }
.boharmix-spices-card:nth-child(2) { transition-delay: 0.2s; }
.boharmix-spices-card:nth-child(3) { transition-delay: 0.3s; }

/* Responsive */
@media (max-width: 768px) {
  .boharmix-spices-card {
    flex: 0 0 32%;
    max-width: 32%;
  }

  .boharmix-spices-grid {
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .boharmix-spices-card {
    flex: 0 0 30%;
    max-width: 30%;
  }
}






/* ✅ السلايدر الأساسي في الصفحة الرئيسية */
section.s-block.home-slider {
  margin-top: 100px; /* أو جرّب 32px حسب المساحة اللي تريحك بصريًا */
}





section.boharmix-spices-section {
  margin-top: -5px;
}



section.boharmix-nuts-section {
  margin-top: -30px;
}




section.boharmix-nuts-section .boharmix-nuts-banner-list {
  margin-top: -30px !important; /* ⬅️ تقدر تزود أو تقلل حسب الراحة البصرية */
}