:root {
    --Primary: #211C37;
    --Secondary: #96E2BF;
    --Mint-soft: #D1EFEA;
    --Text-primary: #212121;
    --Text-secondary: #4B4B4B;
    --Text-muted: #8A8A8A;
    --Bg-light: #F9F7F2;
    --Line: #E8E4DC;
    --Out-line: #E8E4DC;
    --On-Suface-1: #4B4B4B;
    --font-main: "Inter", sans-serif;
    --font-main2: "Inter", sans-serif;
    --magre-scale: 0.75;
}

/*
 * Escala Magre (~75% do template):
 * reduz a sensação de “zoom 125%” e aproxima de um visual mais premium.
 */
html {
    font-size: 46.875%; /* 75% de 62.5% do template */
}

body {
    color: var(--Text-secondary);
    background-color: var(--Bg-light);
    font-size: 12px; /* 75% de 16px */
}

#smooth-wrapper {
    background-color: var(--Bg-light);
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
    font-family: var(--font-main2);
    font-weight: 500;
    color: var(--Text-primary);
}

h1,
.h1 {
    font-size: 60px;
    line-height: 1.1;
}

h2,
.h2 {
    font-size: 42px;
    line-height: 1.2;
}

h3,
.h3 {
    font-size: 33px;
    line-height: 1.25;
}

h4,
.h4 {
    font-size: 24px;
    line-height: 1.3;
}

h5,
.h5 {
    font-size: 18px;
    line-height: 1.35;
}

h6,
.h6 {
    font-size: 15px;
    line-height: 1.4;
}

.text-body-default {
    font-size: 13px;
    line-height: 1.55;
}

.text-body-2 {
    font-size: 14px;
    line-height: 1.55;
}

.text-body-3 {
    font-size: 13.5px;
    line-height: 1.5;
}

@media (max-width: 1199px) {
    h1, .h1 { font-size: 50px; }
    h2, .h2 { font-size: 35px; }
}

@media (max-width: 991px) {
    h1, .h1 { font-size: 41px; }
    h2, .h2 { font-size: 29px; }
    h3, .h3 { font-size: 24px; }
}

@media (max-width: 767px) {
    h1, .h1 { font-size: 34px; }
    h2, .h2 { font-size: 24px; }
    body { font-size: 11px; }
}

@media (max-width: 575px) {
    h1, .h1 { font-size: 29px; }
}

.font-main {
    font-family: var(--font-main);
}

.text_primary {
    color: var(--Text-primary);
}

.text_secondary-color {
    color: var(--Secondary);
}

/* —— Announce bar —— */
.announce-bar {
    background-color: var(--Mint-soft);
    width: 100%;
}

.announce-bar.is-hidden {
    display: none;
}

.announce-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 44px;
    padding: 8px 0;
}

.announce-bar__text {
    margin: 0;
    color: var(--Primary);
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    text-align: left;
}

.announce-bar__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    margin-left: auto;
    margin-right: clamp(80px, 14vw, 240px);
}

.announce-bar__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    border-radius: 999px;
    background-color: var(--Primary);
    color: #ffffff;
    font-family: var(--font-main);
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.announce-bar__btn:hover {
    color: #ffffff;
    opacity: 0.9;
    transform: translateY(-1px);
}

.announce-bar__close {
    width: 28px;
    height: 28px;
    border: 0;
    background: transparent;
    color: var(--Primary);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0.75;
    padding: 0;
}

.announce-bar__close:hover {
    opacity: 1;
}

@media (max-width: 767px) {
    .announce-bar__inner {
        gap: 10px;
        padding: 10px 0;
    }

    .announce-bar__text {
        font-size: 13px;
        flex: 1;
        min-width: 0;
    }

    .announce-bar__actions {
        margin-right: 0;
    }
}

/* —— Header —— */
.header.style-7 {
    background-color: transparent;
    display: block;
}

.header.style-7 .announce-bar .tf-container,
.header.style-7 .header-nav .tf-container {
    max-width: 1440px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(24px, 5vw, 80px);
    padding-right: clamp(24px, 5vw, 80px);
}

.header.style-7 .header-nav {
    background-color: var(--Secondary);
}

.header.style-7 .header-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: clamp(48px, 6vw, 96px);
}

.header.style-7 .main-menu {
    margin-left: auto;
    /* mesmo recuo do CTA "Acesse aqui" na announce-bar */
    margin-right: clamp(80px, 14vw, 240px);
    min-width: 0;
}

.header.style-7 .main-menu .navigation {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(24px, 3.5vw, 48px);
}

.header.style-7 .main-menu .navigation > li {
    padding: 28px 0;
    flex-shrink: 0;
}

.header.style-7 .main-menu .navigation > li + li {
    margin-left: 0;
}

.header.style-7 .header-right {
    margin-left: 0;
    flex-shrink: 0;
}

.header.style-7 .navigation li > a,
.header.style-7 .main-menu .navigation > li:hover > a {
    color: var(--Primary);
}

.header.style-7 .text-menu .toggle .text,
.header.style-7 .text-menu .toggle .text .word {
    white-space: nowrap;
}

@media (max-width: 1199px) and (min-width: 992px) {
    .header.style-7 .header-inner {
        gap: 28px;
    }

    .header.style-7 .main-menu {
        margin-right: clamp(48px, 8vw, 120px);
    }

    .header.style-7 .main-menu .navigation {
        gap: 20px;
    }
}

