/*---------- homepage benefity ----------*/
.homepage-benefits {
    gap: 24px;
}
.homepage-benefit .icon-pozadie {
    margin-bottom: 14px;
}
.homepage-benefit p {
    margin: 0;
}
.homepage-benefit p.weight800 {
    margin-bottom: 6px;
}
.homepage-benefit p:not(.weight800) {
    color: #6b7280;
    line-height: 1.55;
}

@media (max-width: 767px) {
    .homepage-benefits {
        flex-direction: column;
        gap: 12px;
    }
    .homepage-benefit {
        width: 100%;
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: 16px;
        background: #fff;
        border: 1px solid #f0f0f2;
        border-radius: 18px;
        padding: 16px 18px;
        box-sizing: border-box;
        box-shadow: 0 6px 24px rgba(17, 17, 17, .05);
    }
    .homepage-benefit .icon-pozadie {
        flex-shrink: 0;
        width: 54px;
        height: 54px;
        padding: 0;
        margin-bottom: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .homepage-benefit .predajna-icon {
        width: 26px;
        height: 26px;
    }
    .homepage-benefit-text {
        gap: 3px;
        min-width: 0;
    }
    .homepage-benefit p.weight800 {
        font-size: 16px;
        line-height: 1.3;
        margin-bottom: 2px;
    }
    .homepage-benefit p:not(.weight800) {
        font-size: 13.5px;
    }
}

/*--------------HOMEPAGE---------*/

.homepage-categories {
    gap: 24px;
    align-items: stretch;
}
.homepage-categories-col-right {
    gap: 24px;
}

.homepage-categories-mobile {
    display: none;
}
@media (max-width: 767px) {
    .homepage-categories-desktop {
        display: none;
    }
    .homepage-categories-mobile {
        display: block;
        width: 100%;
        position: relative;
    }
    .homepage-categories-pagination {
        position: static !important;
        margin-top: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: auto;
    }
    .homepage-categories-pagination .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
        background: #ccc;
        opacity: 1;
        margin: 0;
    }
    .homepage-categories-pagination .swiper-pagination-bullet-active {
        background: #7B2FF7;
    }
}

.category-card {
    position: relative;
    display: flex;
    align-items: flex-end;
    flex: 1;
    min-height: 340px;
    overflow: hidden;
    text-decoration: none;
    background-size: cover;

    background-repeat: no-repeat;
}
.category-card1 {
    background-position: top;
}
.category-card2 {
    background-position: top;
}
.category-card3 {
    background-position: top;
}
.category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .6) 0%, rgba(0, 0, 0, 0) 55%);
}
.category-card-overlay {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 28px;
}
.category-card-title {
    letter-spacing: .5px;
    text-transform: uppercase;
}
.category-card-btn {
    letter-spacing: .5px;
    text-transform: uppercase;
    padding: 12px 22px;
    transition: background-color .2s ease;
}
.category-card:hover .category-card-btn {
    background: #eee;
}

.deti,
.zeny,
.muzi {
    background-image: url('/wp-content/uploads/2026/07/ki.png');
}

@media (max-width: 767px) {
    .category-card {
        min-height: 350px;
    }
}



/*--------------HOMEPAGE BANNER GRID---------*/
.banner-card {
    display: block;
    aspect-ratio: 1 / 1;
    background-color: #F5F5F7;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    aspect-ratio: 10 / 4;
}
/* Obrázok sa už nenačítava natvrdo z CSS (bolo by to eager, nie lazy) —
   nastavuje ho lazy-loading.js cez triedu .lazy-bg + atribút data-bg. */
@media (max-width: 900px) {
    .banner-card {
        aspect-ratio: 10 / 6;
    }
}

.homepage-photos-swiper .swiper-slide img {
    display: block;
    height: 100%;
    aspect-ratio: 4 / 2;
    object-fit: cover;
       
}
.homepage-photos-swiper .swiper-pagination {
    position: static !important;
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: auto;
}
.homepage-photos-swiper .swiper-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #ccc;
    opacity: 1;
    margin: 0;
}
.homepage-photos-swiper .swiper-pagination .swiper-pagination-bullet-active {
    background: #7B2FF7;
}

.homepage-products-swiper .swiper-slide {
    height: auto;
}
.homepage-products-swiper .swiper-slide .product-card {
    max-width: none;
    height: 100%;
}
.homepage-products-swiper .swiper-pagination {
    position: static !important;
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: auto;
}
.homepage-products-swiper .swiper-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #ccc;
    opacity: 1;
    margin: 0;
}
.homepage-products-swiper .swiper-pagination .swiper-pagination-bullet-active {
    background: #7B2FF7;
}

.predajna-icon {
    width: 40px;
    height: 40px;
    display: block;
}
.icon-pozadie {
    background-color: #E1E1E1;
    border-radius: 50%;
    padding: 13px;
}