/* ═══════════════════════════════════════════════════
   SRVogue — Product CTA Banner — Frontend Styles
   ═══════════════════════════════════════════════════ */

/* Strip sidebar-block border/shadow when wrapping this block */
.srvw-sidebar-block:has(.srvw-product-cta) {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
}

/* ── Banner container ──────────────────────────────── */
.srvw-product-cta {
    position: relative;
    border-radius: 14px;
    padding: 40px 48px;
    text-align: center;
    overflow: hidden;
    /* diagonal stripe texture */
    background-image:
        repeating-linear-gradient(
            45deg,
            rgba(255, 255, 255, 0.06) 0px,
            rgba(255, 255, 255, 0.06) 1px,
            transparent 1px,
            transparent 12px
        );
}

/* ── Headline ──────────────────────────────────────── */
.srvw-cta-headline {
    font-size: clamp(22px, 4vw, 32px) !important;
    font-weight: 800 !important;
    color: #1a1a1a !important;
    line-height: 1.25 !important;
    margin: 0 0 10px !important;
    letter-spacing: -0.3px;
}

/* ── Subtext ───────────────────────────────────────── */
.srvw-cta-subtext {
    font-size: 14px !important;
    color: rgba(0, 0, 0, 0.72) !important;
    margin: 0 0 14px !important;
    line-height: 1.5 !important;
    font-weight: 400 !important;
}

/* ── Category badge ────────────────────────────────── */
.srvw-cta-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #1a1a2e;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 13px;
    border-radius: 999px;
    margin-bottom: 22px;
    letter-spacing: 0.2px;
}

/* ── Buttons row ───────────────────────────────────── */
.srvw-cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.srvw-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 13px 26px;
    border-radius: 999px;
    font-size: 14.5px;
    font-weight: 700;
    text-decoration: none !important;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
    white-space: nowrap;
    line-height: 1;
}

.srvw-cta-btn--primary {
    background: #1a1a2e;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.srvw-cta-btn--primary:hover {
    background: #0d0d1a;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.32);
    color: #ffffff !important;
    text-decoration: none !important;
}

.srvw-cta-btn--secondary {
    background: rgba(255, 255, 255, 0.28);
    color: #1a1a1a !important;
    backdrop-filter: blur(4px);
    border: 1.5px solid rgba(255, 255, 255, 0.55);
}

.srvw-cta-btn--secondary:hover {
    background: rgba(255, 255, 255, 0.45);
    transform: translateY(-2px);
    color: #1a1a1a !important;
    text-decoration: none !important;
}

/* ── Price pill inside the primary button ──────────── */
.srvw-cta-btn-price {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    padding: 2px 11px;
    font-size: 13.5px;
    font-weight: 800;
    letter-spacing: -0.2px;
    line-height: 1.5;
}

/* ── Mobile ────────────────────────────────────────── */
@media (max-width: 600px) {
    .srvw-product-cta {
        padding: 28px 22px;
    }
    .srvw-cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .srvw-cta-btn {
        width: 100%;
        justify-content: center;
    }
}
