/*
  ============================================================
  ترتيب 03-grid-3col
  شبكة ثلاثة أعمدة — كل الخيارات في صف واحد بنفس الحجم.
  ============================================================
*/

/* Add custom CSS styles below */
/* إخفاء نسبة الخصم فقط من بطاقة المنتج */
.discount-amount {
  display: none !important;
}
/* ===== بطاقة المنتج ===== */
.product-entry--vertical {
  border: 1px solid #ececec !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
  transition: box-shadow 0.25s ease, transform 0.25s ease !important;
  overflow: hidden !important;
}
.product-entry--vertical:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08) !important;
  transform: translateY(-2px) !important;
}
/* ===== حد خفيف فاصل تحت الصورة ===== */
.product-entry__image-wrap {
  border-bottom: 1px solid #f0f0f0 !important;
  display: block !important;
}
/* ===== توسيط الاسم والسعر ===== */
.product-entry__title {
  text-align: center !important;
}
.product-entry__title a {
  display: inline-block !important;
}
.product-entry__content {
  text-align: center !important;
  align-items: center !important;
  padding: 14px 12px !important;
  gap: 10px !important;
}
.price-wrapper {
  justify-content: center !important;
}
/* ===== مسافة قبل زر الإضافة للسلة ===== */
.add-to-cart-conatiner {
  margin-top: 6px !important;
}
/* ===== إخفاء نسبة الخصم ===== */
.discount-amount {
  display: none !important;
}
/* === قسم آراء العملاء === */
.s-block--testimonials .container {
  max-width: 1280px !important;
}
/* بطاقة الرأي */
.s-block--testimonials figure.swiper-slide {
  background: #ffffff !important;
  border: 1px solid #ececec !important;
  border-radius: 16px !important;
  padding: 28px 24px 24px !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05) !important;
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: 240px !important;
  height: auto !important;
  box-sizing: border-box !important;
}
/* علامة الاقتباس في الزاوية */
.s-block--testimonials figure.swiper-slide::before {
  content: '”' !important;
  position: absolute !important;
  top: 14px !important;
  right: 22px !important;
  font-size: 56px !important;
  line-height: 1 !important;
  color: #d9d9d9 !important;
  font-family: Georgia, 'Times New Roman', serif !important;
  font-weight: bold !important;
  pointer-events: none !important;
}
/* نص الرأي */
.s-block--testimonials blockquote {
  text-align: center !important;
  font-size: 0.95rem !important;
  line-height: 1.7 !important;
  margin: 0 !important;
  padding-top: 24px !important;
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  max-width: none !important;
}
.s-block--testimonials blockquote p {
  margin: 0 !important;
  color: #333 !important;
}
/* إخفاء النجوم العلوية */
.s-block--testimonials blockquote > div.text-sm.mb-3 {
  display: none !important;
}
/* الاسم والصورة في الأسفل */
.s-block--testimonials figcaption {
  margin-top: 16px !important;
  display: flex !important;
  flex-direction: row-reverse !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
}
.s-block--testimonials figcaption img {
  width: 48px !important;
  height: 48px !important;
  margin: 0 !important;
}
.s-block--testimonials figcaption > div {
  margin-top: 0 !important;
  font-weight: bold !important;
  font-size: 1rem !important;
  color: #222 !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}
/* عرض عدة بطاقات بجانب بعضها */
.s-block--testimonials .swiper-wrapper {
  padding-bottom: 30px !important;
  align-items: stretch !important;
}
.s-block--testimonials .swiper-slide {
  height: auto !important;
  width: calc((100% - 60px) / 3) !important;
  margin-left: 30px !important;
}
@media (max-width: 1024px) {
  .s-block--testimonials .swiper-slide {
    width: calc((100% - 30px) / 2) !important;
  }
}
@media (max-width: 640px) {
  .s-block--testimonials .swiper-slide {
    width: 100% !important;
    margin-left: 0 !important;
  }
}
/* === قسم آراء العملاء === */
/* اسم القسم  بداية*/
.s-block__title .right-side h2 {
  border-right: 4px solid #a1b39b;
  padding-right: 12px;
  font-weight: 700;
  line-height: 1.2;
}
.s-block__display-all {
  border: 1px solid #cddfc7;
  color: #5d7158;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all .3s ease;
}
.s-block__display-all:hover {
  background: #a1b39b;
  color: #fff;
  border-color: #a1b39b;
}
/* اسم القسم نهاية */

/* === بداية: تصميم بطاقة الإهداء بنمط الخطوط (مطابق للثيم القديم) === */
.s-product-options-textarea .mt-1 > input.s-form-control,
.s-product-options-textarea .mt-1 > textarea.s-form-control {
  border: 0 !important;
  border-bottom: 2px solid #f0f0f0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 12px 4px !important;
  margin: 0 0 6px 0 !important;
  outline: none !important;
  font-size: 0.95rem !important;
  width: 100% !important;
}
.s-product-options-textarea .mt-1 > input.s-form-control:focus,
.s-product-options-textarea .mt-1 > textarea.s-form-control:focus {
  border-bottom-color: #a1b39b !important;
  box-shadow: none !important;
  outline: none !important;
}
.s-product-options-textarea .mt-1 > textarea.s-form-control {
  resize: none !important;
  min-height: 48px !important;
  line-height: 1.6 !important;
}
/* === نهاية: تصميم بطاقة الإهداء بنمط الخطوط === */

/* === بداية: ترتيب 03 — شبكة ثلاثة أعمدة === */
.delivery-pills-container {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 8px !important;
  margin-top: 10px !important;
}
.delivery-pill {
  background: #fafbf9 !important;
  border: 1px solid #e0e6dc !important;
  border-radius: 8px !important;
  padding: 14px 8px !important;
  font-size: 0.82rem !important;
  font-weight: 500 !important;
  color: #333 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  font-family: inherit !important;
  text-align: center !important;
  white-space: normal !important;
  line-height: 1.35 !important;
  min-height: 70px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.delivery-pill:hover {
  border-color: #a1b39b !important;
  background: #fff !important;
}
.delivery-pill.is-active {
  background: #7a8c70 !important;
  border-color: #5d7158 !important;
  color: #fff !important;
  font-weight: 600 !important;
}
@media (max-width: 480px) {
  .delivery-pills-container {
    grid-template-columns: 1fr !important;
  }
}
/* === نهاية: ترتيب 03 === */

/* === بداية: إخفاء بنر تفاصيل المنتج الفاضي === */
.middle-product-details-banner:has(img[src*="s-empty.png"]),
.middle-product-details-banner:has(img[data-src=""]) {
  display: none !important;
}
.middle-product-details-banner img.lazy[data-src=""] {
  display: none !important;
}
/* === نهاية: إخفاء بنر تفاصيل المنتج الفاضي === */