/* =========================================================
   IPERHOST — GLOBAL / VARIABLES PALETA CLIENTE
   Paleta oficial:
   #123B63 Navy principal · #F7F1E7 Crema fondos
   #D6AD67 Dorado acentos · #0D2F50 Azul oscuro encabezados
   ========================================================= */

:root {
    --iperhost-navy: #123B63;
    --iperhost-navy-rgb: 18, 59, 99;
    --iperhost-cream: #F7F1E7;
    --iperhost-gold: #D6AD67;
    --iperhost-gold-rgb: 214, 173, 103;
    --iperhost-gold-dark: #b8944f;
    --iperhost-navy-dark: #0D2F50;
    --iperhost-navy-dark-rgb: 13, 47, 80;
    --iperhost-white: #ffffff;
    --iperhost-border: #e3e9ec;
    --iperhost-text-muted: #536167;
}

/* Fondo crema full-bleed todo el sitio */
/* override rentalhive: padre pinta wrappers en blanco, se impone crema */
body {
    background-color: var(--iperhost-cream)!important;
}

/* Wrappers padre transparentes para dejar ver body */
.site,
#page,
.site-content,
.content-area,
.site-main,
main.site-main,
.wp-site-blocks,
.entry-content,
.hp-page {
    background-color: transparent;
}

/* Contenido Woo/Gutenberg hereda crema */
.content-area:has(.wp-block-woocommerce-checkout),
.wp-block-woocommerce-checkout {
    background-color: transparent;
}

/* Encabezados globales azul oscuro */
.hp-page__title,
h1, h2.hp-listing__title {
    color: var(--iperhost-navy-dark);
}

/* Botones primarios HivePress + Woo */
.hp-form__button.hp-field--submit,
.wp-block-button__link,
.wc-block-components-checkout-place-order-button,
button.hp-listing__action--booking {
    background: var(--iperhost-navy) !important;
    border-color: var(--iperhost-navy) !important;
    color: var(--iperhost-white) !important;
    transition: background .2s ease, transform .15s ease, border-color .2s ease;
}

.hp-form__button.hp-field--submit:hover,
.wp-block-button__link:hover,
.wc-block-components-checkout-place-order-button:hover,
button.hp-listing__action--booking:hover {
    background: var(--iperhost-gold) !important;
    border-color: var(--iperhost-gold) !important;
    color: var(--iperhost-navy-dark) !important;
    transform: translateY(-1px);
}

/* Acentos dorados: bordes activos, badges, iconos, focos */
a:hover,
.hp-menu__item--current > a,
.hp-menu__item > a:hover {
    border-color: var(--iperhost-gold);
}

/* Focus accesible navy + anillo dorado suave */
/* override rentalhive: foco marca en formularios HivePress/Woo */
input:focus,
select:focus,
textarea:focus {
    border-color: var(--iperhost-navy) !important;
    box-shadow: 0 0 0 3px rgba(var(--iperhost-gold-rgb), .25) !important;
    outline: none !important;
}

/* Tarjetas sobre crema: blanco puro para contraste */
/* Solo cards/tablas, no columnas layout (evita caja blanca full-width) */
.hp-card,
.hp-listing--view-block,
.hp-booking--view-block,
.hp-table {
    background: var(--iperhost-white);
}
