:root {
    --bg: #f4f4f4;
    --accent: #ffb347;
    --white: #ffffff;
    --text: #333333;
    --black: #0d0d0d;
    --gold: #d4af37;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    background-color: var(--black);
    color: white;
}
.logo-main {
    color: #D4AF37;
    text-shadow: 0 0 10px rgba(212,175,55,0.3);
}

.logo-sub {
    color: #cccccc;
}

h1 {
    text-align: center;
    background-color: #222;
    color: white;
    padding: 20px;
    margin: 0;
}

.produto {
    background: linear-gradient(135deg, #111, #000);
    border: 1px solid #222;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    transition: 0.3s;
    color: white;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    box-sizing: border-box;
}

.produto:hover {
    transform: translateY(-8px);
    border: 1px solid var(--gold);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.2);
}

.produto img {
    width: 100%;
    max-width: 280px;
    height: auto;
    max-height: 280px;
    object-fit: contain;
    margin: 0 auto;
    display: block;
    border-radius: 10px;
}

.produto img:hover {
    transform: scale(1.05);

}

button {
    background-color: var(--gold);
    color: black;
    border: none;
    font-weight: bold;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
}

button:hover {
    opacity: 0.85;
    transform: scale(1.02);
    transition: 0.2s;
}
#carrinho {
    background: #0f0f0f;
    color: white;
    width: 80%;
    margin: 20px auto;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #222;
    box-shadow: 0 6px 18px rgba(0,0,0,0.6);
}

#lista-carrinho {
    list-style: none;
    padding: 0;
}

#lista-carrinho li {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}
.remover {
    margin-left: 10px;
    background: red;
    color: white;
    border: none;
    padding: 5px 8px;
    cursor: pointer;
    border-radius: 5px;
}

#limpar-carrinho {
    background: #cc0000;
    color: white;
    border: none;
    padding: 10px 15px;
    margin-top: 15px;
    border-radius: 5px;
    cursor: pointer;
}

.descricao {
    color: #666;
    font-size: 14px;
}

footer {
    background: #222;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 30px;
}

nav a {
    color: var(--white);
    text-decoration: none;
    margin: 15px;
    font-weight: bold;
    transition: 0.3s;
}

nav a:hover {
    color: var(--accent);
}
header {
    background: var(--black);
    color: var(--white);
    padding: 25px;
    text-align: center;
}

main {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    padding: 30px;
    max-width: 1200px;
    margin: auto;
    align-items: stretch;
}

.produto h2 {
    color: var(--gold);
}

.produto p {
    color: #ccc;
}

.produto button {
    width: 100%;
}

@media (max-width: 768px) {

    main {
        grid-template-columns: repeat(2, 1fr) !important;
        padding: 10px !important;
        gap: 10px !important;
    }

    .produto {
        width: 100% !important;
        margin: 0 !important;
        box-sizing: border-box;
    }

    .produto img {
        width: 100%;
        height: 140px;
        object-fit: contain;
        border-radius: 5px;
    }

    .produto h2 {
        font-size: 14px;
        min-height: 35px;
    }

    .produto p {
        font-size: 12px;
    }

    .produto button {
        font-size: 12px;
        padding: 8px;
    }

    #search {
        width: 90%;
    }

    .logo-main {
        font-size: 28px;
    }

    .logo-sub {
        font-size: 10px;
        letter-spacing: 4px;
    }

}

.whatsapp-btn {
    display: inline-block;
    margin-top: 10px;
    background: #25D366;
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: bold;
}

.whatsapp-btn:hover {
    opacity: 0.8;
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
    z-index: 999;
    transition: 0.3s;
    color: white;
    font-size: 0;
    line-height: 0;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.whatsapp-icon {
    width: 28px;
    height: 28px;
    fill: white;
    display: block;
}

.search-container {
    text-align: center;
    margin: 20px;
}

#search {
    width: 60%;
    padding: 12px;
    border-radius: 8px;
    border: none;
    font-size: 16px;
    outline: none;
}
header {
    background: var(--black);
    box-shadow: 0 2px 10px rgba(0,0,0,0.6);
    color: white;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.search-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

#search {
    width: 60%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 16px;
}
.logo {
    text-align: center;
    line-height: 1.2;
    margin-bottom: 10px;
}

.logo-main {
    font-size: 38px;
    font-weight: bold;
    letter-spacing: 5px;
    color: var(--gold);
}

.logo-sub {
    font-size: 14px;
    letter-spacing: 8px;
    color: var(--white);
}
.hero {
    background: linear-gradient(135deg, #111, #000);
    color: white;
    text-align: center;
    padding: 10px 20px;
}

.hero h2 {
    font-size: 40px;
    color: var(--gold);
}

.hero p {
    margin-top: 10px;
    font-size: 18px;
}

.hero button {
    margin-top: 20px;
    background: var(--gold);
    color: black;
    font-weight: bold;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
}

main {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 40px;
    max-width: 1200px;
    margin: auto;
}
#finalizar-compra {
    background: #25D366;
    color: white;
    border: none;
    padding: 12px 20px;
    margin-top: 10px;
    margin-left: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

#finalizar-compra:hover {
    opacity: 0.9;
}