/*
 * Sarafanovo information pages v1.
 * Deliberately scoped to .sf-info-v1 so legacy theme pages are not affected.
 */
.sf-info-v1 {
    --sf-info-brand: #8f0ac6;
    --sf-info-brand-bright: #b313dc;
    --sf-info-brand-dark: #4b0f65;
    --sf-info-brand-deep: #27072f;
    --sf-info-magenta: #b52086;
    --sf-info-accent: #fbbb0d;
    --sf-info-accent-hover: #ffd14a;
    --sf-info-ink: #241f27;
    --sf-info-copy: #514a55;
    --sf-info-muted: #6b626f;
    --sf-info-soft: #f8f2fa;
    --sf-info-soft-strong: #f1e4f6;
    --sf-info-border: #e8dfea;
    --sf-info-danger: #a32442;
    --sf-info-success: #16734b;
    --sf-info-shadow: 0 20px 58px rgba(57, 22, 68, .12);
    width: min(calc(100% - 24px), 1440px);
    margin: 0 auto clamp(64px, 8vw, 112px);
    color: var(--sf-info-ink);
    font-family: "Onest", "Onest ND", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    overflow-x: clip;
}

.sf-info-v1,
.sf-info-v1 * {
    box-sizing: border-box;
}

.sf-info-v1 :where(h1, h2, h3, h4, p, ul, ol, dl, figure, blockquote) {
    margin-top: 0;
}

.sf-info-v1 :where(h1, h2, h3, h4) {
    color: var(--sf-info-ink);
    text-wrap: balance;
}

.sf-info-v1 :where(p, li, dd, td, th, a, label, summary) {
    overflow-wrap: break-word;
    word-break: normal;
}

.sf-info-v1 :where(a[href^="mailto:"], code, pre) {
    overflow-wrap: break-word;
    word-break: normal;
}

.sf-info-v1 a,
.sf-info-v1 button,
.sf-info-v1 summary,
.sf-info-v1 input,
.sf-info-v1 select,
.sf-info-v1 textarea {
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(143, 10, 198, .16);
}

.sf-info-v1 :where(a, button, summary, input, select, textarea):focus-visible {
    outline: 3px solid var(--sf-info-brand-dark);
    outline-offset: 3px;
    box-shadow: 0 0 0 5px #fff;
}

.sf-info-v1-skip {
    position: fixed;
    z-index: 10000;
    top: 10px;
    left: 10px;
    min-height: 48px;
    padding: 13px 18px;
    border-radius: 10px;
    background: #fff;
    color: var(--sf-info-brand-dark);
    font-weight: 750;
    line-height: 1.35;
    text-decoration: none;
    transform: translateY(-150%);
    transition: transform .18s ease;
}

.sf-info-v1-skip:focus-visible {
    transform: translateY(0);
}

/* Hero */
.sf-info-v1-hero {
    position: relative;
    isolation: isolate;
    display: grid;
    min-height: clamp(470px, 39vw, 590px);
    overflow: hidden;
    border-radius: 0 0 24px 24px;
    background: var(--sf-info-brand-deep);
    box-shadow: var(--sf-info-shadow);
}

.sf-info-v1-hero__media,
.sf-info-v1-hero__media img,
.sf-info-v1-hero__shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.sf-info-v1-hero__media {
    z-index: -2;
    display: block;
}

.sf-info-v1-hero__media img {
    display: block;
    object-fit: cover;
    object-position: center center;
}

.sf-info-v1-hero__shade {
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(35, 6, 48, .97) 0%, rgba(68, 10, 91, .93) 34%, rgba(97, 14, 128, .72) 55%, rgba(38, 5, 49, .18) 79%, rgba(23, 3, 31, .08) 100%),
        linear-gradient(0deg, rgba(23, 3, 31, .42), transparent 46%);
}

.sf-info-v1-hero__content {
    align-self: center;
    max-width: 810px;
    min-width: 0;
    padding: clamp(50px, 6vw, 84px) clamp(26px, 5vw, 76px);
    color: #fff;
}

