/* =========================================================
 * Header OZ-Thema-4.0 — rediseño Wellpro
 * Bloque 0: info bar naranja (envíos + contacto)
 * Bloque 1: barra principal negra (logo + menú + buscador + carrito)
 * Bloque 2: barra de categorías (dropdown CATEGORÍAS + enlaces L1)
 * Mobile-first, responsive ≥768 / ≥1024 / ≥1280
 * ========================================================= */

:root {
	--oz-orange:        #f15a00;        /* naranja principal */
	--oz-orange-hover:  #d34e00;
	--oz-h-bg-main:     #0b0b0b;        /* barra principal (negra) */
	--oz-h-bg-cats:     #232323;        /* barra de categorías (gris oscuro) */
	--oz-h-text:        #ffffff;
	--oz-h-search-bg:   #ffffff;
	--oz-h-search-text: #1a1a1a;
	--oz-h-divider:     rgba(255,255,255,.14);
	--oz-h-radius:      8px;
	--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 {
	--oz-topbar-h: 38px;        /* alto de la franja naranja (bloque 0) */
	position: sticky;
	top: calc(-1 * var(--oz-topbar-h));  /* la franja se va; bloques 1+2 quedan fijos arriba */
	z-index: 999;
}
/* Compensa la barra de admin de WordPress (solo escritorio, logado) */
@media screen and (min-width: 783px) {
	body.admin-bar .oz-header { top: calc(32px - var(--oz-topbar-h)); }
}

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

/* =========================================================
 *  BLOQUE 0: info bar naranja
 * ========================================================= */
.oz-header__topbar {
	background: var(--oz-orange);
	color: #fff;
	font-size: 15px;
}
/* Asegura texto blanco en toda la franja (evita overrides/caché) */
.oz-header__topbar,
.oz-header__topbar a,
.oz-header__topbar .oz-header__ticker-item,
.oz-header__topbar .oz-header__ticker-item span,
.oz-header__topbar .oz-header__info,
.oz-header__topbar .oz-header__info a,
.oz-header__topbar .oz-header__info span { color: #000000 !important; }
.oz-header__topbar .oz-header__info-icon { color: #000000 !important; }
.oz-header__topbar-inner {
	display: grid;
	grid-template-columns: 1fr auto auto;
	align-items: center;
	gap: 24px;
	min-height: 38px;
}
.oz-header__info {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	white-space: nowrap;
	line-height: 1.3;
}
.oz-header__info--email { justify-self: end; }
.oz-header__info--phone::before,
.oz-header__info--email::before {
	content: "";
	flex: 0 0 auto;
	width: 1px;
	height: 22px;
	margin-right: 22px;
	background: rgba(255, 255, 255, .4);
}
.oz-header__info a { color: #fff; }
.oz-header__info a:hover { text-decoration: underline; }
.oz-header__info-icon { flex: 0 0 auto; opacity: .95; }

/* ---- Marquee (ticker) de envíos: desplaza los mensajes de forma continua ---- */
.oz-header__ticker {
	min-width: 0;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(to right, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
	        mask-image: linear-gradient(to right, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
}
.oz-header__ticker-track {
	display: inline-flex;
	align-items: center;
	white-space: nowrap;
	will-change: transform;
	animation: oz-ticker 26s linear infinite reverse;
}
.oz-header__ticker:hover .oz-header__ticker-track { animation-play-state: paused; }
.oz-header__ticker-group {
	display: inline-flex;
	align-items: center;
	padding-right: 110px;   /* espacio entre cada repetición */
}
.oz-header__ticker-item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	line-height: 1.3;
}
/* separador "|" solo ENTRE mensajes del mismo grupo (no al final) */
.oz-header__ticker-item:not(:last-child)::after {
	content: "|";
	margin: 0 30px;
	opacity: .5;
	font-weight: 400;
}
@keyframes oz-ticker {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}

/* =========================================================
 *  BLOQUE 1: barra principal (negra)
 * ========================================================= */
.oz-header__main {
	background: var(--oz-h-bg-main);
	color: var(--oz-h-text);
	padding: 1.5rem;
}
.oz-header__main .oz-header__container {
	min-height: 78px;
	padding-top: 10px;
	padding-bottom: 10px;
	gap: 14px;
	flex-wrap: wrap;
}

/* Hamburguesa (móvil/tablet) */
.oz-header__hamburger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 8px;
	color: #fff;
	flex: 0 0 auto;
}
.oz-header__hamburger:hover { background: rgba(255,255,255,.08); }

.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: 55%;
}
.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.4rem;
	color: #fff;
}

/* Menú principal (desktop) */
.oz-header__nav { display: none; flex: 0 0 auto; }
.oz-header__nav-list {
	display: flex;
	align-items: center;
}
.oz-header__nav-list li {
	position: relative;
	display: flex;
	align-items: center;
}
/* separadores naranja entre ítems */
.oz-header__nav-list li + li::before {
	content: "";
	width: 1px;
	height: 16px;
	background: var(--oz-orange);
	margin: 0 4px;
	flex: 0 0 auto;
}
.oz-header__nav-list a {
	display: inline-block;
	padding: 8px 10px !important;
	color: #fff;
	font-size: 16px !important;
	font-weight: 600;
	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 .current_page_item > a,
.oz-header__nav-list a[aria-current="page"] {
	color: var(--oz-orange);
} */

/* Submenús del menú principal (si existieran) */
.oz-header__nav-list .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 210px;
	background: #fff;
	color: #1a1a1a;
	box-shadow: 0 12px 26px rgba(0,0,0,.2);
	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 li::before { display: none; }
.oz-header__nav-list .sub-menu a {
	display: block;
	color: #1a1a1a;
	padding: 9px 16px;
	font-weight: 500;
}
.oz-header__nav-list .sub-menu a:hover { background: #f5f5f5; color: var(--oz-orange); }

/* 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: none !important;
	border-radius: 12px !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: #fff !important;
	max-width: 200px !important;
	border: none !important;
	color: var(--oz-h-search-text) !important;
	-webkit-text-fill-color: var(--oz-h-search-text) !important;
	border-radius: 12px 0 0 12px !important;
	padding: 0 64px 0 18px !important;
	font-size: 14px !important;
	box-sizing: border-box !important;
	outline: none !important;
	box-shadow: none !important;
	margin: 0 !important;
	height: 50px !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;
}
/* botón naranja cuadrado de búsqueda */
.oz-header__search .ozpls-figma__btn {
	position: absolute !important;
	right: 0 !important;
	top: 0 !important;
	bottom: 0 !important;
	height: 50px !important;
	width: 56px !important;
	background: var(--oz-orange) !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: 0 12px 12px 0 !important;
	transition: background-color var(--oz-h-trans) !important;
}
.oz-header__search .ozpls-figma__btn:hover { background: var(--oz-orange-hover) !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: 20px;
	height: 20px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.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;
}
/* Con texto escrito: el botón muestra una "X" (limpiar) en vez de la lupa */
.oz-header__search .ozpls-figma__form:has(.ozpls-figma__input:not(:placeholder-shown)) .ozpls-figma__btn::after {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E");
}
/* Oculta la "X" nativa del input type=search (dejamos solo la del botón) */
.oz-header__search .ozpls-figma__input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; display: none; }

/* Carrito */
.oz-header__cart {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	border: 2px solid var(--oz-orange);
	color: var(--oz-orange);
	border-radius: 8px;
	flex: 0 0 auto;
	margin-left: auto;
	transition: background-color var(--oz-h-trans), color var(--oz-h-trans);
}
/* .oz-header__cart:hover { background: var(--oz-orange); color: #fff; } */
.oz-header__cart svg { stroke: #fe6601; }
.oz-header__cart-count {
	position: absolute;
	top: -8px;
	right: -8px;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--oz-orange);
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	line-height: 20px;
	text-align: center;
}
.oz-header__cart:hover .oz-header__cart-count {
	background: #fff;
	color: var(--oz-orange);
}

/* =========================================================
 *  BLOQUE 2: barra de categorías
 * ========================================================= */
.oz-header__bottom {
	display: none;                  /* en móvil se oculta; va al drawer */
	position: relative;             /* anclaje del megamenú */
	background: var(--oz-h-bg-cats);
	color: #fff;
}
.oz-header__bottom .oz-header__container {
	min-height: 52px;
	gap: 0;
}

/* Botón "CATEGORÍAS" + dropdown vertical */
.oz-header__allcats-wrap {
	position: relative;
	flex: 0 0 auto;
	margin-right: 26px;
}
.oz-header__allcats {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 15px 22px 15px 0;
	color: var(--oz-orange);
	font-weight: 800;
	font-size: 15px;
	letter-spacing: .03em;
	white-space: nowrap;
	line-height: 1;
}
.oz-header__allcats-bars {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	object-fit: contain;
	display: block;
}
.oz-header__allcats .oz-header__cat-caret { transition: transform var(--oz-h-trans); }
.oz-header__allcats[aria-expanded="true"] .oz-header__cat-caret { transform: rotate(180deg); }

/* Enlaces directos a categorías L1 */
.oz-header__cats { flex: 1 1 auto; min-width: 0; }
.oz-header__cats-list {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 4px 26px;
}
.oz-header__cat-link,
.oz-header__cats-list .menu-item > a {
	display: inline-block;
	padding: 15px 0;
	color: #fff;
	font-family:"roboto";
	font-size: 17.5px;
	/* font-weight: 600; */
	line-height: 1;
	white-space: nowrap;
	transition: color var(--oz-h-trans);
}
/* .oz-header__cat-link:hover,
.oz-header__cats-list .menu-item > a:hover,
.oz-header__cats-list .current-menu-item > a {
	color: var(--oz-orange);
} */

/* =========================================================
 *  MEGAMENÚ (desktop, full-width) — panel "Todas las categorías"
 * ========================================================= */
.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: 3px solid var(--oz-orange);
	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);
}

/* =========================================================
 *  Dropdown vertical "CATEGORÍAS" (lista + acordeón)
 * ========================================================= */
.jym-megamenu.oz-catsdrop {
	left: 0;
	right: auto;
	width: 300px;
	max-width: calc(100vw - 32px);
	max-height: min(70vh, 540px);
	border-radius: 0 0 10px 10px;
}
.oz-catsdrop__list { padding: 6px 0; }
.oz-catsdrop__item + .oz-catsdrop__item { border-top: 1px solid #f1f1f1; }

/* Selector con doble clase (.oz-catsdrop .oz-catsdrop__row) para ganar
   en especificidad al reset global ".oz-header button" (font/padding),
   de modo que las filas <button> con hijos se vean igual que los <a>. */
.oz-catsdrop .oz-catsdrop__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: 100%;
	padding: 12px 18px;
	color: #1a1a1a;
	font-weight: 700;
	font-size: 14px;
	text-align: left;
	background: none;
	border: none;
	cursor: pointer;
	line-height: 1.25;
	transition: background-color .15s ease, color .15s ease;
}
.oz-catsdrop__row:hover { background: #f7f7f7; color: var(--oz-orange); }
.oz-catsdrop__caret { flex: 0 0 auto; transition: transform .2s ease; }
.oz-catsdrop__row[aria-expanded="true"] { color: var(--oz-orange); }
.oz-catsdrop__row[aria-expanded="true"] .oz-catsdrop__caret { transform: rotate(180deg); }

.oz-catsdrop__sub {
	padding: 2px 0 8px;
	background: #fafafa;
}
.oz-catsdrop__sub a {
	display: block;
	padding: 8px 18px 8px 30px;
	font-size: 13.5px;
	color: #475569;
	line-height: 1.35;
	transition: color .15s ease, background-color .15s ease;
}
.oz-catsdrop__sub a:hover { color: var(--oz-orange); background: #f1f1f1; }
.oz-catsdrop__all { font-weight: 700; color: var(--oz-orange) !important; }

.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-orange);
	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;
	transition: color var(--oz-h-trans), border-color var(--oz-h-trans);
}
.jym-megamenu__column-title:hover {
	color: var(--oz-orange);
	border-bottom-color: var(--oz-orange);
}
.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;
	line-height: 1.35;
	transition: color var(--oz-h-trans), padding-left var(--oz-h-trans);
}
.jym-megamenu__sublist a:hover {
	color: var(--oz-orange);
	padding-left: 4px;
}

