/* IMAGEM DE FUNDO */
html, body{
    display: flex;
    flex-direction: column;
    height: 100%;
}

body {
    background-image: url(../img/backgrounds/backgroud-running.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    color: var(--cor-branca);
    font-family: var(--fonte-montserrat);
    
}

.icon {
    stroke: #1D0F28;
}

/* CONTEUDO */
main {
    margin: 100px 0;
    flex: 1;
}

.cabecalho-lista-produtos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5em;
}

.cabecalho-lista-produtos h2, .produtos-populares h2 {
    color: var(--cor-destaque);
    font-size: var(--titulo-sessao-desktop);
    font-weight: bold;
    margin: 0;
}


.produtos-populares {
    margin-top: 70px;
}

.produtos-populares h2 {
    margin-bottom: 1.5em;
}

.dropdown-toggle::after {
    display: none;
}



/* ── Modal: Produto adicionado ao carrinho ─────────────────────────────── */

.modal-pedido-content {
    background-color: var(--fundo-secundario);
    border: 1px solid #444;
    border-radius: 12px;
    color: var(--cor-branca);
    font-family: var(--fonte-montserrat);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.modal-pedido-header {
    display: flex;
    align-items: center;
    gap: 0.65em;
}

.modal-pedido-icon {
    width: 1.4em;
    height: 1.4em;
    color: var(--cor-destaque);
    flex-shrink: 0;
    stroke-width: 2px;
}

.modal-pedido-titulo {
    font-size: var(--titulo-sessao-desktop);
    font-weight: 700;
    color: var(--cor-destaque);
    margin: 0;
}

.modal-pedido-body {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.modal-pedido-body p {
    margin: 0;
    font-size: var(--texto-desktop);
    line-height: 1.55;
    color: var(--cor-branca);
}

.modal-pedido-sub {
    color: #aaa !important;
    font-size: 0.875rem !important;
}

.modal-pedido-footer {
    display: flex;
    justify-content: flex-end;
}

.btn-modal-fechar {
    background: transparent;
    border: 2px solid var(--cor-destaque);
    color: var(--cor-destaque);
    font-family: var(--fonte-montserrat);
    font-weight: 600;
    font-size: var(--texto-desktop);
    padding: 0.45em 1.4em;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.25s, color 0.25s;
}

.btn-modal-fechar:hover {
    background-color: var(--cor-destaque);
    color: #1D0F28;
}

@media (max-width: 470px) {
    .cabecalho-lista-produtos {
        flex-direction: column;
        align-items: start;
        gap: .5em;
    }

    .cabecalho-lista-produtos button {
        width: 100%;
    }

    h2,
    .card h3,
    .card div p {
        font-size: var(--titulo-sessao-mobile);
    }

    .botao {
        font-size: var(--texto-mobile);
    }
}