.joy-product-video {
    margin-top: 18px;
    border: 1px solid rgba(17, 17, 17, .09);
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #faf7f1 100%);
    padding: 16px;
    box-shadow: 0 16px 42px rgba(17, 17, 17, .06);
}

.joy-product-video__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
}

.joy-product-video__head span {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(17, 17, 17, .12);
    border-radius: 999px;
    background: #111;
    color: #fff;
    padding: 7px 12px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.joy-product-video__head strong {
    color: #1a1a1a;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    text-align: right;
    max-width: 58%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.joy-product-video__frame {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 0;
    border-radius: 18px;
    background: #111;
    cursor: pointer;
}

.joy-product-video__frame img,
.joy-product-video__frame iframe,
.joy-product-video__frame video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border: 0;
}

.joy-product-video__trigger::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.06), rgba(0,0,0,.28));
}

.joy-product-video__play {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    border-radius: 999px;
    background: rgba(255,255,255,.94);
    color: #111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-left: 4px;
    font-size: 22px;
    box-shadow: 0 14px 35px rgba(0,0,0,.22);
}

.joy-product-video__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.72);
    font-size: 13px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .joy-product-video {
        margin-top: 14px;
        padding: 14px;
        border-radius: 18px;
    }

    .joy-product-video__head {
        align-items: flex-start;
        flex-direction: column;
        gap: 9px;
    }

    .joy-product-video__head strong {
        max-width: 100%;
        text-align: left;
        white-space: normal;
        font-size: 13px;
    }

    .joy-product-video__frame {
        border-radius: 15px;
    }

    .joy-product-video__play {
        width: 54px;
        height: 54px;
        font-size: 18px;
    }
}
