/* TRS navbar + topbar — matches src/lib/components/Navbar.svelte & Topbar.svelte */

.material-symbols-rounded.filled-icon {
	font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.header-shell {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 30;
	transform: translate3d(0, 0, 0);
	transition: transform 0.3s var(--ease-out, ease);
	will-change: transform;
}
.header-shell.is-scroll-hidden {
	transform: translate3d(0, -100%, 0);
	pointer-events: none;
}
.topbar-host {
	max-height: 40px;
	overflow: hidden;
	transition: max-height 0.18s ease, opacity 0.18s ease;
}
.header-shell.scrolled .topbar-host {
	max-height: 0;
	opacity: 0;
}
.header-spacer {
	width: 100%;
	flex-shrink: 0;
	/* Reserve space before JS measures header — avoids content jumping under fixed nav */
	min-height: 7.5rem;
}

@media (min-width: 961px) {
	.header-spacer {
		min-height: 10.5rem;
	}
}

.topbar {
	background: var(--color-green-200);
	color: #1f2937;
	font-size: 13px;
	border-bottom: 1px solid var(--color-green-300);
}
.topbar-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding-top: 8px;
	padding-bottom: 8px;
}
.topbar-list {
	display: flex;
	flex-direction: row;
	align-items: center;
	list-style: none;
	padding: 0;
	margin: 0;
}
.topbar-list li {
	white-space: nowrap;
	padding: 0 20px;
	margin: 0;
	font-size: 13px;
}
.promotion {
	display: flex;
	width: max-content;
	animation: trs-marquee 18s linear infinite;
}
.topbar--slideshow .topbar-left {
	display: flex;
	align-items: center;
}
.topbar-slideshow {
	width: 100%;
	overflow: hidden;
}
.topbar-slideshow .swiper-slide {
	display: flex;
	align-items: center;
	justify-content: center;
	height: auto;
}
.topbar-slide-label,
.topbar-slide-link {
	color: inherit;
	font-size: 13px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 100%;
}
.topbar-slide-link {
	text-decoration: none;
}
.topbar-slide-link:hover {
	text-decoration: underline;
}
.topbar-left {
	overflow: hidden;
	flex: 1;
	min-width: 0;
}
.topbar-right {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-shrink: 0;
	max-width: 320px;
	font-weight: 600;
}
.topbar-right a {
	display: flex;
	align-items: center;
	gap: 4px;
	color: #111827;
	font-size: 13px;
}
.topbar-item {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 13px;
}
.vertical-divider {
	width: 1px;
	height: 18px;
	background: #111827;
}
@keyframes trs-marquee {
	from { transform: translate3d(0, 0, 0); }
	to { transform: translate3d(-50%, 0, 0); }
}
@media (max-width: 720px) {
	.topbar-right { display: none; }
}

.navbar-wrap {
	position: relative;
	width: 100%;
	background: var(--color-green-500);
	color: white;
	box-shadow: 0 8px 22px rgba(17, 24, 39, 0.2);
}
.navbar-main {
	display: grid;
	grid-template-columns: auto 1fr auto;
	grid-template-areas: 'menu brand actions' 'search search search';
	gap: 12px clamp(16px, 4vw, 48px);
	align-items: center;
	padding-top: 16px;
	padding-bottom: 16px;
}
.menu-toggle {
	display: none;
	grid-area: menu;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: none;
	background: transparent;
	color: #fff;
	cursor: pointer;
	border-radius: var(--radius-btn);
}
.brand { grid-area: brand; justify-self: center; }
.brand-logo {
	max-width: min(280px, 36vw);
	height: auto;
	display: block;
}
.search { 
	display: flex; max-width: 520px; width: 100%; 

	input[type=search] {
		min-height: 45px;
	}
}
.search--desktop { 
	grid-area: search;
	justify-self: center;
	max-width: 700px;
	margin: 0 auto;
 }
