body {
    font-family: "Inter", sans-serif;
    margin: 0;
    padding: 0;
    /*background-color: #f4f4f4;*/
    color: #333;
    line-height: 1.6;
}

body.fade-out {
    opacity: 10%;
    transition: opacity 0.3s ease-out;
}

.container {
    width: 90%; /* Ajustado para mejor responsividad */
    max-width: 1200px; /* Ancho máximo para pantallas grandes */
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    border-radius: 8px;
}

.section {
    margin-bottom: 50px;
    padding-top: 20px; /* Espacio para anclas de navegación */
    background-color: #f9f9f9;
    padding: 40px 20px;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.section h2 {
    text-align: center;
    color: #ff005c;
    margin-bottom: 30px;
    font-size: 2.8em;
    border-bottom: 3px solid #ff005c;
    display: inline-block;
    padding-bottom: 10px;
}


.section p {
    font-size: 1.1em;
    line-height: 1.8;
    color: #444;
    margin-bottom: 15px;
}

.section ul {
    list-style: none;
    padding-left: 0;
    margin-top: 10px;
}

.section ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
    font-size: 1.05em;
    color: #333;
}

.section ul li::before {
    content: '✔';
    position: absolute;
    left: 0;
    top: 0;
    color: #ff005c;
    font-weight: bold;
}


.text-center {
    text-align: center;
}

/* Header */
header {
    padding: 15px 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Contenedor principal con fondo blanco */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* LOGO */
.logo-wrapper {
    position: relative;
    display: inline-block;
    width: 140px;
    height: auto;
    overflow: visible; /* para que la imagen ampliada no se corte */
}

.logo-img {
  display: block;
  width: 100%;      /* ocupa todo el ancho del wrapper */
  height: auto;
  transform: scale(1.3);           /* escala el logo un 30% más grande */
  transform-origin: center center; /* punto de anclaje para el escalado */
}


/* ----- Estilos Base (tu diseño) ----- */
nav {
   position: sticky;
    top: 0;
    backdrop-filter: blur(8px); /* difumina el fondo detrás */
    z-index: 999;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    display: inline-block;
}

nav ul li a {
    color: #ff005c;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    padding: 20px 25px;
    transition: color 0.3s ease, background-color 0.3s ease;
    border-radius: 5px;
}

nav ul li a:hover {
    color: #ff3c84;
    background-color: #3e3e3e;
}

/* ----- Botón hamburguesa ----- */
.menu-toggle {
    display: none;
    font-size: 2em;
    background: none;
    border: none;
    color: #ff005c;
    cursor: pointer;
}

/* ----- Media Query para vista móvil ----- */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        flex-direction: column;
        align-items: center;
        background-color: #fff;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        display: none;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        animation: slideDown 0.3s ease;
    }

    .nav-menu.show {
        display: flex;
    }

    nav ul li {
        display: block;
        width: 100%;
        text-align: center;
    }

    nav ul li a {
        display: block;
        width: 100%;
        padding: 15px 0;
        font-size: 0.8em;
    }
}

/* ----- Animación de aparición ----- */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Hero Section */
.hero {
    color: #fff;     
    height: 50%;
    text-align: center;
    padding: 160px 20px;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

/* Capa oscura semitransparente menos intensa */
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.15);
    z-index: 1;
    border-radius: 12px;
}

/* Capa de oscuridad adicional menos intensa */
.hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.15);
    filter: brightness(0.6);
    z-index: 2;
    border-radius: 12px;
    pointer-events: none;
}

.hero h2, .hero p, .hero .btn {
    position: relative;
    z-index: 3;
}

.hero h2 {
    font-size: 4em;
    margin-bottom: 20px;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.8);
}

.hero p {
    font-size: 1.8em;
    margin-bottom: 40px;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
}


/* Botones */
.btn {
    background-color: #ff005c;
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-decoration: none; /* Quita el subrayado */
}

.back-button-wrapper {
    margin: 20px 0;
}

.btn-back {
    background-color: #6c757d; /* Un gris neutro */
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px; /* Para separarlo de otros elementos */
    transition: background-color 0.3s ease;
}

.btn-back:hover {
    background-color: #5a6268; /* Un gris más oscuro al pasar el ratón */
}

.btn:hover {
    background-color: #e0004f;
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: #000000;
}

.btn-secondary:hover {
    background-color: #777;
}

