/* Archivo: product-style.css */
.category-header, .categories-container, .custom-actividad-container {
    text-align: center;
    margin-bottom: 10px;
    max-width: 1170px;
    margin: 20px auto;
}

.category-header img {
    max-width: 65px;
    max-height: 67px;
    display: block;
    
}
.activity-item {
    transition: opacity 0.3s ease;
}

.activity-item[style="display: none;"] {
    opacity: 0;
}

.category-header hr, .categories-container hr {
    width: 100%;
    border: none;
    border-top: 2px solid #888484;
    margin: 20px 0;
}
.custom-actividad-container {
    padding: 20px;
}

.actividad-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.categoria-icono {
    width: 50px;
    height: auto;
}

.actividad-enlace {
    color: #0073aa;
    text-decoration: none;
    font-weight: bold;
}



.actividad-content {
    display: flex;
    gap: 20px;
}

.actividad-gallery {
    flex: 1;
}

.actividad-details {
    flex: 1;
}

.product-description {
    margin-bottom: 20px;
    text-align: left;
    font-family: 'Lato',sans-serif;
}

.booking-info p {
    margin-bottom: 10px;
    font-size: 18px;
    text-align: left;
    font-family: 'Lato',sans-serif;
}


#nanogallery2 {
    width: 100%;
}
/* PAGINATION */
.back-button-wrapper {
        /* margin-top: 20px; */
        text-align: center;
        display: flex;
        align-self: flex-end;
}

.back-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    font-family: 'Lato';
}

.back-button:hover {
    background-color: #555;
}
a.category-link{
    text-decoration:none;
}
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.pagination a,
.pagination span {
    padding: 10px 15px;
    margin: 0 5px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
}

.pagination .current {
    background-color: #333;
    color: #fff;
    border: 1px solid #333;
}

.pagination a:hover {
    background-color: #f0f0f0;
}



/* PRUEBAS */
.category-section {
    margin-bottom: 40px;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
}

.category-left {
    flex: 0 0 30%;
    position: relative;
}

.category-right {
    flex: 0 0 65%;
    padding-left: 20px;
}

.category-header img {
    position: relative;
    margin-left: 30px;
    margin-bottom: -3px;
    max-width: 70px;
    max-height: max-content;

}

.category-description{
    color: #4D4D4D;
    font-size: 20px;
    letter-spacing: 0px;
    font-family: "Lato", serif;
    font-weight: 400;
    font-style: normal;
    margin: 0 0 5px;
    place-self: end;
}
.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 10px;
    color: #fff;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.category-title {
    font-family: "Lato", serif;
    font-weight: 400;
    font-size: 30px;
    font-style: normal;
    letter-spacing: 0px;
    color: #FFFFFF;
    background-color: #56554A;
    border-radius: 23px;
    width: 228px;
    height: 46px;
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;

}

.category-right h2 {
    font-size: 24px;
    color: #333;
}

.category-right p {
    font-size: 16px;
    color: #666;
}

/* Estilo para el grid de actividades */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(2,  1fr);

    gap: 20px;
}

.activity-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    max-width: 580px;
    max-height: 200px;
    border-radius: 2em;
}

.activity-image {
    background-size: cover;
    background-position: center;
    
    position: relative;
}
.category-image-wrapper img[alt="Senderismo"],.category-image-wrapper img[alt="Hiking"],.category-image-wrapper img[alt="Randonnée"]{
    width: 32px;
    height: 52px;
    display: flex;
}
.activity-title {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: #F8D441 0% 0% no-repeat padding-box;
    border-radius: 0px 21px 21px 21px;
    padding: 5px 30px;
    font-family: "Lato", serif;
    font-weight: 400;
    /* width: 252px; */
    height: 43px;
    color: #000000;
    font-size: 19.1px;
}
.activity-image[alt="TEIDE LIGHT"]{
background-size: cover;
    background-position: center;
    position: relative;
    height: 100%;
    width: 100%;
    object-fit: cover;

}

/* Producto single */
.actividad-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.categoria-icono-container {
    flex: 0 0 auto;
}

.categoria-icono {
    width: 65px;
    height: auto;
}

.reserva-container {
    flex: 0 0 auto;
}

.reserva-boton {
    display: flex;
    align-items: center;
    background-color: #FFD700;
    color: #606055;
    padding: 10px 20px;
    font-family: "Lato", serif;
    width: 217px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    justify-content: center;
}

.reserva-boton:hover {
    background-color: #FFC107;
}

.reserva-boton span {
    margin-right: 10px;
}

.reserva-icono {
    width: 26px;
    height: auto;
}

hr {
    width: 100%;
    border: none;
    border-top: 2px solid #ddd;
    margin-top: 10px;
}