.oz-header {
	--oz-header-bg: #003a96;
	--oz-header-bg-strong: #003a75;
	--oz-header-bg-soft: rgba(255, 255, 255, 0.12);
	--oz-header-border: rgba(255, 255, 255, 0.14);
	--oz-header-text-soft: rgba(255, 255, 255, 0.8);
	--oz-header-search-text: #1a2f44;
	--oz-header-search-placeholder: #8898ab;
	--oz-header-button: #fbd303;
	--oz-header-button-hover: #ffe04d;
	--oz-header-accent: #e5a817;
	width: 100%;
	margin-left: 0;
	margin-right: 0;
	background: var(--oz-header-bg);
	color: #ffffff;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9999;
	transition: transform .3s ease;
}

body.admin-bar .oz-header {
	top: 32px;
}

@media screen and (max-width: 782px) {
	body.admin-bar .oz-header {
		top: 46px;
	}
}

.oz-header.header-hidden {
	transform: translateY(-100%);
}

.oz-header:focus-within {
	transform: translateY(0);
}

.oz-header .container {
	width: 100%;
	max-width: none;
	margin-left: 0;
	margin-right: 0;
	padding-left: var(--container-padding, 20px);
	padding-right: 0;
	box-sizing: border-box;
}

.oz-header a {
	color: inherit;
	text-decoration: none;
}

.oz-header a:hover {
	text-decoration: none;
}

.oz-header__inner {
	display: flex;
	align-items: stretch;
	gap: 0;
	min-width: 0;
	padding-top: 0;
	padding-bottom: 0;
}

.oz-header__brand {
	flex: 0 0 280px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem 2rem 1rem 1rem;
	min-width: 0;
	background: var(--oz-header-bg);
	border-right: 1px solid var(--oz-header-border);
}

.oz-header__logo,
.oz-header__logo a,
.oz-header__site-name {
	display: block;
	width: 100%;
}

.oz-header__logo img,
.oz-header__logo svg {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
	max-height: 86px;
	object-fit: contain;
}

.oz-header__site-name {
	font-family: var(--OZ-Font-Headings);
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.2;
}

.oz-header__center {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	min-width: 0;
	background: var(--oz-header-bg);
	border-left: 0;
	border-right: 0;
}

.oz-header__center-top,
.oz-header__center-bottom {
	display: flex;
	align-items: center;
	min-width: 0;
	padding-left: 1.15rem;
	padding-right: 1.15rem;
}

.oz-header__center-top {
	padding-top: 1.25rem;
	padding-bottom: 1.25rem;
	justify-content: space-between;
}

.oz-header__center-bottom {
	border-top: 1px solid var(--oz-header-border);
	padding: 0px 12px 3px 20px;
	gap: 0;
}

.oz-header__contact {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 3.5rem;
	flex: 0 0 auto;
	min-width: 0;
	margin-left: 20px;
}

.oz-header__contact-item {
	display: inline-flex;
	align-items: center;
	min-width: 0;
	color: #ffffff;
	line-height: 1;
}

.oz-header__contact-item + .oz-header__contact-item {
	padding-left: 0;
	border-left: 0;
}

.oz-header__contact-item:hover {
	color: #ffffff;
}

.oz-header__contact-icon-wrap {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	background: transparent;
	color: #ffffff;
}

.oz-header__contact-icon {
	display: block;
	width: 25px;
	height: 25px;
}

.oz-header__contact-copy {
	display: flex;
	flex-direction: column;
	min-width: 0;
	gap: 0.1rem;
}

.oz-header__contact-label {
	font-size: 0.65rem;
	font-weight: 500;
	letter-spacing: 0.02em;
	text-transform: none;
	opacity: 0.85;
}

.oz-header__contact-value {
	font-size: 0.95rem;
	font-weight: 700;
	color: #ffffff;
	white-space: nowrap;
}

.oz-header__tools {
	flex: 1 1 auto;
	display: flex;
	min-width: 0;
	width: 100%;
	max-width: min(520px, 100%);
	margin-left: auto;
}

@media (min-width: 768px) and (max-width: 1199px) {
	.oz-header__tools {
		max-width: min(340px, 46vw);
	}
}

@media (min-width: 1200px) and (max-width: 1599px) {
	.oz-header__tools {
		max-width: min(438px, 29vw);
	}
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVE VIEW (Max 767px)
   ========================================================================== */

.oz-header__mobile-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	background: transparent;
	border: 1px solid rgba(251, 211, 3, 0.75);
	border-radius: 10px;
	color: #FBD303;
	cursor: pointer;
	z-index: 1001;
	margin-left: auto;
}

.oz-header__mobile-meta-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid rgba(251, 211, 3, 0.75);
	border-radius: 10px;
	background: transparent;
	color: #FBD303;
	cursor: pointer;
}

.oz-header__mobile-meta-toggle svg {
	display: block;
	width: 22px;
	height: 22px;
}

.oz-header__mobile-toggle svg {
	display: block;
	width: 24px;
	height: 24px;
}

.oz-header__hamburger {
	position: relative;
	display: block;
	width: 24px;
	height: 2px;
	background-color: currentColor;
	transition: background-color 0.2s ease;
}

.oz-header__hamburger::before,
.oz-header__hamburger::after {
	content: '';
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	background-color: currentColor;
	transition: transform 0.2s ease, top 0.2s ease;
}

.oz-header__hamburger::before { top: -7px; }
.oz-header__hamburger::after { top: 7px; }

.oz-mobile-menu-open .oz-header__mobile-toggle .oz-header__hamburger {
	background-color: transparent;
}
.oz-mobile-menu-open .oz-header__mobile-toggle .oz-header__hamburger::before {
	top: 0;
	transform: rotate(45deg);
}
.oz-mobile-menu-open .oz-header__mobile-toggle .oz-header__hamburger::after {
	top: 0;
	transform: rotate(-45deg);
}

.oz-header__mobile-overlay {
	display: none;
}

.oz-header__mobile-meta-overlay {
	display: none;
}

.oz-header__mobile-meta-panel {
	display: none;
}

.oz-header__nav-wrapper {
	display: flex;
	flex: 1 1 auto;
	align-items: stretch;
	min-width: 0;
}

