/*
 Theme Name:   LAVYA Footer Preview
 Description:  Woodmart Child Theme — isolated footer preview
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

:root {
	--lavya-ink: #171411;
	--lavya-warm: #f6f2ed;
	--lavya-white: #ffffff;
	--lavya-muted: #b9afa5;
	--lavya-line: rgba(255, 255, 255, .14);
}

.wd-footer.footer-container {
	display: none;
}

.lavya-site-footer,
.lavya-site-footer * {
	box-sizing: border-box;
}

.lavya-site-footer {
	position: relative;
	isolation: isolate;
	background: var(--lavya-ink);
	color: var(--lavya-white);
	text-align: right;
	overflow: hidden;
}

.lavya-site-footer::before {
	content: "LAVYA";
	position: absolute;
	inset-inline-start: -28px;
	top: 8px;
	z-index: -1;
	color: rgba(255, 255, 255, .025);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(108px, 19vw, 285px);
	font-weight: 400;
	line-height: .8;
	letter-spacing: -.06em;
	white-space: nowrap;
	pointer-events: none;
}

.lavya-footer-shell,
.lavya-footer-bottom-inner {
	width: min(100% - 48px, 1200px);
	margin-inline: auto;
}

.lavya-footer-shell {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(360px, .9fr);
	gap: clamp(56px, 9vw, 132px);
	padding-block: clamp(72px, 8vw, 112px) clamp(56px, 6vw, 80px);
}

.lavya-footer-intro {
	max-width: 600px;
}

.lavya-footer-brand {
	display: inline-flex;
	align-items: baseline;
	gap: 18px;
	color: var(--lavya-white);
	text-decoration: none;
}

.lavya-footer-brand:hover,
.lavya-footer-brand:focus {
	color: var(--lavya-white);
}

.lavya-footer-brand-latin {
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(42px, 5vw, 68px);
	font-weight: 400;
	line-height: 1;
	letter-spacing: .08em;
}

.lavya-footer-brand-arabic {
	color: var(--lavya-muted);
	font-size: 17px;
}

.lavya-footer-intro > p {
	max-width: 520px;
	margin: 28px 0 30px;
	color: #d7d0c9;
	font-size: clamp(16px, 1.5vw, 19px);
	line-height: 1.9;
}

.lavya-footer-whatsapp {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 11px;
	min-height: 48px;
	padding: 12px 19px;
	border: 1px solid rgba(255, 255, 255, .34);
	border-radius: 999px;
	color: var(--lavya-white);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}

.lavya-footer-whatsapp svg {
	width: 19px;
	height: 19px;
	fill: currentColor;
}

.lavya-footer-whatsapp:hover,
.lavya-footer-whatsapp:focus-visible {
	border-color: var(--lavya-white);
	background: var(--lavya-white);
	color: var(--lavya-ink);
}

.lavya-footer-nav {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(32px, 5vw, 72px);
}

.lavya-footer-column h2 {
	margin: 0 0 22px;
	padding-bottom: 13px;
	border-bottom: 1px solid var(--lavya-line);
	color: var(--lavya-white);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
}

.lavya-footer-column ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.lavya-footer-column li + li {
	margin-top: 13px;
}

.lavya-footer-column a {
	position: relative;
	display: inline-block;
	color: #cfc7bf;
	font-size: 14px;
	line-height: 1.7;
	text-decoration: none;
	transition: color .2s ease, transform .2s ease;
}

.lavya-footer-column a:hover,
.lavya-footer-column a:focus-visible {
	color: var(--lavya-white);
	transform: translateX(-4px);
}

.lavya-footer-bottom {
	border-top: 1px solid var(--lavya-line);
	background: rgba(0, 0, 0, .12);
}

.lavya-footer-bottom-inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 24px;
	min-height: 82px;
	padding-block: 18px;
}

.lavya-footer-bottom p {
	margin: 0;
	color: var(--lavya-muted);
	font-size: 12px;
	line-height: 1.7;
}

.lavya-footer-payment {
	text-align: center;
}

.lavya-footer-social {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
}

.lavya-footer-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid var(--lavya-line);
	border-radius: 50%;
	color: var(--lavya-white);
	transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.lavya-footer-social a:hover,
.lavya-footer-social a:focus-visible {
	background: var(--lavya-white);
	color: var(--lavya-ink);
	transform: translateY(-2px);
}

.lavya-footer-social svg {
	width: 17px;
	height: 17px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
}

.lavya-footer-social a:nth-child(2) svg,
.lavya-footer-social a:nth-child(3) svg {
	fill: currentColor;
	stroke: none;
}

.lavya-site-footer a:focus-visible {
	outline: 2px solid var(--lavya-white);
	outline-offset: 4px;
}

@media (max-width: 860px) {
	.lavya-footer-shell {
		grid-template-columns: 1fr;
		gap: 48px;
	}

	.lavya-footer-bottom-inner {
		grid-template-columns: 1fr;
		justify-items: center;
		gap: 10px;
		padding-block: 24px;
		text-align: center;
	}

	.lavya-footer-social {
		justify-content: center;
		order: -1;
	}
}

@media (max-width: 520px) {
	.lavya-footer-shell,
	.lavya-footer-bottom-inner {
		width: min(100% - 32px, 1200px);
	}

	.lavya-footer-shell {
		padding-block: 56px 44px;
	}

	.lavya-footer-brand {
		gap: 12px;
	}

	.lavya-footer-nav {
		grid-template-columns: 1fr;
		gap: 34px;
	}

	.lavya-footer-whatsapp {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.lavya-site-footer * {
		scroll-behavior: auto !important;
		transition: none !important;
	}
}






/* Footer social icons already have container movement; animate the glyph subtly too. */
.lavya-footer-social a:hover svg,
.lavya-footer-social a:focus-visible svg,
.lavya-footer-whatsapp:hover svg,
.lavya-footer-whatsapp:focus-visible svg {
	transform: scale(1.09) rotate(-3deg);
}

