:root {
    --ml-yellow: #ffffff;
    --ml-blue: #0035a2;
    --ml-blue-dark: #0035a2;
    --ml-green: #0f7a5f;
    --ml-text: #172033;
    --ml-muted: #667085;
    --ml-line: #e6eaf1;
    --ml-bg: #f7f9fc;
    --ml-card: #ffffff;
    --ml-danger: #b42318;
}

.plan-card[hidden],
.product-item[hidden] {
    display: none !important;
}

body {
    background: var(--ml-bg);
}

.is-hidden {
    display: none !important;
}

.landing-site-header {
    background: #ffffff;
    border-bottom: 1px solid var(--ml-line);
    box-shadow: 0 8px 24px rgba(15, 23, 42, .04);
    position: sticky;
    top: 0;
    z-index: 30;
}

.landing-site-header-content {
    display: flex;
    justify-content: flex-start;
    padding: 13px 0;
}

.landing-site-header .container {
    width: min(1180px, calc(100% - 28px));
}

.landing-site-header .brand-logo {
    display: block;
    height: 30px;
    width: auto;
}

.landing-site-header .site-nav {
    display: flex;
}

.landing-site-header-content {
    align-items: center;
    justify-content: space-between;
}

.landing-entry-actions {
    align-items: center;
    gap: 8px;
}

.landing-entry-actions .btn {
    margin: 0;
    min-width: 92px;
    text-align: center;
}

.landing-entry-actions .sst-header-supplier {
    background: #fff;
    border: 1px solid var(--ml-blue);
    color: var(--ml-blue);
}

.landing-entry-actions .sst-header-supplier:hover {
    background: #eef4ff;
    color: var(--ml-blue-dark);
}

.sst-home {
    width: 100%;
}

.sst-home-hero {
    height: clamp(520px, calc(100svh - 112px), 720px);
    isolation: isolate;
    margin-left: calc(50% - 50vw);
    overflow: hidden;
    position: relative;
    width: 100vw;
}

.sst-home-hero-image,
.sst-home-hero-overlay {
    inset: 0;
    position: absolute;
}

.sst-home-hero-image {
    background-image: url('../images/sst-hero.png');
    background-position: center;
    background-size: cover;
    z-index: -2;
}

.sst-home-hero-overlay {
    background: rgba(5, 20, 33, .62);
    z-index: -1;
}

.sst-home-hero-content {
    align-content: center;
    color: #fff;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    height: 100%;
    margin: 0 auto;
    max-width: 1180px;
    padding: 48px 24px;
    width: 100%;
}

.sst-home-hero-content > * {
    min-width: 0;
}

.sst-home-brand,
.sst-home-section-head > p,
.sst-home-path > div > p {
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: 0;
    margin: 0 0 12px;
    text-transform: uppercase;
}

.sst-home-brand {
    color: #f7c948;
}

.sst-home-hero h1 {
    color: #fff;
    font-size: 3.25rem;
    line-height: 1.03;
    margin: 0;
    max-width: 650px;
}

.sst-home-lead {
    color: rgba(255, 255, 255, .9);
    font-size: 1.08rem;
    line-height: 1.65;
    margin: 22px 0 0;
    max-width: 620px;
}

.sst-home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.sst-home-actions .btn,
.sst-home-path .btn {
    align-items: center;
    display: inline-flex;
    gap: 8px;
    justify-content: center;
    margin: 0;
    min-height: 40px;
    padding: 8px 18px;
}

.sst-home-primary {
    background: #f5bd22;
    color: #132238;
}

.sst-home-primary:hover {
    background: #ffd15a;
}

.sst-home-login {
    border: 1px solid rgba(255, 255, 255, .7);
    color: #fff;
    text-decoration: none;
}

.sst-home-login:hover {
    background: #fff;
    color: #132238;
}

.sst-home-intro {
    padding: 72px 0;
}

.sst-home-section-head {
    max-width: 720px;
}

.sst-home-section-head > p,
.sst-home-path > div > p {
    color: var(--ml-blue);
}

.sst-home-section-head h2,
.sst-home-path h2 {
    color: var(--ml-text);
    font-size: 2rem;
    line-height: 1.2;
    margin: 0;
}

.sst-home-services {
    border-bottom: 1px solid var(--ml-line);
    border-top: 1px solid var(--ml-line);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 34px;
}

