/* =====================================================
   IMPORTACAO DE FONTES
===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');


/* =====================================================
   CONFIGURACOES GERAIS
===================================================== */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #f2ede7;
    font-family: "Roboto", sans-serif;
}


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

.top-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    padding: 10px 50px;

    position: sticky;
    top: 0;

    background: rgba(242, 237, 231, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    z-index: 100;
    margin-bottom: 10px;
}

.logo {
    flex: 0 0 180px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.logo h1 {
    font-family: "Lora", serif;
    font-size: 50px;
    color: #36533d;
    margin: 0;
}

.logo-link{
    text-decoration: none;
}

.logo-link h1{
    cursor: pointer;
    transition: .2s ease;
}

.logo-link h1:hover{
    transform: scale(1.03);
    color: #2f4f3f;
}

/* =====================================================
   MENU PRINCIPAL
===================================================== */

.menu {
    flex: 1;
}

.menu > ul {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 35px;

    list-style: none;
    padding: 0;
    margin: 0;
}

.menu li {
    display: flex;
    align-items: center;
}

.menu > ul > li > a {
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
    color: #36533d;
    border-bottom: 1px solid transparent;
    transition: all .2s ease;
    position: relative;
    white-space: nowrap;
}

.menu > ul > li > a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: #36533d;
    transition: width .3s ease;
}

.menu > ul > li > a:hover::after {
    width: 100%;
}


/* =====================================================
   PESQUISA NO MENU
===================================================== */

.menu-pesquisa {
    position: relative;

    flex: 1;
    max-width: 760px;
    min-width: 420px;
}

.pesquisa-menu-box {
    width: 100%;
    height: 44px;

    display: flex;
    align-items: center;

    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;

    overflow: hidden;
}

#pesquisa-menu {
    width: 100%;
    height: 100%;

    padding: 0 16px;

    border: none;
    outline: none;

    background: white;
    color: #2f4f3f;

    font-size: 15px;
}

#pesquisa-menu:focus {
    outline: none;
}

.btn-pesquisa-menu {
    width: 54px;
    height: 100%;

    border: none;
    border-left: 1px solid #eee;

    background: white;
    color: #2f4f3f;

    font-size: 18px;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-pesquisa-menu:hover {
    background: #f1ebe5;
}

.resultado-pesquisa-menu {
    display: none;

    position: absolute;
    top: 120%;
    left: 0;

    width: 100%;
    max-height: 360px;
    overflow-y: auto;

    background: white;

    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0,0,0,.15);

    z-index: 2000;
}

.resultado-pesquisa-menu.ativo {
    display: block;
}

.menu .resultado-pesquisa-item {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 12px;

    text-decoration: none;
    color: #2f4f3f;

    border-bottom: 1px solid #eee;
}

.menu .resultado-pesquisa-item::after {
    display: none;
}

.menu .resultado-pesquisa-item:hover {
    background: #f1ebe5;
}

.menu .resultado-pesquisa-item img {
    width: 48px;
    height: 58px;

    object-fit: cover;
    border-radius: 6px;

    flex-shrink: 0;
}

.menu .resultado-pesquisa-item h4 {
    margin: 0 0 4px;
    font-size: 15px;
    color: #2f4f3f;
}

.menu .resultado-pesquisa-item p {
    margin: 0;
    font-size: 14px;
    color: #555;
}


/* =====================================================
   MENU DROPDOWN
===================================================== */

.menu-dropdown {
    position: relative;
}

.menu-dropdown::after {
    content: "";
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 180px;
    height: 8px;
}

.menu-dropdown .submenu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 180px;
    padding: 8px 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgb(0, 0, 0, .15);
    z-index: 1000;
}

.menu-dropdown:hover .submenu {
    display: block;
}

.menu-dropdown:hover::after {
    display: block;
}

.menu-dropdown .submenu li {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}

.menu-dropdown .submenu a {
    display: block;
    padding: 10px 16px;
    color: #2f4f3f;
    text-decoration: none;
    white-space: nowrap;
}

.menu-dropdown .submenu a:hover {
    background: #f1ebe5;
}

/* =====================================================
   DROPDOWN DO CARRINHO
===================================================== */

.menu-carrinho-dropdown {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-carrinho-dropdown::after {
    content: "";
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    width: 170px;
    height: 8px;
}

.carrinho-link {
    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;

    text-decoration: none;
}

.carrinho-link img {
    width: 30px;
    height: 30px;
}

#contador-carrinho {
    position: absolute;
    top: -8px;
    right: -10px;

    min-width: 18px;
    height: 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #d9294f;
    color: white;

    border-radius: 50%;

    font-size: 12px;
    font-weight: bold;
}

/* Caixa do dropdown */
.menu-carrinho-dropdown .submenu-carrinho {
    display: none;

    position: absolute;
    top: calc(100% + 8px);
    right: 0;

    width: 170px;

    padding: 8px 0;
    margin: 0;

    background: white;

    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);

    list-style: none;

    z-index: 3000;
}

/* Mostrar dropdown ao passar o mouse */
.menu-carrinho-dropdown:hover .submenu-carrinho {
    display: block;
}

.menu-carrinho-dropdown:hover::after {
    display: block;
}

/* Cada linha do dropdown */
.menu-carrinho-dropdown .submenu-carrinho li {
    width: 100%;

    display: block;
    padding: 0;
    margin: 0;
}

/* Link ocupando a linha inteira */
.menu-carrinho-dropdown .submenu-carrinho li a {
    display: block !important;

    width: 100% !important;
    box-sizing: border-box;

    padding: 12px 16px;

    color: #2f4f3f;
    background: white;

    text-decoration: none;

    font-size: 16px;
    font-weight: 500;

    white-space: nowrap;

    cursor: pointer;
}

/* Hover na linha inteira */
.menu-carrinho-dropdown .submenu-carrinho li a:hover {
    background: #f1ebe5;
}

/* Remove o efeito de underline do menu principal dentro do dropdown */
.menu-carrinho-dropdown .submenu-carrinho li a::after {
    display: none !important;
    content: none !important;
}


/* =====================================================
   BANNER / HERO
===================================================== */

.hero {
    width: 100%;
}

.banner-slider {
    width: min(92%, 1400px);
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.banner-track {
    display: flex;
    width: 100%;
    transition: transform 0.6s ease;
}

.banner-slide {
    min-width: 100%;
    width: 100%;
    height: clamp(280px, 42vw, 620px);
    flex: 0 0 100%;
    position: relative;
}

.banner-slide img,
.hero-banner-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.hero-banner-link {
    width: 100%;
    height: 100%;
    display: block;
}

.banner-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    color: #2f4f3f;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    padding: 0;
    transition: 0.2s ease;
}

.banner-btn:hover{
    background: #2f4f3f;
    color: white;
}

.banner-btn-escondido {
    display: none;
}

.banner-btn-prev {
    left: 18px;
}

.banner-btn-next{
    right: 18px;
}

.hero-banner-progress-list {
    width: min(92%, 1400px);
    margin: 12px auto 0;
    display: flex;
    gap: 8px;
}

.hero-banner-progress-list[hidden] {
    display: none !important;
}

.hero-banner-progress-item {
    flex: 1;
    height: 5px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(38, 83, 63, .15);
}

.hero-banner-progress-fill {
    width: 0%;
    height: 100%;
    display: block;
    border-radius: 999px;
    background: #26533f;
}

/* =====================================================
   CATEGORIAS NA HOME
===================================================== */

.categorias-home {
    width: 90%;
    margin: 60px auto 80px;
}

.categorias-home-topo {
    text-align: center;
    margin-bottom: 32px;
}

.categorias-home-topo h2{
    color: #2f4f3f;
    font-size: 34px;
    margin: 12px 0 8px;
}

.categorias-home-topo p {
    color: #555;
    font-size: 16px;
}

