/* ============================================================================
 * Header 7K SAFETY — reconstruido
 * logo · menú (megamenú en PRODUCTOS) · buscador · pestaña «Datos de Contacto»
 * ========================================================================= */

:root {
	/* Variables heredadas que TAMBIÉN usa footer.css: no eliminar. */
	--theme-color-1: #e20613;
	--theme-color-2: #131a20;
	--theme-color-3: #2f3f4a;
	--theme-color-header-top-fondo: #ff0000;
	--theme-color-header-top-texto: #ffffff;
	--theme-color-header-fondo: #ffffff;
	--theme-color-header-texto: #54595f;
	--theme-color-header-fondo-categorias-menu-buscador: #f3f3f3;
	--theme-color-header-texto-categorias-menu-buscador: #54595f;

	/* Header nuevo */
	--hdr-red: #e30613;
	--hdr-red-dark: #b8050f;
	--hdr-ink: #23282d;
	--hdr-text: #4a5055;
	--hdr-muted: #7c858c;
	--hdr-line: #e2e6e9;
	--hdr-soft: #f5f6f8;
	--hdr-h: 96px;
	--hdr-h-mobile: 66px;
	--hdr-trans: .22s cubic-bezier(.4, 0, .2, 1);
}

/* Clearfix heredado del tema (lo usaban header-7k.css y las plantillas). */
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
	table-layout: fixed;
}
.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/* ---------------------------------------------------------------- Barra --- */

.hdr {
	position: sticky;
	top: 0;
	z-index: 900;
	background: #fff;
	border-bottom: 1px solid var(--hdr-line);
	font-family: inherit;
	transition: box-shadow var(--hdr-trans);
}
.hdr.is-stuck {
	box-shadow: 0 6px 20px rgba(16, 24, 32, .10);
}
/* Blinda el fondo ante reglas heredadas del tipo `#masthead{...}` (mayor
   especificidad por ID) si alguna vuelve a cargarse. */
#masthead.hdr {
	background: #fff;
}
/* El reset de box-sizing tiene que cubrir TAMBIEN los dos paneles desplegables.
   .hdr-contact y .hdr-drawer se imprimen fuera de </header> (son position:fixed
   a nivel de viewport), asi que `.hdr *` no los alcanzaba: dentro seguian en
   content-box y cualquier `width:100%` con padding se pasaba de ancho. Era lo
   que sacaba el boton "Ir a Contactenos" fuera del panel: width:100% + 36px de
   padding lateral. */
.hdr *,
.hdr *::before,
.hdr *::after,
.hdr-contact,
.hdr-contact *,
.hdr-contact *::before,
.hdr-contact *::after,
.hdr-drawer,
.hdr-drawer *,
.hdr-drawer *::before,
.hdr-drawer *::after {
	box-sizing: border-box;
}
.hdr ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.hdr a {
	text-decoration: none;
	color: inherit;
}
/* Reset de botones. OJO: `.hdr button` (0,1,1) gana por especificidad a una
   clase suelta (0,1,0), así que los botones que sí llevan fondo/color propios
   (.hdr__contact-tab, .hdr__burger) se declaran más abajo como `.hdr .clase`. */
.hdr button {
	font: inherit;
	border: 0;
	background: none;
	cursor: pointer;
	color: inherit;
}

.hdr__bar {
	display: flex;
	align-items: stretch;
	min-height: var(--hdr-h);
	position: relative;
}

/* Logo */
.hdr__logo {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
	padding: 8px 0 8px 34px;
}
.hdr__logo a,
.hdr__logo .custom-logo-link {
	display: inline-flex;
	align-items: center;
}
.hdr__logo img,
.hdr__logo .custom-logo {
	display: block;
	width: auto;
	max-width: 290px;
	max-height: 62px;
	height: auto;
}

