/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    height: 100%;
}

a {
    font-weight: bold;
}

h2 {
    font-weight: bold;
}

.logo {
    margin: 0 15px;
    font-size: 1.8rem;
    color: #333;
    white-space: nowrap;
}

.logodoce {
    margin-left: 15px;
    justify-content: center; 
    max-width: 20px;
}

.logodoce img {
    height: 200px;
    margin-top: 30px;
}

.navlinks {
    font-size: 20px;
    font-weight: bold;
    gap: 5px;
    align-items: center;
    justify-content: center;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.header {
    background: #f8b7d4;
    padding: 20px 0;
    border-bottom: 2px solid #e091ae;
    display: flex;
    align-items: center;
    height: 250px;
    position: relative;
}

/* Botão Voltar */
.btn-voltar {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: #5c4d4d;
    text-decoration: none;
    border: 2px solid #e091ae;
    border-radius: 50px;
    transition: all 0.3s ease;
    background: transparent;
}

.btn-voltar:hover {
    background: #e091ae;
    color: white;
    transform: translateX(-5px);
    box-shadow: 0 3px 8px rgba(224, 145, 174, 0.2);
}

/* Responsivo */
@media (max-width: 768px) {
    .btn-voltar {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Codigos do Carrinho */
.carrinho-icon {
    position: absolute;
    top: 85px;
    right: 70px;
    font-size: 1.5rem;
}

.carrinho-icon a {
    color: #333;
    text-decoration: none;
    position: relative;
}

.carrinho-contador {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #974563;
    color: white;
    border-radius: 50%;
    padding: 2px 8px;
    font-size: 0.8rem;
    display: none;
}

/* Estilos do Carrinho */
.carrinho {
    padding: 40px 20px;
    min-height: 60vh;
}

.lista-carrinho {
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.item-carrinho {
    display: grid;
    grid-template-columns: 80px 2fr 1fr 1fr auto;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 15px;
}

.item-imagem {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #e091ae;
}

.item-detalhes {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.item-controles {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantidade-btn {
    background: #e091ae;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.quantidade-btn:hover {
    background: #d17895;
}

.quantidade-texto {
    min-width: 30px;
    text-align: center;
}

.remover-item {
    background: #ff6b6b;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.remover-item:hover {
    background: #ff5252;
}

.total-carrinho {
    text-align: right;
    padding: 20px;
    background: #e091ae;
    border-radius: 10px;
    margin-top: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    width: 100%;
}

.total-carrinho h3{
    font-weight: bold;
    color: #ffffff;
}

.preco-unitario {
    color: #666;
    font-size: 0.9em;
}

.item-total {
    font-weight: bold;
    min-width: 100px;
    text-align: right;
    color: #333333;
}

/* Ajuste responsivo para mobile */
@media (max-width: 768px) {
    .item-carrinho {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .item-controles {
        justify-content: center;
    }
    
    .item-total {
        text-align: center;
    }
}
/* final dos codigos do carrinho */


/* button scroll-top */
.scroll-top {
    display: none;
    position: fixed;
    bottom: 40px;
    right: 25px;
    background-color: #e091ae;
    color: #fff;
    border: 1px solid #b66884;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.35);
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    z-index: 1000;
}

@media screen and (max-width: 720px) {
    .scroll-top {
        font-size: 14px;
    }
}
/* fim do button scroll-top */

.logo {
    font-size: 50px;
    color: #333;
    text-align: center;
    font-style: italic;
    margin-left: 100px; /* Espaço entre a logo e o h1 */
    margin-top: -200px;
    padding: 50px 10px;
}

.navlinks ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    margin-left: 30px;
}

.navlinks a {
    text-decoration: none;
    color: #333;
    font-size: 18px;
}

.navlinks a:hover {
    color: #ffffff;
}



.contato {
    padding: 40px 20px;
    background: #ffe9f1;
}

.contato h2 {
    text-align: center;
    margin-bottom: 20px;
}


/* footer */
.footer{
    margin-top: 100px;
    padding: 60px 20px 30px 20px;
    width: 100%;
    background-color: #ffe9f1;
    height: auto; /* Ajustado para não ocupar 100% da altura */
    box-shadow: 0px -2px 8px rgba(0, 0, 0, 0.1); /* Suave sombra */
    text-align: center;
}

footer .column {
    text-align: center; /* Centraliza os itens */
    margin-bottom: 2rem;
}

footer .column p {
    color: #5c4d4d;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

footer .column .socials {
    display: flex;
    justify-content: center; /* Alinha os itens horizontalmente */
    gap: 1.5rem;
    margin-bottom: 20px;
}

footer .column .socials a {
    color: #382e2eee;
    border: 2px solid #382e2eee;
    padding: 12px;
    font-size: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 4px 8px rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    background-color: white; /* Fundo branco para destacar os ícones */
}

footer .column .socials a:hover {
    color: #ffffff;
    background-color: #e091ae;
    border-color: #ffffff;
    transform: scale(1.2);
    box-shadow: 0px 6px 12px rgba(255, 255, 255, 0.4);
}

/* Estilização dos títulos e links do footer */
footer .column h4 {
    color: #382e2eee;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
    text-align: center; /* Centraliza o título */
}

footer .column > a {
    display: block;
    color: #ccc;
    margin-bottom: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

footer .column > a:hover {
    color: #1d4ed8;
    transform: translateX(5px);
}

/* Copyright */
.copyright {
    max-width: 2000px;
    margin-top: 20px;
    padding-top: 10px;
    color: #382e2eee;
    font-size: 1rem;
    text-align: center;
}

footer .socials-wrapper {
    text-align: center;
    margin-bottom: 20px;
}

footer .socials-wrapper h4 {
    margin-bottom: 1rem;
}

.footer--area {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

.footer--logo {
    flex: 1;
    text-align: center;
}

.footer--links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.footer--link {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media screen and (max-width: 480px) {
    .logo{
        display: none;
    }
    .logodoce img {
        height: 150px;
        width: 150px;
        margin-top: 30px;
        margin-left: 10px;
    }

    .navlinks ul {
        margin-left: 0;
        margin-bottom: 40px;
    }
    .carrinho-icon {
        position: absolute;
        top: 90px;
        right: 80px;
        font-size: 2rem;
    }
}