.yb-product-flip-display-content {
    width: 1400px;
    gap: 16px;
    margin-top: 64px;
    display: flex;
    justify-self: center;
    font-family: Nunito Sans;
}

.yb-product-flip-display-card {
    display: flex;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    z-index: 1;
    transition: 0.3s ease;
    background-color: rgba(255, 255, 255, 0.1);
    width: 100%;
    aspect-ratio: var(--aspect-ratio);
    /* height: 456px; */
    border-radius: 20px;
}

.yb-product-flip-display-card-content {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 3;
    transition: 0.3s ease;
}

.yb-product-flip-display-card-img {
    opacity: 1;
}

.yb-product-flip-display-card-content-flip {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    opacity: 1;
    z-index: 2;
    transition: 0.3s ease;
}

.yb-product-flip-display-card-content img,
.yb-product-flip-display-card-content-flip img,
.yb-product-flip-display-card-content video,
.yb-product-flip-display-card-content-flip video,
.yb-product-flip-display-card-content iframe,
.yb-product-flip-display-card-content-flip iframe {
    border-radius: 20px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.yb-product-flip-display-card-content-text,
.yb-product-flip-display-card-content-flip-text {
    position: absolute;
    bottom: 42px;
    left: 32px;
}

.yb-product-flip-display-card-content-text-title,
.yb-product-flip-display-card-content-flip-text-title {
    font-weight: 700;
    font-size: 24px;
    line-height: 120%;
    letter-spacing: 0px;
}

.yb-product-flip-display-card-content-text-content,
.yb-product-flip-display-card-content-flip-text-content {
    font-weight: 400;
    font-size: 20px;
    line-height: 140%;
    letter-spacing: 0px;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-items: center;
    gap: 12px;
}

.yb-product-flip-display-card-content-text-content-strikethrough-price {
    font-size: 16px;
    text-decoration: line-through;
}

.yb-product-flip-display-card-button-box {
    position: absolute;
    display: flex;
    z-index: 4;
    bottom: 32px;
    right: 32px;
}

.yb-product-flip-display-card-button {
    display: flex;
    background-color: #fedb1e;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    line-height: 140%;
    letter-spacing: 0px;
    text-align: center;
    font-size: 16px;
    width: 144px;
    height: 48px;
    border-radius: 30px;
    font-family: Nunito Sans;
    border: 0;
    cursor: pointer;
}

.yb-product-flip-display-card-button:hover {
    background-color: #e5c41b;
    transition: background-color 0.3s ease;
}

/* 375-679px */
@media (max-width: 679px) {
    .yb-product-flip-display-content {
        width: 100%;
        gap: 16px;
        margin-top: 32px;
        flex-flow: column;
        align-items: center;
    }

    .yb-product-flip-display-card {
        /* --aspect-ratio: 343 / 226; */
        width: calc(100% - 32px);
        /* //height: 226px;
    height: calc(var(--card-width) / (var(--aspect-ratio))); */
        border-radius: 9.98px;
        /* aspect-ratio: 343 / 226; */
    }

    .yb-product-flip-display-card-content img,
    .yb-product-flip-display-card-content-flip img,
    .yb-product-flip-display-card-content video,
    .yb-product-flip-display-card-content-flip video,
    .yb-product-flip-display-card-content iframe,
    .yb-product-flip-display-card-content-flip iframe {
        border-radius: 9.98px;
    }

    .yb-product-flip-display-card-content-text,
    .yb-product-flip-display-card-content-flip-text {
        bottom: 23px;
        left: 16px;
    }

    .yb-product-flip-display-card-content-text-title,
    .yb-product-flip-display-card-content-flip-text-title {
        font-size: 14px;
    }

    .yb-product-flip-display-card-content-text-content,
    .yb-product-flip-display-card-content-flip-text-content {
        font-size: 12px;
        margin-top: 8px;
        gap: 4px;
    }

    .yb-product-flip-display-card-content-text-content-strikethrough-price {
        font-size: 12px;
    }

    .yb-product-flip-display-card-button-box {
        bottom: 16px;
        right: 16px;
    }

    .yb-product-flip-display-card-button {
        width: 88px;
        height: 32px;
        border-radius: 19.95px;
        font-size: 10px;
        line-height: 32px;
    }
}

/* 680-959px */
@media (min-width: 680px) and (max-width: 959px) {
    .yb-product-flip-display-content {
        width: 100%;
        gap: 24px;
        margin-top: 48px;
        flex-flow: column;
        align-items: center;
    }

    .yb-product-flip-display-card {
        /* --aspect-ratio: 630 / 416; */
        width: calc(100% - 48px);
        /* height: 100px; */
        /* height: calc(var(--card-width) / (var(--aspect-ratio))); */
        border-radius: 18.33px;
        /* aspect-ratio: var(--aspect-ratio); */
    }

    .yb-product-flip-display-card-content img,
    .yb-product-flip-display-card-content-flip img,
    .yb-product-flip-display-card-content video,
    .yb-product-flip-display-card-content-flip video,
    .yb-product-flip-display-card-content iframe,
    .yb-product-flip-display-card-content-flip iframe {
        border-radius: 18.33px;
    }

    .yb-product-flip-display-card-content-text,
    .yb-product-flip-display-card-content-flip-text {
        bottom: 34px;
        left: 23px;
    }

    .yb-product-flip-display-card-content-text-title,
    .yb-product-flip-display-card-content-flip-text-title {
        font-size: 24px;
    }

    .yb-product-flip-display-card-content-text-content,
    .yb-product-flip-display-card-content-flip-text-content {
        font-size: 20px;
        margin-top: 14px;
        gap: 5.77px;
    }

    .yb-product-flip-display-card-content-text-content-strikethrough-price {
        font-size: 20px;
    }

    .yb-product-flip-display-card-button-box {
        bottom: 24px;
        right: 24px;
    }

    .yb-product-flip-display-card-button {
        width: 150px;
        height: 48px;
        font-size: 14px;
        border-radius: 36.65px;
    }

}

/* 960-1439px */
@media (min-width: 960px) and (max-width: 1439px) {
    .yb-product-flip-display-content {
        width: 900px;
        gap: 16px;
        margin-top: 48px;
    }

    .yb-product-flip-display-card {
        /* height: 292px; */
        border-radius: 12.86px;
    }

    .yb-product-flip-display-card-content img,
    .yb-product-flip-display-card-content-flip img,
    .yb-product-flip-display-card-content video,
    .yb-product-flip-display-card-content-flip video,
    .yb-product-flip-display-card-content iframe,
    .yb-product-flip-display-card-content-flip iframe {
        border-radius: 12.86px;
    }

    .yb-product-flip-display-card-content-text,
    .yb-product-flip-display-card-content-flip-text {
        bottom: 26px;
        left: 16px;
    }

    .yb-product-flip-display-card-content-text-title,
    .yb-product-flip-display-card-content-flip-text-title {
        font-size: 16px;
    }

    .yb-product-flip-display-card-content-text-content,
    .yb-product-flip-display-card-content-flip-text-content {
        font-size: 14px;
        gap: 4px;
    }

    .yb-product-flip-display-card-content-text-content-strikethrough-price {
        font-size: 14px;
    }

    .yb-product-flip-display-card-button-box {
        bottom: 16px;
        right: 16px;
    }

    .yb-product-flip-display-card-button {
        width: 118px;
        height: 40px;
        border-radius: 25.71px;
        font-size: 14px;
    }
}

/* 1440-1919px */
@media (min-width: 1440px) and (max-width: 1919px) {
    .yb-product-flip-display-content {
        width: 1200px;
        gap: 16px;
        margin-top: 56px;
    }

    .yb-product-flip-display-card {
        /* height: 390px; */
        border-radius: 17.14px;
    }

    .yb-product-flip-display-card-content img,
    .yb-product-flip-display-card-content-flip img,
    .yb-product-flip-display-card-content video,
    .yb-product-flip-display-card-content-flip video,
    .yb-product-flip-display-card-content iframe,
    .yb-product-flip-display-card-content-flip iframe {
        border-radius: 17.14px;
    }

    .yb-product-flip-display-card-content-text,
    .yb-product-flip-display-card-content-flip-text {
        bottom: 31px;
        left: 24px;
    }

    .yb-product-flip-display-card-content-text-title,
    .yb-product-flip-display-card-content-flip-text-title {
        font-size: 20px;
    }

    .yb-product-flip-display-card-content-text-content,
    .yb-product-flip-display-card-content-flip-text-content {
        font-size: 18px;
        gap: 8px;
    }

    .yb-product-flip-display-card-content-text-content-strikethrough-price {
        font-size: 14px;
    }

    .yb-product-flip-display-card-button-box {
        bottom: 24px;
        right: 24px;
    }

    .yb-product-flip-display-card-button {
        width: 118px;
        height: 40px;
        font-size: 14px;
        border-radius: 25.71px;
    }
}

/* 1920px+ default*/
@media (min-width: 1920px) {}