/**
 * Site presentation recovered from the former WoodMart Customizer CSS.
 *
 * Deliberately excluded: every legacy product-card rule (.wd-card,
 * .product-grid-item, ul.products li.product, .product-element-bottom and
 * related/up-sell card skins). Product cards are owned only by
 * assets/css/product-card.css.
 */

:root {
	--mm-site-ink: #2b2119;
	--mm-site-accent: #c58b3a;
	--mm-site-accent-soft: #e5c678;
	--mm-site-muted: #6f675f;
	--mm-site-line: rgba(58, 48, 39, .12);
	--mm-site-paper: #fff;
	--mm-site-soft: #f7f3ee;
}

/* Homepage category artwork. The class is present on the active front page. */
.home .category-circle {
	position: relative;
	display: inline-block;
	width: 100%;
}

.home .category-circle::before {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 0;
	width: 75%;
	aspect-ratio: 1 / 1;
	content: "";
	background-color: #8a7a2f;
	border-radius: 50%;
	transform: translate(-50%, -50%);
}

.home .category-circle img {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	height: auto;
}

/* Contact Form 7 submit button. */
.wpcf7-form input.wpcf7-submit {
	color: #fff;
	background: var(--mm-site-accent);
	border-radius: 10px;
}

.wpcf7-form input.wpcf7-submit:hover,
.wpcf7-form input.wpcf7-submit:focus-visible {
	color: #fff;
	background: var(--mm-site-ink);
}

/* Blog cards and single-article typography. */
.blog-design-mask .post-title {
	font-size: 16px;
}

.meta-post-categories > a {
	font-size: 9px;
}

.meta-post-categories,
.wd-post-date {
	border-radius: 10px;
}

.single-post .entry-header img {
	border-radius: 15px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
	transition: transform 240ms ease;
}

.single-post .entry-header img:hover {
	transform: scale(1.01);
}

.single-post .entry-content h3 {
	margin-top: 40px;
	margin-bottom: 20px;
	padding-bottom: 10px;
	color: #b38e5d;
	font-size: 22px;
	border-bottom: 1px solid #eee;
}

.single-post .entry-content p {
	margin-bottom: 25px;
	color: #4a4a4a;
	font-size: 16.5px;
	line-height: 1.9;
	text-align: justify;
}

.single-post .post-date {
	color: #fff !important;
	background-color: #b38e5d !important;
	border-radius: 8px !important;
	box-shadow: 0 4px 10px rgba(179, 142, 93, .3);
}

.single-post #commentform {
	padding: clamp(22px, 4vw, 40px);
	background: #f9f9f9;
	border-radius: 20px;
}

.single-post #commentform input[type="text"],
.single-post #commentform input[type="email"],
.single-post #commentform textarea {
	padding: 12px;
	background: #fff;
	border: 1px solid #e1e1e1;
	border-radius: 8px;
}

.single-post #commentform input:focus,
.single-post #commentform textarea:focus {
	border-color: #b38e5d;
}

.single-post #commentform #submit {
	padding: 12px 40px;
	font-weight: 700;
	text-transform: uppercase;
	background-color: #b38e5d !important;
	border-radius: 5px;
	transition: background-color 200ms ease, box-shadow 200ms ease;
}

.single-post #commentform #submit:hover {
	background-color: #222 !important;
	box-shadow: 0 5px 15px rgba(0, 0, 0, .2);
}

.woodmart-recent-posts-list .post-item-title {
	font-size: 14px;
	line-height: 1.4;
	transition: color 200ms ease;
}

.woodmart-recent-posts-list img {
	border-radius: 8px;
}

/* Archive title: the final bronze version supersedes two older blue drafts. */
body.post-type-archive-product .page-title,
body.tax-product_cat .page-title,
body.tax-product_tag .page-title {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 150px !important;
	margin: 0 0 28px !important;
	padding: 34px 20px 40px !important;
	overflow: hidden;
	background: radial-gradient(circle at 50% -40%, rgba(207, 168, 87, .28), transparent 58%), linear-gradient(135deg, #2c2418 0%, #493b27 55%, #33291b 100%) !important;
	border: 0 !important;
	border-bottom: 1px solid rgba(211, 173, 94, .45) !important;
	box-shadow: 0 10px 30px rgba(42, 31, 17, .15);
}

body.post-type-archive-product .page-title::before,
body.tax-product_cat .page-title::before,
body.tax-product_tag .page-title::before {
	position: absolute;
	inset: 0;
	z-index: 0;
	content: "";
	pointer-events: none;
	background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .018) 0, rgba(255, 255, 255, .018) 1px, transparent 1px, transparent 18px);
}