.sst-home-services article {
    display: grid;
    gap: 14px;
    grid-template-columns: 40px minmax(0, 1fr);
    padding: 30px 28px;
}

.sst-home-services article + article {
    border-left: 1px solid var(--ml-line);
}

.sst-home-services i {
    color: #d99a00;
    font-size: 2rem;
}

.sst-home-services h3 {
    color: var(--ml-text);
    font-size: 1rem;
    margin: 3px 0 7px;
}

.sst-home-services p,
.sst-home-path span {
    color: var(--ml-muted);
    line-height: 1.55;
    margin: 0;
}

.sst-home-path {
    align-items: center;
    background: #edf4f7;
    display: flex;
    gap: 32px;
    justify-content: space-between;
    margin-bottom: 72px;
    padding: 42px 48px;
}

.sst-home-path > div {
    max-width: 720px;
}

.sst-home-path span {
    display: block;
    margin-top: 12px;
}

.sst-home-path .btn {
    flex: 0 0 auto;
    color: #fff;
}

.sst-home-path .btn:hover,
.sst-home-path .btn:focus-visible {
    color: #fff;
}

.sst-home-path .btn span {
    color: #fff;
}

.site-footer {
    display: none;
}

main.container {
    width: min(1180px, calc(100% - 28px));
}

.ml-page {
    padding: 24px 0 52px;
}

.ml-shell {
    margin: 0 auto;
}

.ml-heading {
    margin-bottom: 16px;
}

.ml-heading p {
    color: var(--ml-muted);
    font-size: .82rem;
    font-weight: 700;
    margin: 0 0 6px;
}

.ml-heading h1 {
    color: var(--ml-text);
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
    text-transform: none;
}

.ml-heading span {
    color: var(--ml-muted);
    display: block;
    margin-top: 6px;
}

.ml-layout {
    align-items: start;
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(0, 1fr) 360px;
    min-width: 0;
    width: 100%;
}

.ml-main-card,
.ml-buy-card {
    background: var(--ml-card);
    border: 1px solid var(--ml-line);
    border-radius: 12px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .06);
    min-width: 0;
    width: 100%;
}

.ml-main-card {
    padding: 24px;
}

.ml-buy-card {
    padding: 24px;
    position: sticky;
    top: 82px;
}

.ml-section-head {
    align-items: flex-start;
    border-bottom: 1px solid var(--ml-line);
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
    padding-bottom: 14px;
}

.ml-section-head h2,
.ml-buyer-data h2 {
    color: var(--ml-text);
    font-size: 1.22rem;
    font-weight: 600;
    line-height: 1.25;
    margin: 0;
    overflow-wrap: anywhere;
}

.ml-section-head h2 {
    flex: 0 1 auto;
    min-width: 0;
}

.feedback-muted,
.feedback-muted-tight {
    color: var(--ml-muted);
    font-size: .84rem;
    margin: 0;
}

.feedback-muted {
    margin-top: 5px;
}

.feedback-muted.is-ok,
.feedback-muted-tight.is-ok {
    color: var(--ml-green);
}

.feedback-muted.is-error,
.feedback-muted-tight.is-error {
    color: var(--ml-danger);
}

.plan-grid {
    display: grid;
    gap: 12px;
}

.plan-radio {
    display: none;
}

.plan-card {
    align-items: start;
    background: #fff;
    border: 2px solid var(--ml-line);
    border-radius: 12px;
    cursor: pointer;
    display: grid;
    gap: 14px;
    grid-template-columns: 22px minmax(0, 1fr);
    min-height: 86px;
    min-width: 0;
    padding: 16px;
    transition: border-color .16s ease, box-shadow .16s ease;
}

.plan-card:hover {
    border-color: #b8c8ef;
}

.plan-radio:checked + .plan-card {
    border-color: var(--ml-blue);
    box-shadow: 0 0 0 3px rgba(0, 53, 162, .10);
}

.plan-check {
    border: 2px solid #c7c7c7;
    border-radius: 50%;
    display: block;
    height: 20px;
    position: relative;
    width: 20px;
}

.plan-check.is-static {
    border-color: var(--ml-blue);
}

.plan-check.is-static::after {
    background: var(--ml-blue);
    border-radius: 50%;
    content: "";
    height: 10px;
    left: 3px;
    position: absolute;
    top: 3px;
    width: 10px;
}

