/* --- Estilos Checkout Ajustados (V3) --- */

.nc-progress-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  /* Ajustamos el margen para que no toque los bordes de la pantalla */
  margin: 0 auto 30px auto;
  max-width: 100%; /* Opcional: puedes poner px si quieres que estén más juntos, ej: 800px */
  padding-top: 10px; /* Espacio arriba */
}

/* LÍNEA CONECTORA (Ahora continua) */
.nc-progress-bar::before {
  content: "";
  position: absolute;
  /* Para centrar la línea exactamente a la mitad del círculo de 50px:
     10px (padding-top) + 25px (mitad del círculo) = 35px */
  top: 35px;
  left: 0;
  right: 0;
  height: 2px; /* Grosor de la línea */
  background-color: #e9ecef; /* Gris claro */
  z-index: 1; /* Detrás de los círculos */
}

/* CÍRCULO BASE */
.nc-step {
  background-color: #e9ecef; /* Fondo gris tapa la línea automáticamente */
  color: #333;
  border-radius: 50%;
  /* Aumentamos tamaño */
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2; /* Encima de la línea */
  /* Quitamos el borde blanco para que se vean unidos */
  border: none;
}

/* ESTADOS (Activo / Completado) */
.nc-step.nc-active,
.nc-step.nc-valid {
  background-color: #212529; /* Oscuro */
  color: #fff;
}

/* TEXTOS Y ICONOS */
.nc-number {
  font-size: 20px; /* Número más grande */
  font-weight: 600;
}

.nc-check {
  font-size: 18px; /* Check más grande */
}

.nc-label {
  position: absolute;
  top: 60px; /* Un poco más abajo porque el círculo creció */
  width: 150px;
  text-align: center;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px; /* Texto más legible */
  font-weight: 700; /* Negrita como en la imagen 1 */
  color: #212529;
}

/* UTILIDADES */
.nc-hidden {
  display: none !important;
}

/* --- Estilos Tarjeta Compacta (V3) --- */
.summary-card {
  background: #fff;
  border: 1px solid #e6e6e6; /* Borde muy sutil */
  border-radius: 6px; /* Bordes menos redondeados, más serio */
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #333;
  overflow: hidden;
  font-size: 14px; /* Tamaño base un poco más pequeño */
}

/* HEADER: Restaurante */
.sc-header {
  padding: 15px 20px; /* Menos espacio vertical */
  border-bottom: 1px solid #f0f0f0;
}

.sc-header-final{
  padding: 7px 20px; /* Menos espacio vertical */
  background-color: #f8f9fa;
}

.sc-rest-name {
  font-size: 16px;
  font-weight: 700;
  color: #2c3e50; /* Azul oscuro corporativo */
  margin-bottom: 2px; /* Muy pegado a la dirección */
}
.sc-rest-address {
  font-size: 12px;
  color: #8898aa; /* Gris azulado suave */
  margin-left: 28px; /* Indentación para alinear con el texto del nombre */
}

/* BODY: Lista de Compra */
.sc-body {
  padding: 15px 20px;
}

.sc-body-final {
  padding: 15px 20px;
  background-color: #f8f9fa;
}

.sc-title {
  font-size: 14px;
  font-weight: 700;
  color: #333;
  margin-bottom: 5px; /* Espacio antes de la lista */
  display: flex;
  align-items: center;
}

.sc-icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: 24px; /* Ancho fijo para que el texto siempre se alinee igual */
  margin-right: 4px; /* Espacio entre icono y texto */
  vertical-align: middle;
}

/* Filas de productos mucho más compactas */
.sc-item-row {
  margin-bottom: 6px; /* Antes era 12px, ahora es la mitad */
  display: flex;
  align-items: flex-end; /* Alinea texto y precio abajo */
  line-height: 1.2;
  margin-left: 13px;
}
.sc-item-name {
  font-size: 13px; /* Texto compacto */
  font-weight: 500;
  color: #444;
}
.sc-item-qty {
  font-size: 12px;
  color: #aaa;
  margin-left: 4px;
}
.sc-item-price {
  font-size: 14px;
  font-weight: 700;
  color: #2c3e50;
  text-align: right;
}

/* FOOTER: Total */
.sc-footer {
  background-color: #f8f9fa;
  padding: 15px 20px;
  border-top: 1px solid #eef1f5;
}

.sc-footer-final {
  background-color: #f8f9fa;
  padding: 15px 20px;
}

.sc-total-label {
  font-size: 14px;
  font-weight: 800; /* Extra bold */
  color: #333;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding-top: 5px; /* Pequeño ajuste visual */
}
.sc-total-price {
  font-size: 20px; /* Grande pero no gigante */
  font-weight: 800;
  color: #2c3e50;
  line-height: 1;
}
.sc-iva {
  font-size: 10px; /* Muy pequeño */
  color: #95a5a6;
  margin-top: 2px;
  font-weight: normal;
}

/* Iconos */
.fa-custom {
  color: #555;
  font-size: 14px;
}

/* --- Estilos Formulario Moderno --- */

/* Título de la sección */
.section-title {
  font-size: 20px;      /* Un poco más pequeño (antes solía ser 18px o más) */
  font-weight: 400;     /* Normal (quitamos el bold/negrita) */
  color: #333333;       /* Gris oscuro, no negro puro */
  margin-top: 10px;
  letter-spacing: 0.3px; /* Un poquito de aire entre letras para legibilidad */
  font-family: inherit; /* Hereda la fuente de tu web (Helvética/Arial, etc) */
}

/* Ocultamos los labels tradicionales para imitar el diseño limpio */
/* (El placeholder hará el trabajo visual) */

.modern-form-group-info-extra {
  margin-bottom: 10px !important;
  padding-right: 1px !important;
  padding-left: 6px !important;
}

.modern-form-group {
  margin-bottom: 1px !important;
  padding-right: 1px !important;
  padding-left: 6px !important;
}

.btn-group.bootstrap-select.form-control {
  border: 1px solid #cccccc00 !important;
}

/* Estilo de los Inputs (Cajas Grises) */
.modern-input {
  background-color: #f0f2f5 !important; /* Gris claro */
  border: 1px solid transparent !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  height: 50px !important; /* Más altos para verse modernos */
  padding: 5px 10px !important;
  padding-top: 25px !important;
  font-size: 15px;
  color: #495057;
  width: 100%;
}

.modern-input-select {
  background-color: #f0f2f5 !important; /* Gris claro */
  border: 1px solid transparent !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  height: 50px !important; /* Más altos para verse modernos */
  font-size: 15px;
  color: #495057;
  width: 100%;
}

