/* ======= إعداد الخط ========== */
@import url('https://fonts.googleapis.com/css2?family=Lama+Sans:wght@400;700&display=swap');

body, *:not(i) {
    font-family: 'Lama Sans', sans-serif !important;
}

/* ======= ألوان الهوية وتناسق موقع Jewar ======= */
:root {
    --color-primary: #154E8B;
    --color-primary-light: #62CCC9;
    --color-primary-reverse: #ffffff;
    --text-dark: #333333;
    --text-light: #ffffff;
}

/* خلفية عامة للموقع */
body {
    background-color: #ffffff !important;
    direction: rtl;
    background-image: url('https://www.toptal.com/designers/subtlepatterns/patterns/symphony.png');
    background-repeat: repeat;
    background-size: contain;
}

/* الهيدر */
header.store-header .inner.bg-inherit {
    background-color: #ffffff !important;
    border-bottom: 1px solid #eee;
}

/* الفوتر */
.footer-is-light .store-footer,
.footer-is-light .store-footer .store-footer__inner {
    background-color: #154E8B !important;
    color: var(--text-light) !important;
    text-align: right; /* ← محاذاة النص لليمين */
}

.footer-sub {
    background-color: #154E8B;
    color: var(--text-light);
    padding: 15px 0;
    text-align: right; /* ← محاذاة النص لليمين */
    direction: rtl;
}

.store-footer h3,
.store-footer a,
.store-footer p {
    color: var(--text-light) !important;
    font-size: 16px;
    text-align: right !important; /* ← تأكيد محاذاة النص لليمين */
}

/* أيقونات سوشيال في الفوتر */
.store-footer .contact-social,
.store-footer .contact-social ul,
.store-footer .contact-social li {
    direction: rtl !important;
    text-align: right !important;
    justify-content: flex-start !important; /* ← على اليمين */
}

/* أيقونات موحدة */
svg,
i,
.icon,
.sicon,
.header-btn__icon {
    color: #26BCBC !important;
    fill: #26BCBC !important;
}

/* المنتجات */
.product-item, .product-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    padding: 15px;
    text-align: center;
    transition: 0.3s;
    margin: auto;
}

.product-item:hover {
    transform: translateY(-5px);
}

/* زر أضف للسلة */
salla-add-product-button.hydrated {
    background-color: #ffffff!important;
    color: #62ccc9!important;
    font-weight: bold;
/* إزالة خلفية أو حدود الحاوية الرئيسية للمنتجات */
.container,
.section,
.products,
.product-wrapper,
.product-list {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 auto !important;
    max-width: 100% !important;
}

salla-add-product-button.hydrated:hover {
    background-color: #0d3a68 !important;
}

/* البنرات */
section.s-block.s-block--banners > .container,
section.s-block.s-block--fixed-banner.wide-placeholder .container {
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
    width: 100vw !important; /* ← عرض كامل للشاشة */
}

/* البنرات داخل الصفحة */
.s-block.s-block--banners > .grid .banner-entry {
    width: 100% !important;
    height: auto !important;
    padding: 0;
    margin: 0;
}

/* أسهم التنقل للبنر */
.banner-slider .swiper-button-prev,
.banner-slider .swiper-button-next {
    background-color: rgba(0, 0, 0, 0.3);
    color: #fff !important;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    z-index: 10;
}

.banner-slider .swiper-button-prev {
    right: 15px !important; /* ← السهم الأيسر */
    left: auto;
}

.banner-slider .swiper-button-next {
    left: 15px !important; /* ← السهم الأيمن */
    right: auto;
}

/* قائمة الجوال الجانبية */
.drawer, .drawer .store-footer, .drawer .top-navbar, .drawer .drawer-menu {
    direction: rtl !important;
    text-align: right !important;
}

.drawer a svg, .drawer li svg, .drawer .sicon {
    order: 2;
    margin-left: 10px;
    margin-right: 0;
}

/* نصوص */
h1, h2, h3, h4, h5, h6, p, a {
    color: #333333 !important;
}

/* سوشيال ميديا بالجوال */
@media (max-width: 768px) {
    .store-footer .contact-social ul,
    .social-icons {
        display: flex !important;
        justify-content: flex-start !important; /* ← على اليمين في الجوال */
        gap: 12px;
    }
}
@media (max-width: 768px) {
  /* تقليل حجم دائرة الأيقونة */
  .s-block--features .icon-wrapper,
  .s-block--features .icon {
    width: 55px !important;
    height: 55px !important;
  }

  /* تقليل حجم الأيقونة داخل الدائرة */
  .s-block--features .icon svg {
    width: 30px !important;
    height: 30px !important;
  }

  /* تصغير حجم العنوان */
  .s-block--features h3,
  .s-block--features .title {
    font-size: 15px !important;
    margin-top: 10px !important;
  }

  /* تصغير الوصف تحت العنوان */
  .s-block--features p,
  .s-block--features .subtitle,
  .s-block--features .description {
    font-size: 13px !important;
    line-height: 1.6;
    margin: 5px 0;
  }

  /* تقليل التباعد بين العناصر */
  .s-block--features .grid,
  .s-block--features .banner-entry,
  .s-block--features .feature-box {
    padding: 10px !important;
  }