.sf-info-v1-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    margin-bottom: 18px;
    padding: 7px 14px;
    border: 1px solid rgba(255, 255, 255, .38);
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    font-size: 13px;
    font-weight: 760;
    letter-spacing: .04em;
}

.sf-info-v1-hero h1 {
    max-width: 780px;
    margin-bottom: 20px;
    color: #fff;
    font-size: clamp(40px, 4.4vw, 64px);
    font-weight: 760;
    line-height: 1.05;
}

.sf-info-v1-hero__lead {
    max-width: 720px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, .94);
    font-size: clamp(16px, 1.35vw, 19px);
    line-height: 1.65;
    text-wrap: pretty;
}

.sf-info-v1-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.sf-info-v1-button {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 22px;
    border: 2px solid transparent;
    border-radius: 11px;
    font-size: 14px;
    font-weight: 760;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease;
}

.sf-info-v1-button:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.sf-info-v1-button--accent {
    background: var(--sf-info-accent);
    color: #261c00;
    box-shadow: 0 12px 26px rgba(251, 187, 13, .24);
}

.sf-info-v1-button--accent:hover {
    background: var(--sf-info-accent-hover);
    color: #261c00;
}

.sf-info-v1-button--glass {
    border-color: rgba(255, 255, 255, .52);
    background: rgba(255, 255, 255, .11);
    color: #fff;
}

.sf-info-v1-button--glass:hover {
    background: rgba(255, 255, 255, .22);
    color: #fff;
}

.sf-info-v1-hero :where(a, button):focus-visible {
    outline-color: #fff;
    box-shadow: 0 0 0 6px var(--sf-info-brand-dark);
}

/* Page frame */
.sf-info-v1-shell {
    display: block;
    padding: clamp(28px, 4vw, 58px) 0 0;
}

.sf-info-v1-main {
    min-width: 0;
}

.sf-info-v1-panel {
    min-width: 0;
    padding: clamp(24px, 4vw, 52px);
    border: 1px solid var(--sf-info-border);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--sf-info-shadow);
}

.sf-info-v1-panel + .sf-info-v1-panel {
    margin-top: 22px;
}

.sf-info-v1-panel--soft {
    background: var(--sf-info-soft);
}

.sf-info-v1-source {
    min-width: 0;
}

.sf-info-v1-panel--map {
    overflow: hidden;
}

.sf-info-v1-map,
.sf-info-v1-map .contacts-map,
.sf-info-v1-map #yandex-map {
    width: 100%;
    min-width: 0;
}

.sf-info-v1-map #yandex-map {
    min-height: 400px;
    overflow: hidden;
    border-radius: 14px;
}

.sf-info-v1-map__link {
    margin: 16px 0 0;
}

.sf-info-v1-map__link a {
    color: var(--sf-info-brand-dark);
    font-weight: 720;
    text-underline-offset: .18em;
}

.sf-info-v1-panel--gradient {
    border-color: transparent;
    background: linear-gradient(125deg, var(--sf-info-brand-dark), var(--sf-info-brand) 72%, var(--sf-info-magenta));
    color: #fff;
}

.sf-info-v1-panel--gradient :where(h2, h3, p, li, a) {
    color: #fff;
}

.sf-info-v1-section-head {
    max-width: 810px;
    margin-bottom: 26px;
}

.sf-info-v1-section-head h2,
.sf-info-v1-prose h2,
.sf-info-v1-document h2 {
    margin-bottom: 15px;
    font-size: clamp(27px, 2.8vw, 40px);
    font-weight: 750;
    line-height: 1.13;
}

.sf-info-v1-section-head p {
    margin-bottom: 0;
    color: var(--sf-info-muted);
    font-size: 16px;
    line-height: 1.65;
}

/* Audited content slots */
.sf-info-v1-prose,
.sf-info-v1-document {
    max-width: 920px;
    min-width: 0;
    color: var(--sf-info-copy);
    font-size: 16px;
    line-height: 1.72;
}