.lavya-footer-social svg,
.lavya-footer-whatsapp svg {
	transform-origin: center;
	transition: transform .25s cubic-bezier(.2,.7,.25,1);
}

@media (prefers-reduced-motion: reduce) {
	.lavya-footer-social svg,
	.lavya-footer-whatsapp svg {
		transition: none !important;
		transform: none !important;
	}
}

/* LAVYA mobile UX — keep Joinchat clear of WoodMart's fixed bottom toolbar. */
@media (max-width: 1024px) {
	body.sticky-toolbar-on .joinchat {
		--bottom: calc(67px + env(safe-area-inset-bottom, 0px)) !important;
		--sep: calc(12px + env(safe-area-inset-right, 0px)) !important;
		--s: 52px !important;
		bottom: calc(67px + env(safe-area-inset-bottom, 0px)) !important;
		right: calc(12px + env(safe-area-inset-right, 0px)) !important;
	}

	/* Product pages can add WoodMart's sticky add-to-cart above the mobile toolbar. */
	body.sticky-toolbar-on.wd-sticky-btn-on .joinchat {
		--bottom: calc(67px + var(--wd-sticky-btn-height, 0px) + env(safe-area-inset-bottom, 0px)) !important;
		bottom: calc(67px + var(--wd-sticky-btn-height, 0px) + env(safe-area-inset-bottom, 0px)) !important;
	}
}



/* LAVYA homepage hero — responsive stability preview. */
@media (max-width: 1024px) {
	.home .elementor-29446 .elementor-element.elementor-element-43a60e9 {
		width: 100% !important;
		max-width: 100% !important;
		margin: 0 !important;
		border: 0 !important;
		transform: none !important;
		overflow: hidden !important;
		background-repeat: no-repeat !important;
		background-size: cover !important;
	}

	.home .elementor-29446 .elementor-element.elementor-element-43a60e9 > .elementor-element.elementor-element-6f1ebf97 {
		transform: none !important;
	}
}

@media (min-width: 768px) and (max-width: 1024px) {
	.home .elementor-29446 .elementor-element.elementor-element-43a60e9 {
		min-height: 600px !important;
		padding: 64px 32px !important;
		background-position: center center !important;
		--justify-content: flex-end;
	}

	.home .elementor-29446 .elementor-element.elementor-element-43a60e9 > .elementor-element.elementor-element-6f1ebf97 {
		width: min(62%, 620px) !important;
		max-width: min(62%, 620px) !important;
		margin: 0 auto !important;
		--container-widget-width: min(62%, 620px) !important;
	}

	.home .elementor-29446 .elementor-element.elementor-element-1072d772 {
		margin-bottom: 36px !important;
	}
}

@media (max-width: 767px) {
	.home .main-page-wrapper,
	.home #main-content,
	.home .wd-content-area,
	.home article#post-29446 {
		margin-top: 0 !important;
		padding-top: 0 !important;
	}

	.home .elementor-29446 .elementor-element.elementor-element-43a60e9 {
		min-height: clamp(520px, 140vw, 620px) !important;
		padding: 0 16px 24px !important;
		background-position: left center !important;
		--justify-content: flex-end;
	}

	.home .elementor-29446 .elementor-element.elementor-element-43a60e9 > .elementor-element.elementor-element-6f1ebf97 {
		width: 92% !important;
		max-width: 92% !important;
		margin: 0 auto 8px !important;
		--container-widget-width: 92% !important;
	}

	.home .elementor-29446 .elementor-element.elementor-element-1072d772 {
		margin-top: 0 !important;
		margin-bottom: 28px !important;
	}
}

/* Blog categories: a restrained semantic title within WoodMart's native archive intro. */
.category .archive-meta .lavya-category-title {
	margin: 0 0 10px;
	color: var(--wd-title-color);
	font-size: clamp(26px, 3vw, 36px);
	font-weight: 600;
	line-height: 1.3;
}

.category .archive-meta .lavya-category-title + p {
	margin-top: 0;
}