.search--mobile { display: none; margin-bottom: 0 !important;}
.search input {
	flex: 1;
	background: white;
	color: #111827;
	border: 0;
	border-radius: 0;
	height: 40px;
	padding: 10px;
	min-width: 0;
}
.search button {
	display: flex;
	align-items: center;
	justify-content: center;
	border: 0;
	background: var(--color-green-400);
	color: var(--color-green-500);
	padding: 0 16px;
	border-radius: 0;
	cursor: pointer;
}
.actions {
	grid-area: actions;
	display: flex;
	gap: 8px;
	align-items: center;
}
.nav-text {
	display: flex;
	align-items: center;
	gap: 6px;
	color: white;
	font-size: 14px;
	max-width: 140px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.nav-text:hover { color: white; opacity: 0.9; }
.cart-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	background: transparent;
	color: #fff;
	border: none;
	padding: 0;
	cursor: pointer;
	border-radius: var(--radius-btn);
}
.cart-btn:hover { background: rgba(255, 255, 255, 0.1); opacity: 1; }
.cart-btn__icon { font-size: 26px; }
.cart-badge {
	position: absolute;
	top: 4px;
	right: 2px;
	height: 18px;
	padding: 0 5px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	color: var(--color-green-500);
	background: var(--color-green-400);
	border-radius: var(--radius-full);
}
.cart-badge[hidden] { display: none !important; }

.cart-backdrop {
	position: fixed;
	inset: 0;
	z-index: 118;
	background: rgba(17, 24, 39, 0.45);
	border: none;
	padding: 0;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease, visibility 0.25s ease;
}
.cart-backdrop.is-open {
	opacity: 1;
	visibility: visible;
}

