/* ==========================
   CONFIGURAÇÕES GERAIS
========================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #40343a;
    line-height: 1.6;
    background-image: url('IMG-Bellafagundes/luxo.jpg');

    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
}


a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}


/* ==========================
   BARRA PROMOCIONAL
========================== */

.barra-promocional {
    background-color: #b77b8e;
    color: #ffffff;
    text-align: center;
    padding: 9px 15px;
    font-size: 17px;
    letter-spacing: 1px;
}


/* ==========================
   CABEÇALHO
========================== */

.cabecalho {
    width: 100%;

    min-height: 100px;
    padding: 20px 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    background-color: #f5e2e2;
    border-bottom: 1px solid #f0e3e3;
}



.logo-container {
    width: 200px !important;
    /* Tamanho ideal para o cabeçalho */
    height: 200px !important;
    /* Mantém a altura igual à largura */
    background-color: #ffffff !important;
    /* Fundo branco para destacar no rosa */
    border-radius: 50% !important;
    /* Transforma o quadrado em círculo */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    /* Corta os cantos da imagem que sobrarem */
    padding: 10px !important;
    /* Espaço para o nome não colar na borda */
}

.logo-container img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    /* Faz a foto se ajustar inteira dentro do círculo */
}


.menu {

    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 22px;
    font-size: 20px;
    /* Defina aqui o tamanho final que você deseja (ex: 20px) */


    border: none;
    height: 4px;



}


.menu a:hover {
    color: #bd7b91;
}

.botao-cabecalho {
    display: inline-block;
    background-color: #b77b8e;
    color: #ffffff;
    padding: 15px 28px;
    /* Aumentou o preenchimento (cima/baixo e lados) */
    border-radius: 10px;
    /* Arredondou os cantos um pouquinho mais para ficar moderno */
    font-size: 13px;
    /* Letra um pouco maior e mais visível */
    font-weight: 600;
    white-space: nowrap;
    transition: background-color 0.3s ease;
}

.botao-cabecalho:hover {
    background-color: #92566b;
}


/* ==========================
   BANNER PRINCIPAL
========================== */

