/* ===== GLOBAL BACKGROUND ===== */

body{
background:#162635 !important;
color:#E8F0F6 !important;
}

/* ===== HEADER ===== */

.main-header,
.navbar,#mainnav,
header{

background:#1E3245 !important;
border-bottom:1px solid rgba(255,255,255,0.06);
box-shadow:0 4px 18px rgba(0,0,0,0.35);
}

/* روابط الهيدر */

.main-header a,
.navbar a{

color:#E8F0F6 !important;
}

.main-header a:hover{
color:#9FC1E3 !important;
}

/* ===== PRODUCT CARDS ===== */

.s-product-card{

background:#1E3245 !important;
border-radius:16px;
border:1px solid rgba(255,255,255,0.05);

transition:all .25s ease;

}

.s-product-card:hover{

transform:translateY(-6px);

box-shadow:0 15px 35px rgba(0,0,0,0.45);

}

/* صورة المنتج */

.s-product-card img{

border-radius:12px;

}

/* اسم المنتج */

.s-product-card-name{

color:white !important;

font-weight:600;

}

/* السعر */

.s-product-card-price{

color:#9FC1E3 !important;

font-weight:700;

}

/* ===== BUTTONS ===== */

.s-button,
button,
.btn{

background:#3F5F7F !important;

color:white !important;

border-radius:10px;

border:none;

}

.s-button:hover{

background:#567da5 !important;

}

/* ===== ADD TO CART ===== */

.s-product-card .s-button{

width:100%;

margin-top:8px;

}

/* ===== INPUTS ===== */

input,
select,
textarea{

background:#1E3245 !important;

border:1px solid rgba(255,255,255,0.08);

color:white;

}

/* ===== CATEGORY CARDS ===== */

.category-card{

background:#1E3245 !important;

border-radius:14px;

border:1px solid rgba(255,255,255,0.05);

}

/* ===== FOOTER ===== */

footer{

background:#162635 !important;

color:#d4e1ec;

}

/* ===== LINKS ===== */

a{

color:#9FC1E3;

}

a:hover{

color:white;

}
/* ===== PRODUCT PAGE BOX ===== */

.product-form,
.product-info,
.product-card,
.product-details{

background:#1E3245 !important;
color:#E8F0F6 !important;

border-radius:14px;

}

/* ===== PRICE BOX ===== */

.product-price,
.price-wrapper{

color:#9FC1E3 !important;

}

/* ===== QUANTITY BOX ===== */

.quantity,
.quantity-input,
input[type="number"]{

background:#162635 !important;

border:1px solid rgba(255,255,255,0.08) !important;

color:white !important;

}

/* ===== QUANTITY BUTTONS ===== */

.quantity button{

background:#3F5F7F !important;

color:white !important;

}

/* ===== BUY NOW BUTTON ===== */

.btn-buy,
.buy-now,
.s-button-outline{

background:transparent !important;

border:1px solid #3F5F7F !important;

color:white !important;

}

/* ===== ADD TO CART ===== */

.btn-add-to-cart,
.add-to-cart,
.s-product-card .s-button{

background:#3F5F7F !important;

color:white !important;

}

/* ===== INPUTS ===== */

input,
select,
textarea{

background:#162635 !important;

color:white !important;

border:1px solid rgba(255,255,255,0.08) !important;

}

/* ===== DROPDOWNS ===== */

.dropdown-menu{

background:#1E3245 !important;

color:white !important;

}

/* ===== MODALS ===== */

.modal-content{

background:#1E3245 !important;

color:white !important;

}

/* ===== FIX DARK TEXT ===== */

p, span, label, small{

color:#E8F0F6 !important;

}
/* ===== REMOVE WHITE BACKGROUNDS ===== */

.bg-white,
.bg-white-100,
.sticky-product-bar,
section.bg-white,
.product-form section{

background:#1E3245 !important;

color:#E8F0F6 !important;

border:1px solid rgba(255,255,255,0.05);

}

/* ===== FIX PRODUCT TITLE ===== */

.text-gray-800{
color:#ffffff !important;
}

/* ===== FIX SECONDARY TEXT ===== */

.text-gray-500{
color:#b6c7d6 !important;
}

/* ===== FIX PRICE ===== */

.price-wrapper,
.total-price{
color:#9FC1E3 !important;
}

/* ===== FIX QUANTITY BOX ===== */

.s-quantity-input-container{

background:#162635 !important;

border:1px solid rgba(255,255,255,0.08) !important;

border-radius:10px;

}

/* ===== QUANTITY BUTTONS ===== */

.s-quantity-input-button{

background:#3F5F7F !important;

color:white !important;

}

/* ===== QUANTITY INPUT ===== */

.s-quantity-input-input{

background:transparent !important;

color:white !important;

}

/* ===== ADD TO CART BUTTON ===== */

.s-button-primary{

background:#3F5F7F !important;

border:none !important;

color:white !important;

}

/* ===== OUTLINE BUTTONS ===== */