.navbar-cats {
	background: var(--color-green-500);
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.cat-row {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 14px;
	padding-top: 10px;
	padding-bottom: 10px;
}
.cat-link {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #fff;
	font-size: 15px;
	white-space: nowrap;
	padding: 4px 10px 4px 0;
	border: none;
	background: transparent;
	font-family: inherit;
	cursor: pointer;
	text-decoration: none;
}
.cat-link::after {
	content: '';
	position: absolute;
	left: 0;
	right: 10px;
	bottom: -10px;
	height: 2px;
	background: var(--color-green-400);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 200ms ease;
}
.cat-link.active::after {
	transform: scaleX(1);
}
.cat-chevron {
	font-size: 18px;
	opacity: 0.85;
	transition: transform 200ms ease;
}
.cat-link.active .cat-chevron {
	transform: rotate(180deg);
}
.cat-link:hover,
.cat-link.active {
	color: #fff;
	opacity: 1;
}

.nav-item-tag {
	display: inline-flex;
	align-items: center;
	padding: 4px 6px;
	font-family: "Roboto", sans-serif;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	border-radius: 4px;
	line-height: 1.2;
	border-radius: 0;
	flex-shrink: 0;
	vertical-align: middle;
}

.nav-item-tag--new {
	background: var(--color-yellow-300);
	color: black;
}

.nav-item-tag--sale {
	background: var(--color-red-300);
	color: black;
}

.nav-item-tag--hot {
	background: var(--color-blue-500);
	color: white;
}

.cat-link .nav-item-tag--new {
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.nav-dropdown-link,
.drawer-panel-link,
.drawer-secondary-link,
.drawer-section-title,
.drawer-nested-title {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.nav-panel {
	display: block;
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	background: #fff;
	color: var(--color-text);
	border-bottom: 1px solid var(--color-border);
	box-shadow: 0 16px 40px rgba(17, 24, 39, 0.12);
	z-index: 29;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translate3d(0, -6px, 0);
}
.nav-panel::before {
	content: '';
	position: absolute;
	top: -16px;
	left: 0;
	right: 0;
	height: 16px;
}
.nav-panel.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translate3d(0, 0, 0);
	transition:
		opacity 200ms var(--ease-out, ease),
		visibility 200ms var(--ease-out, ease),
		transform 200ms var(--ease-out, ease);
}
.panel-inner { padding-top: 24px; padding-bottom: 24px; }
.panel-inner h6 {
	margin: 0 0 14px;
	font-family: var(--font-title);
	text-transform: uppercase;
	color: var(--color-green-500);
	letter-spacing: 0.02em;
}
.panel-inner--mega {
	display: grid;
	grid-template-columns: 0.5fr 0.6fr 0.75fr 1.25fr;
	gap: 20px;
}
.panel-inner--mega .mega-panel-footer {
	grid-column: 1 / -1;
}

.mega-pillar-link--all {
	display: flex;
	flex-direction: row;
	align-items: center;
	width: fit-content;
	gap: 10px;
	color: var(--color-green-500);
	text-decoration: none;
	transition: all 200ms ease;

}
.mega-pillar-link--all > .material-symbols-rounded {
	font-size: 22px;
	flex-shrink: 0;
}
.mega-pillar-link--all__copy {
	display: flex;
	flex-direction: column;
	gap: 2px;
	flex: 1;
	min-width: 0;
}

.mega-pillar-link--all__copy strong {
	font-family: var(--font-title);
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--color-green-500);
	line-height: 1.2;
	transition: all 200ms ease;

}
.mega-pillar-link--all__copy span {
	font-size: 12px;
	font-weight: 500;
	line-height: 1.35;
	opacity: 0.9;
}

.mega-pillar-link--all__arrow {
	transform: translateX(0);
	transition: all 200ms ease;
}

.mega-pillar-link--all:hover > .mega-pillar-link--all__arrow {
	transform: translateX(5px);
	color: var(--color-green-400);
}

.mega-pillar-link--all:hover > .mega-pillar-link--all__copy strong {
	color: var(--color-green-400);
}

.mega-pillar-link--all__arrow {
	margin-left: auto;
	font-size: 20px;
	flex-shrink: 0;
}

.panel-col h6 {
	font-family: var(--font-title);
	text-transform: uppercase;
	color: var(--color-green-500);
	letter-spacing: 0.02em;
}


.mega-grid {
	display: grid;
	grid-template-columns: repeat(1, minmax(0, 1fr));
	gap: 8px;
}
.mega-link {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
	padding: 10px 12px;
	background: var(--color-bg);
	color: var(--color-text);
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	transition: all 200ms ease;
}
.mega-link:hover {
	background: var(--color-green-200);
	color: var(--color-green-500);
	opacity: 1;
}
.mega-count { font-size: 11px; color: var(--color-muted); font-weight: 600; }


.mega-pillar-stack {
	display: flex;
	flex-direction: column;
	max-height: 360px;
}

.mega-pillar-stack .mega-pillar-list--scroll {
	flex: 1;
	min-height: 0;
	max-height: none;
	overflow-y: auto;
	scrollbar-width: thin;
}

.mega-pillar-stack .mega-pillar-link--all {
	flex-shrink: 0;
	margin-top: auto;
}

.mega-pillar-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
}

.mega-pillar-link {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 0;
	color: var(--color-green-500);
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	transition: color 200ms ease;
}
.mega-pillar-link:hover {
	color: var(--color-green-400);
}
.mega-pillar-icon {
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	object-fit: contain;
}
.mega-pillar-icon--fallback {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	color: var(--color-green-500);
}

.mega-brand-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
}

.mega-mobile-vendor-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	
}
.mega-brand-link {
	width: fit-content;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 10px 8px;
	color: var(--color-text);
	font-size: 12px;
	font-weight: 500;
	text-align: center;
	text-decoration: none;
	border: 1px solid var(--color-border-subtle);
	background: var(--color-bg);
	transition: border-color 200ms ease, background 200ms ease;
}
.mega-brand-link:hover {
	border-color: var(--color-green-300);
	background: var(--color-green-200);
	color: var(--color-green-500);
	opacity: 1;
}
.mega-brand-logo {
	width: 100px;
	object-fit: contain;
}
.mega-brand-link span {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	line-height: 1.3;
}

.panel-col--campaigns .mega-campaign-list {
	display: flex;
	flex-direction: row;
	gap: 12px;
}