.banner {
    min-height: 520px;
    padding: 70px 8%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    background:
        linear-gradient(90deg,
            rgba(255, 245, 246, 0.97),
            rgba(255, 245, 246, 0.82),
            rgba(255, 245, 246, 0.25)),
        url(https://maisonalhambra.co/wp-content/uploads/2026/04/luxurious-arabic-and-french-perfume-bottles-showcasing-cultural-richness-and-sophistication-bf6b67fc-35af-4ecc-b573-cc766005fbc7-1024x576.jpg);

    background-size: cover;
    background-position: center;
}

.banner-conteudo {
    max-width: 600px;
}

.etiqueta {
    display: inline-block;
    color: #a46c7f;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.banner h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(42px, 5vw, 68px);
    font-weight: 500;
    line-height: 1.15;
    color: #49343d;
    margin-bottom: 22px;
}

.banner h1 span {
    display: block;
    color: #b77b8e;
    font-style: italic;
}

.banner-conteudo>p:not(.etiqueta) {
    max-width: 470px;
    color: #66555c;
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 30px;
}

.botao-principal {
    display: inline-block;
    padding: 15px 28px;
    background-color: #b77b8e;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    border: 1px solid #b77b8e;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.botao-principal:hover {
    background-color: #ffffff;
    color: #a7657c;
}

.banner-decoracao {
    width: 210px;
    height: 210px;
    flex-shrink: 0;
    border: 1px solid rgba(183, 123, 142, 0.6);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #a7657c;
    background-color: rgba(255, 255, 255, 0.45);
}

.banner-decoracao span {
    font-family: 'Playfair Display', serif;
    font-size: 65px;
}

.banner-decoracao p {
    font-family: 'Playfair Display', serif;
    font-size: 15px;
    font-style: italic;
}


/* ==========================
   TÍTULOS DAS SEÇÕES
========================== */

.titulo-secao {
    text-align: center;
    margin-bottom: 40px;
}

.titulo-secao>span {
    display: block;
    color: #b77b8e;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.titulo-secao h2 {
    font-family: 'Playfair Display', serif;
    color: #49343d;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 500;
    margin-bottom: 10px;
}

.titulo-secao p {
    font-size: 13px;
    color: #827078;
}


/* ==========================
   CATEGORIAS
========================== */

.secao-categorias {
    padding: 85px 7%;
}

.categorias {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.categoria {
    min-height: 190px;
    padding: 30px 15px;
    display: flex;
    border-radius: 15px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid #f0e1e4;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.categoria:hover {
    transform: translateY(-7px);
    box-shadow: 0 12px 28px rgba(112, 72, 87, 0.10);
}

.categoria-feminina {
    background-color: #fff0f3;
}

.categoria-masculina {
    background-color: #f1eeee;
}

.categoria-arabe {
    background-color: #f8f0df;
}

.categoria-cosmeticos {
    background-color: #f8e9e5;
}

.icone-categoria {
    font-size: 30px;
    margin-bottom: 12px;
}

.categoria h3 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 600;
    color: #49343d;
    margin-bottom: 5px;
}

.categoria p {
    font-size: 11px;
    color: #806b73;
}


/* ==========================
   VITRINE DE PRODUTOS
========================== */

.secao-produtos {
    padding: 75px 7%;
    background-color: #ffffff;
}

.produtos {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 25px;
}

.card-produto {
    min-width: 0;
    background-color: #ffffff;
    border: 1px solid #f0e7e7;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

/* ... os códigos de cima continuam normais ... */

.card-produto:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(77, 48, 59, 0.10);
}

.imagem-produto {
    height: 250px;
    /* Reduzimos a altura fixa para dar mais espaço aos textos embaixo */
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: hidden;
    position: relative;
}


.card-produto:hover .imagem-produto img {
    transform: scale(1.06);
}


.imagem-produto img {
    max-width: 90% !important;
    /* Usa max-width em vez de width para não esticar */
    max-height: 90% !important;
    /* Usa max-height em vez de height para não achatar */
    object-fit: contain !important;
    /* Garante a proporção perfeita do perfume */
    transition: transform 0.3s ease;
}


/* Suas cores continuam normais... */
.imagem-rosa {
    background-color: #f7e3e8;
}

.imagem-bege {
    background-color: #e9dfd3;
}

.imagem-dourada {
    background-color: #eee0bd;
}

.imagem-clara {
    background-color: #f5e8e5;
}

/* ... as informações de baixo do produto continuam normais ... */
.selo {
    position: absolute;
}


.selo {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 1;
    padding: 6px 10px;
    background-color: #b77b8e;
    color: #ffffff;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
}

.informacoes-produto {
    padding: 22px 18px;
}

.categoria-produto {
    display: block;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #b77b8e;
    margin-bottom: 8px;
}

.informacoes-produto h3 {
    font-family: 'Playfair Display', serif;
    font-size: 21px;
    font-weight: 600;
    color: #49343d;
    margin-bottom: 7px;
}




.informacoes-produto p {
    font-size: 11px;
    color: #827078;
    margin-bottom: 16px;
}

.preco {
    font-size: 13px;
    font-weight: 700;
    color: #9d6579;
    margin-bottom: 18px;
}

.botao-produto {
    display: block;
    text-align: center;
    padding: 12px 10px;
    border: 1px solid #b77b8e;
    color: #a7657c;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.botao-produto:hover {
    background-color: #b77b8e;
    color: #ffffff;
}

/* Container que segura todos os produtos lado a lado */

.produtos {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    /* Muda de 4 para 3 colunas */
    gap: 25px;
    max-width: 900px;
    /* Limita a largura máxima para os 3 cards ficarem bem centralizados */
    margin: 0 auto;
    /* Centraliza o bloco inteiro dos produtos na página */
}


/* O card individual de cada perfume */
.card-produto {
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    width: 100%;
    /* MUDE DE 280px PARA 100% */
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}



.card-produto:hover {
    transform: translateY(-5px);
    /* Efeito lindo de subir levemente ao passar o mouse */
}

/* Ajuste da foto do perfume */
.produto-foto {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

/* Caixa de informações do texto */
.produto-info {
    padding: 15px;
}

.produto-categoria {
    font-size: 11px;
    text-transform: uppercase;
    color: #b69a66;
    /* Tom dourado luxo da sua marca */
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.produto-nome {
    font-size: 16px;
    margin: 0 0 10px 0;
    color: #333333;
    font-family: 'Montserrat', sans-serif;
}

.produto-desc {
    font-size: 13px;
    color: #777777;
    margin: 0 0 15px 0;
    line-height: 1.4;
    height: 36px;
    /* Mantém as descrições com tamanhos alinhados */
    overflow: hidden;
}

/* Alinhamento de Preço e Estoque */
.produto-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.produto-preco {
    font-size: 18px;
    font-weight: bold;
    color: #333333;
}

.produto-estoque {
    font-size: 12px;
    background: #eeeeee;
    padding: 2px 8px;
    border-radius: 4px;
    color: #666666;
}

/* Botão de Compra Elegante */
.btn-comprar {
    display: block;
    text-align: center;
    background: #b69a66;
    color: #ffffff;
    text-decoration: none;
    padding: 11px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 14px;
    transition: background 0.3s ease;
}

.btn-comprar:hover {
    background: #967e52;
    /* Escurece o dourado de leve ao passar o mouse */
}




/* ==========================
   BANNER SECUNDÁRIO
========================== */

.banner-secundario {
    margin: 75px 7%;
    padding: 65px 8%;

    /* ESSAS DUAS LINHAS ADICIONAM O ARREDONDAMENTO SEM ESTRAGAR NADA */
    border-radius: 15px !important;
    overflow: hidden !important;

    background:
        linear-gradient(90deg,
            rgba(72, 49, 57, 0.88),
            rgba(72, 49, 57, 0.60)),
        url("https://images.unsplash.com/photo-1592945403244-b3fbafd7f539?auto=format&fit=crop&w=1600&q=85");

    background-size: cover;
    background-position: center;
    color: #ffffff;
}

.banner-secundario>div {
    max-width: 600px;
}

.banner-secundario span {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #e8c9b4;
}

.banner-secundario h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.2;
    font-weight: 500;
    margin: 15px 0;
}

.banner-secundario p {
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 25px;
    color: #f4e9ec;
}


/* ==========================
   DIFERENCIAIS
========================== */
.diferenciais {
    padding: 30px 7% 80px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 35px;
}

/* 2. CONFIGURAÇÃO GERAL DOS QUADRADINHOS: Define bordas, transição e subida individual */
.diferenciais>div,
.diferenciais>a {
    padding: 30px 15px;
    text-align: center;
    border: 1px solid #f0e1e4;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* Faz a subidinha e a sombra aparecerem de forma suave */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* 3. HOVER INDIVIDUAL: Apenas o quadradinho selecionado sobe */
.diferenciais>div:hover,
.diferenciais>a:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(112, 72, 87, 0.08);
}

/* 4. CORES FIXAS IGUAIS AS DE CIMA (Rosa, Cinza Claro e Bege) */
.diferenciais>div:nth-child(1),
.diferenciais>a:nth-child(1) {
    background-color: #fff0f3;
    /* Rosa igual ao de Perfumes Femininos */
}

.diferenciais>div:nth-child(2),
.diferenciais>a:nth-child(2) {
    background-color: #f1eeee;
    /* Cinza claro igual ao de Perfumes Masculinos */
}

.diferenciais>div:nth-child(3),
.diferenciais>a:nth-child(3) {
    background-color: #f8f0df;
    /* Bege igual ao de Perfumes Árabes */
}

.diferencial {
    text-align: center;
    padding: 25px 15px;

}

.diferencial span {
    display: block;
    font-size: 30px;
    margin-bottom: 12px;
}

.diferencial h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: #49343d;
    margin-bottom: 8px;
}

.diferencial p {
    max-width: 280px;
    margin: 0 auto;
    color: #827078;
    font-size: 12px;
}


/* ==========================
   RODAPÉ
========================== */

.rodape {
    background-color: #49343d;
    color: #ffffff;
    padding: 60px 7% 0;
}

.rodape-conteudo {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1.2fr;
    gap: 50px;
    padding-bottom: 45px;
}

/* Mantém o tamanho original da foto e aplica apenas as bordas arredondadas */
.logo-rodape {
    display: inline-block !important;
    margin-bottom: 20px !important;
    border-radius: 15px !important;
    overflow: hidden !important;
    /* Corta os cantos retos da imagem */
}


.logo-rodape-img {
    border-radius: 15px !important;
    overflow: hidden !important;

    display: inline-block !important;
    margin-bottom: 20px !important;
    border-radius: 100px !important;
    overflow: hidden !important;


}


.logo-rodape span {
    color: #e1c08a;
}

.rodape-marca p,
.rodape-links p {
    color: #e2d3d8;
    font-size: 12px;
    line-height: 1.9;
}

.rodape-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.rodape-links h3 {
    font-family: 'Playfair Display', serif;
    font-size: 19px;
    margin-bottom: 8px;
    color: #f3d7df;
}

.rodape-links a {
    font-size: 12px;
    color: #e2d3d8;
    transition: color 0.3s ease;
}

.rodape-links a:hover {
    color: #e1c08a;
}

.rodape-final {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 22px 0;
    text-align: center;
}

.rodape-final p {
    color: #e2d3d8;
    font-size: 11px;
}




/* ==================== ESTILOS DO CARRINHO LATERAL ==================== */
.carrinho-icone {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background 0.3s;
}

.carrinho-icone:hover {
    background-color: rgba(219, 144, 155, 0.15);
}

#carrinho-contador {
    background-color: #db909b;
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 50%;
}

