:root { --primary-color: #dc3545; --secondary-color: #ffc107; }
* { margin: 0; padding: 0; box-sizing: border-box; }
.navbar { background: rgba(0,0,0,0.85); backdrop-filter: blur(10px); }
.hero { min-height: 80vh; background: linear-gradient(135deg, var(--primary-color), #b02a37); display: flex; align-items: center; position: relative; color: white; }
.hero-overlay { position: absolute; top:0; left:0; width:100%; height:100%; background: rgba(0,0,0,0.3); }
.hero-content { position: relative; z-index: 1; }
.producto-card { transition: transform 0.3s; border-radius: 15px; overflow: hidden; }
.producto-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.precio-detal { font-size: 1.2rem; font-weight: bold; color: var(--primary-color); display: block; }
.precio-mayor { font-size: 0.9rem; color: #28a745; display: block; }
.chat-messages { height: 300px; overflow-y: auto; padding: 10px; background: #f8f9fa; border-radius: 10px; }
.message { margin-bottom: 10px; padding: 8px 12px; border-radius: 15px; max-width: 80%; }
.message.user { background: var(--primary-color); color: white; margin-left: auto; text-align: right; }
.message.bot { background: #e9ecef; color: #333; }
.footer { background: #1a1a1a; color: #999; padding: 20px 0; }
@media (max-width:768px) { .hero { min-height: 60vh; } .hero h1 { font-size: 1.8rem; } }

/* Hero Carrusel */
.hero-carousel {
    min-height: 80vh;
    position: relative;
    overflow: hidden;
    padding: 0;
}

#heroCarousel {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.carousel-item {
    height: 80vh;
    min-height: 500px;
}

.carousel-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.carousel-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.carousel-content h1,
.carousel-content h2 {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    margin-bottom: 1rem;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0.7;
}

.carousel-indicators {
    bottom: 20px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
}

@media (max-width: 768px) {
    .carousel-item {
        height: 60vh;
        min-height: 400px;
    }
    .carousel-content h1 {
        font-size: 1.8rem;
    }
    .carousel-content h2 {
        font-size: 1.5rem;
    }
    .carousel-content .lead {
        font-size: 1rem;
    }
    .btn-lg {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}