.sf-discounts-page {
    --sf-sales-ink: #251c28;
    --sf-sales-muted: #665f69;
    --sf-sales-border: #e7e1e8;
    --sf-sales-surface: #ffffff;
    --sf-sales-soft: #f8f6f8;
    --sf-sales-brand: #6d237d;
    --sf-sales-brand-dark: #3e104c;
    --sf-sales-gold: #efb400;
    --sf-sales-shadow: 0 14px 34px rgba(45, 28, 49, .075);
}

.sf-discounts-page .sf-info-v1-hero__content {
    max-width: 860px;
}

.sf-discounts-page .sf-info-v1-hero__lead {
    max-width: 790px;
    text-wrap: pretty;
}

.sf-discounts-page .sf-discounts-hero__note {
    max-width: 790px;
    margin: 0;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: 12px;
    background: rgba(28, 8, 35, .36);
    color: rgba(255, 255, 255, .94);
    font-size: 13px;
    font-weight: 590;
    line-height: 1.5;
    text-wrap: pretty;
}

.sf-discounts-page .sf-info-v1-shell {
    padding-top: clamp(22px, 3vw, 36px);
}

.sf-discounts-page .sf-info-v1-panel[data-content-kind="discounts"] {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.sf-discounts-page .sf-info-v1-source--discounts {
    min-width: 0;
    color: var(--sf-sales-ink);
}

.sf-discounts-page .sales__page {
    display: grid;
    min-width: 0;
    gap: 22px;
}

.sf-discounts-page .sales__nav {
    padding: clamp(18px, 2.6vw, 26px);
    border: 1px solid var(--sf-sales-border);
    border-radius: 20px;
    background:
        radial-gradient(circle at 100% 0, rgba(239, 180, 0, .11), transparent 34%),
        linear-gradient(145deg, #ffffff, #faf7fb);
    box-shadow: var(--sf-sales-shadow);
}

.sf-discounts-page .sales__nav-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: sf-sales-nav;
}

.sf-discounts-page .sales__nav-item {
    min-width: 0;
    margin: 0;
    padding: 0;
    counter-increment: sf-sales-nav;
}

.sf-discounts-page .sales__nav-link {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-height: 58px;
    padding: 10px 12px;
    border: 1px solid #e9e2ea;
    border-radius: 14px;
    background: rgba(255, 255, 255, .88);
    color: #403744;
    font-size: 13px;
    font-weight: 670;
    line-height: 1.3;
    text-decoration: none;
    text-wrap: pretty;
    touch-action: manipulation;
    transition: border-color .16s ease, box-shadow .16s ease, color .16s ease, transform .16s ease;
}

.sf-discounts-page .sales__nav-link::before {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 10px;
    background: #f0e6f2;
    color: var(--sf-sales-brand);
    content: counter(sf-sales-nav, decimal-leading-zero);
    font-size: 11px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.sf-discounts-page .sales__nav-link:hover {
    border-color: #cdbbcf;
    box-shadow: 0 9px 20px rgba(53, 32, 57, .09);
    color: var(--sf-sales-brand-dark);
    transform: translateY(-1px);
}

.sf-discounts-page .sales__nav-link:focus-visible {
    outline: 3px solid var(--sf-sales-brand);
    outline-offset: 3px;
}

.sf-discounts-page .sales__block {
    --sf-sales-accent: var(--sf-sales-brand);
    --sf-sales-accent-soft: #f5edf6;
    min-width: 0;
    margin: 0;
    padding: clamp(21px, 3vw, 34px);
    border: 1px solid var(--sf-sales-border);
    border-radius: 22px;
    background: var(--sf-sales-surface);
    box-shadow: var(--sf-sales-shadow);
}

.sf-discounts-page #sf-info-v1-discounts-segments {
    --sf-sales-accent: #6d237d;
    --sf-sales-accent-soft: #f4ecf6;
}

.sf-discounts-page #sf-info-v1-discounts-meters-discounts {
    --sf-sales-accent: #27705a;
    --sf-sales-accent-soft: #eaf5f1;
}

.sf-discounts-page #sf-info-v1-discounts-kg-discounts {
    --sf-sales-accent: #a06124;
    --sf-sales-accent-soft: #fff1e4;
}

.sf-discounts-page #sf-info-v1-discounts-referral {
    --sf-sales-accent: #6352a8;
    --sf-sales-accent-soft: #efedfb;
}

.sf-discounts-page #sf-info-v1-discounts-reviews {
    --sf-sales-accent: #2d6577;
    --sf-sales-accent-soft: #eaf3f6;
}

.sf-discounts-page #sf-info-v1-discounts-how-it-works {
    --sf-sales-accent: #3f5f94;
    --sf-sales-accent-soft: #edf2fa;
}

.sf-discounts-page #sf-info-v1-discounts-examples {
    --sf-sales-accent: #8a425f;
    --sf-sales-accent-soft: #faedf2;
}

.sf-discounts-page #sf-info-v1-discounts-notes {
    --sf-sales-accent: #4d6b5e;
    --sf-sales-accent-soft: #edf5f1;
}

