/* --- PALETA DE COLORES --- */
/* Naranja: #F37A20 */
/* Azul Oscuro: #0D2C54 */
/* Blanco: #FFFFFF */
/* Gris Claro: #f4f4f4 */

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    color: #333;
    background-color: #f4f4f4;
}

/* Encabezado */
.main-header {
    background-color: #FFFFFF;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid #F37A20;
}

.logo a {
    text-decoration: none;
    font-size: 1.8em;
    font-weight: bold;
    color: #0D2C54;
}

.main-nav a {
    margin: 0 15px;
    text-decoration: none;
    color: #0D2C54;
    font-weight: bold;
}

.search-bar input {
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 20px;
    width: 250px;
}

/* --- ESTILOS DEL CARRUSEL --- */
.carousel-container {
    position: relative;
    max-width: 100%;
    margin: auto;
    overflow: hidden;
}

.carousel-slide {
    display: none;
    text-align: center;
}

.carousel-slide.active {
    display: block;
}

.carousel-slide img {
    width: 100%;
    vertical-align: middle;
}

.carousel-text {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 20px 30px;
    border-radius: 10px;
    text-align: center;
}

.carousel-text h2 {
    font-size: 2.5em;
    margin: 0 0 10px 0;
}

.cta-button {
    background-color: #F37A20;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    margin-top: 10px;
    border: 2px solid #F37A20;
    transition: background-color 0.3s, color 0.3s;
}

.cta-button:hover {
    background-color: #FFFFFF;
    color: #F37A20;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.3s ease;
    border-radius: 50%;
    user-select: none;
    background-color: rgba(0,0,0,0.4);
    border: none;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}

/* Productos Destacados */
.featured-products {
    padding: 60px 20px;
    text-align: center;
}

.featured-products h2 {
    color: #0D2C54;
    font-size: 2.2em;
    margin-bottom: 40px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background-color: #FFFFFF;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.product-card img {
    max-width: 100%;
    height: auto;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.product-card h3 {
    font-size: 1.2em;
    color: #0D2C54;
    margin-bottom: 10px;
}

.price {
    font-size: 1.3em;
    font-weight: bold;
    color: #F37A20;
    margin-bottom: 15px;
}

.product-button {
    background-color: #0D2C54;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    display: block;
    transition: background-color 0.3s;
}

.product-button:hover {
    background-color: #1a4a8a;
}

/* Pie de Página */
.main-footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 30px 20px;
    margin-top: 40px;
}

.footer-links a {
    color: #F37A20;
    margin: 0 10px;
    text-decoration: none;
}
