:root {
	--wcd-primary: #315d66;
	--wcd-accent: #c45e42;
	--wcd-paper: #f6f2ea;
	--wcd-gold: #d5ae58;
	--wcd-ink: #292c2d;
	--wcd-muted: #6c7474;
	--wcd-line: #dfe4e1;
	--wcd-white: #fff;
	--wcd-shadow: 0 16px 38px rgba(31, 51, 55, .09);
}

body.wcd-hide-topbar #top-nav {
	display: none !important;
}

@media (min-width: 992px) {
	body.wcd-branded-chrome #main-nav {
		padding-bottom: 7px;
		background: transparent !important;
		border: 0 !important;
	}

	body.wcd-branded-chrome #main-nav .main-menu-wrapper {
		padding: 0 12px !important;
		background: linear-gradient(135deg, #294f57 0%, var(--wcd-primary) 65%, #3a6972 100%) !important;
		border: 1px solid rgba(255, 255, 255, .11);
		border-radius: 12px;
		box-shadow: 0 9px 22px rgba(31, 51, 55, .16);
	}

	body.wcd-branded-chrome #main-nav .menu > li > a {
		height: 48px;
		margin: 6px 2px;
		padding: 0 14px;
		border-radius: 8px;
		color: rgba(255, 255, 255, .93) !important;
		transition: background-color .18s ease, color .18s ease, box-shadow .18s ease;
	}

	body.wcd-branded-chrome #main-nav .menu > li > a:hover,
	body.wcd-branded-chrome #main-nav .menu > li.tie-current-menu > a,
	body.wcd-branded-chrome #main-nav .menu > li.current-menu-item > a,
	body.wcd-branded-chrome #main-nav .menu > li.current-menu-ancestor > a {
		background: var(--wcd-accent) !important;
		box-shadow: 0 5px 13px rgba(82, 36, 26, .23);
		color: #fff !important;
	}

	body.wcd-branded-chrome #main-nav .components > li > a,
	body.wcd-branded-chrome #main-nav .components #search-input {
		color: #fff !important;
	}

	body.wcd-branded-chrome #main-nav .menu > li > a:focus-visible {
		outline: 3px solid rgba(213, 174, 88, .72);
		outline-offset: 2px;
	}
}

body.wcd-branded-chrome #footer.site-footer {
	background: #e9eeee !important;
	border-top: 4px solid var(--wcd-primary);
	box-shadow: 0 -8px 22px rgba(31, 51, 55, .05);
	color: #3e4a4c !important;
}

body.wcd-branded-chrome #footer #site-info {
	padding: 21px 0;
	background: transparent !important;
	color: #3e4a4c !important;
}

body.wcd-branded-chrome #footer .copyright-text,
body.wcd-branded-chrome #footer .copyright-text a {
	color: #3e4a4c !important;
}

body.wcd-branded-chrome #footer .copyright-text a:hover {
	color: var(--wcd-accent) !important;
}

body.wcd-branded-chrome #footer .tie-icon-heart {
	color: var(--wcd-accent) !important;
	opacity: .88;
}

/* WooCommerce catalogue shell. */
body.wcd-catalogue #main-content-row > .main-content > .container-wrapper {
	padding: 28px;
	background: #fbfcfb;
	border: 1px solid var(--wcd-line);
	border-radius: 17px;
	box-shadow: 0 12px 30px rgba(31, 51, 55, .055);
}