.pointer-select:hover {
  cursor: pointer;
}

.summary-box {
  background-color: #f8f9fa;;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 25px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: #555;
}

.summary-row.total {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #ddd;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text-color);
}

.vat-note {
  font-size: 0.8rem;
  color: #888;
}

.modern-input:focus {
  background-color: #fff !important;
  border-color: #ced4da !important;
  box-shadow: 0 0 0 3px rgba(0,0,0,0.05) !important;
}

/* Ajuste específico para el Textarea de comentarios */
textarea.modern-input {
  height: 100px !important;
  padding-top: 25px !important;
  resize: none;
}

/* Ajustes para el Bootstrap Select (El prefijo del país) */
/* Forzamos al botón del dropdown a parecerse al input */
.bootstrap-select > .dropdown-toggle {
  background-color: #f0f2f5 !important;
  border: 1px solid transparent !important;
  border-radius: 6px !important;
  height: 50px !important;
  padding: 10px 15px !important;
}

.bootstrap-select > .dropdown-toggle:focus {
  background-color: #fff !important;
  outline: none !important;
}

/* Espaciado entre filas */
.row-spacing {
  margin-bottom: 6px;
  padding-left: 10px;
  padding-right: 0px;
}

.modern-form-group-two {
  margin-bottom: 5px !important;
  padding-right: 1px !important;
  padding-left: 6px !important;
}

/* Cuando la pantalla crece (Tablets y PC) deshacemos esos cambios */
@media (min-width: 768px) {
  .modern-form-group-two {
    margin-bottom: 1px !important;
    padding-right: 1px !important;
    padding-left: 6px !important;
  }
}

/* --- Estilos Input con Etiqueta Fija (Material Like) --- */

/* Contenedor relativo para poder posicionar la etiqueta dentro */
.input-wrapper {
  position: relative;
  margin-bottom: 15px;
}

/* 1. EL INPUT (La caja gris) */
.custom-input {
  background-color: #eff2f7 !important;
  border: none !important;
  border-radius: 4px !important;
  height: 56px !important;
  width: 100%;
  box-shadow: none !important;
  color: #333; /* Color del texto que escribe el usuario */
  font-size: 15px;
  font-weight: 500;

  /* CRÍTICO: Espacio arriba para que el texto no tape al título */
  padding-top: 25px !important;
  padding-bottom: 5px !important;
  padding-left: 15px !important;
}

.custom-input:focus {
  background-color: #e0e3e8 !important;
  outline: none !important;
}

/* 2. LA ETIQUETA (El título pequeño "Nombre*") */
.floating-label {
  position: absolute;
  top: 8px; /* Pegado arriba */
  left: 15px;
  font-size: 13px; /* Letra pequeña */
  color: #6c757d; /* Color gris suave */
  font-weight: 400;
  pointer-events: none; /* Para que si das click en el texto, se active el input */
  z-index: 10;
}

/* Ajuste específico para el Textarea */
textarea.custom-input {
  height: 120px !important;
  padding-top: 30px !important; /* Un poco más de espacio en textarea */
  resize: none;
}

/* Estilos para el PREFIJO (Mantenemos lo anterior, ajustado) */
.prefix-wrapper {
  position: relative;
  background-color: #eff2f7;
  border-radius: 4px;
  height: 56px;
}
.prefix-wrapper .bootstrap-select > .dropdown-toggle {
  background-color: transparent !important;
  border: none !important;
  height: 56px !important;
  padding-top: 22px !important; /* Empuja el +34 hacia abajo */
  padding-left: 15px !important;
  box-shadow: none !important;
}

/* --- Estilos Switch (Toggle) --- */
.gift-toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
  padding: 0 0px;
  padding-right: 15px;
}

.gift-title {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  display: flex;
  align-items: center;
  gap: 10px; /* Espacio entre icono y texto */
}

/* El interruptor en sí */
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 28px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 50%;
}

/* Estado Activo (Verde) */
input:checked + .slider {
  background-color: #28a745; /* Verde bootstrap o personalizado */
}

input:focus + .slider {
  box-shadow: 0 0 1px #28a745;
}

input:checked + .slider:before {
  -webkit-transform: translateX(22px);
  -ms-transform: translateX(22px);
  transform: translateX(22px);
}

/* --- Estilos Contenedor Regalo --- */
.gift-container {
  background-color: #f0f2f5; /* Fondo Gris */
  padding: 20px 15px;
  border-radius: 6px;
  margin-top: 10px;
  margin-bottom: 20px;
}

/* INPUT BLANCO (Dentro del regalo) */
.modern-input.white-input {
  background-color: #ffffff !important; /* Fondo Blanco */
  border: 1px solid transparent !important;
  border-radius: 4px !important;
  height: 56px !important;
  width: 100%;
  box-shadow: none !important;
  color: #333;
  font-size: 15px;

  /* CRÍTICO: Esto baja el texto "Alberto" para que no toque la etiqueta */
  padding-top: 25px !important;
  padding-bottom: 5px !important;
  padding-left: 15px !important;
}

textarea.modern-input.white-input {
  height: 80px !important; /* Hacemos la caja más alta */
  padding-top: 30px !important; /* Más espacio arriba para que la etiqueta no moleste */
  resize: none; /* Evita que el usuario cambie el tamaño */
  line-height: 1.5;
}

.modern-input.white-input:focus {
  box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;
}

/* Ajuste para asegurar que la etiqueta flote correctamente aquí también */
.gift-container .floating-label {

}

/* Separación entre inputs en versión móvil/tablet */
.gift-gap {
  margin-bottom: 15px;
}

@media (min-width: 768px) {
  .gift-gap {
    margin-bottom: 15px;
  }
}

.gift-gap-first {
  margin-bottom: 15px;
}

@media (min-width: 768px) {
  .gift-gap-first {
    margin-bottom: 15px;
    padding-right: 0px;
  }
}

.gift-gap-second {
  margin-bottom: 15px;
}

@media (min-width: 768px) {
  .gift-gap-second {
    margin-bottom: 15px;
    padding-left: 0px;
  }
}


.modern-input:not(:placeholder-shown) ~ .floating-label,
.modern-input:focus ~ .floating-label {
  top: 8px !important;
  font-size: 11px !important;
  /* Opcional: añade transición para que se vea suave */
  transition: 0.2s ease all;
}

/* --- Estilos Sección Descuento --- */
.discount-section {
  margin-top: 30px;
  padding-left: 0px;
  padding-right: 15px;
}

.discount-row {
  display: flex;
  align-items: flex-start; /* Alineación superior para manejar el mensaje de error abajo */
  gap: 15px; /* Espacio entre input y botón */
}