/* =========================================================
 *  DRAWER (menú móvil)
 * ========================================================= */
.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;
	display: flex;
	flex-direction: column;
	gap: 24px;
}
/* Orden en el drawer: 1) Menú principal, 2) Categorías, 3) Carrito */
.oz-drawer__body .oz-drawer__section { margin-top: 0; }
.oz-drawer__body .oz-drawer__section:not(.jym-mobile-menu) { order: 1; }
.oz-drawer__body .jym-mobile-menu { order: 2; }
.oz-drawer__body .oz-drawer__quote { order: 3; margin-top: 0; }
/* En ≥1024 las categorías ya están en la barra inferior → el drawer muestra solo el menú */
@media (min-width: 1024px) {
	#oz-mobile-drawer .jym-mobile-menu { display: none; }
}
.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-orange); }
.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-orange) !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;
	border-radius: 6px;
	text-decoration: none;
	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;
}
.jym-mobile-menu__l3-list a:hover { background: #f1f5f9; color: var(--oz-orange); }
.jym-mobile-menu__l2-all { font-weight: 700; color: var(--oz-orange) !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-orange); }
.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;
	gap: 8px;
	margin-top: 24px;
	padding: 14px;
	background: var(--oz-orange);
	color: #fff !important;
	border-radius: 8px;
	font-weight: 700;
}
.oz-drawer__quote:hover { background: var(--oz-orange-hover); }
.oz-drawer__quote-count {
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	border-radius: 999px;
	background: #fff;
	color: var(--oz-orange);
	font-size: 12px;
	font-weight: 800;
	line-height: 22px;
	text-align: center;
}

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