body.wcd-catalogue .woocommerce-products-header {
	margin: -28px -28px 26px;
	padding: 28px 30px;
	background: linear-gradient(135deg, var(--wcd-primary), #3e737d);
	border-radius: 16px 16px 0 0;
	color: #fff;
}

body.wcd-catalogue .woocommerce-products-header .page-title {
	margin: 0;
	color: #fff;
	font-size: clamp(28px, 3vw, 40px);
	font-weight: 750;
	line-height: 1.12;
}

body.wcd-catalogue .term-description {
	max-width: 720px;
	margin-top: 11px;
	color: rgba(255, 255, 255, .83);
	font-size: 14px;
	line-height: 1.65;
}

body.wcd-catalogue .term-description > :last-child {
	margin-bottom: 0;
}

body.wcd-catalogue .woocommerce-result-count {
	margin: 10px 0 24px;
	color: var(--wcd-muted);
	font-size: 13px;
}

body.wcd-catalogue .woocommerce-ordering {
	margin: 0 0 22px;
}

body.wcd-catalogue .woocommerce-ordering select {
	min-width: 210px;
	height: 42px;
	padding: 0 36px 0 13px;
	background-color: #fff;
	border: 1px solid var(--wcd-line);
	border-radius: 8px;
	color: var(--wcd-ink);
}

body.wcd-catalogue ul.products {
	display: grid !important;
	gap: 20px;
	clear: both;
	margin: 0 !important;
}

body.wcd-catalogue ul.products.columns-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.wcd-catalogue ul.products.columns-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.wcd-catalogue ul.products.columns-4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.wcd-catalogue ul.products::before,
body.wcd-catalogue ul.products::after {
	display: none !important;
}

body.wcd-catalogue ul.products li.product,
body.wcd-product-page .related.products ul.products li.product {
	float: none !important;
	display: flex;
	flex-direction: column;
	width: auto !important;
	min-width: 0;
	margin: 0 !important;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--wcd-line);
	border-radius: 13px;
	box-shadow: 0 8px 21px rgba(31, 51, 55, .065);
	transition: transform .18s ease, box-shadow .18s ease;
}

body.wcd-catalogue ul.products li.product:hover,
body.wcd-product-page .related.products ul.products li.product:hover {
	box-shadow: 0 14px 28px rgba(31, 51, 55, .12);
	transform: translateY(-3px);
}

body.wcd-catalogue ul.products li.product .woocommerce-LoopProduct-link,
body.wcd-product-page .related.products ul.products li.product .woocommerce-LoopProduct-link {
	display: flex;
	flex: 1;
	flex-direction: column;
	color: var(--wcd-ink);
}

