/* ========== الألوان الأساسية ========== */
:root {
    --primary-color: #b80000; /* لون الهيدر */
    --secondary-color: #b80000; /* لون المنتجات */
    --color-primary-reverse: #b80000; /* لون معكوس */
    --logo: url("https://cdn.salla.sa/cdn-cgi/image/fit=scale-down,width=400,height=400,onerror=redirect,format=auto/pQYarZ/FoJwQHBdQrrqGEpMuvnWo3u0AJ8ran2un17ptlA6.png");
}

/* ========== الهيدر (Header) ========== */
.main-nav-container {
    background: var(--primary-color)!important; /* خلفية الهيدر */
}

.main-menu li.root-level > a {
    color: white; /* لون النص في الهيدر */
    font-size: 18px;
}

/* ========== المنتجات (Products) ========== */
.s-product-card-entry {
    box-shadow: 0 2px 10px 0 var(--secondary-color);
    border: 1px solid var(--secondary-color);
}

.s-product-card-content-title a {
    font-size: 17px;
    color: var(--secondary-color); /* لون عنوان المنتج */
}

.s-product-card-content-subtitle {
    font-size: 15px;
    color: var(--primary-color); /* لون وصف المنتج */
}

/* ========== الفوتر (Footer) ========== */
.footer-is-light .store-footer {
    background-color: var(--primary-color)!important;
}

.footer-is-light .store-footer .store-footer__inner {
    background-color: var(--primary-color)!important;
    color: #fff; /* لون النص في الفوتر */
}

.store-footer h3 {
    color: var(--secondary-color); /* لون العنوان في الفوتر */
}

.store-footer__inner::before {
    content: "";
    background: linear-gradient(180deg, transparent 38%, #fff 94%), url(https://cdn.salla.sa/form-builder/wNtMv6kZ8Kfwn4HwWEwhunZoi5STLtYzRDjaevXg.png);
    background-size: 418%;
    display: block;
    background-repeat: round;
    transform: rotate(180deg);
    height: 104px;
    margin: -65px -32px 1px 1px;
}

/* ========== محو النص الأصلي وإضافة النص المخصص ========== */
.text-gray-400.mb-2\.5.md\:mb-0 {
    display: none; /* إخفاء النص الأصلي */
}

.custom-footer::after {
    content: 'برمجة وتصميم (أيقونة المستقبل)';
    display: block;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    color: #0056b; /* لون النص الجديد */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: text-shadow 0.3s ease-in-out;
}

.custom-footer::after:hover {
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    color: #0056b3;
}

/* ========== تحسينات التصميم العامة ========== */

/* تصميم مربع البحث */
.top-navbar .s-search-input {
    background-color: #fff!important;
    box-shadow: 0 1px 5px 0 var(--secondary-color);
    border: 1px solid var(--secondary-color)!important;
    width: 20%!important;
    transition: 0.5s;
}
.top-navbar .s-search-input:focus {
    width: 100%!important;
}

/* زر السلة */
span.s-cart-summary-count {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    
}

/* أزرار المنتجات */
.s-button-wide {
    width: 100%;
    border-radius: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);

}

/* هوامش المنتجات الثابتة */
@media (max-width: 991px) {
    .s-product-card-entry {
        flex-direction: column;
    }
    .s-products-list-horizontal-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
    }
}

.header-btn__icon {
    display: flex;
    height: 2.5rem;
    width: 2.5rem;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    border-width: 2px;
    --tw-border-opacity: 1;
    border-color: rgba(229, 231, 235, 1);
    border-color: rgba(229, 231, 235, var(--tw-border-opacity, 1));
    font-size: 1.25rem;
    line-height: 1.75rem;
    --tw-text-opacity: 1;
    color: rgba(55, 65, 81, 1);
    color: rgb(255 255 255);
}

.store-footer__inner {
    border-bottom-width: 1px;
    border-style: dashed;
    border-bottom-color: rgba(255, 255, 255, 0.1);
    --tw-bg-opacity: 1;
    background-color: rgba(29, 31, 31, 1);
    background-color: rgb(139 3 3);
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.store-footer h3 {
    color: #ffffff;
}