body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: #fcf2f8;
    color: #2d3748;
    margin: 0;
    padding: 0;
}

/* ================= HEADER ================= */

h1 {
    text-align: center;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.nav {
    text-align: center;
}

.nav p {
    color: #4a5565;
    font-size: clamp(14px, 2vw, 18px);
}

/* ================= BOTÕES ================= */

.botoes {
    display: flex;
    justify-content: center;
    gap: clamp(10px, 2vw, 20px);
    margin-top: clamp(20px, 4vw, 40px);
    flex-wrap: wrap;
}

.botao button {
    text-decoration: none;
    color: #f6339a;
    padding: clamp(12px, 2.5vw, 15px) clamp(20px, 4vw, 30px);
    border-radius: 5px;
    border: 1px solid #f6339a;
    cursor: pointer;
    font-size: clamp(12px, 4vw, 14px);
    margin: 0 auto;
    background: transparent;
    transition: 0.3s ease;
}

.botao button:hover {
    background-color: #e600733a;
    transform: scale(1.05);
}

/* botão todos */
#todos {
    display: none;
}

#todos button {
    background-color: #f6339a;
    color: #fff;
}

#todos button:hover {
    background-color: #e60073;
}

/* ================= PRODUTOS ================= */

.main {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(20px, 4vw, 40px);
    padding: clamp(20px, 4vw, 40px);
}

/* CARD (único e corrigido) */
.card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: clamp(200px, 30%, 300px);
    text-align: center;
    padding-bottom: 15px;

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* IMAGEM */
.card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.card img:hover {
    transform: scale(1.03);
}

/* DESCRIÇÃO */
.desc {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 5px 5px;
}

.price {
    color: #e60073;
    font-weight: bold;
    font-size: clamp(16px, 2.5vw, 20px);
}

.card p {
    margin-top: clamp(10px, 2vw, 15px);
    color: #4a5565;
}

/* BOTÃO CARD */
.card button {
    margin-top: clamp(15px, 3vw, 20px);
    background-color: #f6339a;
    color: #fff;
    padding: clamp(10px, 2.5vw, 15px) clamp(20px, 4vw, 30px);
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: 0.3s ease;
}

.card button:hover {
    background-color: #e60073;
    transform: scale(1.05);
}

/* encomenda */
.emcomenda {
    display: flex;
    justify-content: center;
}

/* ================= VOLTAR ================= */

.voltar {
    display: flex;
    justify-content: start;
    margin-top: clamp(20px, 4vw, 40px);
}

.voltar button {
    background-color: #f6339a;
    color: #fff;
    padding: clamp(10px, 2.5vw, 15px) clamp(20px, 4vw, 30px);
    border-radius: 5px;
    border: none;
    cursor: pointer;
    margin: 10px;
}

/* ================= LAZY LOAD ================= */

.lazy {
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.lazy.loaded {
    opacity: 1;
    transform: scale(1);
}

/* ================= FOOTER ================= */

footer {
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

footer p {
    margin: 0 auto;
    max-width: 90vw;
    margin-top: 10px;
    padding: 1%;
}

footer h2 {
    text-align: center;
}

hr {
    border: none;
    border-top: 1px solid #fff;
    margin: 10px auto;
    width: 80%;
}

footer a {
    color: #fff;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

footer span {
    font-size: clamp(12px, 2vw, 14px);
}