/* ===============================
   ESTILO DA PÁGINA
   =============================== */

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

body {
    background-color: #F7F2EB;
    height: 100vh;
    font-family: 'Zain', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #202020;
    transition: .5s;
}

.interface {
    max-width: 1200px;
    margin: 0 auto;
}

.flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

h2 {
    font-size: 40px;
    color: #E89AA3;
    text-align: center;
}

.subtitle-topo {
    font-size: 18px;
    color: #202020;
    text-align: center;
    margin-bottom: 30px;
}

main {
    padding-top: 130px;
}

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

header {
    background-color: #F6B7B7;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 130px;
    box-sizing: border-box;
    box-shadow: 0px 5px 12px #afafaf;
    z-index: 5;
    font-weight: bold;
}

header nav.nav-desktop ul {
    list-style-type: none;
}

header nav.menu-desktop ul li {
    display: inline-block;
}

header nav.menu-desktop ul li a {
    color: #202020;
    font-size: 15px;
    text-decoration: none;
    text-transform: uppercase;
    text-align: center;
    margin-left: 25px;
    transition: .5s;
}

.menu-desktop a:hover {
    background-color: transparent;
    color: #fff;
    text-decoration: overline;
    transform: scale(1.1);
    border-radius: 30px;
    cursor: pointer;
}

/* TEXTO ANUNCIO HEADER */

.txt-topo-menu {
    background-color: #f08894;
    color: #fff;
    text-align: center;
    font-weight: 100;
}

.redes-sociais-topo {
    color: #fff;
    font-size: 15px;
}

.redes-sociais-topo a {
    color: #fff;
    margin-left: 12px;
    transition: .3s;
    text-decoration: none;
}

.redes-sociais-topo a:hover {
    color: #202020;
    transition: .3s;
}

.redes-sociais-topo a:hover i {
    color: #202020;
    transition: .3s;
}

/* POSIÇÃO DO MENU */

.logo img {
    position: absolute;
    width: 90px;
    height: auto;
    top: 25%;
    left: 5%;
}

.menu-desktop {
    position: absolute;
    float: left;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.redes-sociais-topo {
    position: absolute;
    top: 0;
    right: 1%;
}


/* ===============================
   BOTÃO FLUTUANTE WHATSAPP
   =============================== */

.btn-flutuante {
    position: fixed;
    bottom: 22px;
    right: 18px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* BALÃO DE TEXTO */
.btn-flutuante .balao {
    background: #25D366;
    color: #fff;
    font-size: 13px;
    padding: 8px 12px;
    border-radius: 18px;
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    animation: balaoPulse 2.5s infinite;
}

.btn-flutuante a {
    text-decoration: none;
}

/* BOTÃO */
.btn-flutuante button {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: #25D366;
    color: #fff;
    font-size: 26px;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .3s ease, box-shadow .3s ease;
}

/* HOVER */
.btn-flutuante button:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.7);
}

/* ANIMAÇÃO BALÃO */
@keyframes balaoPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.06);
    }

    100% {
        transform: scale(1);
    }
}


/* ===============================
   CONTEÚDO DA PÁGINA
   =============================== */

/* BOX DE PRODUTOS */
section.box-colecao-da-semana {
    padding: 50px 4%;
    text-align: center;
}

.produtos-destaque {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    justify-items: center;
    margin-top: 30px;
}

.tela-produto {
    position: relative;
    width: 280px;
    height: 540px; /* antes era 500px, aumentei pra dar espaço */
    padding: 20px;
    background-color: #fff;
    border-radius: 20px;
    border: 1.5px solid #d6b98c;
    box-shadow: 0 5px 12px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-sizing: border-box;
}