.mega-campaign-card {
	width: 100%;
	display: block;
	color: inherit;
	text-decoration: none;
	border: 1px solid var(--color-border-subtle);
	overflow: hidden;
	background: var(--color-bg);
	transition: border-color 200ms ease, box-shadow 200ms ease;
}
.mega-campaign-card:hover {
	border-color: var(--color-green-300);
	box-shadow: var(--shadow-subtle);
	opacity: 1;
}
.mega-campaign-card__media {
	aspect-ratio: 2/3;
	background: var(--color-bg-muted);
	overflow: hidden;
}
.mega-campaign-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.mega-campaign-card__placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--color-green-200) 0%, var(--color-bg-muted) 100%);
}
.mega-campaign-card__title {
	margin: 0;
	padding: 10px 12px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--color-text);
}

.feature-list { display: flex; flex-direction: column; gap: 8px; }
.feature-link {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 10px 12px;
	color: inherit;
	text-decoration: none;
}
.feature-link:hover { background: var(--color-bg-muted); opacity: 1; }
.feature-link .material-symbols-rounded { color: var(--color-green-500); font-size: 22px; }
.feature-link strong { display: block; font-size: 14px; margin-bottom: 2px; }
.feature-link span { font-size: 12px; color: var(--color-muted); line-height: 1.4; }
.highlight-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.highlight-chip {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 12px;
	background-color: var(--color-green-200);
	color: var(--color-green-500);
	font-weight: 600;
	font-size: 13px;
	text-decoration: none;
}
.panel-cta {
	font-size: 13px;
	font-weight: 700;
	color: var(--color-green-500);
	text-transform: uppercase;
	letter-spacing: 0.04em;
	text-decoration: none;
}
.panel-inner--solutions { padding-top: 28px; padding-bottom: 28px; }
.solutions-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 20px;
	margin-bottom: 20px;
}
.solutions-head p {
	margin: 8px 0 0;
	font-size: 14px;
	color: var(--color-text-secondary);
	max-width: 560px;
}
.solutions-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}
.solution-card {
	display: flex;
	flex-direction: row;
	gap: 12px;
	align-items: center;
	justify-content: space-between;
	padding: 16px;
	border: 1px solid var(--color-border-subtle);
	background: var(--color-bg);
	color: inherit;
	text-decoration: none;
	transition: all 200ms ease;
}
.solution-card:hover {
	border-color: var(--color-green-300);
	background: var(--color-green-200);
	opacity: 1;
}
.solution-icon { font-size: 28px; color: var(--color-green-500); }
.solution-card strong { display: block; font-size: 14px; margin-bottom: 4px; }
.solution-card span { font-size: 12px; color: var(--color-muted); line-height: 1.4; }
.solution-shop {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--color-green-500);
	white-space: nowrap;
}
.cat-item--dropdown {
	position: relative;
}
.nav-panel--dropdown {
	left: auto;
	right: -70px;
	width: max-content;
	min-width: 240px;
	padding: 8px 0;
	box-shadow: 0 12px 32px rgba(17, 24, 39, 0.14);
}
.nav-dropdown-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.nav-dropdown-link {
	display: block;
	padding: 10px 18px;
	font-size: 14px;
	font-weight: 500;
	color: var(--color-text);
	text-decoration: none;
	white-space: nowrap;
	transition: background 150ms ease, color 150ms ease;
}
.nav-dropdown-link:hover {
	background: var(--color-green-200);
	color: var(--color-green-500);
	opacity: 1;
}

.menu-backdrop {
	position: fixed;
	inset: 0;
	z-index: 110;
	border: none;
	padding: 0;
	background: rgba(28, 25, 23, 0.45);
	cursor: pointer;
	display: none;
}
.menu-backdrop.is-open { display: block; }

.mobile-drawer {
	position: fixed;
	top: 0;
	left: 0;
	height: 100dvh;
	max-height: 100dvh;
	z-index: 111;
	display: flex;
	flex-direction: column;
	width: min(100%, 360px);
	max-width: 100%;
	background: var(--color-surface-elevated);
	color: var(--color-text);
	overflow: hidden;
	visibility: hidden;
	transform: translateX(-100%);
	transition: transform 0.28s ease, visibility 0.28s ease;
}
.mobile-drawer.is-open {
	visibility: visible;
	transform: translateX(0);
}

