/*
Theme Name: ELGUSTOESNUESTRO - Tema hijo
Description: Tema hijo personalizado para ELGUSTOESNUESTRO
Author: ELGUSTOESNUESTRO
Version: 1.1
Template: grill
Text Domain: grill-child
*/

/* ==== GENERAL ==== */
html,
body {
  height: auto !important;
}

/* ==== FORMULARIOS DE RESERVA ==== */
.wc-bookings-booking-form,
.wc-bookings-booking-form fieldset {
  padding: 0 !important;
  border: none !important;
  margin: 0 !important;
}

.wc-bookings-booking-form .wc_bookings_field_persons {
  padding: 15px 10px;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}

.wc-bookings-date-picker legend {
  background: none !important;
}

.wc-bookings-date-picker .ui-datepicker td.bookable a {
  background-color: #3c3d3f !important;
}

.wc-bookings-booking-form .block-picker li:nth-child(2n+1) a {
  background-color: #f4f4f4 !important;
  color: black !important;
}

.wc-bookings-booking-form .block-picker li:nth-child(2n+1) a:hover {
  background-color: #3c3d3f !important;
  color: white !important;
}

/* ==== DESCRIPCIÓN DE PRODUCTO ==== */
.woocommerce-product-details__short-description ul {
  margin-left: 20px !important;
}

.woocommerce-product-details__short-description ul strong {
  font-weight: bolder !important;
}

/* ==== BOTONES PERSONALIZADOS ==== */
.labelbotn {
  background-color: white;
  color: #666;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 12px;
}

.botonbono {
  background-color: #999 !important;
}

.botonbono a {
  color: white !important;
}

/* ==== TARJETAS REGALO ==== */
.gift-cards-list {
  background-color: transparent !important;
  width: 100% !important;
}

/* ==== AJUSTES DE PRODUCTO ESPECÍFICO ==== */
#product-12071 .woocommerce-product-gallery {
  width: 35% !important;
}

#product-12071 .summary {
  width: 60% !important;
  right: 0 !important;
}

#product-12071 input {
  width: 100% !important;
}

/* ==== CALENDARIO LISTA ==== */
.listacalendario {
  margin: 0;
}

.listacalendario li {
  margin: 3px 0;
  padding: 5px 10px;
  border-bottom: 1px solid #ccc;
  list-style: none;
}

.listacalendario a {
  color: #666;
  font-weight: bold;
  margin: 0 0 10px 0;
}

.listacalendario a:hover {
  color: #999;
}

@media screen and (max-width: 750px) {
  .listacalendario li span {
    display: inline-block;
    width: 100%;
  }
}

@media screen and (min-width: 751px) {
  .listacalendario li span {
    display: inline-block;
    width: 23%;
  }

  .listacalendario.nueva li span.titulo {
    width: 38%;
  }

  .listacalendario.nueva li span.botones {
    width: 22%;
  }

  .listacalendario.nueva li span.resto {
    width: 16%;
  }
}

/* ==== CLASES PARA ESTADO DE PLAZAS ==== */
.libres,
.ocupado {
  padding: 3px 10px;
  margin-top: 5px;
  border-radius: 5px;
}

.libres {
  background-color: green;
}

.ocupado {
  background-color: red;
}

/* ==== TIPOS DE PRODUCTO ==== */
.product_type_booking,
.product_type_gift-card,
.product_type_external {
  background-color: #f4f4f4 !important;
}

/* ==== CALENDARIO FULLCALENDAR ==== */
.fc-event {
  font-size: 1.2em !important;
  background-color: #eaeaea !important;
  border: 1px solid #eaeaea !important;
  color: #000 !important;
}

.fc-event:hover {
  background-color: black;
}

.fc-content,
.fc-event,
.fc-time,
.fc-title {
  max-width: 95% !important;
  width: 93% !important;
}

.fc-time,
.fc-title {
  float: left;
  display: inline-block;
}

.fc-scroller {
  overflow: hidden !important;
}

/* ==== TABLAS RESPONSIVAS ==== */
#bigTable {
  width: 100%;
  background-color: transparent !important;
}

@media screen and (max-width: 600px) {
  #bigTable a {
    color: #999;
    font-weight: bold;
    font-size: 1em !important;
  }

  #bigTable thead {
    display: none;
  }

  #bigTable tr {
    border-bottom: 1px solid #999;
  }

  #bigTable tbody td {
    display: block;
    text-align: left;
  }

  #bigTable tbody td:before {
    content: attr(data-th);
    display: block;
    text-align: left;
  }
}

/* ==== PAGO Y NAVEGACIÓN ==== */
.woocommerce-checkout #payment ul.payment_methods li {
  list-style: none;
}

nav.woocommerce-MyAccount-navigation a {
  color: black;
  font-size: 18px;
}

/* ==== INFO EN CALENDARIO ==== */
.calendar-info p {
  font-weight: bold !important;
  color: #000 !important;
  font-size: 16px;
  margin-top: 10px;
}

/* arreglo visión móvil */
@media only screen and (max-width:480px) {
  .croma-primarynav {
    display: none;
  }

  .mobilemenupart {
    display: block;
  }
}

/* ==== MODAL LISTA DE ESPERA ==== */
.egn-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.egn-modal-content {
  background: white;
  padding: 30px;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.egn-modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: #666;
}

.egn-modal-close:hover {
  color: #000;
}

.egn-modal-content h3 {
  margin-top: 0;
  color: #333;
}

.egn-modal-content p {
  color: #666;
  margin-bottom: 20px;
  line-height: 1.5;
}

.egn-modal-content input[type="email"] {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
}

.egn-modal-content button {
  background-color: #3c3d3f;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  width: 100%;
  transition: background-color 0.3s;
}

.egn-modal-content button:hover {
  background-color: #000;
}