/* ------------------ Global ------------------ */
*, :after, :before {
    font-weight: inherit !important;
    font-size: 1rem;
}
h1, h2, h3, h4, h5, h6, strong, .font-primary, .tab-trigger {
    font-weight: 700 !important;
    color: black;
}
/* ------------------ Product Card ------------------ */
.s-product-card-content-title.font-primary a {
    font-family: var(--font-main) !important;
    font-size: 16px;
}
a, p, span {
    font-family: var(--font-secondary);
    color: black;
}
b, strong {
    font-weight: bolder;
    color: #6b7487;
}
.language-btn,
.language-btn span,
.language-btn .language-name,
.language-btn .language-code {
    color: #ffffff !important;
}
.mburger,
.mburger p,
.mburger i,
.sicon-menu {
    color: #ffffff !important;
}

/* في حالة hover / focus */
.mburger:hover,
.mburger:hover p,
.mburger:hover i {
    color: #ffffff !important;
}

/* تثبيت لون النص والأيقونة في كل الحالات */
.s-button-element,
.s-button-element *,
.s-button-element:active,
.s-button-element:focus,
.s-button-element:visited {
    color: #ffffff !important;
}

/* منع التغيير عند الضغط */
.s-button-element:active .s-button-text,
.s-button-element:active i {
    color: #ffffff !important;
}

/* أثناء التحميل */
.s-button-element[loading],
.s-button-element[loading] .s-button-text,
.s-button-element[loading] i {
    color: #ffffff !important;
}

/* زر الأمنيات – لون أسود ثابت */
.btn--wishlist,
.btn--wishlist *,
.btn--wishlist:hover,
.btn--wishlist:active,
.btn--wishlist:focus {
    color: #000000 !important;
}

/* منع التغيير اللحظي عند الضغط */
.btn--wishlist:active {
    opacity: 1 !important;
}

/* أثناء التحميل */
.btn--wishlist[loading],
.btn--wishlist[loading] *,
.btn--wishlist.s-button-loading,
.btn--wishlist.s-button-loading * {
    color: #000000 !important;
}

.s-product-card-content-title a {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25rem;
    color: rgba(31, 41, 55, var(--tw-text-opacity, 1));
}

.s-product-card-price,
.s-product-card-starting-price h4 {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25rem;
}

.s-product-card-content-subtitle {
    font-size: 0.85rem !important;
    line-height: 1rem !important;
    margin-bottom: 0 !important;
}

.s-product-card-content-footer.s-block--hero-slider .round .swiper,
.s-block--hero-slider .round .swiper button {
    border-radius: .375rem;
    margin-top: 1.1rem;
}

#mobile-bottom-menu,
#mobile-bottom-menu * {
    color: #fff !important;
}



/* ------------------ Dark Mode ------------------ */
.dark .slide--cat-entry h4 {
    color: var(--dark-text-sec);
    font-size: 16px;
}

/* ------------------ Blocks & Titles ------------------ */
.s-block__title h2 {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    position: relative;
}

.s-block__title {
    margin-bottom: 1rem;
}

.s-block--slider-with-bg .s-slider-block__title-left {
    display: flex;
    justify-items: end;
    width: 100%;
    color: white;
}

.s-block__display-all,
.s-slider-block__display-all {
    border-radius: .375rem;
    color: inherit;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    font-size: 1rem;
    gap: .25rem;
    line-height: 1.25rem;
    padding: .5rem 0;
    width: max-content;
}

.s-block--hero-slider .round .swiper {
    border-radius: .375rem;
    margin-top: 1.1rem;
}

.s-block--full-bg:first-of-type {
    margin-top: -0.5rem;
}

h2, h3 {
    font-size: 1.25rem;
    line-height: 1.75rem;
    margin-top: 15px;
}

/* ------------------ Buttons ------------------ */
salla-add-product-button::part(button) {
    font-size: 12px !important;
}