.mobile-drawer.is-open .drawer-body {
	touch-action: pan-y;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}

.drawer-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 12px;
	background: var(--color-green-500);
	border-bottom: 1px solid var(--color-border);
	flex-shrink: 0;
}
.drawer-brand img {
	max-width: 250px;
	height: auto;
	display: block;
}
.drawer-head-actions {
	display: flex;
	align-items: center;
	gap: 2px;
	flex-shrink: 0;
}
.drawer-head-btn {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: none;
	background: transparent;
	color: white;
	cursor: pointer;
	text-decoration: none;
	padding: 0;
}
.drawer-head-btn .material-symbols-rounded { font-size: 22px; }
.drawer-cart-badge {
	position: absolute;
	top: 4px;
	right: 4px;
	min-width: 16px;
	height: 16px;
	padding: 0 4px;
	border-radius: var(--radius-full);
	background: var(--color-green-500);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	line-height: 16px;
	text-align: center;
}
.drawer-cart-badge[hidden] { display: none !important; }

.drawer-search {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px 14px;
	border-bottom: 1px solid var(--color-border);
	background: var(--color-bg-muted);
	flex-shrink: 0;
}
.drawer-search[hidden] { display: none; }
.drawer-search input {
	flex: 1;
	min-width: 0;
	padding: 10px 14px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	background: var(--color-surface);
	font: inherit;
	font-size: 14px;
	color: var(--color-text);
}
.drawer-search input:focus {
	outline: none;
	border-color: var(--color-green-400);
}
.drawer-search button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: none;
	background: var(--color-green-500);
	color: #fff;
	border-radius: var(--radius-sm);
	cursor: pointer;
	flex-shrink: 0;
}

.drawer-body {
	flex: 1;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

.drawer-accordion {
	display: flex;
	flex-direction: column;
}

.drawer-section {
	border-bottom: 1px solid var(--color-border);
}
.drawer-section-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 14px;
}
.drawer-section-title {
	flex: 1;
	min-width: 0;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--color-text);
}

.drawer-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	flex-shrink: 0;
	border: none;
	color: var(--color-text);
	background: transparent;
	cursor: pointer;
	padding: 0;
	transition: background 150ms ease;
}
.drawer-toggle--sm {
	width: 32px;
	height: 32px;
}
.drawer-toggle-icon {
	position: relative;
	width: 12px;
	height: 12px;
}
.drawer-toggle-icon--plus::before,
.drawer-toggle-icon--plus::after {
	content: '';
	position: absolute;
	background: currentColor;
	border-radius: 1px;
}
.drawer-toggle-icon--plus::before {
	top: 50%;
	left: 0;
	width: 100%;
	height: 2px;
	transform: translateY(-50%);
}
.drawer-toggle-icon--plus::after {
	top: 0;
	left: 50%;
	width: 2px;
	height: 100%;
	transform: translateX(-50%);
	transition: transform 150ms ease, opacity 150ms ease;
}

[data-drawer-section].is-open > .drawer-section-row .drawer-toggle-icon--plus::after,
[data-drawer-section].is-open > .drawer-nested-row .drawer-toggle-icon--plus::after {
	transform: translateX(-50%) scaleY(0);
	opacity: 0;
}

.drawer-panel {
	display: none;
	padding: 0 16px 18px;
}
[data-drawer-section].is-open > .drawer-panel {
	display: block;
}

.drawer-panel-links {
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.drawer-panel-link {
	display: block;
	padding: 8px 0;
	font-size: 16px;
	font-weight: 500;
	color: var(--color-text-secondary);
	text-decoration: none;
	border-radius: var(--radius-sm);
	transition: color 150ms ease;
}
.drawer-panel-link:hover {
	color: var(--color-green-400);
	opacity: 1;
}
.drawer-panel-link--featured {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	font-family: var(--font-title);
	font-size: 16px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--color-green-500);
	border-radius: 0;
	transition: all 200ms ease;
}
.drawer-panel-link--featured__arrow {
	font-size: 20px !important;
	flex-shrink: 0;
}
.drawer-panel-link--featured:hover {
	opacity: 0.8;
}