.s-button-outline{

border:1px solid #3F5F7F !important;

color:white !important;

}

/* ===== BREADCRUMBS ===== */

.breadcrumbs{

color:#b6c7d6 !important;

}

.breadcrumbs a{

color:#9FC1E3 !important;

}

/* ===== PRODUCT DESCRIPTION ===== */

.product__description{

color:#E8F0F6 !important;

}

/* ===== SHARE ICONS ===== */

.s-social-share-btn{

background:#1E3245 !important;

border:1px solid rgba(255,255,255,0.06);

}
/* ===== PRODUCT CARD ===== */

custom-salla-product-card{
background:#1E3245 !important;
border-radius:14px;
border:1px solid rgba(255,255,255,0.05);
overflow:hidden;
transition:all .25s ease;
}

/* Hover */

custom-salla-product-card:hover{
transform:translateY(-6px);
box-shadow:0 15px 40px rgba(0,0,0,0.45);
}

/* ===== PRODUCT IMAGE ===== */

.s-product-card-image{
background:#162635 !important;
padding:8px;
}

/* ===== TITLE ===== */

.s-product-card-content-title a{
color:#ffffff !important;
font-weight:600;
line-height:1.6;
}

/* ===== PRICE ===== */

.s-product-card-price{
color:#9FC1E3 !important;
font-weight:700;
font-size:18px;
}

/* ===== CARD CONTENT ===== */

.s-product-card-content{
background:#1E3245 !important;
}

/* ===== ADD TO CART BUTTON ===== */

.s-product-card-content-footer .s-button-outline{
background:#3F5F7F !important;
border:none !important;
color:white !important;
border-radius:10px;
}

/* Hover button */

.s-product-card-content-footer .s-button-outline:hover{
background:#567da5 !important;
}

/* ===== WISHLIST BUTTON ===== */

.s-product-card-wishlist-btn{
background:#162635 !important;
border:1px solid rgba(255,255,255,0.1);
color:white !important;
}
/* ===== OFFER SECTION ===== */

.s-offer-wrapper{
background:#162635 !important;
padding:20px 0;
}

/* عنوان القسم */

.s-slider-block__title h2{
color:white !important;
font-weight:700;
}

.s-slider-block__title p{
color:#9fb3c8 !important;
}

/* كرت العرض */

.s-offer-card{
background:#1E3245 !important;
border-radius:14px;
border:1px solid rgba(255,255,255,0.05);
padding:18px;
transition:all .25s ease;
}

/* Hover */

.s-offer-card:hover{
transform:translateY(-5px);
box-shadow:0 15px 40px rgba(0,0,0,0.45);
}

/* أيقونة العرض */

.s-offer-card-icon{
background:#24384D;
color:#9FC1E3;
border-radius:10px;
padding:10px;
}

/* عنوان العرض */

.s-offer-card-title{
color:white !important;
font-weight:700;
}

/* وصف العرض */

.s-offer-card-description{
color:#c4d3e0 !important;
}

/* روابط التصنيفات */

.s-offer-category-item{
background:#162635;
color:#9FC1E3 !important;
border-radius:8px;
padding:4px 10px;
margin:3px;
display:inline-block;
}

/* Hover للتصنيفات */

.s-offer-category-item:hover{
background:#3F5F7F;
color:white !important;
}
/* ===== FEATURES SECTION ===== */

.s-block--features{
background:#162635 !important;
padding:40px 0;
}

.s-block--features__item{
background:#1E3245 !important;
border-radius:14px;
border:1px solid rgba(255,255,255,0.05);
padding:20px;
text-align:center;
transition:all .25s ease;
}

.s-block--features__item:hover{
transform:translateY(-5px);
box-shadow:0 12px 30px rgba(0,0,0,0.45);
}

/* icon */

.feature-icon{
color:#9FC1E3;
font-size:28px;
margin-bottom:10px;
}

/* title */

.s-block--features__item h2{
color:white !important;
font-weight:700;
}

/* description */

.s-block--features__item p{
color:#c4d3e0 !important;
}

/* ===== REVIEWS SECTION ===== */

.s-reviews-testimonial{

background:#1E3245 !important;
border-radius:14px;
border:1px solid rgba(255,255,255,0.05);
padding:25px;
}

.s-reviews-testimonial__inner{
color:#E8F0F6 !important;
}

/* avatar */

.s-reviews-testimonial__avatar img{
border-radius:50%;
border:2px solid #3F5F7F;
}

/* name */

.s-reviews-testimonial__info h2{
color:white !important;
font-weight:600;
}

/* stars */

.s-rating-stars-selected svg{
fill:#9FC1E3 !important;
}

/* quote icon */

.s-reviews-testimonial__icon{
color:#3F5F7F;
}
/* ===== GLOBAL DARK MODE ===== */

body{
background:#162635 !important;
color:#E8F0F6 !important;
}

/* ===== FIX ALL WHITE BACKGROUNDS ===== */