/* Wrapper del input para posicionar iconos dentro */
.discount-input-wrapper {
  position: relative;
  flex-grow: 1; /* Ocupa el espacio restante */
}

/* El Input limpio */
.discount-input {
  height: 50px !important;
  border: 1px solid #e1e1e1 !important;
  border-radius: 4px !important;
  padding-left: 15px !important;
  padding-right: 35px !important; /* Espacio para el icono de validación */
  width: 100%;
  box-shadow: none !important;
  font-size: 15px;
}

/* Estado Error del Input */
.discount-input.input-error {
  border-color: #dc3545 !important;
  background-color: #fff8f8 !important;
}

/* Estado Éxito del Input */
.discount-input.input-success {
  border-color: #28a745 !important;
  background-color: #f8fff9 !important;
}

/* Iconos de validación (Check o Cruz) dentro del input */
.validation-icon {
  position: absolute;
  right: 12px;
  top: 15px; /* Centrado verticalmente aprox */
  font-size: 16px;
}
.icon-success { color: #28a745; }
.icon-error { color: #dc3545; }

/* Mensaje de error abajo */
.discount-error-msg {
  font-size: 12px;
  margin-top: 5px;
  display: block;
}

/* --- Botón Aplicar (Estilo Outline) --- */
.btn-discount {
  height: 50px;
  padding: 0 25px;
  background-color: transparent;
  border: 1px solid #28a745; /* Verde */
  color: #28a745;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 100px;
}

.btn-discount:hover:not(:disabled) {
  background-color: #e9f7ef;
}

/* Estado Deshabilitado (Gris) */
.btn-discount:disabled {
  border-color: #ccc;
  color: #999;
  background-color: #f0f0f0;
  cursor: not-allowed;
}

/* Estado Éxito (Botón "!Aplicado!") */
.btn-discount.btn-success-state {
  background-color: transparent;
  border-color: #28a745;
  color: #28a745;
  cursor: default;
}

/* --- Estilos Addons Estilo Tarjeta --- */

/* Títulos de Categoría */
.addon-category-title {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
  margin-top: 20px;
}

/* La Tarjeta del Producto */
.addon-card {
  background: #fff;
  border: 1px solid #e1e1e1;
  border-radius: 8px; /* Bordes redondeados */
  padding: 15px;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

/* Información izquierda (Nombre y Precio) */
.addon-info {
  display: flex;
  flex-direction: column;
}

.addon-name {
  font-size: 15px;
  font-weight: 600; /* Negrita como en la imagen */
  color: #333;
  margin-bottom: 4px;
  margin-right: 4px;
}

.addon-price {
  font-size: 14px;
  color: #666; /* Gris para el precio */
}

/* El Contador Derecha [-] 0 [+] */
.addon-counter {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-counter {
  width: 32px;
  height: 32px;
  border: 1px solid var(--btn-color); /* Azul bootstrap o tu color corporativo */
  color: var(--btn-color);
  background: #fff;
  border-radius: 4px;
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  outline: none;
}

.btn-counter:active {
  background: #e6f2ff;
}

.counter-value {
  font-size: 16px;
  font-weight: 600;
  width: 25px;
  text-align: center;
}

.btn-counter:active:not(:disabled) {
  background: #e6f2ff;
  transform: scale(0.95);
}

/* --- ESTADO DISABLED (VISUALMENTE APAGADO) --- */
.btn-counter:disabled {
  border-color: #e1e1e1 !important; /* Borde gris muy claro */
  color: #cccccc !important;        /* Signo +/- gris */
  background-color: #f9f9f9 !important; /* Fondo grisáceo */
  cursor: not-allowed;              /* Cambia el cursor del ratón */
  opacity: 0.6;
  pointer-events: none;             /* Asegura que no reciba clicks */
}

/* --- Nuevos Estilos Botones Addons (Type <= 2) --- */

/* El botón verde sólido "+ Añadir" */
.btn-addon-add-new {
  background-color: var(--btn-color); /* Color verde azulado exacto de la imagen */
  color: white;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px; /* Espacio entre el + y el texto */
  cursor: pointer;
  transition: background-color 0.2s;
  outline: none;
}

.btn-addon-add-new:hover {
  background-color: color-mix(in srgb, var(--btn-color), black 10%) !important;
  box-shadow: 0 4px 12px color-mix(in srgb, var(--btn-color), transparent 50%) !important;
  transform: translateY(-2px);
}

/* El contenedor cuando está añadido (Borde verde, fondo claro) */
.addon-added-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--btn-color);
  background-color: color-mix(in srgb, var(--btn-color), white 95%) !important;
  border-radius: 6px;
  padding: 6px 12px;
  min-width: 120px; /* Para que tenga un ancho mínimo consistente */
}

/* Texto "Añadido" y el check */
.addon-added-label {
  color: var(--btn-color);
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* La barra separadora vertical | */
.addon-separator {
  color: var(--btn-color); /* Un verde más claro para la separación */
  margin: 0 8px;
  font-weight: 300;
  font-size: 18px;
}

/* El botón "X" para eliminar */
.btn-addon-remove-new {
  background: transparent;
  border: none;
  color: var(--btn-color); /* El mismo verde */
  font-size: 16px;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  transition: color 0.2s;
  outline: none;
}

.btn-addon-remove-new:hover {
  color: #dc3545; /* Rojo al pasar el ratón para indicar peligro/borrar */
}

/* 1. Reseteamos el estilo nativo del navegador */
.legal_check input[type="checkbox"] {
  -webkit-appearance: none; /* Chrome, Safari, Opera */
  -moz-appearance: none;    /* Firefox */
  appearance: none;         /* Estándar */

  /* 2. Dibujamos el cuadrado vacío */
  width: 22px;
  height: 22px;
  background-color: #fff;
  border: 2px solid #7a7a7a; /* Borde gris */
  border-radius: 4px;        /* Bordes redondeados */
  cursor: pointer;
  position: relative;        /* Necesario para posicionar el tick */
  vertical-align: middle;    /* Alineación con el texto */
  margin-top: -2px;          /* Pequeño ajuste visual vertical */
  margin-right: 5px;         /* Espacio extra aparte de los &nbsp; */
  outline: none;
  transition: all 0.2s ease-in-out;
}

/* 3. Estilo cuando está MARCADO (Checked) -> Fondo Verde */
.legal_check input[type="checkbox"]:checked {
  background-color: var(--btn-color); /* Tu color verde corporativo */
  border-color: var(--btn-color);
}

/* 4. Dibujamos el TIC (Check) blanco */
.legal_check input[type="checkbox"]::after {
  content: "";
  position: absolute;
  display: none; /* Oculto por defecto */

  /* Forma de la L rotada */
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;

  /* Rotación */
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

/* 5. Mostrar el TIC cuando está marcado */
.legal_check input[type="checkbox"]:checked::after {
  display: block;
}

/* Opcional: Estilo para los enlaces para que se vean mejor */
.legal_check a {
  color: #333;
  text-decoration: underline;
  vertical-align: middle;
}

/* Ajuste para el texto suelto que imprime PHP */
.legal_check {
  line-height: 28px; /* Altura de línea para separar los <br> */
}


/* 1. Reseteamos el estilo nativo del navegador */
.orderInfo input[type="checkbox"] {
  -webkit-appearance: none; /* Chrome, Safari, Opera */
  -moz-appearance: none;    /* Firefox */
  appearance: none;         /* Estándar */

  /* 2. Dibujamos el cuadrado vacío */
  width: 22px;
  height: 22px;
  background-color: #fff;
  border: 2px solid #7a7a7a; /* Borde gris */
  border-radius: 4px;        /* Bordes redondeados */
  cursor: pointer;
  position: relative;        /* Necesario para posicionar el tick */
  vertical-align: middle;    /* Alineación con el texto */
  margin-top: -2px;          /* Pequeño ajuste visual vertical */
  margin-right: 5px;         /* Espacio extra aparte de los &nbsp; */
  outline: none;
  transition: all 0.2s ease-in-out;
}

/* 3. Estilo cuando está MARCADO (Checked) -> Fondo Verde */
.orderInfo input[type="checkbox"]:checked {
  background-color: var(--btn-color); /* Tu color verde corporativo */
  border-color: var(--btn-color);
}

/* 4. Dibujamos el TIC (Check) blanco */
.orderInfo input[type="checkbox"]::after {
  content: "";
  position: absolute;
  display: none; /* Oculto por defecto */

  /* Forma de la L rotada */
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;

  /* Rotación */
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

/* 5. Mostrar el TIC cuando está marcado */
.orderInfo input[type="checkbox"]:checked::after {
  display: block;
}

/* Opcional: Estilo para los enlaces para que se vean mejor */
.orderInfo a {
  color: #333;
  text-decoration: underline;
  vertical-align: middle;
}

/* Ajuste para el texto suelto que imprime PHP */
.orderInfo {
  line-height: 28px; /* Altura de línea para separar los <br> */
}

/* --- Estilos Toggle Envío/Recogida --- */

/* Contenedor Principal: Título a la izquierda, Toggle a la derecha */
.shipping-method-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; /* Para móviles */
}

/* Título con Icono */
.shipping-title {
  font-size: 16px;
  font-weight: 700;
  color: #263238;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* El contenedor Gris del Toggle */
.toggle-track {
  background-color: #e0e0e0; /* Gris de fondo */
  border-radius: 6px;
  padding: 4px;
  display: inline-flex;
  align-items: center;
  gap: 5px; /* Espacio entre opciones */
}

/* Estilo Base de cada Opción */
.toggle-option {
  padding: 0px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  color: #888; /* Texto gris cuando está inactivo */
  font-weight: 500;
  transition: all 0.3s ease;
  margin: 0; /* Quitar márgenes por defecto */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px; /* Espacio para el icono check */
  white-space: nowrap;
}

/* Ocultar el Input Radio Nativo */
.toggle-option input[type="radio"] {
  display: none; /* Ocultamos el círculo */
}

/* ESTADO ACTIVO (Seleccionado) */
.toggle-option.active-state {
  background-color: #ffffff;
  color: #263238; /* Texto oscuro */
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  font-weight: 600;
}

/* Icono Check (Solo visible en activo) */
.toggle-check-icon {
  color: #28a745; /* Verde */
  font-size: 14px;
}

/* Ajuste para que se vea bien en móviles */
@media (max-width: 768px) {
  .shipping-method-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  .toggle-track {
    width: 100%;
  }
  .toggle-option {
    flex: 1; /* Que ocupen el 50% cada uno */
  }
}

/* --- VERSIÓN MÓVIL (Aquí está la solución) --- */
@media (max-width: 768px) {
  /* 1. Ponemos el título arriba y el toggle abajo */
  .shipping-method-wrapper {
    flex-direction: column;
    align-items: flex-start; /* Alinear a la izquierda */
    gap: 10px;
  }

  .shipping-title {
    margin-bottom: 5px;
    width: 100%;
  }

  /* 2. El carril gris ocupa todo el ancho */
  .toggle-track {
    width: 100%;
    display: flex;
    justify-content: space-between; /* Asegura distribución */
  }

  /* 3. Forzamos a que los botones y el special_select ocupen el 50% */
  .toggle-track > label,
  .toggle-track > special_select {
    flex: 1; /* Crecen para ocupar espacio igual */
    width: 50%; /* Base del 50% */
    text-align: center;
  }

  /* Aseguramos que el label dentro de special_select llene el hueco */
  special_select .toggle-option {
    width: 100%;
  }

  /* 4. Ajustes de texto para móvil */
  .toggle-option {
    width: 100%; /* Llena su contenedor flex */
    padding: 10px 5px; /* Menos padding lateral, más vertical */
    font-size: 13px; /* Letra un poco más pequeña para que quepa */
    white-space: normal; /* Permitir 2 líneas si es MUY largo */
    line-height: 1.2;
    text-align: center;
  }
}

body{
  background-color: transparent;
}
.size_page {
  margin: 0 auto;
  min-width: 290px;
  position: relative;
  background-color: #fff;
  border-radius: 10px;
  max-width: 740px;
  overflow: hidden;


}

.container {
  width: 600px;
  margin: 50px auto;
  display: block;
}
.progressbar {
  counter-reset: step;
  justify-content: space-around;
  margin: 0;
}
.progressbar li {
  list-style-type: none;
  width: 25%;
  display: block;
  float: left;
  font-size: 15px;
  position: relative;
  text-align: center;
  text-transform: uppercase;
  color: #7d7d7d;
}
.progressbar li:before {
  width: 30px;
  height: 30px;
  content: counter(step);
  counter-increment: step;
  line-height: 30px;
  border: 2px solid #7d7d7d;
  display: block;
  text-align: center;
  margin: 0 auto 10px auto;
  border-radius: 50%;
  background-color: white;
}
.progressbar li:after {
  width: 100%;
  height: 2px;
  content: '';
  position: absolute;
  background-color: #7d7d7d;
  top: 15px;
  left: -50%;
  z-index: -1;
}
.progressbar li:first-child:after {
  content: none;
}
.progressbar li.active {
  color: green;
}
.progressbar li.active:before {
  border-color: #55b776;
}
.progressbar li.active + li:after {
  background-color: #55b776;
}

.info_restaurant {
  color: #7a7a7a;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.info_restaurant h6{
  margin: 0;
  padding-right: 20px;
  white-space: nowrap;
}

h6.condensed {
  font-size: 16px;
  font-weight: 400;
}

.text_content{
  font-size: 16px;
}

.info_reserv{
  clear: both;
  justify-content: space-between;
  margin: 20px 0px 10px;

}

.info_confirm{
  clear: both;
  justify-content: space-between;
  margin: 10px 0px 10px;

}

.calendar_info{
  width: 24%;
  background-size: auto,8px 5px;
  border: 1px solid #cecece;
  border-radius: 4px;
  color: #444a59;
  font-size: 18px;
  font-weight: 700;
  height: 50px;
  line-height: 50px;
  overflow: hidden;
  padding-left: 35px;
  padding-right: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin: 5px;
}

.info_people{
  display: block;
  background-size: 8px 5px;
  height: 50px;
  margin-top: 10px;
}

.info_people select{
  color: #2d2d2d;
  font-weight: 400;
  padding-left: 35px;
  -webkit-appearance: none;
  background: 0 0;
  border: 1px solid #cecece;
  border-radius: 4px;
  height: 100%;
  padding: 10px 15px 10px 10px;
  width: 100%;
}

.info_zone{
  display: block;
  background-size: 8px 5px;
  height: 50px;
  padding-left: 60px;
  padding-right: 60px;
}

.info_zone select{
  color: #2d2d2d;
  font-weight: 400;
  padding-left: 35px;
  -webkit-appearance: none;
  background: 0 0;
  border: 1px solid #cecece;
  border-radius: 4px;
  height: 100%;
  padding: 10px 15px 10px 10px;
  width: 100%;
}

.legend{
  display: block;
  line-height: 25px;
  margin-top: 22px;
  font-size: 12px;
}

@media only screen and (max-width: 600px) {
  .legend{
    margin-top: 0px;
    margin-bottom: 10px;
  }
}

.legend .type .example {
  border: 1px solid #d5d5d5;
  border-radius: 34%;
  display: inline-block;
  height: 15px;
  margin: 0 auto;
  vertical-align: middle;
  width: 20px;
  color: #2a2a2a;
  font-size: 16px;
}

.type {
  float: left;
  width: 50%;
}

.legend .type.available .example {
}

 .legend .type.select_day .example {

}

 .legend .type.sold-out .example {
  background-color: #fff;
  border-color: #ff2500;
}

 .complete_sm{
   background-color: #fff;
   border-color: #ff2500 !important;
 }

 .closec_sm{
   background-color: #d8d8d8 !important;
   color: #2d2d2d !important;
 }

 .legend .type.closed .example {
  background-color: #d8d8d8;
}


@media (min-width: 480px) {
  .contenedor_small_calendar {
    display: block;
  }
}

.contenedor_small_calendar ul{
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  list-style-type: none;
  padding: 0 30px;
}

.day_week {
  display: block;
  text-align: center;
}

.date {
  border: 1px solid #d5d5d5;
  border-radius: 37%;
  cursor: pointer;
  font-size: 16px;
  height: 30px;
  line-height: 28px;
  -webkit-transition: background .3s ease-out,color .3s ease-out;
  transition: background .3s ease-out,color .3s ease-out;
  width: 30px;
  display: block;
  text-align: center;
}

.rule {
  margin-top: 0.5em;
  height: 26px;
  border-left: 1px solid #cecece;
}

.bcolorc{
    background-color: #ffd72e;
}

.bocolorc{
    border-color: #ffd72e;
}

.disponibility_sm {
  color: #2d2d2d;
}

.active_day {
  /*opacity: .6;*/
  color: white !important;
}

.service{
  padding: 10px 30px 20px;
}

.service h6 {
  color: #2d2d2d;
  margin: 0 0 .7em;
}

.list_hours{
  position: relative;
  z-index: 0;
}


.time{
  display: block;
  white-space: nowrap;
  font-size: 15px;
  line-height: 18px;
  line-height: 24px;
}

.type_zone{
  text-align: right;
  line-height: 24px;
  margin-left: 1em;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  font-size: 15px;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 10px;
  line-height: 12px;
  opacity: .55;
  display: block;
  white-space: nowrap;
}

info_client .form-group .bootstrap-select {
  padding: 0;
}

info_client .form-group .bootstrap-select button {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  color: #2d2d2d;
  border-radius: 3px;
  height: 30px;
  padding: 0 12px;
  font-size: 14px;
}

button.btn.dropdown-toggle.btn-default {
  margin-top: 0px;
}

info_client .dropdown-menu {
  background: #fff;
  -moz-box-shadow: 0px 5px 20px rgba(0,0,0,0.1);
  -webkit-box-shadow: 0px 5px 20px rgba(0,0,0,0.1);
  box-shadow: 0px 5px 20px rgba(0,0,0,0.1);
}

info_beneficary .form-group .bootstrap-select {
  padding: 0;
}

info_beneficary .form-group .bootstrap-select button {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  color: #2d2d2d;
  border-radius: 3px;
  height: 30px;
  padding: 0 12px;
  font-size: 14px;
}

button.btn.dropdown-toggle.btn-default {
  margin-top: 0px;
}

info_beneficary .dropdown-menu {
  background: #fff;
  -moz-box-shadow: 0px 5px 20px rgba(0,0,0,0.1);
  -webkit-box-shadow: 0px 5px 20px rgba(0,0,0,0.1);
  box-shadow: 0px 5px 20px rgba(0,0,0,0.1);
}

@media (min-width: 400px){
  .notify-button {
    border: 3px solid var(--btn-color);
    color: var(--btn-color);
    font-weight: bold;
    height: 50px;
    line-height: 22px;
    padding: 10px;
    text-align: center;
    float: left;
    border-radius: 1px;
    cursor: pointer;
    margin: 0 0 10px 4%;
    opacity: .6;
    position: relative;
    transition: opacity .4s ease-out;
    margin-left: 2%;
  }
}

@media (max-width: 400px){
  .notify-button {
    border: 3px solid var(--btn-color);
    color: var(--btn-color);
    font-weight: bold;
    height: 50px;
    line-height: 13px;
    padding: 10px;
    text-align: center;
    float: left;
    border-radius: 1px;
    cursor: pointer;
    margin: 0 0 10px 4%;
    opacity: .6;
    position: relative;
    transition: opacity .4s ease-out;
    margin-left: 2%;
  }
  .bs-caret{
    display:none;
  }
}

.button_hour{
  float: left;
  cursor: pointer;
  margin: 0 0 10px 4%;
  /*opacity: .7;*/
  position: relative;
  transition: opacity .4s ease-out;
  margin-left: 2%;
  padding: 15px 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}



/* ===== DATEPICKER ====== */

.disponibility a.ui-state-default{
  box-shadow: none;
  /* border: black; */
  border-radius: 50%;
  color: #2d2d2d;
  background-color: #ffd72e ;
  border: 2px solid white ;
}



.complete a.ui-state-default{
  background-color: white ;
  color: #2d2d2d ;
  box-shadow: none;
  border-radius: 50%;
  border: 2px solid red !important;
}

.closec{
  opacity: 1 !important;
}

.closec span.ui-state-default{
  opacity: 1 !important;
  background-color: #d8d8d8 !important;
  color: #2d2d2d !important;
  box-shadow: none !important;
  border-radius: 50% !important;
}



.ui-widget-content {
  border: 1px solid #ffffff !important;
  color: #222222;
  box-shadow: 0 0 10px rgba(100,100,100,.2);
}
.ui-widget-header{
  border: none;
  border-bottom: 1px solid #eee !important;
}
.ui-datepicker-calendar tbody td{
  padding: 0 !important;
  box-sizing: border-box;
}

.ui-state-disabled span{
}

.ui-state-default, .ui-widget-content .ui-state-default{
  border: 2px solid #ffffff !important;
  box-shadow: none !important;
  width: 35px !important;
  height: 35px !important;
  line-height: 32px;
  text-align: center;
  margin: 0 !important;
  box-sizing: border-box;
  padding: 0 !important;
}


a.ui-state-active {
  background-color: var(--btn-color);
  opacity: .6;
  color: white !important;
  box-shadow: none !important;
  border-radius: 50% !important;
}

.ui-widget-content a.ui-state-default:hover {
  border: 2px solid #ffd72e;
  border-radius: 50%;
}

.ui-widget-header {
  background: none;
}
.ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br {
  border-bottom-right-radius: 0;
}
.ui-corner-all, .ui-corner-bottom, .ui-corner-left, .ui-corner-bl {
  border-bottom-left-radius: 0;
}
.ui-corner-all, .ui-corner-top, .ui-corner-right, .ui-corner-tr {
  border-top-right-radius: 0;
}
.ui-corner-all, .ui-corner-top, .ui-corner-left, .ui-corner-tl {
  border-top-left-radius: 0;
}
button.btn.dropdown-toggle.btn-default {
  border-radius: 0;
}
.ui-widget-content .ui-state-default{
  background: #FFF;
}
.ui-widget-content a.ui-state-default:hover{
  border: 2px solid #ffd72e;
  border-radius: 50%;
}
.ui-widget-content .ui-state-active{
  background: #CCC;
}
.info_header1 {
  text-align: center;
  font-size: 16px;
  font-weight: bold;
}
.info_header2 {
  text-align: center;
  font-size: 16px;
}

.ui-datepicker-inline {
  margin: auto;
}

.mtb15{
  margin-top: 15px;
  margin-bottom: 15px;
}

.name_restaurant{
  min-height: 60px;
  position: relative;
}

.name_restaurant h1 {
  font-size: 24px;
  line-height: 30px;
  padding: 15px 0;
  text-align: center;
  color: #21252a;
  font-weight: 600;
}



@media only screen and (max-width: 600px) {
  .name_restaurant h1 {
    padding: 0px;
  }
}

.bar {
  display: block;
  /*height: 44px;*/
  background-color: white;
  height: 100%;
}

.bar ul{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  margin: 0;
  list-style-type: none;
  padding: 0;
}

.bar li {
  color: #aaa;
  display: block;
  height: 44px;
  letter-spacing: .1em;
  line-height: 39px;
  text-transform: uppercase;
}

.bar li.active {
  border-bottom: 3px solid #2a2a2a;
  border-top: 3px solid #2a2a2a;
  color: #2a2a2a;
  font-weight: 800;
}

@media (min-width: 360px) {
  .page-reservation-details .reservation-info {
    padding: 20px;
  }
}

.extra_reserv{
  padding: 5px;
}

.extra_questions{
  padding: 30px;
}

.info_reserv {
  font-size: 18px;
}

.info_confirm{
  font-size: 20px;
  padding: 10px;
  line-height: 1.6;
}

.name_restaurant .back {
  left: 20px;
  font-size: 15px;
  line-height: 22px;
  position: absolute;
  top: 19px;
  width: 120px;
  cursor: pointer;
}

.name_restaurant .back a {
  color: #2a2a2a;
  text-decoration: none;
}

.legal{
  border-top: 1px solid #cecece;
  font-size: 10px;
  margin: 20px 0px 10px;
}

.legal table{
  margin-top: 10px;
}

.mt10{
  margin-top: 10px;
}

.mt5{
  margin-top: 5px;
}

select:not([multiple]){
  -webkit-appearance:none;
  -moz-appearance:none;
  background-position:right 50%;
  background-repeat:no-repeat;
  background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAMCAYAAABSgIzaAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NDZFNDEwNjlGNzFEMTFFMkJEQ0VDRTM1N0RCMzMyMkIiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NDZFNDEwNkFGNzFEMTFFMkJEQ0VDRTM1N0RCMzMyMkIiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo0NkU0MTA2N0Y3MUQxMUUyQkRDRUNFMzU3REIzMzIyQiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo0NkU0MTA2OEY3MUQxMUUyQkRDRUNFMzU3REIzMzIyQiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PuGsgwQAAAA5SURBVHjaYvz//z8DOYCJgUxAf42MQIzTk0D/M+KzkRGPoQSdykiKJrBGpOhgJFYTWNEIiEeAAAMAzNENEOH+do8AAAAASUVORK5CYII=);
  padding: .5em;
  padding-right:1.5em;
}

.form-group label {
  margin-bottom: 0 !important;
  font-weight: normal;
  font-size: 13px;
  color: rgba(0,0,0,0.38);
}

.form-group .form-control {
  display: block;
  width: 100%;
  border: 1px solid #ccc;
  background: #fff;
  color: #2d2d2d;
  border-radius: 3px;
  height: 30px;
  padding: 0 12px;
  font-size: 14px;
}

.legal_check{
  font-size: 15px;
}

/* --- Estilos Botón Comprar (Imagen 1) --- */

.reservarButton {
  background-color: var(--btn-color) !important;
  border: none !important;
  border-radius: 10px !important;
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 500;
  text-transform: none !important;
  height: 50px !important; /* Misma altura que los inputs */
  width: 100%;

  /* Efectos */
  box-shadow: none !important;
  transition: all 0.3s ease;
  cursor: pointer;
  margin-top: 10px; /* Separación de los inputs */
}

.reservarButton:hover {
  /* 1. Fondo: Mezclamos el color base con un 10% de negro para oscurecerlo */
  background-color: color-mix(in srgb, var(--btn-color), black 10%) !important;

  /* 2. Sombra: Mezclamos el color base con transparente para lograr la opacidad (0.3 aprox) */
  /* Esto crea: 0 4px 12px rgba(color, 0.3) dinámicamente */
  box-shadow: 0 4px 12px color-mix(in srgb, var(--btn-color), transparent 50%) !important;

  /* Opcional: Levantar el botón ligeramente para enfatizar el hover */
  transform: translateY(-2px);
}

/* Estado Deshabilitado (cuando validation === false) */
.reservarButton:disabled {
  background-color: #d1d1d1 !important;
  cursor: not-allowed;
  box-shadow: none !important;
}


.bcolor{
  background: var(--btn-color);
}

.bccolor{
    background-color: var(--btn-color);
}

.bocolor{
    border-color: var(--btn-color);
}

.container_product{
  border: 1px solid #d3d3d8;
  border-radius: 3px;
  margin-bottom: 2.4rem;
  padding: 2.4rem;
}

.borderdown{
  border-bottom: 1px solid #d3d3d8;
}

.bordertop{
  border-top: 1px solid #d3d3d8;
  padding-top: 10px;
}

.letter{
  font-family: inherit;
}


.color_reserv{
  color: white;
}


.creditcard {
  font-family: 'Helvetica Neue', Helvetica, sans-serif;
  font-size: 19px;
  font-variant: normal;
  padding: 0;
  margin: 0;
  background: transparent;
  display: flex;
  align-items: center;
  width: 100%;
  margin: 20px auto;
}

.adyen {
  font-size: 12px;
}

.labelcredit {
  height: 35px;
  position: relative;
  color: #8798AB;
  display: block;
  margin-bottom: 20px;
}

.labelcredit > span {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  font-weight: 300;
  line-height: 32px;
  color: #8798AB;
  border-bottom: 1px solid #586A82;
  transition: border-bottom-color 200ms ease-in-out;
  cursor: text;
  pointer-events: none;
}

.labelcredit > span span {
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: 0% 50%;
  transition: transform 200ms ease-in-out;
  cursor: text;
}

.labelcredit .field.is-focused + span span,
.labelcredit .field:not(.is-empty) + span span {
  transform: scale(0.68) translateY(-36px);
  cursor: default;
}

.labelcredit .field.is-focused + span {
  border-bottom-color: #34D08C;
}

.field {
  background: transparent;
  font-weight: 300;
  border: 0;
  color: #909090;
  outline: none;
  cursor: text;
  display: block;
  width: 100%;
  line-height: 32px;
  padding-bottom: 3px;
  transition: opacity 200ms ease-in-out;
}


.labelcredit::-webkit-input-placeholder { color: #8898AA; }
.labelcredit::-moz-placeholder { color: #8898AA; }

/* IE doesn't show placeholders when empty+focused */
.labelcredit:-ms-input-placeholder { color: #424770; }

.labelcredit.is-empty:not(.is-focused) {
  opacity: 0;
}

.buttoncredit {
  float: left;
  display: block;
  background: #34D08C;
  color: white;
  border-radius: 2px;
  border: 0;
  margin-top: 20px;
  font-size: 19px;
  font-weight: 400;
  width: 100%;
  height: 47px;
  line-height: 45px;
  outline: none;
}

.buttoncredit:focus {
  background: #24B47E;
}

.buttoncredit:active {
  background: #159570;
}

.pd10{
  padding-bottom: 25px;
}

.button_hour_cross{
  float: left;
  cursor: pointer;
  margin: 0 0 10px 4%;
  opacity: .7;
  position: relative;
  transition: opacity .4s ease-out;
  margin-left: 2%;
  padding: 10px 10px;
  /* display: -webkit-box; */
  /* display: flex; */
  text-align: center;
  color: rgb(255, 255, 255);
}

.button_hour_cross_select{
  float: left;
  cursor: pointer;
  margin: 0 0 10px 4%;
  position: relative;
  transition: opacity .4s ease-out;
  margin-left: 2%;
  padding: 10px 10px;
  /* display: -webkit-box; */
  /* display: flex; */
  text-align: center;
  color: rgb(255, 255, 255);
}

.title_cross{
  font-size: 19px;
  font-weight: 400;
  text-align: center;
  margin: 10px 0 0.6em !important;
  color: #2d2d2d !important;
  text-transform: uppercase;
}

.color{
  color: #00483f;
}

.notify-button-cross {
  border: 3px solid;
  font-weight: bold;
  padding: 10px;
  text-align: center;
  float: left;
  border-radius: 1px;
  cursor: pointer;
  margin: 0 0 10px 4%;
  opacity: .6;
  position: relative;
  transition: opacity .4s ease-out;
  margin-left: 0.5%;
  width:99.6%;
}

.list_hours a:hover{
  color:white;
}

.mt30{
  margin-top: 30px;
}


.title {
  text-align: center;
  text-transform: uppercase;
  font-family: "Lato", sans-serif;
}

.hidden {
  display: none;
}

.opaque {
  opacity: 0;
  transition: 0.3s ease;
}

.disabled {
  opacity: 0.4;
  pointer-events: none;
}

* {
  box-sizing: border-box;
}


#checkout-progress {
  width: 90%;
  margin: 0px auto;
  font-size: 2.5em;
  font-weight: 900;
  position: relative;
}
@media (max-width: 767px) {
  #checkout-progress {
    font-size: 1.5em;
  }
}
#checkout-progress:before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  height: 20px;
  width: 100%;
  background-color: white;
  -webkit-transform: translateY(-50%) perspective(1000px);
  transform: translateY(-50%) perspective(1000px);
}
#checkout-progress:after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  height: 20px;
  width: 100%;
  background-color: #2d2d2d;
  -webkit-transform: scaleX(0) translateY(-50%) perspective(1000px);
  transform: scaleX(0) translateY(-50%) perspective(1000px);
  -webkit-transform-origin: left center;
  transform-origin: left center;
  transition: -webkit-transform 0.5s ease;
  transition: transform 0.5s ease;
  transition: transform 0.5s ease, -webkit-transform 0.5s ease;
}
#checkout-progress.step-2:after {
  -webkit-transform: scaleX(0.333) translateY(-50%) perspective(1000px);
  transform: scaleX(0.333) translateY(-50%) perspective(1000px);
}
#checkout-progress.step-3:after {
  -webkit-transform: scaleX(0.666) translateY(-50%) perspective(1000px);
  transform: scaleX(0.666) translateY(-50%) perspective(1000px);
}
#checkout-progress.step-4:after {
  -webkit-transform: scaleX(1) translateY(-50%) perspective(1000px);
  transform: scaleX(1) translateY(-50%) perspective(1000px);
}
#checkout-progress.step-5:after {
  -webkit-transform: scaleX(1) translateY(-50%) perspective(1000px);
  transform: scaleX(1) translateY(-50%) perspective(1000px);
}
#checkout-progress .progress-bar-special {
  width: 100%;
  display: flex;
  height: 100px;
  justify-content: space-between;
  align-items: center;
}
#checkout-progress .progress-bar-special .step {
  z-index: 2;
  position: relative;
}
#checkout-progress .progress-bar-special .step .step-label {
  position: absolute;
  top: calc(100% + 9px);
  left: 50%;
  -webkit-transform: translateX(-50%) perspective(1000px);
  transform: translateX(-50%) perspective(1000px);
  white-space: nowrap;
  font-weight: 600;
  color: #ccc;
  transition: 0.3s ease;
}
@media (max-width: 767px) {
  #checkout-progress .progress-bar-special .step .step-label {
    top: calc(100% + 9px);
  }
}
#checkout-progress .progress-bar-special .step span {
  color: #ccc;
  transition: 0.3s ease;
  display: block;
  -webkit-transform: translate3d(0, 0, 0) scale(1) perspective(1000px);
  transform: translate3d(0, 0, 0) scale(1) perspective(1000px);
}
#checkout-progress .progress-bar-special .step .fa-check {
  color: #fff;
  position: absolute;
  left: 50%;
  top: 50%;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
  -webkit-transform: translate3d(-50%, -50%, 0) scale(0) perspective(1000px);
  transform: translate3d(-50%, -50%, 0) scale(0) perspective(1000px);
}
#checkout-progress .progress-bar-special .step.active span, #checkout-progress .progress-bar-special .step.active .step-label {
  color: #2d2d2d;
}

