
/* Descrição: Arquivo do Projeto Adcor. Comentários adicionados para facilitar manutenção futura. */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-page: #f7f7f7;
    --bg-surface: #ffffff;
    --text-color: #111111;
    --text-muted: #616161;
    --border-color: #e4e4e4;
    --accent: #083b33;
    --accent-2: #947232;
    --shadow: 0 14px 34px rgba(17, 17, 17, 0.08);
    --header-bg: #ffffff;
    --nav-bg: #083b33;
    --nav-text: #ffffff;
    --button-bg: #083b33;
    --button-text: #ffffff;
}

body {
    background: var(--bg-page);
    color: var(--text-color);
    transition: background-color 0.2s ease, color 0.2s ease;
}

header {
    background: var(--header-bg);
    border-bottom: 1px solid var(--border-color);
}

/* ===== cards de produto e promoção ===== */
.product-grid-home {
    display: grid;
    /* Aumente o minmax de 180px para 220px ou 240px para esticar mais os cards para a direita */
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    width: 100%;
}

.produtos-grid-pagina {
    height: auto;
    align-content: flex-start;
    padding: 16px;
}

.product-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

.product-card-link {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    color: inherit;
    text-decoration: none;
}


.product-media-wrap {
    position: relative;
    border-bottom: 3px solid #1db954;
    background: #f8f8f8;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-top-left-radius: 12px; 
    border-top-right-radius: 12px;
    
    /* Centraliza e dá um respiro leve para a imagem não colar nas bordas */
    padding: 6px; 
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-media {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Mantém a imagem inteira e centralizada, sem cortes */
    position: relative; 
    opacity: 1;
    transition: opacity 0.4s ease-in-out, transform 0.5s ease;
}

/* Efeito de zoom elegante quando o mouse passa por cima do link do produto */
.product-card-link:hover .product-media {
    transform: scale(1.07); 
} 

.product-media.active {
    opacity: 1;
    position: relative;
}


.product-info-container {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 14px 10px;
}

.product-name {
    color: #1a1a1a;
    font-size: 1.1rem;
    margin-bottom: 12px;
    font-weight: 600;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-pricing {
    margin-top: auto;
    padding: 0 0 10px;
}

.preco-antigo {
    color: #545454;
    text-decoration: line-through;
    font-weight: 700;
    margin-bottom: 4px;
}

.preco-prod {
    color: #08b350;
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 2px;
}

.parcelamento-info {
    color: #1d1d1d;
    font-size: 0.95rem;
    font-weight: 600;
}

.estoque-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #111;
    color: #fff;
    padding: 6px 10px;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    z-index: 4;
}

.selo-promocao {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 58px;
    height: 58px;
    object-fit: contain;
    z-index: 4;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.25));
}

.ver-detalhes-link {
    display: inline-block;
    margin: 0 0 4px;
    color: #947232;
    font-weight: 700;
}

/* ===== detalhe do produto ===== */
.product-detail-media {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #dbdbdb;
}

.produto-principal {
    width: 420px;
    max-width: 100%;
    display: block;
}

.detalhe-recomendacoes {
    padding: 20px 12px 40px;
}

.detalhe-recomendacoes h3 {
    color: #083b33;
    margin-bottom: 10px;
}

.desc-botoes button:disabled,
.desc-botoes a[aria-disabled='true'] {
    cursor: not-allowed;
    opacity: 0.7;
}

/* ===== popup de cadastro ===== */
.popup-cadastro {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.popup-cadastro.ativo {
    display: flex;
}

.popup-cadastro-box {
    width: 100%;
    max-width: 430px;
    border-radius: 16px;
    background: var(--bg-surface);
    padding: 18px;
    position: relative;
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.25);
}

.popup-close {
    border: none;
    background: transparent;
    font-size: 2rem;
    line-height: 1;
    position: absolute;
    right: 12px;
    top: 6px;
    cursor: pointer;
}

.popup-cadastro-box h3 {
    color: #083b33;
    margin-bottom: 8px;
}

.popup-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.popup-action-primary,
.popup-action-secondary {
    border: none;
    border-radius: 8px;
    padding: 10px 12px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
}