.bg-white,
.bg-white-100,
.bg-gray-50,
.bg-gray-100,
.bg-gray-200{
background:#1E3245 !important;
}

/* ===== FIX ALL TEXT COLORS ===== */

.text-gray-900,
.text-gray-800,
.text-gray-700{
color:#ffffff !important;
}

.text-gray-600,
.text-gray-500{
color:#b6c7d6 !important;
}

/* ===== FIX BORDERS ===== */

.border,
.border-gray-200,
.border-gray-300{
border-color:rgba(255,255,255,0.08) !important;
}

/* ===== BUTTON SYSTEM ===== */

.s-button-primary,
.s-button-outline,
button{

background:#3F5F7F !important;
color:white !important;
border:none !important;
}

/* ===== INPUTS ===== */

input,
select,
textarea{

background:#162635 !important;
color:white !important;
border:1px solid rgba(255,255,255,0.08) !important;

}

/* ===== MODALS ===== */

.s-modal-body{
background:#1E3245 !important;
color:white !important;
}

.s-modal-header{
border-bottom:1px solid rgba(255,255,255,0.05);
}

.s-modal-footer{
border-top:1px solid rgba(255,255,255,0.05);
}

/* ===== CARDS ===== */

.s-product-card-entry,
.s-offer-card,
.s-reviews-testimonial{

background:#1E3245 !important;
border:1px solid rgba(255,255,255,0.05);

}
/* ===== GLOBAL DARK THEME ===== */

:root{
--dark-bg:#162635;
--dark-card:#1E3245;
--dark-soft:#24384D;
--accent:#3F5F7F;
--text:#E8F0F6;
--text-soft:#B8C7D6;
}

/* ===== BODY ===== */

body{
background:var(--dark-bg) !important;
color:var(--text) !important;
}

/* ===== FORCE REMOVE WHITE ===== */

[class*="bg-white"],
[class*="bg-gray"],
.bg-white,
.bg-gray-50,
.bg-gray-100,
.bg-gray-200,
.bg-gray-300{
background:var(--dark-card) !important;
}

/* ===== TEXT COLORS ===== */

[class*="text-gray-9"],
[class*="text-gray-8"],
[class*="text-gray-7"]{
color:#ffffff !important;
}

[class*="text-gray-6"],
[class*="text-gray-5"]{
color:var(--text-soft) !important;
}

/* ===== BORDERS ===== */

[class*="border-gray"],
.border{
border-color:rgba(255,255,255,0.08) !important;
}

/* ===== CARDS ===== */

.s-product-card-entry,
.s-offer-card,
.s-reviews-testimonial,
.s-block--features__item{
background:var(--dark-card) !important;
border:1px solid rgba(255,255,255,0.05);
}

/* ===== MODALS ===== */

.s-modal-body{
background:var(--dark-card) !important;
color:var(--text) !important;
}

/* ===== BUTTON SYSTEM ===== */

.s-button,
button{
background:var(--accent) !important;
color:white !important;
border:none !important;
}

/* outline buttons */

.s-button-outline{
background:transparent !important;
border:1px solid var(--accent) !important;
color:white !important;
}

/* ===== INPUTS ===== */

input,
textarea,
select{
background:var(--dark-soft) !important;
color:white !important;
border:1px solid rgba(255,255,255,0.1) !important;
}

/* ===== DROPDOWNS ===== */

.dropdown-menu{
background:var(--dark-card) !important;
}

/* ===== ICONS ===== */

svg{
color:var(--text);
fill:currentColor;
}

/* ===== SLIDERS ===== */

.swiper{
background:transparent !important;
}
/* ===== ADD TO CART TOAST ===== */

salla-add-product-toast{
background:#1E3245 !important;
color:#E8F0F6 !important;
border:1px solid rgba(255,255,255,0.08);
border-radius:12px;
}

/* header */

.s-add-product-toast__header{
background:transparent !important;
}

/* divider */

.s-add-product-toast__divider{
background:rgba(255,255,255,0.08) !important;
}

/* title */

.s-add-product-toast__title{
color:white !important;
}

/* product name */

.s-add-product-toast__name{
color:#E8F0F6 !important;
}

/* price */

.s-add-product-toast__price-sale{
color:#9FC1E3 !important;
}

/* progress bar */

.s-add-product-toast__progress-bar{
background:#3F5F7F !important;
}

/* close button */

.s-add-product-toast__close{
color:white !important;
}
[class*="s-"]{
color:#E8F0F6;
}
/* ===== LOGIN MODAL ===== */

.s-modal-body{

background:#1E3245 !important;
border-radius:12px;
border:1px solid rgba(255,255,255,0.08);

}

/* header */

.s-modal-header{

background:transparent !important;
border-bottom:1px solid rgba(255,255,255,0.05);

}

/* close icon */

.s-modal-close{

color:white !important;

}

/* iframe container */

.s-modal-body iframe{

background:#1E3245 !important;

}