.size23{
  font-size: 23px;
}

.size15{
  font-size: 15px;
}
#checkout-progress .progress-bar-special .step.valid .fa-check {
  -webkit-transform: translate3d(-50%, -50%, 0) scale(1) perspective(1000px);
  transform: translate3d(-50%, -50%, 0) scale(1) perspective(1000px);
}
#checkout-progress .progress-bar-special .step.valid span {
  color: #2d2d2d;
  -webkit-transform: translate3d(0, 0, 0) scale(2) perspective(1000px);
  transform: translate3d(0, 0, 0) scale(2) perspective(1000px);
}
#checkout-progress .progress-bar-special .step.valid .step-label {
  color: #2d2d2d !important;
}
#checkout-progress .progress-bar-special .step:after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%) perspective(1000px);
  transform: translate(-50%, -50%) perspective(1000px);
  width: 50px;
  height: 50px;
  background-color: #fff;
  border-radius: 50%;
  border: 5px solid #ccc;
  transition: 0.3s ease;
}
@media (max-width: 767px) {
  #checkout-progress .progress-bar-special .step:after {
    width: 40px;
    height: 40px;
  }
}
#checkout-progress .progress-bar-special .step.active:after {
  border: 5px solid #2d2d2d;
}
#checkout-progress .progress-bar-special .step.valid:after {
  background-color: #2d2d2d;
  border: 5px solid #2d2d2d;
}