@media (max-width: 767px) {
	body.oz-mobile-menu-open {
		overflow: hidden; /* Evita scroll en el fondo al abrir el menú */
	}

	.oz-header__mobile-toggle {
		display: flex !important;
		margin-left: auto !important;
		order: 2 !important; /* Forzamos el menú hamburguesa a la derecha */
	}

	/* Overlay oscuro */
	.oz-header__mobile-overlay {
		display: block;
		position: fixed;
		top: 0; left: 0; right: 0; bottom: 0;
		background: rgba(0,0,0,0.6);
		z-index: 999;
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.3s ease, visibility 0.3s ease;
	}
	.oz-mobile-menu-open .oz-header__mobile-overlay {
		opacity: 1;
		visibility: visible;
	}

	/* Header Container */
	.oz-header__inner {
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		justify-content: space-between !important;
		align-items: center !important;
		padding: 10px 15px !important;
	}

	/* Logo Section */
	.oz-header__brand {
		flex: 0 1 auto !important;
		width: 100px !important;
		max-width: 100px !important;
		border: none !important;
		padding: 0 !important;
		margin: 0 !important;
		order: 1 !important; /* Forzamos el logo a estar a la izquierda */
	}

	.oz-header__logo,
	.oz-header__logo a {
		display: block !important;
		width: 140px !important;
		max-width: 140px !important;
	}

	.oz-header__logo img,
	.oz-header__logo svg {
		max-height: 60px !important; /* Reducción de altura del logo para evitar dos filas */
		width: 100% !important;
		max-width: 140px !important;
		object-fit: contain;
		margin: 0 !important;
	}

	/* Panel Lateral (Off-canvas) */
	.oz-header__nav-wrapper {
		position: fixed;
		top: 0;
		right: -100%;
		width: 85%;
		max-width: 400px;
		height: 100vh;
		height: 100dvh;
		background: var(--oz-header-bg);
		flex-direction: column;
		z-index: 1000;
		transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
		overflow-y: auto;
		display: flex;
		padding-top: 60px; /* Espacio superior para la X o margen */
		box-shadow: -5px 0 25px rgba(0,0,0,0.5);
	}
	
	.oz-mobile-menu-open .oz-header__nav-wrapper {
		right: 0;
	}

	/* Top Center Section (Contact & Search) */
	.oz-header__center {
		flex: none;
		width: 100%;
	}

	.oz-header__center-top {
		flex-direction: column;
		gap: 15px;
		padding: 15px 20px;
	}

	/* Contact Info */
	.oz-header__contact {
		width: 100%;
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}

	.oz-header__contact-item {
		width: 100%;
		min-height: 44px; /* Accesibilidad Touch */
		padding: 5px 0;
	}

	.oz-header__contact-icon-wrap {
		width: 32px;
		height: 32px;
	}

	.oz-header__contact-icon {
		width: 16px;
		height: 16px;
	}

	.oz-header__contact-label {
		font-size: 0.65rem;
	}

	.oz-header__contact-value {
		font-size: 0.9rem;
	}

	/* Search Bar */
	.oz-header__tools {
		width: 100%;
		max-width: 100%;
		margin: 0;
	}

	/* Bottom Center Section (Categories & Menu) */
	.oz-header__center-bottom {
		flex-direction: column;
		padding: 0 20px 20px;
		gap: 20px;
		align-items: stretch;
		border-top: none;
	}

	.oz-header__bottom-meta {
		width: 100%;
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
	}

	.oz-header__categories-toggle {
		font-size: 0.95rem;
		padding: 10px 15px;
		min-height: 44px; /* Accesibilidad Touch */
		display: flex;
		align-items: center;
		justify-content: center;
		background: var(--oz-header-button);
		color: #000;
		border-radius: 4px;
		font-weight: 700;
	}

	.oz-header__categories-toggle svg {
		margin-right: 8px;
	}

	/* Navigation */
	.oz-header__nav {
		width: 100%;
		padding: 0;
	}

	.oz-header__nav ul {
		display: flex;
		flex-direction: column;
		gap: 5px;
		padding: 0;
		margin: 0;
		list-style: none;
	}

	.oz-header__nav li {
		flex: 0 0 auto;
	}

	.oz-header__nav li a {
		display: flex;
		align-items: center;
		min-height: 44px; /* Accesibilidad Touch */
		padding: 10px 0;
		font-size: 1.05rem;
		border-bottom: 1px solid rgba(255,255,255,0.08);
	}

	/* CTA / Cotizador Section */
	.oz-header__right {
		width: 100%;
		border-top: 1px solid rgba(255,255,255,0.1);
		padding: 20px;
		background: var(--oz-header-bg-strong);
		margin-top: auto; /* Empuja hacia abajo si hay espacio libre */
	}

	.oz-header__cta {
		width: 100%;
		display: flex;
		justify-content: center;
	}

	.oz-header__quote {
		flex-direction: row;
		align-items: center;
		justify-content: center;
		gap: 10px;
		padding: 10px 15px;
		min-height: 44px; /* Accesibilidad Touch */
		width: 100%;
		background: rgba(255,255,255,0.05);
		border-radius: 4px;
	}

	.oz-header__quote-icon svg {
		width: 28px;
		height: 28px;
	}

	.oz-header__quote-label {
		font-size: 1rem;
	}
}

/* Contact wrap: trigger is hidden on desktop; contact items show inline */
.oz-header__contact-wrap {
	display: contents;
}
.oz-header__contact-trigger {
	display: none;
}

/* ==========================================================================
   TABLET RESPONSIVE VIEW (768px - 1024px)
   Diseño específico para tabletas.
   No afecta a Desktop (>1024px) ni a Móvil (<768px).
   ========================================================================== */
