:root {
    --store-primary: #1769c2;
    --store-primary-dark: #0f4f96;
    --store-success: #12805c;
    --store-text: #172033;
    --store-muted: #617086;
    --store-border: #dfe5ec;
    --store-surface: #fff;
    --store-background: #f4f7fb;
    --store-shadow: 0 12px 32px rgba(23, 32, 51, 0.08);
}

body {
    background: var(--store-background);
    color: var(--store-text);
}

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overscroll-behavior-x: none;
}

body {
    grid-template-columns: minmax(0, 1fr);
}

body > header,
body > main,
body > footer {
    min-width: 0;
    max-width: 100vw;
}

body > main {
    overflow-x: hidden;
}

.storePagina {
    grid-area: section;
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

.storeHero {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.7fr);
    align-items: center;
    gap: 42px;
    padding: 54px max(24px, calc((100% - 1180px) / 2));
    background: linear-gradient(135deg, #eef7ff, #f7fff9);
    border-bottom: 1px solid var(--store-border);
    min-width: 0;
    max-width: 100%;
}

.storeHero > *,
.storeApresentacao > *,
.storeCatalogo > * {
    min-width: 0;
    max-width: 100%;
}

.storeHero h1 {
    max-width: 700px;
    margin: 8px 0 14px;
    color: var(--store-text);
    font-family: inherit;
    font-size: clamp(2rem, 5vw, 3.6rem);
    line-height: 1.05;
    text-align: left;
}

.storeHero p {
    max-width: 720px;
    margin: 0;
    color: var(--store-muted);
    font-size: 1.08rem;
    line-height: 1.65;
}

.storeHeroDestaque,
.storeSecaoRotulo {
    color: var(--store-primary);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.storeHeroBeneficios {
    display: grid;
    gap: 12px;
    padding: 24px;
    border: 1px solid rgba(23, 105, 194, 0.14);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--store-shadow);
}

.storeHeroBeneficios span {
    color: #29506f;
    font-weight: 700;
}

.storeApresentacao {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    align-items: center;
    gap: 56px;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 56px 0 12px;
    min-width: 0;
    max-width: 100%;
}

.storeApresentacaoTexto h2 {
    margin: 7px 0 18px;
    color: var(--store-text);
    font-family: inherit;
    font-size: clamp(1.7rem, 3.5vw, 2.6rem);
    line-height: 1.15;
    text-align: left;
}

.storeApresentacaoTexto p {
    margin: 0 0 14px;
    color: var(--store-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.storeApresentacaoTexto strong {
    color: #34445a;
}

.storeApresentacaoDestaques {
    display: grid;
    gap: 12px;
}

.storeApresentacaoDestaques article {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--store-border);
    border-radius: 14px;
    background: var(--store-surface);
    box-shadow: 0 5px 16px rgba(23, 32, 51, 0.05);
}

.storeDestaqueIcone {
    display: flex;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #eaf4ff;
    color: var(--store-primary);
    font-size: 1.3rem;
    font-weight: 800;
}

.storeApresentacaoDestaques h3 {
    margin: 0 0 3px;
    color: var(--store-text);
    font-family: inherit;
    font-size: 1rem;
    text-align: left;
}

.storeApresentacaoDestaques p {
    margin: 0;
    color: var(--store-muted);
    font-size: 0.88rem;
    line-height: 1.45;
}

.storeCatalogo {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 44px 0 80px;
    min-width: 0;
    max-width: 100%;
}

.storeCatalogoCabecalho {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 24px;
}

.storeCatalogoCabecalho h2 {
    margin: 5px 0 0;
    color: var(--store-text);
    font-family: inherit;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    text-align: left;
}

.storeCatalogoCabecalho p {
    max-width: 480px;
    margin: 0;
    color: var(--store-muted);
    line-height: 1.5;
}

.divNivelContainer {
    display: grid;
    grid-template-columns: repeat(4, minmax(135px, 1fr));
    gap: 10px;
    margin: 0 0 32px;
    padding: 0;
    border: 0;
    min-width: 0;
    max-width: 100%;
}

.divNivel {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 10px 16px;
    border: 2px solid transparent;
    border-radius: 12px;
    color: #fff;
    font-weight: 800;
    text-align: center;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.divNivel:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 18px rgba(23, 32, 51, 0.14);
}

.divNivel:focus-within,
.divNivel.selecionado {
    border-color: #fff;
    box-shadow: 0 0 0 3px var(--store-primary), 0 7px 18px rgba(23, 32, 51, 0.14);
}

.divNivel input {
    position: absolute;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.nivelFacil { background: #087fbd; }
.nivelMedio { background: #168f58; }
.nivelDificil { background: #c98200; }
.nivelMuitoDificil { background: #c82f60; }

#divProdutos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    align-items: start;
    min-width: 0;
    max-width: 100%;
}

.storeCarregamento,
.storeEstado {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 180px;
    padding: 28px;
    border: 1px dashed var(--store-border);
    border-radius: 16px;
    background: var(--store-surface);
    color: var(--store-muted);
    text-align: center;
}

.storeCarregamento[hidden] {
    display: none;
}

.storeCarregamento img {
    width: 44px;
    height: 44px;
}

.storeEstado {
    grid-column: 1 / -1;
}

.storeEstadoErro {
    border-color: #f0b8b8;
    background: #fff5f5;
    color: #9b2c2c;
}

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

.divFlutuante {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 58px;
    padding: 9px 14px;
    border: 1px solid #8bd39b;
    border-radius: 30px;
    background: #e8faec;
    box-shadow: 0 8px 24px rgba(18, 128, 92, 0.2);
    color: #075c32;
    text-align: center;
    cursor: pointer;
}

.divFlutuante span {
    color: inherit;
}

.divFlutuante .btnWhatsapp {
    width: 40px;
    height: 40px;
}

@media (max-width: 800px) {
    .storeHero {
        width: 100%;
        max-width: 100vw;
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 38px 20px;
    }

    .storeCatalogo {
        width: min(calc(100% - 24px), 1180px);
        padding-top: 32px;
    }

    .storeApresentacao {
        grid-template-columns: 1fr;
        gap: 24px;
        width: min(calc(100% - 24px), 1180px);
        padding-top: 38px;
    }

    .storeCatalogoCabecalho {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .divNivelContainer {
        display: flex;
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
        padding: 3px;
        scroll-snap-type: x mandatory;
    }

    .divNivel {
        flex: 0 0 150px;
        scroll-snap-align: start;
    }

    #divProdutos {
        width: 100%;
        grid-template-columns: 1fr;
    }

    .divFlutuante span {
        display: none;
    }

    .divFlutuante {
        width: 58px;
        padding: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .divNivel {
        transition: none;
    }
}