.ver-mas-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.ver-mas-btn {
    background-color: #ff005c;
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.ver-mas-btn:hover {
    background-color: #e0004f;
    transform: translateY(-3px);
}


/* Filtros */
.filters {
    text-align: center;
    margin-bottom: 30px;
}

.filter-btn {
    background-color: #e0e0e0;
    border: 1px solid #ccc;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.2em;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.filter-btn:hover {
    background-color: #d0d0d0;
}

.filter-btn.active {
    background-color: #ff005c;
    color: #fff;
    border-color: #ff005c;
    font-weight: bold;
}

.hidden {
    display: none;
}

/* Contenedor de mensajes */
.flash-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Estilo base del mensaje */
.contact-message {
    padding: 14px 20px;
    border-radius: 12px;
    font-weight: 500;
    text-align: center;
    font-size: 1em;
    color: #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.4s ease;
    pointer-events: none;
}

/* Mostrar mensaje con animación */
.contact-message.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Estilo de éxito */
.contact-message.success {
    background-color: #ff005c; /* Color principal de la página */
}

/* Estilo de error */
.contact-message.error {
    background-color: #dc3545; /* Rojo para errores */
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 1000px;
    height: 500px;
    margin: 30px auto;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    filter: blur(5px);
    transition: opacity 0.6s ease, filter 0.6s ease;
    border-radius: 12px;
    pointer-events: none;
    display: block; /* Para que las imágenes ocupen el espacio pero sean invisibles */
}


.carousel-image.active {
    opacity: 1;
    filter: blur(0);
    pointer-events: auto;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;           
    border: none;               
    color: #ff005c;             
    font-size: 4rem;
    padding: 0;                
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s ease;
}

.carousel-btn:hover {
    color: #71002a;             
}

.carousel-btn.left {
    left: 10px;
}

.carousel-btn.right {
    right: 10px;
}



/* Grillas de Talleres y Productos */ 
.workshop-grid, .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.workshop-item, .product-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.workshop-item:hover, .product-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.workshop-item img, .product-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.workshop-content, .product-content {
    padding: 25px;
}

.workshop-content h3, .product-content h3 {
    color: #333;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.8em;
    border-bottom: 1px dashed #ddd;
    padding-bottom: 10px;
}

.workshop-content p, .product-content p {
    font-size: 1em;
    line-height: 1.7;
    margin-bottom: 15px;
}

.contact-info p {
    margin-bottom: 8px;
    font-size: 0.95em;
    color: #666;
}

.workshop-map {
    width: 100%;
    height: 280px;
    border: none;
    border-top: 1px solid #eee;
    border-radius: 0 0 10px 10px;
}


/* Ocultar elementos */
.hidden {
    display: none !important;
}

/* Estilo para botón de categoría activo */
.categoria-btn {
    background-color: #fff;
    color: #ff005c;
    border: 2px solid #ff005c;
    padding: 10px 20px;
    margin: 0 8px 12px 0;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    user-select: none;
}

.categoria-btn:hover {
    background-color: #ff005c;
    color: white;
}

.categoria-btn.active {
    background-color: #ff005c;
    color: white;
    box-shadow: 0 0 10px rgba(255, 0, 92, 0.6);
    border-color: #ff005c;
}



/* Formulario de Contacto */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
    font-size: 1.1em;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1em;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group textarea:focus {
    border-color: #ff005c;
    box-shadow: 0 0 8px rgba(255, 102, 0, 0.2);
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Sección de Testimonios */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.testimonial-item {
    background-color: #fefefe;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

.testimonial-item .quote {
    font-size: 1.1em;
    font-style: italic;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.8;
}

.testimonial-item .author {
    font-weight: bold;
    color: #ff005c;
    font-size: 0.95em;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 2rem 0;
    margin-top: 50px;
    font-size: 0.95em;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.2);
}

footer p {
    margin: 0.5rem 0;
}

/* Media Queries para Responsividad 
@media (max-width: 768px) {
    header h1 {
        font-size: 2.2em;
    }
    header p {
        font-size: 1em;
    }
    nav ul li {
        margin: 0 10px;
    }
    nav ul li a {
        font-size: 0.9em;
    }
    .hero {
        padding: 80px 15px;
    }
    .hero h2 {
        font-size: 2.5em;
    }
    .hero p {
        font-size: 1.2em;
    }
    .btn {
        padding: 10px 20px;
        font-size: 1em;
        margin: 5px;
    }
    .container {
        width: 95%;
        padding: 15px;
    }
    .section h2 {
        font-size: 2em;
        margin-bottom: 25px;
    }
    .workshop-grid, .product-grid, .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .workshop-item img, .product-item img {
        height: 180px;
    }
    .workshop-content, .product-content {
        padding: 20px;
    }
    .workshop-content h3, .product-content h3 {
        font-size: 1.5em;
    }
    .workshop-map {
        height: 220px;
    }
    .contact-form {
        padding: 20px;
    }
    .filters {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .filter-btn {
        flex-basis: 45%; 
        margin: 5px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.8em;
    }
    header p {
        font-size: 0.9em;
    }
    nav ul li {
        display: block;
        margin: 10px 0;
    }
    .hero h2 {
        font-size: 2em;
    }
    .hero p {
        font-size: 1em;
    }
    .btn {
        width: 90%;
        max-width: 250px;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
    .btn-secondary {
        margin-top: 10px;
    }
    .section h2 {
        font-size: 1.8em;
    }
    .filter-btn {
        flex-basis: 100%; 
    }
}
*/
.workshop-item, .product-item {
    animation: fadeIn 0.7s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}


/* ************ NUEVOS ESTILOS PARA CATEGORÍAS DE PRODUCTOS ************ */

/* Estilo para el título principal de la página de productos */
#productos > h1 { /* Apunta directamente al h1 dentro de la sección #productos */
    text-align: center;
    color: #ff005c; /* Mismo color que tus h2 de sección */
    font-size: 3.5em; /* Un poco más grande que los h2 de sección */
    margin-bottom: 50px; /* Más espacio debajo del título principal */
    font-family: "Oswald", sans-serif; /* Puedes usar la fuente de títulos */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

/* Contenedor de cada categoría de producto */
.product-category {
    margin-bottom: 60px; /* Espacio entre las diferentes categorías */
    padding-top: 20px; /* Pequeño padding si se usa un enlace de ancla directo a la categoría */
}

/* Título de cada categoría (H2 dentro de .product-category) */
.product-category h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2em; /* Tamaño similar a los h2 de sección, pero dentro de una categoría */
    color: #333; /* Color de texto principal */
    border-bottom: 2px solid #ff6600;}

    /* ************ ESTILOS PARA LA PÁGINA DE DETALLE DEL PRODUCTO (PDP) ************ */

.product-detail-page {
    margin-top: 40px;
    margin-bottom: 40px;
}

.product-detail {
    display: flex;
    flex-wrap: wrap; /* Permite que los elementos se envuelvan en pantallas pequeñas */
    gap: 40px; /* Espacio entre la imagen y la información */
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.product-images {
    flex: 1; /* Ocupa el espacio disponible */
    min-width: 300px; /* Ancho mínimo para las imágenes */
    text-align: center;
}

.main-image {
    width: 100%;
    max-width: 500px; /* Limita el tamaño máximo de la imagen principal */
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    cursor: zoom-in; /* Indica que la imagen es interactiva */
}

.thumbnail-images {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 2px solid #eee;
    border-radius: 5px;
    cursor: pointer;
    transition: border-color 0.3s ease, transform 0.2s ease;
}

.thumbnail:hover, .thumbnail.active {
    border-color: #ff005c;
    transform: scale(1.05);
}

.product-info {
    flex: 1.5; /* Ocupa más espacio que las imágenes */
    min-width: 350px; /* Ancho mínimo para la información */
}

.product-info h1 {
    font-size: 2.8em;
    color: #333;
    margin-top: 0;
    margin-bottom: 15px;
}

.product-price {
    font-size: 1.5em;
    color: #ff005c;
    font-weight: bold;
    margin-top: 15px;
    margin-bottom: 20px;
    text-align: right;
}

.price {
    font-size: 2.2em;
    color: #ff005c;
    font-weight: bold;
    margin-bottom: 20px;
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.old-price {
    font-size: 0.7em;
    color: #999;
    text-decoration: line-through;
}

.availability {
    font-size: 1.1em;
    margin-bottom: 25px;
    color: #555;
}

.availability .in-stock {
    color: #28a745; /* Verde para stock */
    font-weight: bold;
}

.availability .out-of-stock {
    color: #dc3545; /* Rojo para agotado */
    font-weight: bold;
}

.options {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.option-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
    color: #555;
}

.option-group select {
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1em;
    background-color: #f8f8f8;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.option-group select:focus {
    border-color: #ff005c;
    outline: none;
    box-shadow: 0 0 5px rgba(255, 0, 92, 0.2);
}

.actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.quantity-input {
    width: 80px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    text-align: center;
    font-size: 1.1em;
    /* Las siguientes reglas son las corregidas */
    -moz-appearance: textfield; /* Para Firefox */
    appearance: textfield; /* Estándar para otros navegadores */
}

/* Ocultar flechas en input type="number" para WebKit/Blink (Chrome, Safari, Edge, Opera) */
.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


.add-to-cart, .buy-now {
    flex-grow: 1; /* Permite que los botones crezcan */
    max-width: 200px; /* Limita el ancho en pantallas grandes */
    padding: 15px 25px;
    font-size: 1.2em;
    font-weight: bold;
    text-transform: uppercase;
}

.buy-now {
    background-color: #000; /* Un color diferente para "Comprar Ahora" */
}

.buy-now:hover {
    background-color: #444;
}

.product-description, .product-reviews, .related-products {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.product-description h2, .product-reviews h2, .related-products h2 {
    font-size: 2em;
    color: #333;
    margin-bottom: 20px;
    text-align: left; /* Alinea los títulos de subsecciones a la izquierda */
    border-bottom: none; /* Elimina la línea de la sección h2 general */
    padding-bottom: 0;
    display: block; /* Asegura que no sea inline-block */
}

.product-description ul {
    list-style: disc;
    margin-left: 20px;
    padding-left: 0;
    line-height: 1.8;
}

.product-description ul li {
    margin-bottom: 8px;
}

.product-reviews .stars {
    font-size: 1.8em;
    color: #f8d600; /* Color dorado para las estrellas */
    margin-bottom: 15px;
}
.product-reviews .star {
    margin-right: 2px;
}

.product-reviews p {
    font-style: italic;
    color: #777;
    margin-bottom: 15px;
}

.product-item.product-related {
    border: none; /* Elimina borde para productos relacionados */
    box-shadow: none; /* Elimina sombra */
    text-align: center;
    transition: none; /* Sin animación de hover para éstos */
}

.product-item.product-related:hover {
    transform: none;
    box-shadow: none;
}

.product-item.product-related img {
    height: 150px; /* Ajusta el tamaño de la imagen relacionada */
    object-fit: contain; /* Para que la imagen se ajuste sin recortarse */
    border-bottom: none}

    /* Estilos para la grilla de Eventos (similar a productos/talleres) */


.event-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.event-item img {
    width: 100%;
    height: 250px; /* Altura de la imagen del evento */
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.event-content {
    padding: 25px;
}

.event-content h3 {
    color: #333;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.8em;
    border-bottom: 1px dashed #ddd;
    padding-bottom: 10px;
}

.event-content p { /* Este estilo es importante para la fecha, ubicación, etc. */
    font-size: 1em;
    line-height: 1.7;
    margin-bottom: 15px;
    color: #555;
}

.event-content .btn-small {
    padding: 8px 15px;
    font-size: 0.9em;
    margin-top: 10px;
}

/* Media Queries para la página de eventos */
@media (max-width: 768px) {
    .event-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .event-item img {
        height: 200px;
    }
}

/* mejoras*/

/* Estilos para el contenedor de filtros de eventos */
.event-filters {
    margin-bottom: 40px; /* Más espacio debajo de los filtros */
    padding-bottom: 20px;
    border-bottom: 1px solid #eee; /* Línea separadora */
    display: flex; /* Para organizar los botones de filtro en una fila */
    flex-wrap: wrap; /* Permite que los botones se envuelvan en pantallas pequeñas */
    gap: 10px; /* Espacio entre los botones */
    justify-content: center; /* Centra los botones de filtro */
}

/* Estilos para los botones de filtro */
.filter-btn {
    background-color: #e0e0e0;
    border: 1px solid #ccc;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.2em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-transform: uppercase;
    font-weight: bold;
    color: #555;
}
.filter-btn:hover {
    background-color: #d0d0d0;
    color: #333;
}
.filter-btn.active {
    background-color: #ff005c; /* Tu color principal para el activo */
    color: #fff;
    border-color: #ff005c;
    box-shadow: 0 2px 8px rgba(255, 0, 92, 0.3);
}

/* Ajustes al item de evento para posicionamiento de la etiqueta de estado */
.event-item {
    position: relative; /* Necesario para que .event-status se posicione absolutamente */
    /* ... otros estilos de event-item que ya tenías ... */
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.event-item img {
    width: 100%;
    height: 250px; /* Altura de la imagen del evento */
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.event-content {
    padding: 25px;
}

.event-content h3 {
    color: #333;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.8em;
    border-bottom: 1px dashed #ddd;
    padding-bottom: 10px;
}


.event-content p {
    font-size: 1em;
    line-height: 1.7;
    margin-bottom: 10px; /* Reducido para compactar un poco */
    color: #555;
}

/* Estilos para el estado del evento (etiquetas) */
.event-status {
    display: inline-block;
    padding: 6px 14px; /* Un poco más de padding */
    border-radius: 20px;
    font-size: 0.8em; /* Ligeramente más pequeño */
    font-weight: bold;
    color: #fff;
    margin-bottom: 15px; /* Deja un margen por si no se usa absolute */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: absolute; /* Posiciona la etiqueta flotando sobre la imagen/esquina */
    top: 15px;
    right: 15px;
    z-index: 10; /* Asegura que esté por encima de otros elementos */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.status-proximo {
    background-color: #ff005c; /* Tu color principal (rojo/rosa fuerte) */
}

.status-pasado {
    background-color: #6c757d; /* Gris neutro para eventos pasados */
}

.status-agotado {
    background-color: #dc3545; /* Rojo más fuerte para "Agotado" */
}

/* Contenedor para los botones de acción */
.event-actions {
    display: flex;
    flex-wrap: wrap; /* Permite que los botones se envuelvan si no hay espacio */
    gap: 10px; /* Espacio entre los botones */
    margin-top: 20px;
    justify-content: center; /* Centrar los botones dentro de su contenedor */
}

/* Asegura que los botones ocupen el espacio equitativamente y no se estiren demasiado */
.event-actions .btn-small {
    flex-grow: 1; /* Permite que crezcan para llenar el espacio disponible */
    min-width: 130px; /* Establece un ancho mínimo para evitar que sean demasiado pequeños */
    text-align: center; /* Centra el texto dentro del botón */
    display: flex; /* Para alinear el icono y el texto en el botón de calendario */
    align-items: center; /* Centra verticalmente */
    justify-content: center; /* Centra horizontalmente */
}

/* Estilo específico para el botón de Añadir al Calendario */
.btn-calendar {
    background-color: #007bff; /* Un azul estándar para acciones de calendario */
    color: white;
    border: none;
    cursor: pointer;
}

.btn-calendar:hover {
    background-color: #0056b3; /* Un azul más oscuro al pasar el ratón */
}

.btn-calendar i {
    margin-right: 8px; /* Espacio entre el icono y el texto */
    font-size: 1.1em; /* Ajusta el tamaño del icono */
}

/* Estilo para botones deshabilitados (ej. "Evento Finalizado", "Cupos Agotados") */
.btn-disabled {
    background-color: #cccccc !important; /* Gris claro */
    cursor: not-allowed !important; /* Muestra un cursor de "no permitido" */
    pointer-events: none; /* Evita que el botón sea clickeable */
    color: #666 !important; /* Texto gris más oscuro */
    opacity: 0.8; /* Ligeramente transparente */
}

/* Estilo para un botón secundario (ej. "Ver Fotos") */
.btn-secondary {
    background-color: #343a40; /* Gris oscuro */
    color: white;
}
.btn-secondary:hover {
    background-color: #23272b;
}

/* Media Queries para responsividad 
@media (max-width: 768px) {
    .event-filters {
        flex-direction: column; /* Apila los botones de filtro en pantallas pequeñas 
        align-items: center; /* Centra los botones apilados 
    }
    .filter-btn {
        width: 80%; /* Los botones ocupan más ancho 
        margin: 5px 0;
    }
    .event-actions {
        flex-direction: column; /* Apila los botones de acción en móviles 
    }
    .event-actions .btn-small {
        width: 100%; /* Ocupa todo el ancho disponible 
        max-width: 250px; /* Limita el ancho máximo para que no sean enormes 
    }
}
*/