.tela-produto img {
    width: 100%;
    height: 80%; /* antes 71% */
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

.tela-produto h3 {
    font-size: 18px;
    color: #202020;
    margin: 12px 0 5px;
}

.tela-produto p {
    color: #D16C7C;
    font-weight: 700;
}

/* TAGS */
.tela-produto.tag::before {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    z-index: 1;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.tela-produto.tag.sem-tag::before {
    display: none;
}

.tela-produto.tag.novo::before {
    content: "NOVO";
    background: #f2d9c3;
    color: #202020;
}

.tela-produto.tag.promoção::before {
    content: "🔥 PROMO";
    position: absolute;
    top: 12px;
    right: 12px;
    background: #f51b1b; /* vermelho sólido mais limpo */
    color: #fff;
    font-weight: 700; /* menos pesado, mais moderno */
    font-size: 0.9rem;
    padding: 6px 14px; /* menor e mais elegante */
    border-radius: 12px; /* cantos mais suaves */
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2); /* sombra mais sutil */
    transform: rotate(-3deg); /* rotação mais leve */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Efeito sutil de destaque ao passar o mouse sobre o card */
.tela-produto.tag.promoção:hover::before {
    transform: rotate(-3deg) scale(1.1);
    box-shadow: 0 6px 14px rgba(0,0,0,0.3);
}

.tela-produto.tag.moda-praia::before {
    content: "🏖️ MODA PRAIA";
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #4fd1e0, #ffe57f); /* azul + amarelo sol */
    color: #202020;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 4px 10px;
    border-radius: 12px;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transform: rotate(-3deg);
    animation: praiaGlow 2.5s infinite alternate;
    z-index: 2;
}

.tela-produto.tag.destaque::before {
    content: "DESTAQUE";
    background: #E89AA3;
    color: #202020;
    font-weight: 800;
}

.tela-produto.tag.coleção-nova::before {
     content: "✨ COLEÇÃO NOVA";
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #D6B96E, #F3DFA3);
    color: #202020;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 12px 6px 12px 6px;
    letter-spacing: 1px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transform: rotate(-3deg);
    z-index: 2;
    animation: pulseMini 1.8s infinite alternate;
    text-transform: uppercase;
}

@keyframes pulseMini {
    0% { transform: rotate(-3deg) scale(1); }
    50% { transform: rotate(-3deg) scale(1.05); }
    100% { transform: rotate(-3deg) scale(1); }
}

.tela-produto.tag.carnaval::before {
    content: "🎭 CARNAVAL";
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #FF00AA, #FFDD00, #00FFFF); /* cores vibrantes do Carnaval */
    color: #202020;
    font-weight: 800;
    font-size: 0.9rem;
    padding: 6px 16px;
    border-radius: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    transform: rotate(-5deg);
    animation: carnavalGlow 2s infinite alternate;
    z-index: 2;
}

.tela-produto.tag.esgotado::before {
    content: "ESGOTADO";
    background: #000000;
    color: #fff;
    font-weight: 800;
}


/* SLIDER DE IMAGENS */
.slider-produto {
    width: 100%;
    height: 280px;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    position: relative;
}

.slider-produto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
    border-radius: 12px;
    transition: opacity 0.4s ease;
}

.slider-produto img.active {
    display: block;
    opacity: 1;
}

.slider-dots {
    display: flex;
    justify-content: center;
    margin: 10px 0 5px;
    gap: 6px;
}

.slider-dots .dot {
    width: 10px;
    height: 10px;
    background: rgba(214, 185, 110, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.slider-dots .dot.active {
    background: #D6B96E;
    transform: scale(1.2);
}

/* CONTROLES DE FILTRO */
.shop-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 20px;
    background: transparent;
    margin-bottom: 20px;
}

/* 1. BOTÃO QUE ABRE O FILTRO (Mantendo seu estilo de wrapper) */
.btn-filtro-principal {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(214, 185, 140, 0.3);
    border-radius: 50px;
    padding: 10px 25px;
    color: #000;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-filtro-principal:hover {
    border-color: #d6b98c;
    background: rgba(214, 185, 140, 0.1);
    transform: translateY(-2px);
}

.btn-filtro-principal i {
    color: #d6b98c;
    margin-right: 10px;
}

/* 2. PAINEL LATERAL (ESTILO PREMIUM) */
.painel-filtros {
    position: fixed;
    top: 0;
    right: -320px; /* Escondido */
    width: 320px;
    height: 100%;
    background: #F7F2EB; /* Cor bege clara do seu padrão */
    z-index: 2000;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 25px rgba(0,0,0,0.1);
}

.painel-filtros.ativo {
    right: 0;
}

/* Cabeçalho do Filtro */
.filtros-header {
    padding: 20px;
    border-bottom: 1px solid rgba(214, 185, 140, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filtros-header h3 {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #333;
}

#btn-fechar-filtros {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #d6b98c;
    cursor: pointer;
}

/* Corpo e Seções */
.filtros-corpo {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.filtro-secao {
    margin-bottom: 25px;
}

.filtro-secao h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #d6b98c;
    letter-spacing: 1px;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(214, 185, 140, 0.1);
    padding-bottom: 5px;
}

/* 3. ESTILO DOS CHECKBOXES CUSTOMIZADOS */
.opcoes-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.opcoes-grid label {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: #444;
    cursor: pointer;
    transition: 0.2s;
}

.opcoes-grid input[type="checkbox"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 1px solid #d6b98c;
    border-radius: 4px;
    margin-right: 10px;
    position: relative;
    cursor: pointer;
}

.opcoes-grid input[type="checkbox"]:checked {
    background: #d6b98c;
}

.opcoes-grid input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 12px;
    left: 3px;
    top: 0px;
}

/* Bolinha de cor dentro do filtro */
.mini-cor {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    margin-right: 8px;
    border: 1px solid rgba(0,0,0,0.1);
}

/* 4. RODAPÉ (BOTÕES APLICAR E LIMPAR) */
.filtros-footer {
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    border-top: 1px solid rgba(214, 185, 140, 0.2);
}

#limpar-filtros {
    background: transparent;
    border: 1px solid #d6b98c;
    color: #d6b98c;
    padding: 12px;
    border-radius: 50px;
    text-transform: uppercase;
    font-weight: 600;
    cursor: pointer;
}

#aplicar-filtros-btn {
    background: #d6b98c;
    border: none;
    color: white;
    padding: 12px;
    border-radius: 50px;
    text-transform: uppercase;
    font-weight: 600;
    cursor: pointer;
}

