/* =========================================================
 * Header OZ-Thema-4.0
 * Bloque 1: top bar (logo + buscador + cotizar + libreta)
 * Bloque 2: categorías top-level con dropdown de subcategorías
 * Bloque 3: menú principal
 * Mobile-first, responsive ≥768 / ≥1024 / ≥1280
 * ========================================================= */

:root {
	--oz-h-bg-top:        linear-gradient(180deg, #1a7d40 0%, #136130 100%);
	--oz-h-bg-bottom:     #114f29;
	--oz-h-text-top:      #ffffff;
	--oz-h-text-bottom:   #ffffff;
	--oz-h-accent:        #ff9800;        /* botón cotizar (naranja) */
	--oz-h-accent-hover:  #e68a00;
	--oz-h-cat-color:     #ffffff;        /* texto categorías / menú sobre verde */
	--oz-h-cat-hover:     #ff9800;        /* hover naranja (megamenú, categorías) */
	--oz-h-active:        #ff9800;        /* subrayado del ítem activo del menú */
	--oz-h-search-bg:     #ffffff;
	--oz-h-search-text:   #1a1a1a;
	--oz-h-divider:       rgba(255,255,255,.18);
	--oz-h-shadow:        0 4px 14px rgba(0,0,0,.12);
	--oz-h-radius:        10px;
	--oz-h-trans:         .2s ease;
}

/* ---------- Reset puntual ---------- */
.oz-header,
.oz-header * {
	box-sizing: border-box;
}
.oz-header ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.oz-header a {
	text-decoration: none;
	color: inherit;
}
.oz-header button {
	font: inherit;
	background: none;
	border: none;
	cursor: pointer;
	color: inherit;
	padding: 0;
}

/* ---------- Layout base ---------- */
.oz-header {
	position: relative;
	z-index: 100;
	box-shadow: var(--oz-h-shadow);
}

.oz-header__container {
	width: 100%;
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 16px;
	display: flex;
	align-items: center;
	gap: 12px;
}

/* =========================================================
 *  BLOQUE 1: top bar
 * ========================================================= */
.oz-header__top {
	background: var(--oz-h-bg-top);
	color: var(--oz-h-text-top);
	border-bottom: 1px solid #e5e7eb;
}
.oz-header__top .oz-header__container {
	min-height: 72px;
	padding-top: 10px;
	padding-bottom: 10px;
	flex-wrap: wrap;
}

/* Hamburguesa (móvil/tablet) */
.oz-header__hamburger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 8px;
	color: var(--oz-h-text-top);
	flex: 0 0 auto;
}
.oz-header__hamburger:hover { background: #f1f3f5; }

.oz-header__hamburger-bars,
.oz-header__hamburger-bars::before,
.oz-header__hamburger-bars::after {
	display: block;
	width: 22px;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
	transition: transform var(--oz-h-trans), top var(--oz-h-trans), bottom var(--oz-h-trans), opacity var(--oz-h-trans);
	position: relative;
}
.oz-header__hamburger-bars::before,
.oz-header__hamburger-bars::after {
	content: "";
	position: absolute;
	left: 0;
}
.oz-header__hamburger-bars::before { top: -7px; }
.oz-header__hamburger-bars::after  { bottom: -7px; }

.oz-header__hamburger[aria-expanded="true"] .oz-header__hamburger-bars { background: transparent; }
.oz-header__hamburger[aria-expanded="true"] .oz-header__hamburger-bars::before { transform: rotate(45deg); top: 0; }
.oz-header__hamburger[aria-expanded="true"] .oz-header__hamburger-bars::after  { transform: rotate(-45deg); bottom: 0; }

/* Logo */
.oz-header__logo {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
	max-width: 60%;
}
.oz-header__logo .custom-logo-link,
.oz-header__logo a {
	display: inline-flex;
	align-items: center;
}
.oz-header__logo img {
	height: 44px;
	width: auto;
	max-width: 100%;
	object-fit: contain;
	display: block;
}
.oz-header__logo-text {
	font-weight: 800;
	font-size: 1.05rem;
	color: var(--oz-h-text-top);
}

/* Buscador (live search existente) */
.oz-header__search {
	order: 3;
	flex: 1 1 100%;
	min-width: 0;
}
.oz-header__search .oz-ls,
.oz-header__search .ozpls-figma,
.oz-header__search .ozpls-figma__form {
	width: 100% !important;
}

.oz-header__search .ozpls-figma__form {
	position: relative;
	display: flex;
	align-items: stretch;
	width: 100%;
	margin: 0;
	background: var(--oz-h-search-bg) !important;
	border: 1px solid #e5e7eb !important;
	border-radius: 999px !important;
	overflow: visible !important;
}

.oz-header__search .ozpls-figma__inputWrap,
.oz-header__search .ozpls-figma__bar {
	flex: 1 1 auto;
	min-width: 0;
	background: transparent !important;
	border: none !important;
	padding: 0 !important;
	margin: 0 !important;
	box-shadow: none;
	position: relative;
}

.oz-header__search .ozpls-figma__input,
.oz-header__search .ozpls-figma__input:focus,
.oz-header__search .ozpls-figma__input:hover,
.oz-header__search .ozpls-figma__input:active {
	width: 100% !important;
	background: transparent !important;
	border: none !important;
	color: var(--oz-h-search-text) !important;
	-webkit-text-fill-color: var(--oz-h-search-text) !important;
	border-radius: 999px !important;
	padding: 0 50px 0 18px !important;
	font-size: 14px !important;
	box-sizing: border-box !important;
	outline: none !important;
	box-shadow: none !important;
	margin: 0 !important;
	height: 44px !important;
	appearance: none !important;
}

.oz-header__search .ozpls-figma__input::placeholder {
	color: rgba(0,0,0,.45) !important;
	-webkit-text-fill-color: rgba(0,0,0,.45) !important;
}

.oz-header__search .ozpls-figma__btn {
	position: absolute !important;
	right: 4px !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	height: 36px !important;
	width: 36px !important;
	background: transparent !important;
	border: none !important;
	cursor: pointer !important;
	z-index: 2 !important;
	padding: 0 !important;
	margin: 0 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	border-radius: 50% !important;
}
.oz-header__search .ozpls-figma__btn:hover { background: rgba(0,0,0,.06) !important; }
.oz-header__search .ozpls-figma__btnText { display: none !important; }
.oz-header__search .ozpls-figma__btn svg,
.oz-header__search .ozpls-figma__btn img { display: none !important; }
.oz-header__search .ozpls-figma__btn::after {
	content: "";
	width: 18px;
	height: 18px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1a1a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
	background-size: contain;
	background-repeat: no-repeat;
	display: block;
}

/* Acciones (cotizar + libreta) */
.oz-header__actions {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-left: auto;
	flex: 0 0 auto;
}

.oz-header__quote {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--oz-h-accent);
	color: #fff;
	padding: 10px 14px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 14px;
	transition: background-color var(--oz-h-trans), transform var(--oz-h-trans);
}
.oz-header__quote:hover { background: var(--oz-h-accent-hover); transform: translateY(-1px); }
.oz-header__quote-icon { flex: 0 0 auto; }
.oz-header__quote-text { display: none; white-space: nowrap; }