.categorias-home-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.categoria-home-card {
    position: relative;
    height: 320px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    border-radius: 16px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0,0,0,.10);
    transition: transform .25s ease, box-shadow .25s ease;
    will-change: transform;
}

.categoria-home-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .14);
}

.categoria-home-card img{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.categoria-home-card:hover img{
    transform: scale(1.05);
}

.categoria-home-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,.58),
        rgba(0,0,0,.12)
    );
}

.categoria-home-card div{
    position: relative;
    z-index: 1;
    padding: 22px;
    color: white;
}

.categoria-home-card h3 {
    font-size: 24px;
    margin: 0 0 8px;
}

.categoria-home-card p {
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
    color: #f1ebe5;
}

/* =====================================================
   PAGINA SOBRE NOS
===================================================== */

.sobre-page {
    width: 90%;
    margin: 40px auto 80px;
}

.sobre-hero {
    background: linear-gradient(135deg, #f1ebe5, #ffffff);
    padding: 50px;
    border-radius: 18px;
    box-shadow: 0 4px 14px rgba(0,0,0,.08);
    margin-bottom: 35px;
}

.sobre-hero h2 {
    color: #2f4f3f;
    font-size: 42px;
    margin: 14px 0;
}

.sobre-hero p {
    max-width: 650px;
    line-height: 1.6;
    color: #555;
    font-size: 17px;
}

.sobre-conteudo {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.sobre-conteudo div {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 14px rgba(0,0,0,.08);
}

.sobre-conteudo h3 {
    color: #2f4f3f;
    margin-bottom: 12px;
}

.sobre-conteudo p {
    color: #555;
    line-height: 1.6;
}

/* =====================================================
   PAGINA POLITICA DE TROCAS
===================================================== */

.politica-page {
    width: 90%;
    margin: 40px auto 80px;
}

.politica-hero {
    background: linear-gradient(135deg, #f1ebe5, #ffffff);
    padding: 50px;
    border-radius: 18px;
    box-shadow: 0 4px 14px rgba(0,0,0,.08);
    margin-bottom: 35px;
}

.politica-hero h2 {
    color: #2f4f3f;
    font-size: 42px;
    margin: 14px 0;
}

.politica-hero p {
    max-width: 760px;
    line-height: 1.6;
    color: #555;
    font-size: 17px;
}

.politica-conteudo {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.politica-card {
    background: white;
    padding: 28px;
    border-radius: 16px;
    box-shadow: 0 4px 14px rgba(0,0,0,.08);
}

.politica-card h3 {
    color: #2f4f3f;
    margin-bottom: 12px;
}

.politica-card p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 10px;
}

.politica-card ul {
    margin-top: 12px;
    padding-left: 20px;
    color: #555;
}

.politica-card li {
    margin-bottom: 8px;
}

/* =====================================================
   DESTAQUES DA HOME
===================================================== */

.produtos {
    width: 86%;
    margin: 65px auto 80px;
}

.produtos h2 {
    color: #36533d;
    font-size: 34px;
    margin-bottom: 34px;
    text-align: center;
}

.produtos-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(260px, 1fr));
    gap: 28px;
    justify-content: center;
}

.produto-link {
    display: block;
    width: 100%;

    color: inherit;
    text-decoration: none;
}

.produto-card {
    width: 100%;
    height: 100%;

    background: #fff;

    border-radius: 14px;
    overflow: hidden;

    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);

    transition: 0.25s ease;
}

.produto-link:hover .produto-card {
    transform: translateY(-5px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
}

.produto-img-area {
    width: 100%;
    height: 340px;
    overflow: hidden;

    background: #f1ebe5;
}

.produto-img-area img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center 45%;

    display: block;
}

.produto-card-info {
    padding: 16px 18px 18px;
    background: white;
}

.produto-card-info h3 {
    color: #36533d;
    font-size: 18px;
    line-height: 1.25;

    margin: 0 0 8px;
}

.produto-preco {
    color: #111;
    font-size: 16px;
    font-weight: bold;

    margin: 0;
}

/* =====================================================
   BREADCRUMB
===================================================== */

.breadcrumb {
    margin-left: 90px;
    margin-top: 10px;
}

.breadcrumb a {
    text-decoration: none;
    color: #36533d;
}

.breadcrumb-separador {
    margin: 0 8px;
    color: #6b6259;
}


/* =====================================================
   PAGINA DE PRODUTO
===================================================== */

.produto-detalhe {
    width: 90%;
    margin: 60px auto;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.produto-imagem img {
    width: 100%;
    border-radius: 10px;
    transition: transform .3s ease;
}

.produto-imagem img:hover {
    transform: scale(1.02);
}

.preco {
    font-size: 32px;
    font-weight: 700;
    color: #36533d;
}

.estoque-produto {
    margin: 8px 0 16px;
    color: #2f4f3f;
    font-weight: bold;
}

.produto-indisponivel {
    background: #999;
    cursor: not-allowed;
}

.produto-indisponivel:hover {
    background: #999;
    transform: none;
    box-shadow: none;
}


/* =====================================================
   SELECAO DE TAMANHO
===================================================== */

.tamanhos {
    display: flex;
    gap: 10px;
}

.tamanhos input {
    display: none;
}

.tamanhos label {
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 50%;
    cursor: pointer;
    transform: .2s;
    margin-bottom: 15px;
    transition: all .2s ease;
}

.tamanhos label:hover {
    background: #44684d;
    color: white;
}

.tamanhos input:checked + label {
    background-color: #36533d;
    color: white;
    border-color: #36533d;
}


/* =====================================================
   AVISO DE TAMANHO
===================================================== */

.aviso-tamanho {
    display: none;
    margin-bottom: 12px;
    padding: 12px;
    border-radius: 8px;
    background: rgb(195, 61, 61);
    border: 1px solid rgb(195, 61, 61);
    color: white;
    font-size: 14px;
    text-align: center;
}

.aviso-tamanho.ativo {
    display: block;
}


/* =====================================================
   BOTAO ADICIONAR AO CARRINHO
===================================================== */

.btn-comprar {
    width: 100%;
    padding: 15px 25px;
    border: none;
    border-radius: 8px;
    background: #36533d;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: all .3s ease;
}

.btn-comprar:hover {
    background: #44684d;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(54, 83, 61, .25);
}


/* =====================================================
   ICONE E CONTADOR DO CARRINHO NO MENU
===================================================== */

.carrinho-link {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.carrinho-link img {
    width: 28px;
    height: 28px;
}

#contador-carrinho {
    position: absolute;
    top: -8px;
    right: -8px;

    width: 20px;
    height: 20px;

    border-radius: 50%;
    background: crimson;
    color: white;

    font-size: 12px;
    font-weight: bold;

    display: flex;
    align-items: center;
    justify-content: center;
}


/* =====================================================
   CARRINHO
===================================================== */

.carrinho-page {
    width: 90%;
    margin: 40px auto 80px;
}

.carrinho-page h2 {
    color: #2f4f3f;
    font-size: 34px;
    margin-bottom: 30px;
}

#carrinho-area {
    background: white;
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 4px 14px rgba(0,0,0,.10);
}

.item-carrinho {
    display: grid;
    grid-template-columns: auto 120px 1fr;
    align-items: center;
    gap: 22px;

    padding: 22px 0;
    border-bottom: 1px solid #eee;
}

.item-carrinho:last-child {
    border-bottom: none;
}

.item-carrinho input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.item-carrinho img {
    width: 120px;
    height: 150px;

    object-fit: cover;
    border-radius: 10px;
}

.info-produto h3 {
    color: #2f4f3f;
    margin: 0 0 8px;
    font-size: 20px;
}

.info-produto p {
    margin: 6px 0;
    color: #111;
}

.estoque-carrinho {
    margin: 6px 0;
    color: #2f4f3f;
    font-size: 14px;
    font-weight: bold;
}

/* =====================================================
   BOTOES DO CARRINHO
===================================================== */

.controles-carrinho {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-top: 14px;
}

