/* =====================================
   التصميم النهائي لمتجر رمان بيدة
   ثيم وسام - كمبيوتر وجوال
   ===================================== */

:root {
  --bedah-green: #214E3A;
  --bedah-green-dark: #173A2B;
  --bedah-red: #981B3A;
  --bedah-red-dark: #76142D;
  --bedah-bg: #F7F8F5;
  --bedah-card: #FFFFFF;
  --bedah-text: #26332B;
  --bedah-muted: #6B746F;
  --bedah-border: #E1E6E2;
  --bedah-gold: #C5A24C;
}

/* خلفية مريحة */
html,
body,
main {
  background: var(--bedah-bg) !important;
  color: var(--bedah-text) !important;
}

/* الهيدر والقائمة */
header,
.store-header,
.main-nav-container,
.navbar {
  background: var(--bedah-green-dark) !important;
}

header a,
.store-header a,
.main-nav-container a,
.navbar a,
header i,
header svg {
  color: #FFFFFF !important;
}

/* بطاقات المنتجات */
.product-entry,
.s-product-card-entry {
  background: var(--bedah-card) !important;
  border: 1px solid var(--bedah-border) !important;
  border-radius: 16px !important;
  outline: none !important;
  overflow: hidden !important;
  box-shadow: 0 4px 14px rgba(33, 78, 58, 0.07) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.product-entry:hover,
.s-product-card-entry:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(33, 78, 58, 0.12) !important;
}

/* توحيد مساحة صور المنتجات */
.product-entry__image,
.product-entry .product-image,
.s-product-card-image {
  background: #FFFFFF !important;
  overflow: hidden !important;
}

.product-entry__image img,
.product-entry .product-image img,
.s-product-card-image img {
  width: 100% !important;
  object-fit: contain !important;
}

/* محتوى البطاقة */
.product-entry__content {
  padding: 14px !important;
}