@media (min-width: 768px) and (max-width: 1024px) {
	/* Dos filas: (logo | buscador | contacto | carrito) y (categorías | menú | hamburguesa) */
	.oz-header__inner {
		display: grid !important;
		grid-template-columns: auto 1fr auto auto !important;
		grid-template-areas:
			"brand search contact cart"
			"meta nav nav toggle" !important;
		align-items: center !important;
		column-gap: 14px !important;
		row-gap: 0 !important;
		padding: 8px 16px !important;
	}

	/* Flatten wrappers so internal items participate in the grid */
	.oz-header__nav-wrapper,
	.oz-header__center,
	.oz-header__center-top,
	.oz-header__center-bottom {
		display: contents !important;
	}

	.oz-header__brand {
		grid-area: brand !important;
		width: auto !important;
		flex: 0 0 auto !important;
		border: none !important;
		padding: 6px 8px 6px 0 !important;
		background: transparent !important;
		justify-content: flex-start !important;
	}
	.oz-header__logo img,
	.oz-header__logo svg {
		max-height: 54px !important;
		width: auto !important;
		max-width: 160px !important;
	}

	/* Search centered in top row */
	.oz-header__tools {
		grid-area: search !important;
		flex: 1 1 auto !important;
		max-width: 100% !important;
		margin: 0 !important;
		width: 100% !important;
		margin-left: -50px !important;
	}
	.oz-header .oz-header__search .oz-live-search__form {
		min-height: 48px !important;
	}

	/* Contact wrap becomes a circular trigger button with a dropdown popover */
	.oz-header__contact-wrap {
		grid-area: contact !important;
		display: block !important;
		position: relative !important;
		right: 35px !important;
	}
	.oz-header__contact-trigger {
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		width: 46px;
		height: 46px;
		padding: 0;
		border-radius: 50%;
		border: 1px solid rgba(255, 255, 255, 0.35);
		background: transparent;
		color: #ffffff;
		cursor: pointer;
	}
	.oz-header__contact-trigger:hover,
	.oz-header__contact-wrap.is-open .oz-header__contact-trigger {
		background: #ffffff;
		color: var(--oz-header-bg);
	}
	.oz-header__contact-trigger svg {
		display: block;
		width: 22px;
		height: 22px;
	}
	.oz-header__contact {
		position: absolute;
		top: calc(100% + 10px);
		right: 0;
		z-index: 80;
		display: none !important;
		flex-direction: column !important;
		align-items: stretch !important;
		gap: 14px !important;
		width: 280px;
		padding: 16px 18px;
		background: #ffffff;
		border-radius: 12px;
		box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
	}
	.oz-header__contact-wrap.is-open .oz-header__contact {
		display: flex !important;
	}
	.oz-header__contact::before {
		content: '';
		position: absolute;
		top: -8px;
		right: 16px;
		width: 16px;
		height: 16px;
		background: #ffffff;
		transform: rotate(45deg);
		box-shadow: -2px -2px 4px rgba(0, 0, 0, 0.04);
	}
	.oz-header__contact .oz-header__contact-item {
		width: 100%;
		color: #17314a;
		gap: 12px;
	}
	.oz-header__contact .oz-header__contact-item:hover {
		color: var(--oz-header-bg);
	}
	.oz-header__contact .oz-header__contact-icon-wrap {
		width: 36px;
		height: 36px;
		background: transparent;
		border: 0;
		color: var(--oz-header-bg);
	}
	.oz-header__contact .oz-header__contact-icon path {
		fill: currentColor;
	}
	.oz-header__contact .oz-header__contact-label {
		font-size: 0.95rem;
		font-weight: 700;
		color: var(--oz-header-bg);
		opacity: 1;
	}
	.oz-header__contact .oz-header__contact-value {
		font-size: 0.85rem;
		font-weight: 500;
		color: #4b5a6a;
		white-space: normal;
		word-break: break-word;
	}

	/* Cart: yellow cart icon with red badge */
	.oz-header__right {
		grid-area: cart !important;
		flex: 0 0 auto !important;
		width: auto !important;
		background: transparent !important;
		padding: 0 !important;
		border: none !important;
		align-self: center !important;
	}
	.oz-header__cta { width: auto !important; margin-left: -26px;}
	.oz-header__quote {
		flex-direction: row !important;
		gap: 0 !important;
		width: 52px !important;
		height: 48px !important;
		min-height: 0 !important;
		padding: 0 !important;
		background: var(--oz-header-button) !important;
		border-radius: 8px !important;
		justify-content: center !important;
	}
	.oz-header__quote:hover {
		background: var(--oz-header-button-hover) !important;
	}
	.oz-header__quote-icon svg {
		width: 26px !important;
		height: 26px !important;
	}
	.oz-header__quote-icon svg path { fill: #17314a !important; }
	.oz-header__quote-badge {
		top: -6px !important;
		right: -8px !important;
	}
	.oz-header__quote-label { display: none !important; }

	/* Bottom row */
	.oz-header__bottom-meta {
		grid-area: meta !important;
		display: inline-flex !important;
		flex-direction: row !important;
		align-items: center !important;
		gap: 0 !important;
		padding: 0 !important;
		margin: 0 !important;
		width: auto !important;
	}

	.oz-header__nav {
		grid-area: nav !important;
		flex: 1 1 auto !important;
		width: auto !important;
		overflow-x: auto !important;
		-webkit-overflow-scrolling: touch !important;
		scrollbar-width: none !important;
		margin: 0 !important;
		padding: 0 !important;
	}
	.oz-header__nav::-webkit-scrollbar { display: none !important; }
	.oz-header__nav ul,
	.oz-header__menu {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		align-items: center !important;
		gap: 20px !important;
		margin: 0 !important;
		padding: 0 !important;
	}
	.oz-header__nav li { white-space: nowrap !important; }
	.oz-header__nav li a,
	.oz-header__menu a {
		font-size: 0.95rem !important;
		padding: 10px 0 !important;
		border-bottom: none !important;
		min-height: 42px !important;
	}

	/* Show hamburger in tablet at end of bottom row (decorative/additional) */
	.oz-header__mobile-toggle {
		grid-area: toggle !important;
		display: flex !important;
		width: 38px !important;
		height: 38px !important;
		margin: 0 !important;
		order: initial !important;
	}
	.oz-header__mobile-overlay { display: none !important; }
	.oz-header__nav-wrapper {
		position: static !important;
		width: auto !important;
		height: auto !important;
		max-width: none !important;
		box-shadow: none !important;
		padding: 0 !important;
		background: transparent !important;
		transform: none !important;
		visibility: visible !important;
		opacity: 1 !important;
	}

	/* Visual divider between the two rows */
	.oz-header__brand,
	.oz-header__tools,
	.oz-header__contact-wrap,
	.oz-header__right {
		padding-bottom: 10px !important;
	}
	.oz-header__bottom-meta,
	.oz-header__nav,
	.oz-header__mobile-toggle {
		border-top: 1px solid var(--oz-header-border) !important;
		padding-top: 6px !important;
		padding-bottom: 6px !important;
	}
}

@media (min-width: 1600px) {
	.oz-header__tools {
		max-width: min(842px, 44vw);
	}
}

.oz-header__search {
	flex: 1 1 auto;
	display: flex;
	min-width: 0;
}

.oz-header__search > * {
	width: 100%;
	min-width: 0;
}

.oz-header .oz-header__search .oz-live-search {
	width: 100%;
}

.oz-header .oz-header__search .oz-live-search__form {
	min-height: 46px;
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: 999px;
	background: #ffffff;
	overflow: hidden;
}

.oz-header .oz-header__search .oz-live-search__input {
	padding: 0.78rem 1.2rem;
	color: var(--oz-header-search-text);
	background: transparent;
	font-size: 0.95rem;
}

.oz-header .oz-header__search .oz-live-search__input::placeholder {
	color: var(--oz-header-search-placeholder);
}

.oz-header .oz-header__search .oz-live-search__button {
	min-width: 100px;
	padding: 0 1.1rem;
	border-left: 0;
	border-radius: 0 999px 999px 0;
	background: var(--oz-header-button);
	color: #1a2a3a;
	font-weight: 700;
	font-size: 0.95rem;
	letter-spacing: 0.01em;
}

.oz-header .oz-header__search .oz-live-search__button:hover {
	background: var(--oz-header-button-hover);
}

.oz-header .oz-header__search .oz-live-search__button-text {
	display: inline;
}

.oz-header .oz-header__search .oz-live-search__button-icon {
	display: none;
}

.oz-header__bottom-meta {
	display: inline-flex;
	align-items: center;
	gap: 0;
	flex: 0 0 auto;
	min-width: 0;
	position: relative;
	padding-right: 1.5rem;
}

.oz-header__bottom-meta--drawer {
	display: none;
}

/* Que cada <details> solo ocupe el ancho del summary (el panel va absolute, como Categorías). */
.oz-header__bottom-meta > details.oz-header__categories--compact {
	flex: 0 0 auto;
	width: fit-content;
	max-width: 100%;
	align-self: center;
}

.oz-header__categories {
	position: relative;
}

.oz-header__categories-toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	min-height: 42px;
	padding: 0 1rem;
	border: 1px solid var(--oz-header-border);
	border-radius: 999px;
	background: var(--oz-header-bg-soft);
	color: #ffffff;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	cursor: pointer;
	list-style: none;
	white-space: nowrap;
}

.oz-header__categories-toggle::-webkit-details-marker {
	display: none;
}

.oz-header__categories[open] .oz-header__categories-toggle {
	background: #ffffff;
	color: var(--oz-header-bg);
	border-color: #ffffff;
}

.oz-header__categories--compact .oz-header__categories-toggle {
	min-height: 38px;
	padding: 0 1.5rem;
	border: 0;
	border-radius: 0;
	border-right: 1px solid var(--oz-header-border) !important;
	background: transparent;
	color: #f3c839;
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: none;
	box-shadow: none;
}

.oz-header__categories--compact:first-child .oz-header__categories-toggle {
	padding-left: 0;
}



/* Celulares grandes: 376px a 480px */
@media (min-width: 376px) and (max-width: 480px) {
  .oz-header__categories--compact:first-child .oz-header__categories-toggle {
    /* Agrega aquí el estilo que quieres modificar */
	padding-left: 100px;
  }
}

/* Celulares medianos: 321px a 375px */
@media (min-width: 321px) and (max-width: 375px) {
  .oz-header__categories--compact:first-child .oz-header__categories-toggle {
    /* Agrega aquí el estilo que quieres modificar */
	padding-left: 60px;
  }
}

/* Celulares pequeños: hasta 320px */
@media (max-width: 320px) {
  .oz-header__categories--compact:first-child .oz-header__categories-toggle {
    /* Agrega aquí el estilo que quieres modificar */
	padding-left: 49px;
  }
}



.oz-header__brands-details .oz-header__categories-toggle {
	border-right: 0;
}

.oz-header__categories--compact .oz-header__categories-toggle:hover {
	color: #ffdf63;
}

.oz-header__categories--compact[open] .oz-header__categories-toggle {
	background: transparent;
	color: #ffdf63;
	border-color: transparent;
}

.oz-header__categories-toggle--compact {
	justify-content: center;
	gap: 0.35rem;
}

.oz-header__categories-toggle--compact svg {
	display: none;
}