@media (max-width: 991px) {
    .header.style-7 .main-menu {
        margin-right: 0;
    }
}

.header .site-logo {
    display: flex;
    align-items: center;
    line-height: 0;
}

.header .logo_header {
    display: block;
    width: auto;
    height: 40px;
    object-fit: contain;
    object-position: left center;
}

.header.style-7 .burger span {
    background-color: var(--Primary);
}

.section-about-5 .item .text-circle__icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 52px;
    height: 52px;
    object-fit: contain;
    display: block;
}

.section-about-5 .item {
    background-color: #211C37;
}

.section-about-5 .item .text-circle textPath,
.section-about-5 .item .text-circle .text {
    fill: #ffffff;
}

.section-about-5 .thumbs {
    border-radius: 20px;
    overflow: hidden;
}

.section-about-5 .wrap-counter {
    justify-content: center;
    align-items: flex-start;
    gap: clamp(24px, 4vw, 48px);
}

.section-about-5 .wrap-counter .counter-item {
    display: inline-block;
    flex: 0 1 auto;
    width: max-content;
    max-width: 100%;
    min-width: 0;
    text-align: left;
}

.section-about-5 .wrap-counter .counter-item .sub-title {
    width: 0;
    min-width: 100%;
    margin: 0;
    text-align: left;
    line-height: 1.35;
}

@media (max-width: 767px) {
    .section-about-5 .wrap-counter {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: 20px;
    }

    .section-about-5 .wrap-counter .counter-item {
        display: block;
        width: 100%;
        max-width: none;
    }

    .section-about-5 .wrap-counter .counter-item .sub-title {
        width: 100%;
        min-width: 0;
    }

    .section-about-5 .item .text-circle__icon {
        width: 42px;
        height: 42px;
    }
}

.main-menu .navigation>li:hover>a {
    color: var(--Primary);
}

.navigation .submenu li:hover>a {
    color: var(--Primary);
}

.navigation li>a {
    color: var(--Primary);
}

.navigation .submenu li a {
    color: var(--Primary);
}

.tf-btn {
    color: var(--White);
}

.tf-btn.style-border {
    color: var(--Primary);
    border-color: var(--Primary);
}

.tf-btn.btn-bg-white {
    color: var(--Text-primary);
}

.tf-btn.btn-bg-secondary {
    background-color: var(--Secondary);
    color: var(--Primary);
}

.tf-btn.btn-bg-secondary-2 {
    background-color: var(--Secondary);
    color: var(--Primary);
}

.tf-btn.btn-bg-secondary .btn-text,
.tf-btn.btn-bg-secondary-2 .btn-text {
    color: var(--Primary);
}

.btn-hover-animate-2.btn-bg-secondary-2:hover {
    color: var(--White);
}

.btn-hover-animate-2.btn-bg-secondary:hover {
    color: var(--Primary);
}

.text-caption-1 {
    font-size: 15px;
    line-height: 22px;
}

/* Soft secondary surfaces (tags, CTA blocks) keep dark text readable */
.section-program .tag,
.section-support .video-item .tag,
.heading-section-5 .tag {
    color: var(--Primary);
}

.section-program .box-program .menu-tab .nav-tab-item {
    pointer-events: none;
    cursor: default;
}

.section-program .box-program .program-visual {
    flex: 1 1 52%;
    min-width: 0;
    max-width: 560px;
    margin-left: clamp(72px, 10vw, 160px);
}

.section-program .box-program .program-visual .wrap,
.section-program .box-program .program-visual .hover-image-2 {
    width: 100%;
}

.section-program .box-program .program-visual .thumbs {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 32px;
}

.section-program .box-program .program-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 1024px) {
    .section-program .box-program .program-visual {
        flex-basis: 100%;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }
}

.section-support .video-item .tag {
    background-color: #D1EFEA;
}

.section-support .video-item .content .text-body-default {
    font-size: 15px;
    line-height: 1.55;
}

.section-about-5 .content .desc.text-body-default {
    font-size: 15px;
    line-height: 1.55;
}

/* Textos formatados vindos do admin (Quill) */
.site-rich-text p {
    margin: 0 0 0.75em;
}
.site-rich-text p:last-child {
    margin-bottom: 0;
}
.site-rich-text ul,
.site-rich-text ol {
    margin: 0 0 0.75em;
    padding-left: 1.25em;
}
.site-rich-text ul:last-child,
.site-rich-text ol:last-child {
    margin-bottom: 0;
}
.site-rich-text strong,
.site-rich-text b {
    font-weight: 700;
}
.site-rich-text em,
.site-rich-text i {
    font-style: italic;
}
.site-rich-text u {
    text-decoration: underline;
}
.site-rich-text .ql-align-left,
.site-rich-text [style*="text-align: left"] {
    text-align: left;
}
.site-rich-text .ql-align-center,
.site-rich-text [style*="text-align: center"] {
    text-align: center;
}
.site-rich-text .ql-align-right,
.site-rich-text [style*="text-align: right"] {
    text-align: right;
}
.site-rich-text .ql-align-justify,
.site-rich-text [style*="text-align: justify"] {
    text-align: justify;
}

.section-support .video-item .img-style,
.section-support .video-item .content {
    border-radius: 20px;
}

.section-banner-3 {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    border-radius: 0;
}