/* Overlay Escuro */
#overlay-filtros {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: none;
    z-index: 1999;
    backdrop-filter: blur(3px);
}

#overlay-filtros.ativo {
    display: block;
}

.btn-filtro-principal {
    position: relative; 
    cursor: pointer !important; 
}

/* Container da seção dentro do painel */
.filtro-secao {
    margin-bottom: 25px;
    padding: 0 5px;
}

/* Título (Ordenar por, Cores, etc) */
.filtro-secao h4 {
    font-size: 0.85rem;
    color: #d6b98c; /* Seu dourado */
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    font-weight: 600;
}

/* O Wrapper do Select (Adaptado para o Painel) */
.filtro-secao .filter-wrapper {
    display: flex;
    align-items: center;
    background: #fff; /* Fundo branco para destacar no bege */
    border: 1px solid rgba(214, 185, 140, 0.4);
    border-radius: 50px;
    padding: 10px 18px;
    transition: 0.3s;
    width: 100%; /* Ocupa a largura total do painel */
}

.filtro-secao .filter-wrapper:hover {
    border-color: #d6b98c;
    box-shadow: 0 2px 10px rgba(214, 185, 140, 0.15);
}

/* Ícone dentro do select */
.filtro-secao .filter-wrapper i {
    color: #d6b98c;
    margin-right: 12px;
    font-size: 1rem;
}

/* O Select em si */
.filtro-secao .filter-wrapper select {
    flex: 1;
    background: transparent;
    border: none;
    color: #333;
    font-size: 0.9rem;
    font-weight: 500;
    outline: none;
    cursor: pointer;
    appearance: none; /* Remove a seta padrão do navegador */
}

/* Ajuste para as opções do select */
.filtro-secao .filter-wrapper select option {
    background-color: #F7F2EB;
    color: #333;
}

/* SELEÇÃO DE VARIAÇÃO */

.selecao-variacao {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem; /* antes 0.5rem, diminuiu */
    margin: 0.25rem 0; /* antes 0.5rem */
    padding: 0.25rem; /* antes 0.5rem */
    width: 100%;
    border-radius: 0.5rem;
}

/* Bolinhas e botões de tamanhos juntos, espaçamento menor */
.bolinhas-cores,
.botoes-tamanhos {
    display: flex;
    justify-content: center;
    gap: 0.25rem; /* antes 0.5rem */
    flex-wrap: wrap;
}

.bolinha-cor {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: 0.25s;
    border-color: #f8e1bf;
}

.bolinha-cor:hover {
    transform: scale(1.1);
}

.bolinha-cor.ativo {
    border-color: #d6ae72;
}

.botao-tamanho {
    padding: 4px 8px;
    font-size: 0.75rem;
    border-radius: 12px;
    border: 1px solid rgba(214, 185, 140, 0.5);
    background: #fff;
    cursor: pointer;
    transition: 0.25s;
}

.botao-tamanho:hover:not(.desabilitado) {
    background: #d6b98c33;
}

.botao-tamanho.ativo {
    background: #d6b98c;
    color: #fff;
}

.botao-tamanho.desabilitado {
    background: #eee;
    color: #aaa;
    cursor: not-allowed;
    text-decoration: line-through;
}

.botao-tamanho.desabilitado::after {
    content: "❌";
    position: absolute;
    top: -0.3rem;
    right: -0.3rem;
    font-size: 0.75rem;
    color: #ff4d4d;
}

.desabilitado {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none; /* Garante que não seja clicável */
}