body.wcd-catalogue ul.products li.product .product-img,
body.wcd-product-page .related.products ul.products li.product .product-img {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	aspect-ratio: 1 / 1;
	padding: 17px;
	overflow: hidden;
	background: linear-gradient(145deg, #f8f5ef, #edf2f1);
}

body.wcd-catalogue ul.products li.product .product-img img,
body.wcd-product-page .related.products ul.products li.product .product-img img {
	width: 100%;
	height: 100%;
	margin: 0 !important;
	object-fit: contain;
	filter: drop-shadow(0 7px 9px rgba(31, 51, 55, .11));
	transition: transform .25s ease;
}

body.wcd-catalogue ul.products li.product:hover .product-img img,
body.wcd-product-page .related.products ul.products li.product:hover .product-img img {
	transform: scale(1.025);
}

body.wcd-catalogue ul.products li.product .woocommerce-loop-product__title,
body.wcd-product-page .related.products ul.products li.product .woocommerce-loop-product__title {
	margin: 0;
	padding: 17px 16px 8px;
	color: var(--wcd-ink);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
}

body.wcd-catalogue ul.products li.product .price,
body.wcd-product-page .related.products ul.products li.product .price {
	margin: auto 0 0;
	padding: 5px 16px 13px;
	color: var(--wcd-accent);
	font-size: 16px;
	font-weight: 750;
}

body.wcd-catalogue ul.products li.product > .button,
body.wcd-product-page .related.products ul.products li.product > .button {
	margin: 0 16px 17px;
	padding: 10px 12px;
	background: var(--wcd-primary) !important;
	border-radius: 7px;
	color: #fff !important;
	font-size: 12px;
	font-weight: 700;
	text-align: center;
}

body.wcd-catalogue ul.products li.product > .button:hover,
body.wcd-product-page .related.products ul.products li.product > .button:hover {
	background: var(--wcd-accent) !important;
}

body.wcd-catalogue nav.woocommerce-pagination {
	margin-top: 32px;
}

body.wcd-catalogue nav.woocommerce-pagination ul {
	display: flex;
	justify-content: center;
	gap: 6px;
	border: 0;
}

body.wcd-catalogue nav.woocommerce-pagination ul li {
	border: 0;
}

body.wcd-catalogue nav.woocommerce-pagination ul li a,
body.wcd-catalogue nav.woocommerce-pagination ul li span {
	min-width: 38px;
	padding: 10px 11px;
	background: #fff;
	border: 1px solid var(--wcd-line);
	border-radius: 7px;
	color: var(--wcd-primary);
}

body.wcd-catalogue nav.woocommerce-pagination ul li span.current,
body.wcd-catalogue nav.woocommerce-pagination ul li a:hover {
	background: var(--wcd-primary);
	border-color: var(--wcd-primary);
	color: #fff;
}

/* Sidebar controls and the searchable category browser. */
body.wcd-enabled .sidebar .widget.woocommerce {
	padding: 22px;
	background: #fff;
	border: 1px solid var(--wcd-line);
	border-radius: 13px;
	box-shadow: 0 8px 20px rgba(31, 51, 55, .05);
}

body.wcd-enabled .sidebar .widget.woocommerce .the-subtitle {
	color: var(--wcd-ink);
	font-size: 17px;
}

body.wcd-enabled .woocommerce-product-search {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 7px;
}

body.wcd-enabled .woocommerce-product-search .search-field,
.wcd-category-controls input {
	height: 42px;
	padding: 0 12px;
	background: #f8faf9;
	border: 1px solid var(--wcd-line);
	border-radius: 7px;
	color: var(--wcd-ink);
}

body.wcd-enabled .woocommerce-product-search button,
body.wcd-enabled .widget_price_filter .button {
	background: var(--wcd-accent) !important;
	border-radius: 7px;
	color: #fff !important;
}

body.wcd-enabled .widget_price_filter .ui-slider .ui-slider-range,
body.wcd-enabled .widget_price_filter .ui-slider .ui-slider-handle {
	background: var(--wcd-accent) !important;
}

body.wcd-enabled .widget_price_filter .price_slider_wrapper .ui-widget-content {
	background: #dfe7e6;
}

.wcd-category-controls {
	margin: 15px 0 12px;
}

.wcd-category-controls input {
	width: 100%;
}

body.wcd-enabled .widget_product_categories .product-categories {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 7px;
	margin: 0;
}

body.wcd-enabled .widget_product_categories .product-categories > li {
	margin: 0;
	padding: 0;
	border: 0;
	list-style: none;
}

body.wcd-enabled .widget_product_categories .product-categories > li > a {
	display: flex;
	align-items: center;
	min-height: 40px;
	padding: 8px 9px;
	background: #f4f7f6;
	border: 1px solid #e2e9e7;
	border-radius: 7px;
	color: #3f5053;
	font-size: 11px;
	font-weight: 650;
	line-height: 1.3;
}

body.wcd-enabled .widget_product_categories .product-categories > li > a:hover,
body.wcd-enabled .widget_product_categories .product-categories > li.current-cat > a {
	background: var(--wcd-primary);
	border-color: var(--wcd-primary);
	color: #fff;
}

.wcd-category-toggle {
	width: 100%;
	margin-top: 12px;
	padding: 10px 12px;
	background: transparent;
	border: 1px solid var(--wcd-primary);
	border-radius: 7px;
	color: var(--wcd-primary);
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
}

.wcd-category-toggle:hover {
	background: var(--wcd-primary);
	color: #fff;
}

.wcd-category-empty {
	margin: 12px 0 0;
	color: var(--wcd-muted);
	font-size: 12px;
}

/* Individual WooCommerce product pages. */
body.wcd-product-page.wcd-hide-product-sidebar #main-content-row > .main-content {
	float: none !important;
	width: 100% !important;
}

