/* --- 1. الألوان الأساسية والهوية --- */
:root {
    --color-primary: #86a660 !important;
    --bs-primary-rgb: 134, 166, 96 !important;
}

.btn-primary, .s-button-view, .product-card .btn {
    background-color: #86a660 !important;
    border-color: #86a660 !important;
    color: #ffffff !important;
}

.link-primary, .ti-brand-tiktok, .ti-brand-instagram, .ti-brand-snapchat {
    color: #86a660 !important;
}

/* --- 2. تنسيق أزرار المنتج (العداد والزر) --- */
.js-quantity-add-buttons.fixed-bottom {
    position: relative !important;
    bottom: auto !important;
    display: table !important; 
    width: 100% !important;
    border-spacing: 15px 0 !important; 
    border-collapse: separate !important;
    padding: 10px 0 !important;
    margin: 15px 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.js-quantity-add-buttons .js-quantity-wrapper,
.js-quantity-add-buttons button[type="submit"] {
    display: table-cell !important;
    vertical-align: middle !important;
}

.js-quantity-add-buttons .js-quantity-wrapper {
    width: 125px !important;
    min-width: 125px !important;
    height: 50px !important;
    border: 1px solid #ddd !important;
    border-radius: 10px !important;
    background: #fff !important;
    white-space: nowrap !important;
    text-align: center !important;
}

.js-quantity-add-buttons .js-quantity-wrapper > * {
    display: inline-block !important;
    vertical-align: middle !important;
    line-height: 50px !important;
}

.js-quantity-add-buttons .js-quantity-wrapper button {
    width: 38px !important;
    background: #f8f9fa !important;
    border: none !important;
    font-size: 20px !important;
}

.js-quantity-add-buttons .js-quantity-wrapper input {
    width: 40px !important;
    border: none !important;
    background: transparent !important;
    font-weight: bold !important;
}

.js-quantity-add-buttons button[type="submit"] {
    width: 100% !important;
    height: 50px !important;
    border-radius: 10px !important;
    white-space: nowrap !important;
    font-size: 16px !important;
    font-weight: bold !important;
}

.js-quantity-add-buttons .product-price,
.js-quantity-add-buttons .btn-wishlist,
.js-quantity-add-buttons .price-wrapper,
.js-quantity-add-buttons::before,
.js-quantity-add-buttons::after {
    display: none !important;
}

/* --- 3. إصلاح بنر الديسكتوب (Desktop) --- */
@media (min-width: 768px) {
    #hero-slider-fb69593e-2d7e-4a11-8c36-b8435ee0f350 {
        width: 100% !important;
        aspect-ratio: 1920 / 1020 !important;
        height: auto !important;
        display: block !important;
    }
}

/* --- 4. بنر الجوال (Mobile 3:4) --- */
@media (max-width: 767px) {
    #hero-slider-fb69593e-2d7e-4a11-8c36-b8435ee0f350 {
        width: 100% !important;
        aspect-ratio: 3 / 4 !important;
        height: auto !important;
    }
}

/* Direct target for your slider ID */
#hero-slider-fb69593e-2d7e-4a11-8c36-b8435ee0f350 {
    width: 100%;
    /* Forces the 1920x1020 aspect ratio */
    aspect-ratio: 1920 / 1020;
}

/* Ensure the slider containers fill the forced ratio height */
#hero-slider-fb69593e-2d7e-4a11-8c36-b8435ee0f350 .carousel-inner,
#hero-slider-fb69593e-2d7e-4a11-8c36-b8435ee0f350 .carousel-item {
    height: 100%;
}

/* Prevents images from stretching or squashing */
#hero-slider-fb69593e-2d7e-4a11-8c36-b8435ee0f350 .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: center;
}