.section-banner-3 .banner {
    border-radius: 0 !important;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    margin: 0;
}

.section-banner-3 .banner::after {
    background-color: rgba(33, 28, 55, 0.55);
    border-radius: 0;
}

.section-cta-4 .wrap {
    background-color: var(--Secondary);
}

.section-cta-4 .heading .title,
.section-cta-4 .heading h2,
.section-cta-4 .heading .text_primary-color {
    color: var(--Primary) !important;
}

.section-cta-4 .content .text_white,
.section-cta-4 .content .text-body-2 {
    color: var(--Primary) !important;
}

.section-cta-4 .btn-bg-primary-2 {
    background-color: var(--Primary);
    color: #ffffff;
}

.section-cta-4 .style-border,
.section-cta-4 .btn-border-white {
    border-color: var(--Primary) !important;
    color: var(--Primary) !important;
}

/* —— Hero full-bleed —— */
.hero-banner-9 {
    position: relative;
    min-height: min(58vh, 615px);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-banner-9 .wrap-content {
    background-color: transparent;
    border-radius: 0;
}

.hero-banner-9__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-banner-9__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(33, 28, 55, 0.45) 0%, rgba(33, 28, 55, 0.2) 45%, rgba(33, 28, 55, 0.05) 100%);
    pointer-events: none;
}

.hero-banner-9__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.hero-banner-9 > .tf-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(20px, 4vw, 64px);
    padding-right: clamp(20px, 4vw, 64px);
}

.hero-banner-9__content {
    max-width: 520px;
    padding: 64px 0;
}

.hero-banner-9__eyebrow {
    color: #ffffff !important;
    font-family: var(--font-main);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    margin: 0 0 14px;
}

.hero-banner-9__content .title {
    color: #ffffff !important;
    font-size: 38px;
    line-height: 1.15;
    letter-spacing: -0.02em;
    font-weight: 600;
    margin: 0 0 24px;
    max-width: none;
}

.hero-banner-9__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 26px;
    border-radius: 999px;
    background-color: var(--Secondary);
    color: var(--Primary);
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.2s ease;
}

.hero-banner-9__cta:hover {
    color: var(--Primary);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(33, 28, 55, 0.22);
}

@media (max-width: 991px) {
    .hero-banner-9 {
        min-height: 58vh;
    }

    .hero-banner-9__content {
        padding: 56px 0;
        max-width: 480px;
    }

    .hero-banner-9__content .title {
        font-size: 38px;
    }
}

@media (max-width: 575px) {
    .hero-banner-9 {
        min-height: 54vh;
        align-items: flex-end;
    }

    .hero-banner-9__content {
        padding: 36px 0 44px;
        max-width: none;
    }

    .hero-banner-9__content .title {
        font-size: 32px;
        line-height: 1.18;
    }

    .hero-banner-9__cta {
        min-height: 42px;
        font-size: 13px;
        padding: 10px 20px;
    }
}

.section-testimonial-8 {
    background-color: var(--Primary);
}

.section-testimonial-8 .sw-button.style-1 {
    background: var(--Secondary);
    border-color: var(--Secondary);
    color: var(--Primary);
}

.section-testimonial-8 .sw-button.style-1:hover {
    background-color: var(--White);
    border-color: var(--White);
    color: var(--Primary);
}

.section-app-download,
.setion-instagrams {
    background-color: var(--Secondary);
}

.section-app-download .app-download-desc {
    max-width: 540px;
    color: rgba(255, 255, 255, 0.9);
}

.section-app-download .text_secondary {
    color: rgba(255, 255, 255, 0.9);
}

.app-download-btns {
    margin-top: 8px;
}

.app-store-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 200px;
    padding: 12px 22px;
    border-radius: 12px;
    background-color: var(--White);
    color: var(--Primary);
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.app-store-btn:hover {
    color: var(--Primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(33, 28, 55, 0.2);
}

.app-store-btn svg {
    flex-shrink: 0;
}

.app-store-btn__text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    text-align: left;
}

.app-store-btn__eyebrow {
    font-size: 11px;
    font-weight: 500;
    opacity: 0.7;
}

.app-store-btn__name {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.section-testimonial-8 .testimonial-item.style-7 .avatar {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
}

.section-testimonial-8 .testimonial-item.style-7 .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.footer.style-default.v2 .footer-heading,
.footer.style-default.v2 .text_primary-color {
    color: var(--Primary);
}

.footer.style-default.v2 {
    background-color: var(--Bg-light);
    border-radius: 0;
    margin: 0;
    width: 100%;
}

.footer.style-default.v2 .footer-bottom {
    border-top-color: var(--Line);
}

/* App download — card separado do rodapé */
.page-especialista .esp-app-download {
    width: 100%;
    padding: 24px 24px 48px;
    background: #ffffff;
    box-sizing: border-box;
}

.page-especialista .esp-app-download__panel {
    width: min(1200px, 100%);
    margin: 0 auto;
    border-radius: 40px;
    padding: 64px 32px;
    background-color: var(--Secondary);
    box-sizing: border-box;
}

@media (max-width: 767px) {
    .page-especialista .esp-app-download {
        padding: 16px 16px 40px;
    }

    .page-especialista .esp-app-download__panel {
        border-radius: 28px;
        padding: 48px 20px;
    }
}

/* —— Página Especialista —— */
html:has(.page-especialista) {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

/* Âncoras da home — compensam o header sticky */
#o-programa,
#como-funciona,
#relatos,
#perguntas,
#quero-comecar {
    scroll-margin-top: 110px;
}

.page-especialista .header.style-7 .header-nav {
    background-color: #96E2BF;
}

.page-especialista .esp-form__submit {
    background-color: #96E2BF;
}

.esp-hero {
    position: relative;
    min-height: min(78vh, 760px);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.esp-hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.esp-hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(33, 28, 55, 0.55) 0%, rgba(33, 28, 55, 0.25) 48%, rgba(33, 28, 55, 0.1) 100%);
    pointer-events: none;
}