body.wcd-product-page.wcd-hide-product-sidebar #main-content-row > .sidebar {
	display: none !important;
}

body.wcd-product-page #main-content-row > .main-content > .container-wrapper {
	padding: 34px;
	background: #fff;
	border: 1px solid var(--wcd-line);
	border-radius: 18px;
	box-shadow: var(--wcd-shadow);
}

body.wcd-product-page div.product div.images {
	width: 47%;
	margin-bottom: 38px;
	padding: 30px;
	background: linear-gradient(145deg, #faf8f3, #edf2f1);
	border: 1px solid var(--wcd-line);
	border-radius: 15px;
}

body.wcd-product-page div.product div.images img {
	max-height: 650px;
	object-fit: contain;
	filter: drop-shadow(0 12px 16px rgba(31, 51, 55, .11));
}

body.wcd-product-page div.product div.summary {
	width: 48%;
	margin-bottom: 38px;
	padding: 38px;
	background: var(--wcd-paper);
	border: 1px solid #e5ded3;
	border-radius: 15px;
}

body.wcd-product-page div.product .product_title {
	margin: 0 0 18px;
	color: var(--wcd-ink);
	font-size: clamp(30px, 3.6vw, 44px);
	font-weight: 760;
	letter-spacing: -.025em;
	line-height: 1.1;
}

body.wcd-product-page div.product p.price,
body.wcd-product-page div.product span.price {
	margin: 0 0 22px;
	color: var(--wcd-accent);
	font-size: 28px;
	font-weight: 800;
}

body.wcd-product-page .woocommerce-product-details__short-description {
	margin-bottom: 22px;
	color: var(--wcd-muted);
	font-size: 15px;
	line-height: 1.65;
}

.wcd-buy-area {
	margin: 24px 0 21px;
}

body.wcd-product-page div.product .wcd-external-button {
	display: block;
	width: 100%;
	padding: 16px 21px;
	background: var(--wcd-accent) !important;
	border-radius: 9px;
	box-shadow: 0 8px 18px rgba(196, 94, 66, .22);
	color: #fff !important;
	font-size: 15px;
	font-weight: 750;
	text-align: center;
}

body.wcd-product-page div.product .wcd-external-button:hover {
	background: var(--wcd-primary) !important;
}

.wcd-affiliate-notice {
	display: block;
	margin-top: 11px;
	color: var(--wcd-muted);
	font-size: 11px;
	line-height: 1.5;
	text-align: center;
}

body.wcd-product-page .product_meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 12px;
	padding-top: 20px;
	border-top: 1px solid #ded8cf;
	color: var(--wcd-muted);
	font-size: 12px;
	line-height: 1.6;
}

body.wcd-product-page .product_meta > span {
	width: 100%;
}

body.wcd-product-page .product_meta a {
	color: var(--wcd-primary);
	font-weight: 650;
}

body.wcd-product-page .woocommerce-tabs {
	clear: both;
	padding-top: 8px;
}

body.wcd-product-page .woocommerce-tabs ul.tabs {
	margin: 0 !important;
	padding: 0 !important;
	border: 0;
}

body.wcd-product-page .woocommerce-tabs ul.tabs::before,
body.wcd-product-page .woocommerce-tabs ul.tabs li::before,
body.wcd-product-page .woocommerce-tabs ul.tabs li::after {
	display: none !important;
}

body.wcd-product-page .woocommerce-tabs ul.tabs li {
	margin: 0 6px 0 0 !important;
	padding: 0 18px !important;
	background: var(--wcd-primary) !important;
	border: 0 !important;
	border-radius: 8px 8px 0 0 !important;
}

body.wcd-product-page .woocommerce-tabs ul.tabs li a {
	color: #fff !important;
}

body.wcd-product-page .woocommerce-tabs .panel {
	margin: 0 !important;
	padding: 34px;
	background: #fff;
	border: 1px solid var(--wcd-line);
	border-radius: 0 13px 13px 13px;
}

