/* 1. Importando fontes */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;1,400&family=Lato:wght@300;400&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: #050505;
    color: #D4AF37;
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    letter-spacing: 2px;
}

/* --- CABEÇALHO --- */
header {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(180deg, #111 0%, #050505 100%);
    border-bottom: 1px solid #443711;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.05);
}

.logo-site {
    width: 130px;
    height: auto;
    border-radius: 50%;
    margin-bottom: 10px;
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.2);
}

header h1 {
    font-size: 3.5rem;
    color: #D4AF37;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.3); 
}

.subtitle {
    font-size: 1rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #b08d28;
}

/* --- FILTROS (AJUSTADO PARA MOBILE) --- */
.filtros {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; 
    gap: 10px;       
    margin: 20px 10px;
}

.filtros button {
    padding: 10px 15px;
    background-color: #000;
    color: #d4af37;
    border: 1px solid #d4af37;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
    font-size: 14px;
    flex: 1;          
    min-width: 100px; 
    max-width: 150px; 
}

.filtros button:hover {
    background-color: #d4af37;
    color: #000;
}

@media (max-width: 480px) {
    .filtros {
        gap: 8px;
    }
    .filtros button {
        padding: 8px 10px;
        font-size: 12px;
        min-width: 90px;
    }
}

/* --- LAYOUT PRINCIPAL --- */
.layout-principal {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 30px;
}

.coluna-produtos {
    flex: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.coluna-carrinho {
    flex: 1;
    min-width: 320px;
}

/* --- ESTILO PRODUTOS --- */
.produto {
    background-color: #0a0a0a;
    border: 1px solid #33290d;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.produto:hover {
    transform: translateY(-5px);
    border-color: #D4AF37;
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.15); 
}

.produto img {
    width: 100%;
    border-radius: 4px;
    margin-bottom: 15px;
    border: 1px solid #222;
}

.produto h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #f2ce63;
}

.preco {
    font-size: 1.2rem;
    font-weight: bold;
    color: #D4AF37;
    margin-bottom: 15px;
}

/* --- SELETORES --- */
.seletores {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

select, input {
    width: 100%;
    background-color: #000;
    color: #D4AF37;
    border: 1px solid #443711;
    padding: 10px;
    border-radius: 4px;
    font-family: inherit;
    outline: none;
}

select:focus, input:focus {
    border-color: #D4AF37;
}

/* --- BOTÕES --- */
button {
    width: 100%;
    padding: 12px;
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    font-weight: bold;
}

.btn-add {
    background-color: transparent;
    color: #D4AF37;
    border: 1px solid #D4AF37;
}

.btn-add:hover {
    background-color: #D4AF37;
    color: #000;
}

/* --- CARRINHO E FORMULÁRIO --- */
.carrinho-area {
    background-color: #0a0a0a;
    border: 1px solid #443711;
    border-radius: 8px;
    padding: 25px;
    position: sticky; 
    top: 20px; 
}

.carrinho-area h2 {
    font-size: 1.8rem;
    border-bottom: 1px solid #33290d;
    padding-bottom: 15px;
    margin-bottom: 20px;
    text-align: center;
    color: #f2ce63;
}

.formulario-checkout label {
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: #b08d28;
}

.btn-finalizar {
    background-color: #D4AF37;
    color: #000;
    margin-top: 25px;
}

.btn-finalizar:hover {
    background-color: #f2ce63;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.parcelamento {
    font-size: 13px;
    color: #888888;
    margin-top: -10px;
    margin-bottom: 15px;
}

/* --- CONTATOS --- */
.contatos {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.contatos a {
    font-size: 30px;
    text-decoration: none;
}

.icone-zap { color: #25D366; }
.icone-insta { color: #E1306C; }

.produto.esgotado {
    opacity: 0.6;
    filter: grayscale(1);
    pointer-events: none;
}

.status-msg {
    color: red;
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}

button:disabled {
    background-color: #333;
    border: 1px solid #555;
    cursor: not-allowed;
}