/* الهوية العامة */
:root{
--bg:#F3ECDA;
--card:#F8F3E7;
--text:#1d1d1d;
--gold:#b28b52;
--border:#d8ccb6;
}

body,
.main-content,
.store-content,
.site-header,
.site-footer{
background:var(--bg)!important;
color:var(--text)!important;
}

/* الهيدر */
header,
.store-header{
background:#F3ECDA!important;
border-bottom:1px solid var(--border)!important;
}

/* بطاقات المنتجات */
.product,
.product-entry,
.product-card{
background:var(--card)!important;
border:1px solid var(--border)!important;
border-radius:24px!important;
overflow:hidden!important;
box-shadow:none!important;
transition:.3s!important;
}

.product:hover,
.product-card:hover{
transform:translateY(-6px);
}

/* الصور */
.product img{
border-radius:18px!important;
}

/* السعر */
.price{
font-weight:700!important;
font-size:22px!important;
}

/* زر السلة */
.btn--primary,
.btn-primary,
button[type=submit]{
background:#111!important;
color:#F3ECDA!important;
border-radius:16px!important;
border:none!important;
height:56px!important;
font-weight:700!important;
}

.btn--primary:hover{
transform:translateY(-2px);
}

/* العناوين */
h1,h2,h3,h4{
color:#111!important;
font-weight:700!important;
}

/* الفوتر */
footer{
background:#F3ECDA!important;
border-top:1px solid var(--border)!important;
}

/* واتساب */
.whatsapp-btn,
.salla-whatsapp{
border:4px solid #fff!important;
box-shadow:0 8px 20px rgba(0,0,0,.15)!important;
}

/* البانرات */
.banner,
.hero-section{
border-radius:28px!important;
overflow:hidden!important;
}

body,
main,
.site-content,
.s-block {
    background: #F3ECDA !important;
}

.product-entry,
.product-card {
    background: #faf6ed !important;
    border: 1px solid #e3d8c5 !important;
    border-radius: 22px !important;
    overflow: hidden;
    box-shadow: none !important;
}

.product-entry:hover {
    transform: translateY(-4px);
    transition: .3s;
}

.btn--primary,
.btn-primary {
    background: #111 !important;
    color: #F3ECDA !important;
    border-radius: 16px !important;
    border: none !important;
    height: 56px !important;
    font-weight: 700 !important;
}

footer,
.store-footer {
    background: #111 !important;
    color: #F3ECDA !important;
}

footer a {
    color: #F3ECDA !important;
}
/* خلفية صفحة المنتج */
.product-form,
.product-options,
.s-product-options-wrapper,
.s-product-options-option,
.card,
.s-block {
    background: #F3ECDA !important;
}

/* القوائم المنسدلة */
select,
.form-control,
.s-form-control,
.dropdown-toggle {
    background: #FAF6ED !important;
    border: 1px solid #DCCFB8 !important;
    color: #222 !important;
    border-radius: 16px !important;
}

/* عند الضغط على القائمة */
select:focus,
.form-control:focus {
    border-color: #B08B57 !important;
    box-shadow: 0 0 0 3px rgba(176,139,87,.15) !important;
}

/* عناوين الخيارات */
.s-product-options-option-label,
label {
    color: #222 !important;
    font-weight: 700 !important;
}

/* عداد الكمية */
.quantity-input,
.s-quantity-input {
    background: #FAF6ED !important;
    border: 1px solid #DCCFB8 !important;
    border-radius: 16px !important;
}

/* زر اشتر الآن */
.btn--primary,
.btn-primary {
    background: #111 !important;
    color: #F3ECDA !important;
    border: none !important;
    border-radius: 16px !important;
}

/* زر Apple Pay */
.apple-pay-button,
.btn-apple-pay {
    border-radius: 16px !important;
}

/* زر السلة الأسود */
.btn--add-to-cart {
    background: #111 !important;
    color: #F3ECDA !important;
    border-radius: 16px !important;
}
/* ==========================================================================
   1. تنسيق وترتيب كرت المنتج بالكامل (ثابت وظاهر)
   ========================================================================== */
.s-product-card {
    background: #ffffff !important; /* خلفية بيضاء ثابتة لضمان ظهور الكرت */
    border-radius: 16px !important; /* حواف دائرية ناعمة ونظيفة */
    border: 1px solid #f0f0f0 !important; /* إطار خفيف جداً وغير مزعج */
    padding: 12px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03) !important;
    transition: all 0.3s ease-in-out !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

/* تفاعل الكرت عند تمرير الماوس أو اللمس */
.s-product-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08) !important;
    border-color: #c5a880 !important;
}

/* تنعيم حواف الصورة */
.s-product-card__image img {
    border-radius: 12px !important;
    object-fit: cover !important;
}

/* ==========================================================================
   2. تنظيف وترتيب النصوص والأسعار
   ========================================================================== */
/* اسم المنتج */
.s-product-card__title h2, 
.s-product-card__title a {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
    margin: 8px 0 4px 0 !important;
    line-height: 1.4 !important;
}

/* شارة الشحن المجاني (تنسيق نظيف بدون تداخل) */
.s-product-card__sub-title,
[class*="shipping"] {
    color: #8c8c8c !important;
    font-size: 11px !important;
    margin-bottom: 8px !important;
    display: block !important;
}

/* السعر */
.s-product-card__price {
    font-weight: 700 !important;
    color: #1a1a1a !important;
    font-size: 14px !important;
    margin-top: auto !important;
    margin-bottom: 10px !important;
}

/* ==========================================================================
   3. زر "إضافة للسلة" المودرن والتفاعلي
   ========================================================================== */
.s-product-card__button,
.s-button-element {
    width: 100% !important;
    background: #1a1a1a !important; /* أسود مطفي فخم */
    color: #ffffff !important;
    border: none !important;
    border-radius: 25px !important; /* حواف دائرية بالكامل */
    padding: 10px 0 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    transition: all 0.2s ease-in-out !important;
    cursor: pointer !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

/* تأثير التفاعل والتحول للون الذهبي الفخم عند اللمس/المرور */
.s-product-card__button:hover,
.s-button-element:hover {
    background: #c5a880 !important; 
    color: #ffffff !important;
    box-shadow: 0 6px 15px rgba(197, 168, 128, 0.4) !important;
}