/* =========================================
   بنر الهوم فقط - Full Width
   بدون التأثير على أي بنرات أخرى
========================================= */

[data-testid="store-home-fixed-banner"] {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding: 0 !important;
}

[data-testid="store-home-fixed-banner"] > .container {
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

[data-testid="store-home-fixed-banner"] .banner {
    display: block !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

[data-testid="store-home-fixed-banner"] picture {
    display: block !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
}

[data-testid="store-home-fixed-banner"] img {
    display: block !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: cover !important;
}
button.s-button-element.s-button-btn.s-button-primary-outline {
    background-color: #5f6368 !important;
    color: #fff !important;
    border-color: #5f6368 !important;
}

button.s-button-element.s-button-btn.s-button-primary-outline .s-button-text,
button.s-button-element.s-button-btn.s-button-primary-outline i {
    color: #fff !important;
}

button.s-button-element.s-button-btn.s-button-primary-outline:hover {
    background-color: #4f5459 !important;
    border-color: #4f5459 !important;
    color: #fff !important;
}
footer,
.s-footer {
    background: #18324a !important;
    color: #fff !important;
}

/* كل عناصر الفوتر */
footer *,
.s-footer * {
    color: #fff !important;
}

 /* =========================================
   الفوتر - رصاصي لامع
========================================= */

footer,
.s-footer {
    background: #5f6368 !important;
    color: #fff !important;
}

/* خلفيات جميع أجزاء الفوتر */
footer section,
footer div,
.s-footer section,
.s-footer div {
    background-color: transparent !important;
}

/* الروابط */
footer a,
.s-footer a {
    color: #fff !important;
}

/* العناوين */
footer h1,
footer h2,
footer h3,
footer h4,
footer h5,
footer h6,
.s-footer h1,
.s-footer h2,
.s-footer h3,
.s-footer h4,
.s-footer h5,
.s-footer h6 {
    color: #fff !important;
}

/* الأيقونات */
footer i,
footer svg,
.s-footer i,
.s-footer svg {
    color: #fff !important;
    fill: #fff !important;
}

/* النصوص والوصف */
footer p,
footer span,
footer strong,
footer b,
.s-footer p,
.s-footer span,
.s-footer strong,
.s-footer b {
    color: #fff !important;
}

/* عند تمرير الماوس على الروابط */
footer a:hover,
.s-footer a:hover {
    color: #f28c00 !important;
}

/* تغيير حقوق النشر */
footer p.text-gray-400.mb-2\.5.md\:mb-0 {
    font-size: 0 !important;
}

footer p.text-gray-400.mb-2\.5.md\:mb-0::after {
    content: "حقوق النشر محفوظة لكابلات الصالحي";
    font-size: 14px !important;
    color: #fff !important;
}

/* الماركي */
[class*="marquee"] {
    margin-top: -50px !important;
    padding-top: 0 !important;
}

/* الأيقونات */
footer i,
footer svg,
.s-footer i,
.s-footer svg {
    color: #fff !important;
    fill: #fff !important;
}

/* النصوص والوصف */
footer p,
footer span,
footer strong,
footer b,
.s-footer p,
.s-footer span,
.s-footer strong,
.s-footer b {
    color: #fff !important;
}

/* عند تمرير الماوس على الروابط */
footer a:hover,
.s-footer a:hover {
    color: #f28c00 !important;
}
footer p.text-gray-400.mb-2\.5.md\:mb-0 {
    font-size: 0 !important;
}

footer p.text-gray-400.mb-2\.5.md\:mb-0::after {
    content: "حقوق النشر محفوظة لكابلات الصالحي";
    font-size: 14px !important;
    color: #fff !important;
}
[class*="marquee"] {
    margin-top: -50px !important;
    padding-top: 0 !important;
}
/* =========================================
   منيو الموبايل - عمودية + زر التوجل أسود
========================================= */

@media (max-width: 768px) {

    /* زر فتح منيو الموبايل */
    #mainnav button,
    #mainnav .sicon-menu,
    #mainnav [class*="menu"],
    header button[aria-label*="menu"],
    header button[aria-label*="Menu"] {
        color: #000 !important;
    }

    /* أيقونة التوجل */
    #mainnav button svg,
    #mainnav button i,
    header button svg,
    header button i {
        color: #000 !important;
        fill: #000 !important;
        stroke: #000 !important;
    }

    /* قائمة الموبايل بشكل طولي */
    #mainnav custom-main-menu ul {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
    }

    #mainnav custom-main-menu li {
        display: block !important;
        width: 100% !important;
        text-align: right !important;
    }

    #mainnav custom-main-menu li a {
        display: flex !important;
        width: 100% !important;
        justify-content: flex-start !important;
        align-items: center !important;
        padding: 12px 15px !important;
        text-align: right !important;
    }
}
/* زيادة المسافة بين عناصر منيو الهيدر */
#mainnav custom-main-menu ul {
    gap: 30px !important;
}

