/* ============================================================================
   webshop-pricing.css — pricing + részletek + bővítmény csoportok
   ========================================================================== */

.page-title {
    margin-bottom: 8px;
}

/* HERO intro */
.page-intro {
    max-width: 72ch;
}

/* Két pricing kártya */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(14px, 2vw, 20px);
}

@media (min-width: 980px) {
    .pricing-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Pricing card */
.p-card {
    background: rgba(255, 255, 255, .035);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: clamp(14px, 1.8vw, 22px);
}

.p-head {
    margin-bottom: 8px;
}

.p-features {
    margin: 0 0 12px 0;
    padding-left: 18px;
    display: grid;
    gap: 6px;
    line-height: 1.65;
    max-width: 70ch;
}

/* Price lines */
.p-lines {
    border-top: 1px solid rgba(255, 255, 255, .1);
    margin-top: 10px;
    padding-top: 12px;
    display: grid;
    gap: 10px;
}

.p-line {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 10px;
}

.p-line__label {
    color: var(--muted);
    font-size: .95rem;
}

.pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .04);
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
}

.pill--disabled {
    background: linear-gradient(180deg, rgba(255, 180, 60, .15), rgba(0, 0, 0, .18));
    border-color: rgba(255, 180, 60, .35);
}

.pill--ok {
    background: rgba(0, 0, 0, .18);
}

.pill--cta {
    background: linear-gradient(180deg, rgba(255, 145, 60, .22), rgba(0, 0, 0, .18));
    border-color: rgba(255, 145, 60, .38);
}

.pill--cta:hover {
    filter: brightness(1.05);
}

/* Actions */
.p-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.btn-ghost {
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .04);
}

/* Részletek grid */
.detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(12px, 1.8vw, 18px);
    margin-top: 8px;
}

@media (min-width: 960px) {
    .detail-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.detail-list {
    margin: 6px 0 0 0;
    padding-left: 18px;
    display: grid;
    gap: 6px;
    line-height: 1.65;
}

.notice {
    margin-top: 10px;
    padding: 10px 12px;
    border: 1px dashed rgba(255, 255, 255, .18);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .03);
}

/* Csoportcímek a bővítményekhez */
.group-title {
    margin: 18px 0 6px 0;
    font-size: clamp(16px, 1.6vw, 18px);
    position: relative;
    padding-left: 10px;
}

.group-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 4px;
    height: 18px;
    border-radius: 2px;
    background: var(--accent);
    opacity: .9;
}

/* Add-on rács */
.addon-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(12px, 1.8vw, 18px);
}

@media (min-width: 900px) {
    .addon-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1280px) {
    .addon-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.addon.card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: var(--radius);
    padding: clamp(12px, 1.6vw, 18px);
    transition: transform .25s var(--spring), border-color .25s;
}

.addon.card:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, .14);
}

.addon-price {
    margin-top: auto;
    font-weight: 700;
}

/* Egyéb segédstílusok */
.tip {
    margin-top: 10px;
}

.actions-row {
    margin-top: 12px;
    display: flex;
    justify-content: flex-end;
}

/* XS finomítás */
@media (max-width: 479.98px) {
    .p-card {
        padding: 14px;
    }

    .p-line {
        grid-template-columns: 1fr;
    }

    .pill {
        width: 100%;
    }

    .p-actions {
        justify-content: stretch;
    }

    .p-actions .btn,
    .p-actions .btn-accent,
    .btn-ghost {
        flex: 1 1 auto;
        text-align: center;
    }
}