.popup-action-primary {
    background: #083b33;
    color: #fff;
}

.popup-action-secondary {
    background: #ececec;
    color: #1e1e1e;
}

/* ===== whatsapp flutuante ===== */
.whatsapp-float {
    position: fixed;
    right: 14px;
    bottom: 14px;
    width: 58px;
    height: 58px;
    z-index: 1200;
    border-radius: 50%;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background: #25D366;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-float img {
    width: 58px;
    height: 58px;
}

@media (max-width: 600px) {
    .product-grid-home {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .preco-prod {
        font-size: 1.6rem;
    }

    .produto-set {
        flex-direction: column;
        margin: 12px;
    }

    .desc-preco {
        width: 100%;
    }

    .desc-botoes {
        flex-direction: column;
    }

    .desc-botoes form,
    .desc-botoes a {
        width: 100% !important;
        margin-left: 0 !important;
    }
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f1f1f1;
}

header {
    background-color: #083b33;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
}

.logo{
    width: 8rem;
}

.cabeçalho{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    flex-wrap: wrap;
}

.buttonsCab {
    flex: 1 1 auto;
}

.buttonsCab ul{
    display: flex;
    flex-direction: row;
    gap: 1.2rem 2rem;
    padding-right: 0;
    margin-left: 0;
    flex-wrap: wrap;
    align-items: center;
}

.buttonsCab li{
    list-style: none;
}

.buttonsCab a{
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: color 0.2s ease;
}

.buttonsCab a:hover {
    color: #f3c96b;
}

.perfilicon img{
    width: 1.3rem;
}

.user-info{
    color: white;
    font-weight: 600;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.user-info a{
    color: #ffebcd;
    text-decoration: underline;
}

.all-shop{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

.esquerda-shop{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 70%;
}

.direita-shop{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.caixa{
    padding: 1rem 1rem;
    border-radius: 2px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background-color: white;
}

.quant{
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 3rem;
}

.quant-contrl{
    background-color: #ddae55;
    width: 25px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    border-radius: 30%;
    cursor: pointer;
}

.lixeira{
    width: 20px;
    cursor: pointer;
}

.list-car{
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: center;
    justify-content: space-between;
}

.descri-prod{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.descri-prod h2{
    font-weight: 600;
}

.pedra-ex{
    width: 9rem;
}

.preco{
    color: #947232;
    font-weight: 700;
    font-size: 1.5rem;
}

.frete{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.frete input{
    border: none;
    background-color: #c9ddac;
    width: 100%;
    text-align: center;
    height: 2rem;
}

.frete button{
    border: none;
    background-color:#8b9a74;
    width: 100%;
    height: 2rem;
    cursor: pointer;
    border-radius: 5px;
}

.preco-total{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    border-radius: 5px;
}

.resumo button{
    border: none;
    background-color:#000000;
    color: white;
    width: 100%;
    height: 2rem;
    cursor: pointer;
    border-radius: 5px;
}

input[type="checkbox"] {
    transform: scale(1.5);
    cursor: pointer;
}

.todos label{
    display: flex;
    gap: 1rem;
}

.endereco{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10rem;
    justify-content: space-between;
}

.endereco button{
    background-color: white;
    border-radius: 5px;
    height: 40px;
    padding: 0px 10px;
}

.endereco h1{
    font-size: 2rem;
}

.ende-left{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.itens-list{
    display: flex;
    gap: 1rem;
}

.itens-list h1{
    font-size: 2rem;
}

.item img{
    width: 60px;
}

.item p{
    font-size: 0.7rem;
    font-weight: 700;
}

.item{
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.opcao{
    display: flex;
    gap: 0.5rem;
}

.resumo{
    height: fit-content;
}

.total{
    margin-top: 2rem;
    font-weight: bold;
}

.total-co{
    color: #947232;
}

.voltar a{
    font-weight: bolder;
    color: #000000;
}

.voltar{
    margin: 10px 3rem;
}

.tela-inicial-main{
    background: linear-gradient(135deg, #f5f9f8 0%, #eef4f2 100%);
    padding: 0.5rem 0 2rem;
}

.page-card {
    max-width: 760px;
    margin: 2rem auto;
    padding: 2rem;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 18px 40px rgba(8, 59, 51, 0.08);
    border: 1px solid #e5ecea;
}

.page-card h1 {
    color: #083b33;
    font-size: 1.9rem;
    margin-bottom: 1rem;
}

.page-card p {
    color: #4a4a4a;
    line-height: 1.5;
}

.page-form {
    display: grid;
    gap: 0.9rem;
    margin-top: 1.2rem;
}

.page-form label {
    font-size: 0.95rem;
    color: #083b33;
    font-weight: 700;
}

.page-form input {
    width: 100%;
    min-height: 44px;
    padding: 0.8rem 0.9rem;
    border: 1px solid #d8e4e0;
    border-radius: 10px;
    background: #fcfdfd;
}

.page-form button,
.page-form .back-link {
    border: none;
    border-radius: 999px;
    padding: 0.8rem 1rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-form button {
    background: linear-gradient(135deg, #083b33, #0d5a4d);
    color: #ffffff;
    margin-top: 0.3rem;
}

.page-form button:hover,
.page-form .back-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(8, 59, 51, 0.12);
}

.page-form .back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f2f6f5;
    color: #083b33;
    width: fit-content;
    margin-top: 0.5rem;
}

.contato-tela img{
    width: 40rem;
}

.contato-tela{
    background-color: white;
}

.where-page a{
    color: #947232;  
    padding-bottom: 5px;
    border-bottom: #947232 solid;
}

.where-div a{
    color: #947232;  
}

.where-div{
    padding-bottom: 5px;
    border-bottom: #947232 solid;
}

.search-bar{
    background-color: #8b9a74;
    border-radius: 5px;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-right: 5px;
}

.search-bar input{
    background: none;
    border: none;
    height: 30px;
    padding: 1rem 1rem;
    width: 100%;
}

.search-bar ::placeholder{
    color: white;
    font-size: 1rem;
}

.search-bar button{
    background: none;
    border: none;
    cursor: pointer;
}

.cab-botoes{
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: center;
}

.div-inical{
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 0;
    padding: 0;
    min-height: 280px;
    background: none;
    width: 100%;
}

.div-inical h1{
    color: #947232;
    font-family:'Times New Roman', Times, serif;
    font-size: 3rem;
    font-weight: lighter;
    line-height: 1.05;
}

/* ===== ANIMAÇÃO CARROSSEL PRINCIPAL ===== */
.hero-carousel-panel {
    width: 100%;
    margin: 0;
    display: flex;
    align-items: stretch;
    transition: transform 0.4s ease, filter 0.4s ease;
    cursor: pointer;
    background: var(--bg-surface);
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.hero-carousel-panel:hover {
    transform: scale(1.015);
    filter: brightness(1.08);
}

@media (max-width: 1024px) {
    .div-inical{
        grid-template-columns: 1fr;
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (max-width: 680px) {
    .div-inical{
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        gap: 20px;
    }
    .div-inical h1{
        font-size: 2.4rem;
    }
}

.mini-banner{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 40px auto;
    padding: 0 1rem;
    max-width: 920px;
}

.mini-banner a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.mini-banner a:hover {
    transform: translateY(-2px);
}

.mini-banner-um{
    background-image: url("img/bannerMini1.png");
    z-index: 2;
}

.mini-banner-dois{
    background-image: url("img/bannerMini2.png");
    z-index: 2;
}

.config{
    position: relative;
    height: 90px;
    width: min(700px, 100%);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    align-items: center;
    text-align: center;
    align-content: center;
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.config p{
    font-size: 1.3rem;
    color: #947232;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.config::before{
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 2px solid #947232;
}

.contato-tela{
    position: relative;
    min-height: 260px;
    background: #efefef;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 1rem 220px;
    gap: 20px;
    text-align: center;
}

.contato-tela p  {
    font-size: 1.5rem;
    font-weight: bold;
    color: #947232;
}

.bot-cont{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bot-cont p{
    font-weight: 600;
    color: #083b33;
}

.imagem{
    position: absolute;
    bottom: -80px;
    width: 400px;
    height: 200px;
    background-image: url("img/cristalFinal.png");
    background-size: cover;
    background-position: center;
}

.imagem::before{
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 5px solid #947232;
}

.sugest-prod{
    background-color: transparent;
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.list-prod{
    align-items: center;
    display: flex;
    flex-direction: column;
    background-color: #d2d2d2;
    padding: 15px 15px;
    gap: 20px;
    text-align: center;
}

.list-prod h2{
    color: #083b33;
}

.sugest-prod img{
    width:150px;
    border-radius: 6px;
}

.list-prod a{
    color:#ffffff;
    font-size: 1rem;
    text-decoration: none;
    background-color:#8a6125;
    padding: 5px 12px;
    border-radius: 6px;
}

.sugest-prod > div{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    background-color: white;
}

.sugest-prod p > .preco-prod{
    font-size: 1.4rem;
    text-align: center;
}

.contato-menu{
    position: relative;
    list-style: none;
}

.contato-dropdown{
    position: absolute;
    top: 40px;
    right: 0;
    width: 280px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,.15);
    display: none;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
}

.contato-dropdown h3{
    margin: 0;
    color: #083b33;
}

.contato-dropdown p{
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #555;
}

.contato-dropdown a{
    text-decoration: none;
    color: #083b33;
    font-weight: 600;
    padding: 8px 0;
    border-top: 1px solid #e5e5e5;
}

.contato-dropdown a:hover{
    color: #0b5a4d;
}

.contato-dropdown.ativo{
    display: flex;
}

.categorias-menu{
    position: relative;
    list-style: none;
}

.categorias-dropdown{
    position: absolute;
    top: 40px;
    right: 0;
    width: 260px;
    padding: 12px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,.12);
    display: none;
    flex-direction: column;
    gap: 8px;
    z-index: 1000;
}

.categorias-dropdown a{
    text-decoration: none;
    color: #083b33;
    font-weight: 600;
    padding: 6px 0;
    border-top: 1px solid #f1f1f1;
}

.categorias-dropdown.ativo{
    display: flex;
}

footer{
    padding-top: 80px;
    background-color: #083b33;
    color: white;
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: end;
    justify-content: end;
    flex-wrap: wrap;
    padding: 40px 1rem 15px;
}

footer li{
    list-style: none;
}

.criatais-naturais{
    background-color: white;
}

.footer-cristal{
    padding: 0;
}

.recomend-box{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    padding: 40px 1rem;
}

.recomend {
    flex: 1 1 280px;
}

.recomend-box h3{
    color:#8a6125;
    font-family:'Times New Roman', Times, serif;
    font-weight: 600;
    font-size: 1.8rem;
}

.recomend-box p{
    font-size: 1.2rem;
    color: #2f3a3a;
    line-height: 1.5;
}

.recomend{
    display: flex;
    width: 30%;
    gap: 15px;
    flex-direction: column;
}

.img-recom img{
    max-width: 500px;
    max-height: 200px;
    border-radius: 6px;
    object-fit: cover;
}

.img-recom{
    display: flex;
    align-items: center; 
    padding-right: 50px;   
}

.rede-box{
    display: flex;
    background-color: #ffffff;
    border-radius: 30px;
    justify-content: space-between;
    padding: 5px;
    width: 200px;
}

.rede-box button img{
    width: 15px;
    cursor: pointer;
}

.rede-box button{
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    background-color: #947232;
}

.set-image img{
    width: 100px;
    cursor: pointer;
}

.set-image{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.image-principal img{
    width: 400px;
}

.produto-set{
    display: inline-flex;
    gap: 20px;
    margin-top: 30px;
    margin-left: 10px;
}

.desc-preco{
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 500px;
}

.desc-preco h1{
    color: #947232;
    font-weight: lighter;
    font-size: 2.5rem;
}

.desc-preco h2{
    color: #947232;
    font-weight: lighter;
    font-size: 1.6rem;
}

.preco{
    display: flex;
    flex-direction: column;
}

.preco p{
    color: #2e302d;
    font-size: 1rem;
}

.mini-desc {
    font-size: 1.3rem;
    line-height: 1.5;
}

.desc-botoes{
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.desc-botoes button{
    height: 40px;
    width: 50%;
    border-radius: 10px;
    cursor: pointer;
}

.add-car{
    color: rgb(0, 0, 0);
    background-color: #8b9a74;
    border: none;
}

.comprar{
    color: white;
    background-color: #947232;
    border: none;
}

.descricao-detalhada{
    display: flex;
    flex-direction: column;
    margin-right: 20px;
    margin-left: 10px;
    padding-top: 50px;
    gap: 10px;
    margin-bottom: 30px;
}

.descricao-detalhada p{
    line-height: 1.5;
}

.criatais-naturais{
    background-color: #f7f2f2;
    display: flex;
    align-items: stretch;
    gap: 20px;
    min-height: 100vh;
}

.filtros{
    padding: 10px 10px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 200px;
    z-index: 1;
    transition: 0.5s;
    overflow-x: hidden;
    background-color: white;
    box-shadow: 0 0 10px rgba(0,0,0,0.08);
    height: auto;
}

.filtros > div:not(.filtros-cab){
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filtros h2{
    font-size: 1rem;
    color: #947232;
}

hr{
    opacity: 0.6;
}

input[type="checkbox"]{
    width: 10px;
    cursor: pointer;
    accent-color: #947232;
}

.filtros-cab{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.filtros-cab h1{
    font-size: 1.25em;
    color: #947232;
}

.filtros-cab img{
    width: 20px;
    cursor: pointer;
}

label{
    display: flex;
    flex-direction: row;
    gap: 8px;
}

.produtos img{
    width:200px;
    border-radius: 6px;
}

.produtos{
    flex: 1;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 10px;
    padding-top: 10px;
    height: 400px;
}

.produtos > div{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 0;
    border-radius: 10px;
    cursor: pointer;
    background-color: white;
}

.produtos p > .preco-prod{
    font-size: 1.4rem;
    text-align: center;
}

.log-body{
    background-color: white;
}

.login-box{
    padding: 10px 80px;
    display: flex;
    flex-direction: column;
    border: solid 1px #000000;
    width: 90%;
    max-width: 550px;
    min-height: 400px;
    height: auto;
    margin: 200px 0;
    align-items: center;
    justify-content: center;
    gap: 30px;
    border-radius: 10px;
}

.endereco-box{
    padding: 20px 80px;
    display: flex;
    flex-direction: column;
    border: solid 1px #000000;
    width: 90%;
    max-width: 550px;
    min-height: 400px;
    height: auto;
    margin: 50px 0;
    align-items: center;
    justify-content: center;
    gap: 30px;
    border-radius: 10px;
    text-align: center;
}

.login-main{
    display: flex;
    justify-content: center;
}

.input-box{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-box{
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap:20px;
    align-items: center;
}

.form-box input{
    width: 100%;
    height: 40px;
    padding: 12px;
    margin-bottom: 15px;
    box-sizing: border-box;
    border: solid 1px #000000;
}

.form-box input:-webkit-autofill,
.form-box input:-webkit-autofill:hover,
.form-box input:-webkit-autofill:focus,
.form-box input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}

.form-box a{
    color: #000000;
}

.login-button{
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
}

.endereco-box button{
    width: 190px;
    height: 30px;
    border-radius: 6px;
    cursor: pointer;
}

.login-box button{
    width: 190px;
    height: 30px;
    border-radius: 6px;
    cursor: pointer;
}

.logar{
    border: none;
    background-color: #083b33;
    color: white;
}

.f-login{
    padding-top: 50px;
}

.cadastro-box{
    padding: 20px 80px;
}

.none-pc{
    display: none;
}

.perfil{
    min-height: 800px;
    padding: 20px 20px;
}

.informa-box{
    display: flex;
    gap: 20px;
}

.informa{
    border: 1px solid #000000; 
    width: 50%;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contato-box{
    display: flex;
}

.editar img{
    width: 13px;
    padding-right: 5px;
}

.table-box{
    border: 1px solid #000000;
    width: 100%;
    padding: 15px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 5px;
    overflow-x: auto;
}

.all-perfil{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.btn-perfil{
    display: flex;
    flex-direction: row;
    gap: 30px;
}

.btn-perfil button{
    width: 100px;
    height: 30px;
    border: none;
    background-color: #a50f0f;
    color: white;
    font-size: 1.2rem;
    border-radius: 6px;
}

.table-box table{
    width: 100%;
    border-collapse: collapse;
}

.table-box th{
    text-align: left;
}

.table-box th, td{
    border-bottom: rgba(0, 0, 0, 0.24) solid 1px;
    padding: 10px;
}

.table-box tr:last-child td {
    border-bottom: none;
}

.all-perfil a{
    color: #000000;
}

.min-box{
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 50%;
}

.pedido-card{
    display: none;
}

.red{
    color: #a50f0f;
}

.green{
    color: #0b5a4d;
}

.none-mes{
    display: none;
}

.p-card{
    width: 100%;
    text-align: center;
    grid-column: 1 / -1;
}

.endereco-atual {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px;
    border: 1px solid #000000;
    border-radius: 6px;
    box-sizing: border-box;
}

.endereco-atual p {
    font-size: 0.95rem;
    color: #2e302d;
}

.f-login h2 {
    color: #083b33;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.card-nenhum{
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    text-align: center;
    padding-bottom: 550px;
}

@media screen and (max-width: 768px) {
    .login-box {
        width: 90%;
        max-width: 550px;
        height: auto;
        padding: 40px;
        margin: 100px 20px;
    }

    .form-box input {
        width: 100%;
    }

    .input-box {
        width: 100%;
    }

    .login-button {
        flex-direction: column;
        align-items: center;
    }

    .login-box button {
        width: 100%;
        max-width: 300px;
    }

    .login-box a {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .informa-box{
        display: flex;
        flex-direction: column;
    }

    .contato-box{
        display: flex;
        flex-direction: column;
        z-index: 1;
    }

    .informa{
        width: 92%;
    }

    table{
        flex-direction: column;
    }
}

@media (max-width: 900px) {
    .cabeçalho {
        justify-content: center;
        text-align: center;
    }

    .buttonsCab {
        width: 100%;
        order: 3;
    }

    .buttonsCab ul {
        justify-content: center;
    }

    .cab-botoes {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .search-bar {
        flex: 1 1 280px;
        max-width: 420px;
    }

    .mini-banner {
        margin-top: 25px;
        margin-bottom: 25px;
    }

    .recomend-box {
        padding: 24px 1rem;
    }

    .contato-tela {
        padding-bottom: 200px;
    }
}

@media (max-width: 710px) {
    header{
        position: relative;
        z-index: 9999;
    }

    .logo{
        width: 140px;
    }

    .cabeçalho{
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 5px;
    }

    .buttonsCab ul{
        padding-right: 0;
        width: 300px;
        text-align: center;
        justify-content: center;
    }

    .buttonsCab a{
        font-size: 1.2rem;
    }

    .cab-botoes{
        padding-bottom: 20px;
    }

    .perfilicon img{
        width: 30px;
    }

    .div-inical{
        height: 80px;
        padding: 0;
        min-width: auto;
    }

    .div-inical h1{
        display: none;
    }

    .config p{
        font-size: 1.3rem;
        text-shadow: 2px 2px #000000;
    }

    .mini-banner{
        gap: 10px;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .config{
        width: min(100%, 320px);
        height: 80px;
    }

    .sugest-prod{
        display: grid;
        grid-template-columns: 170px 170px;
        text-align: center;
        margin: 10px;
    }

    .sugest-prod p{
        padding: 0 10px;
    }

    .sugest-prod img{
        width: 120px;
    }

    .recomend-box h3{
        font-size: 1.5rem;
    }

    .recomend-box{
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }

    .recomend{
        width: auto;
        align-items: center;    
    }

    .img-recom{
        padding: 0;
    }

    .img-recom img{
        width: 300px;
        height: 50px;
        object-fit: cover;
    }

    .criatais-naturais{
        flex-direction: column;
        gap: 10px;
        min-height: auto;
    }

    .filtros{
        width: 100%;
        min-width: auto;
        margin: 0;
        box-sizing: border-box;
    }

    .produtos{
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 10px;
        box-sizing: border-box;
    }

    .produtos > div{
        width: 100%;
        max-width: none;
        padding: 10px;
        text-align: center;
        box-sizing: border-box;
    }

    .produtos > div img{
        width: 100%;
        max-width: 140px;
        height: auto;
    }

    .none{
        display: none !important;
    }

    .footer-cristal{
        padding: 10px 10px;
        align-items: center;
        justify-content: center;
    }

    .footer-cristal p{
        font-size: 0.8rem;
    }

    .footer-cristal li{
        font-size: 0.8rem;
    }

    .footer-cristal img{
        width: 100px;
    }

    .imagem{
        position: relative;
        bottom: auto;
        width: min(100%, 280px);
        height: 160px;
        margin-top: 10px;
    }

    .contato-tela p{
        text-align: center;
    }

    footer p, footer li{
        font-size: 0.8rem;
    }

    footer{
        padding-left: 10px;
        justify-content: center;
        text-align: center;
    }

    .bot-cont p{
        font-size: 1.2rem;
    }

    .table-box{
        display: none;
    }

    .pedido-card{
        padding: 20px;
        border: 1px solid #000000;
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 350px;
    }

    .pedido-card p{
        margin: 0;
    }

    .acoes{
        display: flex;
        gap: 20px;
        align-items: center;
        flex-wrap: wrap;
    }

    .acoes a{
        color: #333;
    }

    .all-shop{
        flex-direction: column;
        gap: 10px;
    }

    .resumo h1{
        display: none;
    }

    .resumo{
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .resumo button{
        width: 100px;
    }

    .esquerda-shop{
        width: 100%;
    }

    .pedra-ex {
        width: 100px;
    }

    .quant-contrl{
        text-decoration: none;
        width: 25px;
        height: 25px;
        align-items: center;
    }

    .lixeira{
        width: 25px;
    }

    .list-car h2{
        font-size: 1rem;
    }

    .list-car h3{
        font-size: 0.95rem;
    }

    .preco-box{
        display: flex;
        gap: 10px;
        flex-direction: column;
    }

    .total-box{
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .frete h2{
        font-size: 1.2rem;
    }
}

/* ===== ESTIOS CORRIGIDOS DO CARROSSEL HERO ===== */
.hero-carousel-panel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
}

.hero-carousel-container {
    display: flex;
    width: 100%;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    box-sizing: border-box;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: cover;
    display: block;
}

.carousel-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 15px;
    border-radius: 8px;
}

.carousel-caption h3 {
    margin: 0 0 5px 0;
    font-size: 1.5rem;
    color: #fff;
}

.carousel-caption p {
    margin: 0;
    font-size: 1rem;
    color: #f1f1f1;
}

.hero-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 1.5rem;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 10;
    border-radius: 4px;
    transition: background 0.3s;
}

.hero-carousel-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.hero-carousel-btn.prev {
    left: 15px;
}

.hero-carousel-btn.next {
    right: 15px;
}

.hero-carousel-fallback {
    width: 100%;
    height: 300px;
    background: #083b33;
}

/* ===== Botão do Painel Admin no Menu ===== */
.admin-menu-item {
    background: linear-gradient(135deg, #106255, #083b33);
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    border: 1px solid #947232;
    list-style: none;
}

.admin-menu-item a {
    display: block;
    padding: 6px 14px;
    color: #ffebcd !important;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-align: center;
    text-decoration: none;
}

.admin-menu-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(148, 114, 50, 0.35);
    background: linear-gradient(135deg, #137768, #0a473e);
}

/* ===== ESTILIZAÇÃO DA TELA DE PERFIL (MODERNA) ===== */

.perfil-page {
    background-color: #f7f9f8;
    padding: 40px 20px;
    min-height: 80vh;
    display: flex;
    justify-content: center;
}

.all-perfil {
    width: 100%;
    max-width: 1100px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.perfil-header-title h1 {
    color: #083b33;
    font-size: 2.2rem;
    font-family: 'Times New Roman', Times, serif;
    margin-bottom: 5px;
}

.perfil-header-title p {
    color: #666;
    font-size: 1rem;
}

/* Blocos de Informação (Conta e Endereço) */
.informa-box {
    display: flex;
    gap: 24px;
    width: 100%;
}

.informa {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    width: 50%;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.informa:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.informa h2 {
    font-size: 1.1rem;
    color: #083b33;
    letter-spacing: 0.5px;
}

.contato-box {
    display: flex;
    gap: 15px;
    justify-content: space-between;
}

.min-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 50%;
}

.min-box h3, .informa h3 {
    font-size: 0.95rem;
    color: #947232;
    font-weight: 700;
}

.min-box p, .endereco-detalhes-card p {
    font-size: 0.95rem;
    color: #333;
    line-height: 1.4;
}

/* Botões de Edição */
.editar-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    color: #083b33;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    padding: 6px 10px;
    background-color: #f0f4f3;
    border-radius: 6px;
    width: fit-content;
    transition: background-color 0.2s;
}

.editar-btn:hover {
    background-color: #083b33;
    color: #fff;
}

.editar-btn img {
    width: 12px;
    filter: brightness(0.2);
}

.editar-btn:hover img {
    filter: brightness(10);
}

.card-nenhum-endereco {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 10px 0;
}

.btn-cadastrar-end {
    background-color: #947232;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: bold;
    width: fit-content;
}

/* Tabela de Pedidos */
.table-box {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    width: 100%;
    padding: 24px;
    box-sizing: border-box;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    overflow-x: auto;
}

.table-box h2 {
    font-size: 1.1rem;
    color: #083b33;
    margin-bottom: 5px;
}

.table-box table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.table-box th {
    text-align: left;
    color: #666;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px;
    border-bottom: 2px solid #f0f0f0;
}

.table-box td {
    padding: 14px 12px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.95rem;
    color: #333;
}

.link-ver-compra {
    color: #947232;
    font-weight: 700;
    text-decoration: none;
}

.link-ver-compra:hover {
    text-decoration: underline;
}

.empty-pedidos {
    text-align: center;
    color: #777;
    padding: 20px !important;
}

/* Badges de Status */
.status-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.status-badge.green, .green {
    background-color: #e2f4ed;
    color: #0b5a4d;
}

.status-badge.red, .red {
    background-color: #fde8e8;
    color: #a50f0f;
}

/* Listagem Mobile de Pedidos (Oculta no Desktop) */
.pedidos-mobile-list {
    display: none;
    flex-direction: column;
    gap: 15px;
}

.pedido-card-mobile {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}

.btn-mobile-detalhes {
    display: block;
    text-align: center;
    background: #083b33;
    color: #fff;
    padding: 8px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 5px;
}

/* Ações Inferiores (Excluir e Sair) */
.btn-perfil-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    padding-top: 10px;
}

.btn-excluir-conta {
    background: transparent !important;
    border: none;
    color: #d9534f !important;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: underline;
    padding: 0;
}

.button-sair {
    background-color: #083b33;
    color: white;
    padding: 10px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95rem;
    transition: background-color 0.2s;
}

.button-sair:hover {
    background-color: #0b5a4d;
}

/* Responsividade para Celulares e Tablets */
@media screen and (max-width: 768px) {
    .informa-box {
        flex-direction: column;
    }

    .informa {
        width: 100%;
        box-sizing: border-box;
    }

    .table-box {
        display: none; /* Esconde a tabela no celular para dar lugar aos cards */
    }

    .pedidos-mobile-list {
        display: flex; /* Mostra os cards organizados no celular */
    }

    .btn-perfil-actions {
        flex-direction: column;
        gap: 20px;
        align-items: stretch;
        text-align: center;
    }
}