/* =====================================================
   خشبيات ترانك - CSS مخصص
   ===================================================== */

/* 1) شارة «عرض لفترة محدودة»: صغيرة في زاوية الصورة */
.s-product-card-promotion-title,
.s-product-card-promotion,
.promotion-title,
.badge-promotion {
    font-size: 10px !important;
    padding: 2px 6px !important;
    line-height: 1.2 !important;
    min-height: 0 !important;
    height: auto !important;
    width: auto !important;
    max-width: fit-content !important;
    border-radius: 4px !important;
    top: 6px !important;
    inset-inline-start: 6px !important;
    inset-inline-end: auto !important;
}

/* 2) بطاقات المنتجات: خلفية كريمية دافئة */
.product-box,
.product-card,
.s-product-card {
    background-color: #faf8f5 !important;
    border-radius: 8px !important;
}

/* 3) صور المنتجات: عرض الصورة كاملة */
.product-details__thumb img,
.s-product-card-entry img,
.product-card img,
.s-product-card-image img {
    object-fit: contain !important;
    background-color: #f9f9f9;
}

/* 4) زر «أضف للسلة»: أصغر وأخف */
salla-add-product-button .s-button-element,
salla-add-product-button button {
    font-size: 12px !important;
    padding: 5px 10px !important;
    min-height: 32px !important;
    height: auto !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
}
salla-add-product-button .s-button-text {
    font-size: 12px !important;
}
salla-add-product-button svg,
salla-add-product-button i {
    width: 14px !important;
    height: 14px !important;
    font-size: 14px !important;
    margin-inline-end: 4px !important;
}

/* 5) الفوتر: خلفية خشبية ونص بني داكن */
footer,
.store-footer,
.footer-main,
.s-footer {
    background-color: #D29C5B !important;
}
footer a,
footer p,
footer span,
footer h1,
footer h2,
footer h3,
footer h4,
footer li {
    color: #2B1B0E !important;
}

/* 6) شريط الحقوق: داكن بنص رمادي فاتح */
footer .copyright,
footer .copyright *,
footer .footer-bottom,
footer .footer-bottom * {
    background-color: #1a1511 !important;
    color: #aaaaaa !important;
}

/* 7) الجوال: شارة أصغر قليلًا */
@media (max-width: 767px) {
    .s-product-card-promotion-title,
    .s-product-card-promotion,
    .promotion-title,
    .badge-promotion {
        font-size: 9px !important;
        padding: 1px 5px !important;
    }
}/* تنسيقات قسم التصنيفات الثابتة */
.custom-categories-section {
  padding: 20px 10px;
  text-align: center;
  direction: rtl;
  width: 100%;
  box-sizing: border-box;
  background-color: #fff;
  margin: 15px 0;
}

.custom-categories-section .section-title {
  font-size: 18px;
  font-weight: bold;
  color: #222222;
  margin-bottom: 20px;
  display: block;
}

.categories-grid {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 15px;
  flex-wrap: wrap;
}

.category-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-decoration: none !important;
  width: 90px;
}

.image-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #eee;
  background-color: #f9f9f9;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-name {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #333333;
  text-align: center;
  white-space: nowrap;
}
/* بانر عريض بعرض الشاشة كاملة - ثيم رائد
   الصقه في: لوحة سلة > تصميم المتجر > CSS مخصص */

/* إزالة الهوامش وحدّ الحاوية حول البانر */
.s-block--fixed-banner {
  padding: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.s-block--fixed-banner .container {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* الصورة بعرض الشاشة مع الحفاظ على النسبة */
.s-block--fixed-banner a,
.s-block--fixed-banner picture,
.s-block--fixed-banner img {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  border-radius: 0 !important;
  object-fit: cover;
}

/* احتياطي: إذا بقي البانر داخل حاوية ضيقة يخرج منها لعرض الشاشة */
@supports (width: 100vw) {
  .s-block--fixed-banner {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    overflow: hidden;
  }
}