.sf-info-v1-prose > :last-child,
.sf-info-v1-document > :last-child {
    margin-bottom: 0;
}

.sf-info-v1-prose :where(h2, h3, h4),
.sf-info-v1-document :where(h2, h3, h4) {
    scroll-margin-top: 112px;
}

.sf-info-v1-prose h2,
.sf-info-v1-document h2 {
    margin-top: 44px;
}

.sf-info-v1-prose h2:first-child,
.sf-info-v1-document h2:first-child {
    margin-top: 0;
}

.sf-info-v1-prose h3,
.sf-info-v1-document h3 {
    margin-top: 30px;
    margin-bottom: 12px;
    font-size: clamp(21px, 2vw, 27px);
    font-weight: 730;
    line-height: 1.22;
}

.sf-info-v1-prose h4,
.sf-info-v1-document h4 {
    margin-top: 24px;
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 730;
    line-height: 1.3;
}

.sf-info-v1-prose :where(p, ul, ol, dl, blockquote),
.sf-info-v1-document :where(p, ul, ol, dl, blockquote) {
    margin-bottom: 17px;
}

.sf-info-v1-prose :where(ul, ol),
.sf-info-v1-document :where(ul, ol) {
    padding-left: 24px;
}

.sf-info-v1-prose li + li,
.sf-info-v1-document li + li {
    margin-top: 7px;
}

.sf-info-v1-prose a,
.sf-info-v1-document a {
    color: var(--sf-info-brand-dark);
    font-weight: 680;
    text-decoration-thickness: .08em;
    text-underline-offset: .18em;
}

.sf-info-v1-prose a:hover,
.sf-info-v1-document a:hover {
    color: var(--sf-info-brand);
}

.sf-info-v1-prose blockquote,
.sf-info-v1-document blockquote,
.sf-info-v1-notice {
    padding: 20px 22px;
    border-left: 4px solid var(--sf-info-accent);
    border-radius: 0 13px 13px 0;
    background: #fff9e8;
    color: #50400f;
}

.sf-info-v1-prose table,
.sf-info-v1-document table {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 24px 0;
    overflow-x: auto;
    border: 1px solid var(--sf-info-border);
    border-collapse: collapse;
    border-radius: 12px;
    font-variant-numeric: tabular-nums;
    -webkit-overflow-scrolling: touch;
}

.sf-info-v1-prose :where(th, td),
.sf-info-v1-document :where(th, td) {
    min-width: 150px;
    padding: 13px 15px;
    border: 1px solid var(--sf-info-border);
    text-align: left;
    vertical-align: top;
}

.sf-info-v1-prose th,
.sf-info-v1-document th {
    background: var(--sf-info-soft);
    color: var(--sf-info-brand-dark);
    font-weight: 740;
}

.sf-info-v1-prose img,
.sf-info-v1-document img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
}

/* Reusable structured cards */
.sf-info-v1-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.sf-info-v1-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sf-info-v1-card {
    min-width: 0;
    padding: 22px;
    border: 1px solid var(--sf-info-border);
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(50, 21, 60, .07);
}

.sf-info-v1-card h2,
.sf-info-v1-card h3 {
    margin-bottom: 10px;
    color: var(--sf-info-brand-dark);
    font-size: 20px;
    font-weight: 740;
    line-height: 1.25;
}

.sf-info-v1-card p:last-child,
.sf-info-v1-card ul:last-child,
.sf-info-v1-card dl:last-child {
    margin-bottom: 0;
}

.sf-info-v1-card a {
    color: var(--sf-info-brand-dark);
    font-weight: 720;
}

.sf-info-v1-card a:hover {
    color: var(--sf-info-brand);
}

.sf-info-v1-card--highlight {
    border-color: rgba(143, 10, 198, .25);
    background: var(--sf-info-soft);
}

.sf-info-v1-requisites {
    display: grid;
    grid-template-columns: minmax(150px, .42fr) minmax(0, 1fr);
    gap: 10px 20px;
    margin: 0;
}

