:root { --amazon-blue: #232f3e; --amazon-orange: #febd69; --light-bg: #eaeded; }
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; background: var(--light-bg); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Navbar */
.navbar { background: var(--amazon-blue); padding: 15px 0; color: white; }
.nav-content { display: flex; align-items: center; gap: 40px; }
.logo { font-size: 1.5rem; font-weight: bold; }
.logo span { color: var(--amazon-orange); }
.search-bar { flex-grow: 1; display: flex; }
.search-bar input { width: 100%; padding: 10px; border-radius: 4px 0 0 4px; border: none; outline: none; }
.search-bar button { background: var(--amazon-orange); padding: 10px 20px; border-radius: 0 4px 4px 0; border: none; cursor: pointer; font-weight: bold; }

/* Cards */
.section-title { margin: 30px 0; font-size: 1.8rem; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }

.item-card { 
    background: white; 
    padding: 20px; 
    border-radius: 4px; 
    display: flex; 
    flex-direction: column; 
    min-height: 450px; /* Altura para alinhar o botão no fundo */
}

.item-img { height: 200px; display: flex; align-items: center; justify-content: center; margin-bottom: 15px; }
.item-img img { max-height: 100%; max-width: 100%; }

.item-info { flex-grow: 1; display: flex; flex-direction: column; }
.item-info h3 { font-size: 1.1rem; margin-bottom: 10px; }

.price { font-weight: bold; font-size: 1.2rem; color: #B12704; }
.price span { font-size: 0.9rem; text-decoration: line-through; color: #565959; margin-left: 5px; }

/* BOTÃO MAIS PARA BAIXO */
.btn-buy { 
    margin-top: auto; /* Empurra para o fim do card */
    margin-bottom: 10px;
    background: #FFD814; 
    text-align: center; 
    padding: 10px; 
    border-radius: 20px; 
    text-decoration: none; 
    color: black; 
    font-size: 0.9rem; 
    border: 1px solid #FCD200;
    font-weight: bold;
}
.btn-buy:hover { background: #f7ca00; }
/* Layout do Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

/* Badge de Destaque */
.tag-hot {
    background: #e63946;
    color: white;
    font-size: 10px;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 3px;
    display: inline-block;
    margin-bottom: 5px;
}

/* Card do Produto */
.item-card {
    background: white;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.item-img img {
    width: 100%;
    height: 250px;
    object-fit: contain; /* Garante que o frasco não estique */
    padding: 20px;
}