/* Add custom CSS styles below */

/* الهيدر واللوجو */
.main-header,
.s-header,
.store-header,
header {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

.s-header .container,
.main-header .container,
header .container {
    padding-top: 25px !important;
    padding-bottom: 25px !important;
}

.s-header__logo img,
.logo img,
.navbar-brand img,
img[alt*="logo"] {
    max-height: 130px !important;
    height: 130px !important;
    width: auto !important;
}

.s-header__logo,
.logo,
.navbar-brand {
    transform: scale(1.25) !important;
}

/* إزالة الشريط الأبيض */
html,
body {
    margin: 0 !important;
    padding: 0 !important;
}

/* الوضع الداكن */
html.dark-mode,
body.dark-mode,
html.dark-mode body,
body.dark-mode main,
body.dark-mode section,
body.dark-mode article {
    background: #000 !important;
    background-color: #000 !important;
    color: #fff !important;
}

body.dark-mode header,
body.dark-mode .main-header,
body.dark-mode .s-header,
body.dark-mode .store-header {
    background: #000 !important;
    background-color: #000 !important;
}

body.dark-mode .s-product-card,
body.dark-mode .product,
body.dark-mode .card,
body.dark-mode [class*="product-card"] {
    background: #111 !important;
    background-color: #111 !important;
    color: #fff !important;
    border-color: #222 !important;
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6,
body.dark-mode p,
body.dark-mode span,
body.dark-mode a,
body.dark-mode label,
body.dark-mode small,
body.dark-mode .section-title,
body.dark-mode .section-description,
body.dark-mode .s-block__title,
body.dark-mode .s-block__description,
body.dark-mode .category-name {
    color: #fff !important;
}

/* البحث */
.s-search-input,
input[type="search"] {
    background: rgba(255,255,255,0.15) !important;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,0.3) !important;
}

.s-search-input::placeholder,
input[type="search"]::placeholder {
    color: #fff !important;
}

/* أزرار الجوال */
.custom-mobile-header-actions {
    position: fixed !important;
    top: 72px !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 99999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 28px !important;
    pointer-events: none !important;
}

.custom-mobile-header-actions button {
    pointer-events: auto !important;
    background: transparent !important;
    border: none !important;
    color: #fff !important;
    font-size: 34px !important;
    width: 42px !important;
    height: 42px !important;
}

/* الكمبيوتر فقط */
@media (min-width: 768px) {
    .custom-mobile-header-actions {
        display: none !important;
    }
}

/* الواتساب */
a[href*="wa.me"],
a[href*="whatsapp"] {
    bottom: 90px !important;
    right: 15px !important;
    left: auto !important;
}

/* أزرار التواصل */
.custom-contact-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 25px;
}

.custom-contact-buttons a {
    background: #fff;
    border: 2px solid #e5e5e5;
    border-radius: 16px;
    padding: 14px 28px;
    font-size: 20px;
    font-weight: 700;
    color: #000 !important;
    text-decoration: none;
}

body.dark-mode .custom-contact-buttons a {
    background: #111 !important;
    border-color: #333 !important;
    color: #fff !important;
}





/* القائمة الجانبية */

body.dark-mode .sidebar,
body.dark-mode .side-menu,
body.dark-mode .mobile-menu,
body.dark-mode .drawer,
body.dark-mode .menu-drawer,
body.dark-mode .s-side-menu,
body.dark-mode .s-menu {
    background: #000 !important;
    color: #fff !important;
}

body.dark-mode .sidebar *,
body.dark-mode .side-menu *,
body.dark-mode .mobile-menu *,
body.dark-mode .drawer *,
body.dark-mode .menu-drawer *,
body.dark-mode .s-side-menu *,
body.dark-mode .s-menu * {
    color: #fff !important;
}