#mainnav custom-main-menu li {
    margin: 0 !important;
}
a[href*="alsalhi-cables.com"]:hover {
    color: #000 !important;
    text-decoration: none !important;
}
/* =========================================
   منتجات الهوم - الموبايل
   2 منتجات جنب بعض
========================================= */

@media (max-width: 700px) {

    /* حاوية المنتجات */
    .s-products-list-wrapper.s-products-list-horizontal-cards {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
        width: 100% !important;
        padding: 0 8px !important;
        margin: 0 !important;
    }

    /* كل منتج */
    .s-products-list-wrapper.s-products-list-horizontal-cards
    > custom-salla-product-card {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 12px !important;
        overflow: hidden !important;
        background: #fff !important;
    }

    /* صورة المنتج */
    .s-products-list-wrapper.s-products-list-horizontal-cards
    .s-product-card-image {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
        margin: 0 !important;
        overflow: hidden !important;
        background: #f5f5f5 !important;
    }

    .s-products-list-wrapper.s-products-list-horizontal-cards
    .s-product-card-image a {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
    }

    .s-products-list-wrapper.s-products-list-horizontal-cards
    .s-product-card-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        display: block !important;
    }

    /* محتوى المنتج */
    .s-products-list-wrapper.s-products-list-horizontal-cards
    .s-product-card-content {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        min-width: 0 !important;
        padding: 8px 10px 10px !important;
        text-align: center !important;
    }

    /* اسم المنتج */
    .s-products-list-wrapper.s-products-list-horizontal-cards
    .s-product-card-content-title {
        margin: 0 !important;
        font-size: 14px !important;
        line-height: 1.45 !important;
        min-height: 60px !important;
    }

    .s-products-list-wrapper.s-products-list-horizontal-cards
    .s-product-card-content-title a {
        display: -webkit-box !important;
        -webkit-line-clamp: 3 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    /* السعر */
    .s-products-list-wrapper.s-products-list-horizontal-cards
    .s-product-card-price {
        font-size: 14px !important;
        font-weight: 700 !important;
        margin: 5px 0 !important;
        text-align: center !important;
    }

    /* منطقة الزر */
    .s-products-list-wrapper.s-products-list-horizontal-cards
    .s-product-card-content-footer {
        display: block !important;
        width: 100% !important;
        margin-top: auto !important;
    }

    /* زر إضافة للسلة */
    .s-products-list-wrapper.s-products-list-horizontal-cards
    salla-add-product-button {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        flex: none !important;
    }

    .s-products-list-wrapper.s-products-list-horizontal-cards
    salla-add-product-button salla-button,
    .s-products-list-wrapper.s-products-list-horizontal-cards
    salla-add-product-button button {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        padding: 10px 5px !important;
        font-size: 13px !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
        overflow: visible !important;
        text-overflow: clip !important;
    }

    /* منع اختصار النص داخل الزر */
    .s-products-list-wrapper.s-products-list-horizontal-cards
    salla-add-product-button * {
        white-space: nowrap !important;
        text-overflow: clip !important;
    }

    /* إخفاء زر المفضلة الجانبي */
    .s-products-list-wrapper.s-products-list-horizontal-cards
    .s-product-card-wishlist-btn {
        display: none !important;
    }

    /* إخفاء نهاية المحتوى */
    .s-infinite-scroll-last,
    .infinite-scroll-last {
        display: none !important;
    }
}/* =========================================
   الشهادة الضريبية بجانب السجل التجاري
========================================= */

salla-trust-badges[data-testid="store-footer-trust-badges"] {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
}

/* صورة الشهادة */
salla-trust-badges[data-testid="store-footer-trust-badges"]::after {
    content: "الشهادة الضريبية" !important;

    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;

    width: 150px !important;
    height: 55px !important;

    padding-right: 65px !important;

    box-sizing: border-box !important;

    background-image: url("https://cdn.files.salla.network/other/1858777642/481ae789-4003-48c2-8ce8-5479aa48b357-original.webp") !important;

    background-size: 55px 55px !important;
    background-repeat: no-repeat !important;
    background-position: right center !important;

    color: #fff !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
}