.sf-discounts-page .sales__block-head {
    margin: 0 0 22px;
    padding: 14px 17px;
    border-left: 4px solid var(--sf-sales-accent);
    border-radius: 12px;
    background: var(--sf-sales-accent-soft);
    color: var(--sf-sales-ink);
    font-size: clamp(20px, 2vw, 27px);
    font-weight: 790;
    line-height: 1.2;
    letter-spacing: -.02em;
    text-wrap: balance;
}

.sf-discounts-page .sales__block-info {
    min-width: 0;
    color: #382f3b;
    font-size: 15px;
    line-height: 1.68;
}

.sf-discounts-page .sales__block-info :where(p, ul, ol) {
    margin-top: 0;
    margin-bottom: 14px;
}

.sf-discounts-page .sales__block-info :where(ul, ol) {
    padding-left: 23px;
}

.sf-discounts-page .sales__block-info li + li {
    margin-top: 7px;
}

.sf-discounts-page .sales__block-info li::marker {
    color: var(--sf-sales-accent);
    font-weight: 800;
}

.sf-discounts-page .sales__block-info h3 {
    margin: 24px 0 10px;
    color: var(--sf-sales-ink);
    font-size: clamp(17px, 1.6vw, 20px);
    font-weight: 760;
    line-height: 1.3;
    text-wrap: balance;
}

.sf-discounts-page .sales__block-info a {
    color: var(--sf-sales-brand);
    font-weight: 680;
    text-decoration-thickness: 1px;
    text-underline-offset: .18em;
}

.sf-discounts-page .sales__block-info a:hover {
    color: var(--sf-sales-brand-dark);
}

.sf-discounts-page .sales__block-info a:focus-visible {
    outline: 3px solid var(--sf-sales-brand);
    outline-offset: 3px;
    border-radius: 4px;
}

.sf-discounts-page .muted {
    color: var(--sf-sales-muted);
    font-size: 14px;
    line-height: 1.65;
}

.sf-discounts-page .sales__segments-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.sf-discounts-page .sales__segments-grid > div {
    min-width: 0;
    padding: 19px;
    border: 1px solid #e1e6f0;
    border-radius: 17px;
    background: #f4f7fd;
}

.sf-discounts-page .sales__segments-grid > div:nth-child(2) {
    border-color: #f0dfd0;
    background: #fff6ed;
}

.sf-discounts-page .sales__segments-grid > div:nth-child(3) {
    border-color: #d8e8df;
    background: #eff8f3;
}

.sf-discounts-page .sales__segments-grid .muted {
    margin-bottom: 0;
    overflow-wrap: anywhere;
}

.sf-discounts-page .tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    margin-bottom: 15px;
    padding: 5px 10px;
    border-radius: 999px;
    color: #fff;
    font-size: 11px;
    font-weight: 780;
    line-height: 1.2;
}

.sf-discounts-page .tag-base {
    background: #4969ad;
}

.sf-discounts-page .tag-mid {
    background: #b86428;
}

.sf-discounts-page .tag-prem {
    background: #287157;
}

.sf-discounts-page .label {
    margin-bottom: 4px;
    color: #716a74;
    font-size: 11px;
    font-weight: 720;
    letter-spacing: .06em;
    line-height: 1.3;
    text-transform: uppercase;
}

.sf-discounts-page .highlight {
    color: var(--sf-sales-accent);
    font-weight: 800;
}

.sf-discounts-page .footnote {
    margin: 18px 0 0;
    padding: 14px 16px;
    border-left: 4px solid var(--sf-sales-gold);
    border-radius: 10px;
    background: #fff8dd;
    color: #574a2a;
    font-size: 13px;
    font-weight: 590;
    line-height: 1.55;
}

.sf-discounts-page .table-wrapper {
    max-width: 100%;
    margin: 18px 0;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    border: 1px solid var(--sf-sales-border);
    border-radius: 15px;
    background: #fff;
    -webkit-overflow-scrolling: touch;
}

.sf-discounts-page .table-wrapper:focus-visible {
    outline: 3px solid var(--sf-sales-accent);
    outline-offset: 3px;
}

.sf-discounts-page .table-wrapper table {
    width: 100%;
    min-width: 520px;
    border-collapse: separate;
    border-spacing: 0;
    color: var(--sf-sales-ink);
    font-size: 14px;
    font-variant-numeric: tabular-nums;
}

.sf-discounts-page .table-wrapper :where(th, td) {
    padding: 13px 16px;
    border: 0;
    border-bottom: 1px solid #ece7ed;
    text-align: left;
}