/* Hamburguesa (solo móvil) */
.hdr .hdr__burger {
	display: none;
	align-items: center;
	justify-content: center;
	width: 52px;
	flex: 0 0 auto;
	background: none;
	color: var(--hdr-ink);
}
.hdr__burger-bars,
.hdr__burger-bars::before,
.hdr__burger-bars::after {
	display: block;
	width: 22px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	transition: transform var(--hdr-trans), opacity var(--hdr-trans);
}
.hdr__burger-bars {
	position: relative;
}
.hdr__burger-bars::before,
.hdr__burger-bars::after {
	content: "";
	position: absolute;
	left: 0;
}
.hdr__burger-bars::before { top: -7px; }
.hdr__burger-bars::after  { top: 7px; }
.hdr__burger[aria-expanded="true"] .hdr__burger-bars { background: transparent; }
.hdr__burger[aria-expanded="true"] .hdr__burger-bars::before { transform: translateY(7px) rotate(45deg); }
.hdr__burger[aria-expanded="true"] .hdr__burger-bars::after  { transform: translateY(-7px) rotate(-45deg); }

/* ----------------------------------------------------------------- Menú --- */

.hdr__nav {
	display: flex;
	align-items: center;
	margin-left: auto;
	flex: 0 1 auto;
	min-width: 0;
}
.hdr__menu {
	display: flex;
	align-items: center;
	gap: 30px;
}
.hdr__item--top {
	position: static;
}
.hdr__link {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 10px 2px;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: .012em;
	text-transform: uppercase;
	color: var(--hdr-text);
	white-space: nowrap;
	position: relative;
	transition: color var(--hdr-trans);
}
.hdr__link::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background: var(--hdr-red);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform var(--hdr-trans);
}
.hdr__item--top:hover > .hdr__link,
.hdr__item--top:focus-within > .hdr__link,
.hdr__item--top.current-menu-item > .hdr__link,
.hdr__item--top.current-menu-ancestor > .hdr__link {
	color: var(--hdr-red);
}
.hdr__item--top:hover > .hdr__link::after,
.hdr__item--top:focus-within > .hdr__link::after,
.hdr__item--top.current-menu-item > .hdr__link::after {
	transform: scaleX(1);
}
.hdr__caret {
	width: 14px;
	height: 14px;
	flex: 0 0 auto;
	transition: transform var(--hdr-trans);
}
.hdr__item--top:hover > .hdr__link .hdr__caret {
	transform: rotate(180deg);
}

/* Submenú clásico (ítems que no son el megamenú) */
.hdr__item--has-sub {
	position: relative;
}
.hdr__submenu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 230px;
	background: #fff;
	border: 1px solid var(--hdr-line);
	border-top: 2px solid var(--hdr-red);
	border-radius: 0 0 8px 8px;
	box-shadow: 0 16px 32px rgba(16, 24, 32, .14);
	padding: 6px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity var(--hdr-trans), transform var(--hdr-trans), visibility var(--hdr-trans);
	z-index: 950;
}
.hdr__item--has-sub:hover > .hdr__submenu,
.hdr__item--has-sub:focus-within > .hdr__submenu {
	opacity: 1;
	visibility: visible;
	transform: none;
}
.hdr__item--mega > .hdr__submenu {
	display: none;
}
.hdr__sublink {
	display: block;
	padding: 9px 14px;
	border-radius: 6px;
	font-size: 14px;
	color: var(--hdr-text);
	transition: background var(--hdr-trans), color var(--hdr-trans);
}
.hdr__sublink:hover,
.hdr__sublink:focus {
	background: var(--hdr-soft);
	color: var(--hdr-red);
}

/* ------------------------------------------------------------- Megamenú --- */

.hdr-mega {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	background: #fff;
	border-top: 3px solid var(--hdr-red);
	box-shadow: 0 26px 46px rgba(16, 24, 32, .16);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-8px);
	transition: opacity var(--hdr-trans), transform var(--hdr-trans), visibility var(--hdr-trans);
	z-index: 940;
}
.hdr-mega.is-open {
	opacity: 1;
	visibility: visible;
	transform: none;
}
.hdr-mega__inner {
	max-width: 1480px;
	margin: 0 auto;
	padding: 26px 34px 22px;
}