.esp-hero__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.esp-hero > .tf-container {
    position: relative;
    z-index: 1;
    width: min(1200px, calc(100% - 48px));
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
}

.esp-hero__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
    padding: 80px 0;
}

.esp-hero__title {
    color: #ffffff;
    font-family: "Inter", sans-serif;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: 0.02em;
    margin: 0 0 24px;
    max-width: 12ch;
}

.esp-hero__logo {
    display: block;
    height: 28px;
    width: auto;
    filter: brightness(0) invert(1);
}

.esp-hero__form-card {
    background: #F9F7F2;
    border-radius: 24px;
    padding: 36px 32px;
    box-shadow: 0 20px 50px rgba(33, 28, 55, 0.18);
    max-width: 420px;
    margin-left: 0;
    width: 100%;
}

.esp-form {
    display: grid;
    gap: 20px;
}

.esp-form__field {
    display: grid;
    gap: 8px;
}

.esp-form__label {
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--Primary);
}

.esp-form__input {
    width: 100%;
    height: 52px;
    border: 1px solid var(--Line);
    border-radius: 12px;
    padding: 0 16px;
    font-family: "Inter", sans-serif;
    font-size: 15px;
    color: var(--Text-primary);
    background: #fff;
    outline: none;
    transition: border-color 0.2s ease;
}

.esp-form__input:focus {
    border-color: var(--Secondary);
}

.esp-form__password {
    position: relative;
}

.esp-form__password .esp-form__input {
    padding-right: 48px;
}

.esp-form__password-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--Text-secondary, #4B4B4B);
    cursor: pointer;
    padding: 0;
}

.esp-form__password-toggle:hover,
.esp-form__password-toggle:focus-visible {
    color: var(--Primary, #211C37);
    outline: none;
}

.esp-form__password-toggle.is-visible::after {
    content: "";
    position: absolute;
    width: 18px;
    height: 1.5px;
    background: currentColor;
    transform: rotate(-40deg);
    border-radius: 2px;
    pointer-events: none;
}

.esp-form__forgot {
    display: block;
    margin-top: 4px;
    text-align: right;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--Primary);
    text-decoration: none;
}

.esp-form__forgot:hover {
    text-decoration: underline;
    color: var(--Primary);
}

.esp-form__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    border: 0;
    border-radius: 999px;
    background-color: var(--Secondary);
    color: var(--Primary);
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.esp-form__submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(33, 28, 55, 0.16);
}

.esp-editorial {
    background-color: #ffffff;
}

.esp-editorial__inner {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
}

.esp-editorial__title,
.esp-editorial__subtitle {
    text-align: center;
}

.esp-editorial__title {
    font-family: "Inter", sans-serif;
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 500;
    line-height: 1.2;
    margin: 0 0 24px;
}

.esp-editorial__subtitle {
    font-family: "Inter", sans-serif;
    font-size: 22px;
    font-weight: 500;
    margin: 32px 0 16px;
}

.esp-editorial__list {
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
    text-align: left;
    max-width: none;
    width: 100%;
}

.esp-editorial__list li {
    position: relative;
    padding-left: 1.25em;
}

.esp-editorial__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--Primary);
}

/* —— Como funciona (padrão do protótipo) —— */
.page-especialista .esp-how {
    background: #ffffff;
    width: 100%;
    padding: 64px 24px 48px;
    box-sizing: border-box;
}

.page-especialista .esp-how__inner {
    width: min(1200px, 100%);
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
    box-sizing: border-box;
}

.page-especialista .esp-how__title {
    margin: 0 0 20px;
    font-family: "Inter", sans-serif;
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--Text-primary);
}

.page-especialista .esp-how__intro {
    margin: 0 0 40px;
    max-width: none;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--Text-secondary);
}

.page-especialista .esp-how__steps {
    margin: 0 0 36px;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 28px;
    max-width: none;
}

.page-especialista .esp-how__step {
    margin: 0;
}

.page-especialista .esp-how__step-title {
    margin: 0 0 8px;
    font-family: "Inter", sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--Text-primary);
}

.page-especialista .esp-how__step-text {
    margin: 0;
    font-family: "Inter", sans-serif;
    font-size: 15px;
    line-height: 1.55;
    color: var(--Text-secondary);
}

.page-especialista .esp-how__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 28px;
    padding: 14px 28px;
    border-radius: 999px;
    background-color: var(--Secondary);
    color: var(--Text-primary);
    font-family: "Inter", sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-especialista .esp-how__cta:hover {
    color: var(--Text-primary);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(33, 28, 55, 0.12);
}

.page-especialista .esp-how__note {
    margin: 0;
    max-width: none;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    line-height: 1.55;
    color: var(--Text-muted);
}