.controles-carrinho button {
    width: 34px;
    height: 34px;

    border: none;
    border-radius: 8px;

    background: #efe7de;
    color: #2f4f3f;

    font-size: 18px;
    font-weight: bold;

    cursor: pointer;

    transition: .2s ease;
}

.controles-carrinho button:hover {
    background: #2f4f3f;
    color: white;
}

.controles-carrinho span {
    min-width: 28px;
    text-align: center;
    font-weight: bold;
}

/* Botao excluir */
.btn-remover {
    width: auto !important;
    height: 34px;

    padding: 0 14px;

    background: #efe7de !important;
    color: #2f4f3f !important;

    border: none;
    border-radius: 8px;

    font-size: 14px !important;
    font-weight: bold;

    cursor: pointer;

    transition: .2s ease;
}

.btn-remover:hover {
    background: #2f4f3f !important;
    color: white !important;
}

/* Botao finalizar compra */
#finalizar-compra {
    width: 100%;
    max-width: 280px;

    padding: 14px;

    background: #2f4f3f;
    color: white;

    border: none;
    border-radius: 8px;

    font-weight: bold;
    cursor: pointer;

    transition: .2s ease;
}

#finalizar-compra:hover {
    background: #253f32;
}


/* =====================================================
   CARRINHO - MOBILE
===================================================== */

@media (max-width: 600px) {
    .carrinho-page {
        width: 92%;
        margin: 30px auto 60px;
    }

    .carrinho-page h2 {
        font-size: 28px;
        text-align: center;
        margin-bottom: 24px;
    }

    #carrinho-area {
        width: 100%;
        padding: 18px;
        border-radius: 14px;
    }

    .item-carrinho {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 16px;

        padding: 20px 0;
        text-align: center;
    }

    .item-carrinho input[type="checkbox"] {
        width: 18px;
        height: 18px;
        align-self: flex-start;
    }

    .item-carrinho img {
        width: 100%;
        max-width: 190px;
        height: 230px;

        object-fit: cover;
        border-radius: 12px;
    }

    .info-produto {
        width: 100%;
    }

    .info-produto h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .info-produto p {
        font-size: 15px;
        margin: 6px 0;
    }

    .estoque-carrinho {
        font-size: 14px;
        margin: 8px 0 12px;
    }

    .controles-carrinho {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;

        margin-top: 16px;
    }

    .controles-carrinho button {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }

    .controles-carrinho span {
        min-width: 30px;
        font-size: 16px;
    }

    .btn-remover {
        width: 100% !important;
        max-width: 160px;

        height: 38px;
        padding: 0 12px;
        
        font-size: 14px !important;
    }

    .resumo-carrinho {
        margin-top: 22px;
        padding-top: 22px;

        text-align: center;
    }

    .resumo-carrinho h3 {
        font-size: 22px;
    }

    #finalizar-compra {
        width: 100%;
        max-width: none;

        padding: 14px;
        font-size: 15px;
    }
}

/* =====================================================
   ITEM DO CARRINHO
===================================================== */

.item-carrinho {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 18px;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
}

.item-carrinho img {
    width: 110px;
    height: 140px;
    object-fit: cover;
    border-radius: 10px;
}

.info-produto {
    flex: 1;
}

.estoque-carrinho {
    margin: 6px 0;
    color: #2f4f3f;
    font-size: 14px;
    font-weight: bold;
}

.selecionar-produto {
    width: 20px;
    height: 20px;
    cursor: pointer;
}


/* =====================================================
   CONTROLES DO CARRINHO
===================================================== */

.controles-carrinho {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
}

.controles-carrinho button {
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
}

.btn-quantidade {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
}

.diminuir,
.aumentar {
    width: 34px;
    height: 34px;
}

.diminuir:hover,
.aumentar:hover {
    background: #2f4f3f;
    color: white;
}

.btn-remover {
    background: #f1ebe5;
    color: #2f4f3f;
}

.btn-remover:hover {
    transform: translateY(2px);
    background: #36533d;
    color: white;
}


/* =====================================================
   BOTAO FINALIZAR COMPRA NO CARRINHO
===================================================== */

#finalizar-compra {
    width: 100%;
    margin-top: 20px;
    padding: 14px;

    border: none;
    border-radius: 8px;

    background: #2f4f3f;
    color: white;

    cursor: pointer;
}

#finalizar-compra:hover {
    transform: translateY(2px);
    background: #36533d;
    color: white;
}


/* =====================================================
   DRAWER LATERAL DO CARRINHO
===================================================== */

.drawer-carrinho {
    position: fixed;
    top: 0;
    right: -420px;

    width: 400px;
    max-width: 90vw;
    height: 100vh;

    background: white;
    z-index: 3000;

    padding: 28px;

    box-shadow: -4px 0 18px rgba(0,0,0,.18);

    transition: right .3s ease;

    overflow-y: auto;
}

.drawer-carrinho.ativo {
    right: 0;
}

.drawer-carrinho-topo {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 24px;
}

.drawer-carrinho-topo h3 {
    color: #2f4f3f;
    font-size: 20px;
    margin: 0;
}

#fechar-drawer {
    border: none;
    background: transparent;

    font-size: 26px;
    cursor: pointer;

    color: #111;
}

.drawer-produto-item {
    display: flex;
    align-items: center;
    gap: 14px;

    margin-bottom: 28px;
}

.drawer-produto-item img {
    width: 74px;
    height: 90px;

    object-fit: cover;
    border-radius: 8px;
}

.drawer-produto-item h4 {
    color: #2f4f3f;
    margin: 0 0 8px;
}

.drawer-produto-item p {
    margin: 5px 0;
    color: #111;
}

.drawer-acoes {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

#continuar-comprando {
    width: 100%;

    padding: 13px;

    background: white;
    color: #2f4f3f;

    border: 1px solid #2f4f3f;
    border-radius: 8px;

    font-weight: bold;
    cursor: pointer;
}

#continuar-comprando:hover {
    background: #f1ebe5;
}

.drawer-acoes a {
    display: block;

    width: 100%;
    padding: 13px;

    background: #2f4f3f;
    color: white;

    text-align: center;
    text-decoration: none;

    border-radius: 8px;
    font-weight: bold;
}

.drawer-acoes a:hover {
    background: #253f32;
}


/* =====================================================
   DRAWER DO CARRINHO - MOBILE
===================================================== */

@media (max-width: 600px) {
    .drawer-carrinho {
        top: 50%;
        left: 50%;
        right: auto;

        width: calc(100% - 32px);
        max-width: 340px;
        height: auto;
        max-height: 82vh;

        padding: 22px;

        border-radius: 16px;

        transform: translate(-50%, -50%) scale(.96);

        opacity: 0;
        pointer-events: none;

        box-shadow: 0 8px 28px rgba(0,0,0,.25);

        transition: opacity .25s ease, transform .25s ease;

        overflow-y: auto;
    }

    .drawer-carrinho.ativo {
        right: auto;

        opacity: 1;
        pointer-events: auto;

        transform: translate(-50%, -50%) scale(1);
    }

    .drawer-carrinho-topo {
        margin-bottom: 20px;
    }

    .drawer-carrinho-topo h3 {
        font-size: 18px;
        line-height: 1.3;
    }

    #fechar-drawer {
        font-size: 24px;
    }

    .drawer-produto-item {
        gap: 12px;
        margin-bottom: 22px;
    }

    .drawer-produto-item img {
        width: 64px;
        height: 78px;
    }

    .drawer-produto-item h4 {
        font-size: 15px;
        margin-bottom: 6px;
    }

    .drawer-produto-item p {
        font-size: 14px;
        margin: 4px 0;
    }

    .drawer-acoes {
        gap: 12px;
    }

    #continuar-comprando,
    .drawer-acoes a {
        padding: 12px;
        font-size: 14px;
    }
}


/* =====================================================
   CHECKOUT - LAYOUT
===================================================== */