/* Todas las categorías a la vez, repartidas en columnas.
   `columns` (y no grid) porque las categorías tienen alturas muy distintas:
   las 3 que llevan subcategorías son mucho más altas que el resto, y el flujo
   por columnas las reparte sin dejar huecos. */
.hdr-mega__cols {
	columns: 5 210px;
	column-gap: 34px;
	max-height: 62vh;
	overflow-y: auto;
	overscroll-behavior: contain;
}
.hdr-mega__cat {
	/* Evita que una categoría se parta entre dos columnas. */
	break-inside: avoid;
	-webkit-column-break-inside: avoid;
	page-break-inside: avoid;
	margin: 0 0 18px;
}
/* Todo el megamenú va en peso regular; la jerarquía se marca con el color y la
   sangría, no con negritas. */
.hdr-mega__l1 {
	display: block;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.35;
	color: var(--hdr-ink);
	padding: 4px 0;
	border-bottom: 1px solid transparent;
	transition: color var(--hdr-trans), border-color var(--hdr-trans);
}
.hdr-mega__l1:hover,
.hdr-mega__l1:focus {
	color: var(--hdr-red);
	border-bottom-color: var(--hdr-line);
}
/* Las categorías con hijos llevan su título en rojo para distinguirlas. */
.hdr-mega__cat.has-subs > .hdr-mega__l1 {
	text-transform: uppercase;
	letter-spacing: .015em;
	font-size: 13.5px;
	color: var(--hdr-red);
}
/* OJO con la especificidad: el reset `.hdr ul {margin:0;padding:0}` es (0,1,1) y
   gana a una clase suelta (0,1,0), así que la sangría se anulaba y las
   subcategorías quedaban pegadas a la línea. Por eso se prefija con `.hdr`. */
.hdr .hdr-mega__subs {
	margin: 9px 0 0;
	padding-left: 26px;
	border-left: 1px solid var(--hdr-line);
}
.hdr-mega__subs > li + li { margin-top: 7px; }
.hdr-mega__l2 {
	display: block;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.45;
	color: var(--hdr-text);
	transition: color var(--hdr-trans);
}
.hdr-mega__l2:hover { color: var(--hdr-red); }
.hdr .hdr-mega__l3 {
	margin: 6px 0 0;
	padding-left: 16px;
}
.hdr-mega__l3 li + li { margin-top: 5px; }
.hdr-mega__l3 a {
	display: block;
	font-size: 12.5px;
	line-height: 1.45;
	color: var(--hdr-muted);
	transition: color var(--hdr-trans);
}
.hdr-mega__l3 a:hover { color: var(--hdr-red); }

.hdr-mega__foot {
	display: flex;
	justify-content: flex-end;
	margin-top: 16px;
	padding-top: 14px;
	border-top: 1px solid var(--hdr-line);
}
.hdr-mega__all {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 700;
	color: var(--hdr-red);
	white-space: nowrap;
	transition: color var(--hdr-trans);
}
.hdr-mega__all-icon { width: 16px; height: 16px; }
.hdr-mega__all:hover { color: var(--hdr-red-dark); }

@media (max-width: 1280px) {
	.hdr-mega__cols { columns: 4 190px; column-gap: 26px; }
	.hdr-mega__inner { padding: 22px 24px 18px; }
}

/* ------------------------------------------------------------- Buscador --- */

