@font-face {
	font-family: "Poppins";
	src: url("../fonts/poppins/poppins-400.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Poppins";
	src: url("../fonts/poppins/poppins-700.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Ethic";
	src: url("../fonts/ethic/ethic-500.woff2") format("woff2");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Ethic";
	src: url("../fonts/ethic/ethic-600.woff2") format("woff2");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Ethic";
	src: url("../fonts/ethic/ethic-700.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

.site-header,
.header-bar,
.mega-container {
	background-color: #e6e1d4;
}

header.wp-block-template-part {
	position: relative;
}

.header-utility a {
	text-decoration: none;
	color: #607e77;
}

.header-main a {
	font-size: 18px;
	letter-spacing: 0.02em;
	text-decoration: none;
}

.header-utility a:hover {
	color: #c4a770;
}

/* Header typography overrides (scoped) */
.site-header .header-utility,
.site-header .header-utility * {
	font-size: 14px !important;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.site-header .header-main,
.site-header .header-main * {
	font-size: 18px !important;
}

.site-header .header-main .header-main-link {
	color: #204445;
	cursor: pointer;
	text-decoration: none;
}

.site-header .header-main {
	margin-bottom: 0;
}

header.wp-block-template-part .site-header {
	position: relative;
	z-index: 10000;
}

.site-header .header-main .header-main-link:hover {
	color: #607e77;
}

.site-header .header-main .header-main-link a {
	color: inherit;
	text-decoration: none;
}

.site-header .header-main .header-main-link a:hover {
	color: inherit;
	text-decoration: none;
}

.mega-trigger-products,
.mega-trigger-about,
.header-search {
	user-select: none;
}

.site-header .header-main .has-mega {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.site-header .header-main .has-mega::after {
	content: "";
	width: 14px;
	height: 12px;
	background: #204445;
	display: inline-block;
	transform: translateY(-2px);
	clip-path: polygon(50% 100%, 0% 8%, 50% 32%, 100% 8%);
}

.site-header .header-main .has-mega:hover::after {
	background: #607e77;
}

@supports not (clip-path: polygon(50% 100%, 0% 8%, 50% 32%, 100% 8%)) {
	.site-header .header-main .has-mega::after {
		width: 0;
		height: 0;
		background: none;
		border-left: 7px solid transparent;
		border-right: 7px solid transparent;
		border-top: 8px solid #204445;
	}

	.site-header .header-main .has-mega:hover::after {
		border-top-color: #607e77;
	}
}

header.wp-block-template-part .header-main .header-search {
	display: inline-flex;
	align-items: center;
	position: relative;
	justify-content: center;
	width: 18px;
	height: 18px;
	overflow: hidden;
	text-indent: -9999px;
	white-space: nowrap;
	font-size: 16px;
	cursor: pointer;
}

.site-header .header-main .header-search::before {
	content: "";
	display: inline-block;
	width: 18px;
	height: 18px;
	background: url("../icons/magnifying-glass-solid-full.svg") no-repeat center;
	background-size: contain;
	color: #204445;
}

.site-header .header-main .header-search:hover::before {
	filter: brightness(0) saturate(100%) invert(47%) sepia(10%) saturate(684%)
		hue-rotate(122deg) brightness(93%) contrast(86%);
}

.site-logo img,
.site-logo svg {
	width: 272px;
	height: auto;
	max-width: 100%;
}

header.wp-block-template-part .mega-container {
	display: none;
	position: absolute;
	top: 100%;
	left: 50%;
	right: auto;
	z-index: 9999;
	width: 100vw;
	transform: translateX(-50%);
	margin: 0;
	padding-top: 0;
	padding-left: 0;
	padding-right: 0;
	box-sizing: border-box;
}

header.wp-block-template-part .mega-panel {
	display: none;
	width: 100%;
	max-width: var(--wp--style--global--wide-size, 1200px);
	margin-left: auto;
	margin-right: auto;
	padding: 2rem;
	padding-left: var(--wp--style--root--padding-left, 0);
	padding-right: var(--wp--style--root--padding-right, 0);
	box-sizing: border-box;
	justify-content: flex-start;
	text-align: left;
}

/* Mega panel – About tiles */
.mega-about-tiles {
	width: 100%;
	justify-content: space-between;
	gap: 24px;
}

.mega-about-tiles.is-layout-flex {
	gap: 24px;
	row-gap: 6px;
	column-gap: 24px;
}

.mega-about-tiles > .wp-block-group {
	flex: 0 0 220px;
	max-width: 220px;
}

.mega-about-tiles > .wp-block-group.is-layout-flex {
	gap: 6px;
}

.mega-about-tiles > .wp-block-group > figure.wp-block-image {
	width: 220px;
	max-width: 220px;
	margin: 0;
}

.mega-about-tiles > .wp-block-group > figure.wp-block-image > a {
	display: block;
	width: 100%;
}

.mega-about-tiles > .wp-block-group > figure.wp-block-image img {
	width: 100%;
	height: auto;
	display: block;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.mega-about-tiles > .wp-block-group > p {
	margin-top: 2px;
	margin-bottom: 0;
}

.mega-about-tiles > .wp-block-group > p > a {
	font-size: 18px;
	line-height: 1.2;
	text-decoration: none;
}

.mega-about-tiles > .wp-block-group > p > a:hover {
	text-decoration: underline;
}

/* Mega panel – About link lists */
.mega-about-links .is-layout-flex {
	gap: 0;
}

.mega-about-links {
	width: 100%;
	justify-content: space-between;
	column-gap: 48px;
	border-top: 1px solid rgba(32, 68, 69, 0.12);
	padding-top: 20px;
	margin-top: 20px;
	max-width: var(--wp--style--global--wide-size, 1200px);
	margin-left: auto;
	margin-right: auto;
}

.mega-about-links > .wp-block-group {
	flex: 1 1 0;
	max-width: 360px;
}

.mega-about-links p {
	margin: 0;
	padding: 0;
	line-height: 1.35;
}

.mega-about-links p + p {
	margin-top: 4px;
}

.mega-about-links a {
	font-size: 18px;
	text-decoration: none;
}

.mega-about-links a:hover {
	text-decoration: underline;
}

/* Mega panel – About section headings */
.mega-about h4 {
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	margin: 0;
}

/* Extra spacing only for link-column headings */
.mega-about-links h4 {
	margin-bottom: 16px;
}

html,
body {
	overflow-x: hidden;
}

header.wp-block-template-part.mega-open .mega-container {
	display: block;
}

header.wp-block-template-part.mega-open.mega-active-products .mega-products {
	display: flex;
}

header.wp-block-template-part.mega-open.mega-active-about .mega-about {
	display: flex;
}

header.wp-block-template-part.mega-open.mega-active-search .mega-search {
	display: flex;
}

/* ==============================
   Header mini cart (icon only)
   ============================== */

/* Woo sets mini-cart sizing via font-size; override in header */
.header-utility .wc-block-mini-cart {
	font-size: 0 !important; /* remove any inherited sizing effects */
}

.header-utility .wc-block-mini-cart__button {
	padding: 0 !important;
	line-height: 1;
	font-size: 16px !important; /* restore baseline for badge positioning */
}

.header-utility .wc-block-mini-cart__quantity-badge {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.header-utility .wc-block-mini-cart__icon {
	width: 38px !important;
	height: 38px !important;
	min-width: 38px;
	min-height: 38px;
}

.header-utility .wc-block-mini-cart__badge {
	position: absolute;
	top: -4px;
	right: -4px;
	left: auto;
	bottom: auto;
	transform: none !important;
	margin: 0 !important;
	z-index: 2;
	font-size: 11px !important;
	min-width: 16px;
	height: 16px;
	line-height: 16px;
}

/* ------------------------------
   Woo: Single Product Title (scoped)
------------------------------ */
.single-product h1.wp-block-post-title {
	font-family: var(--wp--preset--font-family--poppins);
	font-weight: 700;
	font-size: clamp(1.6rem, 1.9vw, 1.9rem);
}

/* ------------------------------
   Woo: Single Product Price Line
------------------------------ */
.single-product .wc-block-components-product-price.wc-block-grid__product-price {
	font-size: 130%;
}

.single-product
	.wc-block-components-product-price.wc-block-grid__product-price
	bdi {
	font-size: 120%;
}

/* Footer (upper section) typography tightening */

footer .has-sage-background-color {
	line-height: 1.35;
}

/* Right-side footer columns: let line-height control spacing */

footer .has-sage-background-color
.wp-container-content-b99e70a5
.wp-block-group.is-layout-constrained p {
	margin: 0;
}

/* Restore vertical rhythm between stacked links */

footer .has-sage-background-color
.wp-container-content-b99e70a5
.wp-block-group.is-layout-constrained p + p {
	margin-top: 4px;
}

/* Footer upper: override global flex gap in columns */

.footer-upper .wp-container-content-e16604df.is-layout-flex {
	gap: 0;
}

.footer-upper .wp-container-content-90d19858.is-layout-constrained {
	margin-top: 0;
	margin-bottom: 0;
}

/* Footer upper – consistent H3 spacing */

.footer-upper h3 {
	margin-top: 24px;
	margin-bottom: 6px;
}

/* Do not add extra space before the very first heading in each column */

.footer-upper .is-layout-flex > h3:first-child {
	margin-top: 0;
}

/* SHOWROOM paragraph spacing (left column only) */

.footer-upper
.wp-container-content-e16604df
h3 + p {
	margin-top: 0;
}

.footer-upper
.wp-container-content-e16604df
p + p {
	margin-top: 10px;
}

/* ----------------------------------------
   Footer link underline behavior
----------------------------------------- */

footer a {
	text-decoration: none;
}

footer a:hover {
	text-decoration: underline;
}

/* Force underline for footer email link */

footer a[href^="mailto:"] {
	text-decoration: underline;
}

/* Footer social icons */
.secondary-footer .footer-social .wp-social-link {
	background-color: #c4a770;
}

.secondary-footer .footer-social .wp-social-link svg,
.secondary-footer .footer-social .wp-social-link svg path {
	fill: #fbf9f2;
}

.secondary-footer .footer-social .wp-social-link:hover {
	background-color: #fbf9f2;
}

.secondary-footer .footer-social .wp-social-link:hover svg,
.secondary-footer .footer-social .wp-social-link:hover svg path {
	fill: #2f4f4b;
}

.secondary-footer .footer-social .wp-social-link a {
	background: none;
}

/* ----------------------------------------
   Page H1 Accent Rule (Post Title)
----------------------------------------- */

.page .wp-block-post-title {
	position: relative;
	padding-bottom: 0.75rem;
	font-weight: 500;
}

.page .wp-block-post-title::after {
	content: "";
	display: block;
	width: 50%;
	max-width: 420px;
	height: 2px;
	margin-top: 0.5rem;
	background-color: var(--wp--preset--color--gold, #c8a24d);
}
