/**
 * TAZZANT global storefront shell — Lot 2.
 * Loaded after the homepage stylesheet so these rules safely promote the
 * approved header, footer and mobile navigation to every public template.
 */

body.tazzant-site {
	background: var(--tz-bg);
	color: var(--tz-text);
	font-family: Nunito, Inter, ui-rounded, "Arial Rounded MT Bold", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.tazzant-site .wd-hb-wrapp,
body.tazzant-site .whb-header,
body.tazzant-site .footer-container,
body.tazzant-site .wd-toolbar,
body.tazzant-site > .mobile-nav {
	display: none !important;
}

.tazzant-global-shell,
.tazzant-global-shell * {
	box-sizing: border-box;
}

.tazzant-global-shell a {
	color: inherit;
	text-decoration: none;
}

.tazzant-global-shell svg {
	display: block;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.7;
}

.tazzant-global-header {
	position: relative;
	z-index: 450;
}

.tazzant-global-footer {
	clear: both;
	position: relative;
	z-index: 390;
}

.tz-desktop-nav a.is-active::after {
	transform: translateX(-50%) scaleX(1);
}

.tz-desktop-nav a.is-active {
	color: var(--tz-primary);
}

.tz-footer-group {
	margin: 0;
}

.tz-footer-group summary {
	cursor: pointer;
	list-style: none;
}

.tz-footer-group summary::-webkit-details-marker {
	display: none;
}

/* WoodMart's generic button SVG sizing can otherwise compress this icon. */
.tz-menu-close {
	flex: 0 0 44px;
}

.tz-menu-close svg {
	flex: 0 0 22px;
	min-width: 22px;
}

.tz-footer-bottom nav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
}

.tazzant-global-shell a:focus-visible,
.tazzant-global-shell button:focus-visible,
.tazzant-global-shell input:focus-visible,
.tazzant-global-shell summary:focus-visible {
	outline: 3px solid var(--tz-yellow);
	outline-offset: 3px;
}

@media (max-width: 991.98px) {
	body.tazzant-site {
		padding-bottom: calc(var(--tz-mobile-nav-height) + env(safe-area-inset-bottom, 0px));
	}

	.tazzant-global-header {
		background: linear-gradient(180deg, var(--tz-bg) 0%, rgb(255 250 244 / 92%) 72%, transparent 100%);
		padding: 10px 12px 8px;
		position: sticky;
		top: 0;
		z-index: 600;
	}

	.admin-bar .tazzant-global-header {
		top: 46px;
	}

	.tazzant-global-header .tz-header {
		margin: 0 auto;
		max-width: 820px;
		position: relative;
		top: auto;
	}

	.tazzant-global-footer .tz-desktop-footer {
		background: var(--tz-text);
		color: #fff;
		display: block;
		margin-top: 22px;
		padding: 30px 18px calc(24px + env(safe-area-inset-bottom, 0px));
	}

	.tazzant-global-footer .tz-desktop-container {
		margin-inline: auto;
		max-width: 820px;
		padding-inline: 0;
		width: 100%;
	}

	.tazzant-global-footer .tz-footer-grid {
		display: grid;
		gap: 0;
		grid-template-columns: 1fr;
	}

	.tazzant-global-footer .tz-footer-brand {
		padding-bottom: 22px;
	}

	.tazzant-global-footer .tz-footer-brand > a {
		display: block;
		max-width: 190px;
	}

	.tazzant-global-footer .tz-footer-brand img {
		display: block;
		height: auto;
		width: 100%;
	}

	.tazzant-global-footer .tz-footer-brand p,
	.tazzant-global-footer .tz-footer-contact p {
		color: rgb(255 255 255 / 72%);
		font-size: 12px;
		line-height: 1.6;
		margin: 14px 0 0;
		max-width: 430px;
	}

	.tazzant-global-footer .tz-footer-group {
		border-top: 1px solid rgb(255 255 255 / 14%);
	}

	.tazzant-global-footer .tz-footer-group summary {
		align-items: center;
		display: flex;
		font-size: 14px;
		font-weight: 900;
		justify-content: space-between;
		min-height: 52px;
	}

	.tazzant-global-footer .tz-footer-group summary span {
		font-size: 22px;
		font-weight: 500;
		transition: transform .18s ease;
	}

	.tazzant-global-footer .tz-footer-group[open] summary span {
		transform: rotate(45deg);
	}

	.tazzant-global-footer .tz-footer-group nav {
		display: flex;
		flex-direction: column;
		padding: 0 0 15px;
	}

	.tazzant-global-footer .tz-footer-group nav > strong {
		display: none;
	}

	.tazzant-global-footer .tz-footer-group nav a {
		color: rgb(255 255 255 / 75%);
		font-size: 12px;
		min-height: 38px;
		padding: 9px 0;
	}

	.tazzant-global-footer .tz-footer-contact {
		border-top: 1px solid rgb(255 255 255 / 14%);
		display: flex;
		flex-direction: column;
		padding-top: 20px;
	}

	.tazzant-global-footer .tz-footer-contact > strong {
		font-size: 14px;
		font-weight: 900;
	}

	.tazzant-global-footer .tz-footer-contact > a {
		align-items: center;
		background: var(--tz-whatsapp);
		border-radius: var(--tz-radius-pill);
		color: #fff;
		display: inline-flex;
		font-size: 12px;
		font-weight: 850;
		gap: 8px;
		margin-top: 17px;
		min-height: 44px;
		padding: 0 17px;
		width: fit-content;
	}

	.tazzant-global-footer .tz-footer-contact > a svg {
		height: 20px;
		width: 20px;
	}

	.tazzant-global-footer .tz-footer-bottom {
		border-top: 1px solid rgb(255 255 255 / 14%);
		color: rgb(255 255 255 / 62%);
		display: grid;
		font-size: 10px;
		gap: 8px;
		margin-top: 24px;
		padding-top: 18px;
	}

	.tazzant-global-footer .tz-footer-bottom nav {
		gap: 6px 14px;
	}

	.tazzant-global-footer .tz-bottom-nav > span.is-active > a {
		color: var(--tz-cta);
	}
}

@media (min-width: 601px) and (max-width: 782px) {
	.admin-bar .tazzant-global-header {
		top: 32px;
	}
}

@media (min-width: 992px) {
	.tazzant-global-header .tz-desktop-site-header,
	.tazzant-global-footer .tz-desktop-footer {
		display: block;
	}

	.tazzant-global-header .tz-header,
	.tazzant-global-footer .tz-bottom-nav {
		display: none;
	}

	.tazzant-global-footer .tz-footer-group > summary {
		display: none;
	}

	.tazzant-global-footer .tz-footer-group > nav {
		display: flex !important;
		flex-direction: column;
	}

	.tazzant-global-footer .tz-footer-bottom {
		align-items: center;
		gap: 18px;
	}

	.tazzant-global-footer .tz-footer-bottom > :nth-child(2) {
		margin-left: auto;
	}

	body.tazzant-site:not(.tazzant-mobile-homepage) .main-page-wrapper {
		background: var(--tz-bg);
	}
}

@media (prefers-reduced-motion: reduce) {
	.tazzant-global-shell *,
	.tazzant-global-shell *::before,
	.tazzant-global-shell *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
}
