.yb-section-common+.yb-product-reversal-container,
.yb-product-reversal-container+.yb-product-reversal-container {
    margin: 32px auto 0;
}

.yb-product-reversal-container {
    display: flex;
    gap: 16px;
    overflow: hidden;
    flex-wrap: wrap
}

.yb-product-reversal-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 13.61px;
    transition: all 0.8s ease;
    width: 288px;
}

.yb-product-reversal-card img,
.yb-product-reversal-card video {
    width: 100%;
}

.yb-product-reversal-card .yb-product-reversal-first,
.yb-product-reversal-card .yb-product-reversal-second {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
}

.yb-product-reversal-card .yb-product-reversal-first {
    z-index: 3;
}

.yb-product-reversal-card .yb-product-reversal-second {
    z-index: 2;
    overflow: hidden;
    border-radius: 16px;
}

.yb-product-reversal-card .yb-product-reversal-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;;
    padding: 20px;
}

.yb-product-reversal-card img {
    width: 100%;
    object-fit: cover;
    display: block;
}

.yb-product-reversal-card video,
.yb-product-reversal-card iframe {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.yb-product-reversal-card .image_title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
}

.yb-product-reversal-card .image_description {
    margin-top: 4px;
    line-height: 1.4;
    font-weight: 400;
    font-size: 14px;
}

.yb-product-reversal-card .tags {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.yb-product-reversal-card .tag {
    padding: 5px 8px;
    font-size: 9.98px;
    line-height: 1.4;
    font-weight: 400;
    border-radius: 4px;
    word-wrap: break-word;
    max-width: 100%;
}

.yb-product-reversal-card .tag.tag-style1 {
    background-color: #E6E6E7;
    color: #000;
}

.yb-product-reversal-card .tag.tag-style2 {
    background-color: #02060B52;
    color: #fff;
}

.yb-product-reversal-card .button-group {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    padding: 0 20px;
    display: flex;
    gap: 8px;
    height: 40px;
}

.yb-product-reversal-card .button-group .yb-btn {
    height: 100%;
    flex: 1;
    align-items: center;
    justify-content: center;
    border-radius: 41.03px;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 600;
    display: flex;;
}

.yb-product-reversal-card .btn-style1,
.yb-product-reversal-card .btn-style1:hover {
    background-color: #FEDB1E;
    color: #000;
    border: 1px solid #FEDB1E;
}

.yb-product-reversal-card .btn-style2,
.yb-product-reversal-card .btn-style2:hover {
    background-color: #fff;
    color: #000;
    border: 1px solid #000;
}

.yb-product-reversal-card .btn-style3,
.yb-product-reversal-card .btn-style3:hover {
    background-color: transparent;
    border: 1px solid #fff;
    color: #fff;
}

@media screen and (max-width: 959px) {
    .yb-product-reversal-container.pc,
    .yb-product-reversal-container .swiper-button {
        display: none;
    }

    .yb-product-reversal-card .yb-product-reversal-first,
    .yb-product-reversal-first:empty .yb-product-reversal-second {
        position: relative;
    }

    .yb-product-reversal-container.mobile {
        overflow: visible;
    }

    .yb-product-reversal-card {
        width: 288px !important;
    }
}

@media screen and (min-width: 960px) {
    .yb-product-reversal-container.mobile {
        display: none;
    }

    .yb-product-reversal-card.expanded .yb-product-reversal-first {
        z-index: 1;
    }

    .yb-product-reversal-container .transform-button {
        background: rgba(0, 0, 0, 0.4);
        border-radius: 50px;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        display: flex;
        justify-content: center;
        align-items: center;
        left: 0px;
        z-index: 100;
        width: 48px;
        height: 48px;
    }

    .yb-product-reversal-container .transform-button.swiper-button-disabled {
        opacity: 0 !important;
    }

    .yb-product-reversal-container .product-reversal-right-button {
        right: 0;
        left: auto !important;
    }

    .yb-product-reversal-container .transform-button svg {
        width: 24px;
        height: 24px;
        fill: #FFF;
    }
}

@media screen and (max-width: 679px) {
    .yb-product-reversal-container {
        display: block;
    }

    .yb-product-reversal-card,
    .yb-product-reversal-card img {
        height: 404px !important;
    }
}

@media screen and (min-width: 680px) and (max-width: 959px) {
    .yb-section-common+.yb-product-reversal-container,
    .yb-product-reversal-container+.yb-product-reversal-container {
        margin-top: 48px;
    }

    .yb-product-reversal-container {
        display: block;
    }

    .yb-product-reversal-card,
    .yb-product-reversal-card img {
        height: 404px !important;
    }
}

@media screen and (min-width: 960px) and (max-width: 1439px) {
    .yb-section-common+.yb-product-reversal-container {
        margin-top: 48px;
    }

    .yb-product-reversal-card {
        width: calc((100% - 36px) / 3);
    }

    .yb-product-reversal-card .tags {
        margin-top: 10px;
    }

    .yb-product-reversal-card,
    .yb-product-reversal-card img {
        height: 404px !important;
    }
}

@media screen and (min-width: 1440px) and (max-width: 1919px) {
    .yb-section-common+.yb-product-reversal-container {
        margin-top: 56px;
    }

    .yb-product-reversal-card {
        flex-basis: calc(25% - 12px);
    }

    .yb-product-reversal-card .tags {
        margin-top: 10px;
    }

    .yb-product-reversal-card,
    .yb-product-reversal-card img {
        height: 404px !important;
    }
}

@media screen and (min-width: 1920px) {
    .yb-section-common+.yb-product-reversal-container {
        margin-top: 64px;
    }

    .yb-product-reversal-card {
        flex-basis: calc(25% - 12px);
        border-radius: 16px;
    }

    .yb-product-reversal-card,
    .yb-product-reversal-card img {
        height: 476px !important;
    }

    .yb-product-reversal-card .yb-product-reversal-content {
        padding: 24px;
    }

    .yb-product-reversal-card .image_title {
        font-size: 28px;
    }

    .yb-product-reversal-card .image_description {
        font-size: 16px;
    }

    .yb-product-reversal-card .tags {
        margin-top: 14px;
    }

    .yb-product-reversal-container .transform-button {
        width: 56px;
        height: 56px;
    }

    .yb-product-reversal-container .transform-button svg {
        width: 28px;
        height: 28px;
    }
    .yb-product-reversal-card .button-group {
        height: 48px;
    }
}