/* Pricing page v2 refinements: clearer currency controls, dual-price list and buyer guidance. */

.pricing-chooser__row b em {
    color: inherit;
    font-style: normal;
}

.pricing-price-list {
    background: #fff;
}

.pricing-list-head,
.pricing-list__row {
    display: grid;
    grid-template-columns: minmax(240px, 1.7fr) minmax(110px, .8fr) minmax(95px, .7fr) minmax(85px, .65fr) minmax(100px, .75fr);
    gap: 18px;
    align-items: center;
}

.pricing-list-head {
    padding: 0 22px 12px;
    color: var(--bw-muted);
    font-size: .76rem;
    font-weight: 850;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.pricing-list {
    overflow: hidden;
    border: 1px solid var(--bw-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(44,38,71,.065);
}

.pricing-list__row {
    padding: 17px 22px;
    border-bottom: 1px solid var(--bw-border);
    color: var(--bw-navy);
    text-decoration: none;
    transition: background .18s ease;
}

.pricing-list__row:last-child {
    border-bottom: 0;
}

.pricing-list__row:hover {
    background: #fff8f4;
}

.pricing-list__name {
    display: grid;
    gap: 3px;
}

.pricing-list__name strong {
    color: var(--bw-navy);
    font-size: 1rem;
}

.pricing-list__name small {
    color: var(--bw-muted);
    font-size: .82rem;
}

.pricing-list__row > span:not(.pricing-list__name) strong {
    color: var(--bw-navy);
    font-size: .96rem;
}

.pricing-list__row > span:nth-child(3) strong,
.pricing-list__row > span:nth-child(4) strong {
    color: #c93d00;
}

.pricing-list-note {
    max-width: 940px;
    margin: 18px auto 0;
    color: var(--bw-muted);
    font-size: .92rem;
    text-align: center;
}

.pricing-levels__grid {
    display: grid;
    grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr);
    gap: 54px;
    align-items: center;
}

.pricing-levels__grid > div:first-child p {
    max-width: 720px;
}

.pricing-levels__cards {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 14px;
}

.pricing-levels__cards article {
    padding: 24px;
    border: 1px solid var(--bw-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(44,38,71,.05);
}

.pricing-levels__cards article > span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin-bottom: 14px;
    border-radius: 9px;
    background: #fff1e9;
    color: #c93d00;
    font-size: .75rem;
    font-weight: 900;
}

.pricing-levels__cards strong {
    display: block;
    margin-bottom: 7px;
    color: var(--bw-navy);
    font-size: 1.08rem;
}

.pricing-levels__cards p {
    margin: 0;
    color: var(--bw-muted);
}

.pricing-currency-bar {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin: 30px 0 12px;
    padding: 20px 24px;
    border: 1px solid rgba(201,61,0,.22);
    border-radius: 16px;
    background: linear-gradient(135deg,#fff7f2 0%,#fff 76%);
    box-shadow: 0 10px 28px rgba(44,38,71,.055);
}

.pricing-currency-bar > div:first-child {
    display: grid;
    gap: 3px;
}

.pricing-currency-bar strong {
    color: var(--bw-navy);
    font-size: 1.05rem;
}

.pricing-currency-bar span {
    color: var(--bw-muted);
    font-size: .9rem;
}

.pricing-currency-bar .currency-switch {
    flex: 0 0 auto;
    margin: 0;
}

.pricing-group-actions {
    display: flex;
    align-items: flex-end;
    gap: 14px;
    flex-direction: column;
}

.pricing-group-actions .currency-switch {
    margin: 0;
}

.pricing-group-actions .pricing-family-link {
    font-size: .9rem;
}

.pricing-order-notes__grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 16px;
}

.pricing-order-notes__grid article {
    padding: 28px;
    border: 1px solid var(--bw-border);
    border-top: 3px solid #c93d00;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(44,38,71,.05);
}

.pricing-order-notes__grid article > span {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    margin-bottom: 17px;
    border-radius: 9px;
    background: #fff1e9;
    color: #c93d00;
    font-size: .75rem;
    font-weight: 900;
}

.pricing-order-notes__grid h3 {
    font-size: 1.12rem;
}

.pricing-order-notes__grid p {
    margin: 0;
    color: var(--bw-muted);
}

.pricing-related__grid {
    display: grid;
    grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr);
    gap: 52px;
    align-items: center;
}

