* { box-sizing: border-box; margin: 0; padding: 0; font-family: Arial, sans-serif; }
body { background-color: #f5f5f5; color: #333; }
.container { width: 70vw; max-width: 1400px; margin: 0 auto; background: #fff; min-height: 100vh; padding: 20px; box-shadow: 0 0 10px rgba(0,0,0,0.05); }

.site-header { text-align: center; padding: 20px 0; border-bottom: 2px solid #ee4d2d; margin-bottom: 20px; }
.site-header h1 { color: #ee4d2d; font-size: 2.5em; text-transform: uppercase; }

.search-section form { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 30px; }
.search-section input { padding: 10px; width: 400px; border: 2px solid #ee4d2d; border-radius: 4px; outline: none; }
.search-section button { background: #ee4d2d; color: #fff; border: none; padding: 10px 20px; border-radius: 4px; cursor: pointer; font-weight: bold; }

.categories-section { display: flex; align-items: center; margin-bottom: 20px; border-bottom: 1px solid #ddd; padding-bottom: 10px; }
.cat-label { font-weight: bold; margin-right: 15px; }
.cat-list { display: flex; list-style: none; gap: 15px; overflow-x: auto; }
.cat-list li a { text-decoration: none; color: #555; padding: 5px 0; display: inline-block; }
.cat-list li a.active { color: #ee4d2d; border-bottom: 3px solid #ee4d2d; font-weight: bold; }

.carousel-container { margin: 20px 0; overflow: hidden; position: relative; width: 100%; }
.carousel-track { display: flex; gap: 15px; justify-content: flex-start; }

.product-card { flex: 0 0 calc(20% - 12px); border: 1px solid #ddd; background: #fff; padding: 10px; display: flex; flex-direction: column; transition: transform 0.3s; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 4px 10px rgba(0,0,0,0.1); border-color: #ee4d2d; }
.product-card img { width: 100%; height: 200px; object-fit: contain; margin-bottom: 10px; }
.product-title { font-size: 0.9em; font-weight: bold; text-align: center; margin-bottom: 10px; flex-grow: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-price { color: #ee4d2d; font-size: 1.2em; font-weight: bold; text-align: center; margin-bottom: 15px; }
.btn-buy { background: #ee4d2d; color: #fff; text-decoration: none; text-align: center; padding: 10px; border-radius: 4px; font-weight: bold; display: block; }

.pagination { display: flex; justify-content: center; gap: 10px; margin-top: 30px; align-items: center; }
.pagination a { text-decoration: none; color: #333; padding: 5px 10px; border: 1px solid #ddd; }
.pagination a.active-page { background: #ee4d2d; color: #fff; border-color: #ee4d2d; }

.whatsapp-btn { position: fixed; bottom: 20px; right: 20px; width: 60px; height: 60px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(0,0,0,0.3); z-index: 1000; transition: transform 0.2s; }
.whatsapp-btn:hover { transform: scale(1.1); }
.whatsapp-btn img { width: 35px; height: 35px; }

@media (max-width: 1200px) { .container { width: 90vw; } .product-card { flex: 0 0 calc(25% - 12px); } }
@media (max-width: 900px) { .container { width: 95vw; } .product-card { flex: 0 0 calc(33.333% - 10px); } }
@media (max-width: 600px) { 
    .container { width: 100vw; padding: 10px; }
    .carousel-track { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 15px; }
    .product-card { flex: 0 0 calc(50% - 7.5px); scroll-snap-align: start; }
    .product-title { font-size: 0.8em; }
    .product-price { font-size: 1.1em; }
    .btn-buy { font-size: 0.8em; padding: 8px; }
}