body.post-type-archive-product .page-title::after,
body.tax-product_cat .page-title::after,
body.tax-product_tag .page-title::after {
	position: absolute;
	bottom: 0;
	left: 50%;
	z-index: 2;
	width: 82px;
	height: 3px;
	content: "";
	background: linear-gradient(90deg, transparent, #e1bd69, transparent);
	border-radius: 50px;
	transform: translateX(-50%);
}

body.post-type-archive-product .page-title > .container,
body.tax-product_cat .page-title > .container,
body.tax-product_tag .page-title > .container {
	position: relative;
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 1200px;
	min-height: 0 !important;
	padding: 0 16px !important;
	gap: 10px;
}

body.post-type-archive-product .page-title .entry-title,
body.tax-product_cat .page-title .entry-title,
body.tax-product_tag .page-title .entry-title {
	position: relative;
	margin: 0 !important;
	padding: 0 !important;
	color: #fffaf0 !important;
	font-size: clamp(28px, 3vw, 42px) !important;
	font-weight: 700 !important;
	line-height: 1.5 !important;
	letter-spacing: -.6px;
	text-align: center;
	text-shadow: 0 3px 14px rgba(0, 0, 0, .28);
}

body.post-type-archive-product .page-title .entry-title::before,
body.tax-product_cat .page-title .entry-title::before,
body.tax-product_tag .page-title .entry-title::before {
	display: block;
	width: 7px;
	height: 7px;
	margin: 0 auto 9px;
	content: "";
	background: #d8b45e;
	border-radius: 50%;
	box-shadow: -13px 0 0 rgba(216, 180, 94, .35), 13px 0 0 rgba(216, 180, 94, .35);
}

body.post-type-archive-product .page-title .breadcrumbs,
body.tax-product_cat .page-title .breadcrumbs,
body.tax-product_tag .page-title .breadcrumbs {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	width: fit-content;
	max-width: 100%;
	margin: 0 !important;
	padding: 7px 15px !important;
	color: rgba(255, 250, 240, .74) !important;
	font-size: 12px !important;
	line-height: 1.6 !important;
	text-align: center;
	background: rgba(255, 255, 255, .07);
	border: 1px solid rgba(255, 255, 255, .11);
	border-radius: 50px;
	backdrop-filter: blur(5px);
	gap: 5px;
}

body.post-type-archive-product .page-title .breadcrumbs a,
body.tax-product_cat .page-title .breadcrumbs a,
body.tax-product_tag .page-title .breadcrumbs a {
	color: #e5c678 !important;
}

body.post-type-archive-product .page-title .breadcrumbs a:hover,
body.tax-product_cat .page-title .breadcrumbs a:hover,
body.tax-product_tag .page-title .breadcrumbs a:hover {
	color: #fff !important;
}

body.post-type-archive-product .page-title .wd-back-btn,
body.tax-product_cat .page-title .wd-back-btn,
body.tax-product_tag .page-title .wd-back-btn {
	position: absolute;
	top: 50%;
	right: 18px;
	color: #e0bd69 !important;
	transform: translateY(-50%);
}

/* Archive tools, sidebar and pagination; compact product lists stay compact. */
.shop-loop-head .wd-shop-tools,
.woocommerce-ordering {
	padding: 10px 14px;
	background: #fff;
	border: 1px solid #eee9e2;
	border-radius: 14px;
	box-shadow: 0 6px 18px rgba(45, 36, 28, .05);
}

.woocommerce-ordering select {
	padding: 10px 12px;
	border: 1px solid #e4ddd5;
	border-radius: 10px;
}

.wd-view-switcher a {
	display: inline-grid;
	place-items: center;
	width: 36px;
	height: 36px;
	background: #fff;
	border: 1px solid #e4ddd5;
	border-radius: 10px;
	transition: border-color 180ms ease, box-shadow 180ms ease;
}

.wd-view-switcher a:hover,
.wd-view-switcher a.active {
	border-color: var(--mm-site-accent);
	box-shadow: 0 0 0 3px rgba(197, 139, 58, .15);
}

.woocommerce-result-count {
	color: var(--mm-site-muted);
}

.sidebar-container .widget {
	margin-bottom: 30px;
	padding: 20px;
	background: #fff;
	border: 1px solid #eee;
	border-radius: 10px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, .03);
}

.sidebar-container .widget-title {
	margin-bottom: 12px;
	padding: 12px 15px;
	font-size: 16px;
	font-weight: 700;
	background-color: #f4f4f4;
	border-right: 4px solid #b38e5d;
	border-radius: 0 5px 5px 0;
}

.woocommerce-pagination ul.page-numbers {
	padding: 6px;
	background: #fff;
	border: 1px solid #eee9e2;
	border-radius: 12px;
	box-shadow: 0 8px 20px rgba(45, 36, 28, .05);
}