/* Painel Lateral */
.carrinho-lateral {
    position: fixed;
    top: 0;
    right: -400px;
    /* Começa escondido para fora da tela */
    width: 380px;
    height: 100%;
    background-color: #fff;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    transition: right 0.4s ease;
    /* Efeito suave ao deslizar */
}

/* Classe que o JavaScript vai adicionar para abrir a sacola */
.carrinho-lateral.aberto {
    right: 0;
}

.carrinho-cabecalho {
    padding: 20px;
    background-color: #db909b;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.carrinho-cabecalho h2 {
    margin: 0;
    font-size: 1.4rem;
}

.btn-fechar {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

/* Área dos Itens */
.carrinho-itens {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    /* Adiciona rolagem se tiver muitos perfumes */
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.carrinho-vazio {
    text-align: center;
    color: #888;
    margin-top: 40px;
    font-style: italic;
}

/* Rodapé e Botão Finalizar */
.carrinho-rodape {
    padding: 20px;
    border-top: 1px solid #eee;
    background-color: #fafafa;
}

.carrinho-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.btn-finalizar-compra {
    display: block;
    background-color: #db909b;
    color: white;
    text-align: center;
    padding: 12px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.btn-finalizar-compra:hover {
    background-color: #c47f89;
}

/* Fundo Escuro de Foco (Overlay) */
.carrinho-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 9998;
    display: none;
    /* Começa escondido */
}

.carrinho-overlay.visivel {
    display: block;
}


/* ==========================
   RESPONSIVIDADE
========================== */

@media (max-width: 1100px) {

    .cabecalho {
        flex-wrap: wrap;
        justify-content: center;
    }

    .menu {
        order: 3;
        width: 100%;
    }

    .categorias,
    .produtos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .banner-decoracao {
        width: 160px;
        height: 160px;
    }

    .banner-decoracao span {
        font-size: 50px;
    }
}


@media (max-width: 650px) {

    .barra-promocional {
        font-size: 10px;
    }

    .cabecalho {
        padding: 20px 5%;
        gap: 20px;
    }

    .logo {
        font-size: 23px;
    }

    .menu {
        gap: 12px 18px;
    }

    .menu a {
        font-size: 11px;
    }

    .botao-cabecalho {
        padding: 10px 15px;
    }

    .banner {
        min-height: 470px;
        padding: 60px 7%;
        background-position: center;
    }

    .banner h1 {
        font-size: 43px;
    }

    .banner-conteudo>p:not(.etiqueta) {
        font-size: 13px;
    }

    .banner-decoracao {
        display: none;
    }

    .secao-categorias,
    .secao-produtos {
        padding: 60px 5%;
    }

    .categorias {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .categoria {
        min-height: 165px;
        padding: 20px 8px;
    }

    .categoria h3 {
        font-size: 15px;
    }

    .categoria p {
        font-size: 10px;
    }

    .produtos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .imagem-produto {
        height: 180px;
    }

    .informacoes-produto {
        padding: 15px 10px;
    }

    .informacoes-produto h3 {
        font-size: 17px;
    }

    .categoria-produto {
        font-size: 8px;
        letter-spacing: 0.5px;
    }

    .informacoes-produto p {
        font-size: 10px;
    }

    .botao-produto {
        font-size: 9px;
    }

    .banner-secundario {
        margin: 30px 5% 50px;
        padding: 45px 7%;
    }

    .banner-secundario h2 {
        font-size: 32px;
    }

    .diferenciais {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 20px 7% 55px;
    }

    .rodape {
        padding: 45px 7% 0;
    }

    .rodape-conteudo {
        grid-template-columns: 1fr;
        gap: 35px;
    }
}

/* --- CORREÇÃO COMPLETA DA VITRINE DE PRODUTOS --- */
.produtos {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
    gap: 20px !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 20px !important;
}

.card-produto {
    background: #ffffff !important;
    border: 1px solid #eaeaea !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05) !important;
    transition: transform 0.3s ease !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    width: auto !important;
    /* Remove o tamanho fixo antigo */
}

/* Remove o fundo branco das seções principais para revelar a imagem de luxo */
main,
section,
.container,
.categorias,
.produtos {
    background-color: transparent !important;
}

/* Deixa os cards de texto levemente transparentes e elegantes (opcional) */
.card,
.categoria-item,
.produto-item {
    background-color: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(5px);
    /* Efeito de vidro fosco chique */
}

/* Ajusta as imagens de banner/destaque do meio do site */
.banner img,
.destaque img,
section img {
    width: 100%;
    /* Faz a imagem ocupar a largura total do bloco */
    height: 350px !important;
    /* Define uma altura fixa profissional e menor */
    object-fit: cover !important;
    /* Corta as sobras e mantém a proporção perfeita da foto */
    border-radius: 8px;
    /* Arredonda levemente as bordas (combina com o estilo de luxo) */
}


.img-logo {
    width: 275px !important;
    height: 275px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 auto 15px auto !important;
}

/* Força a caixa da imagem e o frasco a se enquadrarem perfeitamente */


.imagem-produto {
    width: 100% !important;
    height: 250px !important;
    /* Cria um espaço fixo perfeito para o quadrado da foto */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    background-color: #ffffff !important;
    /* Deixa o fundo do quadradinho limpo */
}

.imagem-produto img {
    width: 100% !important;
    /* Força a imagem a ocupar toda a largura interna */
    height: 100% !important;
    /* Força a imagem a respeitar os 250px de altura */
    object-fit: contain !important;
    /* Obriga o perfume inteiro a caber na tela sem cortes */
}



/* Força o container da imagem a ter um tamanho fixo perfeito no celular */
.produto-imagem-wrapper {
    width: 100% !important;
    height: 250px !important;
    /* Limita a altura para o card não ficar gigante */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    background-color: #ffffff !important;

}

/* 4. Padroniza as imagens dentro dos quadrados sem cortar ou distorcer */
.produto-imagem-wrapper img,
.imagem-produto img,
.card-produto img,
img.produto-foto {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    margin: 0 !important;

    transform: scale(1.0) !important;
    /* <-- VOCÊ VAI MUDAR APENAS ESTA LINHA! */
}



/* Força a imagem do Good Girl a descer e aparecer o nome completo */
.produtos .card-produto:nth-child(2),
.card-produto:nth-child(2) {
    margin-top: 40px !important;
    /* Empurra a foto para baixo na marra */
    transform: scale(0.9) !important;
    /* Encolhe a foto 10% para o salto não cortar embaixo */
}



/* ==========================================
   ESTILOS DA SEÇÃO DE OFERTAS IMPERDÍVEIS
========================================== */



/* Centraliza o topo da nova seção */
.topo-ofertas {
    text-align: center;
    margin-bottom: 30px;
    padding-top: 20px;
}

.badge-topo {
    background-color: #ff4757 !important;
    color: #fbefef !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 6px 14px;
    border-radius: 50px;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 12px;
}

.topo-ofertas h2 {
    font-size: 32px !important;
    color: #333333;
    /* Use #ffffff se o fundo dessa seção for escuro */
    margin-bottom: 8px;
}

.topo-ofertas p {
    font-size: 20px !important;
    color: #666666;
}

/* Força as fotos de todos os produtos a exibirem o tamanho correto */
.imagem-produto {
    position: relative !important;
    width: 100% !important;
    height: 250px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
}

.imagem-produto img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

/* Selos Padrão (Lançamento e 30% OFF) */
.selo-vitrine {
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    z-index: 10 !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    padding: 5px 10px !important;
    border-radius: 4px !important;
    text-transform: uppercase;
    white-space: nowrap !important;
}

.selo-novidade {
    background-color: #d4af37 !important;
    color: #000000 !important;
}

.selo-desconto {
    background-color: #ff4757 !important;
    color: #ffffff !important;
}

/* Selo Especial do Produto 4 (Ajuste para textos compridos não estourarem) */
.selo-desconto-longo {
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    right: 12px !important;
    /* Faz o selo se esticar horizontalmente se precisar */
    z-index: 10 !important;
    font-size: 9px !important;
    /* Diminui levemente a fonte para caber tudo */
    font-weight: 700 !important;
    padding: 6px 8px !important;
    border-radius: 4px !important;
    background-color: #ff4757 !important;
    color: #ffffff !important;
    text-align: center;
    line-height: 1.2;
}


/* ===================================================
   RESET DO CARD DO GOOD GIRL E ALINHAMENTO DO GRID
=================================================== */

/* 1. Remove qualquer encolhimento ou escala que estava deixando o segundo card menor */
.produtos .card-produto:nth-child(2),
.card-produto:nth-child(2),
#femininos,
#masculinos,
#arabes,
#cosmeticos {
    transform: none !important;
    scale: 1 !important;
    margin-top: 0 !important;
}

/* ==========================================
   CONFIGURAÇÃO DA VITRINE DE PRODUTOS
========================================== */

/* 2. Força o container pai (o grid) a dar a mesma altura idêntica para todos os filhos */
.produtos-conteudo {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    /* Força 3 colunas perfeitas no PC */
    align-items: stretch !important;
    /* MÁGICA: obriga todos os cards a esticarem e ficarem com o mesmo tamanho */
    gap: 24px !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}

/* 3. Garante que as caixas das fotos fiquem perfeitas, idênticas e mais compactas */
.produto-imagem-wrapper,
.imagem-produto,
[class*="imagem-"] {
    width: 100% !important;
    height: 200px !important;
    /* 📐 Reduzido de 250px para 200px para ficar menor */
    max-height: 200px !important;
    /* 📐 Reduzido de 250px para 200px */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    position: relative !important;
    background-color: #ffffff !important;
    border-radius: 8px 8px 0 0 !important;
    padding: 10px !important;
    /* Dá um espacinho interno para o frasco não colar nas bordas */
}

/* 4. Padroniza as imagens dentro dos quadrados sem distorcer */
.produto-imagem-wrapper img,
.imagem-produto img,
.card-produto img,
img.produto-foto {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    margin: 0 !important;
    /* AUMENTA O PERFUME SÓ UM POUQUINHO SEM DISTORCER: */
    transform: scale(1.38) translateY(20px) !important;
}

/* 5. Organiza a estrutura interna do card branco para empurrar o botão para o rodapé */
.card-produto {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    background-color: #ffffff !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
    height: 100% !important;
}

.informacoes-produto {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    justify-content: space-between !important;
    padding: 20px !important;
}

.botao-produto {
    margin-top: auto !important;
    width: 100% !important;
    text-align: center !important;
}

/* Força o botão de oferta a arredondar os cantos corretamente */
.banner-coco .botao-oferta,
.botao-principal.botao-oferta {
    border-radius: 6px !important;
}

/* Força o segundo banner a respeitar as bordas arredondadas sem deixar a foto vazar */
.banner-coco,
.banner-secundario {
    border-radius: 12px !important;
    /* Garante o arredondamento dos cantos */
    overflow: hidden !important;
    /* MÁGICA: Corta as pontas quadradas da foto */
}

/* ==========================================
   ESTILIZAÇÃO DO POP-UP DE BOAS-VINDAS
========================================== */

/* Fundo escuro que cobre o site inteiro - COMEÇA OCULTO (none) */
.popup-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: none;
    /* JavaScript vai mudar para 'flex' quando o site carregar */
    align-items: center;
    justify-content: center;
    z-index: 9999;
    /* Fica por cima de tudo */
}

/* Caixa branca do conteúdo */
.popup-conteudo {
    background-color: #ffffff;
    width: 90%;
    max-width: 750px;
    display: flex;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Botão de fechar (X) */
.popup-fechar {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #333333;
    z-index: 20;
}

/* Lado Esquerdo (Imagem) */
.popup-esquerda {
    flex: 1;
    display: block;
}

.popup-esquerda img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Lado Direito (Formulário) */
.popup-direita {
    flex: 1;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.popup-direita h2 {
    font-size: 24px;
    color: #b77b8e;
    /* Rosa elegante da loja */
    margin-bottom: 10px;
}

.popup-direita p {
    font-size: 14px;
    color: #666666;
    margin-bottom: 20px;
    line-height: 1.4;
}

/* Campos de entrada de texto */
.popup-direita input {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
    /* Garante que o input não passe da borda */
}

/* Botão de se inscrever */
.btn-inscrever {
    width: 100%;
    background-color: #b77b8e;
    color: #ffffff;
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-inscrever:hover {
    background-color: #92566b;
}

/* Responsividade para o Celular */
@media (max-width: 650px) {
    .popup-conteudo {
        flex-direction: column;
    }

    .popup-esquerda {
        display: none;
        /* Esconde a imagem no celular para caber o formulário perfeitamente */
    }

    .popup-direita {
        padding: 30px 20px;
    }
}


.imagem-produto img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* 👈 Isso faz a foto inteira caber no espaço sem cortar! */
    background-color: #fff;
    /* Opcional: deixa o fundo branco caso sobre espaço nas laterais */
}

/* Forçar a centralização completa da seção de produtos */
.secao-produtos,
#produtos {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
}

.produtos {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
}










/* Bloco Unificado Definido por Você: Tamanho Ideal e Cor Nova */
.produtos article,
.produtos .card-produto,
.card-produto,
.ofertas article,
.secao-ofertas article,
.ofertas-imperdiveis article,
div[class*="oferta"] article {
    width: 350px !important;
    min-width: 350px !important;
    max-width: 350px !important;
    flex: 0 0 350px !important;
    height: 540px !important;
    margin: 15px !important;
    padding: 22px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
    background: #f5deda !important;
    /* SUA COR NOVA AQUI! */
    border-radius: 14px !important;
    border: 1px solid #ebd2ce !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
}

/* Tamanho de imagem calibrado */
.produtos article img,
.card-produto img,
.ofertas article img,
.secao-ofertas img,
div[class*="oferta"] article img {
    width: 280px !important;
    height: 280px !important;
    object-fit: cover !important;
    border-radius: 5px !important;
}

/* Nome do perfume (22px) */
.card-produto h3,
.card-produto h2,
.card-produto .nome-produto {
    font-size: 30px !important;
    font-weight: bold !important;
    margin-top: 12px !important;
    line-height: 1.3 !important;
    color: #222 !important;
}

/* Descrição (15px) */
.card-produto p,
.card-produto .descricao,
.card-produto div {
    font-size: 20px !important;
    line-height: 1.45 !important;
    color: #444 !important;
}

/* Preço (23px) */
.card-produto .preco,
.card-produto div[class*="preco"],
.card-produto strong {
    font-size: 36px !important;
    /* Mude aqui de 30px para 36px (ou o tamanho que preferir) */
    font-weight: bold !important;
    color: #111 !important;
}

.card-produto .qtd,
.card-produto span[class*="qtd"] {
    font-size: 18.5px !important;
    color: #666 !important;
}



/* Reduz drasticamente o tamanho do valor das parcelas (Ex: R$ 32,00) */
.parcelas-vitrine strong,
.card-produto strong,
.info-pagamento-vitrine strong {
    font-size: 18px !important;
    font-weight: 600 !important;
    display: inline !important;
}

/* Reduz o texto que acompanha o parcelamento */
.parcelas-vitrine {
    font-size: 15px !important;
    font-weight: 300 !important;
}




/* Força o preço principal do produto a ficar maior e destacado */
.card-produto .preco,
.card-produto p[class*="preco"],
.card-produto span[class*="preco"],
.produto-preco {
    font-size: 22px !important;
    /* Aumenta o tamanho do preço principal */
    font-weight: bold !important;
    /* Deixa ele mais encorpado */
    color: #111111 !important;
    /* Deixa a cor bem viva */
    margin-top: 5px !important;
}




/* Alvo certeiro para aumentar o preço principal das Ofertas */
section#ofertas-promocao .preco-principal-loja,
.secao-produtos-promocao .preco-principal-loja,
#ofertas-promocao strong {
    font-size: 22px !important;
    font-weight: bold !important;
    color: #333333 !important;
}








/* AJUSTE EXCLUSIVO DO PREÇO DA PARCELA NAS OFERTAS */
.info-pagamento-vitrine .parcelas-vitrine strong,
.info-pagamento-vitrine p strong {
    font-size: 13px !important;
    /* Força o valor numérico a ficar pequeno igual ao de cima */
    font-weight: 500 !important;
    /* Tira aquele negrito muito grosso e pesado */
    color: #1a1a1a !important;
    display: inline !important;
}









/* FORÇA O TAMANHO E O ESTILO DELICADO DAS PARCELAS IGUAL AO DE CIMA */
.info-pagamento-vitrine .parcelas-vitrine,
.card-produto .parcelas-vitrine,
p.parcelas-vitrine {
    font-family: 'Segoe UI', Arial, sans-serif !important;
    font-size: 15px !important;
    /* Deixa o texto pequeno e limpo */
    color: #555555 !important;
    font-weight: 300 !important;
    /* Letra fina estilo perfumaria de luxo */
}

/* AJUSTA EXCLUSIVAMENTE O VALOR EM REAIS DA PARCELA (EX: R$ 35,00) */
.info-pagamento-vitrine .parcelas-vitrine strong,
.card-produto .parcelas-vitrine strong,
p.parcelas-vitrine strong {
    font-size: 13px !important;
    /* Encolhe o número grande para o tamanho ideal */
    font-weight: 500 !important;
    /* Remove aquele negrito muito grosso e pesado */
    color: #1a1a1a !important;
    display: inline !important;
}

/* UNIFICA O TAMANHO E A COR DO TEXTO DO PIX */
.info-pagamento-vitrine .pix-vitrine,
.card-produto .pix-vitrine,
p.pix-vitrine {
    font-family: 'Segoe UI', Arial, sans-serif !important;
    font-size: 15px !important;
    color: #be0979 !important;
    /* Verde Pix delicado */
    font-weight: 400 !important;
}






/* ===================================================
   SINTONIA PERFEITA: CARDS DE SKINCARE COMPLETOS
   =================================================== */

/* 1. Estrutura e proporções do Card */
.secao-produtos .produtos-grid .card-produto {
    background: #f5deda !important;
    border-radius: 15px !important;
    padding: 20px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
    width: 100% !important;
    max-width: 300px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

/* 2. Área da foto - Remove fundos e fixa a altura ideal */
#skincare .produtos-grid .card-produto .foto-produto,
/* --- 1. AJUSTE DO BLOCO DA FOTO (LINHA 1837) --- */
/* --- 1. BLOCO CONTAINER DA FOTO --- */
.secao-produtos .produtos-grid .card-produto .foto-produto {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    height: 220px !important;
    /* Altura padrão idêntica aos perfumes */
    display: flex !important;
    overflow: hidden !important;
    border-radius: 14px 14px 0 0 !important;
    /* Arredonda só o topo do card */
    background: #ffffff !important;
    /* Força o fundo branco idêntico ao dos perfumes */
}

/* --- 2. O LINK INTERNO DA FOTO --- */
.secao-produtos .produtos-grid .card-produto .foto-produto a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

/* --- 3. A IMAGEM PREENCHENDO DE PONTA A PONTA --- */
#skincare .produtos-grid .card-produto img,
#skincare .produtos-grid .card-produto .foto-produto img,
.secao-produtos .produtos-grid .card-produto .foto-produto img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    /* Força o preenchimento total eliminando os vãos nas laterais */
    object-position: center !important;
    /* Mantém o produto centralizado */
}




/* 4. Padronização e Estilo do Botão "Adicionar à Sacola" */
.secao-produtos .produtos-grid .card-produto .btn-comprar,
#skincare .card-produto .btn-add-carrinho {
    display: block !important;
    width: 100% !important;
    background: #bfa37c !important;
    /* Dourado padrão da loja */
    color: #ffffff !important;
    text-align: center !important;
    padding: 12px !important;
    border-radius: 8px !important;
    font-weight: bold !important;
    text-decoration: none !important;
    margin-top: auto !important;
    /* Empurra o botão sempre para o final do card */
    border: none !important;
    cursor: pointer !important;
    transition: background 0.3s ease !important;
}

