.pavlike-payment {
    position: fixed;
    bottom: 18px;
    z-index: 9999;
    font-family: Arial, sans-serif;
}

.pavlike-payment.is-left {
    left: 18px;
}

.pavlike-payment.is-right {
    right: 18px;
}

.pavlike-payment__toggle,
.pavlike-payment__link {
    border: 0;
    border-radius: 8px;
    background: #105c4f;
    color: #fff;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.pavlike-payment__toggle {
    padding: 13px 18px;
}

.pavlike-payment__panel {
    position: absolute;
    bottom: calc(100% + 10px);
    width: min(310px, calc(100vw - 36px));
    padding: 18px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    color: #17201d;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
    opacity: 0;
    transform: translateY(8px);
    visibility: hidden;
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.pavlike-payment.is-left .pavlike-payment__panel {
    left: 0;
}

.pavlike-payment.is-right .pavlike-payment__panel {
    right: 0;
}

.pavlike-payment.is-open .pavlike-payment__panel,
.pavlike-payment[data-trigger="hover"]:hover .pavlike-payment__panel,
.pavlike-payment[data-trigger="hover"]:focus-within .pavlike-payment__panel {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.pavlike-payment__close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 50%;
    background: #f1f5f3;
    color: #25302c;
    cursor: pointer;
    font-size: 20px;
    line-height: 28px;
}

.pavlike-payment__title {
    display: block;
    padding-right: 28px;
    font-size: 18px;
    line-height: 1.25;
}

.pavlike-payment__text {
    margin: 10px 0 14px;
    font-size: 14px;
    line-height: 1.5;
}

.pavlike-payment__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 11px 15px;
}

.pavlike-payment__toggle:hover,
.pavlike-payment__toggle:focus,
.pavlike-payment__link:hover,
.pavlike-payment__link:focus {
    background: #0b473d;
    color: #fff;
}

@media (max-width: 480px) {
    .pavlike-payment {
        right: 12px;
        bottom: 12px;
        left: 12px;
    }

    .pavlike-payment__toggle {
        width: 100%;
    }

    .pavlike-payment__panel {
        right: 0;
        left: 0;
        width: auto;
    }
}