.checkout-page {
    width: 90%;
    margin: 30px auto;
}

.checkout-container {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr;
    gap: 30px;
    align-items: flex-start;
}

.checkout-card,
.dados-cliente,
.resumo-checkout {
    background: white;
    padding: 28px;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
}

.checkout-card h3,
.dados-cliente h3,
.resumo-checkout h3 {
    margin-bottom: 16px;
    color: #2f4f3f;
}

.dados-cliente {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.resumo-checkout {
    flex: 1;
    position: sticky;
    top: 120px;
}

.forma-recebimento,
.forma-pagamento {
    margin-bottom: 0;
}

.opcoes-recebimento,
.opcoes-pagamento {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.opcao-recebimento,
.opcao-pagamento {
    flex: 1;
    min-width: 180px;

    display: flex;
    align-items: center;
    gap: 10px;

    padding: 16px;

    border: 1px solid #ddd;
    border-radius: 12px;

    cursor: pointer;
    transition: 0.2s ease;
}

.opcao-recebimento:has(input:checked),
.opcao-pagamento:has(input:checked) {
    border-color: #2f4f3f;
    background: #f1ebe5;
    color: #2f4f3f;
    font-weight: bold;
}

.dados-entrega,
.frete-area {
    padding-top: 4px;
}

.dados-cliente-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.dados-cliente-form input {
    width: 100%;
    padding: 14px 16px;

    border: 1px solid #d8d8d8;
    border-radius: 8px;

    font-size: 14px;
    box-sizing: border-box;
}

.dados-cliente-form input:focus {
    outline: none;
    border-color: #2f4f3f;
    box-shadow: 0 0 0 3px rgba(47, 79, 63, .12);
}

.btn-salvar-cliente {
    grid-column: span 2;
    padding: 14px;

    border: none;
    border-radius: 8px;

    background: #f1ebe5;
    color: #2f4f3f;

    font-weight: bold;
    cursor: pointer;
}

.retirada-loja-card {
    display: none;
    padding: 18px;

    border: 1px solid #d9d0c8;
    border-radius: 12px;

    background: #f8f5f0;
    color: #2f4f3f;
}

.retirada-loja-card.ativo {
    display: block;
}

.retirada-loja-card p {
    margin: 6px 0;
}

.aviso-retirada {
    margin-top: 12px !important;
    padding-top: 12px;
    border-top: 1px solid #ded4cb;
    font-weight: 700;
}

.mensagem-site {
    position: fixed;
    top: 24px;
    right: 24px;

    max-width: 360px;
    padding: 16px 18px;

    background: #fde2e2;
    color: #8a1f2d;

    border: 1px solid #f5b5b5;
    border-radius: 12px;

    box-shadow: 0 6px 18px rgba(0, 0, 0, .14);

    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;

    z-index: 5000;

    animation: aparecerMensagem .25s ease;
}

.mensagem-info {
    background: #eef5f0;
    color: #2f4f3f;
    border-color: #c7dacd;
}

@keyframes aparecerMensagem {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =====================================================
   CHECKOUT - FORMULARIO ANTIGO
===================================================== */

#form-checkout {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#form-checkout input {
    width: 100%;
    padding: 14px 16px;

    border: 1px solid #d8d8d8;
    border-radius: 8px;

    font-size: 14px;
    box-sizing: border-box;
}

#cep,
#endereco {
    grid-column: span 2;
}


/* =====================================================
   CHECKOUT - RESUMO DO PEDIDO
===================================================== */

.checkout-item {
    display: flex;
    gap: 15px;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid #eee;
}

.checkout-item img {
    width: 80px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
}

.checkout-item h4 {
    color: #2f4f3f;
    margin-bottom: 8px;
}

.checkout-item p {
    margin: 5px 0;
}

#checkout-total {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 2px solid #2f4f3f;
    color: #2f4f3f;
}

#checkout-total p {
    display: flex;
    justify-content: space-between;
    gap: 12px;

    margin: 8px 0;
    color: #333;
    font-size: 15px;
}

#checkout-total h3 {
    margin-top: 16px;
    margin-bottom: 0;
    font-size: 22px;
}


/* =====================================================
   CHECKOUT - FRETE
===================================================== */

#calcular-frete {
    width: 100%;
    margin-top: 14px;
    padding: 14px;

    border: none;
    border-radius: 8px;

    background: #f1ebe5;
    color: #2f4f3f;

    font-size: 15px;
    font-weight: bold;

    cursor: pointer;
    transition: 0.2s ease;
}

#calcular-frete:hover {
    background: #2f4f3f;
    color: white;
}

.cep-frete {
    margin-top: 14px;
    font-size: 14px;
    color: #2f4f3f;
}

.opcao-frete {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-top: 10px;
    padding: 14px;

    border: 1px solid #ddd;
    border-radius: 8px;

    cursor: pointer;
    transition: 0.2 ease;
}

.opcao-frete:hover {
    border-color: #2f4f3f;
    background: #fafafa;
}

.opcao-frete p {
    margin: 4px 0 0;
}


/* =====================================================
   CHECKOUT - BOTAO PAGAR
===================================================== */

#botao-pagar {
    grid-column: span 2;
    padding: 14px;

    border: none;
    border-radius: 8px;

    cursor: pointer;
}

.botao-pagar {
    width: 100%;
    margin-top: 20px;
    padding: 14px;

    border: none;
    border-radius: 8px;

    background: #2f4f3f;
    color: white;

    font-weight: bold;
    cursor: pointer;

    transition: 0.2s ease;
}

.botao-pagar:hover {
    background: #243f32;
}

.botao-desativado {
    opacity: .6;
    cursor: not-allowed !important;
}

/* =====================================================
   DADOS DE ENTREGA - CARD
===================================================== */

.dados-entrega-resumo {
    padding: 18px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fafafa;
    margin-bottom: 16px;
}

.dados-entrega-resumo p {
    margin: 6px 0;
}

.endereco-card-topo {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.endereco-info {
    flex: 1;
}

.endereco-info p {
    margin: 6px 0;
}


/* =====================================================
   DADOS DE ENTREGA - BOTOES
===================================================== */

.btn-adicionar-endereco,
.btn-editar-endereco {
    width: 100%;
    padding: 14px;

    border: none;
    border-radius: 8px;

    background: #2f4f3f;
    color: white;

    font-weight: bold;
    cursor: pointer;
}

.btn-editar-endereco {
    width: 100%;
    margin-top: 14px;
    padding: 12px;

    border: none;
    border-radius: 8px;

    background: #f1ebe5;
    color: #2f4f3f;

    font-weight: bold;
    cursor: pointer;
}

.btn-remover-endereco-icon {
    width: 32px;
    height: 32px;

    border: none;
    border-radius: 50%;

    background: #f8d7da;
    color: #842029;

    font-size: 20px;
    font-weight: bold;
    line-height: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
}

.btn-remover-endereco-icon:hover {
    background: #842029;
    color: white;
}


/* =====================================================
   POPUP DE ENTREGA
===================================================== */

.popup-entrega {
    position: fixed;
    inset: 0;

    background: rgba(0, 0, 0, .45);

    opacity: 0;
    visibility: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 9999;
    transition: .3s ease;
}

.popup-entrega.ativo {
    opacity: 1;
    visibility: visible;
}

.popup-entrega-conteudo {
    position: relative;

    width: 520px;
    max-width: 90%;
    max-height: 90vh;
    overflow-y: auto;

    background: white;
    padding: 28px;

    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
}

.fechar-popup-entrega {
    position: absolute;
    top: 14px;
    right: 18px;

    border: none;
    background: none;

    font-size: 28px;
    cursor: pointer;
}


/* =====================================================
   FORMULARIO DE ENTREGA
===================================================== */

#form-entrega {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

#form-entrega input {
    width: 100%;
    padding: 14px 16px;

    border: 1px solid #ddd;
    border-radius: 8px;

    box-sizing: border-box;
}

