/* =========================================================================
   Magtrees — brand layer for the Woodmart child theme
   =========================================================================
   Palette (sampled from the approved design):

     Brand green      #526b3f   buttons, CTA band, category labels
     Green dark       #3d5130   hover states
     Green tint       #eef1e8   soft section backgrounds
     Ink              #1c1c1c   headings
     Body text        #52575c
     Muted            #8b9197
     Line             #e4e6e1
     White            #ffffff

   Strategy: this file does NOT repaint Woodmart's own components — colours
   and layout presets belong in Woodmart > Theme Settings, because the theme
   prints those values inline. What lives here:

     1. The enquiry components (button, modal, form)
     2. Home page section blocks ([mt_collections], [mt_about], [mt_cta])
     3. Catalogue-mode safety net
     4. Small typographic refinements

   Enter these in Woodmart theme settings:
     Primary colour    #526b3f
     Text colour       #52575c
     Link / hover      #526b3f  /  #3d5130
   ========================================================================= */

:root {
	--mt-green: #526b3f;
	--mt-green-dark: #3d5130;
	--mt-green-tint: #eef1e8;
	--mt-ink: #1c1c1c;
	--mt-body: #52575c;
	--mt-muted: #8b9197;
	--mt-line: #e4e6e1;
	--mt-radius: 4px;
	--mt-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* -------------------------------------------------------------------------
   1. Buttons
   ---------------------------------------------------------------------- */

.mt-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 15px 32px;
	border: 0;
	border-radius: var(--mt-radius);
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.01em;
	cursor: pointer;
	text-decoration: none;
	transition: background-color 0.2s var(--mt-ease), color 0.2s var(--mt-ease),
		transform 0.15s var(--mt-ease), box-shadow 0.2s var(--mt-ease);
}

.mt-btn:active {
	transform: translateY(1px);
}

.mt-btn-primary {
	background: var(--mt-green);
	color: #fff;
}

.mt-btn-primary:hover,
.mt-btn-primary:focus-visible {
	background: var(--mt-green-dark);
	color: #fff;
}

/* White button for use on the green band */
.mt-btn-light {
	background: #fff;
	color: var(--mt-ink);
}

.mt-btn-light:hover,
.mt-btn-light:focus-visible {
	background: #f2f4ee;
	color: var(--mt-ink);
}

.mt-btn-ghost {
	background: transparent;
	color: var(--mt-ink);
	border: 1px solid #cfd4c9;
}

.mt-btn-ghost:hover {
	border-color: var(--mt-green);
	color: var(--mt-green);
}

.mt-btn[disabled] {
	opacity: 0.55;
	cursor: not-allowed;
}

/* -------------------------------------------------------------------------
   2. Section blocks
   ---------------------------------------------------------------------- */

.mt-sec {
	padding: 72px 0;
}

.mt-sec--tint {
	background: var(--mt-green-tint);
}

.mt-sec__inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 32px;
}

/* Section head: big title left, small caption right — as in the design */
.mt-sec__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 34px;
}

.mt-sec__title {
	margin: 0;
	font-size: 34px;
	line-height: 1.2;
	font-weight: 700;
	color: var(--mt-ink);
	letter-spacing: -0.01em;
}

.mt-sec__sub {
	margin: 0;
	font-size: 15px;
	color: var(--mt-muted);
	letter-spacing: 0.02em;
}

/* --- Collections grid ------------------------------------------------- */

.mt-cols {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}

.mt-col {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: 3px;
	aspect-ratio: 4 / 5;
	background: #f7f8f5;
	text-decoration: none;
}

.mt-col img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.55s var(--mt-ease);
}

.mt-col:hover img {
	transform: scale(1.06);
}

.mt-col__label {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 14px 16px;
	background: rgba(82, 107, 63, 0.92);
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.01em;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	text-align: center;
	backdrop-filter: blur(2px);
}

.mt-col__count {
	font-size: 12px;
	font-weight: 500;
	opacity: 0.72;
}

/* --- Featured products ------------------------------------------------ */

.mt-prods {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 22px;
}

.mt-prod {
	display: block;
	text-decoration: none;
	color: inherit;
	text-align: center;
}

.mt-prod__img {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	aspect-ratio: 1 / 1;
	background: #fff;
	overflow: hidden;
	border-radius: 3px;
	margin-bottom: 14px;
}

.mt-prod__img img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center center;
	padding: 6px;
	box-sizing: border-box;
	display: block;
	margin: 0 auto;
	transition: transform 0.55s var(--mt-ease);
}

.mt-prod:hover .mt-prod__img img {
	transform: scale(1.05);
}

.mt-prod__name {
	display: block;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--mt-ink);
	margin-bottom: 4px;
	transition: color 0.18s var(--mt-ease);
}

.mt-prod:hover .mt-prod__name {
	color: var(--mt-green);
}

.mt-prod__cat {
	display: block;
	font-size: 13px;
	color: var(--mt-muted);
}

/* --- Advantages ------------------------------------------------------- */

.mt-advsec {
	background: var(--mt-green);
	padding: 62px 0;
}

.mt-advsec__inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 32px;
}

.mt-advsec__title {
	margin: 0 0 8px;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.25;
	color: #fff;
	text-align: center;
}

.mt-advsec__sub {
	margin: 0 0 40px;
	font-size: 15px;
	color: rgba(255, 255, 255, 0.72);
	text-align: center;
}

.mt-adv {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 32px;
}

.mt-adv__item {
	text-align: center;
}

.mt-adv__ico {
	width: 54px;
	height: 54px;
	margin: 0 auto 16px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.16);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
}

.mt-adv__ico svg {
	width: 26px;
	height: 26px;
	fill: currentColor;
}

.mt-adv__ico img {
	width: 26px;
	height: 26px;
	object-fit: contain;
	filter: brightness(0) invert(1);
	opacity: 0.95;
}

.mt-adv__name {
	margin: 0 0 8px;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.35;
	color: #fff;
}

.mt-adv__desc {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.74);
}

/* --- About split ------------------------------------------------------ */

.mt-about {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: 0;
	align-items: stretch;
	border: 1px solid var(--mt-line);
	border-radius: 3px;
	overflow: hidden;
	background: #fff;
}

.mt-about__media {
	min-height: 340px;
	background-size: cover;
	background-position: center;
	background-color: #e7ebe1;
}

.mt-about__body {
	padding: 52px 48px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.mt-about__title {
	margin: 0 0 18px;
	font-size: 30px;
	line-height: 1.25;
	font-weight: 700;
	color: var(--mt-ink);
}

.mt-about__text {
	margin: 0 0 26px;
	font-size: 15.5px;
	line-height: 1.75;
	color: var(--mt-body);
}

.mt-about__text p {
	margin: 0 0 14px;
}

.mt-about__text p:last-child {
	margin-bottom: 0;
}

/* --- Hero ------------------------------------------------------------- */

.mt-hero {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	background-size: cover;
	background-position: center;
	background-color: #2d3a26;
	background-repeat: no-repeat;
	overflow: hidden;
}

.mt-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(20, 28, 16, 0.26) 0%, rgba(20, 28, 16, 0.44) 100%);
}

/* Visually hidden, still readable by screen readers and search engines. */
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.mt-hero__body {
	position: relative;
	z-index: 2;
	text-align: center;
	padding: 80px 24px;
	max-width: 920px;
}

.mt-hero__title {
	margin: 0 0 18px;
	font-size: clamp(38px, 6vw, 74px);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: 0.02em;
	color: #fff;
	text-shadow: 0 2px 26px rgba(0, 0, 0, 0.32);
}

.mt-hero__sub {
	margin: 0 0 32px;
	font-size: clamp(15px, 1.6vw, 20px);
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.94);
	text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.mt-hero .mt-btn-light {
	padding: 17px 44px;
	border-radius: 999px;
	font-size: 16px;
}

/* --- CTA band --------------------------------------------------------- */
/* Shell only. The card look lives in the v2 block at the end of this file,
   which must stay last so it wins over the legacy responsive rules. */
.mt-cta {
	background: transparent;
	color: #fff;
}

/* -------------------------------------------------------------------------
   3. Enquiry — product page button
   ---------------------------------------------------------------------- */

.mt-enquire-wrap {
	margin: 22px 0 6px;
}

.mt-enquire-wrap .mt-btn {
	width: 100%;
	max-width: 360px;
}

.mt-enquire-note {
	margin: 12px 0 0;
	font-size: 13px;
	line-height: 1.6;
	color: var(--mt-muted);
	max-width: 46ch;
}

/* -------------------------------------------------------------------------
   4. Enquiry — modal
   ---------------------------------------------------------------------- */

.mt-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: none;
	align-items: flex-start;
	justify-content: center;
	padding: 40px 16px;
	overflow-y: auto;
}

.mt-modal.is-open {
	display: flex;
}

.mt-modal__backdrop {
	position: fixed;
	inset: 0;
	background: rgba(22, 28, 20, 0.62);
	backdrop-filter: blur(2px);
}

.mt-modal__box {
	position: relative;
	width: 100%;
	max-width: 680px;
	margin: auto;
	background: #fff;
	border-radius: 5px;
	padding: 34px 36px 30px;
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
	animation: mt-rise 0.22s var(--mt-ease);
}

@keyframes mt-rise {
	from { opacity: 0; transform: translateY(14px); }
	to   { opacity: 1; transform: translateY(0); }
}

.mt-modal__title {
	margin: 0 0 6px;
	font-size: 24px;
	line-height: 1.3;
	color: var(--mt-ink);
}

.mt-modal__close {
	position: absolute;
	top: 10px;
	right: 14px;
	width: 36px;
	height: 36px;
	border: 0;
	background: transparent;
	font-size: 26px;
	line-height: 1;
	color: #a8ada5;
	cursor: pointer;
	border-radius: 50%;
}

.mt-modal__close:hover {
	background: #f2f4ee;
	color: var(--mt-ink);
}

body.mt-modal-open {
	overflow: hidden;
}

/* -------------------------------------------------------------------------
   5. Enquiry — form
   ---------------------------------------------------------------------- */

.mt-form__intro {
	margin: 0 0 20px;
	font-size: 14px;
	line-height: 1.65;
	color: var(--mt-body);
}

.mt-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 16px;
}

.mt-field {
	display: block;
	margin-bottom: 16px;
}

.mt-field > span {
	display: block;
	margin-bottom: 6px;
	font-size: 13px;
	font-weight: 600;
	color: #45525f;
}

.mt-field > span b {
	color: #c0392b;
	font-weight: 600;
}

.mt-field input[type="text"],
.mt-field input[type="email"],
.mt-field input[type="tel"],
.mt-field textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #dcdfd7;
	border-radius: 3px;
	background: #fff;
	font-size: 14px;
	color: var(--mt-ink);
	transition: border-color 0.16s var(--mt-ease), box-shadow 0.16s var(--mt-ease);
	box-sizing: border-box;
}

.mt-field input:focus,
.mt-field textarea:focus {
	outline: none;
	border-color: var(--mt-green);
	box-shadow: 0 0 0 3px rgba(82, 107, 63, 0.16);
}

.mt-field textarea {
	resize: vertical;
	min-height: 96px;
}

