/* ===========================
   أساس الهوية (خلفيات + خط)
   =========================== */

/* خلفية عامة هادئة مثل أكاسيا */
body {
  background-color: #F9F4EC;
}

/* مناطق الخلفية الرمادية في القالب */
.bg-gray-50,
.section,
.page-content {
  background-color: #F9F4EC !important;
}

/* عناوين الأقسام */
.section-title,
h2, h3 {
  color: #2B2B2B;
  font-weight: 700;
}

/* ===========================
   الهيدر + الترويسة العلوية
   =========================== */

.main-nav-container.fixed-header .inner,
.main-nav-container,
.top-navbar,
.footer-is-light .store-footer,
.footer-is-light .store-footer .store-footer__inner {
  background: linear-gradient(to right, #FFF9EB, #E6B566);
}

/* شريط أعلى الموقع إن وجد */
.top-navbar {
  border-bottom: 1px solid rgba(255,255,255,0.5);
}

/* أيقونات السلة والحساب */
.header-icon,
.header-icon svg {
  color: #2B2B2B !important;
}

/* ===========================
   بنر علوي عريض بدون هوامش
   =========================== */

.s-block.s-block--fixed-banner.wide-placeholder {
    margin-top: 0;
}

.s-block.s-block--fixed-banner.wide-placeholder .container {
    margin: 0;
    padding: 0;
    max-width: initial;
}

/* ===========================
   أقسام (دوائر) مثل أكاسيا
   =========================== */

.slide--cat-entry {
    width: 88px !important;
    height: 88px !important;
    border-radius: 999px !important;
    background-color: #FFFFFF !important;
    box-shadow: 0 6px 14px rgba(0,0,0,0.06);
    border: 1px solid #F0E3C0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.slide--cat-entry img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.slide--cat-entry h4 {
    font-size: 12px;
    margin-top: 4px;
    color: #3C3C3C;
}

/* عرض أنعم في الجوال */
@media (max-width: 768px) {
  .salla-slider .slide--one-sixth {
      width: 23% !important;
  }
}

/* ===========================
   كرت المنتج (ستايل أكاسيا)
   =========================== */

.s-product-card-vertical {
    background: #FFFFFF;
    border-radius: 18px;
    overflow: hidden;
    padding: 12px 10px 14px;
    border: 1px solid #F1E5D2;
    transition: 0.25s ease;
    box-shadow: 0 6px 18px rgba(0,0,0,0.04);
}

.s-product-card-vertical:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

/* إزالة أي خلفية رمادية خلف الصورة */
.s-product-card-vertical .product-image,
.s-product-card-vertical .product-image-container,
.s-product-card-vertical .media,
.s-product-card-vertical .media-holder,
.s-product-card-vertical figure,
.s-product-card-vertical picture,
.s-product-card-vertical a > div:first-child {
    background-color: #FFFFFF !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    border: none !important;
}

/* صورة المنتج */
.s-product-card-vertical img {
    width: 90% !important;
    height: 160px !important;
    object-fit: contain !important;
    display: block;
    margin: 10px auto 6px !important;
    background: transparent !important;
}

/* اسم المنتج */
.s-product-card-vertical .product-title,
.s-product-card-vertical .s-product-title {
    font-size: 14px;
    color: #222222;
    font-weight: 600;
    line-height: 1.4;
    min-height: 40px;
    margin-top: 4px;
    text-align: center;
}

/* السعر الجديد */
.s-product-card-vertical .price,
.s-product-card-vertical .s-product-price {
    font-size: 16px;
    font-weight: 700;
    color: #C89A2B;
    text-align: center;
}

/* السعر القديم */
.s-product-card-vertical .old-price,
.s-product-card-vertical .s-price-old {
    font-size: 13px;
    color: #A0A0A0;
    text-decoration: line-through;
    text-align: center;
}

/* بادج الخصم */
.s-product-card-vertical .badge,
.s-product-card-vertical .discount,
.s-product-card-vertical .s-badge {
    background: #FFF4D9;
    color: #C89A2B;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 11px;
    border: 1px solid #E6B566;
}

/* زر الإضافة للسلة */
.s-product-card-vertical .btn,
.s-product-card-vertical .add-to-cart-button {
    width: 90%;
    margin: 10px auto 0;
    background: #E6B566;
    color: #000000;
    border-radius: 999px;
    padding: 8px 0;
    font-weight: 600;
    font-size: 14px;
    transition: 0.25s ease;
    border: 1px solid #C89A2B;
}

.s-product-card-vertical .btn:hover,
.s-product-card-vertical .add-to-cart-button:hover {
    background: #C89A2B;
    color: #FFFFFF;
}

/* ===========================
   ترتيب الجوال (منتجين في الصف)
   =========================== */

@media (max-width: 768px) {

  .products-list [class*="grid-cols-"] {
      grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
      gap: 10px !important;
  }

  .s-product-card-vertical img {
      height: 150px !important;
  }

  .s-product-card-vertical .product-title,
  .s-product-card-vertical .s-product-title {
      font-size: 13px;
      min-height: 36px;
  }

  .s-product-card-vertical .price,
  .s-product-card-vertical .s-product-price {
      font-size: 15px;
  }
}

/* ===========================
   الفوتر
   =========================== */

.footer-is-light .store-footer,
.footer-is-light .store-footer .store-footer__inner {
  background: #1F1B16;
  color: #F9F4EC;
}

.footer-is-light .store-footer a {
  color: #F9F4EC;
}

/* ===========================
   Scrollbar ذهبي ناعم
   =========================== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px #F9F4EC;
  border-radius: 10px;
}
 
::-webkit-scrollbar-thumb {
  background: #E6B566;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #C89A2B;
}