/* LP Novas Cápsulas — Figma: desktop 1909:5263 (1440px) / mobile 1918:6349 (390px) */

.lp-novas-capsulas {
    --nc-green: #003a00;
    --nc-red: #cd1a19;
    --nc-swiss: #af0e28;
    --nc-text: #333;
    --nc-muted: #767676;
    --nc-white-85: rgba(255, 255, 255, 0.85);
    --nc-font: 'Jost', sans-serif;

    display: block;
    width: 100%;
    background: #0a3210 url('/arquivos/nc-bg.jpg') top left / 1920px 1080px repeat;
    font-family: var(--nc-font);
    color: #fff;
    overflow: hidden;
}

/* o CSS global da loja aplica word-break: break-all no mobile */
.lp-novas-capsulas,
.lp-novas-capsulas * {
    word-break: normal !important;
    overflow-wrap: break-word;
}

.lp-novas-capsulas *,
.lp-novas-capsulas *::before,
.lp-novas-capsulas *::after {
    box-sizing: border-box;
}

.lp-novas-capsulas h2,
.lp-novas-capsulas h3,
.lp-novas-capsulas p {
    margin: 0;
}

.lp-novas-capsulas img {
    max-width: 100%;
}

/* ---------- HERO ---------- */
.nc-hero picture,
.nc-hero__img {
    display: block;
    width: 100%;
    height: auto;
}

/* ---------- BENEFÍCIOS ---------- */
.nc-beneficios {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 64px 24px;
}

.nc-beneficio {
    display: flex;
    align-items: center;
    gap: 24px;
    width: 604px;
}

.nc-beneficio__media {
    position: relative;
    flex-shrink: 0;
    width: 200px;
    height: 200px;
}

.nc-beneficio__ring {
    position: absolute;
    width: 156px;
    height: 156px;
}

.nc-beneficio__ring--bottom {
    left: 0;
    bottom: 0;
}

.nc-beneficio__ring--top {
    right: 0;
    top: 0;
}

.nc-beneficio__photo {
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    height: 200px;
}

.nc-beneficio__text {
    display: flex;
    flex: 1 0 0;
    flex-direction: column;
    gap: 16px;
    min-width: 1px;
}

.nc-beneficio__title {
    font-family: var(--nc-font);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: #fff;
}

.nc-beneficio__desc {
    font-size: 16px;
    line-height: 1.6;
    color: var(--nc-white-85);
}

/* ---------- PRODUZIDAS NA SUÍÇA ---------- */
.nc-suica {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 232px 40px;
}

.nc-suica__head {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-shrink: 0;
}

.nc-suica__title {
    width: 189px;
    font-family: var(--nc-font);
    font-size: 34px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.3px;
    color: #fff;
}

.nc-suica__selo {
    display: block;
    width: 200px;
    height: 200px;
    border-radius: 50%;
}

.nc-suica__desc {
    flex: 1 0 0;
    min-width: 1px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #fff;
}

/* ---------- PRATELEIRA (markup do CMS: .shelf__container > div > ul > li) ---------- */
.nc-shelf {
    padding: 0 24px;
}

.nc-shelf .shelf__container > div {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 405px));
    justify-content: center;
    gap: 24px;
    margin: 0;
}

/* título do placeholder (ex.: "shelf") — não existe no Figma */
.nc-shelf .shelf__container > div > h2 {
    display: none;
}

.nc-shelf .shelf__container > div ul {
    display: contents;
}

.nc-shelf .shelf__container > div li {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    width: auto;
}

.nc-shelf .shelf__container > div li.helperComplement {
    display: none;
}

.nc-shelf .box-item {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    min-height: 547px;
    margin: 0;
    padding: 16px 0 0;
    overflow: hidden;
    text-align: left;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
    font-family: var(--nc-font);
}

.nc-shelf .box-item .product-image {
    display: flex;
    flex: 1 0 auto;
    align-items: center;
    justify-content: center;
    height: 200px;
    margin: 0;
    padding: 0 20px;
}

.nc-shelf .box-item .product-image img {
    width: auto;
    height: 100%;
    max-height: 200px;
    object-fit: contain;
}

.nc-shelf .box-item .product-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 20px 0;
}