.oz-header__category-list {
	position: absolute;
	top: calc(100% + 0.4rem);
	left: 0;
	z-index: 50;
	min-width: 240px;
	max-width: min(320px, 84vw);
	margin: 0;
	padding: 0.65rem 0;
	list-style: none;
	background: #ffffff;
	border-radius: 12px;
	box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
}

.oz-header__category-list li {
	margin: 0;
}

.oz-header__category-list a {
	display: block;
	padding: 0.42rem 1rem;
	color: #17314a;
	font-size: 0.88rem;
}

.oz-header__category-list a:hover {
	background: #f0f5fa;
}

.oz-header__category-list .children {
	margin: 0;
	padding: 0 0 0 0.75rem;
	list-style: none;
}

.oz-header__nav {
	flex: 1 1 auto;
	min-width: 0;
	padding-left: 0;
}

.oz-header__menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 2.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.oz-header__menu .sub-menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 2.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.oz-header__menu a {
	display: inline-flex;
	align-items: center;
	min-height: 1.8rem;
	color: #ffffff;
	font-size: 1rem;
	font-weight: 500;
	letter-spacing: 0.01em;
}

.oz-header__menu a:hover {
	color: #ffffff;
	opacity: 0.78;
}

.oz-header__menu .sub-menu {
	margin-top: 0.2rem;
	padding-left: 1rem;
}

.oz-header__right {
	flex: 0 0 130px;
	display: flex;
	align-items: stretch;
	align-self: stretch;
	min-width: 0;
	min-height: 100%;
	background: #073275;
}

.oz-header__cta {
	display: flex;
	width: 100%;
	min-height: 100%;
	align-items: stretch;
}

.oz-header__quote {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	width: 100%;
	min-height: 100%;
	padding: 0.7rem 0.45rem;
	border-radius: 0;
	background: #073275;
	color: #ffffff;
	text-align: center;
	white-space: normal;
	line-height: 1;
}

.oz-header__quote:hover {
	background: #073275;
}

.oz-header__quote-icon {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.oz-header__quote-icon svg {
	width: 36px;
	height: 36px;
}

.oz-header__quote-badge {
	position: absolute;
	top: -6px;
	right: -10px;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	padding: 0 4px;
	border-radius: 999px;
	background: #e53935;
	color: #ffffff;
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1;
}

.oz-header__quote-label {
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.02em;
}

@media (max-width: 1199px) {
	.oz-header__inner {
		gap: 0;
	}

	.oz-header__brand {
		flex-basis: 172px;
	}

	.oz-header__contact {
		gap: 0.5rem 1rem;
	}

	.oz-header__contact-item + .oz-header__contact-item {
		padding-left: 1rem;
	}

	.oz-header__right {
		flex-basis: 94px;
	}
}

@media (max-width: 991px) {
	.oz-header__inner {
		flex-wrap: wrap;
		align-items: flex-start;
	}

	.oz-header__brand {
		order: 1;
		flex-basis: 148px;
	}

	.oz-header__right {
		order: 2;
		flex-basis: auto;
		margin-left: auto;
	}

	.oz-header__center {
		order: 3;
		flex-basis: 100%;
		border-left: 0;
		border-right: 0;
	}

	.oz-header__center-top,
	.oz-header__center-bottom {
		padding-left: 1rem;
		padding-right: 1rem;
	}

	.oz-header__center-top,
	.oz-header__center-bottom {
		flex-wrap: wrap;
	}

	.oz-header__bottom-meta {
		flex-basis: 100%;
	}

	.oz-header__quote {
		flex-direction: row;
		gap: 0.55rem;
		width: auto;
		padding: 0.5rem 1rem;
		border-radius: 999px;
		background: #073275;
		white-space: nowrap;
	}

	.oz-header__quote-icon svg {
		width: 24px;
		height: 24px;
	}

	.oz-header__quote-label {
		font-size: 0.76rem;
	}
}

@media (max-width: 767px) {
	.oz-header__inner {
		gap: 0;
		padding-top: 0;
		padding-bottom: 0;
	}

	.oz-header .oz-header__inner.container {
		padding-left: 0;
		padding-right: 0;
	}

	.oz-header__tools {
		max-width: 100%;
		width: 100%;
		margin-left: 0;
	}

	.oz-header__brand {
		order: 1;
		flex-basis: 100%;
		padding: 1rem;
		border-right: none;
		border-bottom: 1px solid var(--oz-header-border);
	}

	.oz-header__center {
		order: 2;
	}

	.oz-header__right {
		order: 3;
		margin-left: 0;
		flex-basis: 100%;
	}

	.oz-header__center-top {
		gap: 0.75rem;
	}

	.oz-header__contact {
		order: 2;
		gap: 0.75rem;
	}

	.oz-header__contact-item {
		width: 100%;
	}

	.oz-header__contact-item + .oz-header__contact-item {
		padding-left: 0;
		border-left: 0;
	}

	.oz-header__contact-value {
		white-space: normal;
		word-break: break-word;
	}

	.oz-header__quote {
		width: 100%;
		justify-content: center;
	}

	.oz-header__bottom-meta {
		display: flex;
		width: 100%;
		gap: 0.65rem;
	}

	.oz-header__brands-popover.oz-header__category-list {
		left: 0 !important;
		right: auto !important;
		width: min(calc(100vw - 1.25rem), 560px);
		max-width: min(calc(100vw - 1.25rem), 560px);
	}

	.oz-header__brands-popover .oz-brands-modal__grid {
		max-height: min(42vh, 360px);
	}

	.oz-header__menu,
	.oz-header__menu .sub-menu {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.25rem;
	}

	.oz-header__menu .sub-menu {
		padding-left: 0.9rem;
	}
}

/*
 * Marcas: reutiliza .oz-header__category-list (mismo position:absolute que Categorías)
 * y solo ajusta tamaño / rejilla de logotipos.
 */
.oz-header__brands-popover.oz-header__category-list {
	position: absolute !important;
	top: calc(100% + 0.4rem) !important;
	left: 0 !important;
	z-index: 80;
	width: min(700px, calc(100vw - 1.5rem));
	max-width: min(700px, calc(100vw - 1.5rem));
	min-width: min(320px, 92vw);
	margin: 0;
	padding: 0.65rem 0.85rem 0.85rem;
	background: #ffffff;
	border-radius: 14px;
	box-shadow: 0 20px 44px rgba(0, 0, 0, 0.22);
	color: #17314a;
	list-style: none;
	box-sizing: border-box;
}

/*
 * Siempre anclado al borde izquierdo del <details> de «Marcas» y creciendo hacia la derecha.
 * (right:0 en paneles anchos desplazaba todo hacia la izquierda y salía de pantalla.)
 */
.oz-header__bottom-meta > .oz-header__brands-details .oz-header__brands-popover.oz-header__category-list {
	left: 0 !important;
	right: auto !important;
}

/* Rejilla 3 columnas; celdas centradas; enlaces al ancho del logo (sin “huecos” laterales) */
.oz-header__brands-popover .oz-brands-modal__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	justify-items: center;
	gap: 0.25rem 0.2rem;
	max-height: min(48vh, 420px);
	overflow-x: hidden;
	overflow-y: auto;
	padding: 0.2rem 0.1rem 0.3rem;
	margin: 0;
	-webkit-overflow-scrolling: touch;
	scrollbar-gutter: stable;
}

.oz-header__brands-popover .oz-brands-modal__cell {
	display: flex;
	justify-content: center;
	align-items: center;
	justify-self: center;
	width: fit-content;
	max-width: 100%;
	min-width: 0;
	padding: 0 !important;
	margin: 0;
	box-sizing: border-box;
}

/* Logos: el <a> solo ocupa el ancho de la imagen (evita franjas moradas del inspector) */
.oz-header__brands-popover .oz-brands-modal__link:not(.oz-brands-modal__link--text) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	max-width: 100%;
	min-width: 0;
	min-height: 0;
	padding: 0;
	margin: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	text-decoration: none;
	color: inherit;
	transition: opacity 0.15s ease;
}