.mt-hp {
	position: absolute !important;
	left: -9999px !important;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.mt-form__foot {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	margin-top: 6px;
}

.mt-form__status {
	font-size: 13.5px;
	line-height: 1.5;
}

.mt-form__status.is-error {
	color: #c0392b;
}

.mt-form__status.is-success {
	color: #3d5130;
	font-weight: 600;
}

.mt-form.is-sent .mt-form__row,
.mt-form.is-sent .mt-field,
.mt-form.is-sent .mt-hp {
	display: none;
}

/* -------------------------------------------------------------------------
   6. Catalogue-mode safety net
   ---------------------------------------------------------------------- */

.single-product .price,
.single-product .summary .price,
.woocommerce-variation-price,
.product-grid-item .price,
.product-grid-item .wd-product-price {
	display: none !important;
}

.single-product .single_add_to_cart_button,
.product-grid-item .add_to_cart_button,
.product-grid-item .wd-add-btn {
	display: none !important;
}

/* Specification table */
.woocommerce-product-attributes th,
.woocommerce-product-attributes td {
	padding: 11px 14px !important;
	font-size: 14px;
}

.woocommerce-product-attributes th {
	width: 38%;
	font-weight: 600;
	color: var(--mt-ink);
	background: #fafbf8;
}

/* Product detail multi-spec table (mt-spec-table) */
.mt-spec-wrap {
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin: 18px 0 26px;
}

table.mt-spec-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13.5px;
	color: var(--mt-body);
	background: #fff;
	min-width: 720px;
}

table.mt-spec-table thead th {
	background: var(--mt-green);
	color: #fff;
	font-weight: 600;
	text-align: left;
	padding: 10px 12px;
	white-space: nowrap;
}

table.mt-spec-table tbody td {
	padding: 10px 12px;
	border-bottom: 1px solid var(--mt-line);
	vertical-align: top;
}

table.mt-spec-table tbody tr:nth-child(even) {
	background: #fafbf8;
}

table.mt-spec-table td.mt-code {
	font-weight: 600;
	color: var(--mt-ink);
	white-space: nowrap;
}

@media (max-width: 640px) {
	table.mt-spec-table { font-size: 12.5px; }
	table.mt-spec-table thead th,
	table.mt-spec-table tbody td { padding: 8px 10px; }
}


/* -------------------------------------------------------------------------
   7. Responsive
   ---------------------------------------------------------------------- */

@media (max-width: 1024px) {
	.mt-cols {
		grid-template-columns: repeat(2, 1fr);
	}

	.mt-prods {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
	}

	.mt-adv {
		grid-template-columns: repeat(2, 1fr);
		gap: 28px;
	}

	.mt-about {
		grid-template-columns: 1fr;
	}

	.mt-about__media {
		min-height: 260px;
	}

	.mt-about__body {
		padding: 38px 30px;
	}

}

