@import url("https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.css");

#preloader {
    display: none !important;
}

p {
    color: black;
    font-weight: normal;
}

.swiper {
    --swiper-theme-color: var(--primaryColor);
}

.content {
    max-width: 1440px;
    margin: 0 auto;
    overflow: hidden;
}

.main-categories {
    max-width: 100%;
    margin: 0 auto;
    margin-top: 40px;
}

.main-categories .swiper-slide {
    width: 300px;
    /* height: 400px; */
}

.main-categories .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-categories .swiper-slide .title {
    display: block;
    position: relative;
    top: -75px;
    font-size: 27px;
    color: white;
    z-index: 10000;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);

    font-family: "Noto Sans Hebrew", sans-serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
    font-variation-settings: "wdth" 62.5;
}

.sub-categories h2 {
    /* border-top: 1px solid var(--primaryColor); */
    margin-top: 120px;
    text-align: center;
    color: var(--primaryColor);
    font-weight: 300;
}

.sub-categories h2 a {
    color: var(--primaryColor);
}

.sub-category {
    margin-top: 50px;
    max-width: 1440px;
    margin: 0 auto;
}

.sub-category .swiper-slide {
    background: white;
    height: auto;
}

.sub-category.small-count-1 {
    width: 17.7%;
}

.sub-category.small-count-2 {
    width: 37.1%;
}

.sub-category.small-count-3 {
    width: 56.5%;
}

/* .sub-category.small-count .swiper-wrapper {
    justify-content: center;
} */

.product-container {
    /* border: 1px solid var(--primaryColoraa); */
    /* position: relative; */
    background: white;
    /* padding: 10px; */
    /* width: 24%; */
    text-align: center;
    height: 100%;
}

.product-container>a {
    /* display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    height: auto;
    direction: rtl; */
    display: grid;
    grid-template-columns: auto;
    height: 100%;
}

.product-container__bottom {
    display: flex;
    flex-direction: column;
    justify-content: end;
    margin-bottom: 15px;
}

.product-container .name {
    font-size: 20px;
    font-weight: 500;
    height: 60px;
    max-height: 60px;
    min-height: 60px;
    overflow: hidden;
}

.product-container .price {
    font-size: 20px;
    font-weight: 900;
    color: var(--primaryColor);
}

.product__colors-wrapper .show {
    display: block;
}

.sub-category__products {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.sub-category__product {
    width: 24%;
    position: relative;
}

.futures {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    align-items: start;
    gap: 60px;
    margin: 40px auto;
    border: none;
    background: #fcc471;
    padding: 80px 80px;
    margin-top: 120px;
    position: relative;
    z-index: 1;
}

.futures .future {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.futures .future .title {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    color: white;
    margin: 5px 0px;
}

.futures .future .text {
    text-align: center;
    font-size: 18px;
}

.futures .future img {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.nn-explain__container {
    margin: 130px auto;
    background: #94b7b3;
    position: relative;
    z-index: 1;
}

.nn-explain__container:before,
.nn-explain__container:after,
.futures:before,
.futures:after {
    background: #94b7b3;
    content: "";
    display: block;
    height: 50%;
    left: 0;
    position: absolute;
    right: 0;
    z-index: -1;
    -webkit-backface-visibility: hidden;
    transform: skewY(3.3deg);
}

.nn-explain__container:before,
.futures:before {
    top: 0;
    transform-origin: 100% 0;
}

.nn-explain__container:after,
.futures:after {
    bottom: 0;
    transform-origin: 0 100%;
    height: 100%;
}

.futures:before,
.futures:after {
    background: #fcc471;
    transform: skewY(-3.3deg);
}

.futures:before {
    transform-origin: 0;
}

.futures:after {
    transform-origin: 100%;
}

.nn-explain {
    display: grid;
    grid-template-columns: 60% 1fr;
}

.nn-explain__title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 37px;
    font-weight: 700;
    color: white;
}

.nn-explain__text {
    font-size: 30px;
    margin: 20px 10px;
    padding: 16px;
    padding-right: 150px;
    color: white;
    letter-spacing: -1px;
    font-weight: 300;

    display: flex;
    align-items: center;
}

.events-categories__container {
    /* border-top: 1px solid var(--primaryColor); */
    margin-top: 50px;
}

.events-categories {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 50px;
    margin: 40px auto;
}

.events-categories__category {
    position: relative;
    /* border: 1px solid; */
}

.events-categories__category img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.events-categories .title {
    display: block;
    position: relative;
    top: -75px;
    font-size: 27px;
    color: white;
    z-index: 10000;
    text-align: center;
    font-weight: bold;
    transform: scaleY(3.5);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.youtube-carousel {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    margin-top: 120px;
    padding: 0;
    position: relative;
}

.youtube-carousel__item-image img {
    width: 100%;
    border-radius: 8px;
    display: block;
}

.youtube-carousel__item-title {
    margin-top: 8px;
    font-size: 14px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-color);
}

.overlay-video {
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
}

.overlay-video iframe {
    /* width: 90%;
                            height: 80vh;
                            max-width: 800px; */
}

@media (max-width: 768px) {
    .sub-category__product {
        width: 48%;
    }

    .sub-category.small-count-1,
    .sub-category.small-count-2,
    .sub-category.small-count-3 {
        width: 100%;
    }

    .futures {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
        padding: 40px 24px;
    }

    .futures .future img {
        width: 70px;
        height: 70px;
    }

    .futures .future .text {
        font-size: 16px;
    }

    .events-categories {
        gap: 5px;
    }

    .events-categories__category {
        /* width: 45%; */
    }

    .events-categories__category:nth-child(n + 3) {
        /* display: none; */
    }

    .nn-explain__container {
        margin-top: 80px;
        margin-bottom: 60px;
    }

    .nn-explain {
        display: flex;
        flex-direction: column-reverse;
    }

    .nn-explain__title {
        margin-bottom: 28px;
        padding-top: 24px;
    }

    .nn-explain__text {
        font-size: 16px;
        margin: 5px;
        text-align: center;
        padding: 16px;
        letter-spacing: normal;
        font-weight: 400;
    }
}
