/* Add custom CSS styles below */ 
body {
    background: #FFF9EE !important;
}
.bg-gray-100 {
    --tw-bg-opacity: 1;
    background-color: #FFF9EE !important;
}
.store-footer__inner {
    background-color: #FFF4E0;
  color: #8A5600;

}


/* AVE FIORI - 5 Equal Category Cards */

section[data-testid="store-home-square-photos"]
.square-photos-grid--featured-5 {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    grid-template-rows: auto !important;
    gap: 14px !important;
    max-width: 950px;
    margin: 0 auto !important;
    padding: 10px 0 !important;
}

/* Make all 5 cards identical */
.square-photos-grid--featured-5 > .banner-entry {
    grid-column: auto !important;
    grid-row: auto !important;
    grid-area: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 1 / 1 !important;
    padding: 0 !important;
    position: relative;
    overflow: hidden;
    border-radius: 18px !important;
    transition: transform .3s ease;
}

/* Display complete images including bottom text */
.square-photos-grid--featured-5
.banner-entry .lazy__bg {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-size: contain !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    border-radius: 18px !important;
}

/* Hover effect */
.square-photos-grid--featured-5
.banner-entry:hover {
    transform: translateY(-4px);
}

/* Mobile: horizontal swipe */
@media (max-width: 767px) {
    .square-photos-grid--featured-5 {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 10px !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        padding: 10px !important;
    }

    .square-photos-grid--featured-5::-webkit-scrollbar {
        display: none;
    }

    .square-photos-grid--featured-5 > .banner-entry {
        flex: 0 0 42% !important;
        scroll-snap-align: start;
    }
}


/* تكبير صور الأقسام الخمسة */
@media (min-width: 768px) {

  section[data-testid="store-home-square-photos"]
  .square-photos-grid--featured-5 {

    width: min(1200px, calc(100vw - 40px)) !important;
    max-width: none !important;

    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;

    gap: 10px !important;

    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin: 0 !important;
  }

}