/* ------------------ Responsive (md+) ------------------ */
@media (min-width: 768px) {

    .s-block__title p:where([dir=rtl],[dir=rtl] *) {
        padding-left: 4rem;
        font-size: 15px !important;
    }

    .md\:gap-2 {
        gap: 0rem;
    }

    .s-angel--divider.xl-title p {
        font-size: 1.50rem;
        line-height: 1.75rem;
    }

    .md\:text-sm {
        font-size: 1rem;
        line-height: 1.25rem;
    }

    .md\:text-xs {
        font-size: 1em;
        line-height: 1rem;
    }
}

.bottom-header button,
.bottom-header a,
.bottom-header svg {
    color: white !important;
    fill: white !important;
}

.bottom-header-buttons {
    align-items: baseline;
    display: flex;
    gap: 2rem;
    justify-content: center;
    color: white;
}
.sicon-sar:before {
    content: "\e9bc";
    color: white;
  transform: scale(0.7);
  display: inline-block;
}
.s-cart-summary-total {
    color: #ffffff;
    font-weight: 400;
}
.bottom-header .sicon-user:before {
    content: "\f078";
    color: white;
}
/* خلفية الهيدر السفلي */
.bottom-header {
    background-color: #44787e !important; /* غيّر اللون هنا */
}

/* أيقونات الهيدر السفلي */
.bottom-header .bottom-header-icon i {
    color: white !important; /* يجعل جميع الأيقونات بيضاء */
}

/* نصوص تحت الأيقونات */
.bottom-header .bottom-header-icon span {
    color: white !important; /* يجعل جميع النصوص بيضاء */
}

/* أيقونة المستخدم في الهيدر السفلي فقط */
.bottom-header .sicon-user:before {
    content: "\f078";
    color: white !important;
}

/* أيقونة البحث في الهيدر السفلي فقط */
.bottom-header .sicon-search:before {
    color: white !important;
}

/* أيقونة البيت */
.bottom-header .sicon-house-door:before {
    color: white !important;
}

/* أيقونة الأقسام */
.bottom-header .sicon-layout-grid:before {
    color: white !important;
}

/* أيقونة السلة */
.bottom-header .sicon-cart2:before {
    color: white !important;
}

/* إذا أردت تعديل أيقونة SAR داخل السلة */
.bottom-header .sicon-sar:before {
    color: white !important;
}

.sicon-sar:before {
    content: "\e9bc";
    color: black;
    transform: scale(0.7);
    display: inline-block; !important;
}
.s-cart-summary-total {
    color: white;
    font-weight: 600;
      font-weight: bold;
    font-size: 14px; !important;
}

.header-container .navbar-brand img {
    content: url('https://rebune.com/wp-content/uploads/2025/12/Neew-fOfct-2025.png');
    
    /* هذا السطر السحري اللي بيمنع المطع والضغط */
    object-fit: contain; 
    
    /* هدول عشان يصفروا الأبعاد القديمة وياخذوا مقاس الصورة الجديد */
    width: auto;
    height: 100%; /* أو ممكن تجربي height: auto; حسب الأنسب */
    max-height: 80px; /* (اختياري) حددي اقصى ارتفاع عشان ما يصير كبير كتير */
}

.justify-between {
    justify-content: space-between;
    color: white; !important;
}

.is_large .header-btn {
    padding: .35rem;
    color: white; !important;
}
.sicon-cart2:before {
    content: "\e901";
    color: white; !important;
}

.is_large .header-btn .sicon-search, .is_large .header-btn .sicon-user {
    color: white;!important;
    font-size: 1.2rem !important;
}
.price .sicon-sar:before {
    color: #000;
}

.sicon-sar:before {
    content: "\e9bc";
    transform: scale(0.7);
    display: inline-block;
  transform: scale(0.7) translateX(5px);
}
header .sicon-sar:before {
    color: white; !important;
}
.price .sicon-sar:before {
    color: #000;
}
.s-contacts-item {
    --tw-bg-opacity: 1;
    background-color: #f3f4f6;
    background-color: rgb(68 120 126);
    padding: .5rem;
}
.s-contacts-icon svg {
    fill: rgb(255 251 251);
    height: 1.2rem;
    width: 1.2rem;
}