.secao-produtos .produtos-grid .card-produto .btn-comprar:hover,
#skincare .card-produto .btn-add-carrinho:hover {
    background: #a68c67 !important;
}

/* 5. Alinhamento dos Textos Internos */
#skincare .card-produto .marca-produto {
    font-size: 15px !important;
    text-transform: uppercase !important;
    color: #c48b7d !important;
    letter-spacing: 1px !important;
    margin-bottom: 5px !important;
    display: block !important;
    font-weight: bold !important;
}

#skincare .card-produto h3 {
    font-size: 20px !important;
    font-weight: 600 !important;
    color: #333333 !important;
    margin-top: 5px !important;
    margin-bottom: 8px !important;
    line-height: 1.3 !important;
}

#skincare .card-produto .descricao-curta-produto {
    display: -webkit-box !important;
    -webkit-line-clamp: 1 !important;
    line-clamp: 1 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    min-height: 22px !important;
    margin-bottom: 15px !important;
    font-size: 16px !important;
    color: #666666 !important;
    line-height: 1.4 !important;
}



/* 6. Alinhamento das Linhas de Preço, Estoque e Parcelas */
.linha-preco-estoque {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 5px !important;
}

.preco-principal {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #111111 !important;
}

.qtd-estoque {
    font-size: 8px !important;
    color: #888888 !important;
    background: #ffffff !important;
    /* Deixa o fundo branco limpo para a quantidade */
    padding: 2px 6px !important;
    border-radius: 4px !important;
}

