* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Georgia", serif;
}


body {
    background: #fff8f5;
    color: #333;
}


/* CAPA */

.hero {

    height: 100vh;

    background-image:
    linear-gradient(
        rgba(0,0,0,0.45),
        rgba(0,0,0,0.45)
    ),
    url("imagens/casal.jpg");

    background-size: contain;
    background-position: center;

    display:flex;
    align-items:center;
    justify-content:center;

    text-align:center;

    color:white;

}



.overlay {

    padding:40px;

}


.overlay h1 {

    font-size:70px;

    margin-bottom:20px;

}


.overlay p {

    font-size:25px;

    margin-bottom:15px;

}


.overlay h2 {

    font-size:35px;

    margin-bottom:35px;

}




.botao {

    background:#c28b75;

    color:white;

    text-decoration:none;

    padding:15px 35px;

    border-radius:40px;

    font-size:18px;

}





section {

    padding:70px 10%;

    text-align:center;

}



h2 {

    color:#a56b55;

    font-size:35px;

    margin-bottom:30px;

}



/* DETALHES */


.info {

    display:flex;

    justify-content:center;

    gap:40px;

    flex-wrap:wrap;

}


.info div {

    background:white;

    padding:30px;

    width:250px;

    border-radius:20px;

    box-shadow:0 5px 20px #ddd;

}
    /* tabela */
table {
    border-collapse: collapse;
    width: 75%;
    margin: 0 auto;
}
table, th ,td {
    border: 1px solid black;
}
th, td {
    padding: 20px;
    text-align: left;
}



/* GALERIA */


.fotos {

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;

}



.fotos img {

    width:300px;

    height:250px;

    object-fit:cover;

    border-radius:20px;

}




/* PRESENTES */


.cards {

    display:flex;

    justify-content:center;

    gap:25px;

    flex-wrap:wrap;

}

.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 15px;
    display: block;
}

.card {

    background:white;

    width:300px;

    padding:35px;

    border-radius:25px;

    box-shadow:0 5px 20px #ddd;

}



.card h3 {

    color:#a56b55;

    margin-bottom:20px;

}



button {

    margin: top 14px; 

    background:#a56b55;

    color:white;

    border:none;

    padding: 14px;

    border-radius:30px;

    cursor:pointer;

    font-size:16px;

}



button:hover {

    background:#7e4938;

}

.botao {
    display: inline-block;
    padding: 14px 35px;
    background: #a56b55;
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-size: 16px;
    line-height: normal;
    height: auto;
    box-sizing: border-box;
    overflow: visible;
}



/* FORMULARIO */


form {

    max-width:400px;

    margin:auto;

    display:flex;

    flex-direction:column;

    gap:15px;

}



input,
select {

    padding:15px;

    border-radius:10px;

    border:1px solid #ccc;

    font-size:16px;

}




footer {

    background:#a56b55;

    color:white;

    text-align:center;

    padding:30px;

}



/* TELEMÓVEL */


@media(max-width:700px){


.overlay h1 {

    font-size:45px;

}


.overlay h2 {

    font-size:25px;

}



section {

    padding:50px 5%;

}



.fotos img {

    width:90%;

}


button:hover {

    background:#7e4938;

}
}
.carrinho {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 260px;
    background: white;
    padding: 18px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
}

.carrinho-titulo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    margin-bottom: 15px;
}

#contador-carrinho {
    background: #e91e63;
    color: white;
    border-radius: 50%;
    min-width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#itens-carrinho p {
    font-size: 14px;
    color: #777;
}

.carrinho-total {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
}

.botao-finalizar {
    width: 100%;
    margin-top: 15px;
    padding: 10px;
    border: none;
    border-radius: 8px;
    background: #e91e63;
    color: white;
    cursor: pointer;
}
/* Ajuste do carrinho para telemóveis */
@media (max-width: 600px) {
    .carrinho {
        position: fixed;
        top: 10px;
        right: 10px;
        left: 10px;
        width: auto;
        max-width: none;
        max-height: 70vh;
        overflow-y: auto;
        padding: 14px;
        z-index: 1000;
        box-sizing: border-box;
    }

    .carrinho-titulo {
        margin-bottom: 10px;
    }

    #itens-carrinho p {
        font-size: 13px;
    }

    .botao-finalizar {
        padding: 12px;
    }
}