.s-block__title {
    margin-bottom: 1rem;
    margin-top: -1.2rem;
}
.text-primary {
  color: #414042;
  color: #fff;
}
.bottom-header .s-cart-summary-wrapper .s-cart-summary-total {
  display: flex;
  line-height: 1;
  display: none;
}
.bottom-header .sicon-cart2 {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bottom-header .sicon-cart2::after {
    content: "السلة";
    display: block;
    font-family: var(--font-secondary);
  line-height: 1;
  margin-top: .375rem;
}
.store-header,
.store-header .header-inner {
    position: sticky !important;   /* يبقى ملتصق أعلى الصفحة */
    top: 0 !important;
    height: 50px !important;       /* الطول اللي اخترته */
    min-height: 0 !important;
    padding: 0 !important;
    z-index: 9999 !important;      /* فوق كل العناصر */
    background: #fff !important;   /* خلي خلفية واضحة للهيدر */
    transition: none !important;    /* يمنع أي اختفاء أو حركة */
}

.store-header .header-inner img {
    max-height: 40px !important;
    height: auto;
}

.store-header .header-inner .icon,
.store-header .header-inner a {
    max-height: 40px !important;
    line-height: 40px !important;
    padding: 0 !important;
    display: inline-flex !important; /* يضمن ظهورهم دائمًا */
    align-items: center !important;  /* توسيط عمودي */
    opacity: 1 !important;           /* منع الاختفاء */
}

/* تنسيقات الهيدر الأساسية */
.bottom-header-buttons {
    align-items: baseline;
    display: flex;
    gap: 2rem;
    justify-content: center;
    color: white;
    display: none;
}

.bottom-header {
    background-color: #44787e !important;
    display: none;
}

/* ------------------ Mobile Bottom Menu (Android Fixed) ------------------ */
#mobile-bottom-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: #44787e;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 99999;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.2);
    font-family: sans-serif;
}

/* تنسيق الروابط والأزرار داخل المينيو */
#mobile-bottom-menu a, 
#mobile-bottom-menu button {
    background: none;
    border: none;
    color: white;
    font-size: 12px; /* تصغير الخط قليلاً ليتناسب مع الجوال */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    flex: 1;
}

/* إصلاح الأيقونات لتعمل على أندرويد */
#mobile-bottom-menu i {
    font-family: "Font Awesome 5 Free", "Font Awesome 5 Brands" !important;
    font-weight: 900; /* ضروري جداً لظهور الأيقونات في أندرويد */
    font-size: 22px;
    margin-bottom: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-style: normal;
}

/* تأثير الضغط */
#mobile-bottom-menu a:active, 
#mobile-bottom-menu button:active {
    transform: scale(0.95);
    opacity: 0.8;
}

/* إخفاء المينيو في الشاشات الكبيرة */
@media (min-width: 769px) {
    #mobile-bottom-menu {
        display: none;
    }
}

/* ------------------ تخصيص أيقونة واتساب ------------------ */
#mobile-bottom-menu .fa-whatsapp {
    position: relative;
    width: 25px;
    height: 25px;
}

/* إلغاء الرمز الافتراضي للواتساب */
#mobile-bottom-menu .fa-whatsapp::before {
    content: none !important;
}

/* إدخال الصورة الخاصة بك */
#mobile-bottom-menu .fa-whatsapp::after {
    content: "";
    width: 24px;
    height: 24px;
    background: url("https://rebune.com/wp-content/uploads/2025/12/wha.png") no-repeat center;
    background-size: contain;
    display: block;
}

/* ------------------ تنسيقات إضافية ------------------ */
.s-quantity-input-input {
    background: initial !important;
    border: initial !important;
    color: black;
}

.s-cart-summary-count {
    background: white;
    color: #414042;
    border-radius: 50%; /* لجعل عداد السلة دائري */
    padding: 2px 5px;
    font-size: 10px;
}

.text-primary {
    color: #6b7280;
}

.currency.free small {
    display: none;
}

.list--shipping {
    display: flex !important;
    flex-direction: column !important;
}