/* Estilos para la imagen de portada InfoNegocio */
.hero-section {
    position: relative;
    width: 100%;
    height: 40vh;
    overflow: hidden;
    margin-bottom: 20px;
}



.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.705), rgba(0, 0, 0, 0));
    /* Empieza más oscuro abajo y se desvanece */
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1200px;
    z-index: 2;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-logo {
    width: 110px;
    height: 110px;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo img {
    max-width: 100%;
    max-height: 100%;
}

.hero-name {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 3px;
    text-shadow: 1px 1px 7px rgba(0, 0, 0, 0.7);
}

.hero-ratings {
    display: flex;
    align-items: center;
    margin-bottom: 3px;
    font-size: 1.4rem;
    text-shadow: 1px 1px 7px rgba(0, 0, 0, 0.7);
}

.hero-ratings i {
    color: #ffc107;
    margin-right: 2px;
}

.rating-score {
    margin-left: 5px;
}

.total-ratings {
    margin-left: 5px;
    font-size: 1.3rem;
}

.hero-description {
    max-width: 1200px;
    line-height: 1.3;
    margin-top: 5px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    font-size: 1.3rem;
}

/* Estilos para el mensaje de cierre */
.closed-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 10px 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    text-align: center;
    font-size: 1.3rem;
    font-weight: bold;
}

/* Estilos para la sección de delivery */
/* .delivery-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
} */





/* Estilos para los botones de radio de métodos de entrega */
.delivery-method {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 10px;
}

.delivery-method label {
    font-size: 1.3rem;
    /* Establece el tamaño de fuente */
    font-weight: bold;
    padding: 13px 26px;
    /* Ajusta el padding proporcionalmente */
    margin: 0 13px;
    /* Ajusta el margen proporcionalmente */
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #ddd;
    display: inline-flex;
    align-items: center;
}

.delivery-method label i {
    font-size: 2rem;
    /* Establece el tamaño de fuente de los iconos */
    margin-right: 8px;
}

.delivery-method input[type="radio"] {
    display: none;
}

.delivery-method input[type="radio"]:checked+label {
    background-color: #ff6b6b;
    color: white;
    border-color: #ff6b6b;
}

/* Estilos para la sección de opciones de entrega */
.delivery-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0 auto;
    max-width: 1000px;
}

.delivery-section {
    display: none;
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 10px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.active-section {
    display: flex;
}













/* iconos delivery o envio a domicilio */
.delivery-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    padding: 10px;
    min-width: 120px;
    text-align: center;
}

.delivery-item i {
    font-size: 2.3rem;
    color: #5c6bc0;
    margin-bottom: 8px;
}

.delivery-label {
    font-size: 1.4rem;
    color: #666;
    margin-bottom: 5px;
}

.delivery-value {
    font-weight: bold;
    font-size: 1.3rem;
}

/* Estilos para el mapa modal */
.map-button {
    background-color: #5c6bc0;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
}

.map-button i {
    margin-right: 8px;
}

.map-button:hover {
    background-color: #3f51b5;
}

.map-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    overflow: auto;
}

.map-modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 20px;
    width: 90%;
    max-width: 800px;
    border-radius: 10px;
    position: relative;
}

.close-map {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
}

#map {
    width: 100%;
    height: 500px;
    border-radius: 5px;
}









@media (max-width: 768px) {
    .hero-name {
        font-size: 2.3rem;
    }

    .hero-ratings {
        font-size: 1.3rem;
    }

    .hero-description {
        font-size: 1.3rem;
    }

    .hero-section {
        position: relative;
        width: 100%;
        height: 35vh;
        overflow: hidden;
        margin-bottom: 10px;
    }








    /* Estilos para los botones de radio de métodos de entrega */

    .delivery-method {
        display: flex;
        /* Mantiene los elementos en una fila */
        justify-content: center;
        /* Centra los elementos horizontalmente */
        align-items: center;
        /* Centra los elementos verticalmente (opcional) */
        margin: 5px auto;
        /* Centra el contenedor en la pantalla */
        padding: 5px;
        border-radius: 5px;
        width: 95%;
        /* Ajusta el ancho según necesites */
        /* flex-wrap: wrap; */
        /* Permite que los botones pasen a la siguiente línea si no caben */
    }

    .delivery-method label {
        font-size: 1.4rem;
        padding: 10px 15px;
        margin: 5px;
        /* Reduce el margen para que quepan más en la fila */
        border-radius: 20px;
        /* display: flex; */
        /* Para centrar el icono y el texto dentro */
        justify-content: center;
        align-items: center;
    }

    .delivery-method label i {
        font-size: 1.5rem;
        margin-right: 5px;
    }
















    .delivery-section {
        /* flex-direction: column; */
        align-items: center;
    }

    .delivery-item {
        width: 100%;
        margin-bottom: 10px;
    }

    .map-modal-content {
        width: 95%;
        margin: 10% auto;
    }

    #map {
        height: 300px;
    }
}