.parcelas-vitrine {
    font-size: 15px !important;
    color: #555555 !important;
    margin-bottom: 4px !important;
}

.pix-vitrine {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #e04f7f !important;
    /* Rosa marcante das ofertas */
    display: block !important;
    margin-bottom: 15px !important;
}

/* 7. Grid de Exibição - 3 colunas perfeitas */
#skincare .produtos-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}



/* --- ALINHAMENTO MATEMÁTICO TRAVADO NO CENTRO DA TELA --- */
#skincare .produtos-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    /* Mantém as 3 colunas perfeitas */
    gap: 40px !important;
    /* Mantém o seu espaçamento de 40px */
    width: 100% !important;
    max-width: 980px !important;
    /* Tamanho exato dos 3 cards + gaps */

    /* ZERA QUALQUER EMPURRÃO PARA OS LADOS E TRAVA NO MEIO: */
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;

    position: relative !important;
    left: 0 !important;
    right: 0 !important;
}

/* Garante que os cards respeitem o espaço centralizado */
#skincare .card-produto {
    width: 100% !important;
    max-width: 300px !important;
    box-sizing: border-box !important;
    margin: 0 auto !important;
}


/* --- DIMINUIR O TAMANHO DO BLOCO QTD --- */
#skincare .card-produto .linha-preco-estoque .qtd-estoque,
#skincare .card-produto span[class*="qtd"],
.qtd-estoque {
    font-size: 11px !important;
    /* Diminui o tamanho da letra */
    padding: 2px 6px !important;
    /* Deixa a caixinha branca bem mais justa e delicada */
    font-weight: 500 !important;
    /* Remove o negrito exagerado */
    height: auto !important;
    /* Evita que ela fique esticada para cima */
    line-height: 1 !important;
}

