/* Ocultar únicamente la cabecera nativa del tema Blocksy y otros temas sin afectar el cuerpo ni otros elementos */
header#header:not(.dormytop-site-header),
header.ct-header:not(.dormytop-site-header),
header.site-header:not(.dormytop-site-header),
header#masthead:not(.dormytop-site-header),
.dormytop-header-enabled header#header:not(.dormytop-site-header),
.dormytop-header-enabled header.ct-header:not(.dormytop-site-header),
.dormytop-header-enabled header.site-header:not(.dormytop-site-header) {
	display: none !important;
}

body.admin-bar.dormytop-header-enabled {
	padding-top: 0 !important;
}

.dormytop-header-enabled .xoo-wsc-basket {
	display: none !important;
}

.dormytop-site-header {
	--dormytop-header-bg: #ffffff;
	--dormytop-header-text: #1e293b;
	--dormytop-header-accent: #e50914;
	--dormytop-header-blue: #1e40af;
	--dormytop-megamenu-bg: #0f172a;
	--dormytop-logo-width: 190px;
	--dormytop-logo-height: 60px;
	--dormytop-search-width: 240px;
	--dormytop-megamenu-height: 390px;
	--dormytop-header-image: none;
	--dormytop-header-border: #e5e7eb;
	--dormytop-menu-font-size: 15px;
	--dormytop-submenu-font-size: 14px;
	position: relative;
	z-index: 999;
	height: auto !important;
	min-height: 0 !important;
	margin: 0 !important;
	color: var(--dormytop-header-text);
	background-color: var(--dormytop-header-bg, #ffffff) !important;
	background-image: none !important; /* Sin tintes oscuros: Fondo 100% blanco puro */
	border-bottom: 1px solid var(--dormytop-header-border, #e5e7eb);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.dormytop-site-header,
.dormytop-site-header *,
.dormytop-site-header *::before,
.dormytop-site-header *::after {
	box-sizing: border-box;
}

/* --- CABECERA DE UNA SOLA FILA (SINGLE ROW: LOGO + MENÚ + BOTONES) --- */
.dormytop-header-row {
	position: relative;
	width: 100%;
}

.dormytop-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: min(1440px, calc(100% - 48px));
	min-height: 78px;
	height: auto;
	margin: 0 auto;
	gap: 24px;
}

.dormytop-header-brand {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	max-width: var(--dormytop-logo-width, 190px);
}

.dormytop-header-brand a,
.dormytop-header-brand a:hover {
	color: var(--dormytop-header-text);
	font-size: 26px;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
}

.dormytop-site-header .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.dormytop-site-header .screen-reader-text:focus {
	top: 8px;
	left: 8px;
	z-index: 100000;
	width: auto;
	height: auto;
	padding: 12px 16px;
	overflow: visible;
	clip: auto;
	color: #171717;
	background: #fff;
}

.dormytop-header-brand .custom-logo-link,
.dormytop-header-brand .custom-logo {
	display: block;
	width: 100%;
	height: auto;
	max-height: var(--dormytop-logo-height, 60px);
	object-fit: contain;
}

.dormytop-primary-navigation {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 1 1 auto;
	min-width: 0;
	height: 78px;
}

.dormytop-mobile-nav-heading {
	display: none;
}

.dormytop-primary-menu {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(10px, 1.8vw, 28px);
	height: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}

.dormytop-primary-menu li {
	position: relative;
	margin: 0;
	list-style: none;
}

.dormytop-primary-menu > li > a {
	display: flex;
	align-items: center;
	height: 100%;
	padding: 0 clamp(12px, 1.6vw, 24px);
	border-bottom: 2px solid transparent;
	font-size: var(--dormytop-menu-font-size, 15px);
	font-weight: 600;
	white-space: nowrap;
}

.dormytop-primary-menu a {
	color: var(--dormytop-header-text);
	text-decoration: none;
	transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.dormytop-primary-menu > li:hover > a,
.dormytop-primary-menu > li:focus-within > a,
.dormytop-primary-menu > .current-menu-item > a,
.dormytop-primary-menu > .current-menu-ancestor > a {
	color: var(--dormytop-header-accent);
	border-bottom-color: var(--dormytop-header-accent);
}

.dormytop-primary-menu > .menu-item-has-children > a::after {
	width: 7px;
	height: 7px;
	margin: -4px 0 0 9px;
	border-right: 1.5px solid currentcolor;
	border-bottom: 1.5px solid currentcolor;
	content: "";
	transform: rotate(45deg);
}

.dormytop-primary-menu .sub-menu {
	position: absolute;
	top: calc(100% + 1px);
	left: 0;
	z-index: 20;
	min-width: 260px;
	margin: 0;
	padding: 12px;
	visibility: hidden;
	background: var(--dormytop-header-bg);
	border: 1px solid var(--dormytop-header-border);
	box-shadow: 0 22px 55px rgba(0, 0, 0, 0.2);
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.dormytop-primary-menu .sub-menu .sub-menu {
	top: -13px;
	left: calc(100% + 12px);
}

.dormytop-primary-menu li:hover > .sub-menu,
.dormytop-primary-menu li:focus-within > .sub-menu {
	visibility: visible;
	opacity: 1;
	transform: translateY(0);
}

.dormytop-primary-menu .sub-menu a {
	display: block;
	padding: 11px 14px;
	font-size: var(--dormytop-submenu-font-size, 14px);
	font-weight: 500;
	line-height: 1.35;
}

.dormytop-primary-menu .sub-menu a:hover,
.dormytop-primary-menu .sub-menu a:focus {
	color: var(--dormytop-header-accent);
	background: color-mix(in srgb, var(--dormytop-header-text) 7%, transparent);
}

.dormytop-primary-menu > .dormytop-mega-menu > .sub-menu {
	display: grid;
	grid-template-columns: repeat(3, minmax(170px, 1fr));
	width: min(760px, 75vw);
}

.dormytop-primary-menu > .has-dormytop-megapanel > .sub-menu {
	display: none !important;
}

/* =========================================================
   Mega-Panel (panel de ancho completo al hacer hover)
   ========================================================= */

.dormytop-megapanel {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 30;
	width: 100%;
	visibility: hidden;
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
	box-shadow: 0 28px 60px rgba(0, 0, 0, 0.35);
	pointer-events: none;
}

.dormytop-mobile-megapanel {
	display: none;
}

.dormytop-megapanel.is-open {
	visibility: visible;
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.dormytop-megapanel-inner {
	position: relative;
	min-height: var(--dormytop-megamenu-height);
	overflow: hidden;
	background: var(--dormytop-megamenu-bg, #0f172a);
}

.dormytop-megapanel-content {
	position: relative;
	z-index: 2;
	width: min(58%, 900px);
	min-height: var(--dormytop-megamenu-height);
	padding: 42px clamp(48px, 6vw, 120px);
	background: linear-gradient(90deg, var(--dormytop-megamenu-bg, #0f172a) 0%, var(--dormytop-megamenu-bg, #0f172a) 70%, color-mix(in srgb, var(--dormytop-megamenu-bg, #0f172a) 60%, transparent) 88%, transparent 100%);
}

.dormytop-megapanel-title {
	margin: 0 0 28px;
	color: var(--dormytop-header-text);
	font-size: clamp(28px, 4vw, 46px);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.dormytop-megapanel-columns {
	display: flex;
	gap: 40px;
}

.dormytop-megapanel-col {
	flex: 1;
}

.dormytop-megapanel-col-heading {
	margin: 0 0 12px;
	padding-bottom: 10px;
	color: var(--dormytop-header-text);
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .08em;
	border-bottom: 1px solid var(--dormytop-header-border);
}

.dormytop-megapanel-links {
	margin: 0;
	padding: 0;
	list-style: none;
}

.dormytop-megapanel-links li {
	margin: 0;
}

.dormytop-megapanel-links a {
	display: block;
	padding: 7px 0;
	color: color-mix(in srgb, var(--dormytop-header-text) 75%, transparent);
	font-size: var(--dormytop-submenu-font-size, 14px);
	font-weight: 400;
	text-decoration: none;
	transition: color 140ms ease;
}

.dormytop-megapanel-links a:hover {
	color: var(--dormytop-header-accent);
}

.dormytop-megapanel-image {
	position: absolute;
	inset: 0;
	z-index: 1;
	overflow: hidden;
}

.dormytop-megapanel-image img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100% !important;
	max-width: none !important;
	height: 100% !important;
	object-fit: cover !important;
	object-position: center !important;
}

.dormytop-header-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 4px;
	min-width: 0;
}

.dormytop-header-cart-slot {
	display: flex;
	flex: 0 0 48px;
	width: 48px;
	height: 40px;
	align-items: center;
	justify-content: center;
	overflow: visible;
}

.dormytop-header-cart-slot:empty {
	display: none;
}

.dormytop-header-cart-slot .xoo-wsc-sc-cont {
	position: relative;
	display: inline-grid !important;
	width: 44px !important;
	min-width: 44px;
	height: 40px;
	padding: 0 !important;
	place-items: center;
	float: none !important;
	color: var(--dormytop-header-text);
	background: transparent;
	border: 1px solid transparent;
	border-radius: 4px;
}

.dormytop-header-cart-slot .xoo-wsc-sc-cont:hover {
	color: var(--dormytop-header-accent);
	background: color-mix(in srgb, var(--dormytop-header-text) 8%, transparent);
	border-color: var(--dormytop-header-border);
}

.dormytop-header-cart-slot .xoo-wsc-sc-bki {
	display: inline-flex !important;
	flex: 0 0 26px;
	align-items: center;
	justify-content: center;
	width: 26px !important;
	height: 26px !important;
	margin: 4px 0 0 !important;
	font-size: 24px !important;
	line-height: 26px !important;
}

.dormytop-header-cart-slot .xoo-wsc-sc-bki::before {
	font-size: 24px !important;
	line-height: 26px !important;
}

.dormytop-header-cart-slot .xoo-wsc-sc-count {
	position: absolute !important;
	top: -2px !important;
	right: -2px !important;
	z-index: 1;
	display: grid !important;
	min-width: 18px;
	width: auto !important;
	height: 18px;
	margin: 0 !important;
	padding: 0 5px !important;
	place-items: center;
	transform: none !important;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	line-height: 18px !important;
	background: var(--dormytop-header-accent);
	border-radius: 9px;
}

.dormytop-header-cart-slot .xoo-wsc-sc-subt {
	display: none !important;
}

.dormytop-header-action,
.dormytop-header-action:hover,
.dormytop-header-action:focus {
	position: relative;
	display: inline-grid;
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
	padding: 0;
	place-items: center;
	color: var(--dormytop-header-text);
	line-height: 1;
	text-decoration: none;
	background: transparent;
	border: 1px solid transparent;
	border-radius: 4px;
	box-shadow: none;
}

.dormytop-header-action:hover,
.dormytop-header-action:focus-visible {
	color: var(--dormytop-header-accent);
	background: color-mix(in srgb, var(--dormytop-header-text) 8%, transparent);
	border-color: var(--dormytop-header-border);
}

.dormytop-header-action .dashicons,
.dormytop-menu-toggle .dashicons,
.dormytop-menu-close .dashicons {
	width: 22px;
	height: 22px;
	font-size: 22px;
}

.dormytop-cart-count {
	position: absolute;
	top: 1px;
	right: -1px;
	display: grid;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	place-items: center;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	line-height: 1;
	background: var(--dormytop-header-accent);
	border-radius: 9px;
}

.dormytop-menu-toggle,
.dormytop-menu-close,
.dormytop-submenu-toggle,
.dormytop-menu-toggle[hidden] {
	display: none;
}

.dormytop-menu-backdrop[hidden] {
	display: none !important;
}

.dormytop-header-search-slot {
	position: relative;
	z-index: 40;
	flex: 0 1 var(--dormytop-search-width);
	width: min(var(--dormytop-search-width), 32vw);
	height: 40px;
	min-width: 0;
	margin: 0;
}

/* Buscador por defecto */
.dormytop-header-search-form {
	display: flex;
	align-items: center;
	border: 1px solid #d1d5db;
	border-radius: 9999px;
	overflow: hidden;
	background: #ffffff;
	height: 40px;
	width: 100%;
	margin: 0;
	padding: 0;
}

.dormytop-header-search-form input[type="search"] {
	flex: 1 1 auto;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0 14px;
	color: #1e293b;
	font-size: 14px;
	background: transparent;
	border: none;
	outline: none;
	box-shadow: none;
}

.dormytop-header-search-form button {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 40px !important;
	height: 100% !important;
	padding: 0 !important;
	color: #000000 !important;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	outline: none !important;
	cursor: pointer !important;
}

/* =========================================================
   Integración perfecta de FiboSearch (dgwt-wcas)
   ========================================================= */
.dormytop-header-search-slot .dgwt-wcas-search-wrapp {
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	height: 40px !important;
	display: flex !important;
	align-items: center !important;
}

.dormytop-header-search-slot .dgwt-wcas-search-form {
	width: 100% !important;
	height: 40px !important;
	margin: 0 !important;
	padding: 0 !important;
}

.dormytop-header-search-slot .dgwt-wcas-sf-wrapp {
	position: relative !important;
	display: flex !important;
	align-items: center !important;
	width: 100% !important;
	height: 40px !important;
	background: #f1f5f9 !important;
	border: 1px solid #e2e8f0 !important;
	border-radius: 9999px !important;
	overflow: hidden !important;
	box-sizing: border-box !important;
}

.dormytop-header-search-slot .dgwt-wcas-sf-wrapp:focus-within {
	background: #ffffff !important;
	border-color: #cbd5e1 !important;
	box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05) !important;
}

.dormytop-header-search-slot .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input,
.dormytop-header-search-slot .dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input,
.dormytop-header-search-slot .dgwt-wcas-search-input {
	width: 100% !important;
	height: 100% !important;
	min-height: 38px !important;
	padding: 0 42px 0 16px !important;
	margin: 0 !important;
	font-size: 14px !important;
	color: #1e293b !important;
	background: transparent !important;
	border: none !important;
	border-radius: 9999px !important;
	outline: none !important;
	box-shadow: none !important;
	box-sizing: border-box !important;
	line-height: normal !important;
}

.dormytop-header-search-slot .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit,
.dormytop-header-search-slot .dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit,
.dormytop-header-search-slot .dgwt-wcas-search-submit {
	position: absolute !important;
	left: auto !important;
	right: 10px !important;
	top: 50% !important;
	bottom: auto !important;
	transform: translateY(-50%) !important;
	width: 32px !important;
	height: 32px !important;
	margin: 0 !important;
	padding: 0 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	background: transparent !important;
	border: none !important;
	outline: none !important;
	box-shadow: none !important;
	cursor: pointer !important;
	pointer-events: auto !important;
	z-index: 5 !important;
}

.dormytop-header-search-slot .dgwt-wcas-ico-magnifier {
	width: 18px !important;
	height: 18px !important;
	color: #000000 !important;
	fill: #000000 !important;
	stroke: #000000 !important;
	transition: none !important;
}

.dormytop-header-search-slot .dgwt-wcas-ico-magnifier path {
	color: #000000 !important;
	fill: #000000 !important;
	stroke: #000000 !important;
	transition: none !important;
}

.dormytop-header-search-slot .dgwt-wcas-search-submit:hover .dgwt-wcas-ico-magnifier,
.dormytop-header-search-slot .dgwt-wcas-search-submit:hover .dgwt-wcas-ico-magnifier path,
.dormytop-header-search-slot .dgwt-wcas-search-submit:focus .dgwt-wcas-ico-magnifier,
.dormytop-header-search-slot .dgwt-wcas-search-submit:active .dgwt-wcas-ico-magnifier {
	fill: #000000 !important;
	color: #000000 !important;
	stroke: #000000 !important;
}

.dormytop-header-search-slot .dgwt-wcas-preloader {
	position: absolute !important;
	right: 40px !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	z-index: 4 !important;
}

.dormytop-header-search-slot .dgwt-wcas-voice-search {
	position: absolute !important;
	right: 40px !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	z-index: 4 !important;
}

.dgwt-wcas-suggestions-wrapp {
	z-index: 1000000 !important;
}

/* Iconos de búsqueda siempre negros */
.dormytop-header-search-form button .dashicons,
.dormytop-header-search-form button .dashicons-search,
.dormytop-header-search-form button:hover .dashicons,
.dormytop-header-search-form button:hover .dashicons-search,
.dormytop-header-search-form button:focus .dashicons,
.dormytop-header-search-form button:focus .dashicons-search,
.dormytop-header-search-form button:active .dashicons,
.dormytop-header-search-form button:active .dashicons-search {
	color: #000000 !important;
	fill: #000000 !important;
	font-size: 20px !important;
	width: 20px !important;
	height: 20px !important;
	transition: none !important;
}

.dormytop-site-header button:focus-visible,
.dormytop-site-header a:focus-visible {
	outline: 2px solid var(--dormytop-header-accent);
	outline-offset: 3px;
}

.dormytop-header-search-slot input[type="search"]:focus,
.dormytop-header-search-slot input[type="search"]:focus-visible {
	outline: 0 !important;
	box-shadow: none !important;
}

@media (max-width: 900px) {
	.dormytop-header-row {
		width: 100%;
	}

	.dormytop-header-inner {
		display: flex !important;
		align-items: center !important;
		justify-content: space-between !important;
		width: 100% !important;
		height: 64px !important;
		min-height: 64px !important;
		padding: 0 16px !important;
		gap: 12px !important;
	}

	.dormytop-menu-toggle {
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		width: 40px;
		height: 40px;
		padding: 0;
		color: var(--dormytop-header-text, #1e293b);
		background: transparent;
		border: 0;
		cursor: pointer;
		order: 1;
	}

	.dormytop-header-brand {
		display: flex;
		align-items: center;
		order: 2;
		margin-right: auto;
		max-width: min(var(--dormytop-logo-width), 150px);
	}

	.dormytop-header-brand .custom-logo {
		max-height: 42px;
		width: auto;
	}

	.dormytop-header-actions {
		display: flex;
		align-items: center;
		gap: 10px;
		order: 3;
	}

	.dormytop-header-search-slot {
		width: auto;
	}

	.dormytop-header-search-form {
		height: 36px;
	}

	.dormytop-header-search-form input[type="search"] {
		width: 110px !important;
		font-size: 13px;
		padding: 0 8px;
	}

	.dormytop-header-search-form button {
		width: 32px !important;
	}

	.dormytop-header-search-slot .dgwt-wcas-search-wrapp,
	.dormytop-header-search-slot .dgwt-wcas-search-form,
	.dormytop-header-search-slot .dgwt-wcas-sf-wrapp {
		height: 36px !important;
	}

	.dormytop-header-search-slot .dgwt-wcas-search-input {
		min-height: 34px !important;
		font-size: 13px !important;
		width: 120px !important;
		padding: 0 34px 0 12px !important;
	}

	.dormytop-header-search-slot .dgwt-wcas-search-submit {
		width: 34px !important;
	}

	/* Cajón lateral móvil: disposición vertical limpia */
	.dormytop-primary-navigation {
		position: fixed !important;
		top: 0 !important;
		left: 0 !important;
		z-index: 1000005 !important;
		width: min(85vw, 320px) !important;
		height: 100vh !important;
		height: 100dvh !important;
		min-height: 0 !important;
		margin: 0 !important;
		padding: 0 !important;
		overflow-x: hidden !important;
		overflow-y: auto !important;
		-webkit-overflow-scrolling: touch;
		visibility: hidden !important;
		color: #1e293b !important;
		background: #ffffff !important;
		box-shadow: 10px 0 35px rgba(0, 0, 0, 0.25) !important;
		transform: translateX(-105%) !important;
		transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1), visibility 260ms ease !important;
		display: flex !important;
		flex-direction: column !important;
		align-items: stretch !important;
		justify-content: flex-start !important;
	}

	.dormytop-site-header.is-menu-open {
		z-index: 1000002 !important;
	}

	.dormytop-site-header.is-menu-open .dormytop-primary-navigation {
		visibility: visible !important;
		transform: translateX(0) !important;
	}

	body.admin-bar .dormytop-primary-navigation {
		top: 46px !important;
		height: calc(100vh - 46px) !important;
		height: calc(100dvh - 46px) !important;
	}

	/* Encabezado dentro del panel móvil: Logo a la izquierda, X a la derecha */
	.dormytop-mobile-nav-heading {
		display: flex !important;
		align-items: center !important;
		justify-content: space-between !important;
		width: 100% !important;
		height: 60px !important;
		min-height: 60px !important;
		padding: 0 16px !important;
		border-bottom: 1px solid #e5e7eb !important;
		margin: 0 !important;
		background: #ffffff !important;
		flex-shrink: 0 !important;
		box-sizing: border-box !important;
	}

	.dormytop-mobile-logo {
		display: flex !important;
		align-items: center !important;
		max-width: 140px !important;
	}

	.dormytop-mobile-logo .custom-logo-link,
	.dormytop-mobile-logo .custom-logo {
		display: block !important;
		max-height: 36px !important;
		max-width: 130px !important;
		width: auto !important;
		object-fit: contain !important;
		height: auto !important;
	}

	.dormytop-menu-close {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: 36px !important;
		height: 36px !important;
		padding: 0 !important;
		color: #1e293b !important;
		background: #f1f5f9 !important;
		border: 1px solid #e2e8f0 !important;
		border-radius: 6px !important;
		cursor: pointer !important;
	}

	.dormytop-close-icon {
		font-size: 26px !important;
		line-height: 1 !important;
		color: #0f172a !important;
		font-weight: 400 !important;
		font-style: normal !important;
	}

	/* Lista del menú móvil vertical */
	.dormytop-primary-menu {
		display: flex !important;
		flex-direction: column !important;
		width: 100% !important;
		height: auto !important;
		margin: 0 !important;
		padding: 8px 0 24px !important;
		list-style: none !important;
		gap: 0 !important;
		box-sizing: border-box !important;
	}

	.dormytop-primary-menu > li {
		width: 100% !important;
		position: relative !important;
		border-bottom: 1px solid #f1f5f9 !important;
		margin: 0 !important;
		display: flex !important;
		flex-direction: column !important;
		height: auto !important;
		box-sizing: border-box !important;
	}

	.dormytop-primary-menu > li > a {
		display: flex !important;
		align-items: center !important;
		width: 100% !important;
		height: 50px !important;
		min-height: 50px !important;
		max-height: 50px !important;
		padding: 0 54px 0 18px !important;
		color: #1e293b !important;
		font-size: 15px !important;
		font-weight: 600 !important;
		text-align: left !important;
		justify-content: flex-start !important;
		border-bottom: none !important;
		box-sizing: border-box !important;
		text-decoration: none !important;
		transition: color 0.15s ease !important;
		flex-shrink: 0 !important;
	}

	.dormytop-primary-menu > li:hover > a,
	.dormytop-primary-menu > li.current-menu-item > a,
	.dormytop-primary-menu > li.is-mobile-megapanel-open > a,
	.dormytop-primary-menu > li.is-submenu-open > a {
		color: var(--dormytop-header-accent, #e50914) !important;
	}

	.dormytop-submenu-toggle {
		position: absolute !important;
		right: 14px !important;
		top: 9px !important;
		bottom: auto !important;
		transform: none !important;
		width: 32px !important;
		height: 32px !important;
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		background: #f1f5f9 !important;
		border: 1px solid #e2e8f0 !important;
		border-radius: 6px !important;
		color: #475569 !important;
		font-size: 18px !important;
		line-height: 1 !important;
		cursor: pointer !important;
		box-shadow: none !important;
		z-index: 2 !important;
	}

	.dormytop-submenu-toggle::before {
		content: "+" !important;
	}

	.dormytop-submenu-toggle[aria-expanded="true"]::before {
		content: "\2212" !important;
	}

	.dormytop-primary-menu > .has-dormytop-megapanel > .sub-menu {
		display: none !important;
	}

	.dormytop-primary-menu .sub-menu,
	.dormytop-primary-menu .sub-menu .sub-menu,
	.dormytop-primary-menu > .dormytop-mega-menu > .sub-menu {
		position: static !important;
		display: block !important;
		width: 100% !important;
		min-width: 0 !important;
		max-height: 0 !important;
		padding: 0 0 0 16px !important;
		overflow: hidden !important;
		visibility: visible !important;
		background: #f8fafc !important;
		border: 0 !important;
		box-shadow: none !important;
		opacity: 1 !important;
		transform: none !important;
		transition: max-height 240ms ease !important;
		box-sizing: border-box !important;
	}

	.dormytop-primary-menu .is-submenu-open > .sub-menu {
		max-height: 1600px !important;
	}

	.dormytop-primary-menu .sub-menu a {
		display: block !important;
		width: 100% !important;
		min-height: 44px !important;
		height: auto !important;
		padding: 10px 16px !important;
		font-size: var(--dormytop-submenu-font-size, 14px) !important;
		color: #475569 !important;
		box-sizing: border-box !important;
	}

	.dormytop-megapanel {
		display: none !important;
	}

	.dormytop-mobile-megapanel {
		display: block !important;
		width: 100% !important;
		height: auto !important;
		position: static !important;
		padding: 10px 16px 16px !important;
		background: #f8fafc !important;
		border-radius: 6px !important;
		margin: 0 !important;
		box-sizing: border-box !important;
		clear: both !important;
	}

	.dormytop-mobile-megapanel[hidden] {
		display: none !important;
	}

	.dormytop-mobile-megapanel .dormytop-megapanel-inner {
		display: block !important;
		position: static !important;
		min-height: 0 !important;
		height: auto !important;
		background: transparent !important;
		overflow: visible !important;
		padding: 0 !important;
		margin: 0 !important;
		box-sizing: border-box !important;
	}

	.dormytop-mobile-megapanel .dormytop-megapanel-content {
		display: block !important;
		position: static !important;
		width: 100% !important;
		min-height: 0 !important;
		height: auto !important;
		padding: 0 !important;
		margin: 0 !important;
		background: transparent !important;
		box-sizing: border-box !important;
	}

	.dormytop-mobile-megapanel .dormytop-megapanel-title {
		display: none !important;
	}

	.dormytop-mobile-megapanel .dormytop-megapanel-columns {
		display: flex !important;
		flex-direction: column !important;
		gap: 14px !important;
		width: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	.dormytop-mobile-megapanel .dormytop-megapanel-col {
		display: block !important;
		width: 100% !important;
		flex: none !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	.dormytop-mobile-megapanel .dormytop-megapanel-col + .dormytop-megapanel-col {
		margin-top: 0 !important;
	}

	.dormytop-mobile-megapanel .dormytop-megapanel-col-heading {
		display: block !important;
		color: #1e293b !important;
		font-size: 13px !important;
		font-weight: 700 !important;
		margin: 0 0 6px 0 !important;
		padding: 0 !important;
		border-bottom: 1px solid #e2e8f0 !important;
		padding-bottom: 4px !important;
	}

	.dormytop-mobile-megapanel .dormytop-megapanel-links {
		display: flex !important;
		flex-direction: column !important;
		margin: 0 !important;
		padding: 0 !important;
		list-style: none !important;
		width: 100% !important;
		gap: 2px !important;
	}

	.dormytop-mobile-megapanel .dormytop-megapanel-links li {
		display: block !important;
		width: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
		list-style: none !important;
	}

	.dormytop-mobile-megapanel .dormytop-megapanel-links a {
		display: block !important;
		width: 100% !important;
		padding: 8px 10px !important;
		color: #475569 !important;
		font-size: var(--dormytop-submenu-font-size, 14px) !important;
		font-weight: 500 !important;
		text-decoration: none !important;
		box-sizing: border-box !important;
		border-radius: 4px !important;
		transition: background-color 0.15s ease, color 0.15s ease !important;
	}

	.dormytop-mobile-megapanel .dormytop-megapanel-links a:hover,
	.dormytop-mobile-megapanel .dormytop-megapanel-links a:focus {
		color: var(--dormytop-header-accent, #e50914) !important;
		background: rgba(0, 0, 0, 0.04) !important;
	}

	.dormytop-mobile-megapanel .dormytop-megapanel-image {
		display: none !important;
	}

	.dormytop-menu-backdrop {
		position: fixed !important;
		inset: 0 !important;
		z-index: 1000000 !important;
		display: block !important;
		width: 100vw !important;
		height: 100vh !important;
		padding: 0 !important;
		background: rgba(0, 0, 0, 0.5) !important;
		backdrop-filter: none !important;
		-webkit-backdrop-filter: none !important;
		filter: none !important;
		border: 0 !important;
		border-radius: 0 !important;
		cursor: pointer !important;
	}

	body.dormytop-menu-lock {
		overflow: hidden !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.dormytop-site-header *,
	.dormytop-site-header *::before,
	.dormytop-site-header *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