.plan-radio:checked + .plan-card .plan-check {
    border-color: var(--ml-blue);
}

.plan-radio:checked + .plan-card .plan-check::after {
    background: var(--ml-blue);
    border-radius: 50%;
    content: "";
    height: 10px;
    left: 3px;
    position: absolute;
    top: 3px;
    width: 10px;
}

.plan-info {
    min-width: 0;
}

.plan-info strong,
.plan-info em {
    display: block;
}

.plan-info strong {
    color: var(--ml-text);
    font-size: 1rem;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.plan-info em {
    color: var(--ml-muted);
    font-size: .88rem;
    font-style: normal;
    line-height: 1.35;
    margin-top: 4px;
    overflow-wrap: anywhere;
}

.plan-value {
    color: var(--ml-text);
    font-size: 1.18rem;
    font-weight: 400;
    grid-column: 2;
    justify-self: start;
    margin-top: -6px;
    text-align: left;
    white-space: nowrap;
}

.plan-value b {
    font-weight: 400;
}

.plan-value .is-calculation-prompt,
.product-item-price.is-calculation-prompt {
    display: block;
    min-height: 16px;
    margin-top: 5px;
    color: var(--ml-blue);
    font-size: .72rem;
    font-style: normal;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
    white-space: nowrap;
}

.empty-packages {
    background: #f5f8ff;
    border: 1px solid #c8d6f4;
    border-radius: 8px;
    color: var(--ml-text);
    display: grid;
    gap: 4px;
    padding: 14px;
}

.empty-packages span {
    color: var(--ml-muted);
    font-size: .9rem;
}

.optional-products {
    border-top: 1px solid var(--ml-line);
    margin-top: 22px;
    padding-top: 18px;
}

.optional-products summary {
    color: var(--ml-blue);
    cursor: pointer;
    font-weight: 600;
}

.product-scroll-box {
    margin-top: 12px;
    max-height: 310px;
    overflow: auto;
}

.product-grid {
    display: grid;
    gap: 8px;
}

.product-item {
    align-items: center;
    border: 1px solid var(--ml-line);
    border-radius: 8px;
    display: grid;
    gap: 10px;
    grid-template-columns: auto minmax(0, 1fr) 66px;
    padding: 10px;
}

.product-item input[type="checkbox"] {
    accent-color: var(--ml-blue);
    height: 18px;
    width: 18px;
}

.product-item span {
    min-width: 0;
}

.product-item strong,
.product-item em {
    display: block;
}

.product-item strong {
    color: var(--ml-text);
    font-size: .9rem;
    font-weight: 600;
}

.product-item em {
    color: var(--ml-muted);
    font-size: .82rem;
    font-style: normal;
    margin-top: 2px;
}

.product-item-qty-input {
    border: 1px solid #d8d8d8;
    border-radius: 6px;
    height: 36px;
    padding: 0 8px;
    width: 66px;
}

.ml-buyer-data {
    border-top: 1px solid var(--ml-line);
    margin-top: 24px;
    padding-top: 22px;
}

.ml-buyer-data h2 {
    margin-bottom: 14px;
}

.field-row {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr 1fr;
    min-width: 0;
}

.field-group {
    display: grid;
    gap: 6px;
    margin-bottom: 12px;
    min-width: 0;
}

.field-group label {
    color: var(--ml-text);
    font-size: .86rem;
    font-weight: 600;
}

.field-group input,
.field-group select {
    background: #fff;
    border: 1px solid #d8d8d8;
    border-radius: 6px;
    color: var(--ml-text);
    font-size: .95rem;
    height: 42px;
    outline: 0;
    padding: 0 12px;
    transition: border-color .16s ease, box-shadow .16s ease;
    min-width: 0;
    width: 100%;
}

.field-group input:focus,
.field-group select:focus {
    border-color: var(--ml-blue);
    box-shadow: 0 0 0 3px rgba(0, 53, 162, .10);
}

.cnpj-row {
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(0, 1fr) 92px;
    min-width: 0;
}

.cnpj-row button {
    align-self: stretch;
    background: rgba(0, 53, 162, .08);
    border: 0;
    border-radius: 6px;
    color: var(--ml-blue);
    cursor: pointer;
    font-weight: 700;
    height: 42px;
    margin-top: 0;
    padding: 0 12px;
}

.stock-label {
    color: var(--ml-green);
    display: block;
    font-size: .92rem;
    margin-bottom: 8px;
}

.ml-buy-card h2 {
    color: var(--ml-text);
    font-size: 1.22rem;
    font-weight: 500;
    line-height: 1.25;
    margin: 0 0 16px;
}

.ml-price {
    color: var(--ml-text);
    font-size: 2.45rem;
    font-weight: 300;
    letter-spacing: -1px;
    line-height: 1;
    margin-bottom: 8px;
}

.ml-installment {
    color: var(--ml-green);
    font-size: .96rem;
    margin: 0 0 18px;
}

.ml-benefits {
    border-bottom: 1px solid var(--ml-line);
    border-top: 1px solid var(--ml-line);
    display: grid;
    gap: 10px;
    list-style: none;
    margin: 0 0 18px;
    padding: 16px 0;
}

.ml-benefits li {
    color: var(--ml-text);
    font-size: .92rem;
    padding-left: 20px;
    position: relative;
}

.ml-benefits li::before {
    background: var(--ml-green);
    border-radius: 50%;
    content: "";
    height: 8px;
    left: 0;
    position: absolute;
    top: 6px;
    width: 8px;
}

.buyer-fields {
    margin-bottom: 14px;
    min-width: 0;
    width: 100%;
}

.landing-total-box {
    display: none;
}

.buy-button {
    animation: paymentPulse 1.45s ease-in-out infinite;
    background: var(--ml-blue);
    border: 0;
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    height: 48px;
    width: 100%;
    transition: background .16s ease;
}

.buy-button:hover {
    background: var(--ml-blue-dark);
}

.buy-button:disabled {
    animation: none;
    background: #b8c5d6;
    cursor: not-allowed;
}

@keyframes paymentPulse {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(0, 53, 162, .34);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 0 9px rgba(0, 53, 162, 0);
        transform: scale(1.015);
    }
}