.hdr__search {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
	padding: 0 0 0 28px;
}
.hdr__search .oz-ls {
	width: 360px;
	position: relative;
}
.hdr-search__form {
	display: flex;
	align-items: center;
	height: 48px;
	background: #fff;
	border: 1px solid #dde2e6;
	border-radius: 6px;
	padding: 0 5px 0 18px;
	transition: border-color var(--hdr-trans), box-shadow var(--hdr-trans);
}
.hdr-search__form:focus-within {
	border-color: var(--hdr-red);
	box-shadow: 0 0 0 3px rgba(227, 6, 19, .10);
}
.hdr-search__input {
	flex: 1 1 auto;
	min-width: 0;
	height: 100%;
	border: 0;
	outline: none;
	background: transparent;
	font-size: 15px;
	color: var(--hdr-ink);
	box-shadow: none;
	padding: 0;
	margin: 0;
}
.hdr-search__input::placeholder { color: #9aa2a8; opacity: 1; }
.hdr-search__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.hdr-search__btn {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 5px;
	color: var(--hdr-red);
	transition: background var(--hdr-trans);
}
.hdr-search__btn:hover { background: rgba(227, 6, 19, .08); }
.hdr-search__icon { width: 22px; height: 22px; stroke-width: 2.1; }

/* Panel de resultados (sobre el CSS base de .oz-ls) */
.hdr-search__panel {
	top: calc(100% + 10px);
	border-radius: 8px;
	border-color: var(--hdr-line);
}

/* ------------------------------------------------- Pestaña de contacto --- */

/* Siempre rojo con icono y texto blancos (no depende del hover). */
.hdr .hdr__contact-tab {
	flex: 0 0 auto;
	align-self: stretch;
	margin-left: auto;
	width: 114px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 8px 6px;
	background: var(--hdr-red);
	color: #fff;
	text-align: center;
	font-size: 11.5px;
	font-weight: 500;
	line-height: 1.2;
	transition: background var(--hdr-trans);
}
.hdr .hdr__contact-tab:hover,
.hdr .hdr__contact-tab:focus-visible,
.hdr .hdr__contact-tab[aria-expanded="true"] {
	background: var(--hdr-red-dark);
	color: #fff;
}
.hdr__contact-tab-icon { width: 30px; height: 30px; color: #fff; }
.hdr__contact-tab-text {
	display: block;
	max-width: 72px;
}

/* Panel deslizante (derecha → izquierda) */
.hdr-contact {
	position: fixed;
	inset: 0;
	z-index: 1200;
	pointer-events: none;
}
.hdr-contact__overlay {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 32, .5);
	opacity: 0;
	transition: opacity var(--hdr-trans);
}
.hdr-contact__panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(400px, 92vw);
	background: #fff;
	box-shadow: -18px 0 46px rgba(15, 23, 32, .22);
	transform: translateX(100%);
	transition: transform .34s cubic-bezier(.4, 0, .2, 1);
	display: flex;
	flex-direction: column;
	overflow: hidden;
}
.hdr-contact.is-open { pointer-events: auto; }
.hdr-contact.is-open .hdr-contact__overlay { opacity: 1; }
.hdr-contact.is-open .hdr-contact__panel { transform: none; }

.hdr-contact__head {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 20px 20px 20px 24px;
	background: var(--hdr-red);
	color: #fff;
	flex: 0 0 auto;
}
.hdr-contact__head-icon { width: 28px; height: 28px; flex: 0 0 auto; }
.hdr-contact__title {
	margin: 0;
	font-size: 17px;
	font-weight: 700;
	letter-spacing: .01em;
	flex: 1 1 auto;
	color: #fff;
}
/* El panel cuelga FUERA de <header class="hdr">, así que no le llega el reset
   de `.hdr button`: sin esto el navegador le pinta su fondo y borde por defecto
   (se veía un recuadro blanco en vez de la X). */
.hdr-contact__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 0;
	background: none;
	-webkit-appearance: none;
	appearance: none;
	border-radius: 6px;
	color: #fff;
	cursor: pointer;
	transition: background var(--hdr-trans);
}
.hdr-contact__close svg {
	width: 20px;
	height: 20px;
	display: block;
}
.hdr-contact__close:hover,
.hdr-contact__close:focus-visible { background: rgba(255, 255, 255, .18); }

