/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* Header */
.top-bar {
    background: #333;
    color: white;
    text-align: center;
    padding: 8px 0;
    font-size: 14px;
}

.header {
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 0; /* sem padding extra */
}

.navbar {
    padding: 15px 0;
}

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

.logo img {
    height: 100px;
    max-height: 120px;
    width: auto;
    border: 2px solid #4CAF50;
    border-radius: 8px;
    padding: 5px;
}

.nav-categories {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.category-btn {
    padding: 8px 16px;
    text-decoration: none;
    color: white;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
    transition: transform 0.2s;
}

.category-btn:hover {
    transform: translateY(-2px);
}

.category-btn.ivermectinas { background: #6366f1; }
.category-btn.importados { background: #f59e0b; }
.category-btn.promotores { background: #8b5cf6; }
.category-btn.equinos { background: #06b6d4; }
.category-btn.kits { background: #ec4899; }



/* Banner Principal */


.hero-banner {
    position: relative;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    min-height: 420px;     /* Altura mínima desejada */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-sizing: border-box;
    padding: 0; /* Padding pode ser zero já que flexbox cuida do alinhamento */
}

.banner-slide {
    display: none;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}
/* 
.banner-content {
    flex: 1 1 320px;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
} */

.buy-btn-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.buy-btn {
    display: inline-block;
    background: #25D366;
    color: #fff;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1.1em;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    letter-spacing: 0.02em;
}
.buy-btn:hover {
    background: #1DA851;
    transform: translateY(-2px) scale(1.03);
}


.banner-content .whatsapp-button {
    width: auto;
    max-width: 320px;
    min-width: 200px;
    display: inline-block;
    font-size: 1.25em;
    padding: 14px 32px;
    margin: 32px 0 0 0;
}

.banner-image {
    flex: 1 1 300px;
    min-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.banner-image img {
    max-width: 400px;
    max-height: 300px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.banner-slide.active {
    display: flex;
}

.banner-content h2 {
    font-size: 2.5em;
    margin-bottom: 10px;
    font-weight: bold;
}

.banner-content h3 {
    font-size: 2em;
    color: #ffff00;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.banner-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.cta-button:hover {
    background: #45a049;
}

.banner-image img {
    max-width: 400px;
    height: auto;
}

.banner-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
}

.prev-btn, .next-btn {
    background: rgba(255,255,255,0.3);
    border: none;
    color: white;
    font-size: 24px;
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
}

.dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
}

.dot.active {
    background: white;
}

/* Benefícios */
.benefits {
    background: #f8f9fa;
    padding: 40px 0;
}

.benefits .container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
}

.benefit .icon {
    font-size: 2em;
}

.benefit strong {
    display: block;
    font-size: 16px;
}

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

/* Seções de Produtos */
.products-section {
    padding: 60px 0;
}

.products-section h2 {
    font-size: 2em;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ver-todos {
    background: #4CAF50;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
}

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

.product-card {
    border: 2px solid #ddd;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.product-card:nth-child(1) { border-color: #6366f1; }
.product-card:nth-child(2) { border-color: #f59e0b; }
.product-card:nth-child(3) { border-color: #8b5cf6; }
.product-card:nth-child(4) { border-color: #06b6d4; }

.kit-card:nth-child(1) { border-color: #4CAF50; }
.kit-card:nth-child(2) { border-color: #06b6d4; }
.kit-card:nth-child(3) { border-color: #ec4899; }
.kit-card:nth-child(4) { border-color: #8b5cf6; }

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.rating {
    color: #ffc107;
    font-size: 14px;
    margin-bottom: 10px;
}

.product-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

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

.price {
    font-size: 18px;
    font-weight: bold;
    color: #4CAF50;
    margin-bottom: 5px;
}

.installments {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}


/* Seção Institucional */
.institutional {
    background: #f8f9fa;
    padding: 60px 0;
    position: relative;
}

.institutional .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.institutional-content h2 {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 20px;
}

.institutional-content p {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.features {
    display: flex;
    gap: 20px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: #ff4444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.institutional-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 15px;
}

.institutional-right {
    position: static;   /* ou simplesmente remova a linha do position */
    right: auto;
    top: auto;
    transform: none;
    background: rgba(255,255,255,0.9);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    margin-top: 30px;
}


.institutional-right h2 {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 10px;
}

.institutional-right p {
    color: #666;
    font-size: 16px;
}

/* Newsletter */
.newsletter {
    background: #f8f9fa;
    padding: 60px 0;
    text-align: center;
}

.newsletter h2 {
    font-size: 2em;
    color: #ff4444;
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 25px;
    outline: none;
}

.newsletter-form button {
    background: #666;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 50px 0 20px;
}

/* .footer .whatsapp-button {
    background: #333;
    color: white;
    width: auto;
    min-width: 240px;
    max-width: 350px;
    display: inline-block;
    font-size: 1.15em;
    padding: 14px 24px;
    margin: 28px 0 0 0;
} */

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-logo {
    height: 100px;
    border: 2px solid #4CAF50;
    border-radius: 8px;
    padding: 5px;
}

.social-links {
    margin-top: 15px;
}

.social-links a {
    color: #ccc;
    text-decoration: none;
    margin-right: 15px;
    transition: color 0.3s;
}

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



.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #555;
    color: #ccc;
}

.footer-bottom p {
    margin-bottom: 5px;
}

/* Cookie Notice */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.9);
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
}

.cookie-notice.hidden {
    display: none;
}

.cookie-notice p {
    flex: 1;
    margin-right: 20px;
}

.cookie-notice a {
    color: #4CAF50;
}

.cookie-notice button {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.add-cart {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #25D366;
    color: #fff;
    border: none;
    width: 48px;
    height: 38px;
    border-radius: 25px;
    font-size: 2em;
    font-weight: bold;
    text-align: center;
    line-height: 38px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: background 0.2s, transform 0.2s;
}

.add-cart:hover {
    background: #1DA851;
    transform: scale(1.08);
}


/* Responsividade */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-categories {
        order: 3;
        width: 100%;
        justify-content: center;
    }
    
    .search-cart {
        order: 2;
    }
    
    .search-input {
        width: 200px;
    }
    
    .hero-banner {
        min-height: 260px;
        flex-direction: column;
        padding: 20px 0;
    }
    .banner-slide {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }
    .banner-image img {
        max-width: 200px;
        max-height: 120px;
    }
    
    .banner-content h2 {
        font-size: 1.8em;
    }
    
    .banner-content h3 {
        font-size: 1.5em;
    }
    
    .benefits .container {
        flex-direction: column;
        align-items: center;
    }
    
    .institutional .container {
        flex-direction: column;
    }
    
    .institutional-right {
        position: static;
        transform: none;
        margin-top: 30px;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 15px;
    }
    
    .cookie-notice {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

.whatsapp-button {
    display: inline-block;
    background: #25D366;
    color: white;
    padding: 16px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.35em;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
    margin-top: 25px;
    min-width: 240px;
    text-align: center;
    box-sizing: border-box;
}

.whatsapp-button:hover {
    background: #1DA851;
    box-shadow: 0 4px 14px rgba(0,0,0,0.13);
}


.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9999;
    background: #25D366;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}
.whatsapp-float:hover {
    background: #1DA851;
}
