/* =========================================================
 * 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:        #ffffff;
	--oz-h-bg-bottom:     #0d0d0d;
	--oz-h-text-top:      #1a1a1a;
	--oz-h-text-bottom:   #ffffff;
	--oz-h-accent:        #22c55e;        /* verde botón cotizar */
	--oz-h-accent-hover:  #16a34a;
	--oz-h-cat-color:     #22c55e;        /* texto categorías top-level */
	--oz-h-cat-hover:     #16a34a;
	--oz-h-search-bg:     #f1f3f5;
	--oz-h-search-text:   #1a1a1a;
	--oz-h-divider:       rgba(255,255,255,.12);
	--oz-h-shadow:        0 2px 6px rgba(0,0,0,.06);
	--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 {
	background: none;
	border: none;
	cursor: pointer;
	color: inherit;
	padding: 0;
	font: inherit;
}

/* ---------- 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 0: barra superior (correo + envío)
 * ========================================================= */
.oz-header__bar {
	background: var(--oz-h-bg-top);
	border-bottom: 1px solid #e5e7eb;
	color: var(--oz-h-text-top);
	font-size: 13px;
}
.oz-header__bar-inner {
	justify-content: space-between;
	min-height: 0;
	padding-top: 6px;
	padding-bottom: 6px;
	flex-wrap: wrap;
}
.oz-header__bar-item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: inherit;
	text-decoration: none;
	line-height: 1.3;
}
.oz-header__bar-email:hover { color: var(--oz-h-accent); }
.oz-header__bar-icon {
	flex: 0 0 auto;
	color: var(--oz-h-accent);
	display: block;
}

@media (max-width: 600px) {
	.oz-header__bar { font-size: 12px; }
	.oz-header__bar-inner { gap: 8px; }
}

/* =========================================================
 *  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: 8px;
	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); }

/* ---- Teléfonos + Tienda (reemplazo de cotizar/libreta en la top bar) ---- */
.oz-header__actions { gap: 24px; }

.oz-header__phone {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--oz-h-text-top);
	text-decoration: none;
	transition: opacity var(--oz-h-trans);
}
.oz-header__phone:hover { opacity: .85; }
.oz-header__phone-icon { flex: 0 0 auto; color: var(--oz-h-accent); }
.oz-header__phone-info { display: flex; flex-direction: column; line-height: 1.2; }
.oz-header__phone-label {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .04em;
	color: var(--oz-h-text-top);
	opacity: .75;
}
.oz-header__phone-numbers {
	font-size: 16px;
	font-weight: 800;
	color: var(--oz-h-text-top);
}

.oz-header__store {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	color: var(--oz-h-accent);
	text-decoration: none;
	transition: transform var(--oz-h-trans), opacity var(--oz-h-trans);
}
.oz-header__store:hover { transform: translateY(-1px); opacity: .9; }
.oz-header__store-icon { flex: 0 0 auto; }
.oz-header__store-label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .04em;
	color: var(--oz-h-text-top);
}

/* Pantallas pequeñas: deja sólo los iconos para ahorrar espacio */
@media (max-width: 600px) {
	.oz-header__actions { gap: 14px; }
	.oz-header__phone-info { display: none; }
}

/* =========================================================
 *  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 (mobile-first: se añade lo necesario al crecer)
 * ========================================================= */

/* Base móvil: sólo logo + hamburguesa + buscador.
   Las acciones (teléfonos/tienda) y la barra inferior se reservan para
   pantallas mayores / el menú lateral, para no recargar en móvil. */
.oz-header__actions    { display: none; }
.oz-header__phone-info { display: none; }

/* ≤ 600px: barra superior sólo con el correo, centrado */
@media (max-width: 600px) {
	.oz-header__bar-inner { font-size:10px;}
}

/* ≥ 768px (tablet): el buscador cabe en línea; acciones visibles (sólo iconos) */
@media (min-width: 768px) {
	.oz-header__top .oz-header__container {
		flex-wrap: nowrap;
		min-height: 80px;
		gap: 16px;
	}
	.oz-header__logo img { height: 54px; }
	.oz-header__search {
		order: 0;
		flex: 1 1 auto;
		max-width: none;
		min-width: 220px;
	}
	.oz-header__actions { display: flex; }
}

/* ≥ 1024px (laptop): aparece la barra inferior, se oculta la hamburguesa
   y los teléfonos muestran el texto completo */
@media (min-width: 1024px) {
	.oz-header__hamburger { display: none; }
	.oz-header__bottom { display: block; }
	.oz-header__bottom .oz-header__catmenu-toggle{background: var(--oz-menu-navy); padding: 0 22px;}
	.oz-header__top .oz-header__container { gap: 24px; }
	.oz-header__logo img { height: 60px; }
	.oz-header__search { max-width: 600px; }
	.oz-header__phone-info { display: flex; }
}