.woocommerce-pagination .page-numbers a,
.woocommerce-pagination .page-numbers span {
	display: inline-grid;
	place-items: center;
	min-width: 40px;
	height: 40px;
	color: var(--mm-site-ink);
	font-weight: 700;
	border-radius: 10px;
}

.woocommerce-pagination .page-numbers a:hover {
	color: var(--mm-site-accent);
	background: #faf6ef;
}

.woocommerce-pagination .page-numbers .current {
	color: #fff;
	background: var(--mm-site-accent);
	box-shadow: 0 0 0 3px rgba(197, 139, 58, .15);
}

/* Single product page, scoped to avoid all loop cards. */
.single-product {
	background: var(--mm-site-soft);
}

.single-product .site-content,
.single-product .main-page-wrapper {
	padding-top: 18px;
	padding-bottom: 34px;
}

.single-product .woocommerce-product-gallery,
.single-product .wd-single-gallery,
.single-product .product-images {
	overflow: hidden;
	background: linear-gradient(180deg, #fff, #fbfbfb);
	border: 1px solid var(--mm-site-line);
	border-radius: 18px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, .08);
}

.single-product .woocommerce-product-gallery__wrapper img {
	transition: transform 240ms ease, filter 240ms ease;
}

@media (hover: hover) and (pointer: fine) {
	.single-product .woocommerce-product-gallery__wrapper:hover img {
		filter: saturate(1.04) contrast(1.01);
		transform: scale(1.02);
	}
}

.single-product .woocommerce-product-gallery__trigger {
	background: rgba(255, 255, 255, .85) !important;
	border: 1px solid var(--mm-site-line) !important;
	border-radius: 12px !important;
}

.single-product .product_title {
	color: var(--mm-site-ink);
	font-weight: 800;
	line-height: 1.55;
	letter-spacing: -.3px;
}

.single-product .wd-single-price {
	display: inline-flex;
	align-items: center;
	margin: 8px 0 12px;
	padding: 10px 14px;
	background: linear-gradient(135deg, #fff7e6, #ffedd5);
	border: 1px solid rgba(197, 139, 58, .25);
	border-radius: 999px;
	box-shadow: 0 10px 28px rgba(197, 139, 58, .12);
	gap: 8px;
}

.single-product .wd-single-price .woocommerce-Price-amount {
	color: #c36d1e;
	font-size: 20px;
	font-weight: 800;
}

.single-product .wd-single-price del {
	opacity: .6;
}

.single-product .wd-single-price ins {
	text-decoration: none;
}

.single-product .single_add_to_cart_button {
	padding: 12px 16px !important;
	color: #fff !important;
	font-weight: 800 !important;
	background: var(--mm-site-ink) !important;
	border-radius: 14px !important;
	box-shadow: 0 12px 26px rgba(43, 26, 18, .18) !important;
	transition: transform 150ms ease, box-shadow 200ms ease, background-color 200ms ease;
}

.single-product .single_add_to_cart_button:hover,
.single-product .single_add_to_cart_button:focus-visible {
	background: #3a2a22 !important;
	box-shadow: 0 16px 34px rgba(43, 26, 18, .22) !important;
	transform: translateY(-1px);
}

.single-product form.cart .quantity {
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--mm-site-line);
	border-radius: 14px;
}

.single-product form.cart .quantity input.qty {
	width: 70px;
	font-weight: 800;
	border: 0 !important;
}

.single-product form.cart .quantity .minus,
.single-product form.cart .quantity .plus {
	background: #fafafa;
}

.single-product .woocommerce-tabs,
.single-product .wd-tabs {
	margin-top: 18px;
	padding: 14px;
	background: #fff;
	border: 1px solid var(--mm-site-line);
	border-radius: 18px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, .08);
}

.single-product .woocommerce-tabs .tabs li a {
	color: rgba(43, 26, 18, .7);
	font-weight: 800;
}

.single-product .woocommerce-tabs .tabs li.active a {
	color: var(--mm-site-accent);
}

.single-product .wd-breadcrumbs {
	color: rgba(43, 26, 18, .65) !important;
}

.single-product .wd-breadcrumbs a {
	color: #3a2a22 !important;
	text-decoration: none !important;
}

.single-product .wd-breadcrumbs a:hover {
	color: var(--mm-site-accent) !important;
	text-decoration: underline !important;
}

.single-product .related > h2,
.single-product .up-sells > h2 {
	margin-bottom: 10px;
	color: var(--mm-site-ink);
	font-weight: 800;
	letter-spacing: -.3px;
}

/* Aparat video wrapper and Elementor visibility contract. */
.mm-product-aparat-video {
	position: relative !important;
	display: block !important;
	clear: both !important;
	width: 100%;
	min-height: 220px;
	margin: 25px 0 35px !important;
	overflow: hidden !important;
	aspect-ratio: 16 / 9;
}