.sf-discounts-page .table-wrapper th {
    background: #f5f1f6;
    color: #4f4552;
    font-size: 12px;
    font-weight: 780;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.sf-discounts-page .table-wrapper tbody tr:nth-child(even) td {
    background: #fbfafb;
}

.sf-discounts-page .table-wrapper tbody td:last-child {
    color: var(--sf-sales-accent);
    font-weight: 820;
}

.sf-discounts-page .table-wrapper tbody tr:last-child td {
    border-bottom: 0;
}

.sf-discounts-page .badge-inline,
.sf-discounts-page .chip {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    margin: 0 7px 5px 0;
    padding: 4px 9px;
    border-radius: 999px;
    background: var(--sf-sales-accent-soft);
    color: var(--sf-sales-accent);
    font-size: 12px;
    font-weight: 760;
    line-height: 1.25;
}

.sf-discounts-page .place-card,
.sf-discounts-page .example-box {
    margin-top: 12px;
    padding: 16px 18px;
    border: 1px solid var(--sf-sales-border);
    border-radius: 15px;
    background: var(--sf-sales-soft);
}

.sf-discounts-page .place-card ul {
    margin-bottom: 0;
}

.sf-discounts-page .place-title,
.sf-discounts-page .example-title {
    margin-bottom: 6px;
    color: var(--sf-sales-ink);
    font-weight: 780;
}

.sf-discounts-page .sales__steps {
    display: grid;
    gap: 10px;
    margin: 14px 0 20px;
    padding: 0;
    list-style: none;
    counter-reset: sf-sales-steps;
}

.sf-discounts-page .sales__steps > li {
    position: relative;
    min-height: 54px;
    margin: 0;
    padding: 14px 16px 14px 56px;
    border: 1px solid var(--sf-sales-border);
    border-radius: 14px;
    background: #faf9fb;
    counter-increment: sf-sales-steps;
}

.sf-discounts-page .sales__steps > li::before {
    position: absolute;
    top: 13px;
    left: 14px;
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 9px;
    background: var(--sf-sales-accent);
    color: #fff;
    content: counter(sf-sales-steps);
    font-size: 12px;
    font-weight: 800;
}

.sf-discounts-page .sales__steps > li > ul {
    margin-top: 9px;
    margin-bottom: 0;
}

.sf-discounts-page #sf-info-v1-discounts-examples .sales__block-info > h3 {
    margin: 16px 0 0;
    padding: 16px 18px 8px;
    border: 1px solid #eadde3;
    border-bottom: 0;
    border-radius: 15px 15px 0 0;
    background: #fdf7f9;
}

.sf-discounts-page #sf-info-v1-discounts-examples .sales__block-info > h3 + p {
    margin: 0;
    padding: 0 18px 9px;
    border-right: 1px solid #eadde3;
    border-left: 1px solid #eadde3;
    background: #fdf7f9;
}

.sf-discounts-page #sf-info-v1-discounts-examples .sales__block-info > h3 + p + ul {
    margin: 0;
    padding: 0 18px 17px 40px;
    border: 1px solid #eadde3;
    border-top: 0;
    border-radius: 0 0 15px 15px;
    background: #fdf7f9;
}

.sf-discounts-page #sf-info-v1-discounts-notes .sales__block-info > ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sf-discounts-page #sf-info-v1-discounts-notes .sales__block-info > ul > li {
    margin: 0;
    padding: 15px 17px;
    border: 1px solid #dde9e2;
    border-radius: 14px;
    background: #f7fbf9;
}

.sf-discounts-page #sf-info-v1-discounts-notes .sales__block-info > ul > li strong:first-child {
    color: #294a3b;
}

.sf-discounts-page [id^="sf-info-v1-discounts-"] {
    scroll-margin-top: 112px;
}

@media (max-width: 980px) {
    .sf-discounts-page .sales__nav-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sf-discounts-page .sales__segments-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 767px) {
    .sf-discounts-page .sf-discounts-hero__note {
        padding: 9px 11px;
        font-size: 12px;
    }

    .sf-discounts-page .sales__page {
        gap: 15px;
    }

    .sf-discounts-page .sales__nav {
        padding: 14px;
        border-radius: 16px;
    }

    .sf-discounts-page .sales__nav-link {
        min-height: 54px;
        padding: 9px 10px;
        font-size: 12px;
    }

    .sf-discounts-page .sales__block {
        padding: 18px 16px;
        border-radius: 17px;
    }

    .sf-discounts-page .sales__block-head {
        margin-bottom: 17px;
        padding: 12px 13px;
        font-size: 20px;
    }

    .sf-discounts-page .sales__block-info {
        font-size: 14px;
        line-height: 1.62;
    }

    .sf-discounts-page .muted {
        font-size: 13px;
    }

    .sf-discounts-page .sales__segments-grid > div {
        padding: 16px;
    }

    .sf-discounts-page .table-wrapper {
        margin-right: -2px;
        margin-left: -2px;
    }
}

@media (max-width: 460px) {
    .sf-discounts-page .sales__nav-list {
        grid-template-columns: minmax(0, 1fr);
    }

    .sf-discounts-page .sales__nav-link {
        min-height: 50px;
    }

    .sf-discounts-page #sf-info-v1-discounts-examples .sales__block-info > h3,
    .sf-discounts-page #sf-info-v1-discounts-examples .sales__block-info > h3 + p {
        padding-right: 14px;
        padding-left: 14px;
    }

    .sf-discounts-page #sf-info-v1-discounts-examples .sales__block-info > h3 + p + ul {
        padding-right: 14px;
        padding-left: 34px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sf-discounts-page .sales__nav-link {
        transition: none;
    }
}