/* ≥ 1280px (desktop): un poco más holgado */
@media (min-width: 1280px) {
	.oz-header__top .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; }
}

/* ≤ 380px (móvil pequeño): compactar al mínimo */
@media (max-width: 380px) {
	.oz-header__hamburger { width: 36px; height: 36px; }
	.oz-header__logo img { height: 38px; }
	.oz-header__logo { max-width: 70%; }
	.oz-header__bar { font-size: 11px; }
}

/* 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 { transition: none !important; }
}


/* =========================================================
 *  BLOQUE INFERIOR reestructurado: Categorías + Menú + Atención
 * ========================================================= */
.oz-header__bottom {
	--oz-menu-green: #8cc63f;          /* franja verde del menú */
	--oz-menu-navy: #0a1a72;           /* cajas Categorías / Atención */
	--oz-menu-navy-hover: #0a1560;
	background: var(--oz-menu-green);
}
.oz-header__bottom .oz-header__container {
	gap: 0;
	align-items: stretch;
	min-height: 50px;
}

/* ---- Parte 1: botón Categorías + desplegable vertical ---- */
.oz-header__catmenu { position: relative; flex: 0 0 auto; display: flex; }
.oz-header__catmenu-toggle {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 50px;
	padding: 0 22px;
	background: var(--oz-menu-navy);
	color: #fff;
	border: 0;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	white-space: nowrap;
	transition: background-color var(--oz-h-trans);
}
.oz-header__catmenu-toggle:hover,
.oz-header__catmenu-bars { flex: 0 0 auto; }

.oz-header__catmenu-list {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 300;
	min-width: 280px;
	max-height: 75vh;
	overflow-y: auto;
	margin: 0;
	padding: 6px 0;
	list-style: none;
	background: #fff;
	color: #1a1a1a;
	border: 1px solid #e5e7eb;
	border-top: 0;
	box-shadow: 0 18px 36px rgba(0, 0, 0, .18);
}
.oz-header__catmenu-list[hidden] { display: none; }

.oz-header__catmenu-item { display: flex; flex-wrap: wrap; align-items: center; }
.oz-header__catmenu-link {
	flex: 1 1 auto;
	min-width: 0;
	padding: 10px 14px;
	color: #1a1a1a;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}
.oz-header__catmenu-link:hover { color: var(--oz-menu-navy); background: #f6f8fa; }

.oz-header__catmenu-expand {
	flex: 0 0 auto;
	align-self: stretch;
	width: 42px;
	border: 0;
	background: transparent !important;
	color: #6b7280;
	cursor: pointer;
}
.oz-header__catmenu-expand:hover { color: var(--oz-menu-navy); background: #f6f8fa; }
.oz-header__catmenu-expand svg { transition: transform var(--oz-h-trans); }
.oz-header__catmenu-expand[aria-expanded="true"] svg { transform: rotate(180deg); }

.oz-header__catmenu-sub {
	flex: 0 0 100%;
	margin: 0;
	padding: 2px 0 6px;
	list-style: none;
	background: #f6f8fa;
}
.oz-header__catmenu-sub[hidden] { display: none; }
.oz-header__catmenu-sub a {
	display: block;
	padding: 8px 14px 8px 30px;
	color: #334155;
	font-size: 13.5px;
	text-decoration: none;
}
.oz-header__catmenu-sub a:hover { color: var(--oz-menu-navy); }

/* ---- Parte 2: menú principal centrado sobre el verde ---- */
.oz-header__bottom .oz-header__nav {
	flex: 1 1 auto;
	margin: 0;
	display: flex;
	justify-content: center;
}
.oz-header__bottom .oz-header__nav-list { justify-content: center; flex-wrap: wrap; }
.oz-header__bottom .oz-header__nav-list a { color: #0e1b4d; font-weight: 700; padding: 14px 4px; }
.oz-header__bottom .oz-header__nav-list a:hover,
.oz-header__bottom .oz-header__nav-list .current-menu-item > a,
.oz-header__bottom .oz-header__nav-list a[aria-current="page"] { color: #ffffff; }

/* ---- Parte 3: Atención al Cliente ---- */
.oz-header__support { flex: 0 0 auto; display: flex; }
.oz-header__support-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 50px;
	padding: 0 22px;
	background: var(--oz-menu-navy);
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color var(--oz-h-trans);
}
.oz-header__support-link:hover { background: var(--oz-menu-navy-hover); }
.oz-header__support-icon { flex: 0 0 auto; }