.mm-product-aparat-video-inner {
	position: absolute !important;
	inset: 0 !important;
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	overflow: hidden !important;
}

.mm-product-aparat-video-inner > div,
.mm-product-aparat-video div[id] {
	position: relative !important;
	display: block !important;
	width: 100% !important;
	height: 100% !important;
}

.mm-product-aparat-video iframe {
	position: absolute !important;
	inset: 0 !important;
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	min-height: 220px !important;
	border: 0 !important;
}

.single-product.no-mm-aparat-video .mm-aparat-video-section {
	display: none !important;
}

.single-product.has-mm-aparat-video .mm-aparat-video-section {
	display: block !important;
}

/* Product-set shell only. Component cards remain owned by product-card.css. */
.psm-set-products {
	width: min(1240px, calc(100% - 24px));
	margin: 35px auto;
	padding: clamp(20px, 3vw, 38px);
	direction: rtl;
	text-align: right;
	background: rgba(255, 255, 255, .72);
	border: 1px solid rgba(255, 255, 255, .9);
	border-radius: 24px;
	box-shadow: 0 12px 35px rgba(50, 40, 30, .08);
	backdrop-filter: blur(6px);
}

.psm-set-products__header {
	width: 100%;
	margin: 0 0 28px;
	text-align: right;
}

.psm-set-products__header h2 {
	position: relative;
	margin: 0;
	padding-right: 18px;
	color: #1f2937;
	font-size: clamp(20px, 2vw, 28px);
	font-weight: 800;
	line-height: 1.6;
	text-align: right;
}

.psm-set-products__header h2::before {
	position: absolute;
	top: 50%;
	right: 0;
	width: 5px;
	height: 70%;
	content: "";
	background: var(--mm-site-accent);
	border-radius: 10px;
	transform: translateY(-50%);
}

.psm-set-products__description {
	margin-top: 8px;
	padding-right: 18px;
	color: #687386;
	line-height: 1.9;
	text-align: right;
}

.psm-set-products__grid {
	gap: 20px;
}

@media (max-width: 767px) {
	body.post-type-archive-product .page-title,
	body.tax-product_cat .page-title,
	body.tax-product_tag .page-title {
		min-height: 96px !important;
		margin: 0 0 10px !important;
		padding: 15px 10px 18px !important;
	}

	body.post-type-archive-product .page-title > .container,
	body.tax-product_cat .page-title > .container,
	body.tax-product_tag .page-title > .container {
		padding: 0 8px !important;
		gap: 3px !important;
	}

	body.post-type-archive-product .page-title .entry-title,
	body.tax-product_cat .page-title .entry-title,
	body.tax-product_tag .page-title .entry-title {
		width: 100% !important;
		font-size: 21px !important;
		line-height: 1.35 !important;
		white-space: normal !important;
	}

	body.post-type-archive-product .page-title .entry-title::before,
	body.tax-product_cat .page-title .entry-title::before,
	body.tax-product_tag .page-title .entry-title::before {
		width: 5px;
		height: 5px;
		margin-bottom: 4px !important;
		box-shadow: -10px 0 0 rgba(216, 180, 94, .32), 10px 0 0 rgba(216, 180, 94, .32);
	}

	body.post-type-archive-product .page-title .breadcrumbs,
	body.tax-product_cat .page-title .breadcrumbs,
	body.tax-product_tag .page-title .breadcrumbs {
		position: static !important;
		width: auto !important;
		max-width: calc(100% - 20px) !important;
		margin: 2px auto 0 !important;
		padding: 4px 10px !important;
		font-size: 10px !important;
		line-height: 1.4 !important;
		transform: none !important;
	}

	body.post-type-archive-product .page-title .wd-back-btn,
	body.tax-product_cat .page-title .wd-back-btn,
	body.tax-product_tag .page-title .wd-back-btn {
		display: none !important;
	}

	body.post-type-archive-product .main-page-wrapper,
	body.tax-product_cat .main-page-wrapper,
	body.tax-product_tag .main-page-wrapper {
		padding-top: 0 !important;
	}

	body.post-type-archive-product .shop-loop-head,
	body.tax-product_cat .shop-loop-head,
	body.tax-product_tag .shop-loop-head {
		margin-top: 0 !important;
		margin-bottom: 10px !important;
	}

	.single-product .single_add_to_cart_button {
		width: 100%;
	}

	.mm-product-aparat-video,
	.mm-product-aparat-video iframe {
		min-height: 210px !important;
	}

	.psm-set-products {
		width: calc(100% - 20px);
		margin: 22px 10px;
		padding: 18px 14px;
		border-radius: 18px;
	}

	.psm-set-products__header {
		margin-bottom: 20px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.single-post .entry-header img,
	.single-product .woocommerce-product-gallery__wrapper img,
	.single-product .single_add_to_cart_button {
		transition: none;
	}
}
