/* CatÃ¡logo THC */
body:has(.thc-catalogue) header.navbar { background: #fff !important; border-bottom: 1px solid #edf0e9; }
body:has(.thc-catalogue) header.navbar .navbar-brand img { content: url("https://thc.es/wp-content/uploads/2025/06/Logo-THC-dark-red-Titulado.png"); }
body:has(.thc-catalogue) header.navbar .navbar-nav > li > a, body:has(.thc-catalogue) header.navbar .search_trigger, body:has(.thc-catalogue) header.navbar .search_trigger i { color: #133f0c !important; }
body:has(.thc-catalogue) header.navbar .navbar-nav > li > a:hover { color: #820800 !important; }
body:has(.thc-catalogue) header.navbar .hamburguer-line { background-color: #133f0c !important; }
.thc-band h1, .thc-category-title h2 { text-transform: uppercase !important; }
.thc-viewer figcaption { color: #fff; }

/* CategorÃ­as y transiciones corporativas */
.thc-catalogue .thc-sections { gap: 7px; align-items: center; }
.thc-catalogue .thc-sections a { text-transform: uppercase; padding: 10px 12px; border: 1px solid transparent; border-radius: 2px; color: #133f0c !important; font-size: 11px !important; letter-spacing: .55px; transition: color .28s ease, background-color .28s ease, border-color .28s ease; }
.thc-catalogue .thc-sections a[aria-current], .thc-catalogue .thc-sections a[aria-current]:hover, .thc-catalogue .thc-sections a[aria-current]:focus { background-color: #820800; color: #fff !important; border-color: #820800; }
.thc-catalogue .thc-sections a:not([aria-current]):hover, .thc-catalogue .thc-sections a:not([aria-current]):focus-visible { color: #133f0c !important; background-color: #edf5e8; border-color: #edf5e8; }
.thc-catalogue .thc-sections a:focus-visible { outline: 2px solid #820800; outline-offset: 2px; }
#nav-menu-item-7073 > a, #nav-menu-item-7073 .dropdown-menu li, #nav-menu-item-7073 .dropdown-menu a, #mobile-nav-menu-item-7073 a { transition: color .28s ease, background-color .28s ease; }
#nav-menu-item-7073 > a:hover, #nav-menu-item-7073 > a:focus { color: #820800 !important; }
#nav-menu-item-7073 .dropdown-menu a, #mobile-nav-menu-item-7073 .dl-submenu a { text-transform: uppercase; font-size: 11px; letter-spacing: .5px; }
#nav-menu-item-7073 .dropdown-menu li:hover, #nav-menu-item-7073 .dropdown-menu li:hover > a, #nav-menu-item-7073 .dropdown-menu a:hover, #nav-menu-item-7073 .dropdown-menu a:focus-visible, #mobile-nav-menu-item-7073 .dl-submenu a:hover, #mobile-nav-menu-item-7073 .dl-submenu a:focus-visible { color: #fff !important; background-color: #820800 !important; }
.thc-catalogue .thc-cta a { transition: background-color .28s ease, color .28s ease; }
.thc-catalogue .thc-cta a:hover, .thc-catalogue .thc-cta a:focus-visible { background-color: #820800; color: #fff; }
.wp-block-categories-list a[href*="/catalogo/"] { text-transform: uppercase; transition: color .28s ease; }
.wp-block-categories-list a[href*="/catalogo/"]:hover { color: #fff; }
@media (prefers-reduced-motion: reduce) { .thc-catalogue a, #nav-menu-item-7073 a, #nav-menu-item-7073 li { transition: none !important; } }

/* Desplegable al pulsar CATÃLOGO */
body:has(.thc-catalogue) header.navbar #nav-menu-item-7073 > a { color: #133f0c !important; }
body:has(.thc-catalogue) header.navbar #nav-menu-item-7073 > a:hover, body:has(.thc-catalogue) header.navbar #nav-menu-item-7073 > a:focus { color: #820800 !important; }
#nav-menu-item-7073.thc-menu-open > .dropdown-menu { display: block !important; opacity: 1 !important; visibility: visible !important; transform: none !important; }
#nav-menu-item-7073.thc-menu-closed > .dropdown-menu { display: none !important; }

/* Ajuste Ã³ptico vertical del tÃ­tulo y contraste del hover */
.thc-catalogue .thc-band h1 { margin: 0 !important; padding: 0 !important; line-height: 1.15 !important; transform: translateY(.16em); }
.thc-catalogue .thc-sections a:not([aria-current]):hover, .thc-catalogue .thc-sections a:not([aria-current]):focus-visible { color: #061b02 !important; }
/* THC: titulos compactos y hover solo de fondo, 28/11/2026 */
.thc-catalogue .thc-band h1 { font-size:28px !important; letter-spacing:1px !important; }
.thc-catalogue .thc-category-title { flex-wrap:wrap; gap:6px 12px; }
.thc-catalogue .thc-category-title h2 { font-size:17px !important; letter-spacing:.3px !important; line-height:1.4 !important; white-space:nowrap; }
.thc-catalogue .thc-category-title span { white-space:nowrap; flex-shrink:0; }
.thc-catalogue .thc-sections a:not([aria-current]), .thc-catalogue .thc-sections a:not([aria-current]):hover, .thc-catalogue .thc-sections a:not([aria-current]):focus-visible { color:#133f0c !important; opacity:1 !important; -webkit-text-fill-color:#133f0c !important; }
@media (max-width:600px) { .thc-catalogue .thc-band h1 { font-size:24px !important; } }
/* THC: encabezado ligeramente menor, 28/11/2026 */
@media (min-width:601px) { .thc-catalogue .thc-band h1 { font-size:26px !important; } }

/* THC: contenido de sliders legible en PC, tablet y movil */
body rs-module .rev-btn{font-size:18px!important;line-height:35px!important;letter-spacing:2px!important;box-sizing:border-box!important;text-align:center!important;}
#slider-9-slide-24-layer-4{white-space:normal!important;max-width:calc(100vw - 40px)!important;line-height:1.7!important;padding-top:10px!important;padding-bottom:10px!important;text-align:center!important;}
@media(max-width:767px){body rs-module .rev-btn{font-size:16px!important;line-height:30px!important;letter-spacing:1px!important;}#slider-9-slide-24-layer-4{font-size:16px!important;line-height:1.65!important;padding-left:12px!important;padding-right:12px!important;}}
/* THC: mas espacio interior en botones de banners, 29/11/2026 */
body rs-module .rev-btn { padding: 10px 28px !important; width: auto !important; height: auto !important; min-width: 180px !important; min-height: 55px !important; white-space: nowrap !important; }
@media (max-width: 767px) { body rs-module .rev-btn { padding: 8px 20px !important; min-width: 150px !important; min-height: 46px !important; } }