.oz-header__brands-popover .oz-brands-modal__link:not(.oz-brands-modal__link--text):hover {
	border: 0;
	background: transparent;
	box-shadow: none;
	opacity: 0.82;
	text-decoration: none;
}

/* Marcas sin imagen: pequeña tarjeta legible */
.oz-header__brands-popover .oz-brands-modal__link--text {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 2.5rem;
	padding: 0.35rem 0.4rem;
	border: 1px solid #e2eaf2;
	border-radius: 8px;
	background: #fbfcfe;
	text-align: center;
	text-decoration: none;
	color: inherit;
}

.oz-header__brands-popover .oz-brands-modal__link--text:hover {
	background: #f0f5fa;
}

.oz-header__brands-popover .oz-brands-modal__logo {
	display: block;
	width: 190px;
	max-width: 100%;
	height: auto;
	object-fit: contain;
}

@media (max-width: 767px) {
	.oz-header__brands-popover.oz-header__category-list,
	.oz-header__bottom-meta > .oz-header__brands-details .oz-header__brands-popover.oz-header__category-list {
		width: min(calc(100vw - 1.25rem), 260px) !important;
		max-width: min(calc(100vw - 1.25rem), 260px) !important;
		left: auto !important;
		right: 0 !important;
		padding: 0.5rem 0.6rem 0.7rem;
	}

	.oz-header__brands-popover .oz-brands-modal__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.35rem 0.4rem;
		max-height: min(50vh, 360px);
	}

	.oz-header__brands-popover .oz-brands-modal__logo {
		width: 100%;
		max-width: 110px;
	}

	.oz-header__category-list {
		min-width: min(240px, calc(100vw - 1.25rem));
		max-width: min(calc(100vw - 1.25rem), 320px);
	}
}