@media (prefers-reduced-motion: reduce) {
    .buy-button {
        animation: none;
    }
}

.secure-copy {
    color: var(--ml-muted);
    display: grid;
    gap: 4px;
    margin-top: 14px;
    text-align: center;
}

.secure-copy strong {
    color: var(--ml-green);
    font-size: .92rem;
}

.secure-copy span {
    font-size: .82rem;
    line-height: 1.45;
}

.checkout-plan-box {
    align-items: center;
    border: 2px solid var(--ml-line);
    border-radius: 12px;
    display: grid;
    gap: 14px;
    grid-template-columns: 22px minmax(0, 1fr) auto;
    margin-bottom: 18px;
    min-height: 86px;
    padding: 16px;
}

.checkout-lines {
    display: grid;
    gap: 0;
    margin: 0;
}

.checkout-lines div {
    border-top: 1px solid var(--ml-line);
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 13px 0;
}

.checkout-lines dt {
    color: var(--ml-muted);
    font-size: .9rem;
}

.checkout-lines dd {
    color: var(--ml-text);
    font-size: .9rem;
    font-weight: 600;
    margin: 0;
    text-align: right;
}

.discount-line {
    color: var(--ml-green) !important;
}

.checkout-products {
    margin-top: 16px;
}

.product-item.is-readonly {
    grid-template-columns: minmax(0, 1fr);
}

.pix-copy-box {
    border-top: 1px solid var(--ml-line);
    margin-top: 18px;
    padding-top: 18px;
}

.pix-copy-box strong {
    color: var(--ml-text);
    display: block;
    font-size: .94rem;
    margin-bottom: 8px;
}

.pix-copy-box textarea {
    border: 1px solid #d8d8d8;
    border-radius: 8px;
    color: var(--ml-text);
    font-family: inherit;
    font-size: .88rem;
    padding: 10px;
    resize: vertical;
    width: 100%;
}

.pay-actions {
    display: grid;
    gap: 10px;
}

.checkout-installments-field {
    border: 1px solid var(--ml-line);
    border-radius: 8px;
    color: var(--ml-text);
    margin: 0;
    padding: 10px 12px;
}

.checkout-payment-form {
    display: grid;
    gap: 10px;
}

.checkout-acceptance {
    align-items: flex-start;
    border: 1px solid var(--ml-line);
    border-radius: 10px;
    color: var(--ml-muted);
    display: flex;
    gap: 10px;
    line-height: 1.45;
    padding: 12px;
}

