/* Plans: the section head, the pricing page's plan cards (v1's or v3's, sections/plans.php), then its plans table
   without the table section's own head, all on the same beige */
.sales-page .sales-plans {
    padding-bottom: 0;
    background: var(--ltb-light-beige);
}

/* v1 (pricing-2026's page): its cards on the section's beige; the row's bottom room (88px, where a hovered card
   grows) is the gap to the table */
.sales-plan-cards .np2026 {
    padding-bottom: 0;
    background: none;
}

.sales-plan-cards .npplans {
    margin-top: 0;
}

/* a CTA longer than its button (BETTER's free trial in Greek, Bulgarian, Hungarian, …) wraps to a second line in it */
.sales-plan-cards .npcard__btn {
    height: auto;
    min-height: 48px;
    padding-top: 12px;
    padding-bottom: 12px;
    white-space: normal;
}

.sales-plan-cards .npcard__btn .npbtn__label {
    min-width: 0;
    line-height: 18px;
    text-align: center;
}

/* v3: its hero without the photo and title, a black band with the cards' glass panel */
.sales-plan-cards .np3 {
    background: none;
}

.sales-plan-cards__band {
    position: relative;
    overflow: hidden;
    margin-bottom: 88px;
    padding: 40px 0;
    border-radius: 24px;
    background: #000;
    color: #fff;
}

.sales-plan-cards__band .np3-hero__photo,
.sales-plan-cards__band .np3-hero__header {
    display: none;
}

.sales-plan-cards__band .np3-plans {
    margin-top: 0;
}

/* the switcher, while the row swipes */
@media (max-width: 1489px) {
    .sales-plan-cards__band .np3-switch {
        margin-top: 0;
    }

    .sales-plan-cards__band .np3-plans {
        margin-top: 24px;
    }
}

/* the table: its head is the section's */
.sales-page .sales-plans-table .ltb-plans {
    padding-top: 0;
}

.sales-plans-table .ltb-plans__head {
    display: none;
}

.sales-plans-table .ltb-pricing-table.np2026 {
    padding-top: 0;
}

@media (max-width: 1023px) {
    .sales-plan-cards__band {
        margin-bottom: 40px;
        padding: 24px 0 8px;
    }
}

@media (max-width: 999px) {
    .sales-plan-cards__band .np3-plans {
        margin-top: 0;
    }
}

@media (max-width: 991px) {
    .sales-plan-cards .npplans {
        padding-bottom: 40px;
    }
}

/* 'cards' => false: the benefit landings' plans section (Shopping's) 96px under the section above; last on the page,
   the footer's CTA card 116.7px under it (the footer wrap's 70px padding sits above the card) */
@media (min-width: 1024px) {
    .sales-page .sales-plans-only .ltb-plans {
        padding-top: 96px;
    }

    body:has(.sales-page > .sales-plans-only:last-child) .footer-2026-wrap {
        margin-top: 46.7px;
    }
}

/* 'cards' => false, the table (sections/plans-table.php: the pricing page's v1 table with its own desktop table) in
   the design's look on desktop: 1312 wide, the section title 26px black italic, the plan lockups (ring mark + 30px
   name) with the free trial over BETTER, 32px brush marks, no plan buttons under the rows */
@media screen and (min-width: 992px) {
    .sales-pricing-table.np2026 .npcmp .np-container {
        width: min(1312px, 100% - 48px);
    }

    .sales-pricing-table .npgrp__title,
    .sales-pricing-table .npgrp:not(.is-open) .npgrp__title {
        font-size: 26px;
        font-style: italic;
        font-weight: 900;
        line-height: 32px;
        letter-spacing: 0;
    }

    .sales-pricing-table .npgrp__plan {
        position: relative;
        font-size: 30px;
    }

    .sales-pricing-table .sales-tbl__lockup {
        display: inline-flex;
        align-items: center;
        gap: 4.59px;
    }

    .sales-pricing-table .sales-tbl__mark {
        display: block;
        flex: none;
        width: auto;
        max-width: none;
        height: auto;
    }

    /* the marks' art reaches past their 27px box (the design's lockup gap is from the box) */
    .sales-pricing-table .npgrp__plan:nth-child(1) .sales-tbl__mark,
    .sales-pricing-table .npgrp__plan:nth-child(2) .sales-tbl__mark {
        margin-right: -3.56px;
    }

    .sales-pricing-table .npgrp__plan:nth-child(3) .sales-tbl__mark {
        margin: 0 -1.41px 0 -1.04px;
    }

    .sales-pricing-table .npgrp__plan:nth-child(4) .sales-tbl__lockup {
        gap: 5.11px;
    }

    .sales-pricing-table .npgrp__plan-title {
        font-size: 30px;
        line-height: 26px;
        letter-spacing: 1.2px;
    }

    /* the dark pill over BETTER's name (trial.flag: 11px black, "free" green) */
    .sales-pricing-table .sales-tbl__trial {
        position: absolute;
        bottom: calc(100% + 6px);
        left: 50%;
        padding: 5px 19px 4px;
        border-radius: 38px;
        background: var(--ltb-carbon);
        color: #fff;
        font-size: 11px;
        font-weight: 900;
        line-height: 10px;
        letter-spacing: .77px;
        text-transform: uppercase;
        white-space: nowrap;
        transform: translateX(-50%);
    }

    .sales-pricing-table .sales-tbl__trial-accent {
        color: var(--ltb-green-muted);
    }

    .sales-pricing-table .nprow__tick,
    .sales-pricing-table .nprow__dash {
        width: 32px;
        height: 32px;
        background-size: 32px 32px;
    }

    .sales-pricing-table .nprow__value {
        font-weight: 700;
    }

    .sales-pricing-table .npcmp__pick {
        display: none;
    }
}

/* 'cards' => false: the design's 88px from the head to the table; the outlined button's label is a 207px box */
@media screen and (min-width: 992px) {
    .sales-plans-only .sales-pricing-table.np2026 {
        padding-top: 88px;
    }

    .sales-plans-only .ltb-plans__cta .ltb-btn--outline .ltb-btn__label {
        min-width: 207px;
        text-align: left;
    }
}

/* phones and tablets: the table without the pricing page's fixed bars (the plans bar at the top, the price bar at the
   bottom and the back-to-top button) - it scrolls with the page */
@media screen and (max-width: 991px) {
    .sales-pricing-table .npcmp__thead,
    .sales-pricing-table .npcmp__footbar,
    .sales-pricing-table .npfab {
        display: none;
    }

    .sales-pricing-table.np2026 .npcmp {
        padding-bottom: 0;
    }
}