/* --- FORÇAR O PREÇO E A QTD LADO A LADO --- */
#skincare .card-produto .linha-preco-estoque {
    display: flex !important;
    flex-direction: row !important;
    /* Garante o alinhamento na mesma linha */
    justify-content: space-between !important;
    /* Joga o preço na esquerda e a Qtd na direita */
    align-items: center !important;
    /* Alinha os dois subindo e descendo pelo meio */
    width: 100% !important;
    margin-bottom: 12px !important;
    box-sizing: border-box !important;
}

/* Garante que o preço principal não ocupe 100% da linha */
#skincare .card-produto .preco-principal {
    display: inline-block !important;
    margin: 0 !important;
    font-size: 20px !important;
    font-weight: 700 !important;
}

/* Diminui e ajusta o bloco Qtd ao lado do preço */
#skincare .card-produto .qtd-estoque {
    display: inline-block !important;
    font-size: 11px !important;
    /* Letra menor e delicada */
    padding: 3px 7px !important;
    /* Caixinha compacta */
    background: #ffffff !important;
    /* Fundo branco limpo */
    border-radius: 4px !important;
    border: 1px solid #e0e0e0 !important;
    margin: 0 !important;
}


/* --- FORÇAR ALINHAMENTO LADO A LADO DIRETO NAS TAGS --- */
#skincare .card-produto .preco-principal {
    float: left !important;
    /* Empurra o preço para a esquerda */
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 24px !important;
    margin: 0 !important;
}

#skincare .card-produto .qtd-estoque,
#skincare .card-produto span[class*="qtd"] {
    float: right !important;
    /* Empurra a quantidade para a direita */
    font-size: 11px !important;
    /* Tamanho pequeno e delicado */
    padding: 3px 6px !important;
    /* Deixa a caixinha bem justa */
    background: #ffffff !important;
    /* Fundo branco limpo */
    border-radius: 4px !important;
    border: 1px solid #e0e0e0 !important;
    margin-top: 2px !important;
    /* Ajuste fino para alinhar com o meio do preço */
    line-height: 1 !important;
}

/* Limpa o efeito flutuante para as linhas debaixo (parcelas) não subirem tortas */
#skincare .card-produto .info-pagamento-vitrine,
#skincare .card-produto .parcelas-vitrine {
    clear: both !important;
    display: block !important;
    padding-top: 10px !important;
    /* Dá um espaço para não grudar no preço */
}


/* --- ALINHAMENTO DA VITRINE CENTRALIZADA --- */
#skincare .produtos-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    /* Mantém as 3 colunas padrão */
    gap: 40px !important;
    /* Mantém o espaçamento que você definiu */
    width: 100% !important;
    max-width: 1020px !important;
    /* Limita a largura da linha ao tamanho dos seus cards */
    margin: 40px auto 0 auto !important;
    /* Centraliza os 3 cards perfeitamente no meio da tela */
    padding: 0 !important;
    /* Remove espaços que jogam para a direita */
}




/* --- EMPURRÃO MANUAL PARA ALINHAR NO CENTRO DE VEZ --- */
#skincare .produtos-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 40px !important;
    width: 100% !important;
    max-width: 1020px !important;
    padding: 0 !important;

    /* Puxa todo o bloco de 3 cards para a esquerda de forma forçada: */
    position: relative !important;
    /* Para esta aqui (dando mais 20px de empurrão para a esquerda): */
    left: -60px !important;
}

/* --- ALINHAMENTO COLADO AO LADO DO PREÇO --- */
#skincare .card-produto .preco-principal {
    float: left !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    margin: 0 !important;
    line-height: 24px !important;
}