.nc-shelf .box-item .product-intensity {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 16px;
    border-radius: 20px;
    background: var(--nc-green);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #fff;
}

.nc-shelf .box-item .product-intensity:empty {
    display: none;
}

.nc-shelf .box-item .product-name {
    margin: 0 0 5px;
    padding: 0;
    height: auto;
    font-family: var(--nc-font);
    font-size: 24px;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
}

/* nomes longos (ex.: kits) em no máx. 2 linhas, cards com a mesma altura */
.nc-shelf .box-item .product-name {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.nc-shelf .box-item .product-name a {
    color: var(--nc-text);
    text-decoration: none;
}

/* a VTEX entrega a descrição em HTML (vários <p>): mostra só o começo, em 3 linhas */
.nc-shelf .box-item .product-desc {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    max-height: 63px;
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--nc-muted);
}

.nc-shelf .box-item .product-desc * {
    display: inline;
    margin: 0;
    padding: 0;
    font: inherit;
    color: inherit;
}

.nc-shelf .box-item .product-desc br {
    display: none;
}

.nc-shelf .box-item .product-desc p::after {
    content: " ";
}

.nc-shelf .box-item .price {
    margin: 5px 20px 0;
    padding: 5px 10px;
}

.nc-shelf .box-item .price a {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 16px;
    text-decoration: none;
}

.nc-shelf .box-item .old-price {
    font-size: 16px;
    color: var(--nc-muted);
    text-decoration: line-through;
}

.nc-shelf .box-item .best-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--nc-green);
}

.nc-shelf .box-item .box-buy {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 5px 0 0;
    padding: 0 20px 24px;
}

/* o SY-styleMelitta2.css tem .prateleira .box-qtd { max-width: 120px !important; margin-right: 20px !important; height: 50px } */
.nc-shelf .box-item .box-qtd {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: auto;
    min-height: 46px;
    margin: 0;
    margin-right: 0 !important;
    max-width: none !important;
    height: auto;
    padding: 10px 16px;
    border: 2px solid var(--nc-green);
    border-radius: 25px;
    background: transparent;
    font-family: 'Open Sans', sans-serif;
    color: var(--nc-text);
}

.nc-shelf .box-item .box-qtd .minus,
.nc-shelf .box-item .box-qtd .plus {
    flex: none;
    height: auto;
    width: 20px;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    user-select: none;
}

.nc-shelf .box-item .box-qtd .currentValue {
    flex: none;
    height: auto;
    width: 16px;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 16px;
    text-align: center;
    color: var(--nc-text);
    -moz-appearance: textfield;
}

.nc-shelf .box-item .box-qtd .currentValue::-webkit-outer-spin-button,
.nc-shelf .box-item .box-qtd .currentValue::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.nc-shelf .box-item .buy-buttom-assinc {
    display: flex;
    flex: 1 0 0;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: none;
    min-height: 46px;
    min-width: 1px;
    margin: 0;
    padding: 10px 30px;
    border: 0;
    border-radius: 25px;
    background: var(--nc-green);
    font-family: var(--nc-font);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.48px;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
}

.nc-shelf .box-item .buy-buttom-assinc:hover {
    opacity: 0.9;
}

.nc-shelf .box-item .out-of-stock {
    margin: 16px 20px 24px;
    font-size: 16px;
    color: var(--nc-muted);
}

/* ---------- CADASTRO ---------- */
.nc-cadastro {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 64px 0;
}

.nc-cadastro__content {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 40px 24px;
    background: url('/arquivos/nc-bg.jpg') center / cover no-repeat;
}

.nc-cadastro__copy {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 488px;
    flex-shrink: 0;
}

.nc-cadastro__title {
    font-family: var(--nc-font);
    font-size: 24px;
    font-weight: 300;
    line-height: 1.2;
    text-transform: uppercase;
    color: #fff;
}

.nc-cadastro__desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--nc-white-85);
}