.sf-info-v1-requisites dt {
    color: var(--sf-info-muted);
    font-weight: 650;
}

.sf-info-v1-requisites dd {
    min-width: 0;
    margin: 0;
    color: var(--sf-info-ink);
    font-weight: 680;
    font-variant-numeric: tabular-nums;
}

/* Table of contents */
.sf-info-v1-toc {
    margin-bottom: 22px;
    padding: clamp(20px, 3vw, 30px);
    border: 1px solid var(--sf-info-border);
    border-radius: 17px;
    background: var(--sf-info-soft);
}

.sf-info-v1-toc h2 {
    margin-bottom: 14px;
    font-size: 22px;
}

.sf-info-v1-toc :where(ul, ol) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 22px;
    margin: 0;
    padding-left: 20px;
}

.sf-info-v1-toc a {
    color: var(--sf-info-brand-dark);
    font-weight: 670;
    text-underline-offset: .18em;
}

/* FAQ */
.sf-info-v1-faq {
    display: grid;
    gap: 10px;
}

.sf-info-v1-faq details {
    border: 1px solid var(--sf-info-border);
    border-radius: 14px;
    background: #fff;
    overflow: clip;
}

.sf-info-v1-faq summary {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 58px;
    padding: 15px 54px 15px 18px;
    color: var(--sf-info-ink);
    font-weight: 730;
    cursor: pointer;
    list-style: none;
}

.sf-info-v1-faq summary::-webkit-details-marker {
    display: none;
}

.sf-info-v1-faq summary::after {
    position: absolute;
    top: 50%;
    right: 20px;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--sf-info-brand);
    border-bottom: 2px solid var(--sf-info-brand);
    content: "";
    transform: translateY(-70%) rotate(45deg);
    transform-origin: center;
    transition: transform .18s ease;
}

.sf-info-v1-faq details[open] summary::after {
    transform: translateY(-30%) rotate(225deg);
}

.sf-info-v1-faq__answer {
    padding: 0 18px 18px;
    color: var(--sf-info-copy);
    line-height: 1.65;
}

.sf-info-v1-faq__answer > :last-child {
    margin-bottom: 0;
}

/* Sitemap */
.sf-info-v1-sitemap {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.sf-info-v1-sitemap > :where(section, div) {
    min-width: 0;
    padding: 22px;
    border: 1px solid var(--sf-info-border);
    border-radius: 15px;
    background: #fff;
}

.sf-info-v1-sitemap h2,
.sf-info-v1-sitemap h3 {
    margin-bottom: 12px;
    color: var(--sf-info-brand-dark);
    font-size: 20px;
}

.sf-info-v1-sitemap ul {
    display: grid;
    gap: 7px;
    margin: 0;
    padding-left: 19px;
}

.sf-info-v1-sitemap a {
    color: var(--sf-info-copy);
    font-weight: 630;
}

.sf-info-v1-sitemap a:hover {
    color: var(--sf-info-brand);
}

/* Legal documents */
.sf-info-v1-document-wrap {
    position: relative;
}

.sf-info-v1-document-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--sf-info-border);
    color: var(--sf-info-muted);
    font-size: 13px;
    line-height: 1.45;
}

.sf-info-v1-document {
    max-width: 900px;
}

/* Forms and preserved widgets */
.sf-info-v1-form,
.sf-info-v1-widget {
    min-width: 0;
}

.sf-info-v1-form :where(form, .wa-form, .multiform-form, .form) {
    display: grid;
    gap: 17px;
}

.sf-info-v1-form :where(.field, .wa-field, .multiform-gap-field, .form-group) {
    min-width: 0;
}

.sf-info-v1-form label,
.sf-info-v1-source label {
    display: inline-block;
    margin-bottom: 7px;
    color: var(--sf-info-ink);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}

.sf-info-v1-generated-label {
    display: block;
    flex: 0 0 100%;
    width: 100%;
}

.sf-info-v1 :where(.field-row, .form-row):has(> .sf-info-v1-generated-label) {
    flex-wrap: wrap;
}