#skincare .card-produto .qtd-estoque,
#skincare .card-produto span[class*="qtd"] {
    position: static !important;
    /* Reseta os empurrões antigos */
    float: left !important;
    /* Força a quantidade a vir logo após o preço */
    margin-left: 15px !important;
    /* O SEGREDO: Dá um espaço de folga entre o preço e a Qtd */
    margin-top: 2px !important;
    /* Ajusta a caixinha para ficar alinhada no meio da altura do preço */
    font-size: 11px !important;
    padding: 3px 6px !important;
    background: #ffffff !important;
    border-radius: 4px !important;
    border: 1px solid #e0e0e0 !important;
}

/* Garante que a linha do parcelamento fique embaixo e não embolada */
#skincare .card-produto .info-pagamento-vitrine {
    clear: both !important;
    display: block !important;
    padding-top: 8px !important;
}

/* --- ALINHAMENTO IGUALZINHO AO DAS OFERTAS IMPERDÍVEIS --- */

/* 1. Junta o preço e a quantidade na mesma linha */
#skincare .card-produto .linha-preco-estoque {
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    /* Alinha os dois colados na esquerda */
    align-items: center !important;
    /* Centraliza a altura deles */
    width: 100% !important;
    margin-bottom: 12px !important;
}

/* 2. Regra para o preço principal */
#skincare .card-produto .preco-principal {
    display: inline-block !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #111111 !important;
    margin: 0 !important;
}

/* 3. Puxa a caixinha Qtd para o lado do preço (Igual à foto das Ofertas) */
#skincare .card-produto .qtd-estoque,
#skincare .card-produto span[class*="qtd"] {
    display: inline-block !important;
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    float: none !important;

    /* Espaçamento perfeito para sentar do lado do valor */
    margin: 0 0 0 10px !important;

    /* Ajuste fino do tamanho do bloco */
    font-size: 11px !important;
    padding: 2px 5px !important;
    background: #ffffff !important;
    border-radius: 4px !important;
    border: 1px solid #e0e0e0 !important;
    color: #666666 !important;
    line-height: 1 !important;
}

/* 4. Libera o bloco das parcelas para ir para baixo certinho */
#skincare .card-produto .info-pagamento-vitrine {
    clear: both !important;
    display: block !important;
}



/* --- FORÇAR 3 COLUNAS NAS OFERTAS IMPERDÍVEIS --- */
#ofertas-promocao .produtos-grid {
    display: grid !important;
    /* Desativa o flex do HTML e ativa a Grid */
    grid-template-columns: repeat(3, 1fr) !important;
    /* Obriga a criar 3 colunas perfeitas */
    gap: 20px !important;
    /* Espaçamento idêntico ao que você colocou no Skincare */
    width: 100% !important;
    max-width: 1020px !important;
    /* Mesma largura limite do Skincare */
    padding: 0 !important;

    /* Aplica exatamente o mesmo empurrão manual que centralizou o Skincare */
    position: relative !important;
    left: -5px !important;
}

/* --- AJUSTAR OS CARDS DESSA SEÇÃO PARA ACOMPANHAR AS COLUNAS --- */
#ofertas-promocao .produtos-grid .card-produto {
    width: 100% !important;
    /* Destrava os 250px fixos do HTML */
    max-width: 300px !important;
    /* Alarga o card para 300px, igualzinho ao Skincare */
    flex: none !important;
    /* Remove a trava flex do HTML */
    margin: 0 auto !important;
    /* Zera as margens antigas tortas */
    box-sizing: border-box !important;
}

/* --- ALINHAMENTO COLADO DE VEZ NO PREÇO --- */

/* 1. Remove o espaço vazio e junta o preço e a Qtd na esquerda */
.secao-produtos .produtos-grid .card-produto .linha-preco-estoque {
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    /* Gruda os dois no início da linha */
    align-items: center !important;
    /* Alinha a altura pelo meio */
    width: 100% !important;
    margin-bottom: 12px !important;
}

/* 2. Remove as margens e travas antigas da quantidade */
.secao-produtos .produtos-grid .card-produto .qtd-estoque,
.secao-produtos .produtos-grid .card-produto span[class*="qtd"] {
    display: inline-block !important;
    position: static !important;
    float: none !important;

    /* Dá o espacinho perfeito de 10px depois do preço (Igualzinho ao Skincare e Ofertas) */
    margin: 0 0 0 10px !important;

    /* Mantém o visual compacto e limpo */
    font-size: 11px !important;
    padding: 2px 5px !important;
    background: #ffffff !important;
    border-radius: 4px !important;
    border: 1px solid #e0e0e0 !important;
    color: #666666 !important;
    line-height: 1 !important;
}

/* 3. Ajusta o preço para aceitar o vizinho do lado */
.secao-produtos .produtos-grid .card-produto .preco-principal {
    display: inline-block !important;
    margin: 0 !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #111111 !important;
}


/* --- EMPURRÃO DE MARGEM EXCLUSIVO PARA A QUANTIDADE --- */
.qtd-estoque {
    display: inline-block !important;
    position: relative !important;

    /* Zera o empurrão automático que jogava ela para a direita */
    margin-right: auto !important;

    /* O SEGREDO: Uma margem negativa bem grande puxa ela direto para a esquerda */
    margin-left: -200px !important;

    /* Ajustes para manter ela bonita e na mesma altura do preço */
    top: 0 !important;
    font-size: 11px !important;
    padding: 2px 5px !important;
    background: #ffffff !important;
    border-radius: 4px !important;
    border: 1px solid #e0e0e0 !important;
}


/* --- REVERSÃO COMPLETA DA FAIXA BRANCA NO SKINCARE --- */
#skincare .linha-preco-estoque {
    background: transparent !important;
    /* Desativa a faixa branca de fundo */
    background-color: transparent !important;
    box-shadow: none !important;
    /* Remove qualquer sombra que simule uma faixa */
    padding: 0 !important;
    width: 100% !important;
}

/* Garante que o fundo individual da caixinha Qtd permaneça branquinho e limpo */
#skincare .qtd-estoque {
    background: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
}




/* --- EFEITO HOVER: ESCURECE O DOURADO AO PASSAR O MOUSE --- */
.btn-comprar:hover,
.btn-add-carrinho:hover {
    background: #a68c67 !important;
    /* Um tom de dourado mais escuro e elegante */
    cursor: pointer !important;
}



html {
    scroll-behavior: smooth;
}

#btnVoltarTopo {
    display: none;
    /* Começa escondido no topo da página */
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 999;
    /* Fica acima dos outros elementos */
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    background-color: #b57e8a;
    /* Tom rosé combinando com seus botões */
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: background-color 0.3s, transform 0.2s;
}

#btnVoltarTopo:hover {
    background-color: #9c6672;
    transform: translateY(-3px);
}




/* Estilos das Páginas de Políticas e Rodapé */
.container-politicas {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    line-height: 1.6;
}

.container-politicas h1 {
    margin-bottom: 20px;
}

.container-politicas ul {
    margin: 20px 0;
    padding-left: 20px;
}