.drawer-nested-list {
	display: flex;
	flex-direction: column;
}

.drawer-nested--link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 14px 14px 16px;
	color: inherit;
	text-decoration: none;
	transition: color 150ms ease;
}
.drawer-nested--link:hover {
	color: var(--color-green-500);
	opacity: 1;
}
.drawer-nested-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 8px 0;
}
.drawer-nested-row .drawer-toggle {
	margin-right: -2px;
}
.drawer-nested-title {
	font-size: 16px;
	line-height: 1.35;
	color: var(--color-text);
}
.drawer-nested-chevron {
	font-size: 20px;
	color: var(--color-muted);
	flex-shrink: 0;
}
.drawer-nested-panel {
	display: none;
	padding: 0 12px 14px 16px;
}
[data-drawer-section].is-open > .drawer-nested-panel {
	display: block;
}
.drawer-nested-panel .drawer-panel-link {
	padding-left: 0;
	padding-right: 0;
}
.drawer-nested-panel .mega-mobile-vendor-list {
	padding-bottom: 4px;
}

.drawer-secondary {
	display: flex;
	flex-direction: column;
	padding: 8px 0 20px;
}
.drawer-secondary-link {
	display: block;
	padding: 12px 14px;
	font-size: 16px;
	font-weight: 500;
	color: var(--color-text);
	text-decoration: none;
	transition: color 150ms ease;
}
.drawer-secondary-link:hover {
	color: var(--color-green-500);
	opacity: 1;
}
.drawer-secondary-link--sale {
	color: var(--color-sale);
	font-weight: 600;
}
.drawer-secondary-link--sale:hover {
	color: var(--color-red-400);
}

.drawer-footer {
	flex-shrink: 0;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	padding: 8px 0 calc(12px + env(safe-area-inset-bottom, 0px));
	background: var(--color-bg-muted);
	border-top: 1px solid var(--color-border);
}
.drawer-footer-link {
	display: flex;
	flex-direction: column;
	justify-content: center;;
	align-items: center;
	text-align: center;
	gap: 5px;
	padding: 14px;
	font-size: 15px;
	font-weight: 500;
	color: var(--color-text);
	text-decoration: none;
	transition: color 150ms ease;
}
.drawer-footer-link .material-symbols-rounded {
	font-size: 20px;
	color: var(--color-text-secondary);
}
.drawer-footer-link:hover {
	color: var(--color-green-500);
	opacity: 1;
}

/* Hide legacy header when TRS shell is active */
body.trs-theme .mobile-header,
body.trs-theme .header_menu,
body.trs-theme .site-navigation,
body.trs-theme .header-top:not(.topbar-host .topbar) {
	display: none !important;
}
body.trs-theme .store-main {
	flex: 1;
	width: 100%;
	min-height: 50vh;
}

@media (min-width: 961px) {
	.navbar-main {
		grid-template-columns: auto 1fr auto;
		grid-template-areas: 'brand search actions';
	}
	.menu-toggle { display: none !important; }
	.brand { justify-self: start; }
	.search--desktop { display: flex; }
	.search--mobile { display: none !important; }
}
@media (max-width: 1200px) {
	.panel-inner--mega { grid-template-columns: 1fr 1fr; }
	.panel-col--campaigns { grid-column: 1 / -1; }
	.panel-col--campaigns .mega-campaign-list {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.solutions-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
	.menu-toggle { display: flex; }
	.brand { justify-self: center; }
	.brand-logo { max-width: min(200px, 52vw); }
	.search--desktop { display: none; }
	.search--mobile { display: flex; grid-column: 1 / -1; max-width: none; }
	.nav-text-label { display: none; }
	.navbar-cats, .nav-panel { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
	.nav-panel,
	.cat-link::after,
	.cat-chevron {
		transition: none !important;
	}
	.nav-panel {
		transform: none;
	}
}
@media (max-width: 640px) {
	.solutions-grid { grid-template-columns: 1fr; }
}