/* Pure Silver Jewels - Product Video Button & Lightbox */

.psj-video-button-wrapper {
    display: block;
    width: 100%;
    margin: 6px 0 0;
}

.psj-video-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;

    width: auto !important;
    max-width: none !important;
    min-height: 0 !important;

    padding: 7px 15px !important;

    background: #ffffff !important;
    background-color: #ffffff !important;

    color: #920b0b !important;

    border: 1.5px solid #920b0b !important;
    border-radius: 6px !important;

    font-family: inherit !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1.25 !important;

    cursor: pointer !important;

    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12) !important;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease !important;
}

.psj-video-button:hover,
.psj-video-button:focus {
    background: #760707 !important;
    background-color: #760707 !important;
    color: #ffffff !important;

    transform: translateY(-1px) !important;

    box-shadow: 0 7px 16px rgba(0, 0, 0, 0.32) !important;
}

.psj-video-button:active {
    background: #920b0b !important;
    background-color: #920b0b !important;
    color: #ffffff !important;
}

.psj-play-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
}

.psj-play-icon svg {
    width: 22px;
    height: 22px;
    fill: #920b0b !important;
}

.psj-video-popup {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.psj-video-popup.psj-video-active {
    display: flex;
}

.psj-video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .82);
}

.psj-video-modal {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 900px;
    background: #000;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
}

.psj-video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 8px;
}

.psj-video-container iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.psj-video-close {
    position: absolute;
    top: -15px;
    right: -15px;
    z-index: 5;
    width: 34px;
    height: 34px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #fff;
    color: #7d0909;
    font-family: Arial, sans-serif;
    font-size: 27px;
    font-weight: 400;
    line-height: 31px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .35);
}

.psj-video-close:hover,
.psj-video-close:focus {
    background: #f2f2f2;
    color: #7d0909;
}

@media (max-width: 600px) {
    .psj-video-button {
        max-width: 100%;
        min-height: 54px;
        font-size: 17px;
        padding: 10px 15px;
    }

    .psj-video-popup {
        padding: 15px;
    }

    .psj-video-close {
        top: -12px;
        right: -8px;
        width: 30px;
        height: 30px;
        font-size: 24px;
        line-height: 27px;
    }
}