.hdr-contact__body {
	flex: 1 1 auto;
	overflow-y: auto;
	padding: 8px 24px 26px;
	-webkit-overflow-scrolling: touch;
}
.hdr-contact__list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.hdr-contact__row {
	display: flex;
	gap: 14px;
	padding: 18px 0;
	border-bottom: 1px solid #eef1f3;
}
.hdr-contact__row-icon {
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(227, 6, 19, .09);
	color: var(--hdr-red);
}
.hdr-contact__row-icon svg { width: 20px; height: 20px; }
.hdr-contact__row-body {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}
.hdr-contact__row-label {
	font-size: 11.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .07em;
	color: var(--hdr-muted);
}
.hdr-contact__row-value {
	font-size: 15px;
	line-height: 1.45;
	color: var(--hdr-ink);
	word-break: break-word;
}
a.hdr-contact__row-value { transition: color var(--hdr-trans); }
a.hdr-contact__row-value:hover { color: var(--hdr-red); }
.hdr-contact__empty {
	padding: 24px 0;
	color: var(--hdr-muted);
	font-size: 14px;
	line-height: 1.6;
}
.hdr-contact__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	margin-top: 22px;
	padding: 13px 18px;
	border-radius: 6px;
	background: var(--hdr-ink);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	transition: background var(--hdr-trans);
}
.hdr-contact__cta:hover { background: var(--hdr-red); color: #fff; }
.hdr-contact__cta svg { width: 18px; height: 18px; }

/* --------------------------------------------------------- Drawer móvil --- */

.hdr-drawer {
	position: fixed;
	inset: 0;
	z-index: 1150;
	pointer-events: none;
}
.hdr-drawer__overlay {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 32, .5);
	opacity: 0;
	transition: opacity var(--hdr-trans);
}
.hdr-drawer__panel {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	width: min(330px, 88vw);
	background: #fff;
	box-shadow: 18px 0 46px rgba(15, 23, 32, .22);
	transform: translateX(-100%);
	transition: transform .32s cubic-bezier(.4, 0, .2, 1);
	display: flex;
	flex-direction: column;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}
.hdr-drawer.is-open { pointer-events: auto; }
.hdr-drawer.is-open .hdr-drawer__overlay { opacity: 1; }
.hdr-drawer.is-open .hdr-drawer__panel { transform: none; }

.hdr-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 14px 14px 18px;
	border-bottom: 1px solid var(--hdr-line);
}
.hdr-drawer__logo img { display: block; width: auto; max-width: 170px; height: auto; max-height: 38px; }
.hdr-drawer__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 6px;
	color: var(--hdr-ink);
	border: 0;
	background: none;
	cursor: pointer;
}
.hdr-drawer__close:hover { background: var(--hdr-soft); }

.hdr-drawer__menu,
.hdr-drawer__cats-list,
.hdr-drawer__subcats {
	list-style: none;
	margin: 0;
	padding: 0;
}
.hdr-drawer__menu > li > a {
	display: block;
	padding: 13px 18px;
	font-size: 14.5px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--hdr-ink);
	text-decoration: none;
	border-bottom: 1px solid #f1f3f5;
}
.hdr-drawer__menu > li > a:hover { color: var(--hdr-red); }
.hdr-drawer__menu .sub-menu {
	list-style: none;
	margin: 0;
	padding: 0 0 6px 18px;
}
.hdr-drawer__menu .sub-menu a {
	display: block;
	padding: 8px 18px;
	font-size: 13.5px;
	color: var(--hdr-text);
	text-decoration: none;
}

.hdr-drawer__cats { padding: 16px 0 30px; }
.hdr-drawer__cats-title {
	margin: 0 0 6px;
	padding: 0 18px;
	font-size: 11.5px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .09em;
	color: var(--hdr-muted);
}
.hdr-drawer__cat-row {
	display: flex;
	align-items: center;
	border-bottom: 1px solid #f1f3f5;
}
.hdr-drawer__cat-row > a {
	flex: 1 1 auto;
	padding: 12px 18px;
	font-size: 14px;
	color: var(--hdr-ink);
	text-decoration: none;
}
.hdr-drawer__cat-row > a:hover { color: var(--hdr-red); }
.hdr-drawer__cat-toggle {
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--hdr-muted);
	border: 0;
	background: none;
	cursor: pointer;
}
.hdr-drawer__cat-toggle svg { width: 18px; height: 18px; transition: transform var(--hdr-trans); }
.hdr-drawer__cat-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.hdr-drawer__subcats { background: var(--hdr-soft); padding: 4px 0; }
.hdr-drawer__subcats a {
	display: block;
	padding: 9px 18px 9px 32px;
	font-size: 13.5px;
	color: var(--hdr-text);
	text-decoration: none;
}
.hdr-drawer__subcats a:hover { color: var(--hdr-red); }