.nc-form {
    display: flex;
    flex: 1 0 0;
    flex-direction: column;
    gap: 16px;
    min-width: 1px;
    margin: 0;
    padding: 16px 32px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.nc-form__row {
    display: flex;
    align-items: flex-end;
    gap: 16px;
}

.nc-form__field {
    display: flex;
    flex: 1 0 0;
    flex-direction: column;
    gap: 6px;
    min-width: 1px;
    margin: 0;
    font-weight: 400;
}

.nc-form__label {
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
}

.nc-form__input {
    width: 100%;
    height: 40px;
    padding: 12px 16px;
    border: 1px solid #ccc;
    border-radius: 100px;
    background: #fff;
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    color: var(--nc-text);
    outline: none;
}

.nc-form__input::placeholder {
    color: #ccc;
}

.nc-form__input:focus {
    border-color: var(--nc-green);
}

.nc-form__submit {
    flex-shrink: 0;
    height: 40px;
    padding: 0 16px;
    border: 0;
    border-radius: 25px;
    background: var(--nc-red);
    font-family: var(--nc-font);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.48px;
    color: #fff;
    cursor: pointer;
}

.nc-form__submit:disabled {
    opacity: 0.6;
    cursor: default;
}

.nc-form__checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--nc-white-85);
    cursor: pointer;
}

.nc-form__checkbox input {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin: 0;
    border-radius: 4px;
    accent-color: var(--nc-green);
}

.nc-form__feedback {
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
}

.nc-form__feedback:empty {
    display: none;
}

.nc-form__feedback.is--success {
    color: #9be29b;
}

.nc-form__feedback.is--error {
    color: #ffb3b3;
}

.nc-disclaimer {
    padding: 0 24px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #fff;
}

/* ---------- TABLET ---------- */
@media (max-width: 1279px) {
    .nc-beneficio {
        width: calc(50% - 20px);
    }

    .nc-suica {
        padding: 0 24px 40px;
    }

    .nc-shelf .shelf__container > div {
        grid-template-columns: repeat(2, minmax(0, 405px));
    }
}

/* ---------- MOBILE (390px) ---------- */
@media (max-width: 767px) {
    .nc-beneficios {
        align-items: flex-start;
        padding: 64px 24px;
    }

    .nc-beneficio {
        flex-direction: column;
        justify-content: center;
        width: 144px;
    }

    .nc-beneficio__media {
        width: 144px;
        height: 144px;
    }

    .nc-beneficio__ring {
        width: 112px;
        height: 112px;
    }

    .nc-beneficio__photo {
        width: 144px;
        height: 144px;
    }

    .nc-beneficio__title {
        font-size: 16px;
    }

    .nc-beneficio__desc {
        font-size: 14px;
    }

    .nc-suica {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        padding: 0 24px 40px;
    }

    .nc-suica__head {
        flex-direction: row-reverse;
        justify-content: center;
        gap: 16px;
        width: 100%;
    }

    .nc-suica__title {
        font-size: 16px;
        text-transform: uppercase;
    }

    .nc-suica__selo {
        width: 123.5px;
        height: 123.5px;
    }

    .nc-suica__desc {
        flex: none;
        width: 100%;
        font-family: var(--nc-font);
        font-size: 14px;
        line-height: 1.6;
        color: var(--nc-white-85);
    }

    .nc-shelf .shelf__container > div {
        grid-template-columns: repeat(2, minmax(0, 160px));
        gap: 12px;
    }

    .nc-shelf .box-item {
        min-height: 602px;
    }

    .nc-shelf .box-item .product-image {
        height: 160px;
        padding: 0 12px;
    }

    .nc-shelf .box-item .product-info {
        padding: 20px 12px 0;
    }

    .nc-shelf .box-item .product-name {
        font-size: 20px;
        -webkit-line-clamp: 4;
    }

    .nc-shelf .box-item .price {
        margin: 5px 12px 0;
        padding: 5px 0;
    }

    .nc-shelf .box-item .box-buy {
        padding: 0 12px 24px;
    }

    .nc-shelf .box-item .box-qtd,
    .nc-shelf .box-item .buy-buttom-assinc {
        flex: 1 0 100%;
        padding-left: 12px;
        padding-right: 12px;
    }

    .nc-cadastro__content {
        flex-direction: column;
        align-items: flex-start;
    }

    .nc-cadastro__copy {
        width: 100%;
    }

    .nc-form {
        width: 100%;
        padding: 16px 24px;
    }

    .nc-form__row {
        flex-direction: column;
        align-items: stretch;
    }

    .nc-form__field,
    .nc-form__submit {
        flex: none;
        width: 100%;
    }
}