.pricing-related__links {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 14px;
}

.pricing-related__links a {
    display: grid;
    gap: 5px;
    padding: 22px;
    border: 1px solid var(--bw-border);
    border-radius: 14px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(44,38,71,.04);
}

.pricing-related__links a:hover {
    border-color: rgba(201,61,0,.35);
}

.pricing-related__links strong {
    color: var(--bw-navy);
}

.pricing-related__links span {
    color: var(--bw-muted);
    line-height: 1.5;
}

/* Final CTA: make the action unmistakable and keep white text contrast compliant. */
.pricing-final-cta {
    background: #c93d00;
}

.pricing-final-cta .btn-light {
    min-width: 188px;
    min-height: 50px;
    padding-inline: 24px;
    border: 2px solid var(--bw-navy);
    border-radius: 9px;
    background: var(--bw-navy);
    color: #fff !important;
    box-shadow: 0 12px 28px rgba(24,18,46,.20);
    white-space: nowrap;
}

.pricing-final-cta .btn-light:hover {
    border-color: var(--bw-navy-2);
    background: var(--bw-navy-2);
    color: #fff !important;
}

@media (max-width: 1000px) {
    .pricing-levels__grid,
    .pricing-related__grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .pricing-order-notes__grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

@media (max-width: 760px) {
    .pricing-price-list.section,
    .pricing-levels.section,
    .pricing-explainer.section {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .pricing-list-head {
        display: none;
    }

    .pricing-list {
        display: grid;
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 10px;
        overflow: visible;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .pricing-list__row {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 8px 12px;
        align-content: start;
        margin: 0;
        padding: 15px;
        border: 1px solid var(--bw-border);
        border-radius: 14px;
        background: #fff;
        box-shadow: 0 8px 22px rgba(44,38,71,.045);
    }

    .pricing-list__name {
        grid-column: 1 / -1;
        padding-bottom: 8px;
        border-bottom: 1px solid var(--bw-border);
    }

    .pricing-list__name strong {
        font-size: 1rem;
        line-height: 1.3;
    }

    .pricing-list__name small {
        display: none;
    }

    .pricing-list__row > span:not(.pricing-list__name) {
        display: grid;
        gap: 1px;
        min-width: 0;
    }

    .pricing-list__row > span:not(.pricing-list__name)::before {
        content: attr(data-label);
        color: var(--bw-muted);
        font-size: .7rem;
        font-weight: 800;
        letter-spacing: .035em;
        text-transform: uppercase;
    }

    .pricing-list__row > span:not(.pricing-list__name) strong {
        font-size: .92rem;
        line-height: 1.3;
    }

    .pricing-list__row > span:nth-child(5) {
        grid-column: 1 / -1;
    }

    .pricing-list-note {
        margin-top: 16px;
        font-size: .88rem;
    }

    .pricing-currency-bar {
        align-items: stretch;
        flex-direction: column;
    }

    .pricing-currency-bar .currency-switch {
        width: 100%;
        justify-content: center;
    }

    .package-group__heading {
        align-items: stretch;
    }

    .pricing-group-actions {
        width: 100%;
        align-items: stretch;
    }

    .pricing-group-actions .currency-switch {
        width: 100%;
        justify-content: center;
    }

    .pricing-group-actions .pricing-family-link {
        text-align: center;
    }

    .pricing-levels__cards {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .pricing-levels__cards article {
        padding: 20px;
    }

    .pricing-order-notes__grid,
    .pricing-related__links {
        grid-template-columns: 1fr;
    }

    .pricing-final-cta__inner {
        align-items: stretch;
        flex-direction: column;
        gap: 22px;
    }

    .pricing-final-cta .btn-light {
        width: 100%;
    }
}

@media (max-width: 380px) {
    .pricing-list {
        grid-template-columns: 1fr;
    }

    .pricing-levels__cards {
        grid-template-columns: 1fr;
    }
}
