/* ==================================================
   KEMEI — AUDIENCE
   ================================================== */

.kp-audience {
    width: 100%;
    padding: 30px 0;
}


/* ==================================================
   BACKGROUNDS
   ================================================== */

.kp-audience-men {
    background: #f7f7f7;
}

.kp-audience-women {
    background: #ffffff;
}


/* ==================================================
   HEADING
   ================================================== */

.kp-audience .kp-section-heading {
    margin-bottom: 30px;
    text-align: center;
}

.kp-audience .kp-section-heading h2 {
    margin: 0 0 10px;
    color: #071b3a;
    font-size: 32px;
    line-height: 1.35;
    font-weight: 700;
}

.kp-audience .kp-section-heading p {
    margin: 0 auto;
    color: #666;
    font-size: 14px;
    line-height: 1.7;
}


/* ==================================================
   SLIDER
   ================================================== */

.kp-audience .kp-products-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}


/* ==================================================
   SLIDER CONTAINER
   ================================================== */

.kp-audience .kp-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}


/* ==================================================
   WOOCOMMERCE PRODUCTS TRACK
   ================================================== */

.kp-audience .kp-slider-container .products {
    display: flex !important;
    flex-wrap: nowrap !important;

    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    gap: 20px;

    direction: rtl;

    overflow-x: auto;
    overflow-y: hidden;

    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;

    scrollbar-width: none;
    -ms-overflow-style: none;
}


/* Hide scrollbar */

.kp-audience .kp-slider-container .products::-webkit-scrollbar {
    display: none;
}


/* ==================================================
   PRODUCT CARD — DESKTOP
   4 PRODUCTS
   ================================================== */

.kp-audience .kp-slider-container .products > .product {
    flex: 0 0 calc(
        (100% - 60px) / 4
    ) !important;

    width: calc(
        (100% - 60px) / 4
    ) !important;

    max-width: calc(
        (100% - 60px) / 4
    ) !important;

    min-width: 0 !important;

    margin: 0 !important;

    scroll-snap-align: start;
}


/* ==================================================
   PRODUCT CARD INTERNAL
   ================================================== */

.kp-audience .kp-slider-container .product > * {
    max-width: 100%;
}


/* ==================================================
   ARROWS
   ================================================== */

.kp-audience .kp-slider-prev,
.kp-audience .kp-slider-next {
    position: absolute;

    top: 50%;

    z-index: 20;

    width: 44px;
    height: 44px;

    margin: 0;
    padding: 0;

    border: 0;
    border-radius: 50%;

    background: #ffffff;

    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.15);

    transform: translateY(-50%);

    cursor: pointer;

    font-size: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    transition:
        background-color .2s ease,
        box-shadow .2s ease;
}


/* RIGHT = PREVIOUS */

.kp-audience .kp-slider-prev {
    right: 0;
}


/* LEFT = NEXT */

.kp-audience .kp-slider-next {
    left: 0;
}


/* RIGHT ARROW */

.kp-audience .kp-slider-prev::before {
    content: "‹";

    color: #0066cc;

    font-size: 30px;
    line-height: 1;
}


/* LEFT ARROW */

.kp-audience .kp-slider-next::before {
    content: "›";

    color: #0066cc;

    font-size: 30px;
    line-height: 1;
}


/* HOVER */

.kp-audience .kp-slider-prev:hover,
.kp-audience .kp-slider-next:hover {
    background: #0066cc;

    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.18);
}

.kp-audience .kp-slider-prev:hover::before,
.kp-audience .kp-slider-next:hover::before {
    color: #ffffff;
}


/* ==================================================
   TABLET
   ================================================== */

@media (max-width: 991px) {

    .kp-audience {
        padding: 30px 0;
    }


    .kp-audience .kp-section-heading {
        margin-bottom: 28px;
    }


    .kp-audience .kp-section-heading h2 {
        font-size: 28px;
    }


    .kp-audience .kp-slider-container .products {
        gap: 16px;
    }


    .kp-audience .kp-slider-container .products > .product {
        flex-basis: calc(
            (100% - 48px) / 4
        ) !important;

        width: calc(
            (100% - 48px) / 4
        ) !important;

        max-width: calc(
            (100% - 48px) / 4
        ) !important;
    }

}


/* ==================================================
   MOBILE
   2 PRODUCTS
   ================================================== */

@media (max-width: 767px) {

    .kp-audience {
        padding: 22px 0;
    }


    .kp-audience .kp-section-heading {
        margin-bottom: 24px;
        padding: 0 15px;
    }


    .kp-audience .kp-section-heading h2 {
        font-size: 24px;
    }


    .kp-audience .kp-section-heading p {
        font-size: 13px;
    }


    .kp-audience .kp-slider-container .products {
        gap: 12px;
    }


    .kp-audience .kp-slider-container .products > .product {
        flex-basis: calc(
            (100% - 12px) / 2
        ) !important;

        width: calc(
            (100% - 12px) / 2
        ) !important;

        max-width: calc(
            (100% - 12px) / 2
        ) !important;
    }


    /* MOBILE ARROWS */

    .kp-audience .kp-slider-prev,
    .kp-audience .kp-slider-next {
        width: 38px;
        height: 38px;
    }


    .kp-audience .kp-slider-prev::before,
    .kp-audience .kp-slider-next::before {
        font-size: 26px;
    }

}