/* ============================================================
   WVP – frontend.css  v3.0.0
   Matches the screenshot exactly: "Selected variant: Aqua"
   headline + teal active capsule + ghost inactive capsules.
   ============================================================ */

/* ── Wrapper ── */
.wvp-picker {
    margin: 16px 0 20px;
    font-family: inherit;
}

/* ── Headline: "Selected variant: Aqua" ── */
.wvp-headline {
    margin: 0 0 10px;
    font-size: 0.875rem;        /* ~14px */
    font-weight: 400;
    color: #344054;
    line-height: 1.5;
}

.wvp-headline strong.wvp-active-name {
    font-weight: 700;
    color: #101828;
}

/* ── Pill list ── */
.wvp-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.wvp-pill-item {
    margin: 0;
    padding: 0;
}

/* ── Base pill ── */
.wvp-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 18px;
    border-radius: 999px;           /* full capsule */
    border: 1.5px solid #d0d5dd;
    background: #fff;
    color: #344054;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.5;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition:
        border-color 0.16s ease,
        color        0.16s ease,
        background   0.16s ease;
}

/* ── Hover (inactive pills only) ── */
.wvp-pill:hover:not(.wvp-pill--active) {
    border-color: #3eb8a0;
    color: #3eb8a0;
    text-decoration: none;
}

/* ── Active pill — teal capsule matching the screenshot ── */
.wvp-pill--active {
    border-color: #3eb8a0;
    background:   #edfaf7;
    color:        #3eb8a0;
    font-weight:  600;
    cursor:       default;
    pointer-events: none;   /* prevent re-clicking current pill */
}

/* ── Focus ring (accessibility) ── */
.wvp-pill:focus-visible {
    outline: 2px solid #3eb8a0;
    outline-offset: 2px;
}

/* ── Editor-mode notices ── */
.wvp-editor-notice,
.wvp-editor-placeholder {
    padding: 12px;
    background: #f5f7fb;
    border: 1.5px dashed #c3c4c7;
    border-radius: 6px;
    font-size: 12px;
    color: #555d6b;
    text-align: center;
    line-height: 1.5;
}

.wvp-ep-icon {
    font-size: 22px;
    margin-bottom: 6px;
}

.wvp-ep-text {
    font-size: 13px;
    font-weight: 600;
    color: #3d4555;
}

.wvp-ep-text small {
    display: block;
    font-weight: 400;
    color: #888;
    margin-top: 2px;
    font-size: 11px;
}

/* ── Responsive ── */
@media (max-width: 480px) {
    .wvp-pill {
        font-size: 0.8rem;
        padding: 5px 14px;
    }
    .wvp-pills {
        gap: 6px;
    }
}