#form-entrega input:focus {
    outline: none;
    border-color: #2f4f3f;
}

#salvar-entrega {
    padding: 14px;

    border: none;
    border-radius: 8px;

    background: #2f4f3f;
    color: white;

    font-weight: bold;
    cursor: pointer;
}

/* =====================================================
    PAGINA PEDIDO CONFIRMADO
===================================================== */

.pedido-confirmado-page{
    width: 90%;
    margin: 40px auto 80px;
}

.pedido-card {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 32px;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(0,0,0,.12);
}

/* =====================================================
    MENSAGEM DE SUCESSO
===================================================== */

.pedido-sucesso {
    padding: 28px;
    margin-bottom: 30px;
    border-radius: 14px;
    background: #f1ebe5;
    text-align: center;
}

.pedido-sucesso h2{
    color: #2f4f3f;
    margin-bottom: 10px;
    font-size: 30px;
}

.pedido-sucesso p {
    font-size: 16px;
    color: #333;
}

/* =====================================================
    BLOCOS DE INFORMACAO DO PEDIDO
===================================================== */

.pedido-info {
    padding: 22px 0;
    border-bottom: 1px solid #eee;
}

.pedido-info h3{
    color: #2f4f3f;
    margin-bottom: 14px;
    font-size: 20px;
}

.pedido-info p{
    margin: 6px 0;
    font-size: 15px;
}

/* =====================================================
    PRODUTOS DO PEDIDO
===================================================== */

.pedido-produto {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 18px;
    padding: 14px;
    border-radius: 12px;
    background: #fafafa;
}

.pedido-produto img {
    width: 90px;
    height: 110px;
    object-fit: cover;
    border-radius: 10px;
}

.pedido-produto h4{
    color: #2f4f3f;
    margin-bottom: 8px;
}

.pedido-produto p{
    margin: 5px 0;
}

/* =====================================================
    TOTAL DO PEDIDO
===================================================== */

.pedido-total {
    margin-top: 26px;
    padding: 24px;
    border-radius: 14px;
    background: #fafafa;
    border-top: 3px solid #2f4f3f;
}

.pedido-total p {
    margin: 8px 0;
    font-size: 16px;
}

.pedido-total h3{
    margin-top: 14px;
    color: #2f4f3f;
    font-size: 24;
}

/* =====================================================
   BOTOES DA PAGINA DE PEDIDO
===================================================== */

.pedido-acoes{
    margin-top: 30px;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.btn-voltar-loja,
.btn-meus-pedidos{
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    background: #2f4f3f;
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: 0.2s ease;
}

.btn-voltar-loja:hover,
.btn-meus-pedidos:hover{
    background: #243f32;
    transform: translateY(-2px);
}

.btn-ver-detalhes-pedido{
    margin-top: 12px;
    padding: 10px 18px;
    border: none;
    border-radius: 8px;
    background:#2f4f3f;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transform: 0.2s ease;
}

.btn-ver-detalhes-pedido:hover{
    background:#243f32;
}

/* =====================================================
   MEUS PEDIDOS
===================================================== */

.meus-pedidos-page {
    width: 90%;
    margin: 40px auto 80px;
}

.meus-pedidos-page h2{
    color: #2f4f3f;
    margin-bottom: 28px;
}

.lista-pedidos{
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.pedido-historico-card{
    background: white;
    padding: 24px;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(0,0,0,.12);
}

.pedido-historico-topo{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.pedido-historico-topo h3{
    color: #2f4f3f;
    margin-bottom: 8px;
}

.pedido-historico-topo p{
    margin: 5px 0;
}

.pedido-historico-total{
    font-size: 22px;
    color: #2f4f3f;
    font-weight: bold;
}

.pedido-historico-produtos{
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #eee;
}

.sem-pedidos{
    background: white;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(0,0,0,.12);
}

.sem-pedidos a{
    color: #2f4f3f;
    font-weight: bold;
}

.meus-pedidos-topo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.meus-pedidos-topo h2{
    margin: 0;
}

#limpar-historico-pedidos {
    padding: 12px 18px;
    border: none;
    border-radius: 8px;
    background: #f8d7da;
    color: #842029;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s ease;
}

#limpar-historico-pedidos:hover {
    background: #842029;
    color: white;
}

.status-pedido {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
}

.status-pendente {
    background: #fff3cd;
    color: #856404;
}

/* =====================================================
   PAGINA DE CATEGORIA
===================================================== */

.categoria-page {
    width: 90%;
    margin: 30px auto 80px;
}

/* HERO DA CATEGORIA */

.categoria-hero {
    min-height: 190px;

    display: flex;
    align-items: center;

    padding: 34px;

    border-radius: 18px;
    background: linear-gradient(135deg, #f1ebe5, #ffffff);

    box-shadow: 0 4px 14px rgba(0, 0, 0, .08);

    margin-bottom: 30px;
}

.categoria-hero h2 {
    font-size: 42px;
    color: #2f4f3f;
    margin: 10px 0;
}

.categoria-hero p {
    max-width: 540px;
    font-size: 17px;
    line-height: 1.6;
    color: #4f4f4f;
}

.categoria-tag {
    display: inline-block;

    padding: 8px 14px;

    border-radius: 999px;
    background: #2f4f3f;
    color: white;

    font-size: 13px;
    font-weight: bold;
    letter-spacing: .5px;
}

/* BARRA DA CATEGORIA */

.categoria-barra {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 28px;
}

.categoria-barra p {
    color: #2f4f3f;
    font-weight: bold;
}

.categoria-barra select {
    padding: 10px 14px;

    border: 1px solid #ddd;
    border-radius: 8px;

    background: white;
    color: #2f4f3f;

    font-weight: 500;
    cursor: pointer;
}

/* GRID DE PRODUTOS */

.categoria-produtos {
    width: 100%;
    margin-top: 0;
}

.categoria-produtos .produtos-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    justify-content: initial;
}

.categoria-produtos .produto-link {
    width: 100%;
}

.categoria-produtos .produto-card {
    height: auto;

    border-radius: 16px;
    background: white;

    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .10);

    transition: .25s ease;
}

.categoria-produtos .produto-link:hover .produto-card {
    transform: translateY(-8px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .16);
}

/* IMAGEM DO PRODUTO */

.produto-img-area {
    width: 100%;
    height: 320px;
    overflow: hidden;
    background: #f1ebe5;
}

.categoria-produtos .produto-card img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    display: block;

    transition: .35s ease;
}

.categoria-produtos .produto-link:hover img {
    transform: scale(1.05);
}

/* INFORMACOES DO PRODUTO */

.produto-card-info {
    padding: 16px;
}

.produto-categoria {
    display: inline-block;

    margin-bottom: 8px;

    font-size: 13px;
    color: #6b6b6b;
}

.produto-card-info h3 {
    margin: 0 0 10px;
    color: #2f4f3f;
    font-size: 18px;
    margin-bottom: 8px;
}

.produto-preco {
    margin: 0;

    color: #111;
    font-size: 17px;
    font-weight: bold;
}

/* PAGINA VAZIA */

.categoria-vazia {
    background: white;
    padding: 45px;
    border-radius: 16px;    
    box-shadow: 0 4px 14px rgba(0,0,0,.10);
    text-align: center;
}

.categoria-vazia h3{
    color: #2f4f3f;
    font-size: 24px;
    margin-bottom: 10px;
}

.categoria-vazia p{
    color: #555;
    margin-bottom: 24px;
}

/* =====================================================
   LAYOUT CATEGORIA COM FILTROS LATERAIS
===================================================== */

.categoria-conteudo {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 28px;
    align-items: flex-start;
}

.categoria-listagem {
    min-width: 0;
}

.filtros-box {
    position: sticky;
    top: 120px;

    background: white;
    padding: 22px;

    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(0,0,0,.08);
}