body.hdr-lock { overflow: hidden; }

/* ---------------------------------------------------------- Responsive --- */

@media (max-width: 1439px) {
	.hdr__menu { gap: 22px; }
	.hdr__link { font-size: 14px; }
	.hdr__search .oz-ls { width: 300px; }
	.hdr__logo { padding-left: 22px; }
}

@media (max-width: 1279px) {
	.hdr__menu { gap: 16px; }
	.hdr__link { font-size: 13px; }
	.hdr__search { padding-left: 18px; }
	.hdr__search .oz-ls { width: 240px; }
	.hdr .hdr__contact-tab { width: 100px; font-size: 11px; }
	.hdr__logo img, .hdr__logo .custom-logo { max-width: 210px; max-height: 50px; }
	.hdr-mega__inner { grid-template-columns: 250px minmax(0, 1fr); }
}

@media (max-width: 1099px) {
	:root { --hdr-h: var(--hdr-h-mobile); }

	.hdr__bar { flex-wrap: wrap; min-height: 0; }
	.hdr .hdr__burger { display: inline-flex; min-height: var(--hdr-h-mobile); }
	.hdr__logo {
		flex: 1 1 auto;
		padding: 8px 10px;
		min-height: var(--hdr-h-mobile);
	}
	.hdr__logo img, .hdr__logo .custom-logo { max-width: 190px; max-height: 42px; }
	.hdr__nav { display: none; }
	.hdr .hdr__contact-tab {
		margin-left: 0;
		width: 76px;
		gap: 3px;
		font-size: 9.5px;
		min-height: var(--hdr-h-mobile);
	}
	.hdr__contact-tab-icon { width: 22px; height: 22px; }
	.hdr__contact-tab-text { max-width: 100%; }
	.hdr__search {
		order: 5;
		flex: 1 0 100%;
		padding: 10px 12px;
		border-top: 1px solid var(--hdr-line);
	}
	.hdr__search .oz-ls { width: 100%; }
	.hdr-search__form { height: 44px; padding-left: 14px; }
}

/* Datos de contacto a pantalla completa en móvil. Con width: min(400px, 92vw)
   quedaba visible una franja de la página a la izquierda del panel.
   Se usa width: 100% (no 100vw) porque .hdr-contact ya ocupa el viewport con
   inset: 0, y así no se cuenta el ancho de la barra de desplazamiento. */
@media (max-width: 767px) {
	.hdr-contact__panel {
		width: 100%;
		max-width: none;
		box-shadow: none;
	}
}

@media (max-width: 420px) {
	.hdr__logo img, .hdr__logo .custom-logo { max-width: 150px; }
	.hdr .hdr__contact-tab { width: 64px; }
}

/* ============================================================================
 * Compatibilidad heredada (no es header, venía en header-7k.css)
 * ========================================================================= */

/* Sliders OZ: el contenedor de flechas tapaba el clic en las cards. */
html body .ozs:not(.ozs--banner) > .ozs__nav { pointer-events: none !important; }
html body .ozs:not(.ozs--banner) .ozs__nav-btn { pointer-events: auto !important; }

/* Carrito cotizador (sidecart) con los colores 7K. */
html body .ozc-sidecart {
	--ozc-sc-accent:      #16232f;
	--ozc-sc-accent-dark: #0d1620;
	--ozc-sc-yellow:      #e30613;
	--ozc-sc-yellow-dark: #b3050f;
	--ozc-sc-border:      rgba(22, 35, 47, 0.14);
	--ozc-sc-border-soft: rgba(22, 35, 47, 0.07);
}
html body .ozc-sidecart .ozc-sidecart__btn--cart,
html body .ozc-sidecart .ozc-sidecart__btn--cart:hover {
	color: #ffffff;
	box-shadow: 0 2px 8px rgba(227, 6, 19, 0.32);
}
html body .ozc-sidecart .ozc-sidecart__btn--continue:hover {
	background: #f2f4f6;
}