.button-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  width: 100%;
  margin: 100px auto 0px;
}
.button-container .btn {
  display: inline-block;
  background-color: #2d2d2d;
  color: #fff;
  padding: 10px 15px;
  border-radius: 10px;
  text-transform: uppercase;
  font-weight: 900;
  border: 3px solid #2d2d2d;
  transition: 0.3s ease;
  cursor: pointer;
  text-align: center;
}
@media (max-width: 767px) {
  .button-container .btn {
    width: 100%;
    margin-bottom: 15px;
  }
}
.button-container .btn:hover {
  background-color: transparent;
  color: #2d2d2d;
  -webkit-transform: scale(1.02) perspective(1000px);
  transform: scale(1.02) perspective(1000px);
}

.info_client_cross{
  font-size: 18px;
  line-height: 1.6;
  color: dimgrey;
}

.bold{
  font-weight: bold;
  color: #2d2d2d;
}

.pd0{
  padding-left: 0px;
}

.p0{
  padding: 0px;
}

.category_box{
  border: solid 1px #ccc;
  border-radius: 5px;
  max-height: 150px;
  text-align:center;
  line-height:150px;
  width: 100%;
  cursor: pointer;
}

.category_box>span {
  display:inline-block;
  vertical-align:middle;
  line-height:normal;
}