.filtros-box h3 {
    color: #2f4f3f;
    margin-bottom: 18px;
}

.categoria-filtros {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.filtro-grupo {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filtro-grupo label {
    color: #2f4f3f;
    font-weight: bold;
    font-size: 14px;
}

#pesquisa-produto,
#ordenar-produtos,
.filtro-preco input {
    width: 100%;
    padding: 12px 14px;

    border: 1px solid #ddd;
    border-radius: 8px;

    background: white;
    color: #2f4f3f;

    font-size: 14px;
}

#pesquisa-produto:focus,
#ordenar-produtos:focus,
.filtro-preco input:focus {
    outline: none;
    border-color: #2f4f3f;
}

.filtro-preco {
    display: flex;
    gap: 8px;
}

.filtro-preco input {
    width: 50%;
}

.filtro-tamanhos {
    display: flex;
    gap: 8px;
}

.filtro-tamanhos label {
    width: 42px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #ddd;
    border-radius: 8px;

    background: #fafafa;
    color: #2f4f3f;

    cursor: pointer;
    transition: 0.2s ease;
}

.filtro-tamanhos input {
    display: none;
}

.filtro-tamanhos label:has(input:checked) {
    background: #2f4f3f;
    color: white;
    border-color: #2f4f3f;
}

.filtro-cores {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filtro-cores label {
    padding: 8px 12px;

    border: 1px solid #ddd;
    border-radius: 8px;

    background: #fafafa;
    color: #2f4f3f;

    cursor: pointer;
    font-size: 14px;
    transition: 0.2s ease;
}

.filtro-cores input {
    display: none;
}

.filtro-cores label:has(input:checked) {
    background: #2f4f3f;
    color: white;
    border-color: #2f4f3f;
}

.btn-aplicar-filtros {
    width: 100%;
    padding: 12px;

    background: #2f4f3f;
    color: white;

    border: none;
    border-radius: 8px;

    font-weight: bold;
    cursor: pointer;
    transition: 0.2s ease;
}

.btn-aplicar-filtros:hover {
    background: #253f32;
}

.btn-limpar-filtros {
    display: none;
    width: 100%;
    padding: 12px 16px;

    border: none;
    border-radius: 8px;

    background: #f1ebe5;
    color: #2f4f3f;

    font-weight: bold;
    cursor: pointer;

    transition: 0.2s ease;
}

.btn-limpar-filtros.ativo {
    display:block;
}

.btn-limpar-filtros:hover {
    background: #2f4f3f;
    color: white;
}

/* FILTROS ATIVOS */

.filtros-ativos {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    margin-top: 16px;
}

.filtro-ativo {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    padding: 7px 10px;

    border-radius: 999px;
    background: #f1ebe5;
    color: #2f4f3f;

    font-size: 13px;
    font-weight: bold;
}

.filtro-ativo button {
    border: none;
    background: none;
    color: #842029;

    font-weight: bold;
    cursor: pointer;
}

.produto-link.escondido {
    display: none;
}

#ordenar-produtos-principal,
#ordenar-produtos-secundario {
    width: 100%;
    padding: 12px 14px;

    border: 1px solid #ddd;
    border-radius: 8px;

    background: white;
    color: #2f4f3f;

    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

#ordenar-produtos-principal:focus,
#ordenar-produtos-secundario:focus {
    outline: none;
    border-color: #2f4f3f;
}

/* =====================================================
   PAGINA DE RESULTADOS DE BUSCA
===================================================== */

.resultados-page {
    width: 90%;
    min-height: 70vh;
    margin: 40px auto 80px;
}

.resultados-listagem {
    min-width: 0;
}

.resultados-topo {
    background: linear-gradient(135deg, #f1ebe5, #ffffff);
    padding: 38px;
    border-radius: 18px;
    box-shadow: 0 4px 14px rgba(0,0,0,.08);
    margin-bottom: 32px;
}

.resultados-topo h2 {
    color: #2f4f3f;
    font-size: 36px;
    margin: 14px 0 8px;
}

.resultados-topo p {
    color: #555;
    font-size: 16px;
}

/* LISTAGEM DOS PRODUTOS */

.resultados-produtos {
    width: 100%;
    margin-top: 0;
}

.resultados-produtos .produtos-container {
    width: 100%;

    display: grid;
    grid-template-columns: repeat(3, minmax(240px, 1fr));
    gap: 28px;

    align-items: start;
}

/* CARD DO PRODUTO NOS RESULTADOS */

.resultados-produtos .produto-link {
    width: 100%;
    display: block;

    text-decoration: none;
    color: inherit;
}

.categoria-produtos .produto-link.escondido,
.loja-produtos .produto-link.escondido,
.resultados-produtos .produto-link.escondido {
    display: none;
}

.resultados-produtos .produto-card {
    width: 100%;
    height: auto;

    background: white;
    border-radius: 12px;
    overflow: hidden;

    box-shadow: 0 4px 14px rgba(0,0,0,.08);

    transition: .2s ease;
}

.resultados-produtos .produto-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,.12);
}

.resultados-produtos .produto-img-area {
    width: 100%;
    height: 360px;

    overflow: hidden;
}

.resultados-produtos .produto-img-area img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    display: block;
}

.resultados-produtos .produto-card-info {
    padding: 16px;
}

.resultados-produtos .produto-categoria {
    display: block;

    margin-bottom: 6px;

    color: #777;
    font-size: 13px;
}

.resultados-produtos .produto-card-info h3 {
    color: #2f4f3f;
    margin: 0 0 8px;

    font-size: 18px;
}

.resultados-produtos .produto-preco {
    color: #000;
    font-weight: bold;
    font-size: 16px;
}

/* RESULTADO VAZIO */

.resultados-vazio {
    grid-column: 1 / -1;

    background: white;
    padding: 40px;

    border-radius: 16px;
    box-shadow: 0 4px 14px rgba(0,0,0,.08);

    text-align: center;
}

.resultados-vazio h3 {
    color: #2f4f3f;
    margin-bottom: 10px;
}

.resultados-vazio p {
    color: #555;
    margin-bottom: 22px;
}

.resultados-vazio a {
    display: inline-block;

    padding: 12px 18px;

    background: #2f4f3f;
    color: white;

    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
}

/* =====================================================
   RODAPE
===================================================== */

.footer {
    margin-top: 80px;
    background: #2f4f3f;
    color: white;
}

.footer-container {
    width: 90%;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding: 45px 0;
}

.footer-coluna h3 {
    font-family: "Lora", serif;
    font-size: 34px;
    margin: 0 0 14px;
}

.footer-coluna h4 {
    margin: 0 0 14px;
    font-size: 18px;
}

.footer-coluna p {
    max-width: 420px;
    line-height: 1.6;
    color: #f1ebe5;
}

.footer-coluna a {
    display: block;

    margin-bottom: 10px;

    color: #f1ebe5;
    text-decoration: none;

    transition: .2s ease;
}

.footer-coluna a:hover {
    color: white;
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.18);
    text-align: center;
    padding: 16px;
    color: #f1ebe5;
    font-size: 14px;
}

