.wprmg-shell {
    width: 100%;
}

.wprmg-content {
    position: relative;
    overflow: hidden;
    transition: max-height 280ms ease;
}

.wprmg-content.wprmg-expanded {
    overflow: visible;
    max-height: none !important;
}

.wprmg-fade {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: var(--wprmg-gradient-height, 130px);
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0),
        rgba(255, 255, 255, 0.92) 68%,
        rgba(255, 255, 255, 1) 100%
    );
    opacity: 1;
    transition: opacity 180ms ease;
    z-index: 5;
}

.wprmg-content.wprmg-expanded .wprmg-fade {
    opacity: 0;
    display: none;
}

.wprmg-action {
    position: relative;
    z-index: 6;
    display: flex;
    justify-content: center;
    margin: 0 0 30px;
    padding: 0 16px;
    transform: translateY(-2px);
}

.wprmg-button {
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    width: min(100%, 400px);
    min-height: 78px;
    padding: 18px 34px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    background: linear-gradient(180deg, #f51219 0%, #df080e 100%);
    color: #fff;
    font: inherit;
    font-size: clamp(20px, 2.2vw, 28px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    box-shadow: 0 14px 28px rgba(223, 8, 14, 0.20);
    transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.wprmg-button::after {
    content: "";
    width: 14px;
    height: 14px;
    border-right: 3px solid currentColor;
    border-bottom: 3px solid currentColor;
    transform: rotate(45deg) translateY(-3px);
    flex: 0 0 auto;
}

.wprmg-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(223, 8, 14, 0.28);
    filter: brightness(1.02);
}

.wprmg-button:focus-visible {
    outline: 3px solid rgba(223, 8, 14, 0.28);
    outline-offset: 4px;
}

.wprmg-button:active {
    transform: translateY(0);
    box-shadow: 0 9px 20px rgba(223, 8, 14, 0.20);
}

@media (max-width: 767px) {
    .wprmg-action {
        padding: 0 12px;
        margin-bottom: 24px;
    }

    .wprmg-button {
        width: min(100%, 330px);
        min-height: 64px;
        padding: 16px 26px;
        gap: 18px;
        font-size: 20px;
    }

    .wprmg-button::after {
        width: 12px;
        height: 12px;
        border-width: 0 3px 3px 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wprmg-content,
    .wprmg-fade {
        transition: none;
    }
}