.oz-header__notebook-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 8px;
	background: #0d0d0d;
	color: #fff;
	transition: background-color var(--oz-h-trans), transform var(--oz-h-trans);
	flex: 0 0 auto;
}
.oz-header__notebook-btn:hover { background: #1f2937; transform: translateY(-1px); }

/* =========================================================
 *  BLOQUE 2 + 3: barra inferior (categorías + menú)
 * ========================================================= */
.oz-header__bottom {
	display: none;                  /* en móvil se oculta; va al drawer */
	background: var(--oz-h-bg-bottom);
	color: var(--oz-h-text-bottom);
}
.oz-header__bottom .oz-header__container {
	min-height: 50px;
	gap: 24px;
}

/* ---- Categorías top-level ---- */
.oz-header__cats { flex: 0 0 auto; }
.oz-header__cats-list {
	display: flex;
	align-items: stretch;
	gap: 8px;
}
.oz-header__cat {
	position: relative;
}
.oz-header__cat + .oz-header__cat::before {
	content: "";
	position: absolute;
	top: 50%;
	left: -4px;
	height: 18px;
	width: 1px;
	background: var(--oz-h-divider);
	transform: translateY(-50%);
}

.oz-header__cat-trigger {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 14px;
	color: var(--oz-h-cat-color);
	font-weight: 700;
	font-size: 14px;
	letter-spacing: .01em;
	transition: color var(--oz-h-trans);
	white-space: nowrap;
	line-height: 1;
}
.oz-header__cat-trigger:hover,
.oz-header__cat-trigger[aria-expanded="true"] {
	color: var(--oz-h-cat-hover);
}
.oz-header__cat-caret { transition: transform var(--oz-h-trans); }
.oz-header__cat-trigger[aria-expanded="true"] .oz-header__cat-caret { transform: rotate(180deg); }

/* =========================================================
 *  MEGAMENÚ (desktop, full-width)
 *  - Panels son hijos directos de .oz-header__bottom (NO de la li trigger)
 *    para poder ocupar 100% del bloque (que es 100vw).
 * ========================================================= */
.oz-header__bottom { position: relative; } /* anclaje absoluto del megamenu */

.jym-megamenu {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	width: 100%;
	background: #fff;
	color: #1a1a1a;
	box-shadow: 0 18px 36px rgba(0,0,0,.16);
	border-top: 1px solid #e5e7eb;
	z-index: 200;
	max-height: calc(100vh - 200px);
	overflow-y: auto;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity var(--oz-h-trans), transform var(--oz-h-trans), visibility var(--oz-h-trans);
}
.jym-megamenu.is-open,
.jym-megamenu:not([hidden]) {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.jym-megamenu__inner {
	max-width: 1440px;
	margin: 0 auto;
	padding: 28px 24px 32px;
}

.jym-megamenu__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	padding-bottom: 16px;
	margin-bottom: 20px;
	border-bottom: 1px solid #e5e7eb;
}
.jym-megamenu__title {
	margin: 0;
	font-size: 20px;
	font-weight: 800;
	color: #0f172a;
	letter-spacing: .01em;
}
.jym-megamenu__view-all {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 700;
	color: var(--oz-h-cat-hover);
	text-decoration: none;
	white-space: nowrap;
}
.jym-megamenu__view-all:hover { text-decoration: underline; }
.jym-megamenu__view-all span { transition: transform var(--oz-h-trans); display: inline-block; }
.jym-megamenu__view-all:hover span { transform: translateX(3px); }

.jym-megamenu__columns {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 24px 28px;
}
.jym-megamenu__column {
	min-width: 0;
}
.jym-megamenu__column-title {
	display: block;
	font-size: 14px;
	font-weight: 800;
	color: #0f172a;
	margin-bottom: 10px;
	padding-bottom: 8px;
	border-bottom: 2px solid #f1f5f9;
	text-decoration: none;
	transition: color var(--oz-h-trans), border-color var(--oz-h-trans);
}
.jym-megamenu__column-title:hover {
	color: var(--oz-h-cat-hover);
	border-bottom-color: var(--oz-h-cat-hover);
}
.jym-megamenu__sublist {
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.jym-megamenu__sublist a {
	display: block;
	padding: 6px 0;
	font-size: 13.5px;
	color: #334155;
	text-decoration: none;
	line-height: 1.35;
	transition: color var(--oz-h-trans), padding-left var(--oz-h-trans);
}
.jym-megamenu__sublist a:hover {
	color: var(--oz-h-cat-hover);
	padding-left: 4px;
}

/* Trigger marcado como activo */
.oz-header__cat-trigger[aria-expanded="true"] {
	color: var(--oz-h-cat-hover);
	background: rgba(255,255,255,.04);
}

/* ---- Menú principal ---- */
.oz-header__nav {
	margin-left: auto;
	flex: 0 0 auto;
}
.oz-header__nav-list {
	display: flex;
	align-items: center;
	gap: 22px;
}
.oz-header__nav-list li { position: relative; }
.oz-header__nav-list a {
	display: inline-block;
	padding: 14px 0;
	color: #fff;
	font-size: 14px;
	font-weight: 500;
	transition: color var(--oz-h-trans);
	white-space: nowrap;
}
.oz-header__nav-list a:hover,
.oz-header__nav-list .current-menu-item > a,
.oz-header__nav-list a[aria-current="page"] {
	color: var(--oz-h-cat-color);
}

/* Submenús del menú principal (si existieran) */
.oz-header__nav-list .sub-menu {
	position: absolute;
	top: 100%;
	right: 0;
	min-width: 200px;
	background: #fff;
	color: #1a1a1a;
	box-shadow: 0 10px 22px rgba(0,0,0,.18);
	border-radius: 0 0 var(--oz-h-radius) var(--oz-h-radius);
	padding: 6px 0;
	display: none;
	z-index: 200;
}
.oz-header__nav-list li:hover > .sub-menu,
.oz-header__nav-list li:focus-within > .sub-menu { display: block; }
.oz-header__nav-list .sub-menu a {
	display: block;
	color: #1a1a1a;
	padding: 8px 16px;
	font-weight: 500;
}
.oz-header__nav-list .sub-menu a:hover {
	background: #f1f5f9;
	color: var(--oz-h-cat-hover);
}

/* =========================================================
 *  DRAWER (menú móvil + libreta)
 * ========================================================= */
.oz-drawer { position: fixed; inset: 0; z-index: 1000; }
.oz-drawer[hidden] { display: none; }

.oz-drawer__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,.5);
	opacity: 0;
	transition: opacity var(--oz-h-trans);
}
.oz-drawer.is-open .oz-drawer__backdrop { opacity: 1; }