.without-stock {
  cursor: not-allowed;
}

.stock-sold-out-tag {
  display: none !important;
  width: fit-content;
  margin: 0 auto;
  padding: 2px 8px;
  background-color: #bcccd1;
  color: #253037;
  font-size: 12px;
  line-height: 16px;
  position: relative;
  top: -40px;
}

.without-stock > .stock-sold-out-tag {
  display: block !important;
}

.urlimagehave{
  background-color: #000000bf;
  color: white;
  border-radius: 4px;
  padding: 4px;
}

div#alg-paymeform-container {
  margin: auto;
}

#footerCoverDiv {
  margin-top: 2.5%; 
  left: -1%;
  width: 100%;
  margin-bottom: 24px;
}

#logoCoverAdd {
  font-size: 12px;
  font-style: normal;
  line-height: 16px;
  letter-spacing: 0em;
  text-align: left;
  margin-left: -1.7%;
}

#logoCoverAdd a {
  font-weight: bold;
  color: black;
}

.loading_datepicker_calendar {
  z-index: 9999;
  background-color: rgba(255,255,255,.7);
  color: #fff;
  position: absolute;
  width: 100%;
  height: 270px;
  display: none;
}

.datepicker_spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #404344;
  padding: 12px;
  margin-left: -12px;
  margin-top: 0px;
  border-radius: 10px;
}
.z-index-9999 {
  z-index: 9999;
}
#header_restaurant > div.col-xs-10.col-md-10 {
  display: contents;
}
.padding-leftright-20 {
  padding-left: 20% !important;
  padding-right: 20% !important;
}