/*
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;
}

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

/* 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 verde para buscador */
form.hp-form--wide.hp-form--primary.hp-block.hp-form.hp-form--listing-search {
  border: 2px solid #379200;
  border-radius: 10px;
  padding: 20px;
}

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;
  border-radius: 8px;
  background: #fff;
}

/* Estilo para categorías con bordes y efecto hover */
.hp-listing__categories > * {
  border: 2px solid #ffc107 !important;
  border-radius: 30px !important;
  padding: 4px 12px !important;
  display: inline-block !important;
  margin: 4px 4px 4px 0 !important;
  white-space: nowrap !important;
}

.hp-listing__categories > *:hover {
  background-color: #379200 !important;
  color: white !important;
  transition: background-color 0.3s ease;
}