.btn-mais button {
    margin-top: 30px;
    background: #D6B96E;
    color: #fff;
    font-family: 'Zain', sans-serif;
    font-weight: 700;
    font-size: 16px;
    border-radius: 30px;
    padding: 12px 28px;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(214, 185, 110, 0.6);
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 40px;
}

.btn-mais button:hover {
    background: #a88542;
    box-shadow: 0 8px 20px rgba(214, 185, 110, 0.8);
    transform: translateY(-2px);
}

/* ===============================
   FOOTER ER FASHION
   =============================== */

.footer-erfashion {
    background-color: #f7c8ce;
    padding: 50px 0 30px;
    color: #202020;
    font-family: 'Arial', sans-serif;
    border-top: 2px solid rgba(214, 185, 140, 0.3);
}

.footer-erfashion .interface {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4%;
}

/* BLOCO SUPERIOR */
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 30px;
    gap: 20px;
}

/* CNPJ & ENDEREÇO */
.footer-info h4 {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 6px;
    color: #5f5f5f;
}

/* REDES SOCIAIS */
.footer-redes {
    display: flex;
    gap: 18px;
}

.footer-redes a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f2d9c3, #d6b98c);
    color: #202020;
    font-size: 1.4rem;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer-redes a:hover {
    transform: scale(1.1);
    opacity: 0.85;
}

/* BLOCO INFERIOR */
.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(214, 185, 140, 0.2);
    padding-top: 20px;
}

.footer-bottom h4 {
    font-size: 0.9rem;
    color: #202020;
    margin-bottom: 8px;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: #5f5f5f;
}

.footer-bottom span {
    font-weight: 600;
    color: #E6005C;
}

.footer-bottom a {
    text-decoration: none;
}




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

#carrinho-lateral {
    position: fixed;
    top: 0;
    right: -100%;
    width: 360px;
    height: 100vh;
    background: #fff;
    z-index: 2000;
    box-shadow: -12px 0 30px rgba(168, 132, 66, 0.25);
    transition: 0.45s ease;
    display: flex;
    flex-direction: column;
    font-family: 'Zain', 'Segoe UI', sans-serif;
}

#carrinho-lateral.aberto {
    right: 0;
}

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

.carrinho-header {
    padding: 22px;
    background: linear-gradient(135deg, #F6B7B7, #E89AA3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.carrinho-header h3 {
    font-size: 22px;
    font-weight: 700;
    color: #202020;
}

/* BOTÃO FECHAR */
.carrinho-header button {
    background: transparent;
    border: none;
    font-size: 1.8rem;
    color: #202020;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
}

.carrinho-header button:hover {
    transform: scale(1.15);
    color: #fff;
}

/* ===============================
   LISTA DE ITENS
   =============================== */

#itens-carrinho-lista {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

/* ITEM */
.item-carrinho {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(214, 185, 140, 0.35);
}

.item-carrinho img {
    width: 68px;
    height: 68px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid rgba(214, 185, 140, 0.6);
}

/* INFO */
.item-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.item-info h4 {
    font-size: 15px;
    font-weight: 600;
    color: #202020;
    margin-bottom: 2px;
}

.item-info p {
    font-size: 18px;
    color: #D16C7C;
    font-weight: 700;
}

/* REMOVER */
.btn-remover {
    background: none;
    border: none;
    color: #9a9a9a;
    font-size: 0.75rem;
    cursor: pointer;
    padding: 0;
    margin-top: 4px;
    text-decoration: underline;
    transition: color 0.2s;
}

.btn-remover:hover {
    color: #ff3b3b;
}

/* ===============================
   FOOTER
   =============================== */

.carrinho-footer {
    padding: 24px;
    background: #F7F2EB;
    border-top: 1px solid rgba(214, 185, 140, 0.4);
}

/* TOTAL */
.total-container {
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    font-weight: 700;
    color: #202020;
    margin-bottom: 18px;
}

/* BOTÃO WHATS */
.btn-enviar-whats {
    width: 100%;
    background: linear-gradient(90deg, #25D366, #1ebe5d);
    color: #fff;
    border: none;
    padding: 16px;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-enviar-whats:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(37, 211, 102, 0.7);
}

/* ===============================
   OVERLAY
   =============================== */

#overlay-carrinho {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: none;
    z-index: 1999;
}

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

#carrinho-flutuante {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #D6B96E, #a88542);
    color: #fff;
    padding: 14px 22px;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(232, 154, 163, 0.55);
    z-index: 1000;
    cursor: pointer;
    display: none;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    transition: transform 0.3s ease;
}

#carrinho-flutuante:hover {
    transform: scale(1.08);
}

/* ===============================
   BOTÕES DO CARD
   =============================== */

