/* GricGroup product category drawer. Loaded after the historical theme CSS. */
body.gg-native-theme .gg-site-header > .gg-category-panel {
	--gg-category-drawer-width: 390px;
	position: fixed !important;
	top: 0 !important;
	bottom: 0 !important;
	left: 0 !important;
	right: auto !important;
	display: flex !important;
	visibility: hidden;
	width: var(--gg-category-drawer-width) !important;
	max-width: 100vw !important;
	height: 100vh !important;
	height: 100dvh !important;
	min-height: 0 !important;
	max-height: none !important;
	padding: 0 !important;
	flex-direction: column;
	overflow: hidden !important;
	background: #f7f9fc !important;
	color: #162d57 !important;
	box-shadow: 10px 16px 24px rgba(10, 28, 58, 0.18) !important;
	opacity: 1 !important;
	pointer-events: none;
	transform: translate3d(-100%, 0, 0);
	will-change: transform;
	transition: none;
}

body.gg-native-theme.gg-category-open {
	overflow: clip !important;
}

body.admin-bar.gg-native-theme .gg-site-header > .gg-category-panel {
	top: 32px !important;
	height: calc(100vh - 32px) !important;
	height: calc(100dvh - 32px) !important;
}

body.gg-native-theme .gg-site-header > .gg-category-panel.is-open {
	visibility: visible;
	pointer-events: auto;
	transform: translate3d(0, 0, 0);
	animation: gg-category-slide-in 260ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.gg-native-theme .gg-site-header > .gg-category-panel.is-closing {
	visibility: visible;
	pointer-events: none;
	animation: gg-category-slide-out 260ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes gg-category-slide-in {
	from {
		transform: translate3d(-100%, 0, 0);
	}
	to {
		transform: translate3d(0, 0, 0);
	}
}

@keyframes gg-category-slide-out {
	from {
		transform: translate3d(0, 0, 0);
	}
	to {
		transform: translate3d(-100%, 0, 0);
	}
}

.gg-native-theme .gg-category-panel__header {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 82px;
	padding: 17px 20px 17px 24px;
	box-sizing: border-box;
	background: #162d57;
	color: #fff;
}

.gg-native-theme .gg-category-panel__header h2,
.gg-native-theme .gg-category-panel__header p {
	margin: 0;
	color: inherit;
}

.gg-native-theme .gg-category-panel__header h2 {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
}

.gg-native-theme .gg-category-panel__header p {
	margin-top: 4px;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.3;
	opacity: 0.72 !important;
}

.gg-native-theme .gg-category-panel .gg-panel-close {
	position: static;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	min-width: 40px;
	margin: 0;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.34);
	border-radius: 4px;
	background: transparent;
	color: #fff;
	font-size: 27px;
	font-weight: 300;
	line-height: 1;
	cursor: pointer;
	transition: background-color 180ms ease-out, border-color 180ms ease-out;
}

.gg-native-theme .gg-category-panel .gg-panel-close:hover,
.gg-native-theme .gg-category-panel .gg-panel-close:focus-visible {
	border-color: #77afe8;
	background: #77afe8;
	outline: none;
}

.gg-native-theme .gg-category-panel__body {
	flex: 1 1 auto;
	min-height: 0;
	padding: 16px 20px 22px;
	overflow-y: auto;
	overscroll-behavior: contain;
	background: #f7f9fc;
	scrollbar-width: thin;
	scrollbar-color: #a9b8cb transparent;
}

.gg-native-theme .gg-category-filter {
	position: relative;
	flex: 0 0 auto;
	padding: 16px 20px 0;
	background: #f7f9fc;
}

.gg-native-theme .gg-category-filter input {
	display: block;
	box-sizing: border-box;
	width: 100%;
	height: 46px;
	margin: 0;
	padding: 0 42px 0 14px;
	border: 1px solid #cbd6e3;
	border-radius: 0;
	background: #fff;
	color: #162d57;
	font: 500 14px/1.2 "Ubuntu", "Roboto", Arial, sans-serif;
	outline: none;
	transition: border-color 160ms ease-out, box-shadow 160ms ease-out;
}

.gg-native-theme .gg-category-filter input:focus {
	border-color: #77afe8;
	box-shadow: 0 0 0 3px rgba(119, 175, 232, 0.18);
}

.gg-native-theme .gg-category-filter input::placeholder {
	color: #7b8797;
	opacity: 1;
}

.gg-native-theme .gg-category-filter__icon {
	position: absolute;
	top: 50%;
	right: 34px;
	display: grid;
	place-items: center;
	width: 20px;
	height: 20px;
	color: #31598b;
	pointer-events: none;
	transform: translateY(-14%);
}

.gg-native-theme .gg-category-filter__icon svg {
	display: block;
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.gg-native-theme .gg-category-filter__empty {
	margin: 18px 0 0;
	padding: 24px 16px;
	border: 1px solid #dce4ee;
	background: #fff;
	color: #5c6879;
	font-size: 14px;
	line-height: 1.5;
	text-align: center;
}

.gg-native-theme .gg-category-panel__body li[hidden],
.gg-native-theme .gg-category-filter__empty[hidden] {
	display: none !important;
}

.gg-native-theme .gg-category-panel__body::-webkit-scrollbar {
	width: 7px;
}

.gg-native-theme .gg-category-panel__body::-webkit-scrollbar-thumb {
	border-radius: 4px;
	background: #a9b8cb;
}

.gg-native-theme .gg-category-panel__body ul {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.gg-native-theme .gg-category-panel__body li {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-bottom: 1px solid #dce4ee !important;
}

.gg-native-theme .gg-category-panel__body li:last-child {
	border-bottom: 0 !important;
}

.gg-native-theme .gg-category-panel__body a,
.gg-native-theme .gg-category-panel__body .gg-category-parent-toggle {
	position: relative;
	display: flex !important;
	align-items: center;
	min-height: 52px;
	padding: 10px 42px 10px 14px !important;
	box-sizing: border-box;
	border-radius: 0;
	background: transparent;
	color: #162d57 !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	line-height: 1.35 !important;
	text-decoration: none !important;
	text-align: left;
	opacity: 1 !important;
	transition: background-color 160ms ease-out, color 160ms ease-out;
}

.gg-native-theme .gg-category-panel__body .gg-category-parent-toggle {
	width: 100%;
	border: 0;
	font-family: inherit;
	cursor: pointer;
}

.gg-native-theme .gg-category-panel__body .gg-category-parent-toggle svg {
	position: absolute;
	top: 50%;
	right: 14px;
	width: 18px;
	height: 18px;
	fill: #77afe8;
	transform: translateY(-50%);
	transition: transform 180ms ease-out;
}

.gg-native-theme .gg-category-panel__body .menu-item-has-children.is-expanded > .gg-category-parent-toggle svg {
	transform: translateY(-50%) rotate(90deg);
}

.gg-native-theme .gg-category-panel__body a:not(.gg-category-all-link a)::after {
	content: "\203A";
	position: absolute;
	top: 50%;
	right: 15px;
	color: #77afe8;
	font-size: 23px;
	font-weight: 400;
	line-height: 1;
	transform: translateY(-53%);
	transition: transform 180ms ease-out;
}

.gg-native-theme .gg-category-panel__body a:hover,
.gg-native-theme .gg-category-panel__body a:focus-visible,
.gg-native-theme .gg-category-panel__body .gg-category-parent-toggle:hover,
.gg-native-theme .gg-category-panel__body .gg-category-parent-toggle:focus-visible {
	background: #eaf2fa;
	color: #0d244d !important;
	outline: none;
}

.gg-native-theme .gg-category-panel__body a:hover::after,
.gg-native-theme .gg-category-panel__body a:focus-visible::after {
	transform: translate(3px, -53%);
}

.gg-native-theme #gg-category-list-wrap > ul > li:first-child {
	margin-bottom: 10px !important;
	border-bottom: 0 !important;
}

.gg-native-theme #gg-category-list-wrap > ul > li:first-child > a {
	min-height: 54px;
	padding-left: 18px !important;
	border-radius: 4px;
	background: linear-gradient(110deg, #162d57 0%, #4f93d8 100%);
	color: #fff !important;
	font-weight: 700 !important;
}

.gg-native-theme #gg-category-list-wrap > ul > li:first-child > a::after {
	color: #fff;
}

.gg-native-theme #gg-category-list-wrap > ul > li:first-child > a:hover,
.gg-native-theme #gg-category-list-wrap > ul > li:first-child > a:focus-visible {
	background: linear-gradient(110deg, #0d244d 0%, #77afe8 100%);
}

.gg-native-theme .gg-category-panel__body .gg-category-submenu[hidden] {
	display: none !important;
}

.gg-native-theme .gg-category-panel__body .gg-category-submenu {
	margin: 0 0 8px !important;
	border-left: 2px solid #77afe8;
	background: #edf3f9;
}

.gg-native-theme .gg-category-panel__body .gg-category-submenu li {
	border-bottom-color: #d7e1ec !important;
}

.gg-native-theme .gg-category-panel__body .gg-category-submenu a,
.gg-native-theme .gg-category-panel__body .gg-category-submenu .gg-category-parent-toggle {
	min-height: 44px;
	padding-left: 26px !important;
	font-size: 13px !important;
	font-weight: 500 !important;
}

.gg-native-theme .gg-category-panel__body .gg-category-submenu .gg-category-submenu a,
.gg-native-theme .gg-category-panel__body .gg-category-submenu .gg-category-submenu .gg-category-parent-toggle {
	padding-left: 40px !important;
}

.gg-native-theme .gg-category-panel__body .gg-category-all-link > a {
	min-height: 42px;
	color: #31598b !important;
	font-weight: 700 !important;
}

.gg-native-theme .gg-category-panel__body .gg-category-all-link > a::after {
	content: none;
}

@media (max-width: 760px) {
	body.gg-native-theme .gg-site-header > .gg-category-panel {
		width: 100vw !important;
		height: 100vh !important;
		height: 100dvh !important;
		max-width: 100vw !important;
	}

	body.admin-bar.gg-native-theme .gg-site-header > .gg-category-panel {
		top: 46px !important;
		height: calc(100vh - 46px) !important;
		height: calc(100dvh - 46px) !important;
	}

	.gg-native-theme .gg-category-panel__header {
		min-height: 76px;
		padding: 14px 18px;
	}

	.gg-native-theme .gg-category-panel__header h2 {
		font-size: 19px;
	}

	.gg-native-theme .gg-category-panel__body {
		padding: 14px 18px 22px;
	}

	.gg-native-theme .gg-category-filter {
		padding: 14px 18px 0;
	}

	.gg-native-theme .gg-category-filter__icon {
		right: 32px;
	}

	.gg-native-theme .gg-category-panel__body a {
		min-height: 50px;
		font-size: 14px !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.gg-native-theme .gg-category-panel,
	.gg-native-theme .gg-category-panel__body a,
	.gg-native-theme .gg-category-panel__body a::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}

/* Modern category browser: stable side-by-side subcategories on desktop. */
.gg-native-theme .gg-category-filter input { border-radius: 10px; }
.gg-native-theme .gg-category-panel .gg-panel-close { border-radius: 10px; }
.gg-native-theme .gg-category-panel__body li { border-bottom: 0 !important; }
.gg-native-theme .gg-category-panel__body a,
.gg-native-theme .gg-category-panel__body .gg-category-parent-toggle {
 min-height: 44px; border-radius: 8px; font-weight: 500 !important;
}
.gg-native-theme .gg-category-panel__body a:focus-visible,
.gg-native-theme .gg-category-panel__body button:focus-visible { outline: 2px solid #3983c5; outline-offset: -2px; }
.gg-native-theme .gg-category-panel__body .is-expanded > .gg-category-parent-toggle { background: #e5effa; color: #154d83 !important; font-weight: 700 !important; }
.gg-native-theme .gg-category-panel__body a::after { content: none !important; }
.gg-native-theme .gg-category-panel__body .gg-category-submenu { border: 0; border-radius: 10px; padding: 8px !important; }
.gg-native-theme .gg-category-panel__body .gg-category-submenu a { padding-left: 14px !important; }
.gg-native-theme #gg-category-list-wrap > ul > li:first-child > a { min-height: 46px; border-radius: 8px; background: #193961; }
@media (min-width: 900px) {
 body.gg-native-theme .gg-site-header > .gg-category-panel { --gg-category-drawer-width: 800px; max-width: calc(100vw - 48px) !important; background: #fff !important; }
 .gg-native-theme .gg-category-panel__header { min-height: 90px; padding: 22px 28px; }
 .gg-native-theme .gg-category-filter { padding: 18px 24px; background: #fff; }
 .gg-native-theme .gg-category-filter__icon { transform: translateY(-50%); right: 38px; }
 .gg-native-theme .gg-category-panel__body { position: relative; padding: 0; overflow: hidden; background: #fff; }
 .gg-native-theme #gg-category-list-wrap { width: 320px; height: 100%; overflow-y: auto; padding: 0 16px 24px; box-sizing: border-box; border-right: 1px solid #e4eaf2; background: #f7f9fc; scrollbar-width: thin; scrollbar-color: #a9b8cb transparent; }
 .gg-native-theme #gg-category-list-wrap > ul,
 .gg-native-theme #gg-category-list-wrap > ul > li { position: static !important; }
 .gg-native-theme #gg-category-list-wrap > ul > li > .gg-category-submenu {
  position: absolute !important; top: 0 !important; left: 320px !important; right: 0 !important; bottom: 0 !important;
  width: auto !important; max-height: none !important; margin: 0 !important; padding: 8px 24px 28px !important;
  overflow-y: auto; background: #fff; border: 0; border-radius: 0; box-shadow: none;
  scrollbar-width: thin; scrollbar-color: #a9b8cb transparent;
 }
 .gg-native-theme #gg-category-list-wrap > ul > li > .gg-category-submenu > li { margin-bottom: 6px !important; }
 .gg-native-theme #gg-category-list-wrap > ul > li > .gg-category-submenu > .gg-category-all-link { margin-bottom: 20px !important; border-bottom: 1px solid #e4eaf2 !important; padding-bottom: 12px !important; }
 .gg-native-theme #gg-category-list-wrap > ul > li > .gg-category-submenu > .gg-category-all-link a { font-size: 20px !important; line-height: 1.4 !important; color: #162d57 !important; padding: 12px !important; }
 .gg-native-theme #gg-category-list-wrap > ul > li > .gg-category-submenu > li:not(.gg-category-all-link) > a { background: #f5f8fc; min-height: 52px; padding: 14px 18px !important; font-size: 15px !important; }
 .gg-native-theme #gg-category-list-wrap > ul > li > .gg-category-submenu > li > a:hover { background: #e5effa; }
 .gg-native-theme #gg-category-list-wrap > ul > li.is-expanded > .gg-category-parent-toggle svg { transform: translateY(-50%); }
 .gg-native-theme .gg-category-panel.is-searching .gg-category-panel__body { overflow-y: auto; }
 .gg-native-theme .gg-category-panel.is-searching #gg-category-list-wrap { width: 100%; height: auto; overflow: visible; border: 0; background: #fff; }
 .gg-native-theme .gg-category-panel.is-searching #gg-category-list-wrap > ul > li > .gg-category-submenu { position: static !important; padding: 10px 16px !important; background: #f7f9fc; border-radius: 10px; }
}
@media (prefers-reduced-motion: reduce) {
 .gg-native-theme .gg-category-parent-toggle, .gg-native-theme .gg-category-parent-toggle svg { transition: none !important; }
}

/* Open compact; reveal the second column only after category expansion. */
@media (min-width: 900px) {
 body.gg-native-theme .gg-site-header > .gg-category-panel:not(.is-searching):not(:has(.gg-category-parent-toggle[aria-expanded="true"])) { --gg-category-drawer-width: 390px; }
 .gg-native-theme .gg-category-panel:not(.is-searching):not(:has(.gg-category-parent-toggle[aria-expanded="true"])) #gg-category-list-wrap { width: 100%; border-right: 0; }
}