@media (max-width: 767px) {
    .page-especialista .esp-how {
        padding: 40px 16px 32px;
    }

    .page-especialista .esp-how__intro {
        margin-bottom: 32px;
        font-size: 15px;
    }

    .page-especialista .esp-how__steps {
        gap: 24px;
        margin-bottom: 28px;
    }
}

/* —— Benefícios especialista (fiel ao protótipo) —— */
.page-especialista .esp-benefits {
    width: 100%;
    padding: 40px 24px 56px;
    background: #ffffff;
    box-sizing: border-box;
}

.page-especialista .esp-benefits__panel {
    width: min(1200px, 100%);
    max-width: 1200px;
    margin: 0 auto;
    background: #F9F8F4;
    border-radius: 40px;
    padding: 72px 44px 64px;
    box-sizing: border-box;
}

.page-especialista .esp-benefits__header {
    max-width: 640px;
    margin: 0 auto 48px;
    text-align: center;
}

.page-especialista .esp-benefits__eyebrow {
    margin: 0 0 14px;
    font-family: "Inter", sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #A39E94;
}

.page-especialista .esp-benefits__title {
    margin: 0 0 16px;
    font-family: "Inter", sans-serif;
    font-size: 34px;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: #2A2A2A;
}

.page-especialista .esp-benefits__intro {
    margin: 0 auto;
    max-width: 520px;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #7A7A7A;
}

.page-especialista .esp-benefits__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 48px;
    align-items: stretch;
}

.page-especialista .esp-benefit-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 16px;
    padding: 36px 22px 32px;
    box-shadow: 0 1px 2px rgba(33, 28, 55, 0.04), 0 6px 18px rgba(33, 28, 55, 0.05);
}

.page-especialista .esp-benefit-card__icon {
    width: 48px;
    height: 48px;
    margin: 0 0 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #E0F2F1;
    flex-shrink: 0;
    overflow: hidden;
}

.page-especialista .esp-benefit-card__icon img {
    width: 24px;
    height: 24px;
    display: block;
    object-fit: contain;
}

.page-especialista .esp-benefit-card__title {
    margin: 0;
    font-family: "Inter", sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    color: #2D2D2D;
}

.page-especialista .esp-benefit-card__line {
    display: block;
    width: 28px;
    height: 2px;
    margin: 10px 0 12px;
    border-radius: 1px;
    background: #7BC4B8;
    flex-shrink: 0;
}

.page-especialista .esp-benefit-card__text {
    margin: 0;
    font-family: "Inter", sans-serif;
    font-size: 12.5px;
    line-height: 1.55;
    color: #6B6B6B;
}

.page-especialista .esp-benefits__footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    max-width: 720px;
    margin: 0 auto;
}

.page-especialista .esp-benefits__footer-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #7BC4B8;
}

.page-especialista .esp-benefits__footer-icon svg {
    width: 36px;
    height: 36px;
    display: block;
}

.page-especialista .esp-benefits__footer p {
    margin: 0;
    font-family: "Inter", sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.45;
    color: #5A5A5A;
}

@media (max-width: 991px) {
    .page-especialista .esp-benefits__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .page-especialista .esp-benefits__panel {
        width: min(1200px, 100%);
        border-radius: 32px;
        padding: 56px 24px 48px;
    }

    .page-especialista .esp-benefits__title {
        font-size: 28px;
    }
}

@media (max-width: 767px) {
    .page-especialista .esp-benefits {
        padding: 24px 16px 40px;
    }

    .page-especialista .esp-benefits__panel {
        width: 100%;
        border-radius: 24px;
        padding: 28px 14px 24px;
    }

    .page-especialista .esp-benefits__title {
        font-size: 24px;
    }

    .page-especialista .esp-benefits__grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .page-especialista .esp-benefits__footer {
        align-items: flex-start;
    }
}

.esp-path {
    background-color: var(--Bg-light);
}

.esp-path__title {
    font-family: "Inter", sans-serif;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 500;
    line-height: 1.2;
    max-width: 16ch;
    margin: 0;
}

.esp-community {
    background-color: #ffffff;
}

@media (max-width: 767px) {
    .esp-hero > .tf-container {
        width: min(1200px, calc(100% - 32px));
    }
}

@media (max-width: 991px) {
    .esp-hero__grid {
        grid-template-columns: 1fr;
        padding: 56px 0;
        gap: 32px;
    }

    .esp-hero__form-card {
        margin-left: 0;
        max-width: none;
    }

    .esp-hero__title {
        max-width: none;
    }
}

@media (max-width: 575px) {
    .esp-hero {
        min-height: 70vh;
        align-items: flex-end;
    }

    .esp-hero__form-card {
        padding: 28px 20px;
        border-radius: 20px;
    }
}

/* —— Página Prescritor —— */
html:has(.page-prescritor) {
    height: 100%;
}