.sf-info-v1-form :where(input:not([type="checkbox"]):not([type="radio"]), select, textarea),
.sf-info-v1-widget :where(input:not([type="checkbox"]):not([type="radio"]), select, textarea),
.sf-info-v1-source :where(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #cfc3d2;
    border-radius: 10px;
    background: #fff;
    color: var(--sf-info-ink);
    font: inherit;
    line-height: 1.4;
    transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}

.sf-info-v1-form select,
.sf-info-v1-widget select,
.sf-info-v1-source select {
    background-color: #fff;
    color: var(--sf-info-ink);
}

.sf-info-v1-form textarea,
.sf-info-v1-widget textarea,
.sf-info-v1-source textarea {
    min-height: 132px;
    resize: vertical;
}

.sf-info-v1-form :where(input, select, textarea):focus-visible,
.sf-info-v1-widget :where(input, select, textarea):focus-visible,
.sf-info-v1-source :where(input, select, textarea):focus-visible {
    border-color: var(--sf-info-brand);
    box-shadow: 0 0 0 4px rgba(143, 10, 198, .13);
}

.sf-info-v1-form :where(input[type="checkbox"], input[type="radio"]),
.sf-info-v1-widget :where(input[type="checkbox"], input[type="radio"]),
.sf-info-v1-source :where(input[type="checkbox"], input[type="radio"]) {
    width: 20px;
    height: 20px;
    margin: 0 9px 0 0;
    accent-color: var(--sf-info-brand);
    vertical-align: middle;
}

.sf-info-v1-form :where(button, input[type="submit"]),
.sf-info-v1-widget :where(button, input[type="submit"]),
.sf-info-v1-source :where(button, input[type="submit"]) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 22px;
    border: 0;
    border-radius: 11px;
    background: var(--sf-info-brand);
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.25;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.sf-info-v1-form :where(button, input[type="submit"]):hover,
.sf-info-v1-widget :where(button, input[type="submit"]):hover,
.sf-info-v1-source :where(button, input[type="submit"]):hover {
    background: var(--sf-info-brand-bright);
    box-shadow: 0 10px 24px rgba(143, 10, 198, .24);
    transform: translateY(-1px);
}

.sf-info-v1-form :where(.error, .wa-error, [role="alert"]),
.sf-info-v1-widget :where(.error, .wa-error, [role="alert"]) {
    margin-top: 6px;
    color: var(--sf-info-danger);
    font-size: 13px;
    line-height: 1.4;
}

.sf-info-v1-form :where(.success, .wa-success, [aria-live="polite"]),
.sf-info-v1-widget :where(.success, .wa-success, [aria-live="polite"]) {
    color: var(--sf-info-success);
}

.sf-info-v1 .easyreviews__rating[role="radiogroup"] {
    display: inline-flex;
    gap: 6px;
}

.sf-info-v1 .easyreviews-rating-icon[role="radio"] {
    width: 32px;
    height: 32px;
    cursor: pointer;
}

.sf-info-v1 .easyreviews-rating-icon[role="radio"]:focus-visible {
    outline: 3px solid var(--sf-info-brand-dark);
    outline-offset: 3px;
    border-radius: 4px;
}

.sf-info-v1 .answers__list-name[role="button"] {
    cursor: pointer;
}

.sf-info-v1 .answers__list-name[role="button"]:focus-visible {
    outline: 3px solid var(--sf-info-brand-dark);
    outline-offset: 3px;
    border-radius: 6px;
}

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

/* Advanced fabric calculator v2 */
.sf-calc-v1 [hidden] {
    display: none !important;
}

.sf-calc-v1 {
    display: grid;
    gap: 20px;
    color: var(--sf-info-copy);
}

.sf-calc-v1__intro,
.sf-calc-v1__guide,
.sf-calc-v1__result {
    min-width: 0;
    padding: clamp(22px, 3vw, 34px);
    border: 1px solid var(--sf-info-border);
    border-radius: 17px;
}