@media (max-width: 425px) {
	.oz-header__category-list {
		min-width: min(220px, calc(100vw - 1rem));
		max-width: calc(100vw - 1rem);
		padding: 0.5rem 0;
	}

	.oz-header__category-list a {
		padding: 0.4rem 0.85rem;
		font-size: 0.85rem;
	}

	.oz-header__brands-popover.oz-header__category-list,
	.oz-header__bottom-meta > .oz-header__brands-details .oz-header__brands-popover.oz-header__category-list {
		width: min(calc(100vw - 1rem), 260px) !important;
		max-width: min(calc(100vw - 1rem), 260px) !important;
		left: auto !important;
		right: 0 !important;
		padding: 0.65rem 0.6rem 0.75rem;
		background: linear-gradient(180deg, #ffffff 0%, #f5f8fc 100%);
		border: 1px solid rgba(0, 58, 150, 0.12);
		border-radius: 16px;
		box-shadow:
			0 1px 0 rgba(255, 255, 255, 0.9) inset,
			0 18px 38px rgba(0, 23, 60, 0.22),
			0 4px 10px rgba(0, 23, 60, 0.08);
	}

	.oz-header__brands-popover.oz-header__category-list::before {
		content: "Marcas";
		display: block;
		margin: 0 0.15rem 0.5rem;
		padding: 0 0.15rem 0.45rem;
		font-size: 0.7rem;
		font-weight: 700;
		letter-spacing: 0.12em;
		text-transform: uppercase;
		color: #003a96;
		border-bottom: 1px solid rgba(0, 58, 150, 0.12);
	}

	.oz-header__brands-popover .oz-brands-modal__grid {
		display: flex;
		flex-direction: column;
		grid-template-columns: none;
		gap: 0.45rem;
		max-height: min(68vh, 420px);
		padding: 0.15rem 0.2rem 0.35rem 0.05rem;
		scrollbar-width: thin;
		scrollbar-color: rgba(0, 58, 150, 0.35) transparent;
	}

	.oz-header__brands-popover .oz-brands-modal__grid::-webkit-scrollbar {
		width: 4px;
	}

	.oz-header__brands-popover .oz-brands-modal__grid::-webkit-scrollbar-thumb {
		background: rgba(0, 58, 150, 0.35);
		border-radius: 4px;
	}

	.oz-header__brands-popover .oz-brands-modal__cell {
		position: relative;
		width: 100%;
		min-height: 5rem;
		justify-content: center;
		justify-self: stretch;
		padding: 0.85rem 0.85rem 0.85rem 1rem !important;
		border: 1px solid #dee6f1;
		border-radius: 12px;
		background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
		box-shadow: 0 1px 2px rgba(0, 23, 60, 0.04);
		overflow: hidden;
		transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
	}

	.oz-header__brands-popover .oz-brands-modal__cell::before {
		content: "";
		position: absolute;
		top: 0.55rem;
		bottom: 0.55rem;
		left: 0;
		width: 3px;
		border-radius: 3px;
		background: linear-gradient(180deg, #003a96 0%, #fbd303 100%);
		opacity: 0.85;
	}

	.oz-header__brands-popover .oz-brands-modal__cell:hover,
	.oz-header__brands-popover .oz-brands-modal__cell:focus-within {
		transform: translateY(-1px);
		border-color: rgba(0, 58, 150, 0.35);
		box-shadow: 0 6px 14px rgba(0, 23, 60, 0.12);
	}

	.oz-header__brands-popover .oz-brands-modal__cell:active {
		transform: translateY(0);
		box-shadow: 0 2px 5px rgba(0, 23, 60, 0.1) inset;
	}

	.oz-header__brands-popover .oz-brands-modal__link:not(.oz-brands-modal__link--text) {
		justify-content: center;
		width: 100%;
		min-height: 4rem;
	}

	.oz-header__brands-popover .oz-brands-modal__link--text {
		justify-content: center;
		width: 100%;
		min-height: 4rem;
		font-size: 1rem;
		font-weight: 600;
		letter-spacing: 0.01em;
		color: #0b2a5c;
		text-align: center;
		background: transparent;
		border: 0;
	}

	.oz-header__brands-popover .oz-brands-modal__logo {
		width: auto;
		max-width: 80%;
		max-height: 3.8rem;
		filter: grayscale(35%) contrast(0.95);
		transition: filter 0.2s ease, transform 0.2s ease;
	}

	.oz-header__brands-popover .oz-brands-modal__cell:hover .oz-brands-modal__logo {
		filter: grayscale(0%) contrast(1);
		transform: scale(1.04);
	}
}

@media (max-width: 375px) {
	.oz-header__category-list {
		min-width: min(200px, calc(100vw - 0.75rem));
		max-width: calc(100vw - 0.75rem);
	}

	.oz-header__category-list a {
		padding: 0.38rem 0.75rem;
		font-size: 0.82rem;
	}

	.oz-header__brands-popover.oz-header__category-list,
	.oz-header__bottom-meta > .oz-header__brands-details .oz-header__brands-popover.oz-header__category-list {
		width: min(calc(100vw - 0.75rem), 240px) !important;
		max-width: min(calc(100vw - 0.75rem), 240px) !important;
		left: auto !important;
		right: 0 !important;
		padding: 0.55rem 0.5rem 0.65rem;
	}

	.oz-header__brands-popover.oz-header__category-list::before {
		font-size: 0.66rem;
		margin-bottom: 0.4rem;
		padding-bottom: 0.4rem;
	}

	.oz-header__brands-popover .oz-brands-modal__grid {
		gap: 0.4rem;
		max-height: min(66vh, 400px);
	}

	.oz-header__brands-popover .oz-brands-modal__cell {
		min-height: 4.6rem;
		padding: 0.75rem 0.75rem 0.75rem 0.95rem !important;
		border-radius: 11px;
	}

	.oz-header__brands-popover .oz-brands-modal__link:not(.oz-brands-modal__link--text),
	.oz-header__brands-popover .oz-brands-modal__link--text {
		min-height: 3.6rem;
	}

	.oz-header__brands-popover .oz-brands-modal__link--text {
		font-size: 0.95rem;
	}

	.oz-header__brands-popover .oz-brands-modal__logo {
		max-width: 80%;
		max-height: 3.4rem;
	}
}

@media (max-width: 320px) {
	.oz-header__category-list {
		min-width: min(180px, calc(100vw - 0.5rem));
		max-width: calc(100vw - 0.5rem);
	}

	.oz-header__category-list a {
		padding: 0.35rem 0.6rem;
		font-size: 0.8rem;
	}

	.oz-header__brands-popover.oz-header__category-list,
	.oz-header__bottom-meta > .oz-header__brands-details .oz-header__brands-popover.oz-header__category-list {
		width: min(calc(100vw - 0.5rem), 220px) !important;
		max-width: min(calc(100vw - 0.5rem), 220px) !important;
		left: auto !important;
		right: 0 !important;
		padding: 0.5rem 0.45rem 0.6rem;
	}

	.oz-header__brands-popover.oz-header__category-list::before {
		font-size: 0.62rem;
		margin-bottom: 0.35rem;
		padding-bottom: 0.35rem;
	}

	.oz-header__brands-popover .oz-brands-modal__grid {
		gap: 0.35rem;
		max-height: min(64vh, 380px);
	}

	.oz-header__brands-popover .oz-brands-modal__cell {
		min-height: 4.2rem;
		padding: 0.65rem 0.65rem 0.65rem 0.85rem !important;
		border-radius: 10px;
	}

	.oz-header__brands-popover .oz-brands-modal__link:not(.oz-brands-modal__link--text),
	.oz-header__brands-popover .oz-brands-modal__link--text {
		min-height: 3.2rem;
	}

	.oz-header__brands-popover .oz-brands-modal__link--text {
		font-size: 0.9rem;
	}

	.oz-header__brands-popover .oz-brands-modal__logo {
		max-width: 82%;
		max-height: 3rem;
	}
}

@media (min-width: 768px) and (max-width: 1199px) {
	.oz-header__brands-popover.oz-header__category-list,
	.oz-header__bottom-meta > .oz-header__brands-details .oz-header__brands-popover.oz-header__category-list {
		width: min(calc(100vw - 1.5rem), 560px) !important;
		max-width: min(calc(100vw - 1.5rem), 560px) !important;
		padding: 0.75rem 0.85rem 0.9rem;
		background: linear-gradient(180deg, #ffffff 0%, #f5f8fc 100%);
		border: 1px solid rgba(0, 58, 150, 0.12);
		border-radius: 16px;
		box-shadow:
			0 1px 0 rgba(255, 255, 255, 0.9) inset,
			0 18px 38px rgba(0, 23, 60, 0.22),
			0 4px 10px rgba(0, 23, 60, 0.08);
	}

	.oz-header__brands-popover.oz-header__category-list::before {
		content: "Marcas";
		display: block;
		margin: 0 0.2rem 0.55rem;
		padding: 0 0.2rem 0.5rem;
		font-size: 0.72rem;
		font-weight: 700;
		letter-spacing: 0.14em;
		text-transform: uppercase;
		color: #003a96;
		border-bottom: 1px solid rgba(0, 58, 150, 0.12);
	}

	.oz-header__brands-popover .oz-brands-modal__grid {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 0.6rem;
		max-height: min(58vh, 460px);
		padding: 0.2rem 0.25rem 0.4rem 0.1rem;
		scrollbar-width: thin;
		scrollbar-color: rgba(0, 58, 150, 0.35) transparent;
	}

	.oz-header__brands-popover .oz-brands-modal__grid::-webkit-scrollbar {
		width: 5px;
	}

	.oz-header__brands-popover .oz-brands-modal__grid::-webkit-scrollbar-thumb {
		background: rgba(0, 58, 150, 0.35);
		border-radius: 4px;
	}

	.oz-header__brands-popover .oz-brands-modal__cell {
		position: relative;
		width: 100%;
		min-height: 5.5rem;
		justify-content: center;
		justify-self: stretch;
		padding: 0.85rem 0.85rem 0.85rem 1rem !important;
		border: 1px solid #dee6f1;
		border-radius: 12px;
		background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
		box-shadow: 0 1px 2px rgba(0, 23, 60, 0.04);
		overflow: hidden;
		transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
	}

	.oz-header__brands-popover .oz-brands-modal__cell::before {
		content: "";
		position: absolute;
		top: 0.6rem;
		bottom: 0.6rem;
		left: 0;
		width: 3px;
		border-radius: 3px;
		background: linear-gradient(180deg, #003a96 0%, #fbd303 100%);
		opacity: 0.85;
	}

	.oz-header__brands-popover .oz-brands-modal__cell:hover,
	.oz-header__brands-popover .oz-brands-modal__cell:focus-within {
		transform: translateY(-1px);
		border-color: rgba(0, 58, 150, 0.35);
		box-shadow: 0 6px 14px rgba(0, 23, 60, 0.12);
	}

	.oz-header__brands-popover .oz-brands-modal__cell:active {
		transform: translateY(0);
		box-shadow: 0 2px 5px rgba(0, 23, 60, 0.1) inset;
	}

	.oz-header__brands-popover .oz-brands-modal__link:not(.oz-brands-modal__link--text) {
		justify-content: center;
		width: 100%;
		min-height: 4.2rem;
	}

	.oz-header__brands-popover .oz-brands-modal__link--text {
		justify-content: center;
		width: 100%;
		min-height: 4.2rem;
		font-size: 1rem;
		font-weight: 600;
		letter-spacing: 0.01em;
		color: #0b2a5c;
		text-align: center;
		background: transparent;
		border: 0;
	}

	.oz-header__brands-popover .oz-brands-modal__logo {
		width: auto;
		max-width: 82%;
		max-height: 4rem;
		filter: grayscale(35%) contrast(0.95);
		transition: filter 0.2s ease, transform 0.2s ease;
	}

	.oz-header__brands-popover .oz-brands-modal__cell:hover .oz-brands-modal__logo {
		filter: grayscale(0%) contrast(1);
		transform: scale(1.04);
	}
}

@media (min-width: 1200px) {
	.oz-header__brands-popover.oz-header__category-list,
	.oz-header__bottom-meta > .oz-header__brands-details .oz-header__brands-popover.oz-header__category-list {
		width: min(720px, calc(100vw - 2rem));
		max-width: min(720px, calc(100vw - 2rem));
		padding: 0.95rem 1.05rem 1.1rem;
		background: linear-gradient(180deg, #ffffff 0%, #f5f8fc 100%);
		border: 1px solid rgba(0, 58, 150, 0.12);
		border-radius: 18px;
		box-shadow:
			0 1px 0 rgba(255, 255, 255, 0.9) inset,
			0 22px 48px rgba(0, 23, 60, 0.24),
			0 6px 14px rgba(0, 23, 60, 0.08);
	}

	.oz-header__brands-popover.oz-header__category-list::before {
		content: "Marcas";
		display: block;
		margin: 0 0.25rem 0.7rem;
		padding: 0 0.25rem 0.6rem;
		font-size: 0.78rem;
		font-weight: 700;
		letter-spacing: 0.16em;
		text-transform: uppercase;
		color: #003a96;
		border-bottom: 1px solid rgba(0, 58, 150, 0.12);
	}

	.oz-header__brands-popover .oz-brands-modal__grid {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 0.7rem;
		max-height: min(56vh, 520px);
		padding: 0.25rem 0.3rem 0.5rem 0.15rem;
		scrollbar-width: thin;
		scrollbar-color: rgba(0, 58, 150, 0.35) transparent;
	}

	.oz-header__brands-popover .oz-brands-modal__grid::-webkit-scrollbar {
		width: 6px;
	}

	.oz-header__brands-popover .oz-brands-modal__grid::-webkit-scrollbar-thumb {
		background: rgba(0, 58, 150, 0.35);
		border-radius: 4px;
	}

	.oz-header__brands-popover .oz-brands-modal__cell {
		position: relative;
		width: 100%;
		min-height: 6.5rem;
		justify-content: center;
		justify-self: stretch;
		padding: 1rem 1rem 1rem 1.15rem !important;
		border: 1px solid #dee6f1;
		border-radius: 14px;
		background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
		box-shadow: 0 1px 2px rgba(0, 23, 60, 0.04);
		overflow: hidden;
		transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
	}

	.oz-header__brands-popover .oz-brands-modal__cell::before {
		content: "";
		position: absolute;
		top: 0.7rem;
		bottom: 0.7rem;
		left: 0;
		width: 4px;
		border-radius: 4px;
		background: linear-gradient(180deg, #003a96 0%, #fbd303 100%);
		opacity: 0.85;
	}

	.oz-header__brands-popover .oz-brands-modal__cell:hover,
	.oz-header__brands-popover .oz-brands-modal__cell:focus-within {
		transform: translateY(-2px);
		border-color: rgba(0, 58, 150, 0.4);
		box-shadow: 0 10px 22px rgba(0, 23, 60, 0.14);
	}

	.oz-header__brands-popover .oz-brands-modal__cell:active {
		transform: translateY(0);
		box-shadow: 0 2px 6px rgba(0, 23, 60, 0.12) inset;
	}

	.oz-header__brands-popover .oz-brands-modal__link:not(.oz-brands-modal__link--text) {
		justify-content: center;
		align-items: center;
		width: 100%;
		min-height: 5rem;
	}

	.oz-header__brands-popover .oz-brands-modal__link--text {
		justify-content: center;
		width: 100%;
		min-height: 5rem;
		font-size: 1.05rem;
		font-weight: 600;
		letter-spacing: 0.01em;
		color: #0b2a5c;
		text-align: center;
		background: transparent;
		border: 0;
	}

	.oz-header__brands-popover .oz-brands-modal__logo {
		width: auto;
		max-width: 80%;
		max-height: 4.5rem;
		object-fit: contain;
		filter: grayscale(35%) contrast(0.95);
		transition: filter 0.22s ease, transform 0.22s ease;
	}

	.oz-header__brands-popover .oz-brands-modal__cell:hover .oz-brands-modal__logo {
		filter: grayscale(0%) contrast(1);
		transform: scale(1.05);
	}
}

@media (min-width: 1600px) {
	.oz-header__brands-popover.oz-header__category-list,
	.oz-header__bottom-meta > .oz-header__brands-details .oz-header__brands-popover.oz-header__category-list {
		width: min(820px, calc(100vw - 2rem));
		max-width: min(820px, calc(100vw - 2rem));
	}

	.oz-header__brands-popover .oz-brands-modal__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 0.8rem;
	}

	.oz-header__brands-popover .oz-brands-modal__cell {
		min-height: 6.8rem;
	}

	.oz-header__brands-popover .oz-brands-modal__logo {
		max-height: 4.6rem;
	}
}

.oz-header__brands-popover .oz-brands-modal__name {
	font-size: 0.8rem;
	font-weight: 600;
	color: #0b2a5c;
	line-height: 1.25;
}

/* =========================================================
   Optimización Móvil - 3 Filas (max-width: 767px)
========================================================= */
@media (min-width: 768px) {
	#oz-mobile-menu-btn.oz-header__mobile-toggle {
		display: none !important;
	}
	#oz-mobile-meta-btn.oz-header__mobile-meta-toggle {
		display: none !important;
	}
}

@media (max-width: 767px) {
	body.oz-mobile-meta-open {
		overflow: hidden;
	}

	/* Extraer elementos del contenedor lateral (off-canvas) original */
	.oz-header__nav-wrapper,
	.oz-header__center,
	.oz-header__center-top,
	.oz-header__center-bottom {
		display: contents !important;
	}

	/* Reconfigurar el header interior como flexbox con wrap para tres filas */
	.oz-header__inner {
		display: flex !important;
		flex-wrap: wrap !important;
		justify-content: flex-start !important;
		align-items: center !important;
		padding: 10px 15px !important;
		gap: 5px 0 !important;
		transition: all 0.3s ease !important;
	}

	/* --- Primera Fila --- */
	.oz-header__mobile-meta-toggle {
		display: inline-flex !important;
		order: 1 !important;
		flex: 0 0 auto !important;
		margin: 0 !important;
	}

	.oz-header__brand {
		order: 2 !important;
		flex: 1 1 auto !important;
		width: auto !important;
		max-width: 100px !important; /* Base mobile-first (<=375) */
		margin-left: auto !important;
		margin-right: auto !important;
		display: flex !important;
		justify-content: center !important;
		align-items: center !important;
	}

	.oz-header__mobile-toggle { /* Botón Menú (Hamburger) a la derecha del logo */
		order: 3 !important;
		flex: 0 0 auto !important;
		margin: 0 !important;
	}

	/* Forzar salto de línea tras la primera fila */
	.oz-header__inner::before {
		content: "" !important;
		display: block !important;
		width: 100% !important;
		order: 4 !important;
	}

	/* --- Segunda Fila --- */
	.oz-header__tools { /* Buscador */
		order: 5 !important;
		flex: 1 1 100% !important;
		width: 100% !important;
		max-width: 360px !important;
		margin: 0 auto !important; /* Centrado horizontal */
	}

	/* Forzar salto de línea tras la segunda fila */
	.oz-header__inner::after {
		content: "" !important;
		display: block !important;
		width: 100% !important;
		order: 6 !important;
	}

	/* Ocultar bloque inline en móvil: ahora va en popper propio */
	.oz-header__bottom-meta--inline {
		display: none !important;
	}

	.oz-header__mobile-meta-overlay {
		display: block;
		position: fixed;
		inset: 0;
		background: rgba(0, 58, 150, 0.44);
		z-index: 1001;
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.3s ease, visibility 0.3s ease;
	}

	.oz-header__mobile-meta-panel {
		display: block;
		position: fixed;
		top: 0;
		left: -100%;
		width: min(92vw, 340px);
		height: 100vh;
		height: 100dvh;
		padding: 12px 12px 16px;
		background: linear-gradient(180deg, var(--oz-header-bg-strong) 0%, var(--oz-header-bg) 100%);
		z-index: 1002;
		transition: left 0.3s ease;
		overflow-y: auto;
		box-shadow: 8px 0 28px rgba(0, 0, 0, 0.35);
		border-right: 1px solid var(--oz-header-border);
	}

	body.oz-mobile-meta-open .oz-header__mobile-meta-overlay {
		opacity: 1;
		visibility: visible;
	}

	body.oz-mobile-meta-open .oz-header__mobile-meta-panel {
		left: 0;
	}

	.oz-header__mobile-meta-head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		margin: 0 0 16px;
		padding: 0 2px 10px;
		border-bottom: 1px solid var(--oz-header-border);
	}

	.oz-header__mobile-meta-title {
		margin: 0;
		color: #ffffff;
		font-family: var(--OZ-Font-Headings);
		font-size: 1rem;
		font-weight: 700;
		letter-spacing: 0.04em;
		text-transform: uppercase;
	}

	.oz-header__mobile-meta-close {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 36px;
		height: 36px;
		padding: 0;
		margin: 0;
		border: 1px solid var(--oz-header-border);
		border-radius: 10px;
		background: transparent;
		color: var(--oz-header-button);
		font-size: 1.65rem;
		line-height: 1;
		cursor: pointer;
		transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
	}

	.oz-header__bottom-meta--mobile-panel {
		display: flex !important;
		flex-direction: column;
		gap: 12px;
		padding: 0 !important;
		margin: 0 !important;
	}

	.oz-header__bottom-meta--mobile-panel > details.oz-header__categories--compact {
		width: 100%;
		border: 1px solid var(--oz-header-border);
		border-radius: 14px;
		background: var(--oz-header-bg-soft);
		overflow: hidden;
		transition: border-color 0.25s ease, background-color 0.25s ease;
	}

	.oz-header__bottom-meta--mobile-panel > details[open] {
		background: rgba(255, 255, 255, 0.14);
		border-color: rgba(251, 211, 3, 0.42);
	}

	/* Jerarquía visual y estados del encabezado de acordeón */
	.oz-header__bottom-meta--mobile-panel .oz-header__categories-toggle {
		position: relative;
		min-height: 48px !important;
		height: auto !important;
		transition: background-color 0.3s ease, color 0.3s ease, transform 0.1s ease !important;
		justify-content: flex-start !important;
		padding: 0 42px 0 14px !important;
		border: 0 !important;
		border-radius: 0 !important;
		color: var(--oz-header-button);
		font-size: 1.03rem;
		font-weight: 700;
		letter-spacing: 0.01em;
		background: transparent;
	}

	.oz-header__bottom-meta--mobile-panel .oz-header__categories-toggle::after {
		content: "";
		position: absolute;
		top: 50%;
		right: 14px;
		width: 9px;
		height: 9px;
		border-right: 2px solid currentColor;
		border-bottom: 2px solid currentColor;
		transform: translateY(-60%) rotate(45deg);
		transition: transform 0.25s ease;
		opacity: 0.95;
	}

	.oz-header__bottom-meta--mobile-panel details[open] > .oz-header__categories-toggle::after {
		transform: translateY(-35%) rotate(-135deg);
	}

	.oz-header__bottom-meta--mobile-panel details[open] > .oz-header__categories-toggle {
		color: #ffffff;
	}

	.oz-header__bottom-meta--mobile-panel .oz-header__categories-toggle:active {
		transform: scale(0.98) !important; /* Feedback táctil */
	}

	.oz-header__mobile-meta-panel .oz-header__categories-toggle svg {
		display: none !important;
	}

	.oz-header__mobile-meta-panel .oz-header__category-list {
		position: static !important;
		width: 100% !important;
		min-width: 100% !important;
		max-width: 100% !important;
		margin-top: 0 !important;
		border-radius: 0 0 12px 12px;
		border: 1px solid rgba(0, 58, 150, 0.18);
		border-top: 0;
		background: #ffffff;
		box-shadow: 0 10px 18px rgba(0, 0, 0, 0.16) !important;
		overflow: hidden;
		padding: 4px 0;
	}

	.oz-header__mobile-meta-panel .oz-header__brands-popover.oz-header__category-list {
		left: auto !important;
		right: auto !important;
		padding: 0.6rem !important;
	}

	.oz-header__mobile-meta-panel .oz-header__brands-popover .oz-brands-modal__grid {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 0.55rem !important;
		max-height: 42vh !important;
		padding: 0 !important;
	}

	.oz-header__mobile-meta-panel .oz-header__category-list li + li {
		border-top: 1px solid rgba(0, 58, 150, 0.08);
	}

	.oz-header__mobile-meta-panel .oz-header__category-list a {
		padding: 0.72rem 0.82rem;
		font-size: 0.9rem;
		line-height: 1.35;
		color: var(--oz-header-search-text);
		transition: background-color 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
	}

	.oz-header__mobile-meta-panel .oz-header__category-list a:hover,
	.oz-header__mobile-meta-panel .oz-header__category-list a:focus-visible {
		background: rgba(0, 58, 150, 0.08);
		color: var(--oz-header-bg-strong);
		padding-left: 1.05rem;
	}

	.oz-header__mobile-meta-toggle:focus-visible,
	.oz-header__mobile-meta-close:focus-visible,
	.oz-header__mobile-meta-panel .oz-header__categories-toggle:focus-visible,
	.oz-header__mobile-meta-panel .oz-header__category-list a:focus-visible {
		outline: 2px solid var(--oz-header-button);
		outline-offset: 2px;
	}

	.oz-header__mobile-meta-panel .oz-brands-modal__cell {
		min-height: 4.5rem !important;
		border-radius: 10px !important;
		border-color: rgba(0, 58, 150, 0.14) !important;
	}

	.oz-header__mobile-meta-panel .oz-brands-modal__logo {
		max-height: 3.1rem !important;
		filter: none !important;
	}

	/* Ocultar elementos no requeridos en la vista móvil solicitada */
	.oz-header__contact-wrap,
	.oz-header__right {
		display: none !important;
	}

	/* El menú principal (.oz-header__nav) ahora es el único popover off-canvas */
	.oz-header__nav {
		position: fixed !important;
		top: 0 !important;
		left: -100% !important;
		right: auto !important;
		width: 85% !important;
		max-width: 350px !important;
		height: 100vh !important;
		height: 100dvh !important;
		background: var(--oz-header-bg, #fff) !important;
		z-index: 1000 !important;
		transition: left 0.3s ease !important;
		overflow-y: auto !important;
		padding: 60px 20px 20px !important;
		box-shadow: 5px 0 25px rgba(0,0,0,0.5) !important;
		display: block !important;
	}

	body.oz-mobile-menu-open .oz-header__nav {
		left: 0 !important;
	}
}

/* Escala móvil progresiva real: 320 / 375 / 425 / 767 */
@media (max-width: 320px) {
	.oz-header__brand {
		max-width: 100px !important;
		margin-left: 40px !important;
	}

	.oz-header__mobile-meta-panel {
		width: min(94vw, 300px);
		padding: 10px 10px 14px;
	}

	.oz-header__mobile-meta-panel .oz-header__category-list a {
		font-size: 0.86rem;
		padding: 0.65rem 0.72rem;
	}
}

@media (min-width: 321px) and (max-width: 375px) {
	.oz-header__brand {
		max-width: 200px !important;
		margin-left: 40px !important;
	}

	.oz-header__mobile-meta-panel {
		width: min(92vw, 330px);
		padding: 12px 12px 16px;
	}

	.oz-header__mobile-meta-panel .oz-header__category-list a {
		font-size: 0.9rem;
		padding: 0.72rem 0.82rem;
	}
}

@media (min-width: 376px) and (max-width: 425px) {
	.oz-header__brand {
		max-width: 200px !important;
		margin-left: 40px !important;
	}

	.oz-header__mobile-meta-panel {
		width: min(90vw, 350px);
		padding: 13px 13px 17px;
	}

	.oz-header__mobile-meta-panel .oz-header__category-list a {
		font-size: 0.93rem;
		padding: 0.75rem 0.86rem;
	}
}

@media (min-width: 426px) and (max-width: 767px) {
	.oz-header__brand {
		max-width: 180px !important;
		margin-left: 40px !important;
	}

	.oz-header__mobile-meta-panel {
		width: min(88vw, 360px);
		padding: 14px 14px 18px;
	}

	.oz-header__mobile-meta-panel .oz-header__category-list a {
		padding: 0.78rem 0.9rem;
		font-size: 0.95rem;
	}

	.oz-header__mobile-meta-panel .oz-header__brands-popover .oz-brands-modal__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
	.oz-header__mobile-meta-overlay,
	.oz-header__mobile-meta-panel,
	.oz-header__mobile-meta-close,
	.oz-header__bottom-meta--mobile-panel > details.oz-header__categories--compact,
	.oz-header__bottom-meta--mobile-panel .oz-header__categories-toggle,
	.oz-header__mobile-meta-panel .oz-header__category-list a {
		transition: none !important;
	}
}