.wcd-section-heading span {
	display: block;
	margin-bottom: 6px;
	color: var(--wcd-accent);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.wcd-section-heading h2 {
	margin: 0 0 18px;
	color: var(--wcd-ink);
	font-size: 27px;
	line-height: 1.2;
}

.wcd-description-copy {
	max-width: 820px;
	color: #4e5556;
	font-size: 15px;
	line-height: 1.75;
}

.wcd-spec-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin-top: 27px;
}

.wcd-spec-grid > div {
	display: grid;
	grid-template-columns: minmax(120px, .8fr) 1.2fr;
	gap: 12px;
	padding: 14px 15px;
	background: #f5f8f7;
	border: 1px solid #e0e7e5;
	border-radius: 8px;
}

.wcd-spec-grid dt,
.wcd-spec-grid dd {
	margin: 0;
}

.wcd-spec-grid dt {
	color: var(--wcd-muted);
	font-size: 12px;
	font-weight: 650;
}

.wcd-spec-grid dd {
	color: var(--wcd-ink);
	font-size: 13px;
	font-weight: 700;
}

body.wcd-product-page .related.products {
	clear: both;
	padding-top: 38px;
}

body.wcd-product-page .related.products > h2 {
	margin-bottom: 22px;
	color: var(--wcd-ink);
	font-size: 27px;
}

body.wcd-product-page .related.products ul.products {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

/* Light card treatment for product rows placed by the existing homepage builder. */
body.home.wcd-enabled .woocommerce ul.products li.product {
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--wcd-line);
	border-radius: 12px;
	box-shadow: 0 7px 18px rgba(31, 51, 55, .06);
}

body.home.wcd-enabled .woocommerce ul.products li.product .product-img {
	padding: 12px;
	background: linear-gradient(145deg, #faf8f3, #edf2f1);
}

body.home.wcd-enabled .woocommerce ul.products li.product .product-img img {
	object-fit: contain;
}

@media (max-width: 1100px) {
	body.wcd-catalogue ul.products.columns-4 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	body.wcd-product-page div.product div.summary {
		padding: 30px;
	}
}

@media (max-width: 991px) {
	body.wcd-catalogue ul.products.columns-3,
	body.wcd-catalogue ul.products.columns-4,
	body.wcd-product-page .related.products ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	body.wcd-product-page div.product div.images,
	body.wcd-product-page div.product div.summary {
		float: none;
		width: 100%;
	}
}

@media (max-width: 767px) {
	body.wcd-catalogue #main-content-row > .main-content > .container-wrapper,
	body.wcd-product-page #main-content-row > .main-content > .container-wrapper {
		padding: 20px;
		border-radius: 13px;
	}

	body.wcd-catalogue .woocommerce-products-header {
		margin: -20px -20px 22px;
		padding: 24px 21px;
		border-radius: 12px 12px 0 0;
	}

	body.wcd-enabled .widget_product_categories .product-categories {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	body.wcd-product-page div.product div.images,
	body.wcd-product-page div.product div.summary {
		padding: 23px;
		border-radius: 12px;
	}

	body.wcd-product-page div.product .product_title {
		font-size: 31px;
	}

	body.wcd-product-page .woocommerce-tabs .panel {
		padding: 24px 20px;
	}

	.wcd-spec-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 520px) {
	body.wcd-catalogue ul.products.columns-2,
	body.wcd-catalogue ul.products.columns-3,
	body.wcd-catalogue ul.products.columns-4,
	body.wcd-product-page .related.products ul.products {
		grid-template-columns: 1fr;
	}

	body.wcd-enabled .widget_product_categories .product-categories {
		grid-template-columns: 1fr;
	}

	.wcd-spec-grid > div {
		grid-template-columns: 1fr;
		gap: 4px;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.wcd-catalogue ul.products li.product,
	body.wcd-catalogue ul.products li.product .product-img img,
	body.wcd-product-page .related.products ul.products li.product {
		transition: none;
	}
}
