/* ── Wrapper base ── */
.elementor-widget-sa-offer-panel,
.elementor-widget-sa-offer-panel .elementor-widget-container {
    width: 100%;
    max-width: 100%;
}

/* ══════════════════════════════════════════
   SA Offer Panel — Frontend Styles
   ══════════════════════════════════════════ */

.sa-op-panel {
    position: relative;
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    border-radius: 24px;
    padding: 24px 28px;
    background: #1e2235;
    box-sizing: border-box;
}

/* ── Glassmorphism variant ── */
.sa-op-panel--glass {
    /* Default matches the requested style exactly:
       border-radius: 24px;
       background: linear-gradient(180deg, rgba(255,255,255,0.00) -56.51%, rgba(255,255,255,0.30) 197.92%);
       backdrop-filter: blur(22px);
       These are applied inline from PHP so Elementor controls override them naturally. */
    border: 1px solid rgba(255, 255, 255, 0.18);
    overflow: hidden;
}

.sa-op-panel--glass::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255,255,255,0.07) 0%, transparent 55%);
    border-radius: inherit;
    z-index: 0;
}

/* ── Inner layout ── */
.sa-op-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

/* ── Left ── */
.sa-op-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1 1 200px;
    min-width: 0;
}

.sa-op-title {
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    margin: 0 0 4px;
}

.sa-op-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.sa-op-price {
    color: #ffffff;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.sa-op-price-suffix {
    color: rgba(255, 255, 255, 0.55);
    font-size: 15px;
    font-weight: 400;
}

.sa-op-subtitle {
    color: rgba(255, 255, 255, 0.50);
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
    max-width: 380px;
}

/* ── Right ── */
.sa-op-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    flex: 1 1 auto;
    min-width: 0;
}

/* ── Buttons ── */
.sa-op-btns {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.sa-op-btn1,
.sa-op-btn2 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 12px 22px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none !important;
    white-space: nowrap;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.15s ease, background 0.2s ease,
                box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    border: none;
    border-bottom: none !important;
    box-shadow: none;
    outline: none;
    flex-shrink: 0;
}

/* Primary */
.sa-op-btn1 {
    background: linear-gradient(135deg, #5b6ef5 0%, #7c4dff 100%);
    color: #ffffff;
}

.sa-op-btn1:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

/* Secondary */
.sa-op-btn2 {
    background: rgba(255, 255, 255, 0.10);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    text-decoration: none;
    box-shadow: none;
    outline: none;
}

.sa-op-btn2:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-1px);
}

/* Icons */
.sa-op-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1;
}

.sa-op-btn1 .sa-op-btn-icon svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
}

.sa-op-btn2 .sa-op-btn-icon svg {
    width: 13px;
    height: 13px;
    fill: currentColor;
}

/* ── Trust text ── */
.sa-op-trust {
    color: rgba(255, 255, 255, 0.40);
    font-size: 12px;
    text-align: right;
    line-height: 1.5;
}

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */

@media (max-width: 767px) {
    .sa-op-panel  { padding: 20px; border-radius: 18px; }

    .sa-op-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
    }

    .sa-op-left   { flex: unset; }
    .sa-op-right  { align-items: stretch; }

    .sa-op-btns {
        flex-direction: column;
        justify-content: stretch;
    }

    .sa-op-btn1,
    .sa-op-btn2 {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
    }

    .sa-op-trust  { text-align: center; }
    .sa-op-price  { font-size: 28px; }
}

@media (max-width: 480px) {
    .sa-op-panel  { padding: 16px; border-radius: 14px; }
    .sa-op-price  { font-size: 24px; }
    .sa-op-title  { font-size: 15px; }
}