.oz-drawer__panel {
	position: absolute;
	top: 0;
	bottom: 0;
	width: min(360px, 92vw);
	background: #fff;
	color: #1a1a1a;
	box-shadow: 0 0 30px rgba(0,0,0,.25);
	transition: transform var(--oz-h-trans);
	display: flex;
	flex-direction: column;
}
.oz-drawer__panel--left  { left: 0;  transform: translateX(-100%); }
.oz-drawer__panel--right { right: 0; transform: translateX(100%); }

.oz-drawer.is-open .oz-drawer__panel { transform: translateX(0); }

.oz-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 18px;
	border-bottom: 1px solid #e5e7eb;
}
.oz-drawer__title {
	font-size: 16px;
	font-weight: 700;
}
.oz-drawer__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 8px;
}
.oz-drawer__close:hover { background: #f1f3f5; }

.oz-drawer__body {
	padding: 16px 18px 24px;
	overflow-y: auto;
	flex: 1 1 auto;
}

.oz-drawer__section + .oz-drawer__section { margin-top: 24px; }
.oz-drawer__section-title {
	font-size: 11px;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #64748b;
	margin: 0 0 10px;
	font-weight: 700;
}

/* Categorías del drawer (acordeón) */
.oz-drawer__cats { display: flex; flex-direction: column; }
.oz-drawer__cat { border-bottom: 1px solid #f1f5f9; }
.oz-drawer__cat-trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: 100%;
	padding: 12px 4px;
	color: #1a1a1a;
	font-weight: 600;
	font-size: 15px;
	text-align: left;
}
.oz-drawer__cat-trigger--link { display: flex; }
.oz-drawer__cat-trigger:hover { color: var(--oz-h-cat-hover); }
.oz-drawer__cat-caret { transition: transform var(--oz-h-trans); flex: 0 0 auto; }
.oz-drawer__cat-trigger[aria-expanded="true"] .oz-drawer__cat-caret { transform: rotate(180deg); }

.oz-drawer__cat-sublist {
	padding: 4px 0 10px;
}
.oz-drawer__cat-sublist > a,
.oz-drawer__cat-all {
	display: block;
	padding: 9px 12px;
	color: var(--oz-h-cat-hover) !important;
	font-size: 13px;
	font-weight: 700;
	border-radius: 6px;
	text-transform: uppercase;
	letter-spacing: .04em;
}
.oz-drawer__cat-sublist > a:hover,
.oz-drawer__cat-all:hover { background: #f1f5f9; }

/* ===== Acordeón móvil L2 → L3 ===== */
.jym-mobile-menu__l2-list {
	display: flex;
	flex-direction: column;
	margin: 4px 0 0;
}
.jym-mobile-menu__l2 {
	border-top: 1px solid #f1f5f9;
}
.jym-mobile-menu__l2:first-child { border-top: none; }

.jym-mobile-menu__l2-trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: 100%;
	padding: 11px 12px;
	color: #1f2937;
	font-weight: 600;
	font-size: 14px;
	text-align: left;
	background: none;
	border: none;
	cursor: pointer;
	text-decoration: none;
	border-radius: 6px;
	transition: background-color var(--oz-h-trans);
}
.jym-mobile-menu__l2-trigger:hover { background: #f1f5f9; }
.jym-mobile-menu__l2-trigger svg { transition: transform var(--oz-h-trans); flex: 0 0 auto; }
.jym-mobile-menu__l2-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }

.jym-mobile-menu__l3-list {
	display: flex;
	flex-direction: column;
	padding: 4px 0 8px;
	margin-left: 12px;
	border-left: 2px solid #e5e7eb;
}
.jym-mobile-menu__l3-list li { padding: 0; }
.jym-mobile-menu__l3-list a {
	display: block;
	padding: 8px 12px;
	color: #475569;
	font-size: 13.5px;
	border-radius: 6px;
	text-decoration: none;
}
.jym-mobile-menu__l3-list a:hover { background: #f1f5f9; color: var(--oz-h-cat-hover); }
.jym-mobile-menu__l2-all { font-weight: 700; color: var(--oz-h-cat-hover) !important; }

/* Menú principal en drawer */
.oz-drawer__nav-list {
	display: flex;
	flex-direction: column;
}
.oz-drawer__nav-list li { border-bottom: 1px solid #f1f5f9; }
.oz-drawer__nav-list a {
	display: block;
	padding: 12px 4px;
	color: #1a1a1a;
	font-weight: 500;
	font-size: 15px;
}
.oz-drawer__nav-list a:hover { color: var(--oz-h-cat-hover); }
.oz-drawer__nav-list .sub-menu {
	display: block;
	margin: 4px 0 8px;
	padding-left: 12px;
}
.oz-drawer__nav-list .sub-menu a {
	padding: 8px 4px;
	color: #475569;
	font-size: 14px;
}

.oz-drawer__quote {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 24px;
	padding: 14px;
	background: var(--oz-h-accent);
	color: #fff !important;
	border-radius: 999px;
	font-weight: 700;
}
.oz-drawer__quote:hover { background: var(--oz-h-accent-hover); }

/* Libreta (panel de contacto) */
.oz-notebook__empty { color: #64748b; font-size: 14px; }
.oz-notebook__item {
	display: flex;
	gap: 12px;
	padding: 14px 0;
	border-bottom: 1px solid #f1f5f9;
}
.oz-notebook__item:last-child { border-bottom: none; }
.oz-notebook__icon {
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #ecfdf5;
	color: #15803d;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.oz-notebook__body h4 {
	margin: 0 0 4px;
	font-size: 13px;
	color: #64748b;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .08em;
}
.oz-notebook__body p {
	margin: 0;
	font-size: 14px;
	color: #1a1a1a;
	line-height: 1.5;
	word-wrap: break-word;
}
.oz-notebook__body a { color: #15803d; }
.oz-notebook__body a:hover { text-decoration: underline; }

/* Bloqueo de scroll cuando un drawer está abierto */
body.oz-drawer-open { overflow: hidden; }

/* Live search panel — encajar con el nuevo input redondeado */
.oz-header__search .oz-ls__panel {
	left: 0;
	right: 0;
	top: calc(100% + 6px);
	border-radius: 12px;
}

/* =========================================================
 *  MEDIA QUERIES
 * ========================================================= */

/* ≥ 768px (tablet): el buscador ya cabe en línea */
@media (min-width: 768px) {
	.oz-header__top .oz-header__container {
		min-height: 80px;
		gap: 16px;
	}
	.oz-header__logo img { height: 54px; }
	.oz-header__quote-text { display: inline; }
	.oz-header__quote { padding: 11px 18px; }
}

/* ≥ 1024px (laptop): aparece la barra inferior y se oculta la hamburguesa */
@media (min-width: 1024px) {
	.oz-header__hamburger { display: none; }
	.oz-header__bottom { display: block; }
	.oz-header__top .oz-header__container { flex-wrap: nowrap; gap: 24px; }
	.oz-header__logo img { height: 60px; }
	.oz-header__search {
		order: 0;
		flex: 1 1 auto;
		min-width: 240px;
		max-width: 600px;
	}
}

/* ≥ 1280px (desktop): un poco más holgado */
@media (min-width: 1280px) {
	.oz-header__top .oz-header__container { padding: 0 24px; }
	.oz-header__bottom .oz-header__container { padding: 0 24px; }
	.oz-header__logo img { height: 64px; }
	.oz-header__nav-list { gap: 28px; }
	.oz-header__nav-list a { font-size: 15px; }
	.oz-header__cat-trigger { font-size: 15px; padding: 14px 16px; }
}

/* Pantallas muy pequeñas (≤360px): compactar el botón de cotizar */
@media (max-width: 380px) {
	.oz-header__quote { padding: 9px 10px; }
	.oz-header__quote-icon { width: 18px; height: 18px; }
	.oz-header__notebook-btn { width: 40px; height: 40px; }
	.oz-header__hamburger { width: 36px; height: 36px; }
	.oz-header__logo img { height: 38px; }
}

/* Reduce-motion */
@media (prefers-reduced-motion: reduce) {
	.oz-drawer__panel,
	.oz-drawer__backdrop,
	.jym-megamenu,
	.oz-header__cat-caret,
	.oz-drawer__cat-caret,
	.jym-mobile-menu__l2-trigger svg,
	.oz-header__quote,
	.oz-header__notebook-btn,
	.oz-header__nav-list > li > a::after { transition: none !important; }
}

/* =========================================================
 *  Mejora visual: cabecera verde + acentos naranja
 * ========================================================= */

/* Logo sobre bloque blanco. Móvil: tarjeta; escritorio: bloque a sangre. */
.oz-header__logo {
	background: #ffffff;
	border-radius: 10px;
	padding: 10px 22px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .14);
	max-width: 58%;
}
@media (min-width: 768px) {
	.oz-header__logo {
		align-self: stretch;
		display: flex;
		align-items: center;
		max-width: none;
		border-radius: 0;
		box-shadow: 2px 0 12px rgba(0, 0, 0, .10);
		margin: -10px 22px -10px -16px;   /* rellena el padding vertical y sangra al borde izquierdo */
		padding: 10px 46px;               /* más aire alrededor del logo */
	}
}
@media (min-width: 1280px) {
	.oz-header__logo {
		margin: 0 22px 0 -24px;           /* a ≥1280 el contenedor usa padding 0 24px */
	}
}

/* Botón "Categorías" (barra inferior, escritorio).
   Especificidad .oz-header … para ganar a «.oz-header button { padding:0 }». */
.oz-header .oz-header__cats-toggle {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 11px 20px;
	border: 1px solid rgba(255, 255, 255, .55);
	border-radius: 8px;
	background: rgba(255, 255, 255, .12);
	color: #ffffff;
	font-weight: 700;
	font-size: 14.5px;
	line-height: 1;
	letter-spacing: .01em;
	white-space: nowrap;
	transition: background-color var(--oz-h-trans), border-color var(--oz-h-trans), box-shadow var(--oz-h-trans);
}
.oz-header .oz-header__cats-toggle:hover,
.oz-header .oz-header__cats-toggle[aria-expanded="true"] {
	background: #ff9800;
	border-color: #ff9800;
	box-shadow: 0 4px 14px rgba(255, 152, 0, .32);
}
.oz-header__cats-toggle-icon { flex: 0 0 auto; }

/* Sección "Navegación" del panel lateral: enlaces consistentes con las categorías */
.oz-drawer__nav-list li { border-bottom: 1px solid #eef1f4; }
.oz-drawer__nav-list li:last-child { border-bottom: none; }
.oz-drawer__nav-list a {
	padding: 13px 10px;
	border-radius: 8px;
	font-weight: 600;
	font-size: 14.5px;
	color: #1f2937;
	transition: background-color var(--oz-h-trans), color var(--oz-h-trans);
}
.oz-drawer__nav-list a:hover {
	background: #f1f7f3;
	color: #136130;
}

/* Botón "Obtenga una cotización" del panel (naranja, destacado) */
.oz-drawer__quote {
	margin-top: 22px;
	padding: 15px 18px;
	font-size: 15px;
	box-shadow: 0 6px 16px rgba(255, 152, 0, .28);
	transition: background-color var(--oz-h-trans), transform var(--oz-h-trans), box-shadow var(--oz-h-trans);
}
.oz-drawer__quote:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 20px rgba(255, 152, 0, .36);
}

/* Costura sutil entre barra superior e inferior (ambas verdes) */
.oz-header__top {
	border-bottom: 1px solid rgba(255, 255, 255, .10);
}

/* Hamburguesa + libreta sobre verde */
.oz-header__hamburger:hover { background: rgba(255, 255, 255, .14); }
.oz-header__notebook-btn {
	background: rgba(255, 255, 255, .14);
	color: #ffffff;
}
.oz-header__notebook-btn:hover { background: rgba(255, 255, 255, .24); }

/* Buscador blanco nítido sobre verde */
.oz-header__search .ozpls-figma__form {
	border-color: transparent !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
}

/* Categoría activa con leve realce sobre verde */
.oz-header__cat-trigger[aria-expanded="true"] {
	background: rgba(255, 255, 255, .10);
	border-radius: 8px;
}

/* Menú principal: subrayado naranja en hover / ítem activo (como la imagen) */
.oz-header__nav-list > li > a {
	position: relative;
}
.oz-header__nav-list > li > a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 6px;
	height: 3px;
	border-radius: 2px;
	background: var(--oz-h-active);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform var(--oz-h-trans);
}
.oz-header__nav-list > li > a:hover::after,
.oz-header__nav-list > li.current-menu-item > a::after,
.oz-header__nav-list > li.current_page_item > a::after,
.oz-header__nav-list > li.current-menu-ancestor > a::after,
.oz-header__nav-list > li > a[aria-current="page"]::after {
	transform: scaleX(1);
}

/* =========================================================
 *  Panel lateral (drawer) — diseño mejorado
 * ========================================================= */
.oz-drawer__panel { width: min(384px, 90vw); }

/* Cabecera verde de marca (categorías y libreta) */
.oz-drawer__head {
	background: linear-gradient(180deg, #1a7d40 0%, #136130 100%);
	color: #ffffff;
	border-bottom: none;
	padding: 16px 18px;
}
.oz-drawer__title { color: #ffffff; font-size: 17px; letter-spacing: .01em; }
.oz-drawer__close { color: #ffffff; }
.oz-drawer__close:hover { background: rgba(255, 255, 255, .18); }

/* Cuerpo: scroll fino */
.oz-drawer__body {
	scrollbar-width: thin;
	scrollbar-color: #cbd5e1 transparent;
}
.oz-drawer__body::-webkit-scrollbar { width: 8px; }
.oz-drawer__body::-webkit-scrollbar-thumb { background: #d4d9de; border-radius: 8px; }

/* Título de sección "Categorías / Navegación" */
.oz-drawer__section-title {
	color: #136130;
	font-size: 12px;
	letter-spacing: .1em;
}

/* Acordeón de categorías (nivel 1) */
.oz-drawer__cat { border-bottom: 1px solid #eef1f4; }
.oz-drawer__cat:last-child { border-bottom: none; }
.oz-drawer__cat-trigger {
	padding: 13px 10px;
	border-radius: 8px;
	font-size: 14.5px;
	font-weight: 600;
	color: #1f2937;
	transition: background-color var(--oz-h-trans), color var(--oz-h-trans);
}
.oz-drawer__cat-trigger:hover,
.oz-drawer__cat-trigger[aria-expanded="true"] {
	background: #f1f7f3;
	color: #136130;
}
.oz-drawer__cat-caret {
	color: #9aa3a8;
	transition: transform var(--oz-h-trans), color var(--oz-h-trans);
}
.oz-drawer__cat-trigger[aria-expanded="true"] .oz-drawer__cat-caret { color: #136130; }

/* Sub-niveles con fondo suave para marcar jerarquía */
.oz-drawer__cat-sublist {
	background: #f8fafb;
	border-radius: 8px;
	padding: 6px 6px 10px;
	margin: 2px 0 8px;
}

/* "Ver todo en…" y enlaces de nivel: acento naranja */
.oz-drawer__cat-all,
.jym-mobile-menu__l2-all {
	color: #ff9800 !important;
}
.oz-drawer__cat-all:hover { background: #fff5e9; }

.jym-mobile-menu__l2-trigger:hover,
.jym-mobile-menu__l3-list a:hover {
	background: #eef3ef;
	color: #136130;
}
.jym-mobile-menu__l3-list { border-left-color: #cfe3d6; }

/* Uniformar disparadores de categorías del panel: <button> (con subcategoría) y
   <a> (sin subcategoría) deben verse idénticos. Sube la especificidad para anular
   el reset «.oz-header button { padding:0 }» que aplastaba solo a los <button>. */
.oz-drawer .oz-drawer__cat-trigger {
	padding: 13px 10px;
}
.oz-drawer .jym-mobile-menu__l2-trigger {
	padding: 11px 12px;
}

/* =========================================================
 *  Acciones del header: número (PC) · botón Menú (móvil) · cotizar
 * ========================================================= */

/* Número de contacto — solo escritorio */
.oz-header__phone {
	display: none;
	align-items: center;
	gap: 8px;
	color: #ffffff;
	font-size: 14px;
	white-space: nowrap;
	flex: 0 0 auto;
	transition: color var(--oz-h-trans);
}
.oz-header__phone-icon { flex: 0 0 auto; }
.oz-header__phone-text strong { font-weight: 700; }
.oz-header__phone:hover { color: #ffd9a8; }

/* Botón "Menú" (móvil/tablet) — mismo estilo que el botón Categorías.
   Especificidad .oz-header … para ganar a «.oz-header button { padding:0 }». */
.oz-header .oz-header__menu-btn {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 10px 14px;
	border: 1px solid rgba(255, 255, 255, .5);
	border-radius: 8px;
	background: rgba(255, 255, 255, .12);
	color: #ffffff;
	font-weight: 700;
	font-size: 14px;
	line-height: 1;
	flex: 0 0 auto;
	transition: background-color var(--oz-h-trans), border-color var(--oz-h-trans);
}
.oz-header .oz-header__menu-btn:hover,
.oz-header .oz-header__menu-btn[aria-expanded="true"] {
	background: #ff9800;
	border-color: #ff9800;
}
.oz-header__menu-btn-text { display: none; }

.oz-header__quote-icon { flex: 0 0 auto; }

/* Responsive de las acciones */
@media (min-width: 768px) {
	.oz-header__menu-btn-text { display: inline; }
}
@media (min-width: 1024px) {
	.oz-header__phone { display: inline-flex; }          /* número solo en escritorio */
	.oz-header .oz-header__menu-btn { display: none; }   /* el menú vive en la barra inferior */
}
