/* Add custom CSS styles below */ 

/* Reverse banner and products slider positions */
section[component-id="257445309"]
.special-products-slider__inner {
    flex-direction: row-reverse !important;
}

/* Mobile: reverse vertical order */
@media (max-width: 1023px) {
    section[component-id="257445309"]
    .special-products-slider__inner {
        flex-direction: column-reverse !important;
    }
}

/* Reverse sections with proper spacing */
section[component-id="257445309"]
.special-products-slider__inner {
    flex-direction: row-reverse !important;
    gap: 40px !important;
    column-gap: 40px !important;
}

/* Remove old spacing */
section[component-id="257445309"]
.special-products-slider__inner > * {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Mobile */
@media (max-width: 1023px) {
    section[component-id="257445309"]
    .special-products-slider__inner {
        flex-direction: column-reverse !important;
        gap: 20px !important;
    }
}

@media (min-width: 1024px) {

    section[component-id="257445309"] .justify-center {
    justify-content: end;
} }


.footer-is-custom .store-footer .store-footer__contacts-row, .footer-is-custom .store-footer .store-footer__inner, .footer-is-custom .store-footer .store-footer__newsletter {
    background-color: #E8D4B4;
    --tw-border-opacity: 1;
    border-bottom-color: #e5e7eb;
    border-bottom-color: rgba(229, 231, 235, var(--tw-border-opacity, 1));
}


.footer-is-custom .store-footer .footer-bottom {
    background-color: #E8D4B4;
}




/* Responsive Categories Background - Mobile */
@media (max-width: 600px) {

  .categories-section .categories-background {
    width: 100%;
    min-height: unset !important;
    height: auto !important;

    background-image: none;
    background-size: 100% 100% !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;

    padding: 35px 12px !important;
    box-sizing: border-box;
  }


}

@media (max-width: 765px) {
    section[component-id="257445309"] .special-products-slider__inner {
        flex-direction: column !important;
        gap: 20px !important;
    }
}

,@media (max-width: 765px) {
    .categories-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 5px;
    }
}


[data-selia="home-square-links-item"] img,
[data-selia="home-square-links-item"]:hover img {
    transform: none !important;
    scale: 1 !important;
    transition: none !important;
}


/* إظهار صور الأقسام كاملة بدون قص */
[data-selia="home-square-links-item"] .square-links__image-wrap img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    max-width: 100% !important;
}

/* إلغاء أي ارتفاع ثابت للحاوية */
[data-selia="home-square-links-item"] .square-links__image-wrap {
    height: auto !important;
    overflow: visible !important;
}