.vlp-widget,
.vlp-widget * {
    box-sizing: border-box;
}

.vlp-modal .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.vlp-trigger {
    position: fixed;
    left: 22px;
    bottom: 22px;
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 72px;
    padding: 9px 12px;
    border: 1px solid rgba(198, 167, 98, 0.36);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 42px rgba(31, 43, 38, 0.18);
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.vlp-trigger:hover,
.vlp-trigger:focus {
    border-color: rgba(198, 167, 98, 0.75);
    box-shadow: 0 20px 48px rgba(31, 43, 38, 0.24);
    transform: translateY(-2px);
    outline: none;
}

.vlp-trigger img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}

.vlp-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(18, 30, 27, 0.54);
    opacity: 0;
    transition: opacity 180ms ease;
}

.vlp-modal {
    position: fixed;
    left: 50%;
    top: 50%;
    z-index: 10000;
    width: min(680px, calc(100vw - 32px));
    max-height: calc(100vh - 42px);
    overflow: auto;
    padding: 42px 38px 36px;
    border: 1px solid rgba(198, 167, 98, 0.34);
    border-radius: 22px;
    background: #fffaf1;
    box-shadow: 0 28px 74px rgba(18, 30, 27, 0.32);
    color: #1f2b26;
    font-family: inherit;
    opacity: 0;
    transform: translate(-50%, -47%) scale(0.98);
    transition: opacity 180ms ease, transform 180ms ease;
}

.vlp-modal:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 6px;
    background: #c6a762;
}

.vlp-widget.is-open .vlp-overlay,
.vlp-widget.is-open .vlp-modal {
    opacity: 1;
}

.vlp-widget.is-open .vlp-modal {
    transform: translate(-50%, -50%) scale(1);
}

.vlp-close {
    position: absolute;
    right: 16px;
    top: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid rgba(31, 43, 38, 0.12);
    border-radius: 50%;
    background: #ffffff;
    color: #1f2b26;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.vlp-close:hover,
.vlp-close:focus {
    background: #1f2b26;
    color: #ffffff;
    outline: none;
    transform: rotate(90deg);
}

.vlp-modal__brand {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}

.vlp-modal__brand img {
    display: block;
    width: 116px;
    max-width: 42vw;
    height: auto;
}

.vlp-modal__title {
    margin: 0 0 16px;
    color: #1f2b26;
    font-size: clamp(28px, 4.6vw, 42px);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: 0;
    text-align: center;
}

.vlp-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 22px;
}

.vlp-stat {
    min-width: 0;
    padding: 14px 10px 13px;
    border: 1px solid rgba(198, 167, 98, 0.28);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.56);
    text-align: center;
}

.vlp-stat__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-bottom: 8px;
    border-radius: 50%;
    background: #ffffff;
    color: #a88434;
    box-shadow: 0 8px 20px rgba(31, 43, 38, 0.08);
}

.vlp-stat__icon svg {
    display: block;
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.vlp-stat__label,
.vlp-stat__value {
    display: block;
}

.vlp-stat__label {
    margin-bottom: 4px;
    color: #6d756f;
    font-size: 12px;
    line-height: 1.2;
}

.vlp-stat__value {
    color: #1f2b26;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
}

.vlp-modal__content {
    color: #3e4843;
    font-size: 17px;
    line-height: 1.65;
    text-align: center;
    overflow-x: auto;
}

.vlp-modal__content p,
.vlp-modal__content ul,
.vlp-modal__content ol {
    margin: 0 0 14px;
}

.vlp-modal__content p:last-child,
.vlp-modal__content ul:last-child,
.vlp-modal__content ol:last-child {
    margin-bottom: 0;
}

.vlp-modal__content a {
    color: #876a26;
    text-decoration: underline;
}

.vlp-modal__content .price-table {
    width: 100%;
    min-width: 560px;
    margin: 8px auto 0;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border: 1px solid rgba(198, 167, 98, 0.34);
    border-radius: 16px;
    background: #ffffff;
    color: #27322d;
    font-size: 15px;
    line-height: 1.35;
    text-align: left;
    box-shadow: 0 14px 34px rgba(31, 43, 38, 0.09);
}

.vlp-modal__content .price-table caption {
    margin-bottom: 10px;
    color: #1f2b26;
    font-size: 18px;
    line-height: 1.3;
    text-align: center;
}

.vlp-modal__content .price-table th,
.vlp-modal__content .price-table td {
    padding: 13px 14px;
    border: 0;
    border-bottom: 1px solid rgba(31, 43, 38, 0.09);
    vertical-align: middle;
}

.vlp-modal__content .price-table th {
    background: #1f2b26;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0;
}

.vlp-modal__content .price-table td {
    background: rgba(255, 255, 255, 0.92);
}

.vlp-modal__content .price-table tbody tr:nth-child(even) td {
    background: #fffaf1;
}

.vlp-modal__content .price-table tbody tr:last-child td {
    border-bottom: 0;
}

.vlp-modal__content .price-table td:not(:first-child),
.vlp-modal__content .price-table th:not(:first-child) {
    text-align: center;
    white-space: nowrap;
}

.vlp-modal__content .price-table strong {
    color: #1f2b26;
    font-weight: 700;
}

.vlp-modal__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin: 26px auto 0;
    padding: 13px 28px;
    border: 1px solid #b7954d;
    border-radius: 999px;
    background: #c6a762;
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 0;
    box-shadow: 0 12px 28px rgba(135, 106, 38, 0.24);
    transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.vlp-modal__button:hover,
.vlp-modal__button:focus {
    border-color: #1f2b26;
    background: #1f2b26;
    color: #ffffff !important;
    outline: none;
    transform: translateY(-1px);
}

body.vlp-modal-open {
    overflow: hidden;
}

@media (max-width: 600px) {
    .vlp-trigger {
        left: 14px;
        bottom: 14px;
        width: 74px;
        height: 62px;
        padding: 8px 10px;
        border-radius: 15px;
    }

    .vlp-modal {
        width: calc(100vw - 24px);
        max-height: calc(100vh - 24px);
        padding: 34px 22px 26px;
        border-radius: 18px;
    }

    .vlp-close {
        right: 12px;
        top: 10px;
        width: 34px;
        height: 34px;
    }

    .vlp-modal__brand {
        margin-bottom: 14px;
    }

    .vlp-modal__brand img {
        width: 92px;
    }

    .vlp-modal__title {
        margin-bottom: 13px;
        font-size: 30px;
    }

    .vlp-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin-bottom: 18px;
    }

    .vlp-stat {
        padding: 12px 8px;
        border-radius: 12px;
    }

    .vlp-stat__icon {
        width: 34px;
        height: 34px;
        margin-bottom: 7px;
    }

    .vlp-stat__icon svg {
        width: 21px;
        height: 21px;
    }

    .vlp-modal__content {
        font-size: 16px;
        line-height: 1.55;
    }

    .vlp-modal__content .price-table {
        min-width: 510px;
        font-size: 14px;
    }

    .vlp-modal__content .price-table caption {
        font-size: 16px;
    }

    .vlp-modal__content .price-table th,
    .vlp-modal__content .price-table td {
        padding: 11px 12px;
    }

    .vlp-modal__button {
        width: 100%;
        min-height: 50px;
        padding-left: 18px;
        padding-right: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vlp-trigger,
    .vlp-overlay,
    .vlp-modal,
    .vlp-close,
    .vlp-modal__button {
        transition: none;
    }
}