/* عنوان المنتج */
.product-entry__title,
.product-entry__title a,
.product-entry h3,
.product-entry h3 a {
  color: var(--bedah-text) !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
  font-weight: 800 !important;
  text-align: right !important;
  margin: 0 0 6px !important;
  min-height: 50px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

/* وصف المنتج */
.product-entry__description,
.product-entry p {
  color: var(--bedah-muted) !important;
  font-size: 13px !important;
  line-height: 1.65 !important;
  text-align: right !important;
  margin: 5px 0 12px !important;
  min-height: 42px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

/* السعر */
.product-entry__price,
.product-entry .price,
.s-product-card-price {
  color: var(--bedah-green) !important;
  font-size: 19px !important;
  font-weight: 900 !important;
}

/* النجوم */
.product-entry .sicon-star,
.product-entry [class*="star"],
.product-entry .rating {
  color: var(--bedah-gold) !important;
}

/* عرض حاوية زر السلة */
.product-entry salla-add-product-button,
.product-entry salla-add-product-button salla-button {
  width: 140px !important;
  min-width: 140px !important;
}

/* زر إضافة إلى السلة */
.product-entry
salla-add-product-button
salla-button
button {
  width: 140px !important;
  min-width: 140px !important;
  height: 42px !important;
  padding: 0 10px !important;
  background: var(--bedah-red) !important;
  color: #FFFFFF !important;
  border: 0 !important;
  border-radius: 10px !important;
  font-size: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 3px 9px rgba(152, 27, 58, 0.18) !important;
}

/* إخفاء رمز السلة */
.product-entry salla-add-product-button button i,
.product-entry salla-add-product-button button svg {
  display: none !important;
}

/* كتابة النص بدل الرمز */
.product-entry
salla-add-product-button
salla-button
button::after {
  content: "إضافة إلى السلة" !important;
  color: #FFFFFF !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
}

/* تأثير الزر */
.product-entry
salla-add-product-button
salla-button
button:hover {
  background: var(--bedah-red-dark) !important;
}

/* عناوين الأقسام */
section h2,
section h3,
.section-title {
  color: var(--bedah-green) !important;
  background: transparent !important;
  font-weight: 800 !important;
}

/* الفوتر */
footer,
.store-footer {
  background: var(--bedah-green-dark) !important;
  color: #FFFFFF !important;
}

footer a,
.store-footer a {
  color: #FFFFFF !important;
}

/* تحسين الجوال */
@media screen and (max-width: 767px) {
  .product-entry,
  .s-product-card-entry {
    border-radius: 13px !important;
    box-shadow: 0 3px 10px rgba(33, 78, 58, 0.07) !important;
  }

  .product-entry__content {
    padding: 10px !important;
  }

  .product-entry__title,
  .product-entry__title a,
  .product-entry h3,
  .product-entry h3 a {
    font-size: 13px !important;
    line-height: 1.55 !important;
    min-height: 41px !important;
  }

  .product-entry__description,
  .product-entry p {
    font-size: 11.5px !important;
    line-height: 1.55 !important;
    min-height: 36px !important;
  }

  .product-entry__price,
  .product-entry .price,
  .s-product-card-price {
    font-size: 16px !important;
  }

  .product-entry salla-add-product-button,
  .product-entry salla-add-product-button salla-button,
  .product-entry salla-add-product-button salla-button button {
    width: 108px !important;
    min-width: 108px !important;
    height: 38px !important;
  }

  .product-entry
  salla-add-product-button
  salla-button
  button::after {
    content: "إضافة إلى السلة" !important;
    font-size: 10.5px !important;
  }
}
/* توحيد ارتفاع أسماء المنتجات */
.product-entry .product-entry__title,
.product-entry h3 {
  min-height: 54px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

/* إبعاد واتساب عن أزرار الشراء في الجوال */
@media (max-width: 767px) {
  .whatsapp-widget,
  .floating-whatsapp,
  a[href*="wa.me"],
  a[href*="whatsapp"] {
    bottom: 85px !important;
  }
}
/* تنسيق معلومات المنتج – ثيم وسام */
.product-entry .product-entry__content {
  padding: 16px 14px 14px !important;
}

/* اسم المنتج */
.product-entry .product-entry__title,
.product-entry h3 {
  color: #24352D !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.65 !important;
  min-height: 50px !important;
  margin: 0 0 5px !important;

  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  overflow: hidden !important;
}

/* وصف المنتج */
.product-entry .product-entry__description,
.product-entry p {
  color: #747B77 !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  min-height: 38px !important;
  margin: 5px 0 10px !important;

  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  overflow: hidden !important;
}

/* التقييم والنجوم */
.product-entry .s-product-card-rating,
.product-entry .rating-stars {
  color: #C5A24C !important;
  font-size: 10px !important;
  margin: 2px 0 7px !important;
}

/* السعر */
.product-entry .s-product-card-price,
.product-entry .product-entry__price {
  color: #214E3A !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
}

/* ضبط الجوال */
@media (max-width: 767px) {
  .product-entry .product-entry__content {
    padding: 13px 11px 12px !important;
  }

  .product-entry .product-entry__title,
  .product-entry h3 {
    font-size: 13px !important;
    line-height: 1.55 !important;
    min-height: 42px !important;
  }

  .product-entry .product-entry__description,
  .product-entry p {
    font-size: 11px !important;
    line-height: 1.5 !important;
    min-height: 33px !important;
  }

  .product-entry .s-product-card-price,
  .product-entry .product-entry__price {
    font-size: 16px !important;
  }
/* تكبير خط اسم المنتج فعليًا – ثيم وسام */
.product-entry .product-entry__title,
.product-entry .product-entry__title a,
.product-entry .s-product-card-content-title,
.product-entry .s-product-card-content-title a,
.product-entry h3,
.product-entry h3 a,
.product-entry h3 span {
  font-size: 17px !important;
  font-weight: 800 !important;
  line-height: 1.55 !important;
}

/* الجوال */
@media (max-width: 767px) {
  .product-entry .product-entry__title,
  .product-entry .product-entry__title a,
  .product-entry .s-product-card-content-title,
  .product-entry .s-product-card-content-title a,
  .product-entry h3,
  .product-entry h3 a,
  .product-entry h3 span {
    font-size: 17px !important;
    font-weight: 800 !important;
    line-height: 1.5 !important;
  }
}

  - 
.main-header,
header {
    position: relative !important;
    top: auto !important;
    transform: none !important;
}

.main-slider,
salla-slider {
    position: relative !important;
    top: auto !important;
}