@media (max-width: 640px) {
	.mt-sec {
		padding: 48px 0;
	}

	.mt-sec__inner {
		padding: 0 18px;
	}

	.mt-sec__head {
		flex-direction: column;
		align-items: flex-start;
		gap: 6px;
		margin-bottom: 24px;
	}

	.mt-sec__title {
		font-size: 26px;
	}

	.mt-cols {
		grid-template-columns: 1fr 1fr;
		gap: 12px;
	}

	.mt-prods {
		gap: 12px;
	}

	.mt-prod__name {
		font-size: 14px;
	}

	.mt-advsec {
		padding: 44px 0;
	}

	.mt-advsec__inner {
		padding: 0 18px;
	}

	.mt-adv {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.mt-adv__item {
		text-align: left;
		display: flex;
		gap: 14px;
		align-items: flex-start;
	}

	.mt-adv__ico {
		margin: 0;
		flex: 0 0 44px;
		width: 44px;
		height: 44px;
	}

	.mt-col__label {
		padding: 11px 12px;
		font-size: 13.5px;
	}

	.mt-about__body {
		padding: 30px 22px;
	}

	.mt-about__title {
		font-size: 24px;
	}


	.mt-form__row {
		grid-template-columns: 1fr;
	}

	.mt-modal {
		padding: 16px 10px;
	}

	.mt-modal__box {
		padding: 26px 20px 22px;
	}

	.mt-modal__title {
		font-size: 20px;
	}

	.mt-enquire-wrap .mt-btn {
		max-width: none;
	}

	.woocommerce-product-attributes th {
		width: 42%;
		font-size: 13px;
	}

	.woocommerce-product-attributes th,
	.woocommerce-product-attributes td {
		padding: 9px 10px !important;
	}
}


/* -------------------------------------------------------------------------
   Magtrees launch cleanup: remove leftover Woodmart demo header elements
   ------------------------------------------------------------------------- */
.whb-top-bar{display:none!important;}
.wd-header-wishlist,.wd-header-compare,.wd-header-cart,.wd-header-my-account{display:none!important;}


/* Magtrees: align Woodmart primary color with brand */
:root{--wd-primary-color:#526b3f!important;--wd-primary-color-rgb:82,107,63!important;}

/* Magtrees: hide demo account/wishlist/compare menu items injected by Woodmart */
.menu-item-wishlist,.menu-item-compare,.menu-item-account{display:none!important;}


/* -------------------------------------------------------------------------
   Magtrees: archive header cleanup
   Remove Woodmart demo background + rebuild the category nav as clean chips
   ------------------------------------------------------------------------- */
/* keep the sticky category row, recolor it from demo lime to brand green */
.wd-header-cats .menu-opener{
	background:#526b3f!important;
	background-color:#526b3f!important;
	color:#fff!important;
	min-height:46px;
	padding:0 22px!important;
	border-radius:0!important;
}
.wd-header-cats .menu-opener .menu-open-label,
.wd-header-cats .menu-opener .menu-opener-icon,
.wd-header-cats .menu-opener i{color:#fff!important;}
.wd-header-cats .menu-opener:hover,
.wd-header-cats .menu-opener.wd-opened{
	background:#3d5130!important;
	background-color:#3d5130!important;
}

.wd-page-title .wd-page-title-bg{display:none!important;}
.wd-page-title{
	background:#f5f8f0!important;
	border-bottom:1px solid #e2e8d8!important;
	padding:38px 0 32px!important;
	color:#1c1c1c!important;
}
.wd-page-title .wd-title-wrapp{justify-content:center;}
.wd-page-title .entry-title{color:#24331b!important;}
.wd-page-title .wd-breadcrumbs,
.wd-page-title .wd-breadcrumbs a{color:#6b7462!important;}

body.woocommerce-shop .wd-page-title .entry-title:empty::before,
body.tax-product_cat .wd-page-title .entry-title:empty::before{
	content:"Our Collections";
	display:block;
	text-align:center;
	font-size:30px;
	font-weight:600;
	line-height:1.25;
	letter-spacing:.01em;
	color:#25331c;
	margin:0 0 24px;
}

.wd-nav-product-cat{
	display:flex!important;
	flex-wrap:wrap;
	justify-content:center;
	align-items:stretch;
	gap:10px;
	margin:0!important;
	padding:0!important;
	list-style:none!important;
}
.wd-nav-product-cat>li{float:none!important;display:block!important;flex:0 1 auto!important;width:auto!important;margin:0!important;padding:0!important;}
.wd-nav-product-cat>li>a.category-nav-link{
	display:block!important;
	height:100%;
	box-sizing:border-box;
	background:#fff!important;
	border:1px solid #dde5d2!important;
	border-radius:6px!important;
	padding:12px 18px!important;
	color:#2b3325!important;
	font-size:12px!important;
	font-weight:600!important;
	line-height:1.35;
	letter-spacing:.045em;
	text-transform:uppercase;
	text-align:center;
	text-decoration:none;
	box-shadow:none!important;
	transition:background .2s ease,border-color .2s ease,color .2s ease;
}
.wd-nav-product-cat>li>a.category-nav-link::before,
.wd-nav-product-cat>li>a.category-nav-link::after{display:none!important;}
.wd-nav-product-cat>li>a.category-nav-link:hover,
.wd-nav-product-cat>li.current-cat>a.category-nav-link,
.wd-nav-product-cat>li.wd-active>a.category-nav-link{
	background:#526b3f!important;
	border-color:#526b3f!important;
	color:#fff!important;
}
.wd-nav-product-cat .nav-link-summary{
	display:flex;
	flex-direction:column;
	align-items:center;
	gap:3px;
}
.wd-nav-product-cat .nav-link-text{color:inherit!important;}
.wd-nav-product-cat .nav-link-count{
	color:inherit!important;
	opacity:.62;
	font-size:11px!important;
	font-weight:400!important;
	letter-spacing:0;
	text-transform:none;
}
.wd-btn-show-cat{display:none!important;}

/* current Products menu item: brand tint instead of demo lime */
.whb-general-header .current-menu-item>a.woodmart-nav-link,
.whb-general-header .current-menu-item>a.woodmart-nav-link .nav-link-text{color:#526b3f!important;}
.whb-general-header .current-menu-item>a.woodmart-nav-link,
.whb-general-header .current-menu-item>a.woodmart-nav-link::before{background:#eef1e8!important;}

@media(max-width:1024px){
	.wd-page-title{padding:28px 0 24px!important;}
	body.woocommerce-shop .wd-page-title .entry-title:empty::before,
	body.tax-product_cat .wd-page-title .entry-title:empty::before{font-size:24px;margin-bottom:18px;}
	.wd-nav-product-cat{gap:7px;}
	.wd-nav-product-cat>li>a.category-nav-link{padding:9px 12px!important;font-size:11px!important;}
}


/* -------------------------------------------------------------------------
   Magtrees: header rebuild v2
   Woodmart demo header = promo bar + logo/search/menu row + a third row
   holding ONLY a lime "Browse Categories" button. Remove rows 1 and 3,
   keep row 2 as one clean sticky bar in brand colours.
   ------------------------------------------------------------------------- */
.whb-top-bar,
.whb-header-bottom{display:none!important;}

.whb-header{position:sticky!important;top:0!important;z-index:390;}
.whb-main-header{position:relative!important;top:auto!important;}

.whb-general-header{
	background:#fff!important;
	border-bottom:1px solid #e6ebdd!important;
	box-shadow:0 1px 10px rgba(30,45,20,.05);
}
.whb-general-header-inner{
	height:auto!important;
	max-height:none!important;
	min-height:80px;
}
.whb-general-header .site-logo{padding-inline:0!important;}
.whb-general-header .wd-logo img{
	max-width:190px!important;
	max-height:48px!important;
	width:auto!important;
	height:auto!important;
	object-fit:contain;
}

/* demo search box: no empty outlined rectangle, no "All Categories" dropdown */
.wd-header-search-form .searchform{
	border:1px solid #dde5d2!important;
	border-radius:4px!important;
	background:#fafbf8!important;
	min-height:42px;
}
.wd-header-search-form .searchform input.s{background:transparent!important;}
.wd-header-search-form .wd-search-cat{display:none!important;}

/* main navigation */
.whb-general-header .wd-header-nav .menu > li > a.woodmart-nav-link{
	color:#2b3325!important;
	font-size:13px!important;
	font-weight:600!important;
	letter-spacing:.045em;
	text-transform:uppercase;
}
.whb-general-header .wd-header-nav .menu > li > a.woodmart-nav-link:hover,
.whb-general-header .wd-header-nav .menu > li.current-menu-item > a.woodmart-nav-link{
	color:#526b3f!important;
}
.whb-general-header .wd-header-nav .menu > li.current-menu-item > a.woodmart-nav-link::before{
	background:#eef1e8!important;
}

/* demo utility icons / links */
.wd-header-wishlist,.wd-header-compare,.wd-header-cart,.wd-header-my-account,
.menu-item-wishlist,.menu-item-compare,.menu-item-account{display:none!important;}

/* hero sits directly under the single header row */
body.home .mt-hero{margin-top:0;}

@media(max-width:1024px){
	.whb-general-header-inner{min-height:66px;}
	.whb-general-header .wd-logo img{max-width:150px!important;max-height:40px!important;}
	.wd-header-search-form{display:none!important;}
}


/* -------------------------------------------------------------------------
   Magtrees: header polish — CTA button + no duplicated sticky clone
   ------------------------------------------------------------------------- */
.whb-clone{display:none!important;}

.whb-general-header #menu-main-navigation > li > a[href$="/contact/"]{
	background:#526b3f!important;
	background-color:#526b3f!important;
	color:#fff!important;
	padding:11px 20px!important;
	border-radius:4px!important;
	line-height:1.2;
}
.whb-general-header #menu-main-navigation > li > a[href$="/contact/"] .nav-link-text{
	color:#fff!important;
}
.whb-general-header #menu-main-navigation > li > a[href$="/contact/"]::before{
	display:none!important;
}
.whb-general-header #menu-main-navigation > li > a[href$="/contact/"]:hover{
	background:#3d5130!important;
	background-color:#3d5130!important;
	color:#fff!important;
}


/* -------------------------------------------------------------------------
   Magtrees: hero photo
   Original-site greenery wall photo; root-relative URL survives a domain change.
   ------------------------------------------------------------------------- */
body.home .mt-hero{
	background-image:url('/wp-content/uploads/2026/11/hero-green-wall.webp')!important;
	background-size:cover!important;
	background-position:center center!important;
}
body.home .mt-hero__overlay{
	background:linear-gradient(180deg,rgba(18,30,14,.42) 0%,rgba(18,30,14,.60) 100%)!important;
}


/* -------------------------------------------------------------------------
   Magtrees: official logo sizing
   Cropped transparent mark: allow a wider, crisper header logo.
   ------------------------------------------------------------------------- */
.whb-general-header .wd-logo img{
	max-width:210px!important;
	max-height:46px!important;
	width:auto!important;
	height:auto!important;
	object-fit:contain;
}
.whb-general-header .site-logo{min-width:210px;}
@media (max-width:1024px){
	.whb-general-header .wd-logo img{max-width:172px!important;max-height:40px!important;}
	.whb-general-header .site-logo{min-width:172px;}
}


/* -------------------------------------------------------------------------
   Magtrees: artificial greenery page title
   Real artificial green-wall photo instead of the Woodmart demo living room.
   ------------------------------------------------------------------------- */
.wd-page-title .wd-page-title-bg{
	display:block!important;
	position:absolute!important;
	inset:0!important;
	width:100%!important;
	height:100%!important;
	overflow:hidden;
	background-image:url('/wp-content/uploads/2026/11/page-title-green-wall.webp')!important;
	background-size:cover!important;
	background-position:center center!important;
}
.wd-page-title-bg img{
	width:100%!important;
	height:100%!important;
	max-width:none!important;
	object-fit:cover!important;
	object-position:center center!important;
}
.wd-page-title-bg::after{
	content:'';
	position:absolute;
	inset:0;
	z-index:1;
	background:linear-gradient(90deg,rgba(10,24,9,.68) 0%,rgba(10,24,9,.52) 55%,rgba(10,24,9,.62) 100%);
	pointer-events:none;
}
.wd-page-title{
	position:relative!important;
	overflow:hidden;
	background:#162a12!important;
	border-bottom:0!important;
	color:#fff!important;
	padding:52px 0 46px!important;
}
.wd-page-title .container{position:relative;z-index:2;}
.wd-page-title .wd-title-wrapp{justify-content:center;}
.wd-page-title .entry-title,
.wd-page-title .entry-title:empty::before{
	color:#fff!important;
	text-shadow:0 1px 14px rgba(0,0,0,.38);
}
.wd-page-title .wd-breadcrumbs,
.wd-page-title .wd-breadcrumbs a,
.wd-page-title .wd-breadcrumbs .wd-last,
.wd-page-title .wd-breadcrumbs .wd-delimiter{color:#e7f0dc!important;}
.wd-page-title .wd-nav-product-cat>li>a.category-nav-link{
	background:rgba(255,255,255,.95)!important;
	border-color:rgba(255,255,255,.55)!important;
	box-shadow:0 2px 10px rgba(0,0,0,.18)!important;
}
body.woocommerce-shop .wd-page-title .entry-title:empty::before,
body.tax-product_cat .wd-page-title .entry-title:empty::before{color:#fff!important;}
body.home .wd-page-title,
body.page-id-36045 .wd-page-title{display:none!important;}
@media(max-width:1024px){
	.wd-page-title{padding:34px 0 30px!important;}
}

/* -------------------------------------------------------------------------
   Magtrees: products mega dropdown
   Compact two-column category panel; full copy in products-menu.css
   ------------------------------------------------------------------------- */
/* --- remove the demo Browse Categories row / opener --- */
.whb-header-bottom,.wd-header-cats,.wd-header-cats .wd-dropdown-cats,
#menu-categories{display:none!important;}

/* --- override the hardcoded demo mega panel dimensions --- */
.whb-general-header .menu-mega-dropdown{
--wd-dropdown-width:760px!important;
--wd-dropdown-height:auto!important;
--wd-dropdown-padding:0px!important;
}
.whb-general-header .menu-mega-dropdown > .wd-dropdown-menu{
width:760px!important;
min-width:0!important;
max-width:calc(100vw - 36px)!important;
height:auto!important;
min-height:0!important;
max-height:none!important;
padding:0!important;
background:#fff!important;
border:1px solid #dfe7d4!important;
border-radius:10px!important;
box-shadow:0 18px 44px rgba(32,48,22,.16)!important;
overflow:hidden!important;
}
.whb-general-header .menu-mega-dropdown > .wd-dropdown-menu > .container{
display:block!important;
flex:1 1 auto!important;
width:auto!important;
max-width:none!important;
padding:0!important;
}
.whb-general-header .menu-mega-dropdown > .wd-dropdown-menu > .container::before{
content:"PRODUCTS BY CATEGORY";
display:block;
padding:15px 22px;
background:#526b3f!important;
color:#fff!important;
font-size:11px!important;
font-weight:700!important;
line-height:1.2;
letter-spacing:.16em;
}
.whb-general-header .menu-mega-dropdown ul.wd-sub-menu{
display:grid!important;
grid-template-columns:repeat(2,minmax(0,1fr))!important;
gap:8px 10px!important;
margin:0!important;
padding:16px 20px 22px!important;
list-style:none!important;
}
.whb-general-header .menu-mega-dropdown ul.wd-sub-menu > li,
.whb-general-header .menu-mega-dropdown ul.wd-sub-menu > li.wd-col{
float:none!important;
display:block!important;
flex:none!important;
width:100%!important;
max-width:none!important;
margin:0!important;
padding:0!important;
border:0!important;
}
.whb-general-header .menu-mega-dropdown ul.wd-sub-menu > li > a.woodmart-nav-link{
display:flex!important;
align-items:center!important;
gap:10px;
box-sizing:border-box;
width:100%;
padding:11px 14px!important;
background:#f6f9f2!important;
border:1px solid #e6eddd!important;
border-radius:6px!important;
color:#2b3325!important;
font-size:12px!important;
font-weight:600!important;
line-height:1.35;
letter-spacing:.01em;
text-transform:none!important;
text-decoration:none!important;
transition:background .18s ease,color .18s ease,border-color .18s ease;
}
.whb-general-header .menu-mega-dropdown ul.wd-sub-menu > li > a::before{
content:"";
display:block;
flex:0 0 6px;
width:6px;height:6px;
border-radius:50%;
background:#526b3f;
}
.whb-general-header .menu-mega-dropdown ul.wd-sub-menu > li > a::after{
content:"→";
display:block!important;
margin-left:auto;
font-size:13px;
opacity:.42;
color:inherit;
}
.whb-general-header .menu-mega-dropdown ul.wd-sub-menu > li > a:hover{
background:#526b3f!important;
border-color:#526b3f!important;
color:#fff!important;
}
.whb-general-header .menu-mega-dropdown ul.wd-sub-menu > li > a:hover::before{background:#fff!important;}
.whb-general-header .menu-mega-dropdown ul.wd-sub-menu > li > a:hover::after{opacity:.9;}

@media(max-width:1100px){
.whb-general-header .menu-mega-dropdown > .wd-dropdown-menu{width:680px!important;}
}
@media(max-width:760px){
.whb-general-header .menu-mega-dropdown > .wd-dropdown-menu{width:calc(100vw - 36px)!important;}
.whb-general-header .menu-mega-dropdown ul.wd-sub-menu{grid-template-columns:1fr!important;}
}


/* -------------------------------------------------------------------------
   Magtrees: About page layout
   Full copy in Magtrees_WordPress交付/about-page.css
   ------------------------------------------------------------------------- */
/* --- About page: all rules scoped to page 2000 --- */
.page-id-2000 .wd-page-title .entry-title{
font-size:42px!important;
font-weight:600!important;
letter-spacing:-.015em!important;
line-height:1.15!important;
}
.page-id-2000 article.entry-content{
max-width:1120px;
margin:0 auto;
padding:0 24px;
}
.mtab{
box-sizing:border-box;
color:#52575c;
font-size:15px;
}
.mtab *,.mtab *::before,.mtab *::after{box-sizing:border-box;}
.mtab p{margin:0;}
.mtab__eyebrow{
display:block;
margin:0 0 12px;
font-size:11px;
font-weight:700;
letter-spacing:.18em;
text-transform:uppercase;
color:#526b3f;
}
.mtab__eyebrow--light{color:rgba(255,255,255,.7);}
.mtab__title{
margin:0 0 20px!important;
font-size:38px;
line-height:1.2;
font-weight:600;
letter-spacing:-.025em;
color:#1c1c1c;
}
.mtab__h2{
margin:0 0 12px!important;
font-size:29px;
line-height:1.25;
font-weight:600;
letter-spacing:-.02em;
color:#1c1c1c;
}
.mtab__lead{
margin:0 0 14px!important;
font-size:16px;
line-height:1.8;
color:#3c4147;
}
.mtab__text{
margin:0 0 14px!important;
font-size:15px;
line-height:1.8;
color:#52575c;
}
.mtab__head-sub{
margin:0!important;
max-width:620px;
font-size:15px;
line-height:1.7;
color:#7d858b;
}
.mtab__textlink{
display:inline-flex;
align-items:center;
gap:8px;
margin-top:6px;
font-size:14px;
font-weight:600;
color:#526b3f;
text-decoration:none;
border-bottom:1px solid #c9d4bb;
padding-bottom:3px;
}
.mtab__textlink:hover{color:#3d5130;border-color:#3d5130;}
.mtab__hero{
display:grid;
grid-template-columns:1.05fr .95fr;
gap:56px;
align-items:center;
padding:64px 0 54px;
}
.mtab__hero-media{
position:relative;
overflow:hidden;
border-radius:10px;
aspect-ratio:4/3;
background:#eef1e8;
box-shadow:0 18px 40px rgba(40,58,28,.09);
}
.mtab__hero-media img{
width:100%;height:100%;
object-fit:cover;
display:block;
}
.mtab__badge{
position:absolute;
left:18px;bottom:18px;
padding:10px 15px;
background:rgba(255,255,255,.95);
border-radius:5px;
font-size:12px;
font-weight:600;
letter-spacing:.02em;
color:#3d5130;
box-shadow:0 6px 18px rgba(0,0,0,.12);
}
.mtab__stats{
display:grid;
grid-template-columns:repeat(4,1fr);
border-top:1px solid #e4e6e1;
border-bottom:1px solid #e4e6e1;
margin:0 0 68px;
}
.mtab__stat{
padding:24px 18px 24px 28px;
border-right:1px solid #e4e6e1;
}
.mtab__stat:first-child{padding-left:0;}
.mtab__stat:last-child{border-right:0;}
.mtab__stat strong{
display:block;
margin:0 0 4px;
font-size:31px;
line-height:1.15;
font-weight:600;
letter-spacing:-.02em;
color:#526b3f;
}
.mtab__stat span{
display:block;
font-size:12px;
font-weight:600;
letter-spacing:.1em;
text-transform:uppercase;
color:#8b9197;
}
.mtab__section{margin:0 0 72px;}
.mtab__head{margin:0 0 28px;}
.mtab__cards{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:18px;
}
.mtab__card{
overflow:hidden;
background:#fff;
border:1px solid #e4e6e1;
border-radius:8px;
transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}
.mtab__card:hover{
border-color:#c8d4b8;
box-shadow:0 12px 28px rgba(40,58,28,.08);
transform:translateY(-2px);
}
.mtab__card-media{
height:210px;
padding:10px;
background:#fff;
display:flex;
align-items:center;
justify-content:center;
}
.mtab__card-media img{
width:100%;
height:100%;
object-fit:contain;
display:block;
}
.mtab__card-body{padding:20px 22px 24px;}
.mtab__card-body h3{
margin:0 0 12px;
font-size:17px;
line-height:1.35;
font-weight:600;
color:#1c1c1c;
}
.mtab__card-body ul{
margin:0;padding:0;list-style:none;
}
.mtab__card-body li{
position:relative;
padding-left:15px;
margin:0 0 6px;
font-size:14px;
line-height:1.55;
color:#5c6267;
}
.mtab__card-body li::before{
content:"";
position:absolute;
left:0;top:9px;
width:5px;height:5px;
border-radius:50%;
background:#8fa578;
}
.mtab__work{
display:grid;
grid-template-columns:.95fr 1.05fr;
gap:52px;
align-items:center;
margin:0 0 68px;
}
.mtab__work-media{
overflow:hidden;
border-radius:10px;
aspect-ratio:16/10;
background:#f7f9f4;
}
.mtab__work-media img{width:100%;height:100%;object-fit:cover;display:block;}
.mtab__work-copy .mtab__text{max-width:460px;margin-bottom:20px!important;}
.mtab__feature{
display:grid;
grid-template-columns:38px 1fr;
gap:14px;
padding:16px 0;
border-top:1px solid #e4e6e1;
}
.mtab__feature-num{
font-size:13px;
font-weight:700;
letter-spacing:.06em;
color:#8fa578;
padding-top:2px;
}
.mtab__feature h3{
margin:0 0 5px;
font-size:16px;
font-weight:600;
color:#1c1c1c;
}
.mtab__feature p{
margin:0!important;
font-size:14px;
line-height:1.65;
color:#6c7378;
}
.mtab__quality{
margin:0 0 44px;
padding:36px 38px 32px;
background:#f7f9f4;
border:1px solid #e2e9d8;
border-radius:10px;
}
.mtab__quality-head{margin:0 0 24px;}
.mtab__steps{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:12px;
}
.mtab__step{
position:relative;
padding:18px 20px;
background:#fff;
border:1px solid #e4e6e1;
border-radius:6px;
}
.mtab__step span{
display:block;
margin:0 0 6px;
font-size:11px;
font-weight:700;
letter-spacing:.12em;
color:#8fa578;
}
.mtab__step strong{
font-size:15px;
font-weight:600;
color:#1c1c1c;
}
.mtab__quality-note{
margin:20px 0 0!important;
font-size:14px;
line-height:1.7;
color:#6c7378;
}
.mtab__cta{
display:flex;
align-items:center;
justify-content:space-between;
gap:32px;
margin:0 0 32px;
padding:36px 40px;
background:#526b3f;
border-radius:10px;
}
.mtab__cta h2{
margin:0 0 8px;
font-size:26px;
line-height:1.3;
font-weight:600;
letter-spacing:-.01em;
color:#fff;
}
.mtab__cta p{
margin:0!important;
font-size:14px;
line-height:1.7;
color:rgba(255,255,255,.78);
}
.mtab__cta-actions{
display:flex;
flex-wrap:wrap;
gap:12px;
flex:0 0 auto;
}
.mtab__cta .mt-btn{padding:13px 24px;font-size:14px;}
.mtab__cta .mt-btn-ghost{
color:#fff;
border-color:rgba(255,255,255,.6);
}
.mtab__cta .mt-btn-ghost:hover{
color:#fff;
border-color:#fff;
}
@media(max-width:1000px){
.mtab__hero{gap:34px;}
.mtab__title{font-size:32px;}
.mtab__work{gap:34px;}
}
@media(max-width:900px){
.mtab__hero,.mtab__work{grid-template-columns:1fr;gap:32px;}
.mtab__hero{padding-top:44px;}
.mtab__hero-media{aspect-ratio:16/10;}
.mtab__stats{grid-template-columns:repeat(2,1fr);}
.mtab__stat{padding:18px 16px;border-bottom:1px solid #e4e6e1;}
.mtab__stat:nth-child(2){border-right:0;}
.mtab__stat:nth-child(3){padding-left:0;border-bottom:0;}
.mtab__stat:nth-child(4){border-bottom:0;}
.mtab__cards{grid-template-columns:1fr;}
.mtab__card-media{height:190px;}
.mtab__cta{flex-direction:column;align-items:flex-start;}
}
@media(max-width:600px){
.page-id-2000 article.entry-content{padding:0 16px;}
.page-id-2000 .wd-page-title .entry-title{font-size:31px!important;}
.mtab__title{font-size:27px;}
.mtab__h2{font-size:24px;}
.mtab__stat strong{font-size:25px;}
.mtab__steps{grid-template-columns:1fr;}
.mtab__quality,.mtab__cta{padding:26px 22px;}
.mtab__cta h2{font-size:22px;}
}


/* -------------------------------------------------------------------------
   Magtrees: mobile / footer / title polish
   Full copy in Magtrees_WordPress交付/site-polish.css
   ------------------------------------------------------------------------- */
/* --- Footer: centre the copyright across the full width --- */
.wd-copyrights .wd-grid-g{display:block!important;}
.wd-copyrights .wd-col-start{
width:100%!important;
max-width:100%!important;
float:none!important;
text-align:center!important;
}
.wd-copyrights .wd-col-start>div{text-align:center!important;}
.wd-copyrights .wd-col-start a{display:inline-block;}

/* --- Mobile home collections: image on top, label below --- */
@media(max-width:768px){
.mt-cols{gap:10px;}
.mt-col{
aspect-ratio:auto;
display:flex;
flex-direction:column;
overflow:hidden;
background:#fff;
border:1px solid #e4e6e1;
border-radius:6px;
}
.mt-col img{
flex:0 0 auto;
width:100%;
height:128px;
object-fit:contain;
padding:8px;
background:#f7f9f4;
}
.mt-col:hover img{transform:none;}
.mt-col__label{
position:static;
margin-top:auto;
min-height:56px;
box-sizing:border-box;
display:flex;
align-items:center;
justify-content:center;
gap:8px;
padding:9px 10px;
background:#526b3f;
font-size:11px;
line-height:1.35;
letter-spacing:.01em;
text-align:center;
}
.mt-col__label>span:first-child{min-width:0;}
.mt-col__count{flex:0 0 auto;font-size:10px;opacity:.8;}
}

/* --- Mobile shop / category archive header --- */
@media(max-width:768px){
/* Clean white header instead of the grey-green wash; the desktop green-wall
   banner is untouched. Woodmart keeps a dark background on .wd-page-title,
   which used to show through the gaps between the category cards. */
body.woocommerce-shop .wd-page-title,
body.tax-product_cat .wd-page-title{
background:#fff!important;
background-image:none!important;
border-bottom:1px solid #e6eddd!important;
padding:22px 0 20px!important;
}
body.woocommerce-shop .wd-page-title::before,
body.woocommerce-shop .wd-page-title::after,
body.tax-product_cat .wd-page-title::before,
body.tax-product_cat .wd-page-title::after{background:transparent!important;}
body.woocommerce-shop .wd-page-title .wd-page-title-bg,
body.tax-product_cat .wd-page-title .wd-page-title-bg{display:none!important;}

/* The title is a real <h1>, not an :empty pseudo element. Override the
   color-scheme-light white text and its drop shadow with a deep brand green. */
body.woocommerce-shop .wd-page-title .wd-title-wrapp,
body.tax-product_cat .wd-page-title .wd-title-wrapp{color:#294b21!important;}
body.woocommerce-shop .wd-page-title .entry-title,
body.woocommerce-shop .wd-page-title .entry-title.title,
body.tax-product_cat .wd-page-title .entry-title,
body.tax-product_cat .wd-page-title .entry-title.title{
color:#294b21!important;
text-shadow:none!important;
font-size:25px!important;
font-weight:600!important;
line-height:1.2!important;
letter-spacing:.01em!important;
margin:0 0 14px!important;
}
body.woocommerce-shop .wd-page-title .wd-title-wrapp::after,
body.tax-product_cat .wd-page-title .wd-title-wrapp::after{
content:'';
display:block;
width:36px;
height:3px;
border-radius:2px;
background:#7ba05b;
margin:0 auto 18px;
}

/* A soft green panel gives the category grid a real colour instead of grey. */
body.woocommerce-shop .wd-page-title .wd-nav-product-cat,
body.tax-product_cat .wd-page-title .wd-nav-product-cat{
display:grid!important;
grid-template-columns:repeat(2,minmax(0,1fr))!important;
gap:8px!important;
width:100%;
margin:0!important;
padding:10px!important;
box-sizing:border-box;
background:#f1f6ea!important;
border:1px solid #e3edda!important;
border-radius:10px!important;
justify-content:stretch;
}
body.woocommerce-shop .wd-page-title .wd-nav-product-cat>li,
body.tax-product_cat .wd-page-title .wd-nav-product-cat>li{
width:100%!important;
margin:0!important;
padding:0!important;
background:transparent!important;
border:0!important;
list-style:none!important;
}
body.woocommerce-shop .wd-page-title .wd-nav-product-cat>li:last-child,
body.tax-product_cat .wd-page-title .wd-nav-product-cat>li:last-child{grid-column:1/-1;}
body.woocommerce-shop .wd-page-title .wd-nav-product-cat>li>a.category-nav-link,
body.tax-product_cat .wd-page-title .wd-nav-product-cat>li>a.category-nav-link{
width:100%;
min-height:46px;
box-sizing:border-box;
display:flex!important;
align-items:center;
justify-content:center;
padding:8px 9px!important;
background:#fff!important;
border:1px solid #dbe7d0!important;
border-radius:6px!important;
color:#294b21!important;
font-size:10.5px!important;
font-weight:600;
line-height:1.3;
box-shadow:0 1px 2px rgba(41,75,33,.05)!important;
}
body.woocommerce-shop .wd-page-title .wd-nav-product-cat>li>a.category-nav-link:hover,
body.woocommerce-shop .wd-page-title .wd-nav-product-cat>li.current-cat>a.category-nav-link,
body.tax-product_cat .wd-page-title .wd-nav-product-cat>li>a.category-nav-link:hover,
body.tax-product_cat .wd-page-title .wd-nav-product-cat>li.current-cat>a.category-nav-link{
background:#3f6130!important;
border-color:#3f6130!important;
color:#fff!important;
}
body.woocommerce-shop .wd-page-title .wd-nav-product-cat .nav-link-text,
body.tax-product_cat .wd-page-title .wd-nav-product-cat .nav-link-text{color:inherit!important;}
body.woocommerce-shop .wd-page-title .wd-nav-product-cat .nav-link-count,
body.tax-product_cat .wd-page-title .wd-nav-product-cat .nav-link-count{color:#7d8a72!important;font-size:10px!important;}
body.woocommerce-shop .wd-page-title .wd-nav-product-cat>li.current-cat>a.category-nav-link .nav-link-count,
body.tax-product_cat .wd-page-title .wd-nav-product-cat>li.current-cat>a.category-nav-link .nav-link-count{color:rgba(255,255,255,.8)!important;}
.wd-btn-show-cat{display:none!important;}
}

@media(max-width:380px){
.mt-col img{height:112px;}
.mt-col__label{font-size:10px;padding:8px;}
}

/* -------------------------------------------------------------------------
   Magtrees: contact page layout
   Full copy in Magtrees_WordPress交付/contact-page.css
   ------------------------------------------------------------------------- */
/* --- Contact page: scope everything to this page so the product-page
       enquiry modal (also .mt-form) is untouched --- */
.page-id-2001 article.entry-content{
max-width:1040px;
margin:0 auto;
}
.mt-contact{margin:0;}
.mt-contact__intro{margin:0 0 30px;}
.mt-contact__eyebrow{
display:block;
margin:0 0 10px;
font-size:11px;
font-weight:700;
letter-spacing:.18em;
text-transform:uppercase;
color:#526b3f;
}
.mt-contact__title{
margin:0 0 12px;
font-size:30px;
line-height:1.25;
font-weight:600;
letter-spacing:-.01em;
color:#1c1c1c;
}
.mt-contact__lead{
margin:0;
max-width:730px;
font-size:15px;
line-height:1.75;
color:#52575c;
}
.mt-contact__grid{
display:grid;
grid-template-columns:repeat(3,minmax(0,1fr));
gap:16px;
margin:0 0 34px;
}
.mt-contact__card{
position:relative;
box-sizing:border-box;
display:flex;
flex-direction:column;
gap:14px;
padding:22px 22px 20px;
background:#fff;
border:1px solid #e4e6e1;
border-radius:8px;
transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}
.mt-contact__card:hover{
border-color:#c8d4b8;
box-shadow:0 10px 26px rgba(40,58,28,.08);
transform:translateY(-2px);
}
.mt-contact__card--wide{
grid-column:1/-1;
flex-direction:row;
align-items:center;
gap:22px;
background:#f7f9f4;
border-color:#e2e9d8;
}
.mt-contact__card--wide .mt-contact__body{
display:grid;
grid-template-columns:200px 1fr;
align-items:center;
gap:24px;
width:100%;
}
.mt-contact__icon{
position:relative;
flex:0 0 42px;
width:42px;
height:42px;
border-radius:50%;
background:#eef1e8;
color:#526b3f;
}
.mt-contact__icon::before,.mt-contact__icon::after{
content:"";
position:absolute;
display:block;
}
.mt-contact__icon--pin::before{
top:11px;left:13px;width:12px;height:12px;
border:2px solid currentColor;
border-radius:50% 50% 50% 0;
transform:rotate(-45deg);
}
.mt-contact__icon--pin::after{
top:17px;left:19px;width:4px;height:4px;
border-radius:50%;background:currentColor;
}
.mt-contact__icon--person::before{
top:10px;left:15px;width:10px;height:10px;
border:2px solid currentColor;border-radius:50%;
}
.mt-contact__icon--person::after{
top:24px;left:11px;width:20px;height:10px;
border:2px solid currentColor;border-bottom:0;
border-radius:12px 12px 0 0;
}
.mt-contact__icon--phone::before{
top:11px;left:14px;width:14px;height:20px;
border:2px solid currentColor;border-radius:4px;
}
.mt-contact__icon--phone::after{
top:26px;left:19px;width:4px;height:2px;
border-radius:2px;background:currentColor;
}
.mt-contact__icon--mail::before{
content:"@";
inset:0;
display:flex;
align-items:center;
justify-content:center;
font:600 22px/1 Arial,Helvetica,sans-serif;
color:currentColor;
}
.mt-contact__icon--mail::after{display:none;}
.mt-contact__body{width:100%;}
.mt-contact__label{
display:block;
margin:0 0 7px;
font-size:11px;
font-weight:700;
letter-spacing:.14em;
text-transform:uppercase;
color:#8b9197;
}
.mt-contact__card--wide .mt-contact__label{margin:0;}
.mt-contact__value{
margin:0;
font-size:15px;
line-height:1.65;
font-weight:500;
color:#1c1c1c;
}
.mt-contact__value--lg{font-size:19px;}
.mt-contact__value a{
color:#1c1c1c;
text-decoration:none;
border-bottom:1px solid #c9d4bb;
padding-bottom:2px;
}
.mt-contact__value a:hover{color:#526b3f;border-color:#526b3f;}
.mt-contact__form-head{
margin:0 0 20px;
padding-top:32px;
border-top:1px solid #e4e6e1;
}
.mt-contact__form-head .mt-contact__title{margin:0;font-size:26px;}
.page-id-2001 article.entry-content > form.mt-form{
box-sizing:border-box;
padding:28px 30px 26px;
background:#fafbf8;
border:1px solid #e4e6e1;
border-radius:8px;
}
.page-id-2001 article.entry-content > form.mt-form .mt-form__intro{
max-width:760px;
margin:0 0 22px;
}
@media(max-width:900px){
.mt-contact__grid{grid-template-columns:1fr;}
.mt-contact__card--wide{grid-column:auto;flex-direction:column;align-items:flex-start;}
.mt-contact__card--wide .mt-contact__body{grid-template-columns:1fr;gap:6px;}
.mt-contact__title{font-size:25px;}
}
@media(max-width:600px){
.page-id-2001 article.entry-content > form.mt-form{padding:22px 18px;}
.mt-contact__form-head .mt-contact__title{font-size:23px;}
}

/* -------------------------------------------------------------------------
   Magtrees: category-count safe layout
   Full copy in Magtrees_WordPress交付/category-safe.css
   ------------------------------------------------------------------------- */
/* =========================================================================
   Magtrees: category-count safe layout
   Keeps desktop and mobile tidy as product categories grow from 7 to 12+.
   ========================================================================= */

/* 1. Home "Our Collections": the column count follows the viewport, not the
   number of categories. auto-fit drops empty tracks on wide screens. */
.mt-cols{grid-template-columns:repeat(auto-fit,minmax(230px,1fr))!important;}
@media(max-width:1024px){.mt-cols{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))!important;}}
@media(max-width:768px){.mt-cols{grid-template-columns:repeat(2,minmax(0,1fr))!important;}}

/* 2. A brand-new category whose thumbnail is not uploaded yet must never
   render as a blank card. The gradient sits behind the <img> if one exists. */
.mt-col{background-color:#eef3e7;}
.mt-col:not(:has(>img)){background-image:linear-gradient(135deg,#e6efd8,#c9dcae);}

/* 3. Desktop PRODUCTS mega dropdown: the two-column grid already grows in
   rows; cap the panel so a long list can never run past the viewport. */
.whb-general-header .menu-mega-dropdown > .wd-dropdown-menu{
max-height:min(72vh,620px)!important;
overflow-y:auto!important;
overflow-x:hidden!important;
}

/* 4. Desktop archive category chips: wrap inside a fixed reading width
   instead of stretching across the full screen when a second row appears. */
.wd-page-title .wd-nav-product-cat{max-width:1080px;margin-left:auto!important;margin-right:auto!important;}

/* 5. Mobile archive header: only the last chip of an ODD list should span
   both columns. The old :last-child rule left a half-empty row whenever the
   category count was even (8, 10, 12 ...). */
@media(max-width:768px){
body.woocommerce-shop .wd-page-title .wd-nav-product-cat>li:last-child,
body.tax-product_cat .wd-page-title .wd-nav-product-cat>li:last-child{grid-column:auto!important;}
body.woocommerce-shop .wd-page-title .wd-nav-product-cat>li:last-child:nth-child(odd),
body.tax-product_cat .wd-page-title .wd-nav-product-cat>li:last-child:nth-child(odd){grid-column:1/-1!important;}

/* 6. From 9 categories upwards, switch the mobile grid to one horizontally
   scrollable row, so the header never swallows the whole first screen.
   :has() is supported by all current browsers; older ones keep the tidy
   two-column grid above. */
body.woocommerce-shop .wd-page-title .wd-nav-product-cat:has(>li:nth-child(9)),
body.tax-product_cat .wd-page-title .wd-nav-product-cat:has(>li:nth-child(9)){
display:flex!important;
flex-wrap:nowrap!important;
overflow-x:auto!important;
overscroll-behavior-x:contain;
scroll-snap-type:x proximity;
-webkit-overflow-scrolling:touch;
padding:10px!important;
}
body.woocommerce-shop .wd-page-title .wd-nav-product-cat:has(>li:nth-child(9))>li,
body.tax-product_cat .wd-page-title .wd-nav-product-cat:has(>li:nth-child(9))>li{
flex:0 0 46%!important;
width:46%!important;
scroll-snap-align:start;
}
body.woocommerce-shop .wd-page-title .wd-nav-product-cat:has(>li:nth-child(9))>li:last-child:nth-child(odd),
body.tax-product_cat .wd-page-title .wd-nav-product-cat:has(>li:nth-child(9))>li:last-child:nth-child(odd){grid-column:auto!important;}
body.woocommerce-shop .wd-page-title .wd-nav-product-cat:has(>li:nth-child(9))>li>a.category-nav-link,
body.tax-product_cat .wd-page-title .wd-nav-product-cat:has(>li:nth-child(9))>li>a.category-nav-link{height:100%!important;}
}
/* END Magtrees: category-count safe layout */

/* -------------------------------------------------------------------------
   Magtrees: blog archive safe layout
   Full copy in Magtrees_WordPress交付/blog-safe.css
   ------------------------------------------------------------------------- */

/* =========================================================================
   Magtrees: blog archive safe layout
   Any number of posts, with or without featured images, all cards equal.
   ========================================================================= */

/* 1. Column count follows the viewport, never the number of posts. */
.wd-posts.wd-blog-holder{
display:grid!important;
grid-template-columns:repeat(auto-fill,minmax(290px,1fr))!important;
gap:24px!important;
align-items:stretch!important;
}
.wd-posts.wd-blog-holder > .wd-col{
width:auto!important;max-width:none!important;float:none!important;
margin:0!important;display:flex;min-width:0;
}
.wd-posts.wd-blog-holder > .wd-col > .wd-post-inner{width:100%;}

/* 2. Equal-height flex card, left aligned regardless of the masonry design. */
.wd-posts.wd-blog-holder .wd-post-inner{
height:100%!important;
display:flex;flex-direction:column;
--wd-post-align:start;
background:#fff;
border:1px solid #e3e9db;
border-radius:8px;
overflow:hidden;
box-shadow:0 2px 12px rgba(35,60,25,.06)!important;
transition:box-shadow .25s ease,transform .25s ease;
}
.wd-posts.wd-blog-holder .wd-post-inner:hover{
box-shadow:0 8px 24px rgba(35,60,25,.12)!important;
transform:translateY(-2px);
}
.wd-posts.wd-blog-holder .wd-post-content{
height:100%;
display:flex;flex-direction:column;
padding:22px 22px 20px!important;
text-align:left!important;
align-items:flex-start!important;
border-radius:0!important;
}

/* 3. A media area exists on EVERY card. No featured image -> branded
   gradient placeholder, so mixing posts with and without images is safe. */
.wd-posts.wd-blog-holder .wd-post-inner:not(:has(.wd-post-thumb))::before{
content:"MAGTREES  \00B7  WORDS ON PLANTS";
flex:0 0 auto;width:100%;aspect-ratio:1/1;
display:flex;align-items:center;justify-content:center;
background:linear-gradient(135deg,#eef4e6 0%,#dbe9cd 55%,#c9dcae 100%);
border-bottom:1px solid #e2e9d8;
color:#7b9766;
font:600 11px/1.4 Arial,Helvetica,sans-serif;
letter-spacing:.16em;text-align:center;
}
.wd-posts.wd-blog-holder .wd-post-thumb{
flex:0 0 auto;
width:100%!important;
aspect-ratio:1/1!important;
margin:0!important;
border-radius:0!important;
overflow:hidden;
transform:none!important;
background:#fff;
}
.wd-posts.wd-blog-holder .wd-post-thumb .wd-post-img{
width:100%!important;height:100%!important;aspect-ratio:auto!important;
}
.wd-posts.wd-blog-holder .wd-post-thumb img,
.wd-posts.wd-blog-holder .wd-post-img img{
width:100%!important;height:100%!important;
object-fit:contain!important;
background:#fff;
}

/* 4. Category badge back inside the card (masonry uses a negative margin). */
.wd-posts.wd-blog-holder .wd-post-cat{
position:static!important;
margin:0 0 12px!important;
align-self:flex-start;
width:auto;max-width:100%;
line-height:1;
}
.wd-posts.wd-blog-holder .wd-post-cat a{
display:inline-block;
padding:6px 10px!important;
border-radius:3px;
font-size:10px!important;
font-weight:600;
letter-spacing:.09em;
text-transform:uppercase;
}

/* 5. Fixed-size title / excerpt blocks: long or short text cannot push the
   button to a different position on different cards. */
.wd-posts.wd-blog-holder .wd-post-title{
width:100%;
margin:0 0 10px!important;
text-align:left!important;
font-size:19px!important;
line-height:1.4!important;
min-height:2.8em;
display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;
overflow:hidden;
color:#25331e;
}
.wd-posts.wd-blog-holder .wd-post-title a{color:inherit;text-decoration:none;}
.wd-posts.wd-blog-holder .wd-post-meta{
width:100%;
justify-content:flex-start!important;
margin:0 0 12px!important;
min-height:18px;
font-size:12px;
color:#8b9484;
}
.wd-posts.wd-blog-holder .wd-post-author,
.wd-posts.wd-blog-holder .wd-post-share{display:none!important;}
.wd-posts.wd-blog-holder .wd-post-excerpt{
width:100%;
margin:0 0 16px!important;
text-align:left!important;
font-size:14px;line-height:1.65;
color:#66705f;
min-height:4.95em;
display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;
overflow:hidden;
}
.wd-posts.wd-blog-holder .wd-post-read-more{
width:100%;
margin-top:auto!important;
padding-top:2px;
text-align:left!important;
}
.wd-posts.wd-blog-holder .wd-post-read-more a{
font-size:12px!important;
letter-spacing:.08em;
color:#426a2c!important;
}

/* 6. Pagination sits clear of the last row. */
body.woodmart-archive-blog .wd-pagination,
body.woodmart-archive-blog .wd-pagination-wrap{
margin:36px auto 8px!important;
justify-content:center;
}

@media(max-width:1024px){
.wd-posts.wd-blog-holder{grid-template-columns:repeat(auto-fill,minmax(250px,1fr))!important;gap:18px!important;}
}
@media(max-width:768px){
.wd-posts.wd-blog-holder{grid-template-columns:repeat(auto-fill,minmax(230px,1fr))!important;gap:14px!important;}
.wd-posts.wd-blog-holder .wd-post-content{padding:18px 18px 18px!important;}
.wd-posts.wd-blog-holder .wd-post-title{font-size:18px!important;}
}
@media(max-width:576px){
.wd-posts.wd-blog-holder{grid-template-columns:1fr!important;}
}

/* END Magtrees: blog archive safe layout */

/* -------------------------------------------------------------------------
   Magtrees: unified single-border search form
   Full copy in Magtrees_WordPress交付/search-safe.css
   ------------------------------------------------------------------------- */
/* =========================================================================
   Magtrees: unified single-border search form
   One border, one height, everywhere (desktop header + mobile slide-in menu).
   ========================================================================= */
.wd-search-form{
	border:0!important;
	background:transparent!important;
	box-shadow:none!important;
}
.wd-search-form .searchform{
	position:relative!important;
	display:block!important;
	width:100%!important;
	height:44px!important;
	min-height:44px!important;
	padding:0!important;
	margin:0!important;
	border:1px solid #d9e4cf!important;
	border-radius:6px!important;
	background:#fff!important;
	box-shadow:none!important;
	overflow:visible;                 /* keep AJAX results dropdown visible */
}
.wd-search-form .searchform input[type="text"],
.wd-search-form .searchform input.s{
	height:42px!important;
	line-height:42px!important;
	padding:0 52px 0 14px!important; /* room for the magnifier only */
	border:0!important;
	outline:0!important;
	box-shadow:none!important;
	background:transparent!important;
	color:#2b3325!important;
	font-size:13px!important;
	-webkit-appearance:none!important;
	appearance:none!important;
}
.wd-search-form .searchform.wd-with-cat input[type="text"]{
	padding-inline-end:52px!important;   /* the category dropdown is hidden */
}
.wd-search-form .searchform input::placeholder{
	color:#93a08a!important;
	opacity:1;
}
.wd-search-form .searchform:focus-within{
	border-color:#6f9950!important;
	box-shadow:0 0 0 3px rgba(111,153,80,.12)!important;
}
.wd-search-form .searchform .wd-search-cat{display:none!important;}
.wd-search-form .searchform .wd-clear-search{border-inline-end:0!important;}
.wd-search-form .searchform .searchsubmit{
	border:0!important;
	background:transparent!important;
	box-shadow:none!important;
	color:#426a2c!important;
	width:46px!important;
}
.wd-search-form .searchform .searchsubmit:after{font-size:17px!important;}

@media(max-width:768px){
	.wd-search-form .searchform{height:42px!important;min-height:42px!important;}
	.wd-search-form .searchform input[type="text"],
	.wd-search-form .searchform input.s{height:40px!important;line-height:40px!important;}
}
/* END Magtrees: unified single-border search form */

/* BEGIN Magtrees: products mega dropdown hover safe */
/* -------------------------------------------------------------------------
   Magtrees: products mega dropdown hover safe
   Woodmart offsets .wd-dropdown by margin-top:15px. Our compact panel has
   overflow:hidden, which clipped the theme's hover bridge -> leaving the top
   level item for those 15px dropped :hover and hid the panel.
   ------------------------------------------------------------------------- */
.whb-general-header .menu-mega-dropdown{position:relative!important;}
.whb-general-header .menu-mega-dropdown > .wd-dropdown-menu{
top:100%!important;
margin-top:6px!important;
transform:none!important;
transition:none!important;
}
@media(min-width:1025px){
/* The bridge belongs to the LI, so hovering it keeps li:hover alive. */
.whb-general-header .menu-mega-dropdown::after{
content:"";
position:absolute;
left:0;
right:0;
top:100%;
height:24px;
z-index:379;
background:transparent;
pointer-events:auto;
}
/* JS grace period: survives sticky-header rebuilds and fast pointer moves. */
.whb-general-header .menu-mega-dropdown.mt-menu-open > .wd-dropdown-menu{
visibility:visible!important;
opacity:1!important;
transform:none!important;
pointer-events:auto!important;
}
}
/* END Magtrees: products mega dropdown hover safe */

/* BEGIN Magtrees: disable empty legacy promo popup */
/* -------------------------------------------------------------------------
   Magtrees: disable the empty WoodMart legacy promo popup
   It has no content, opens 2s after load and covers the products menu.
   Scoped to the promo popup only: product image lightbox / quick view
   use different .mfp-wrap classes and are untouched.
   ------------------------------------------------------------------------- */
#popup-legacy{display:none!important;}
.mfp-wrap.wd-promo-popup-wrap{display:none!important;}
body:has(.mfp-wrap.wd-promo-popup-wrap) > .mfp-bg{display:none!important;}
body:has(.mfp-wrap.wd-promo-popup-wrap){
overflow:auto!important;
padding-right:0!important;
}
/* END Magtrees: disable empty legacy promo popup */

/* -------------------------------------------------------------------------
   Magtrees: single post editorial layout
   Full copy in Magtrees_WordPress交付/single-post.css
   ------------------------------------------------------------------------- */
/* ---- Article card ---------------------------------------------------- */
.post-single-page.post.type-post{
max-width:900px!important;
margin:44px auto 0!important;
padding:52px 60px 48px!important;
background:#fff!important;
border:1px solid #e4ebd9!important;
border-radius:14px!important;
box-shadow:0 10px 34px rgba(35,60,25,.055)!important;
}
.post-single-page .wd-single-post-header{
--wd-align:center;
gap:0!important;
margin:0 0 0!important;
padding:0 0 26px!important;
border-bottom:1px solid #e8eee0!important;
}

/* ---- Category eyebrow: thin rule + letter-spaced text, no sticker ----- */
.post-single-page .wd-single-post-header .wd-post-cat.wd-style-with-bg{
background:transparent!important;
height:auto!important;
padding:0!important;
border:0!important;
border-radius:0!important;
overflow:visible!important;
line-height:1!important;
display:inline-flex!important;
align-items:center!important;
gap:12px;
margin:0 0 20px!important;
}
.post-single-page .wd-single-post-header .wd-post-cat::before,
.post-single-page .wd-single-post-header .wd-post-cat::after{
content:'';display:block;width:26px;height:1px;background:#c8d9b4;
}
.post-single-page .wd-single-post-header .wd-post-cat a{
background:transparent!important;
color:#4f7a34!important;
padding:0!important;
font-size:11px!important;
font-weight:700!important;
letter-spacing:.18em!important;
line-height:1.4!important;
text-transform:uppercase!important;
text-decoration:none!important;
}

/* ---- Title ----------------------------------------------------------- */
.post-single-page .wd-single-post-header h1.wd-post-title{
max-width:760px;
margin:0 auto!important;
font-size:clamp(25px,3vw,33px)!important;
font-weight:600!important;
line-height:1.36!important;
letter-spacing:-.01em!important;
color:#23331c!important;
text-transform:none!important;
text-align:center!important;
}

/* ---- Broken Gravatar / duplicated dates: hide the whole default row --- */
.post-single-page .wd-single-post-header > .wd-post-meta,
.post-single-page .wd-single-post-header img.avatar{display:none!important;}

/* ---- Featured image, if an editor adds one later --------------------- */
.post-single-page .wd-post-thumb{
width:100%;max-height:420px;overflow:hidden;
border-radius:10px;margin:0 0 28px!important;
}
.post-single-page .wd-post-thumb img{width:100%;height:auto;object-fit:cover;}

/* ---- Body copy ------------------------------------------------------- */
.post-single-page .wd-entry-content{
max-width:760px;
margin:0 auto!important;
color:#3d4938!important;
font-size:16.5px!important;
line-height:1.92!important;
letter-spacing:.005em;
}
.post-single-page .wd-entry-content p{
margin:0 0 1.35em!important;
color:#3d4938!important;
font-size:1em!important;
line-height:1.92!important;
}
.post-single-page .wd-entry-content > p:first-of-type{
font-size:1.08em!important;
line-height:1.8!important;
color:#2b3a24!important;
}
.post-single-page .wd-entry-content p.mt-num-item{
padding-left:1.6em;text-indent:-1.6em;
margin:0 0 .75em!important;
font-size:.96em!important;
color:#46533f!important;
}
.post-single-page .wd-entry-content h2,
.post-single-page .wd-entry-content h3{
color:#25331e;font-weight:600;line-height:1.4;
margin:1.6em 0 .6em;
}
.post-single-page .wd-entry-content h2{font-size:22px;}
.post-single-page .wd-entry-content h3{font-size:18px;}
.post-single-page .wd-entry-content ul,
.post-single-page .wd-entry-content ol{
margin:0 0 1.4em!important;padding-left:1.5em;
}
.post-single-page .wd-entry-content li{margin:0 0 .5em;line-height:1.8;}
.post-single-page .wd-entry-content blockquote{
margin:1.6em 0;padding:4px 0 4px 22px;
border-left:3px solid #9cc07a;
color:#55634d;font-style:italic;
}
.post-single-page .wd-entry-content img{
max-width:100%;height:auto;border-radius:8px;
}
.post-single-page .wd-entry-content a{color:#426a2c;}

/* ---- Clean byline ---------------------------------------------------- */
.mt-post-meta{
display:flex;justify-content:center;align-items:center;flex-wrap:wrap;
gap:11px;
margin:24px auto 34px!important;
font-size:12.5px;color:#8a9482;letter-spacing:.03em;
line-height:1.5;
}
.mt-post-meta time{color:#6f7b66;}
.mt-post-meta .mt-author{color:#4f7a34;font-weight:600;}
.mt-post-meta a{color:#6f7b66;text-decoration:none;}
.mt-post-meta a:hover{color:#426a2c;}
.mt-post-meta .mt-dot{
width:3px;height:3px;border-radius:50%;background:#b6c3a7;display:inline-block;
}

/* ---- Related reading ------------------------------------------------- */
.mt-related{
margin:46px 0 0!important;
padding:34px 0 0!important;
border-top:1px solid #e8eee0;
}
.mt-related__head{
margin:0 0 18px!important;
font-size:14px!important;font-weight:700!important;
letter-spacing:.12em;text-transform:uppercase;
color:#4f7a34!important;text-align:left!important;
}
.mt-related__grid{
display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:16px;
}
.mt-related__card{
display:block;overflow:hidden;
background:#fff;border:1px solid #e4ebd9;border-radius:10px;
text-decoration:none!important;color:inherit;
transition:box-shadow .25s ease,transform .25s ease,border-color .25s ease;
}
.mt-related__card:hover{
box-shadow:0 8px 22px rgba(35,60,25,.11);
transform:translateY(-2px);border-color:#cbdcb8;
}
.mt-related__thumb{
aspect-ratio:4/5;width:100%;overflow:hidden;
display:flex;align-items:center;justify-content:center;
background:#f5f7f1;
color:#5f7a4c;font:600 10px/1.4 Arial,Helvetica,sans-serif;
letter-spacing:.14em;text-align:center;
}
.mt-related__thumb img{width:auto!important;max-width:100%!important;height:auto!important;max-height:100%!important;object-fit:contain!important;border-radius:0!important;}
.mt-related__body{padding:14px 16px 17px;}
.mt-related__date{display:block;font-size:11px;color:#96a08d;}
.mt-related__title{
margin:6px 0 0!important;font-size:15px!important;line-height:1.45!important;
font-weight:600;color:#25331e!important;
display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.mt-back-wrap{text-align:center;margin:32px 0 0;}
.mt-back{
display:inline-flex;align-items:center;gap:8px;
padding:11px 22px;border:1px solid #c8d9b4;border-radius:999px;
background:#f7faf3;color:#3f6b28!important;
font-size:13px;font-weight:600;text-decoration:none!important;
transition:background .2s ease,border-color .2s ease;
}
.mt-back:hover{background:#eaf3e0;border-color:#8fb36c;}

/* ---- Featured hero --------------------------------------------------- */
.mt-post-hero{
width:100%;max-width:560px;margin:0 auto 30px!important;
border-radius:10px;overflow:hidden;
background:#fff;
display:flex;justify-content:center;
}
.mt-post-hero img{
width:auto!important;max-width:100%!important;
height:auto!important;max-height:min(78vh,720px)!important;
object-fit:contain!important;border-radius:0!important;display:block;
}
/* Woodmart renders the featured image a SECOND time inside the page header
   as .wd-post-image (not .wd-post-thumb). Hide every theme-owned copy so
   the article shows exactly one hero image. */
.post-single-page > .wd-post-thumb,
.post-single-page .wd-single-post-header .wd-post-thumb,
.post-single-page .wd-single-post-header .wd-post-image,
.post-single-page .wd-single-post-header > picture,
.post-single-page .wd-single-post-header > img.wp-post-image{display:none!important;}

/* ---- Grouped catalogue articles (h2 + ordered list) ----------------- */
.post-single-page .wd-entry-content h2{
margin:2em 0 .8em!important;
padding-bottom:10px;
border-bottom:1px solid #e8eee0;
font-size:20px!important;
color:#3b6327!important;
letter-spacing:.02em;
}
.post-single-page .wd-entry-content ol{
list-style:decimal;
padding-left:1.5em!important;margin:0 0 1.8em!important;
}
.post-single-page .wd-entry-content ol li{
padding-left:.3em;margin:0 0 .85em;line-height:1.8;
}
.post-single-page .wd-entry-content ol li::marker{color:#6f9950;font-weight:700;}
.post-single-page .wd-entry-content strong{color:#2b3a24;font-weight:600;}

/* ---- Widgets outside the article ------------------------------------- */
.wd-single-footer{max-width:760px;margin:26px auto 0!important;}
.wd-single-footer .social-share{justify-content:center!important;}
.wd-page-nav{max-width:760px;margin:22px auto 60px!important;}
.wd-page-nav .back-to-archive{display:none!important;}

/* ---- Mobile ---------------------------------------------------------- */
@media(max-width:900px){
.post-single-page.post.type-post{
margin:24px 14px 0!important;
padding:32px 22px 30px!important;
border-radius:10px!important;
}
.post-single-page .wd-entry-content{font-size:15.5px!important;line-height:1.85!important;}
.post-single-page .wd-entry-content p{line-height:1.85!important;}
.post-single-page .wd-single-post-header h1.wd-post-title{font-size:24px!important;}
.mt-related{padding:26px 0 0!important;margin:34px 0 0!important;}
.wd-single-footer,.wd-page-nav{max-width:none;margin-left:14px!important;margin-right:14px!important;}
}
@media(max-width:576px){
.mt-related__grid{grid-template-columns:1fr;}
.post-single-page .wd-single-post-header .wd-post-cat::before,
.post-single-page .wd-single-post-header .wd-post-cat::after{width:16px;}
.mt-post-meta{gap:8px;font-size:12px;}
}

/* ---- One column title size everywhere --------------------------------
   Woodmart assigns title-size-default (68px) on a single post but an empty
   title-size- class (36px) on the category archive. Keep the smaller one
   on both views, at every viewport width. Scoped to this column only, so
   product / About / Contact page titles are untouched. */
body.single-post .wd-page-title .entry-title,
body.category .wd-page-title .entry-title{
font-size:36px!important;
line-height:1.2!important;
}
.wd-page-title .entry-title span{font-size:inherit!important;}

/* END Magtrees: single post editorial layout */

/* START Magtrees: CTA band — card layout v2 */
/* An enquiry card, not a stripe. Two columns of real copy on a dark
   botanical ground: the company's published facts on the left, a short
   "what to send us" checklist and the button on the right. No decorative
   image is needed — the words carry the weight. Scoped to .mt-cta only. */
.mt-cta{
	padding:10px 24px 72px;
	background:transparent;
	color:#fff;
}

.mt-cta__inner{
	position:relative;
	isolation:isolate;
	max-width:1280px;
	margin:0 auto;
	padding:44px 52px;
	display:grid;
	grid-template-columns:minmax(0,1.32fr) minmax(290px,.78fr);
	align-items:stretch;
	gap:0 52px;
	border-radius:22px;
	overflow:hidden;
	color:#fff;
	background-color:#2f4728;
	background-image:
		radial-gradient(118% 168% at 100% 0%, rgba(214,236,190,.17) 0%, rgba(214,236,190,0) 56%),
		linear-gradient(112deg,#2b4126 0%,#3b5733 50%,#2a4025 100%);
	box-shadow:
		0 34px 68px -34px rgba(24,40,20,.55),
		inset 0 1px 0 rgba(255,255,255,.10),
		inset 0 0 0 1px rgba(255,255,255,.055);
}

/* soft light from the upper right, nothing pictorial */
.mt-cta__inner::before{
	content:"";
	position:absolute;
	z-index:-1;
	right:-70px;
	top:-160px;
	width:560px;
	height:460px;
	border-radius:50%;
	background:radial-gradient(circle,rgba(202,231,166,.15) 0%,rgba(202,231,166,0) 68%);
	pointer-events:none;
}

.mt-cta__body,
.mt-cta__aside{
	position:relative;
	z-index:2;
	min-width:0;
}

.mt-cta__eyebrow{
	display:inline-flex;
	align-items:center;
	gap:11px;
	margin:0 0 15px;
	padding:0;
	font-size:11px;
	font-weight:600;
	line-height:1;
	letter-spacing:.19em;
	text-transform:uppercase;
	color:rgba(226,240,209,.66);
}

.mt-cta__eyebrow::before{
	content:"";
	display:block;
	flex:0 0 auto;
	width:26px;
	height:1px;
	background:linear-gradient(90deg,rgba(190,214,160,.12),rgba(190,214,160,.85));
}

.mt-cta__title{
	margin:0 0 14px;
	font-size:clamp(27px,3.1vw,37px);
	font-weight:700;
	line-height:1.14;
	letter-spacing:-.016em;
	color:#fff;
}

.mt-cta__text{
	margin:0;
	max-width:54ch;
	font-size:15.5px;
	line-height:1.68;
	font-weight:400;
	text-align:left;
	color:rgba(236,244,226,.84);
}

.mt-cta__text--sub{
	margin-top:11px;
	max-width:58ch;
	font-size:14px;
	line-height:1.66;
	color:rgba(236,244,226,.60);
}

.mt-cta__perks{
	display:grid;
	gap:11px;
	margin:26px 0 0;
	padding:0;
	list-style:none;
}

.mt-cta__perks li{
	display:flex;
	align-items:center;
	gap:9px;
	margin:0;
	padding:0;
	font-size:14px;
	line-height:1.4;
	color:rgba(240,247,232,.9);
}

.mt-cta__perkico{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	flex:0 0 auto;
	width:22px;
	height:22px;
	border-radius:999px;
	background:rgba(169,196,141,.17);
	color:#b9d29a;
}

.mt-cta__perkico svg{
	display:block;
	width:13px!important;
	height:13px!important;
}

.mt-cta__aside{
	display:flex;
	flex-direction:column;
	padding-left:44px;
	border-left:1px solid rgba(255,255,255,.15);
}

.mt-cta__aside-label{
	margin:2px 0 16px;
	font-size:11px;
	font-weight:600;
	line-height:1.4;
	letter-spacing:.17em;
	text-transform:uppercase;
	color:rgba(226,240,209,.62);
}

.mt-cta__aside-list{
	display:grid;
	gap:9px;
	margin:0 0 26px;
	padding:0;
	list-style:none;
}

.mt-cta__aside-list li{
	position:relative;
	margin:0;
	padding-left:18px;
	font-size:14px;
	line-height:1.45;
	color:rgba(240,247,232,.9);
}

.mt-cta__aside-list li::before{
	content:"";
	position:absolute;
	left:0;
	top:.55em;
	width:6px;
	height:6px;
	border-radius:50%;
	background:rgba(185,210,154,.85);
}

.mt-cta__aside-note{
	margin:14px 0 0;
	font-size:12.5px;
	line-height:1.55;
	color:rgba(236,244,226,.5);
}

.mt-cta .mt-btn-light{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	align-self:flex-start;
	gap:10px;
	min-height:54px;
	padding:0 34px;
	border-radius:999px;
	background:#fff;
	color:#2c4227;
	font-size:15.5px;
	font-weight:600;
	line-height:1;
	letter-spacing:.005em;
	white-space:nowrap;
	box-shadow:0 14px 28px -14px rgba(0,0,0,.55);
	transition:transform .18s var(--mt-ease),box-shadow .2s var(--mt-ease),
		background-color .18s var(--mt-ease),color .18s var(--mt-ease);
}

.mt-cta .mt-btn-light:hover,
.mt-cta .mt-btn-light:focus-visible{
	background:#f5f7f0;
	color:#243620;
	transform:translateY(-1px);
	box-shadow:0 18px 34px -14px rgba(0,0,0,.6);
}

.mt-cta__arrow{
	flex:0 0 auto;
	transition:transform .18s var(--mt-ease);
}

.mt-cta .mt-btn-light:hover .mt-cta__arrow,
.mt-cta .mt-btn-light:focus-visible .mt-cta__arrow{
	transform:translateX(3px);
}

@media (max-width:1180px){
	.mt-cta__inner{padding:40px 40px;gap:0 38px;}
	.mt-cta__aside{padding-left:32px;}
	.mt-cta__title{font-size:clamp(26px,3vw,33px);}
}

@media (max-width:1024px){
	.mt-cta{padding:8px 20px 60px;}
	.mt-cta__inner{padding:36px 32px;gap:0 30px;}
	.mt-cta__aside{padding-left:26px;}
	.mt-cta__perks{gap:11px 20px;}
}

@media (max-width:860px){
	.mt-cta__inner{
		grid-template-columns:1fr;
		padding:34px 26px 32px;
		gap:28px;
		border-radius:18px;
	}
	.mt-cta__aside{
		padding-left:0;
		padding-top:24px;
		border-left:0;
		border-top:1px solid rgba(255,255,255,.15);
	}
	.mt-cta .mt-btn-light{width:100%;}
}

@media (max-width:640px){
	.mt-cta{padding:6px 16px 48px;}
	.mt-cta__inner{padding:30px 22px 26px;}
	.mt-cta__title{font-size:24px;}
	.mt-cta__text{font-size:14.5px;}
	.mt-cta__perks{gap:10px;margin-top:20px;}
	.mt-cta .mt-btn-light{
		min-height:50px;
		padding:0 26px;
		font-size:14.5px;
	}
}
/* END Magtrees: CTA band — card layout v2 */



/* =========================================================================
   Magtrees: saved-enquiry list (compare removed, wishlist -> enquiry list)
   ========================================================================= */

/* Header entry — fixed into the main header row. The button element needs an
   explicit selector to beat the theme's base.css button reset. */
button.mt-list-toggle {
	position: fixed;
	right: 24px;
	top: 32px;
	z-index: 90;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #fff;
	border: 1px solid var(--mt-line);
	border-radius: var(--mt-radius);
	padding: 8px 12px;
	font-size: 13px;
	font-weight: 600;
	color: var(--mt-ink);
	cursor: pointer;
	transition: color 0.2s var(--mt-ease), border-color 0.2s var(--mt-ease), background 0.2s var(--mt-ease);
}
.mt-list-toggle:hover {
	border-color: var(--mt-green);
	color: var(--mt-green);
}

.mt-list-toggle__icon {
	display: inline-flex;
	align-items: center;
}
.mt-list-toggle__label {
	white-space: nowrap;
}
.mt-list-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 9px;
	background: var(--mt-muted);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
}
.mt-list-count.is-empty {
	background: var(--mt-line);
	color: var(--mt-muted);
}
.mt-list-toggle.has-items .mt-list-count {
	background: var(--mt-green);
	color: #fff;
}

/* Modal panes: single vs list view. */
.mt-modal__pane[hidden] {
	display: none;
}
.mt-form__intro {
	margin: -6px 0 16px;
	font-size: 13.5px;
	color: var(--mt-body);
}

/* Saved product rows. */
.mt-list__items {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 4px 0 20px;
}
.mt-list__empty {
	padding: 18px 0;
	text-align: center;
	color: var(--mt-muted);
	font-size: 14px;
}
.mt-list__item {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px;
	border: 1px solid var(--mt-line);
	border-radius: var(--mt-radius);
}
.mt-list__thumb {
	flex: 0 0 64px;
	width: 64px;
	height: 64px;
	border-radius: var(--mt-radius);
	overflow: hidden;
	background: var(--mt-green-tint);
	display: flex;
	align-items: center;
	justify-content: center;
}
.mt-list__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.mt-list__body {
	flex: 1 1 auto;
	min-width: 0;
}
.mt-list__name {
	display: block;
	font-size: 14.5px;
	font-weight: 600;
	color: var(--mt-ink);
	text-decoration: none;
	line-height: 1.35;
}
.mt-list__name:hover {
	color: var(--mt-green);
}
.mt-list__meta {
	margin-top: 3px;
	font-size: 12.5px;
	color: var(--mt-muted);
}
.mt-list__remove {
	flex: 0 0 auto;
	width: 30px;
	height: 30px;
	border: 1px solid var(--mt-line);
	border-radius: 50%;
	background: #fff;
	color: var(--mt-muted);
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	transition: color 0.2s var(--mt-ease), border-color 0.2s var(--mt-ease);
}
.mt-list__remove:hover {
	color: #b33a3a;
	border-color: #b33a3a;
}

/* Saved state on the converted wishlist button. */
.wd-wishlist-btn.mt-saved {
	color: var(--mt-green);
}
.wd-wishlist-btn.mt-saved a {
	color: var(--mt-green);
}

/* Mobile: keep the entry compact. */
@media (max-width: 640px) {
	button.mt-list-toggle {
		padding: 7px 10px;
	}
	.mt-list-toggle__label {
		display: none;
	}
	.mt-list__item {
		gap: 10px;
		padding: 10px;
	}
	.mt-list__thumb {
		flex-basis: 52px;
		width: 52px;
		height: 52px;
	}
}

/* Product model picker + spec cards (mt-picker) */
.mt-picker {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
	margin: 18px 0 22px;
}

.mt-pick {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--mt-line);
	border-radius: var(--mt-radius);
	background: #fff;
	padding: 8px;
	cursor: pointer;
	transition: border-color 0.2s var(--mt-ease), box-shadow 0.2s var(--mt-ease);
}

.mt-pick img {
	width: 100%;
	height: 132px;
	object-fit: contain;
	display: block;
	border-radius: 3px;
}

.mt-pick:hover { border-color: var(--mt-green); }

.mt-pick.active {
	border-color: var(--mt-green);
	border-width: 2px;
	box-shadow: 0 0 0 2px var(--mt-green-tint), 0 4px 12px rgba(82, 107, 63, 0.22);
	background: var(--mt-green-tint);
}
.mt-pick.active img { outline: none; }

.mt-cards { position: relative; }

.mt-spec-card {
	display: none;
	border: 1px solid var(--mt-line);
	border-radius: var(--mt-radius);
	background: #fff;
	overflow: hidden;
}

.mt-spec-card.active { display: block; }

.mt-spec-card__head {
	padding: 12px 18px;
	background: var(--mt-green);
}

.mt-spec-card__code {
	font-weight: 600;
	color: #fff;
	font-size: 15px;
	letter-spacing: 0.02em;
}

.mt-spec-rows { padding: 6px 18px 12px; }

.mt-spec-row {
	display: flex;
	gap: 16px;
	padding: 10px 0;
	border-bottom: 1px solid var(--mt-line);
}

.mt-spec-row:last-child { border-bottom: none; }

.mt-spec-k {
	flex: 0 0 190px;
	font-weight: 600;
	color: var(--mt-ink);
	font-size: 13.5px;
}

.mt-spec-v {
	flex: 1;
	color: var(--mt-body);
	font-size: 13.5px;
	line-height: 1.55;
}

@media (max-width: 640px) {
	.mt-picker { grid-template-columns: repeat(3, 1fr); gap: 8px; }
	.mt-pick img { height: 96px; }
	.mt-spec-row { flex-direction: column; gap: 4px; }
	.mt-spec-k { flex: none; }
}

/* Multi-spec product model codes row */
.mt-codes-wrapper { display: block; margin: 4px 0; }
.mt-codes-wrapper .meta-label { font-weight: 600; color: var(--mt-ink); }
.mt-codes { color: var(--mt-body); }

/* Models row clickable code buttons */
.mt-codes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mt-codes .mt-code-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 40px;
	text-align: center;
	border: 1px solid var(--mt-line);
	background: #fff;
	border-radius: var(--mt-radius);
	padding: 6px 8px;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--mt-green-dark);
	cursor: pointer;
	line-height: 1.3;
	transition: border-color 0.2s var(--mt-ease), background-color 0.2s var(--mt-ease);
}
.mt-codes .mt-code-link:hover { border-color: var(--mt-green); background: var(--mt-green-tint); }
.mt-codes .mt-code-link.active { border-color: var(--mt-green); background: var(--mt-green); color: #fff; }


/* Mobile: model code buttons two-column, after desktop rules so they win */
@media (max-width: 640px) {
	.mt-codes { grid-template-columns: repeat(2, 1fr) !important; gap: 6px; }
	.mt-codes .mt-code-link {
		font-size: 11.5px !important;
		padding: 6px 6px;
		min-height: 46px !important;
		line-height: 1.3 !important;
		white-space: normal;
		overflow-wrap: break-word;
		word-break: keep-all;
	}
}

/* Mobile catalogue and enquiry controls. */
.mt-hero__quote {
    margin: 4px;
    padding: 13px 18px;
    border: 1px solid #fff;
    border-radius: 999px;
    background: rgba(20, 32, 15, .65);
    color: #fff;
}
.mt-hero__quote:hover, .mt-hero__quote:focus-visible { background: #fff; color: #25351c; }
.mt-category-disclosure > summary, .mt-mobile-quote { display: none; }
.mt-catalogue-sku { margin: 4px 0; color: #53614b; font-size: 12px; }
.single-product .mt-open-enquiry { color: #fff; background: #36532b; border-color: #36532b; }
.single-product .mt-open-enquiry:hover, .single-product .mt-open-enquiry:focus-visible { color: #fff; background: #263c1e; }

@media (max-width: 767px) {
    body.home .mt-hero { min-height: 0 !important; }
    body.home .mt-hero__body { padding: 42px 10px; width: 100%; }
    body.home .mt-hero__title { font-size: clamp(27px, 7.7vw, 34px); margin-bottom: 12px; }
    body.home .mt-hero__sub { font-size: 14px; margin-bottom: 16px; }
    body.home .mt-hero .mt-btn { min-height: 44px; padding: 9px 11px; font-size: 13px; margin: 3px; }
    body.home .mt-hero + .mt-sec { padding-top: 26px; }
    .mt-category-disclosure { margin: 0 auto 8px; max-width: 30rem; }
    .mt-category-disclosure > summary {
        cursor: pointer;
        display: list-item;
        width: fit-content;
        min-height: 44px;
        margin: 0 auto 8px;
        padding: 10px 18px;
        color: #294b21;
        background: #f1f6ea;
        border: 1px solid #dbe7d0;
        border-radius: 8px;
        font-weight: 600;
    }
    body.single-product:has(.mt-mobile-quote:not([hidden])) { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
    .mt-mobile-quote:not([hidden]) {
        display: block;
        position: fixed;
        z-index: 390;
        inset: auto 0 0;
        background: #fff;
        box-shadow: 0 -4px 18px rgba(24, 47, 18, .15);
        padding: 8px 16px calc(8px + env(safe-area-inset-bottom));
    }
    .mt-mobile-quote .mt-btn { display: flex; width: 100%; min-height: 44px; }
    body.single-product:has(.mt-mobile-quote:not([hidden])) .scrollToTop { bottom: 72px; }
}

/* ---- Home (page 36045): tighten the gap between the last reference cards and the footer.
   Baseline was 120px = resources mb40 + main pb40 + empty prefooter pb40.
   Keep main pb40 (site-wide layout baseline); reduce resources mb to 20px and zero the
   empty prefooter placeholder, leaving a ~60px bottom gap. Scoped to home only. ---- */
body.page-id-36045 .mt-resources { margin-bottom: 20px !important; }
body.page-id-36045 .wd-prefooter { padding-bottom: 0 !important; }

/* Inline saved products. Keep the quote button as the main product action. */
.mt-product-save-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 16px;
    margin-top: 6px;
}
button.mt-saved-products-action {
    min-height: 44px;
    padding: 6px 2px;
    background: transparent;
    color: #36532b;
    border: 0;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
}
button.mt-saved-products-action.mt-saved { text-decoration: none; }
.mt-saved-products-action:focus-visible {
    outline: 2px solid #36532b;
    outline-offset: 3px;
}
.mt-saved-products-action[hidden],
.mt-list-form[hidden],
.mt-form__foot button[hidden],
body.single-product .summary-inner:has(.mt-product-save-actions) .wd-wishlist-btn {
    display: none !important;
}
.mt-saved-quantity {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 7px;
    color: var(--mt-muted);
    font-size: 13px;
}
.mt-saved-quantity input {
    width: 74px;
    min-height: 36px;
    padding: 4px 8px;
}

/* The desktop button spells out wholesale. Keep the compact label on phones. */
.mt-quote-label-short { display: none; }
@media (max-width: 767px) {
    .mt-quote-label-long { display: none; }
    .mt-quote-label-short { display: inline; }
}
