/*
Theme Name: ListingHive Child
Theme URI: https://hivepress.io/themes/listinghive
Template: listinghive
Author: HivePress
Author URI: https://hivepress.io
Description: A multipurpose WordPress theme that allows you to build any type of directory and listing websites.
Tags: right-sidebar, custom-colors, custom-menu, custom-logo, custom-header, featured-image-header, featured-images, footer-widgets, theme-options, threaded-comments, translation-ready
Version: 1.0.0
*/

/* Centrar atributos en vista de listado */
.hp-listing--view-block .hp-listing__attributes--ternary {
  text-align: center !important;
}

/* Centrar atributos individuales */
.hp-listing--view-block .hp-listing__attributes--ternary .hp-listing__attribute {
  display: inline-block !important;
  margin-right: 10px !important;
  margin-bottom: 5px !important;
  text-align: left !important;
}

/* Centrar enlaces de términos y condiciones en el footer */
ul#menu-footer,
ul.menu-footer,
.footer-navbar__menu ul {
  display: flex !important;
  justify-content: center !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
  text-align: center !important;
}

ul#menu-footer li,
ul.menu-footer li,
.footer-navbar__menu li {
  display: inline-block !important;
  float: none !important;
  margin: 0 10px !important;
}

.footer-navbar,
.footer-navbar__end {
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  flex-direction: column !important;
  align-items: center !important;
}

/* Borde azul para buscador */
form.hp-form--wide.hp-form--primary.hp-block.hp-form.hp-form--listing-search {
  border: 2px solid #ff3600  !important;
  border-radius: 10px !important;
  padding: 20px !important;
}

form.hp-form--wide.hp-form--primary.hp-block.hp-form.hp-form--listing-search input,
form.hp-form--wide.hp-form--primary.hp-block.hp-form.hp-form--listing-search select,
form.hp-form--wide.hp-form--primary.hp-block.hp-form.hp-form--listing-search textarea {
  border: 2px solid #ffc107 !important;
  border-radius: 8px !important;
  background: #fff !important;
}

/* Estilo para categorías con bordes y efecto hover con mayor especificidad */
.hp-listing__categories > a,
.hp-listing__categories > span,
.hp-listing__categories > div {
border: 2px solid #ffc107 !important; /* borde normal amarillo */
border-radius: 30px !important;
padding: 4px 12px !important;
display: inline-block !important;
margin: 4px 4px 4px 0 !important;
white-space: nowrap !important;
background-color: transparent !important;
color: inherit !important;
transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}


.hp-listing__categories > a:hover,
.hp-listing__categories > span:hover,
.hp-listing__categories > div:hover {
background-color: #ffc107 !important; /* fondo naranja en hover */
border-color: #ff3600 !important; /* borde también naranja en hover */
color: #000 !important; /* texto blanco en hover */
}

/* Quitar cualquier línea superior que aparezca antes del copyright */
.site-footer .footer-bottom,
.site-footer .footer-bottom::before,
.site-footer .footer-bottom::after {
  border-top: none !important;
  box-shadow: none !important;
}