/* Icones do rodape */
.footer-coluna a {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-coluna a img {
    width: 25px;
    height: 25px;
    object-fit: contain;
}

/* =====================================================
   ESTADO VAZIO
===================================================== */

.estado-vazio {
    width: 100%;
    max-width: 680px;

    margin: 50px auto 80px;
    padding: 45px 30px;

    background: white;

    border-radius: 16px;
    box-shadow: 0 4px 14px rgba(0,0,0,.08);

    text-align: center;
}

.estado-vazio h3 {
    color: #2f4f3f;
    font-size: 24px;
    margin-bottom: 12px;
}

.estado-vazio p {
    color: #555;
    line-height: 1.5;
    margin-bottom: 24px;
}

.estado-vazio a {
    display: inline-block;

    padding: 12px 18px;

    background: #2f4f3f;
    color: white;

    text-decoration: none;
    border-radius: 8px;

    font-weight: bold;

    transition: .2s ease;
}

.estado-vazio a:hover {
    background: #253f32;
}

.produtos-container .estado-vazio,
.categoria-produtos .produtos-container .estado-vazio,
.loja-produtos .produtos-container .estado-vazio,
.resultados-produtos .produtos-container .estado-vazio {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(100%, 500px);
    max-width: 500px;
    margin: 24px auto 34px;
    padding: 42px 34px;
    text-align: center;
}

.produtos-container .estado-vazio h3,
.produtos-container .estado-vazio p,
.categoria-produtos .produtos-container .estado-vazio h3,
.categoria-produtos .produtos-container .estado-vazio p,
.loja-produtos .produtos-container .estado-vazio h3,
.loja-produtos .produtos-container .estado-vazio p,
.resultados-produtos .produtos-container .estado-vazio h3,
.resultados-produtos .produtos-container .estado-vazio p {
    text-align: center;
}

.produtos-container .estado-vazio a,
.categoria-produtos .produtos-container .estado-vazio a,
.loja-produtos .produtos-container .estado-vazio a,
.resultados-produtos .produtos-container .estado-vazio a {
    margin: 0 auto;
}


/* =====================================================
   PRODUTO NAO ENCONTRADO
===================================================== */

.produto-detalhe-vazio {
    display: block !important;

    width: 90%;
    max-width: 900px;

    margin: 40px auto 90px;
}

.produto-detalhe-vazio .estado-vazio {
    margin-left: auto;
    margin-right: auto;
}

/* =====================================================
   CHECKOUT - RETIRADA NA LOJA
===================================================== */

body.checkout-retirada .dados-entrega,
body.checkout-retirada .frete-area,
body.checkout-retirada #dados-entrega-resumo,
body.checkout-retirada #abrir-popup-entrega,
body.checkout-retirada #calcular-frete,
body.checkout-retirada #opcoes-frete,
body.checkout-retirada #resultado-frete {
    display: none !important;
}

body.checkout-retirada .retirada-loja-card {
    display: block !important;
}

/* =====================================================
   ESTADO VAZIO - MOBILE
===================================================== */

@media (max-width: 600px) {
    .estado-vazio {
        width: 92%;
        margin: 35px auto 60px;
        padding: 34px 22px;
    }

    .estado-vazio h3 {
        font-size: 21px;
    }

    .estado-vazio p {
        font-size: 15px;
    }

    .estado-vazio a {
        width: 100%;
        max-width: 240px;
        padding: 12px;
    }

    .produtos-container .estado-vazio,
    .categoria-produtos .produtos-container .estado-vazio,
    .loja-produtos .produtos-container .estado-vazio,
    .resultados-produtos .produtos-container .estado-vazio {
        width: 100%;
        margin: 18px auto 28px;
        padding: 32px 20px;
    }

    .produto-detalhe-vazio {
        width: 92%;
        margin: 30px auto 70px;
    }
}

/* =====================================================
   RESPONSIVIDADE
===================================================== */

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}


/* =====================================================
   CATEGORIAS NA HOME - RESPONSIVO
===================================================== */

@media (max-width: 900px) {
    .categorias-home-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .hero-banner-progress-list {
        margin-top: 8px;
        gap: 6px;
    }

    .hero-banner-progress-item {
        height: 4px;
    }

    .categorias-home {
        width: 92%;
        margin: 45px auto 60px;
    }

    .categorias-home-topo h2 {
        font-size: 28px;
    }

    .categorias-home-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .categoria-home-card {
        height: 260px;
    }

    .categoria-home-card h3 {
        font-size: 22px;
    }
}

/* =====================================================
   DESTAQUES DA HOME - RESPONSIVO
===================================================== */

@media (max-width: 1100px) {
    .produtos {
        width: 90%;
    }

    .produtos-container {
        grid-template-columns: repeat(3, minmax(220px, 1fr));
        gap: 24px;
    }

    .produto-img-area {
        height: 320px;
    }
}

@media (max-width: 900px) {
    .produtos-container {
        grid-template-columns: repeat(2, minmax(240px, 1fr));
    }

    .produto-img-area {
        height: 330px;
    }
}