/* Live search panel — encajar con el input cuadrado */
.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__main .oz-header__container {
		flex-wrap: nowrap;
		min-height: 84px;
		gap: 16px;
	}
	.oz-header__logo img { height: 52px; }
	.oz-header__search {
		order: 0;
		flex: 0 1 480px;       /* ancho base 480, puede encoger, no crece */
		min-width: 180px;      /* puede reducirse cuando falta espacio */
		margin-left: auto;     /* empuja a la derecha; se colapsa si no cabe */
	}
}

/* ≥ 1024px (tablet/laptop): aparece la barra de categorías.
   El menú principal sigue en la hamburguesa hasta 1280px (no cabe en línea). */
@media (min-width: 1024px) {
	.oz-header__bottom { display: block; }
	.oz-header__main .oz-header__container { gap: 22px; }
	.oz-header__logo img { height: 56px; }
	.oz-header__cart { margin-left: 0; }
}

/* ≥ 1280px (desktop): aparece el menú horizontal y se oculta la hamburguesa */
@media (min-width: 1280px) {
	.oz-header__hamburger { display: none; }
	.oz-header__nav { display: block; }
	.oz-header__main .oz-header__container { padding: 0 24px; }
	.oz-header__bottom .oz-header__container { padding: 0 24px; }
	.oz-header__topbar-inner { gap: 36px; }
	.oz-header__logo img { height: 60px; }
	.oz-header__search { flex-basis: 500px; }
	.oz-header__nav-list a { font-size: 15px; padding: 8px 16px; }
}

/* En móvil/tablet: solo el marquee; teléfono y email se ocultan */
@media (max-width: 767px) {
	.oz-header__topbar-inner { grid-template-columns: 1fr; }
	.oz-header__info--phone,
	.oz-header__info--email { display: none; }
}

/* Pantallas muy pequeñas (≤380px) */
@media (max-width: 380px) {
	.oz-header__cart { width: 44px; height: 44px; }
	.oz-header__hamburger { width: 38px; height: 38px; }
	.oz-header__logo img { height: 38px; }
	.oz-header__topbar { font-size: 12px; }
}

/* 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__cart,
	.oz-header__search .ozpls-figma__btn { transition: none !important; }
}