.page-prescritor {
    margin: 0;
    padding: 0;
    min-height: 100%;
    background-color: var(--Bg-light);
    font-family: var(--font-main);
    color: var(--Primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.page-prescritor *,
.page-prescritor *::before,
.page-prescritor *::after {
    box-sizing: border-box;
}

.presc {
    display: flex;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
}

.presc__brand {
    flex: 1 1 58%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 48px;
    background-color: var(--Primary);
    color: #ffffff;
    padding: 36px clamp(32px, 5vw, 72px) 56px;
    min-width: 0;
}

.presc__nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 12px 32px;
    width: 100%;
}

.presc__nav a {
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.3;
    text-decoration: none;
    white-space: nowrap;
}

.presc__nav a:hover {
    opacity: 0.8;
    color: #ffffff;
}

.presc__brand-copy {
    max-width: 560px;
    width: 100%;
    margin: auto 0;
    padding-bottom: 24px;
}

.presc__headline {
    margin: 0 0 24px;
    color: var(--Secondary);
    font-family: var(--font-main);
    font-size: clamp(26px, 2.8vw, 42px);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.presc__text {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
}

.presc__text--emphasis {
    margin-bottom: 0;
    font-weight: 500;
}

.presc__panel {
    flex: 0 0 42%;
    max-width: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 28px;
    background-color: var(--Bg-light);
    min-width: 0;
}

.presc__panel-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    width: 100%;
    max-width: 360px;
}

.presc__logo {
    display: block;
    line-height: 0;
}

.presc__logo img {
    display: block;
    width: 148px;
    height: auto;
}

.presc__card {
    width: 100%;
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(33, 28, 55, 0.08);
    padding: 28px 24px 24px;
}

.presc__form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 0;
}

.presc__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
}

.presc__label {
    display: block;
    margin: 0;
    color: var(--Primary);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
}

.presc__input {
    display: block;
    width: 100%;
    height: 44px;
    margin: 0;
    padding: 0 14px;
    border: 1px solid #D9D5CE;
    border-radius: 10px;
    background-color: #ffffff;
    color: var(--Primary);
    font-family: var(--font-main);
    font-size: 14px;
    line-height: 1.4;
    outline: none;
    overflow: visible;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.presc__input::placeholder {
    color: #A8A39A;
    opacity: 1;
}

.presc__input:focus {
    border-color: var(--Secondary);
    box-shadow: 0 0 0 3px rgba(150, 226, 191, 0.35);
}

.presc__forgot {
    align-self: flex-end;
    margin-top: 2px;
    color: var(--Primary);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
}

.presc__forgot:hover {
    color: var(--Primary);
    text-decoration: underline;
}

.presc__remember {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: var(--Primary);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
    cursor: pointer;
}

.presc__remember input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    flex-shrink: 0;
    accent-color: var(--Primary);
}

/* Admin login — só o formulário, centralizado */
.page-admin-login {
    min-height: 100vh;
    min-height: 100dvh;
    background-color: var(--Bg-light);
}

.page-admin-login *,
.page-admin-login *::before,
.page-admin-login *::after {
    box-sizing: border-box;
}