.sf-calc-v1__intro {
    background: linear-gradient(135deg, var(--sf-info-soft), #fff8df);
}

.sf-calc-v1__intro h2,
.sf-calc-v1__guide h2,
.sf-calc-v1__result h2 {
    margin-bottom: 12px;
    color: var(--sf-info-ink);
    font-size: clamp(24px, 2.4vw, 34px);
    line-height: 1.15;
}

.sf-calc-v1__intro p,
.sf-calc-v1__guide p {
    margin-bottom: 0;
    line-height: 1.65;
}

.sf-calc-v1__form {
    display: grid;
    gap: 16px;
}

.sf-calc-v1__fieldset {
    min-width: 0;
    margin: 0;
    padding: clamp(20px, 3vw, 30px);
    border: 1px solid var(--sf-info-border);
    border-radius: 16px;
    background: #fff;
}

.sf-calc-v1__fieldset legend {
    max-width: 100%;
    padding: 0 8px;
    color: var(--sf-info-brand-dark);
    font-size: clamp(20px, 2vw, 27px);
    font-weight: 760;
    line-height: 1.2;
}

.sf-calc-v1__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.sf-calc-v1__field {
    min-width: 0;
}

.sf-calc-v1__field label {
    display: block;
    min-height: 38px;
    margin-bottom: 6px;
}

.sf-calc-v1__hint {
    margin: 7px 0 0;
    color: var(--sf-info-muted);
    font-size: 12px;
    line-height: 1.45;
}

.sf-calc-v1__notice,
.sf-calc-v1__noscript {
    margin: 0 0 18px;
    padding: 14px 16px;
    border-left: 4px solid var(--sf-info-accent);
    border-radius: 0 11px 11px 0;
    background: #fff9e8;
    color: #50400f;
    line-height: 1.55;
}

.sf-calc-v1__status {
    margin: 0;
    padding: 13px 15px;
    border-radius: 10px;
    background: #fff0f3;
    color: var(--sf-info-danger);
    font-weight: 650;
}

.sf-calc-v1__submit {
    justify-self: start;
    min-width: min(100%, 220px);
}

.sf-calc-v1__result {
    border-color: rgba(143, 10, 198, .25);
    background: linear-gradient(135deg, #fff, var(--sf-info-soft));
    box-shadow: 0 16px 42px rgba(75, 15, 101, .1);
}

.sf-calc-v1__result-value {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: baseline;
    margin: 0 0 8px;
    color: var(--sf-info-brand-dark);
    font-size: 22px;
    font-weight: 720;
}

.sf-calc-v1__result-value strong {
    color: var(--sf-info-brand);
    font-size: clamp(38px, 5vw, 58px);
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.sf-calc-v1__breakdown {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 22px 0;
}

.sf-calc-v1__breakdown > div {
    min-width: 0;
    padding: 14px 16px;
    border: 1px solid var(--sf-info-border);
    border-radius: 11px;
    background: #fff;
}

.sf-calc-v1__breakdown dt {
    color: var(--sf-info-muted);
    font-size: 12px;
    font-weight: 650;
}

.sf-calc-v1__breakdown dd {
    margin: 5px 0 0;
    color: var(--sf-info-ink);
    font-weight: 750;
    font-variant-numeric: tabular-nums;
}

.sf-calc-v1__layout {
    min-width: 0;
    overflow-x: auto;
}

.sf-calc-v1__layout table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
}

.sf-calc-v1__layout :where(th, td) {
    padding: 10px 12px;
    border: 1px solid var(--sf-info-border);
    text-align: left;
    vertical-align: top;
}

.sf-calc-v1__layout th {
    background: var(--sf-info-soft);
    color: var(--sf-info-brand-dark);
}

.sf-calc-v1__assumptions {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid var(--sf-info-border);
}

.sf-calc-v1__assumptions h3 {
    margin-bottom: 10px;
    color: var(--sf-info-ink);
    font-size: 19px;
}

.sf-calc-v1__assumptions ul {
    margin: 0;
    padding-left: 21px;
}

.sf-calc-v1__guide {
    background: var(--sf-info-soft);
}

.sf-calc-v1__guide-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.sf-calc-v1__guide-grid > div {
    min-width: 0;
    padding: 18px;
    border: 1px solid var(--sf-info-border);
    border-radius: 12px;
    background: #fff;
}

.sf-calc-v1__guide-grid h3 {
    margin-bottom: 7px;
    color: var(--sf-info-brand-dark);
    font-size: 17px;
}

.sf-calc-v1 [aria-invalid="true"] {
    border-color: var(--sf-info-danger) !important;
    box-shadow: 0 0 0 3px rgba(163, 36, 66, .12);
}

/* Closing call to action */
.sf-info-v1-final {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
    gap: clamp(28px, 5vw, 68px);
    align-items: center;
    margin-top: 22px;
    padding: clamp(30px, 4vw, 52px);
    border-radius: 20px;
    background: linear-gradient(125deg, var(--sf-info-brand-dark), var(--sf-info-brand) 72%, var(--sf-info-magenta));
    color: #fff;
    box-shadow: 0 20px 52px rgba(75, 15, 101, .2);
}

.sf-info-v1-final h2 {
    margin-bottom: 12px;
    color: #fff;
    font-size: clamp(26px, 2.7vw, 38px);
    font-weight: 750;
    line-height: 1.15;
}

.sf-info-v1-final p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, .92);
    line-height: 1.65;
}

