.yoko-popup-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 99999990;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgb(255 255 255 / 72%);
}

.yoko-popup-modal {
    position: relative;
    width: 450px;
    height: 450px;
    max-width: calc(100vw - 48px);
    max-height: calc(100vh - 48px);
    overflow: hidden;
    background: #0a0c0e;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.42);
}

.yoko-popup-link {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.yoko-popup-link:hover,
.yoko-popup-link:focus {
    color: inherit;
    text-decoration: none;
    outline: none;
}

.yoko-popup-link:focus-visible {
    outline: 3px solid #ECDF30;
    outline-offset: -3px;
}

.yoko-popup-link::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(10, 12, 14, 0.72) 0%, rgba(10, 12, 14, 0.12) 34%, rgba(10, 12, 14, 0.78) 100%);
    pointer-events: none;
}

.yoko-popup-modal img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.yoko-popup-copy-layer {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 22px 24px;
    color: #fff;
    pointer-events: none;
}

.yoko-popup-top-text {
    max-height: 112px;
    overflow: hidden;
    margin-right: 42px;
    padding: 10px 12px;
    border-left: 4px solid #ECDF30;
    background: rgba(10, 12, 14, 0.76);
    color: #fff;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.yoko-popup-bottom-text {
    max-width: 100%;
    margin-top: auto;
}

.yoko-popup-offer-text {
    display: inline-flex;
    max-width: 100%;
    padding: 7px 12px;
    border-radius: 4px;
    background: #ECDF30;
    color: #0a0c0e;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 800;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.yoko-popup-price {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 8px 12px;
    margin-top: 10px;
    line-height: 1;
}

.yoko-popup-product-name {
    display: -webkit-box;
    max-width: 100%;
    margin-top: 10px;
    overflow: hidden;
    color: #fff;
    font-size: 22px;
    line-height: 1.15;
    font-weight: 800;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65);
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.yoko-popup-price-old {
    color: rgba(255, 255, 255, 0.82);
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    text-decoration: line-through;
    text-decoration-thickness: 2px;
}

.yoko-popup-price-current {
    color: #ECDF30;
    font-size: 42px;
    font-weight: 900;
    line-height: 0.95;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.42);
    overflow-wrap: anywhere;
}

.yoko-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #ECDF30;
    color: #0a0c0e;
    font-size: 26px;
    line-height: 34px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

@media (max-width: 767px) {
    .yoko-popup-overlay {
        padding: 16px;
    }

    .yoko-popup-modal {
        width: calc(100vw - 32px);
        height: calc(100vw - 32px);
        max-height: calc(100vh - 32px);
    }

    .yoko-popup-copy-layer {
        padding: 16px 16px 18px;
    }

    .yoko-popup-top-text {
        max-height: 92px;
        margin-right: 38px;
        font-size: 14px;
    }

    .yoko-popup-offer-text {
        font-size: 12px;
    }

    .yoko-popup-price-old {
        font-size: 18px;
    }

    .yoko-popup-product-name {
        font-size: 18px;
    }

    .yoko-popup-price-current {
        font-size: 34px;
    }

    .yoko-popup-close {
        top: 8px;
        right: 8px;
    }
}