.container-politicas li {
    margin-bottom: 12px;
}

.btn-voltar {
    display: inline-block;
    margin-top: 20px;
    text-decoration: none;
    font-weight: bold;
}

.rodape-loja {
    padding: 40px 20px;
    margin-top: 50px;
    text-align: center;
    border-top: 1px solid #e0e0e0;
}

.rodape-links ul {
    list-style: none;
    padding: 0;
    margin: 15px 0 25px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.rodape-links a {
    text-decoration: none;
}

.rodape-dados p {
    margin: 5px 0;
    font-size: 0.9rem;
}





/* =================================================
   CORREÇÕES RESPONSIVAS PARA CELULAR (MOBILE)
================================================= */

/* 1. Corrige a altura bugada do menu em qualquer tela */
.menu {
    height: auto !important;
}

/* 2. Ajustes exclusivos para telas de celular (até 768px) */
@media (max-width: 768px) {

    /* Garante que o site ocupe 100% da largura sem faixa branca na direita */
    html, body {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        background-attachment: scroll !important; /* Evita bug de fundo no iPhone */
    }

    /* Barra promocional no topo */
    .barra-promocional {
        font-size: 13px !important;
        padding: 8px 10px !important;
    }

    /* Cabeçalho organizado em coluna no celular */
    .cabecalho {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 15px 4% !important;
        gap: 14px !important;
        width: 100% !important;
    }

    /* Diminui o círculo da logo para caber bem no celular */
    .logo-container {
        width: 95px !important;
        height: 95px !important;
        padding: 6px !important;
    }

    /* Menu de navegação alinhado e legível */
    .menu {
        width: 100% !important;
        gap: 12px !important;
        font-size: 14px !important;
        justify-content: center !important;
    }

    /* Botão "Explorar loja" ajustado */
    .botao-cabecalho {
        padding: 10px 22px !important;
        font-size: 13px !important;
    }

    /* Banner principal ocupando 100% da largura sem estourar */
    .banner {
        flex-direction: column !important;
        text-align: center !important;
        min-height: auto !important;
        padding: 40px 5% !important;
        gap: 25px !important;
        width: 100% !important;
    }

    .banner-conteudo {
        width: 100% !important;
        max-width: 100% !important;
    }

    .banner h1 {
        font-size: 34px !important;
    }

    .banner-conteudo > p:not(.etiqueta) {
        max-width: 100% !important;
        font-size: 13px !important;
    }

    /* Reduz o selo "BF" no celular para não empurrar a tela */
    .banner-decoracao {
        width: 130px !important;
        height: 130px !important;
    }

    .banner-decoracao span {
        font-size: 40px !important;
    }

    .banner-decoracao p {
        font-size: 12px !important;
    }

    /* Categorias em 2 colunas iguais ocupando toda a largura */
    .secao-categorias {
        padding: 40px 4% !important;
        width: 100% !important;
    }

    .categorias {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        width: 100% !important;
    }

    .categoria {
        min-height: 145px !important;
        padding: 18px 10px !important;
    }

    /* Vitrine de produtos (Destaques, Ofertas, Skincare) em 2 colunas */
    .secao-produtos {
        padding: 40px 4% !important;
        width: 100% !important;
    }

    .produtos {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        width: 100% !important;
    }

    .imagem-produto {
        height: 160px !important;
        padding: 10px !important;
    }
}



/* =========================================
   CORREÇÃO DA SEÇÃO SKINCARE NO CELULAR
========================================= */
@media (max-width: 768px) {
    #skincare,
    .secao-skincare,
    .skincare {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 40px 4% !important;
        box-sizing: border-box !important;
    }

    #skincare .produtos,
    .secao-skincare .produtos,
    .skincare .produtos {
        display: grid !important;
        grid-template-columns: 1fr !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        gap: 20px !important;
    }

    #skincare .card-produto,
    .secao-skincare .card-produto,
    .skincare .card-produto {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
    }
}
/* =========================================================
   CORREÇÃO CIRÚRGICA DO CARD SKINCARE NO IPHONE
========================================================= */
@media (max-width: 768px) {
    /* 1. Centraliza a seção inteira sem empurrar para os lados */
    #skincare {
        position: static !important;
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 35px 16px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* 2. Reseta a grade de produtos do Skincare */
    #skincare .produtos-grid {
        position: static !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
    }

    /* 3. Trava o card exatamente no centro da tela sem cortar a esquerda */
    #skincare .card-produto {
        position: static !important;
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 340px !important;
        margin: 0 auto 20px auto !important;
        padding: 15px !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        box-sizing: border-box !important;
    }

    /* 4. Dá altura suficiente para a foto do produto aparecer inteira */
    #skincare .foto-produto {
        position: static !important;
        width: 100% !important;
        height: 220px !important;
        min-height: 220px !important;
        margin: 0 0 15px 0 !important;
        padding: 10px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background-color: #ffffff !important;
        border-radius: 10px !important;
    }

    #skincare .foto-produto a {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        height: 100% !important;
    }

    #skincare .foto-produto img {
        max-width: 100% !important;
        max-height: 100% !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
        margin: 0 auto !important;
        transform: none !important;
    }

    /* 5. Garante que os textos internos não fiquem deslocados */
    #skincare .info-produto {
        position: static !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: left !important;
        left: auto !important;
        transform: none !important;
    }
}

@media (max-width: 768px) {
    #skincare .card-produto {
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        padding-bottom: 20px !important;
    }

    #skincare .info-produto {
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }
}



@media (max-width: 768px) {
    body {
        background-image: url('IMG-Bellafagundes/luxo.jpg') !important;
        background-attachment: scroll !important; /* Corrige o bug do iPhone */
        background-size: cover !important;
        background-position: center top !important;
        background-repeat: no-repeat !important;
    }
}


/* =========================================
   DEIXA A LOGO DO RODAPÉ REDONDA IGUAL À DO TOPO
========================================= */
footer img[src*="logo"],
.rodape img[src*="logo"] {
    width: 130px !important;
    height: 130px !important;
    border-radius: 50% !important;
    background-color: #ffffff !important;
    padding: 12px !important;
    object-fit: contain !important;
    object-position: center !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    margin-bottom: 12px !important;
}



/* =========================================================
   IMAGEM DE FUNDO FIXA COMPATÍVEL COM IPHONE (SAFARI/CHROME)
========================================================= */
@media (max-width: 768px) {
    html, body {
        background-image: none !important;
        background-color: transparent !important;
    }

    /* Cria uma camada fixa por trás de todo o site que funciona no iPhone */
    body::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-image: url('IMG-Bellafagundes/luxo.jpg');
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
        z-index: -1;
        pointer-events: none;
    }

    /* Deixa as áreas entre os blocos transparentes para o fundo aparecer */
    main, .secao-categorias {
        background-color: transparent !important;
    }
}