@media (max-width: 600px) {
    .produtos {
        width: 92%;
        margin: 50px auto 65px;
    }

    .produtos h2 {
        font-size: 28px;
        margin-bottom: 28px;
    }

    .produtos-container {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .produto-img-area {
        height: 360px;
    }

    .produto-card-info {
        padding: 15px 16px 17px;
    }

    .produto-card-info h3 {
        font-size: 18px;
    }

    .produto-preco {
        font-size: 16px;
    }
}

/* =====================================================
   TABLET
===================================================== */

@media (max-width: 900px) and (min-width: 601px) {
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    .top-container {
        width: 100%;
        max-width: 100%;

        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 24px;

        padding: 14px 28px;

        overflow-x: hidden;
        box-sizing: border-box;
    }

    .logo {
        flex: 0 0 170px;
        width: auto;

        display: flex;
        justify-content: flex-start;
        align-items: center;
    }

    .logo h1 {
        font-size: 44px;
        margin: 0;
        text-align: left;
    }

    .menu {
        flex: 1;
        width: auto;
        max-width: 100%;
    }

    .menu > ul {
        width: 100%;
        max-width: 100%;

        display: grid;
        grid-template-columns: auto minmax(260px, 1fr) auto;
        align-items: center;

        gap: 22px;

        padding: 0;
        margin: 0;

        list-style: none;
    }

    .menu-dropdown {
        width: auto;
        display: flex;
        justify-content: center;
    }

    .menu > ul > li > a {
        font-size: 18px;
        white-space: nowrap;
    }

    .menu-pesquisa {
        width: 100%;
        min-width: 0;
        max-width: none;

        display: flex;
        justify-content: center;
    }

    .pesquisa-menu-box {
        width: 100%;
        max-width: 100%;
        height: 42px;

        display: flex;
        align-items: center;

        box-sizing: border-box;
        overflow: hidden;
    }

    #pesquisa-menu {
        width: 100%;
        min-width: 0;

        flex: 1;

        font-size: 14px;
        padding: 0 14px;

        box-sizing: border-box;
    }

    .btn-pesquisa-menu {
        width: 48px;
        min-width: 48px;
        max-width: 48px;

        flex: 0 0 48px;
    }

    .resultado-pesquisa-menu {
        width: 100%;
        max-width: 100%;
        left: 0;
    }

    .menu-carrinho-dropdown {
        width: auto;

        display: flex;
        justify-content: center;
        align-items: center;
    }

    .carrinho-link {
        display: flex;
        align-items: center;
        justify-content: center;

        position: relative;
    }

    .carrinho-link img {
        width: 28px;
        height: 28px;
    }

    .banner {
        width: 92%;
        max-width: 92%;

        margin: 24px auto 55px;

        overflow: hidden;
    }

    .banner img {
        width: 100%;
        max-width: 100%;

        height: auto;
        display: block;
    }

    .banner-slider {
        width: 92%;
    }

    .banner-slide {
        min-width: 100%;
        width: 100%;
        height: clamp(220px, 48vw, 520px);
        flex: 0 0 100%;
    }

    .categoria-conteudo {
        grid-template-columns: 1fr;
    }

    .filtros-box {
        position: static;

        width: 100%;
        max-width: 100%;
    }

    .produtos-container,
    .categoria-produtos .produtos-container,
    .resultados-produtos .produtos-container {
        width: 92%;
        margin: 0 auto;

        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

    .produto-link {
        width: 100%;
        min-width: 0;
    }

    .produto-card {
        width: 100%;
        min-width: 0;
    }

    .produto-card img,
    .categoria-produtos .produto-card img,
    .produto-img-area img,
    .resultados-produtos .produto-img-area img {
        width: 100%;
        height: 280px;

        object-fit: cover;
        display: block;
    }

    .checkout-container {
        grid-template-columns: 1fr;
    }

    .resumo-checkout {
        position: static;
    }

    .produto-detalhe {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
}


/* =====================================================
   CELULAR
===================================================== */

@media (max-width: 600px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    * {
        box-sizing: border-box;
    }

    .top-container {
        width: 100%;
        max-width: 100%;

        padding: 12px 10px;

        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;

        overflow-x: hidden;
    }

    .logo {
        width: 100%;

        display: flex;
        justify-content: center;
        align-items: center;
    }

    .logo h1 {
        font-size: 34px;
        margin: 0;
        text-align: center;
    }

    .menu {
        width: 100%;
        max-width: 100%;

        display: flex;
        justify-content: center;
    }

    .menu > ul {
        width: 100%;
        max-width: 100%;

        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 9px;

        padding: 0;
        margin: 0;

        list-style: none;
    }

    .menu > ul > li {
        width: 100%;

        display: flex;
        justify-content: center;
        align-items: center;
    }

    .menu > ul > li > a {
        font-size: 16px;
        text-align: center;
    }

    .menu-dropdown {
        width: 100%;

        display: flex;
        justify-content: center;
    }

    .menu-pesquisa {
        width: 100%;
        max-width: 100%;

        padding: 0 12px;

        display: flex;
        justify-content: center;
    }

    .pesquisa-menu-box {
        width: 100%;
        max-width: 280px;
        height: 40px;

        display: flex;
        align-items: center;

        overflow: hidden;
        box-sizing: border-box;
    }

    #pesquisa-menu {
        width: 100%;
        min-width: 0;

        flex: 1;

        padding: 0 10px;

        font-size: 13px;

        box-sizing: border-box;
    }

    .btn-pesquisa-menu {
        width: 40px;
        min-width: 40px;
        max-width: 40px;

        height: 40px;

        flex: 0 0 40px;

        padding: 0;
    }

    .resultado-pesquisa-menu {
        width: calc(100vw - 24px);
        max-width: 280px;

        left: 50%;
        transform: translateX(-50%);

        top: calc(100% + 8px);
    }

    .menu-carrinho-dropdown {
        width: 100%;

        display: flex;
        justify-content: center;
        align-items: center;
    }

    .carrinho-link {
        display: flex;
        align-items: center;
        justify-content: center;

        position: relative;
    }

    .carrinho-link img {
        width: 24px;
        height: 24px;
    }

    .banner {
        width: 92%;
        max-width: 92%;

        margin: 16px auto 30px;

        border-radius: 12px;
        overflow: hidden;
    }

    .banner img {
        width: 100%;
        max-width: 100%;

        height: auto;
        display: block;
    }

    .banner-slide {
        min-width: 100%;
        width: 100%;
        height: clamp(180px, 54vw, 360px);
        flex: 0 0 100%;
    }

    .banner-btn {
        width: 30px;
        height: 30px;

        font-size: 18px;
    }

    .produtos,
    .categoria-page,
    .resultados-page {
        width: 92%;

        margin-left: auto;
        margin-right: auto;
    }

    .produtos h2,
    .categoria-produtos h2,
    .resultados-topo h2,
    .nossa-colecao h2 {
        font-size: 24px;
        line-height: 1.2;

        text-align: center;

        margin-bottom: 18px;
    }

    .produtos-container,
    .categoria-produtos .produtos-container,
    .resultados-produtos .produtos-container {
        width: 100%;

        display: grid;
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .produto-link {
        width: 100%;
        max-width: 100%;
    }

    .produto-card {
        width: 100%;
        max-width: 100%;

        overflow: hidden;
    }

    .produto-card img,
    .categoria-produtos .produto-card img,
    .produto-img-area img,
    .resultados-produtos .produto-img-area img {
        width: 100%;
        height: 260px;

        object-fit: cover;
        display: block;
    }

    .produto-card h3,
    .produto-card-info h3 {
        font-size: 17px;
    }

    .produto-card p,
    .produto-preco {
        font-size: 15px;
    }

    .categoria-conteudo {
        grid-template-columns: 1fr;
    }

    .filtros-box {
        position: static;

        width: 100%;
        max-width: 100%;
    }

    .resultados-topo,
    .politica-hero,
    .sobre-hero {
        padding: 22px;
    }

    .checkout-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .checkout-page {
        width: 94%;
        margin: 20px auto;
    }

    .checkout-card,
    .dados-cliente,
    .resumo-checkout {
        padding: 20px;
        border-radius: 12px;
    }

    .opcoes-recebimento,
    .opcoes-pagamento {
        flex-direction: column;
    }

    .opcao-recebimento,
    .opcao-pagamento {
        width: 100%;
        min-width: 0;
    }

    .dados-cliente-form {
        grid-template-columns: 1fr;
    }

    .btn-salvar-cliente {
        grid-column: span 1;
    }

    .btn-adicionar-endereco,
    .btn-editar-endereco,
    #calcular-frete,
    .botao-pagar {
        width: 100%;
    }

    .checkout-item {
        align-items: flex-start;
    }

    .checkout-item img {
        width: 72px;
        height: 92px;
    }

    .mensagem-site {
        top: 16px;
        right: 16px;
        left: 16px;

        max-width: none;
    }

    .produto-detalhe {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
}
/* =====================================================
   HEADER MOBILE - ACESSO A CARRINHO E MEUS PEDIDOS
===================================================== */

@media (max-width: 600px) {
    .menu-carrinho-dropdown {
        width: 100%;
        flex-direction: column;
        gap: 8px;
    }

    .menu-carrinho-dropdown::after {
        display: none !important;
    }

    .menu-carrinho-dropdown .submenu-carrinho {
        position: static !important;
        display: flex !important;

        width: 100%;
        max-width: 280px;

        padding: 0;
        margin: 4px auto 0;

        background: transparent;
        box-shadow: none;
        border-radius: 0;

        justify-content: center;
        gap: 8px;
    }

    .menu-carrinho-dropdown .submenu-carrinho li {
        width: auto;
    }

    .menu-carrinho-dropdown .submenu-carrinho li a {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;

        width: auto !important;

        padding: 9px 12px;

        border-radius: 999px;
        background: #ffffff;
        color: #2f4f3f;

        font-size: 13px;
        font-weight: 700;

        box-shadow: 0 2px 8px rgba(0,0,0,.08);
    }

    .menu-carrinho-dropdown .submenu-carrinho li a:hover {
        background: #2f4f3f;
        color: white;
    }
}

/* =====================================================
   MEUS PEDIDOS - MOBILE
===================================================== */

@media (max-width: 600px) {
    .meus-pedidos-page {
        width: 92%;
        margin: 30px auto 60px;
    }

    .meus-pedidos-topo {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .meus-pedidos-page h2,
    .meus-pedidos-topo h2 {
        font-size: 28px;
    }

    #limpar-historico-pedidos {
        width: auto;
        padding: 12px 18px;
    }

    .pedido-historico-card {
        padding: 20px;
    }

    .pedido-historico-topo {
        flex-direction: column;
        gap: 14px;
    }

    .pedido-historico-total {
        width: 100%;
        text-align: left;
        font-size: 24px;
    }

    .pedido-historico-topo h3 {
        font-size: 22px;
        line-height: 1.25;
    }

    .pedido-historico-topo p {
        font-size: 16px;
    }

    .pedido-historico-produtos {
        margin-top: 18px;
    }

    .btn-ver-detalhes-pedido {
        width: 100%;
        max-width: 180px;
        padding: 12px 16px;
    }
}

body.checkout-retirada #checkout-entrega-area,
body.checkout-retirada #checkout-frete-area,
body.checkout-retirada #dados-entrega-resumo,
body.checkout-retirada #abrir-popup-entrega,
body.checkout-retirada #calcular-frete,
body.checkout-retirada #opcoes-frete {
    display: none !important;
}

body.checkout-retirada #dados-retirada {
    display: block !important;
}