.sf-info-v1-final .sf-info-v1-actions {
    justify-content: flex-end;
    margin-top: 0;
}

.sf-info-v1-final :where(a, button):focus-visible {
    outline-color: #fff;
    box-shadow: 0 0 0 6px var(--sf-info-brand-dark);
}

.sf-info-v1-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 1199px) {
    .sf-info-v1-grid--3,
    .sf-info-v1-sitemap {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sf-calc-v1__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1023px) {
    .sf-info-v1-final {
        grid-template-columns: minmax(0, 1fr);
    }

    .sf-info-v1-final .sf-info-v1-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    .sf-info-v1 {
        width: min(calc(100% - 16px), 1440px);
    }

    .sf-info-v1-hero {
        min-height: 650px;
        border-radius: 0 0 18px 18px;
    }

    .sf-info-v1-hero__media img {
        object-position: 58% center;
    }

    .sf-info-v1-hero__shade {
        background: linear-gradient(0deg, rgba(35, 6, 48, .98) 0%, rgba(68, 10, 91, .92) 55%, rgba(39, 6, 52, .34) 84%, rgba(25, 4, 34, .13) 100%);
    }

    .sf-info-v1-hero__content {
        align-self: end;
        max-width: none;
        padding: 44px 22px 54px;
    }

    .sf-info-v1-hero h1 {
        font-size: clamp(34px, 9vw, 48px);
    }

    .sf-info-v1-grid,
    .sf-info-v1-grid--3,
    .sf-info-v1-sitemap,
    .sf-info-v1-toc :where(ul, ol) {
        grid-template-columns: minmax(0, 1fr);
    }

    .sf-calc-v1__grid,
    .sf-calc-v1__guide-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .sf-info-v1-requisites {
        grid-template-columns: minmax(0, 1fr);
        gap: 4px;
    }

    .sf-info-v1-requisites dd + dt {
        margin-top: 10px;
    }
}

@media (max-width: 520px) {
    .sf-info-v1-hero {
        min-height: 700px;
    }

    .sf-info-v1-hero__content {
        padding: 40px 17px 48px;
    }

    .sf-info-v1-hero__eyebrow {
        font-size: 12px;
    }

    .sf-info-v1-hero__lead,
    .sf-info-v1-prose,
    .sf-info-v1-document,
    .sf-info-v1-section-head p {
        font-size: 15px;
    }

    .sf-info-v1-actions,
    .sf-info-v1-button,
    .sf-info-v1-form :where(button, input[type="submit"]),
    .sf-info-v1-widget :where(button, input[type="submit"]) {
        width: 100%;
    }

    .sf-info-v1-shell {
        padding-top: 18px;
    }

    .sf-info-v1-panel,
    .sf-info-v1-final {
        padding: 24px 17px;
        border-radius: 16px;
    }

    .sf-info-v1-card,
    .sf-info-v1-sitemap > :where(section, div) {
        padding: 19px 16px;
    }

    .sf-calc-v1__intro,
    .sf-calc-v1__guide,
    .sf-calc-v1__result,
    .sf-calc-v1__fieldset {
        padding: 19px 15px;
        border-radius: 13px;
    }

    .sf-calc-v1__field label {
        min-height: 0;
    }

    .sf-calc-v1__breakdown {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    .sf-info-v1 *,
    .sf-info-v1 *::before,
    .sf-info-v1 *::after {
        scroll-behavior: auto;
        animation-duration: .01ms;
        animation-iteration-count: 1;
        transition-duration: .01ms;
    }

    .sf-info-v1-skip,
    .sf-info-v1-button:hover,
    .sf-info-v1-form :where(button, input[type="submit"]):hover,
    .sf-info-v1-widget :where(button, input[type="submit"]):hover {
        transform: none;
    }
}

/* Theme-owned information menu shared by all Shop pages in this section. */
.pages__menu {
    position: sticky;
    top: 104px;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e8dfea;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(49, 20, 59, .08);
}

.pages__menu-list {
    display: grid;
    gap: 3px;
    margin: 0;
    padding: 8px;
    list-style: none;
}

.pages__menu-item {
    min-width: 0;
    margin: 0;
    padding: 0;
}

.pages__menu-item:nth-child(3),
.pages__menu-item:nth-child(8),
.pages__menu-item:nth-child(14) {
    margin-top: 7px;
    padding-top: 8px;
    border-top: 1px solid #e8dfea;
}

.pages__menu-link {
    display: flex;
    align-items: center;
    min-width: 0;
    min-height: 48px;
    padding: 10px 12px;
    border-radius: 10px;
    color: #4d4551;
    font-family: "Onest", "Onest ND", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.3;
    overflow-wrap: break-word;
    word-break: normal;
    text-decoration: none;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(143, 10, 198, .16);
    transition: background-color .16s ease, color .16s ease, transform .16s ease;
}

.pages__menu-link:hover {
    background: #f8f2fa;
    color: #4b0f65;
    text-decoration: none;
    transform: translateX(2px);
}

.pages__menu-link:focus-visible {
    outline: 3px solid #4b0f65;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px #fff;
}

.pages__menu-item.selected .pages__menu-link {
    background: linear-gradient(110deg, #4b0f65, #8f0ac6);
    color: #fff;
    box-shadow: 0 8px 20px rgba(75, 15, 101, .18);
}

@media (max-width: 1023px) {
    .page:has(.sf-about-v2, .sf-info-v1, .sf-partner-page) .page__content {
        display: block;
    }

    .page:has(.sf-about-v2, .sf-info-v1, .sf-partner-page) .page__content-sidebar {
        width: 100%;
        min-width: 0;
        margin-bottom: 16px;
    }

    .pages__menu {
        position: static;
        border-radius: 14px;
    }

    .pages__menu-list {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        padding: 8px;
        scroll-padding-inline: 8px;
        scroll-snap-type: x proximity;
        overscroll-behavior-inline: contain;
        -webkit-overflow-scrolling: touch;
    }

    .pages__menu-item,
    .pages__menu-item:nth-child(3),
    .pages__menu-item:nth-child(8),
    .pages__menu-item:nth-child(14) {
        flex: 0 0 auto;
        max-width: min(82vw, 360px);
        margin: 0;
        padding: 0;
        border: 0;
        scroll-snap-align: start;
    }

    .pages__menu-link {
        width: max-content;
        min-width: 120px;
        max-width: min(82vw, 360px);
        height: 100%;
        min-height: 48px;
        border: 1px solid #e8dfea;
        background: #fff;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pages__menu-link {
        transition-duration: .01ms;
    }

    .pages__menu-link:hover {
        transform: none;
    }
}