.admin-login-only {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.presc__submit {
    display: block;
    width: 100%;
    height: 46px;
    margin: 4px 0 0;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background-color: var(--Mint-soft);
    color: var(--Primary);
    font-family: var(--font-main);
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    overflow: visible;
    appearance: none;
    -webkit-appearance: none;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.presc__submit:hover {
    background-color: var(--Secondary);
}

.presc__submit:active {
    transform: translateY(1px);
}

.presc__signup {
    margin: 0;
    color: var(--Primary);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    text-align: center;
}

.presc__signup a {
    color: var(--Primary);
    font-weight: 700;
    text-decoration: none;
}

.presc__signup a:hover {
    text-decoration: underline;
}

@media (max-width: 991px) {
    .presc {
        flex-direction: column;
        min-height: auto;
    }

    .presc__brand {
        flex: none;
        order: 2;
        padding: 32px 24px 48px;
        gap: 32px;
    }

    .presc__nav {
        justify-content: flex-start;
        gap: 12px 20px;
    }

    .presc__brand-copy {
        margin: 0;
        max-width: none;
        padding-bottom: 0;
    }

    .presc__panel {
        flex: none;
        order: 1;
        max-width: none;
        width: 100%;
        min-height: auto;
        padding: 40px 20px 36px;
    }
}

@media (max-width: 575px) {
    .presc__nav a {
        font-size: 13px;
    }

    .presc__headline {
        font-size: 24px;
    }

    .presc__text {
        font-size: 15px;
    }

    .presc__card {
        padding: 24px 18px 20px;
    }
}

/* —— Checkout paciente —— */
.checkout-page {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(180deg, #F3FBF7 0%, var(--Bg-light, #F9F7F2) 40%, #fff 100%);
    color: var(--Text-primary, #212121);
    font-family: var(--font-main, Inter, sans-serif);
    -webkit-font-smoothing: antialiased;
}

.checkout-page *,
.checkout-page *::before,
.checkout-page *::after {
    box-sizing: border-box;
}

.checkout-header {
    background: var(--Secondary, #96E2BF);
    border-bottom: 1px solid rgba(33, 28, 55, 0.08);
}

.checkout-header__inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.checkout-logo img {
    display: block;
    height: 36px;
    width: auto;
}

.checkout-header__login {
    color: var(--Primary, #211C37);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.checkout-header__login:hover {
    text-decoration: underline;
}

.checkout-main {
    max-width: 1120px;
    margin: 0 auto;
    padding: 32px 20px 64px;
}

.checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    grid-template-areas: "form summary";
    gap: 28px;
    align-items: start;
}

.checkout-summary {
    grid-area: summary;
}

.checkout-form-panel {
    grid-area: form;
}

.checkout-summary__eyebrow {
    margin: 0 0 8px;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--Text-muted, #8A8A8A);
    font-weight: 600;
}

.checkout-summary__title {
    margin: 0 0 10px;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.15;
    color: var(--Primary, #211C37);
    font-weight: 700;
}

.checkout-summary__sub {
    margin: 0 0 24px;
    color: var(--Text-secondary, #4B4B4B);
    font-size: 16px;
    line-height: 1.5;
}

.checkout-card,
.checkout-guarantee,
.checkout-includes,
.checkout-form-panel,
.checkout-result__card {
    background: #fff;
    border: 1px solid var(--Line, #E8E4DC);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(33, 28, 55, 0.05);
}

.checkout-card {
    padding: 22px;
    margin-bottom: 16px;
}

.checkout-card__plan {
    display: grid;
    gap: 4px;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--Line, #E8E4DC);
}

.checkout-card__plan strong {
    font-size: 18px;
    color: var(--Primary, #211C37);
}

.checkout-card__plan span,
.checkout-card__note {
    color: var(--Text-secondary, #4B4B4B);
    font-size: 14px;
}

.checkout-card__row,
.checkout-card__total {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    font-size: 15px;
}

.checkout-card__row--muted {
    color: var(--Text-muted, #8A8A8A);
}

.checkout-card__total {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--Line, #E8E4DC);
    font-size: 18px;
}

.checkout-card__note {
    margin: 14px 0 0;
}

.checkout-coupon {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--Line, #E8E4DC);
}

.checkout-coupon__form {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.checkout-coupon__form input {
    flex: 1;
    min-width: 0;
    min-height: 42px;
    padding: 8px 12px;
    border: 1px solid var(--Line, #E8E4DC);
    border-radius: 12px;
    background: var(--Bg-light, #F9F7F2);
    color: var(--Text-primary, #212121);
    font: inherit;
    font-size: 14px;
}

.checkout-coupon__form input:focus {
    outline: 2px solid var(--Secondary, #96E2BF);
    border-color: transparent;
    background: #fff;
}

.checkout-coupon__btn,
.checkout-coupon__remove {
    flex-shrink: 0;
    border: 0;
    border-radius: 999px;
    padding: 0 16px;
    min-height: 42px;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.checkout-coupon__btn {
    background: var(--Primary, #211C37);
    color: #fff;
}

.checkout-coupon__btn:hover {
    filter: brightness(1.08);
}

.checkout-coupon__applied {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #F0FBF6;
    border: 1px solid #C8EEDD;
}

.checkout-coupon__applied strong {
    display: block;
    color: var(--Primary, #211C37);
    font-size: 14px;
}

.checkout-coupon__applied span {
    font-size: 12px;
    color: var(--Text-secondary, #4B4B4B);
}

.checkout-coupon__remove {
    background: transparent;
    color: var(--Primary, #211C37);
    text-decoration: underline;
    padding: 0 8px;
    min-height: auto;
}

.checkout-coupon__error {
    margin: 8px 0 0;
    color: #A8071A;
    font-size: 13px;
}

.checkout-coupon__ok {
    margin: 8px 0 0;
    color: #237804;
    font-size: 13px;
}

.checkout-card-secure {
    margin: 16px 0 0;
    font-size: 13px;
    color: var(--Text-secondary, #4B4B4B);
    line-height: 1.45;
}

.checkout-submit:disabled {
    opacity: 0.7;
    cursor: wait;
}

.checkout-guarantee {
    padding: 18px 20px;
    margin-bottom: 16px;
    background: #F0FBF6;
    border-color: #C8EEDD;
}

.checkout-guarantee strong {
    display: block;
    margin-bottom: 6px;
    color: var(--Primary, #211C37);
}

.checkout-guarantee p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--Text-secondary, #4B4B4B);
}

.checkout-includes {
    padding: 20px;
}

.checkout-includes h2 {
    margin: 0 0 12px;
    font-size: 16px;
    color: var(--Primary, #211C37);
}

.checkout-includes ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.checkout-includes li {
    position: relative;
    padding-left: 28px;
    font-size: 14px;
    line-height: 1.45;
    color: var(--Text-secondary, #4B4B4B);
}

.checkout-includes li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--Secondary, #96E2BF) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23211C37' d='M6.5 11.2 3.3 8l1.1-1.1 2.1 2.1 4.6-4.6L12.2 5.5z'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.checkout-form-panel {
    padding: 24px;
}

.checkout-steps {
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
    display: grid;
    gap: 10px;
}

.checkout-steps li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--Text-muted, #8A8A8A);
}

.checkout-steps li span {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eee;
    font-weight: 700;
    font-size: 13px;
}

.checkout-steps li.is-active {
    color: var(--Primary, #211C37);
    font-weight: 600;
}

.checkout-steps li.is-active span,
.checkout-steps li.is-done span {
    background: var(--Secondary, #96E2BF);
    color: var(--Primary, #211C37);
}

.checkout-form__title {
    margin: 0 0 6px;
    font-size: 24px;
    color: var(--Primary, #211C37);
}

.checkout-form__hint {
    margin: 0 0 20px;
    color: var(--Text-secondary, #4B4B4B);
    font-size: 14px;
}

.checkout-form {
    display: grid;
    gap: 14px;
    margin: 0;
}

.checkout-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.checkout-field {
    display: grid;
    gap: 6px;
}

.checkout-field--full,
.checkout-field--grow {
    grid-column: 1 / -1;
}

.checkout-field label {
    font-size: 13px;
    font-weight: 600;
    color: var(--Primary, #211C37);
}

.checkout-field input {
    width: 100%;
    min-height: 46px;
    padding: 10px 14px;
    border: 1px solid var(--Line, #E8E4DC);
    border-radius: 12px;
    background: var(--Bg-light, #F9F7F2);
    color: var(--Text-primary, #212121);
    font: inherit;
}

.checkout-field input:focus {
    outline: 2px solid var(--Secondary, #96E2BF);
    border-color: transparent;
    background: #fff;
}

.checkout-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    min-height: 48px;
    padding: 12px 22px;
    border: 0;
    border-radius: 999px;
    background: var(--Secondary, #96E2BF);
    color: var(--Primary, #211C37);
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
}

.checkout-submit:hover {
    filter: brightness(0.97);
}

.checkout-form__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.checkout-back {
    color: var(--Text-secondary, #4B4B4B);
    font-size: 14px;
    text-decoration: none;
}

.checkout-back:hover {
    color: var(--Primary, #211C37);
}

.checkout-alert {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #FFF1F0;
    border: 1px solid #FFCCC7;
    color: #A8071A;
    font-size: 14px;
}

.checkout-alert ul {
    margin: 0;
    padding-left: 18px;
}

.checkout-result {
    max-width: 640px;
    margin: 0 auto;
    padding: 48px 20px 72px;
}

.checkout-result__card {
    padding: 32px 28px;
    text-align: center;
}

.checkout-result__card--narrow {
    text-align: left;
}

.checkout-result__card h1 {
    margin: 0 0 12px;
    font-size: 28px;
    color: var(--Primary, #211C37);
}

.checkout-result__card > p {
    margin: 0 0 20px;
    color: var(--Text-secondary, #4B4B4B);
    line-height: 1.5;
}

.checkout-result__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.checkout-result__card--narrow .checkout-result__actions,
.checkout-result__card--narrow .checkout-submit {
    width: 100%;
}

.checkout-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    font-size: 14px;
    color: var(--Text-secondary, #4B4B4B);
    cursor: pointer;
}

.checkout-login-footer {
    margin: 20px 0 0;
    padding-top: 16px;
    border-top: 1px solid var(--Line, #E8E4DC);
    text-align: center;
    font-size: 14px;
}

.checkout-login-footer a {
    color: var(--Text-secondary, #4B4B4B);
    text-decoration: none;
}

.checkout-login-footer a:hover {
    color: var(--Primary, #211C37);
}

.checkout-summary__sheet-head,
.checkout-mobile-price,
.checkout-sheet-backdrop {
    display: none;
}

@media (max-width: 991px) {
    .checkout-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "form"
            "summary";
    }

    .checkout-form__grid {
        grid-template-columns: 1fr;
    }

    .checkout-main {
        padding-bottom: 32px;
    }

    .checkout-summary__sheet-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 12px;
        padding-bottom: 12px;
        border-bottom: 1px solid var(--Line, #E8E4DC);
        position: sticky;
        top: 0;
        background: #fff;
        z-index: 2;
    }

    .checkout-summary__sheet-title {
        margin: 0;
        font-size: 15px;
        font-weight: 700;
        color: var(--Primary, #211C37);
    }

    .checkout-summary__close {
        width: 36px;
        height: 36px;
        border: 0;
        border-radius: 50%;
        background: #F3F1EC;
        color: var(--Primary, #211C37);
        font-size: 22px;
        line-height: 1;
        cursor: pointer;
    }

    .checkout-mobile-price {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 18px;
        padding: 12px 14px;
        border-radius: 14px;
        background: #F0FBF6;
        border: 1px solid #C8EEDD;
    }

    .checkout-mobile-price__label {
        display: block;
        font-size: 12px;
        color: var(--Text-secondary, #4B4B4B);
        margin-bottom: 2px;
    }

    .checkout-mobile-price__value {
        font-size: 16px;
        color: var(--Primary, #211C37);
    }

    .checkout-mobile-price__btn {
        flex-shrink: 0;
        border: 0;
        border-radius: 999px;
        background: var(--Primary, #211C37);
        color: #fff;
        font-size: 13px;
        font-weight: 600;
        padding: 10px 14px;
        cursor: pointer;
    }

    .checkout-summary {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 80;
        max-height: min(88vh, 720px);
        overflow-y: auto;
        margin: 0;
        padding: 16px 18px 28px;
        border-radius: 22px 22px 0 0;
        background: #fff;
        box-shadow: 0 -12px 40px rgba(33, 28, 55, 0.18);
        transform: translateY(110%);
        transition: transform 0.28s ease;
        -webkit-overflow-scrolling: touch;
    }

    .checkout-summary.is-open {
        transform: translateY(0);
    }

    .checkout-summary__title {
        font-size: 24px;
    }

    .checkout-sheet-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 75;
        background: rgba(33, 28, 55, 0.45);
        border: 0;
        padding: 0;
        margin: 0;
        cursor: pointer;
    }

    .checkout-sheet-backdrop[hidden] {
        display: none !important;
    }

    body.checkout-sheet-open {
        overflow: hidden;
    }
}