.checkout-acceptance input {
    accent-color: var(--ml-blue);
    flex: 0 0 auto;
    height: 18px;
    margin-top: 2px;
    width: 18px;
}

.pay-actions form {
    margin: 0;
}

.buy-button.is-secondary {
    background: rgba(0, 53, 162, .08);
    color: var(--ml-blue);
}

.buy-button.is-secondary:hover {
    background: rgba(0, 53, 162, .14);
}

.invoice-link {
    align-items: center;
    background: #f5f8ff;
    border-radius: 8px;
    color: var(--ml-blue);
    display: flex;
    font-weight: 700;
    justify-content: center;
    margin-top: 10px;
    min-height: 42px;
    text-decoration: none;
}

.secure-copy.is-boxed {
    background: #f5f8ff;
    border: 1px solid #c8d6f4;
    border-radius: 10px;
    margin: 0 0 14px;
    padding: 12px;
}

@media (max-width: 900px) {
    main.container {
        width: min(100% - 20px, 1180px);
    }

    .ml-layout {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .ml-main-card {
        width: 100%;
    }

    .ml-buy-card {
        position: static;
        width: 100%;
    }

    .checkout-pay-card {
        order: -1;
    }
}

@media (max-width: 620px) {
    .ml-page {
        padding: 16px 0 34px;
    }

    .ml-main-card,
    .ml-buy-card {
        border-radius: 6px;
        padding: 16px;
    }

    .ml-section-head,
    .field-row,
    .cnpj-row {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .plan-card {
        align-items: start;
        grid-template-columns: 22px minmax(0, 1fr);
    }

    .plan-value {
        grid-column: 2;
    }

    .plan-info em {
        white-space: normal;
    }

    .product-scroll-box {
        max-height: none;
        overflow: visible;
    }

    .checkout-plan-box {
        align-items: start;
        grid-template-columns: 22px minmax(0, 1fr);
    }

    .checkout-plan-box .plan-value {
        grid-column: 2;
    }

    .checkout-lines div {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .checkout-lines dd {
        text-align: left;
    }

    .ml-price {
        font-size: clamp(2rem, 12vw, 2.45rem);
    }
}

@media (max-width: 420px) {
    main.container,
    .landing-site-header .container {
        width: min(100% - 16px, 1180px);
    }

    .ml-main-card,
    .ml-buy-card {
        padding: 14px;
    }

    .product-item {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .product-item-qty-input {
        grid-column: 2;
    }
}

@media (max-width: 760px) {
    .landing-site-header-content {
        gap: 10px;
    }

    .landing-site-header .brand-logo {
        height: 24px;
        max-width: 92px;
    }

    .landing-entry-actions {
        gap: 6px;
    }

    .landing-entry-actions .btn {
        font-size: .72rem;
        min-width: 72px;
        padding: 7px 8px;
    }

    .sst-home-hero {
        height: clamp(510px, calc(100svh - 104px), 650px);
    }

    .sst-home-hero-image {
        background-position: 62% center;
    }

    .sst-home-hero-overlay {
        background: rgba(5, 20, 33, .68);
    }

    .sst-home-hero-content {
        align-content: end;
        padding: 36px 20px;
    }

    .sst-home-hero h1 {
        font-size: 2.15rem;
        line-height: 1.08;
    }

    .sst-home-lead {
        font-size: .98rem;
        line-height: 1.5;
        margin-top: 16px;
    }

    .sst-home-actions {
        display: grid;
        grid-template-columns: 1fr;
        margin-top: 22px;
    }

    .sst-home-actions .btn {
        width: 100%;
    }

    .sst-home-intro {
        padding: 52px 0;
    }

    .sst-home-section-head h2,
    .sst-home-path h2 {
        font-size: 1.55rem;
    }

    .sst-home-services {
        grid-template-columns: 1fr;
        margin-top: 26px;
    }

    .sst-home-services article {
        padding: 24px 4px;
    }

    .sst-home-services article + article {
        border-left: 0;
        border-top: 1px solid var(--ml-line);
    }

    .sst-home-path {
        align-items: stretch;
        flex-direction: column;
        margin-bottom: 52px;
        padding: 30px 22px;
    }

    .sst-home-path .btn {
        width: 100%;
    }

}
