/* LP Black Friday 2026 — Café Melitta® Eclipse — desktop (1440px) / mobile (390px) */

.lp-black-friday {
    --bf-red: #d0102a;
    --bf-text: #fff;
    --bf-muted: #9c9494;
    --bf-card: #1a1313;
    --bf-border: rgba(208, 16, 42, 0.25);
    --bf-line: rgba(255, 255, 255, 0.1);
    --bf-font: 'Jost', sans-serif;

    position: relative;
    display: block;
    width: 100%;
    /* céu com constelações */
    background: #000 url('/arquivos/bf-bg-estrelas.jpg') top center / 1920px 460px repeat;
    font-family: var(--bf-font);
    color: var(--bf-text);
    overflow: hidden;
}

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

.lp-black-friday *,
.lp-black-friday *::before,
.lp-black-friday *::after {
    box-sizing: border-box;
}

.lp-black-friday h1,
.lp-black-friday h2,
.lp-black-friday h3,
.lp-black-friday p,
.lp-black-friday ul {
    margin: 0;
    padding: 0;
}

.lp-black-friday img {
    display: block;
    max-width: 100%;
    height: auto;
}

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

.bf-heading {
    max-width: 720px;
    margin: 0 auto 48px;
    text-align: center;
}

.bf-heading__eyebrow {
    display: block;
    margin-bottom: 16px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--bf-red);
}

.bf-heading__title {
    font-size: 40px;
    font-weight: 600;
    line-height: 1.2;
    color: #fff;
}

.bf-heading__desc {
    margin-top: 16px;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5;
    color: var(--bf-muted);
}

/* ---------- HERO (banner só imagem: troque bf-banner-desk/mob.jpg em /arquivos) ---------- */
.bf-hero__link {
    display: block;
}

.bf-hero__link:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -4px;
}

.bf-hero__img {
    width: 100%;
}

/* ---------- MANIFESTO ---------- */
.bf-manifesto {
    max-width: 1220px;
    margin: 0 auto;
    padding: 80px 48px;
}

.bf-manifesto__text {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.6;
    text-align: center;
    color: #fff;
}

/* ---------- KITS ---------- */
.bf-kits {
    max-width: 1340px;
    margin: 0 auto;
    padding: 80px 48px 120px;
}

/* ---------- PRATELEIRA (markup do CMS: .shelf__container > div > ul > li) ---------- */
.bf-kits .shelf__container > div {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    margin: 0;
}

/* título do placeholder — não existe no layout */
.bf-kits .shelf__container > div > h2 {
    display: none;
}

.bf-kits .shelf__container > div ul {
    display: contents;
}

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

.bf-kits .shelf__container > div li.helperComplement {
    display: none;
}

.bf-kits .box-item {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0;
    padding: 24px;
    border: 1px solid var(--bf-border);
    border-radius: 16px;
    background: var(--bf-card);
    text-align: left;
    font-family: var(--bf-font);
}

.bf-kits .box-item .product-image {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3;
    margin: 0;
    padding: 16px;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

.bf-kits .box-item .product-image img {
    width: auto;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
}

.bf-kits .box-item .product-info {
    display: flex;
    flex: 1 0 auto;
    flex-direction: column;
    padding-top: 24px;
}

.bf-kits .box-item .product-flag {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--bf-red);
}

.bf-kits .box-item .product-name {
    height: auto;
    margin: 12px 0 0;
    font-family: var(--bf-font);
    font-size: 22px;
    font-weight: 600;
    line-height: 1.25;
    text-align: left;
}

.bf-kits .box-item .product-name a {
    color: #fff;
    text-decoration: none;
}

.bf-kits .box-item .product-desc,
.bf-kits .box-item .product-desc * {
    margin: 0;
    font-family: var(--bf-font);
    font-size: 13px;
    font-weight: 300;
    line-height: 1.5;
    color: var(--bf-muted);
}

.bf-kits .box-item .product-desc {
    margin-top: 12px;
}

.bf-kits .box-item .price {
    margin: 20px 0 0;
    text-align: left;
}

.bf-kits .box-item .price a {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
    text-decoration: none;
}

.bf-kits .box-item .old-price {
    font-size: 14px;
    color: var(--bf-muted);
    text-decoration: line-through;
}

.bf-kits .box-item .best-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--bf-red);
}

.bf-kits .box-item .box-buy {
    margin-top: 32px;
}

.lp-black-friday .bf-kits .box-item .buy-buttom-assinc {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 12px 32px;
    border: 1px solid #fff;
    border-radius: 999px;
    background: transparent;
    font-family: var(--bf-font);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-decoration: none;
    text-transform: uppercase;
    color: #fff;
    transition: background-color 0.2s, color 0.2s;
}

.lp-black-friday .bf-kits .box-item .buy-buttom-assinc:hover {
    background: #fff;
    color: #000;
}

.bf-kits .box-item .out-of-stock {
    margin: 32px 0 0;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--bf-muted);
}

/* ---------- FAQ ---------- */
.bf-faq {
    position: relative;
    padding: 80px 48px 96px;
}

/* brilho avermelhado no fim da página */
.bf-faq::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 320px;
    background: linear-gradient(to bottom, transparent, rgba(208, 16, 42, 0.18));
    pointer-events: none;
}

.bf-faq__list {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
}

.bf-faq__item {
    border-bottom: 1px solid var(--bf-line);
}

.bf-faq__question {
    position: relative;
    display: block;
    padding: 28px 48px 28px 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    color: #fff;
    cursor: pointer;
    list-style: none;
}

.bf-faq__question::-webkit-details-marker {
    display: none;
}

.bf-faq__question::before,
.bf-faq__question::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 8px;
    width: 12px;
    height: 1.5px;
    background: var(--bf-red);
    transition: transform 0.2s;
}

.bf-faq__question::after {
    transform: rotate(90deg);
}

.bf-faq__item[open] .bf-faq__question::after {
    transform: rotate(0deg);
}

.bf-faq__question:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

.bf-faq__answer {
    padding: 0 48px 28px 0;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
}

/* ---------- TABLET ---------- */
@media (max-width: 1023px) {
    .bf-kits .shelf__container > div {
        gap: 20px;
    }

    .bf-kits .box-item {
        padding: 16px;
    }
}

/* ---------- MOBILE ---------- */
@media (max-width: 767px) {
    .bf-heading {
        margin-bottom: 32px;
    }

    .bf-heading__title {
        font-size: 26px;
    }

    .bf-heading__desc {
        font-size: 15px;
    }

    .bf-manifesto {
        padding: 32px 24px;
    }

    .bf-manifesto__text {
        font-size: 16px;
        font-weight: 600;
    }

    .bf-kits {
        padding: 48px 0 64px;
    }

    .bf-kits .bf-heading {
        padding: 0 24px;
    }

    /* carrossel com scroll nativo */
    .bf-kits .shelf__container > div {
        display: flex;
        gap: 16px;
        padding: 0 32px 8px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding: 0 32px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .bf-kits .shelf__container > div::-webkit-scrollbar {
        display: none;
    }

    .bf-kits .shelf__container > div li {
        flex: 0 0 82%;
        scroll-snap-align: start;
    }

    .bf-kits .box-item {
        padding: 16px;
    }

    .bf-kits .box-item .product-name {
        font-size: 20px;
    }

    .bf-faq {
        padding: 48px 16px 64px;
    }

    .bf-faq__question {
        padding: 24px 32px 24px 0;
        font-size: 15px;
    }

    .bf-faq__answer {
        padding-right: 0;
        font-size: 14px;
    }
}
