/* Importar fuentes si es necesario, por ejemplo: */
/* @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap'); */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
}

/* Estilos del Header y navegación */
.header-container {
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.main-nav .nav-item {
    text-decoration: none;
    color: #666;
    margin-right: 20px;
    font-weight: bold;
}

.main-nav .nav-item.active {
    color: #d11e1f; /* Rojo de Bata */
}

.logo img {
    height: 30px;
}

.user-actions a {
    text-decoration: none;
    color: #333;
    margin-left: 20px;
    font-size: 20px;
}

/* Estilos del carrusel/banner de promoción */
.carousel-container {
    width: 100%;
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 50px 0;
}

.carousel-item {
    background-size: cover;
    background-position: center;
}

.promo-text {
    max-width: 800px;
    margin: 0 auto;
}

.promo-text h1 {
    font-size: 3rem;
    font-weight: bold;
    color: #d11e1f; /* Rojo para el cupón */
    margin: 10px 0;
}

/* Estilos de la sección de productos */
.product-page-content {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}

.product-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.product-header h2 {
    font-size: 2rem;
    margin: 0 20px 0 0;
}

.product-count {
    color: #999;
    font-size: 1.2rem;
}

.category-list {
    display: flex;
    flex-wrap: wrap;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.category-item {
    text-decoration: none;
    color: #666;
    background-color: #eee;
    padding: 8px 15px;
    border-radius: 20px;
    margin-right: 10px;
    font-size: 0.9rem;
}

.category-item.active {
    background-color: #000;
    color: #fff;
}

.filters-sort-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
    margin-bottom: 30px;
}

.filters a, .sort-by a, .sort-by span {
    text-decoration: none;
    color: #333;
    margin-right: 20px;
}
/* Estilos para el contenedor del filtro desplegable */
.filter-dropdown {
    position: relative;
    display: inline-block;
    margin-right: 20px;
}

/* Oculta el contenido del menú desplegable por defecto */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 5px;
    padding: 10px 0;
}

/* Estilo para los enlaces dentro del menú desplegable */
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
}

/* Resalta los enlaces al pasar el cursor */
.dropdown-content a:hover {
    background-color: #f1f1f1;
}

/* Muestra el menú desplegable cuando el contenedor tiene la clase 'active' */
.filter-dropdown.active .dropdown-content {
    display: block;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-card {
    border: 1px solid #eee;
    padding: 10px;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.heart-icon {
    font-size: 1.5rem;
    color: #ccc;
    cursor: pointer;
}

/* Estilos del footer */
.footer-container {
    background-color: #f8f8f8;
    padding-top: 50px;
}

.footer-banner {
    background-color: #d11e1f; /* Rojo de Bata */
    color: #fff;
    padding: 40px;
    text-align: center;
}

.banner-content h2 {
    font-size: 2.5rem;
    margin: 0;
}

.banner-content p {
    margin: 15px 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.discover-btn {
    background-color: #000;
    color: #fff;
    border: none;
    padding: 10px 25px;
    font-size: 1rem;
    cursor: pointer;
}

.sitemap-container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

.sitemap-column {
    flex-basis: 20%;
}

.sitemap-column h4 {
    font-size: 1rem;
    text-transform: uppercase;
    color: #333;
}

.sitemap-column ul {
    list-style: none;
    padding: 0;
}

.sitemap-column li a {
    text-decoration: none;
    color: #666;
    line-height: 2;
    font-size: 0.9rem;
}

.bottom-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
    padding: 20px 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.locations span {
    margin-right: 20px;
    color: #666;
}

.social-media a {
    text-decoration: none;
    color: #666;
    margin-left: 15px;
}

.copyright {
    text-align: center;
    color: #999;
    padding: 10px 0;
}