.popup_product_wrap {
    position: fixed;
    z-index: 500;
    inset: 0;

    width: 100%;
    height: 100vh;
    height: 100dvh;
    padding: 20px;

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

    overflow-y: auto;
    overscroll-behavior: contain;

    background: rgba(0, 0, 0, 0.13);
    backdrop-filter: blur(16px);
}
.popup_product_wrap[hidden] {
    display: none;
}

.popup_product_wrap .part_content {
    width: 100%;
    max-width: 844px;
    height: min(600px, calc(100dvh - 40px));

    display: flex;
    flex-shrink: 0;

    background: #FFF;
    border-radius: 22px;
    position: relative;
    z-index: 5;

    overflow: hidden;
}

.popup_product_wrap .popup_close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;

    border: initial;
    background: #fff;
    padding: 0;
    margin: 0;
}

.popup_product_wrap .part_left {
    width: 100%;
    max-width: 394px;
    height: 600px;
    border-top-left-radius: inherit;
    border-bottom-left-radius: inherit;
}
.popup_product_wrap .part_left img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
}
.popup_product_wrap .part_right {
    width: 100%;
    max-width: 450px;
    padding: 38px 48px;
    border-top-right-radius: inherit;
    border-bottom-right-radius: inherit;

    overflow-y: auto;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.popup_product_wrap .part_tag {
    padding: 3px 7px;
    margin: 0 0 14px 0;
    border-radius: 100px;
    background: #69B742;

    font-weight: 900;
    font-size: 12px;
    color: #fff;
    text-transform: uppercase;
}


.popup_product_wrap h2 {
    font-weight: 900;
    font-size: 32px;
    line-height: 1.25em;
    color: #181818;
    margin: 0 0 8px 0;
}
.popup_product_wrap h3 {
    font-weight: 700;
    font-size: 20px;
    line-height: 1.25em;
    color: #181818;
    margin: 0;
}
.popup_product_wrap p {
    font-weight: 500;
    font-size: 15px;
    line-height: 1.25em;
    color: #000;
    margin: 0;
}
.popup_product_wrap .part_highlight {
    margin-block: 16px 24px;
    padding-inline-start: 16px;
    border-left: 3px solid #69B742;

    display: flex;
    flex-direction: column;
    gap: 4px;
}
.popup_product_wrap .part_highlight p {
    font-size: 14px;
    color: #5F6368;
    margin: 0;
}


.popup_product_wrap .part_benefit_wrap {
    position: relative;
    width: calc(100% + 96px);
    margin-inline: -48px;
    margin-block-end: auto;
}
@media (min-width: 1024px) {
    .popup_product_wrap .part_benefit_wrap::after {
        content: '';
        position: absolute;
        z-index: 2;
        top: 0;
        right: 0;

        width: 64px;
        height: 100%;

        background: linear-gradient(270deg, #FFF 0%, rgba(255, 255, 255, 0.00) 100%);


        pointer-events: none;
    }
}

.popup_product_wrap .part_benefit {
    width: 100%;
    box-sizing: border-box;

    display: flex;
    justify-content: flex-start;
    gap: 10px;

    padding-inline: 48px;
    padding-block-end: 8px;

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

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

    cursor: grab;
    user-select: none;

    -webkit-overflow-scrolling: touch;
}

.popup_product_wrap .part_benefit::-webkit-scrollbar {
    display: none;
}

.popup_product_wrap .part_benefit.is_dragging {
    cursor: grabbing;
}
.popup_product_wrap .part_benefit::-webkit-scrollbar {
    display: none;
}


.popup_product_wrap .part_benefit .part_box {
    flex: 0 0 294px;

    border-radius: 8px;
    border: 1px solid #69B742;
    background: #F0F7F4;
    padding: 16px 20px 16px 16px;

    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.popup_product_wrap .part_benefit .part_box svg {
    display: block;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.popup_product_wrap .part_benefit .part_box p {
    font-weight: 500;
    font-size: 14px;
    color: #5F6368;
    margin: 0;
}

.popup_product_wrap .part_order {
    border-radius: 8px;
    background: #69B742;
    margin: 20px 0 0 0;
    padding: 20px;
}
.popup_product_wrap .part_order .popup_row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin: 0 0 14px 0;
}
.popup_product_wrap .part_order .popup_row .row_box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.popup_product_wrap .part_order .popup_row .row_box p {
    font-size: 14px;
    line-height: 1.1em;
    color: #fff;
    margin: 0;
}
.popup_product_wrap .part_order .popup_row .row_box p:first-child {
    font-weight: 700;
    font-size: 22px;
}
.popup_product_wrap .part_order .popup_row .row_box:last-child p:first-child {
    border-radius: 100px;
    border: 1px solid currentColor;

    height: 31px;
    display: flex;
    align-items: center;
    padding: 0 8px;
}

.popup_product_wrap .part_order .btn {
    height: 54px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-inline: 21px;

    border-radius: 8px;
    background: #181818;
    box-shadow: 0 4px 12px 0 rgba(75, 145, 39, 0.25);

    font-weight: 600;
    font-size: 15px;
    color: #fff;

    animation: popupOrderButtonPulse 1.4s ease-in-out infinite;
}

@keyframes popupOrderButtonPulse {
    0%,
    100% {
        background-color: #181818;
        box-shadow:
            0 0 0 0 rgba(24, 24, 24, 0),
            0 4px 12px rgba(24, 24, 24, 0.18);
    }

    50% {
        background-color: #2f2f2f;
        box-shadow:
            0 0 0 8px rgba(24, 24, 24, 0.14),
            0 6px 22px rgba(24, 24, 24, 0.4);
    }
}

.popup_product_wrap .part_order > p {
    font-size: 14px;
    color: #fff;
    text-align: center;
    margin: 15px 0 0 0;
}
.popup_product_wrap .part_order > p a {
    color: inherit;
    text-decoration: underline;
}


.popup_product_wrap .floating_delivery_info {
    position: absolute;
    bottom: -7px;
    right: -3px;
    padding-inline: 5px;
    border-radius: 25px 25px 25px 6px;
    background: #FFF;
    display: flex;
    align-items: center;
    height: 37px;
}
.popup_product_wrap .floating_delivery_info img {
    width: 90px;
    height: auto;
    margin: 0;
    display: block;
}
.popup_product_wrap .floating_delivery_info .free_tag {
    position: absolute;
    top: -9px;
    right: 0;
    height: 17px;
    display: flex;
    align-items: center;
    padding-inline: 9px 6px;

    border-radius: 25px 25px 25px 6px;
    background: #D20A2E;

    font-weight: 800;
    font-size: 9px;
    color: #FFF;
}

@media (max-width: 1024px) {

    .popup_product_wrap {
        align-items: center;
        justify-content: center;
        padding: 0;
        overflow: hidden;
    }

    .popup_product_wrap .part_content {
        flex-direction: column;

        width: 100%;
        max-width: 450px;
        height: auto;
        max-height: none;

        flex-shrink: 0;
        overflow: visible;
        border-radius: 0;

        transform-origin: center center;
    }
    .popup_product_wrap .part_left {
        width: 100%;
        height: 284px;
        padding-left: 90px;
        border-bottom-left-radius: 8px;
    }
    .popup_product_wrap .part_right {
        width: 100%;
        max-width: none;
        height: auto;
        padding: 20px 18px 50px;
        overflow: hidden;
    }

    .popup_product_wrap .part_right > p {
        order: -1;
        font-size: 14px;
        text-align: center;
        width: 100%;
        margin-block-end: 16px;
    }
    .popup_product_wrap .part_tag {
        font-size: 10px;
        margin: 0 auto 9px auto;
        position: relative;
        z-index: 5;
    }
    .popup_product_wrap .part_tag::before {
        content: '';
        position: absolute;
        z-index: -1;
        top: 50%;
        left: 50%;
        transform: translateX(-50%)translateY(-50%);
        width: 353px;
        height: 3px;
        background: #69B742;
    }

    .popup_product_wrap h2 {
        position: absolute;
        top: 0;
        left: 0px;
        text-orientation: sideways-right;
        writing-mode: vertical-rl;
        transform: rotate(180deg);

        width: 90px;
        height: 284px;
        display: flex;
        align-items: center;
        justify-content: center;

        font-size: 28px;
    }

    .popup_product_wrap .part_highlight {
        width: 100%;
        border: initial;
        padding: 0;
        justify-content: center;
        align-items: center;
        text-align: center;
        margin-block: 0 18px;
    }
    .popup_product_wrap .part_benefit {
        justify-content: center;
        width: 100%;
    }


    .popup_product_wrap .part_order .btn {
        font-size: 14px;
    }


    .popup_product_wrap .part_benefit_wrap {
        width: calc(100% + 36px);
        margin-inline: -18px;
    }

    .popup_product_wrap .part_benefit {
        width: 100%;
        box-sizing: border-box;

        justify-content: flex-start;

        padding-inline: 18px;

        cursor: auto;
        user-select: auto;

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

        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
    }

    .popup_product_wrap .part_benefit .part_box {
        flex: 0 0 calc(100% - 32px);
    }

    .popup_product_wrap .part_benefit_wrap::after {
        width: 48px;
    }

    .popup_product_wrap .popup_close {
        border-radius: 100px;
    }
}


.btn_for_popup_product {
    padding: 11px 20px;
    border-radius: 100px;
    background: #69b742;
    color: white;
    border: initial;
    margin: 0 auto 24px auto;

    animation: popupProductButtonPulse 1.4s ease-in-out infinite;
}

@keyframes popupProductButtonPulse {
    0%,
    100% {
        background-color: #69b742;
        box-shadow:
            0 0 0 0 rgba(105, 183, 66, 0),
            0 4px 12px rgba(105, 183, 66, 0.2);
    }

    50% {
        background-color: #4f8f32;
        box-shadow:
            0 0 0 8px rgba(105, 183, 66, 0.2),
            0 6px 22px rgba(79, 143, 50, 0.45);
    }
}

@media (max-width: 768px) {
    .btn_for_popup_product {
        font-size: 14px;
        padding: 7px 17px;
    }
}
