/* Variáveis CSS */
:root {
    --primary-color: #ff4757;
    --primary-hover: #ff6b81;
    --dark-color: #2f3542;
    --light-bg: #f1f2f6;
    --white: #ffffff;
    --text-color: #57606f;
    --transition: all 0.3s ease;
    
    /* Cores das Lojas */
    --amazon: #ff9900;
    --shopee: #ee4d2d;
    --ml: #ffe600;
    --shein: #222222;
    --magalu: #0086ff;
}

/* Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--light-bg);
    color: var(--text-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-color);
}

.logo span {
    color: var(--primary-color);
}

.logo img {
    max-height: 40px;
}

.search-bar {
    display: flex;
    background: var(--light-bg);
    border-radius: 50px;
    overflow: hidden;
    width: 400px;
    border: 1px solid #dfe4ea;
}

.search-bar input {
    flex: 1;
    border: none;
    padding: 10px 20px;
    background: transparent;
    outline: none;
}

.search-bar button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0 20px;
    cursor: pointer;
    transition: var(--transition);
}

.search-bar button:hover {
    background: var(--primary-hover);
}

.mobile-menu {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #2f3542 0%, #1e272e 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero-text h1 {
    font-size: 42px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

/* Lojas / Filtros */
.store-filters {
    margin-top: 50px;
    margin-bottom: 30px;
    text-align: center;
}

.store-filters h2 {
    color: var(--dark-color);
    margin-bottom: 20px;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.filter-btn {
    background: var(--white);
    border: 1px solid #ced6e0;
    padding: 8px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-color);
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--dark-color);
    color: white;
    border-color: var(--dark-color);
}

/* Produtos */
.products {
    margin-bottom: 80px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.discount-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: white;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 14px;
    z-index: 10;
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.store-name {
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: inline-block;
}
.store-amazon { color: var(--amazon); }
.store-shopee { color: var(--shopee); }
.store-ml { color: #b3a100; /* Darker yellow for text readability */ }
.store-shein { color: var(--shein); }
.store-magalu { color: var(--magalu); }

.card-content h3 {
    font-size: 16px;
    color: var(--dark-color);
    margin-bottom: 15px;
    line-height: 1.4;
    flex: 1;
}

.price-container {
    margin-bottom: 20px;
}

.old-price {
    text-decoration: line-through;
    color: #a4b0be;
    font-size: 14px;
    display: block;
}

.new-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.btn-buy {
    background: var(--dark-color);
    color: white;
    text-align: center;
    width: 100%;
    padding: 12px;
    border-radius: 8px;
}

.btn-buy:hover {
    background: var(--primary-color);
}

/* Newsletter */
.newsletter {
    background: var(--white);
    padding: 60px 0;
    text-align: center;
}

.newsletter h2 {
    color: var(--dark-color);
    margin-bottom: 15px;
}

.newsletter p {
    margin-bottom: 30px;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 400px;
}

.footer-brand h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.footer-brand span {
    color: var(--primary-color);
}

.footer-links h4 {
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-links a {
    display: block;
    margin-bottom: 10px;
    color: #a4b0be;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

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

.disclaimer {
    margin-top: 10px;
    font-size: 12px;
    opacity: 0.7;
}

/* Responsivo */
@media (max-width: 768px) {
    .search-bar {
        display: none; /* Hide on mobile, can add toggle later */
    }
    
    .mobile-menu {
        display: block;
    }
    
    .hero-text h1 {
        font-size: 32px;
    }
    
    .footer-content {
        flex-direction: column;
    }
}
