/* 
===================================
  LISTADO DE BOTES (archivo y shortcode)
===================================
*/
.botes-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 5%;
    margin-top: 5%;
}

.bote-item {
    text-align: center;
    padding: 0; 
    border: 0; /* Ajustar si quieres bordes */
}

/* Imagen de 300×300 en el listado */
.bote-item img {
    width: 300px; 
    height: 300px;
    object-fit: cover !important;
    display: block;
    margin: 0 auto;
}

/* Título con fondo de color */
h3 .bote-titulo {
    font-size: 25px;
    background-color: #EEFFFF !important; /* Cambia al que quieras */
    font-weight: 700;
    padding: 10px;
    margin: 0;
    text-transform: uppercase !important;
    color: #0455AA;
}

/* Paginación */
.botes-pagination {
    text-align: center;
    margin-top: 20px;
}
.botes-pagination a {
    color: #007bff;
    margin: 0 10px;
    text-decoration: none;
}
.botes-pagination a:hover {
    text-decoration: underline;
}

/* Responsivo para tablets */
@media (max-width: 768px) {
    .botes-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .bote-item img {
        width: 100%;
        height: auto;
    }
}

/* Responsivo para móviles */
@media (max-width: 480px) {
    .botes-container {
        grid-template-columns: 1fr;
    }
    .bote-item img {
        width: 100%;
        height: auto;
    }
}


/*
===================================
  VISTA INDIVIDUAL (single-botes)
===================================
*/
.single-bote-container {
    max-width: 90%; /* ~5% de cada lado */
    margin: 0 auto;

    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
}

.bote-imagen {
    flex: 0 0 40%;
}

.bote-imagen img {
    width: 600px;
    height: 400px;
    object-fit: cover;
    display: block;
    max-width: 100%; /* Evita desbordes en móviles */
}

.bote-detalles {
    flex: 1 1 60%;
    padding: 20px;
    box-sizing: border-box;
}

.bote-boton {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    margin-top: 20px;
}

.bote-boton:hover {
    background-color: #0056b3;
}

/* Responsivo single */
@media (max-width: 768px) {
    .single-bote-container {
        flex-direction: column;
    }
    .bote-imagen img {
        width: 100%;
        height: auto;
    }
    .bote-imagen, .bote-detalles {
        width: 100%;
        flex: 1 1 100%;
    }
}
