html {
  height: 100%;
}

body {
  background-color: #f7f7fa;
  color: #333;
  font-family: roboto, sans-serif;
  font-size: 15px;
  height: 100%;
  line-height: 1.5;
  overflow-x: hidden;
  width: 100%;
}

.star-rating .rating-star {
  font-size: 1.5rem;
  color: #ccc; /* Color predeterminado */
  cursor: pointer;
}

.star-rating .rating-star.hovered,
.star-rating .rating-star.selected {
  color: #ffc107; /* Color de las estrellas seleccionadas */
}

/* Configura el body y la página */
html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  box-sizing: border-box;
}

/* Asegura que todo el contenido ocupe el espacio restante */
.page-wrapper {
  min-height: 100vh; /* El contenido ocupa al menos el alto de la pantalla */
  padding-bottom: 70px; /* Espacio para que el footer no cubra contenido */
  box-sizing: border-box;
  overflow-y: auto; /* Permite el scroll si es necesario */
}

/* Sticky Footer */
#stickyFooterBar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 70px; /* Altura fija del footer */
  background-color: white;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.header {
  background-color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-left {
  display: flex;
  align-items: center;
}

.header-left .btnBack {
  background: none;
  border: none;
  margin-right: 10px;
  font-size: 1.2rem;
}

.header-left .logo img {
  height: 40px;
}

.mini-sidebar .header .header-left {
  justify-content: center;
}

.header .header-left .logo img {
  max-height: 40px;
  width: auto;
}

.header-left .logo.logo-small {
  display: none;
}

.header .dropdown-menu > li > a {
  position: relative;
}

.header .dropdown-toggle:after {
  display: none;
}

.header .has-arrow .dropdown-toggle:after {
  border-top: 0;
  border-left: 0;
  border-bottom: 2px solid #7e84a3;
  border-right: 2px solid #7e84a3;
  content: "";
  height: 8px;
  display: inline-block;
  pointer-events: none;
  -webkit-transform-origin: 66% 66%;
  -ms-transform-origin: 66% 66%;
  transform-origin: 66% 66%;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-transition: all 0.15s ease-in-out;
  transition: all 0.15s ease-in-out;
  width: 8px;
  vertical-align: 0;
}

.header .has-arrow .dropdown-toggle[aria-expanded="true"]:after {
  -webkit-transform: rotate(-135deg);
  -ms-transform: rotate(-135deg);
  transform: rotate(-135deg);
}

.user-menu {
  float: right;
  margin: 0;
  position: relative;
  z-index: 99;
  padding-right: 15px;
  align-items: center;
}

.user-menu.nav > li > a {
  color: #a0a0a0;
  font-size: 14px;
  line-height: 58px;
  padding: 0 15px;
  height: 60px;
}

.user-menu.nav > li > a:hover,
.user-menu.nav > li > a:focus {
  background-color: rgb(232 232 232/20%);
}

.user-menu.nav > li > a:hover i,
.user-menu.nav > li > a:focus i {
  color: #18aefa;
}

.user-img {
  margin-right: 3px;
  position: relative;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.new-user-menus .nav-link {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.user-img .user-text {
  margin: 0 8px;
}

.user-img .user-text .text-muted {
  line-height: 1.2;
  font-size: 12px;
  font-weight: 500;
  color: #252525 !important;
}

.user-img .user-text h6 {
  font-size: 14px;
  font-weight: 500;
  color: #1d1d1d;
  margin-bottom: 3px;
}

.user-img img {
  width: 40px;
  height: 40px;
  border: 2px solid #e6e6e6;
  padding: 2px;
}

.user-menu.nav > li > a.mobile_btn {
  border: 0;
  position: relative;
  padding: 0;
  margin: 0;
  cursor: pointer;
}

.user-menu .dropdown-menu {
  min-width: 200px;
  padding: 0;
  visibility: hidden;
  opacity: 0;
  display: block;
  transform: translate(0px, 100px);
}

.user-menu .dropdown-menu.show {
  visibility: visible;
  opacity: 1;
  margin-top: 0;
  transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
}

.user-menu .dropdown-menu .dropdown-item {
  padding: 7px 15px;
}

.user-menu .dropdown-menu .dropdown-item {
  display: flex;
  align-items: center;
  border-top: 1px solid #e3e3e3;
  padding: 10px 15px;
}

.user-menu .dropdown-menu .dropdown-item:hover {
  color: #252525;
}

.avatar {
  position: relative;
  display: inline-block;
  width: 3rem;
  height: 3rem;
}

.avatar > img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.avatar-title {
  width: 100%;
  height: 100%;
  background-color: #252525;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-away:before,
.avatar-offline:before,
.avatar-online:before {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 25%;
  height: 25%;
  border-radius: 50%;
  content: "";
  border: 2px solid #fff;
}

.avatar-online:before {
  background-color: #7bb13c;
}

.avatar-offline:before {
  background-color: #e84646;
}

.avatar-away:before {
  background-color: #ffbc34;
}

.avatar .border {
  border-width: 3px !important;
}

.avatar .rounded {
  border-radius: 6px !important;
}

.avatar .avatar-title {
  font-size: 18px;
}

.avatar-xs {
  width: 1.65rem;
  height: 1.65rem;
}

.avatar-xs .border {
  border-width: 2px !important;
}

.avatar-xs .rounded {
  border-radius: 4px !important;
}

.avatar-xs .avatar-title {
  font-size: 12px;
}

.avatar-xs.avatar-away:before,
.avatar-xs.avatar-offline:before,
.avatar-xs.avatar-online:before {
  border-width: 1px;
}

.avatar-sm {
  width: 2.5rem;
  height: 2.5rem;
}

.avatar-sm .border {
  border-width: 3px !important;
}

.avatar-sm .rounded {
  border-radius: 4px !important;
}

.avatar-sm .avatar-title {
  font-size: 15px;
}

.avatar-sm.avatar-away:before,
.avatar-sm.avatar-offline:before,
.avatar-sm.avatar-online:before {
  border-width: 2px;
}

.avatar-lg {
  width: 3.75rem;
  height: 3.75rem;
}

.avatar-lg .border {
  border-width: 3px !important;
}

.avatar-lg .rounded {
  border-radius: 8px !important;
}

.avatar-lg .avatar-title {
  font-size: 24px;
}

.avatar-lg.avatar-away:before,
.avatar-lg.avatar-offline:before,
.avatar-lg.avatar-online:before {
  border-width: 3px;
}

.avatar-xl {
  width: 5rem;
  height: 5rem;
}

.avatar-xl .border {
  border-width: 4px !important;
}

.avatar-xl .rounded {
  border-radius: 8px !important;
}

.avatar-xl .avatar-title {
  font-size: 28px;
}

.avatar-xl.avatar-away:before,
.avatar-xl.avatar-offline:before,
.avatar-xl.avatar-online:before {
  border-width: 4px;
}

.avatar-xxl {
  width: 5.125rem;
  height: 5.125rem;
}

.avatar-xxl .border {
  border-width: 6px !important;
}

.avatar-xxl .rounded {
  border-radius: 8px !important;
}

.avatar-xxl .avatar-title {
  font-size: 30px;
}

.avatar-xxl.avatar-away:before,
.avatar-xxl.avatar-offline:before,
.avatar-xxl.avatar-online:before {
  border-width: 4px;
}

.avatar-group {
  display: inline-flex;
}

.avatar-group .avatar + .avatar {
  margin-left: -0.75rem;
}

.avatar-group .avatar-xs + .avatar-xs {
  margin-left: -0.40625rem;
}

.avatar-group .avatar-sm + .avatar-sm {
  margin-left: -0.625rem;
}

.avatar-group .avatar-lg + .avatar-lg {
  margin-left: -1rem;
}

.avatar-group .avatar-xl + .avatar-xl {
  margin-left: -1.28125rem;
}

.avatar-group .avatar:hover {
  z-index: 1;
}

.user-header {
  background-color: #f9f9f9;
  display: flex;
  padding: 10px 15px;
}

.user-header .user-text {
  margin-left: 10px;
}

.user-header .user-text h6 {
  margin-bottom: 2px;
}

.page-wrapper {
  padding-top: 60px;
  position: relative;
  transition: all 0.4s ease;
}

.page-wrapper > .content {
  padding: 1.875rem 1.875rem 0;
}

.page-wrapper {
  background: linear-gradient(135deg, #e6e6e6, #f5f5f5 50%, #ffffff 100%);
}

.menu-type-option {
  display: block;
  border: 1px solid #ccc;
  padding: 15px;
  border-radius: 5px;
  cursor: pointer;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
  color: #333;
}

.menu-type-option.active {
  border-color: #dc3545;
  background-color: #f0f8ff;
}

.menu-type-option:hover {
  transform: scale(1.05);
  color: #dc3545;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.menu-type-option i {
  font-size: 1.5em;
  margin-bottom: 10px;
}

.menu-type-option h5 {
  margin: 0;
  font-size: 1.2em;
}

.business-card:hover {
  transform: scale(1.001);
  color: #dc3545;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

#negociosContainer {
  max-height: 600px;
  overflow-y: auto;
}

.pagination {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.pagination a {
  margin: 0 5px;
  cursor: pointer;
}

.select2-container--bootstrap .select2-selection--single {
  height: 40px;
  padding: 5px;
}

.select2-container .select2-selection--single .select2-selection__rendered {
  line-height: 28px;
}

#product-list {
  max-height: 200px;
  overflow-y: auto;
}

.cart-table {
  max-height: 300px;
  overflow-y: auto;
  margin-top: 15px;
}

.cart-table th,
.cart-table td {
  text-align: center;
  vertical-align: middle;
}

.quantity-controls {
  display: flex;
  justify-content: center;
  align-items: center;
}

.quantity-controls button {
  width: 30px;
  height: 30px;
  border: none;
  background-color: #007bff;
  color: white;
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
}

.btn-back {
  height: 40px; /* Asegúrate de que el tamaño del botón sea adecuado */
  width: 40px;
  background-color: #424242;
  color: #ffffff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
}

.btn-back i {
  font-size: 20px;
  line-height: 1; /* Evita que se desplace verticalmente */
}

@media (max-width: 768px) {
  body {
    font-size: 0.9375rem;
  }

  h1,
  .h1 {
    font-size: 2rem;
  }

  h2,
  .h2 {
    font-size: 1.75rem;
  }

  h3,
  .h3 {
    font-size: 1.5rem;
  }

  h4,
  .h4 {
    font-size: 1.125rem;
  }

  h5,
  .h5 {
    font-size: 1rem;
  }

  h6,
  .h6 {
    font-size: 0.875rem;
  }

  .header .has-arrow .dropdown-toggle:after {
    display: none;
  }

  .user-menu.nav > li > a > span:not(.user-img) {
    display: none;
  }

  .navbar-nav .open .dropdown-menu {
    float: left;
    position: absolute;
  }

  .navbar-nav.user-menu .open .dropdown-menu {
    left: auto;
    right: 0;
  }

  .header .header-left {
    padding: 0 15px;
  }

  .user-img .user-text {
    display: none;
  }

  .business-card {
    font-size: 1em;
  }

  #negociosContainer {
    max-height: 400px;
  }

  .select2-container--bootstrap {
    width: 100% !important;
  }

  #product-list {
    max-height: 150px;
  }

  .cart-table {
    max-height: 200px;
  }

  .quantity-controls button {
    width: 25px;
    height: 25px;
    font-size: 16px;
  }
}

.user-details {
  display: flex;
  align-items: center;
  gap: 5px; /* Espacio entre el nombre y los tres puntos */
}

.user-name {
  font-size: 16px;
  color: #333;
}

.user-menu i.material-icons {
  font-size: 24px;
  color: #424242;
}

/* Ocultar el nombre en pantallas pequeñas */
@media (max-width: 768px) {
  .user-name {
    display: none;
  }
}

.header .has-arrow .dropdown-toggle::after {
  content: none !important;
  display: none !important;
}

/*Servicios */
.search-bar {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: center;
  background: white;
  border-radius: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  max-width: 900px;
  margin: 10px auto;
}

.search-item {
  display: flex;
  align-items: center;
  background: #f8f8f8;
  padding: 0.2rem 1rem;
  border-radius: 20px;
  flex: 1;
  min-width: 150px;
  transition: background 0.3s ease;
}

.search-item i {
  margin-right: 0.5rem;
  color: #888;
}

.search-item input {
  border: none;
  outline: none;
  box-shadow: none;
  background: none;
  font-size: 1rem;
  width: 100%;
}

.search-item input:focus {
  outline: none; /* Elimina el borde azul */
  box-shadow: none; /* Previene cualquier sombra adicional */
}

.search-button {
  background: #000;
  color: white;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 20px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.search-button:hover {
  background: #444;
}

.vr {
  border-left: 1px solid #ddd;
  height: auto;
  margin: 0 5px;
}

/* Ocultar toda la barra de búsqueda en pantallas pequeñas */
@media (max-width: 768px) {
  .search-bar {
    display: none !important; /* Oculta toda la barra de búsqueda */
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap; /* Permite que las tarjetas se ajusten en filas */
  gap: 20px; /* Espacio entre tarjetas */
  justify-content: center; /* Centra las tarjetas horizontalmente */
  padding: 20px;
}

.card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden; /* Asegura que todo el contenido que se desborde quede oculto */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease-in-out;
  display: flex;
  flex-direction: column; /* Ordena los elementos verticalmente */
  justify-content: space-between; /* Distribuye el contenido de manera uniforme */
  width: 297px; /* Ancho fijo para las tarjetas */
}

.card:hover {
  transform: scale(1.02);
}

.card img {
  width: 100%; /* Asegura que la imagen ocupe todo el ancho */
  height: 200px; /* Altura uniforme para todas las imágenes */
  object-fit: cover; /* Recorta la imagen para ajustarse al contenedor */
}

.card-content {
  padding: 15px;
  flex-grow: 1; /* Asegura que esta sección crezca si hay espacio disponible */
}

.card-content h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  color: #222;
}

.card-content p {
  margin: 5px 0;
  color: #666;
}

.recommendations h2 {
  text-align: center;
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .recommendations h2 {
    font-size: 1.5rem; /* Reducir el tamaño del título */
    text-align: center; /* Centrar el texto */
  }

  .recommendations .card-content h3 {
    font-size: 1rem; /* Reducir título de la tarjeta */
    margin-bottom: 5px; /* Reducir espacio entre título y texto */
  }

  .recommendations .card-content p {
    font-size: 0.8rem; /* Reducir textos descriptivos */
    margin-bottom: 3px; /* Reducir espacio entre párrafos */
  }
}

.custom-carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 10px 0;
}

.custom-carousel {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;

  /* Ocultar la barra de desplazamiento en diferentes navegadores */
  scrollbar-width: none; /* Firefox */
}

.custom-carousel::-webkit-scrollbar {
  display: none; /* Chrome, Safari y Edge */
}

.custom-carousel-item {
  flex: 0 0 auto;
  text-align: center;
  padding: 10px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.custom-carousel-item img {
  width: 60px;
  height: 60px;
  margin-bottom: 5px;
  object-fit: contain;
}

.custom-carousel-item p {
  font-size: 14px;
  margin: 0;
  color: #444;
}

.custom-carousel-item:hover {
  transform: scale(1.1);
  font-weight: bold;
}

.custom-carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #fff;
  color: black;
  font-size: 20px; /* Reduce el tamaño de la flecha */
  border: none;
  border-radius: 50%;
  width: 30px; /* Ajusta el tamaño total del botón */
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 1;
}

.custom-left {
  left: 10px;
}

.custom-right {
  right: 10px;
}

.custom-carousel-button:hover {
  background-color: #f0f0f0; /* Cambia el color al pasar el mouse */
}

@media (max-width: 768px) {
  .custom-carousel {
    gap: 10px;
  }

  .custom-carousel-button {
    display: none; /* Ocultar botones en pantallas pequeñas */
  }
}

.category-bar {
  white-space: nowrap;
  overflow-x: auto; /* Permite el scroll horizontal */
  display: flex; /* Asegúrate de usar flexbox para alinear horizontalmente */
  padding: 10px 0;
  border-top: 1px solid #e0e0e0;
  scroll-behavior: smooth; /* Para scroll suave */
}

.category-item {
  display: flex; /* flex en lugar de inline-flex */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 70px;
  cursor: pointer;
}

.category-item p {
  margin-top: 5px;
  color: #333;
}

/*Footer*/
/* Estilo del footer */
.site-footer {
  background-color: #2c2c2c; /* Fondo oscuro elegante */
  color: #f0f0f0; /* Texto claro */
  text-align: center;
  padding: 20px 10px;
  position: relative;
  bottom: 0;
  width: 100%;
  font-size: 0.9rem;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2); /* Sombra superior para separación */
}

.site-footer .footer-content {
  max-width: 1200px;
  margin: auto;
  font-family: "Roboto", sans-serif; /* Tipografía moderna */
}

.site-footer p {
  margin: 0; /* Sin margen extra */
  font-size: 0.875rem;
}

.site-footer p:hover {
  color: #ff0054; /* Efecto visual en hover para el texto */
}

/* Diseño responsivo */
@media (max-width: 768px) {
  .site-footer {
    font-size: 0.8rem; /* Ajusta tamaño en móviles */
    padding: 15px 5px;
  }
}

/*Reserva de servicios*/
.business-container {
  max-width: 1200px;
  margin: 20px auto;
  font-family: Arial, sans-serif;
}

.business-info {
  margin-bottom: 20px;
}

.business-info h1 {
  font-size: 2rem;
  margin: 0;
}

.rating span {
  display: inline-block;
  margin-right: 10px;
  font-size: 0.9rem;
  color: #555;
}

.rating a {
  color: #007bff;
  text-decoration: none;
}

.image-gallery {
  display: flex;
  gap: 10px;
}

.main-image {
  flex: 2;
}

.main-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.side-images {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.side-images img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.overlay {
  position: relative;
}

.overlay img {
  border-radius: 8px;
}

.view-more {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 1rem;
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.3s;
}

.overlay:hover .view-more {
  opacity: 1;
}

.view-more a {
  color: white;
  text-decoration: none;
  background: #007bff;
  padding: 10px 20px;
  border-radius: 20px;
}

.services-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.categories {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.category {
  background-color: #f8f8f8;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  cursor: pointer;
}

.category.active {
  background-color: black;
  color: white;
}

.main-content {
  display: flex;
  gap: 20px;
  width: 100%;
}

.services-list {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: white;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.service-info h4 {
  margin: 0;
  font-size: 1.1rem;
}

.service-info p {
  margin: 5px 0;
  color: #555;
}

.discount {
  color: green;
}

.btn-reserve {
  background-color: black;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  cursor: pointer;
}

.business-details {
  flex: 1;
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.business-details h3 {
  margin-top: 0;
}

.rating {
  display: flex;
  align-items: center;
  gap: 5px;
}

.status {
  color: red;
}

.address a {
  color: #007bff;
  text-decoration: none;
}

.btn-reserve-now {
  display: block;
  background-color: black;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  margin: 20px 0;
  cursor: pointer;
}

.gift-card {
  background-color: #f8f8f8;
  padding: 10px;
  border-radius: 8px;
}

.btn-buy {
  background-color: black;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  cursor: pointer;
}

.card-link {
  text-decoration: none; /* Elimina el subrayado de los enlaces */
  color: inherit; /* Mantiene el color de texto del contenedor */
}

.card-link:hover {
  text-decoration: none; /* Asegura que tampoco aparezca en hover */
}