.pag-produtos .botoes-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(90deg, #D6B96E, #E0C485);
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
    height: 50px;
    width: 100%;
    border: 1px solid rgba(214, 185, 110, 0.3);
    cursor: pointer;
}

/* Todos os botões internos */
.pag-produtos .botoes-container button {
    flex: 1;
    height: 100%;
    border: none;
    font-family: 'Zain', sans-serif;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #ffffff;
    transition: all 0.3s ease;
}

/* --- BOTÃO PRINCIPAL - COMPRAR AGORA --- */
.pag-produtos .botoes-container {
    margin-top: auto; /* EMPURRA O BOTÃO PARA O FUNDO DA BOX */
    width: 100%;
    flex-shrink: 0; /* Impede que o botão seja esmagado se o conteúdo crescer */
    z-index: 2;
}

.comprar-agora {
    flex: 1.6; /* mais destaque */
    background: linear-gradient(90deg, #D6B96E, #E0C485);
    position: relative;
}

.comprar-agora::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    box-shadow: inset 0 0 0 rgba(0,0,0,0); /* animável no hover */
    transition: all 0.3s ease;
}

.comprar-agora:hover {
    letter-spacing: 1px;
    background: linear-gradient(90deg, #C4A65A, #D6B96E);
    color: #fff;
}

.comprar-agora:hover::after {
    box-shadow: inset 0 0 15px rgba(255,255,255,0.15);
}

/* --- BOTÃO CARRINHO --- */
.add-carrinho {
    background: rgba(255, 255, 255, 0.15);
    max-width: 60px;
    border-left: 1px solid rgba(255,255,255,0.4);
    position: relative;
    background: #D16C7C;
}

.add-carrinho::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 0 12px 12px 0;
    box-shadow: inset 0 0 0 rgba(0,0,0,0);
    transition: all 0.3s ease;
}

.add-carrinho:hover {
    background: #D16C7C;
    color: #fff;
}

.add-carrinho:hover i {
    transform: scale(1.25) rotate(-10deg);
}

.add-carrinho:hover::after {
    box-shadow: inset 0 0 10px rgba(0,0,0,0.1);
}

.add-carrinho i {
    font-size: 18px;
    transition: transform 0.35s ease;
}

/* Feedback ao clicar */
.pag-produtos .botoes-container button:active {
    transform: scale(0.95);
    filter: brightness(0.9);
}


/* ===============================
   TOAST DE CONFIRMAÇÃO
   =============================== */

.toast-sucesso {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #F3DFA3, #D6B96E);
    /* Gradiente rosa para combinar com o tema */
    color: #fff;
    padding: 14px 24px;
    /* Um pouco mais de padding para melhor leitura */
    border-radius: 25px;
    /* Mais arredondado para modernidade */
    z-index: 3000;
    font-family: 'Zain', 'Segoe UI', sans-serif;
    font-size: 16px;
    /* Levemente maior para acessibilidade */
    font-weight: 600;
    /* Negrito para destaque */
    box-shadow: 0 10px 25px rgba(232, 154, 163, 0.5);
    /* Sombra com cor do tema */
    border: 2px solid #D6B96E;
    /* Borda dourada para destaque */

    display: flex;
    align-items: center;
    gap: 12px;
    /* Mais espaço entre ícone e texto */

    opacity: 0;
    pointer-events: none;

    animation: toastEntrada 0.5s ease forwards,
        /* Animação mais suave */
        toastSaida 0.5s ease 3s forwards;
    /* Duração maior para leitura */
}

/* Animações ajustadas */
@keyframes toastEntrada {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }

    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes toastSaida {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
}

/* Responsividade para mobile */
@media (max-width: 768px) {
    .toast-sucesso {
        font-size: 14px;
        /* Menor em telas pequenas */
        padding: 12px 20px;
        top: 10px;
        /* Mais próximo do topo */
    }
}

.toast-erro {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ff4d4d, #cc0000);
    /* Vermelho para indicar erro */
    color: #fff;
    padding: 14px 24px;
    border-radius: 25px;
    /* Arredondado para modernidade */
    z-index: 3000;
    font-family: 'Zain', 'Segoe UI', sans-serif;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(255, 77, 77, 0.5);
    /* Sombra vermelha */
    border: 2px solid #ff6666;
    /* Borda vermelha clara */
    display: flex;
    align-items: center;
    gap: 12px;
    animation: toastEntrada 0.5s ease forwards;
    /* Animação de entrada */
}

@keyframes toastEntrada {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }

    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Responsividade para mobile */
@media (max-width: 768px) {
    .toast-erro {
        font-size: 14px;
        padding: 12px 20px;
        top: 10px;
    }
}