:root {
    --color-primario: #f15a24; /* Color naranja de acento */
    --color-oscuro: #1a1a1a;
}

body {
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Barra de Navegación */
.navbar {
    background-color: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.navbar-brand {
    font-weight: 700;
    color: var(--color-oscuro);
}
.navbar-brand span {
    color: var(--color-primario);
}
.nav-icon-btn {
    font-size: 1.3rem;
    color: var(--color-oscuro);
    position: relative;
    transition: color 0.2s;
}
.nav-icon-btn:hover {
    color: var(--color-primario);
}

/* Banner Principal */
.hero-banner {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('https://images.unsplash.com/photo-1577140917170-285929fb55b7?q=80&w=1600&auto=format&fit=crop') center/cover no-repeat;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-align: center;
    margin-bottom: 3rem;
}
.hero-banner h1 {
    font-size: 3.5rem;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
}

/* Tarjetas de Productos (Grid de 10) */
.product-card {
    background: #ffffff;
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}
.img-container {
    height: 220px;
    background-color: #eaeaea;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.btn-fav-card {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    color: #666;
    transition: color 0.2s, background 0.2s;
}
.btn-fav-card:hover {
    color: #dc3545;
    background: #ffffff;
}
.product-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-oscuro);
    margin-bottom: 0.5rem;
}
.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primario);
    margin-top: auto;
    margin-bottom: 1rem;
}
.btn-add-cart {
    background-color: var(--color-oscuro);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 0.6rem;
    font-weight: 500;
    transition: background 0.2s;
}
.btn-add-cart:hover {
    background-color: var(--color-primario);
    color: #ffffff;
}

/* Footer Sencillo */
footer {
    background-color: var(--color-oscuro);
    color: #aaaaaa;
    padding: 3rem 0 1.5rem 0;
    margin-top: 5rem;
}
footer h5 {
    color: #ffffff;
    font-weight: 600;
}
footer a {
    color: #aaaaaa;
    text-decoration: none;
    transition: color 0.2s;
}
footer a:hover {
    color: #ffffff;
}

.hero-banner {
    height: 60vh;
    min-height: 450px;
}

.carousel-bg-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.02);
    transition: transform 4s ease-in-out;
}

.carousel-item.active .carousel-bg-img {
    transform: scale(1);
}

.hero-overlay {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Filtro oscuro para que las letras blancas resalten */
    color: #ffffff;
    z-index: 2;
}

.hero-overlay h1 {
    font-size: 3.2rem;
    font-weight: 700;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

/* --- ESTILOS PARA LA NAVBAR FLOTANTE MODERNA --- */
.navbar-flotante {
    position: fixed; /* Hace que se mantenga fija al hacer scroll */
    top: 20px; /* Separación del techo */
    left: 50%; /* Centrado horizontal */
    transform: translateX(-50%); /* Ajuste exacto del centrado */
    width: 95%; /* Que no toque las esquinas de la pantalla */
    max-width: 1200px; /* Ancho máximo para que no se estire demasiado en monitores grandes */
    background-color: rgba(255, 255, 255, 0.95) !important; /* Blanco ligeramente translúcido */
    backdrop-filter: blur(10px); /* Efecto vidrio moderno */
    border-radius: 50px; /* Esquinas completamente redondeadas */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); /* Sombra suave y difuminada */
    z-index: 1050; /* Asegura que siempre esté por encima de las imágenes */
    padding: 10px 24px !important; /* Espaciado interno de la barra */
    transition: all 0.3s ease;
}

/* Como la barra ahora "flota" sobre la página, necesitamos empujar el 
   contenido principal hacia abajo para que no quede escondido detrás de ella */
body {
    padding-top: 110px !important; 
}