/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

.whb-header,
.wd-header-banner,
.wd-hb {
	font-family: "IBM Plex Sans Arabic", "Cairo", sans-serif;
}

:root {
	--wd-primary-color: #926E28;
	--btn-accented-bgcolor: #926E28;
	--btn-accented-bgcolor-hover: #74561C;
	--wd-link-color-hover: #926E28;
	--nile-gold: #C6A04A;
	--nile-gold-bright: #E8C97A;
	--nile-ink: #1A1408;
}

.wd-hb,
.wd-header-banner {
	background: #111 !important;
	color: var(--nile-gold-bright) !important;
	min-height: 40px;
	font-size: 12px;
	line-height: 16px;
	font-weight: 700;
	text-align: center;
}

.wd-header-banner a {
	color: var(--nile-gold-bright) !important;
}

.whb-header .container {
	width: min(1440px, 100%);
	max-width: 1440px;
	padding-inline: 16px;
}

.whb-general-header {
	min-height: 75px;
	height: 75px;
	background: #fff;
}

.whb-general-header .wd-logo img,
.whb-general-header .wd-logo img[width] {
	width: auto !important;
	max-width: 240px !important;
	height: 58px;
	padding: 0;
	object-fit: contain;
}

.nile-footer-logo {
	display: inline-block;
	margin-bottom: 12px;
}

.nile-footer-logo img {
	width: auto;
	height: 72px;
}

.whb-general-header .whb-col-center {
	flex: 1 1 auto;
	min-width: 0;
	padding-inline: 16px;
}

.whb-general-header .wd-header-search-form,
.whb-general-header .searchform {
	width: 100%;
}

.whb-header-bottom {
	min-height: 56px;
	height: 56px;
	background: #fff;
	border-bottom: 1px solid #e5e7eb;
}

.whb-general-header .wd-search-form,
.whb-general-header .searchform,
.whb-general-header input[type="text"] {
	height: 45px;
	border-radius: 8px;
	background: #f7f8fa;
	border: 0;
	color: #323233;
	padding-inline: 16px;
	box-shadow: none;
}

.whb-general-header input[type="text"]::placeholder {
	color: #969799;
}

.whb-general-header .searchsubmit {
	display: none;
}

.nile-tagline {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 18px;
	line-height: 24px;
	font-weight: 400;
	white-space: nowrap;
}

.nile-mark {
	width: 26px;
	height: 26px;
	flex: 0 0 26px;
	display: block;
}

.nile-tools {
	display: inline-flex;
	align-items: center;
	gap: 18px;
}

.nile-tool {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 48px;
	font-size: 14px;
	line-height: 20px;
	font-weight: 400;
	color: #111;
}

.nile-tool strong {
	font-weight: 500;
}

.nile-ico {
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
}

.nile-chev {
	width: 12px;
	height: 12px;
	flex: 0 0 12px;
}

.whb-header-bottom .wd-nav-header {
	display: flex;
	align-items: center;
	gap: 16px;
}

.whb-header-bottom .wd-nav-header > li > a {
	display: flex;
	align-items: center;
	gap: 8px;
	height: 48px;
	padding: 0;
	font-size: 16px;
	line-height: 24px;
	font-weight: 400;
	border-bottom: 3.7px solid transparent;
}

.whb-nilelangmenu {
	display: flex;
	align-items: center;
}

.whb-nilelangmenu .wd-nav-header {
	gap: 0;
}

.whb-header-bottom .whb-nilelangmenu .wd-nav-header > li > a {
	height: 30px;
	min-height: 30px;
	padding: 0 8px 0 7px;
	gap: 6px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	border: 1px solid #e4dcc8;
	border-bottom-width: 1px;
	border-radius: 999px;
	background: #fff;
	color: #1a1408;
}

.whb-nilelangmenu .nav-link-text,
.whb-nilelangmenu .wd-sub-menu > li > a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	text-transform: uppercase;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1;
}

.whb-nilelangmenu img {
	width: 16px !important;
	height: 11px !important;
	border-radius: 2px;
	object-fit: cover;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.nile-lang-icon {
	margin-inline-end: 2px;
}

.whb-header-bottom .wd-nav-header > li:first-child > a::before,
.whb-header-bottom .wd-nav-header > li:first-child > a::after {
	content: "";
	display: block;
	width: 16px;
	height: 16px;
	flex: 0 0 16px;
	background: center / 16px no-repeat;
}

.whb-header-bottom .wd-nav-header > li:first-child > a::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 3.5h12M2 8h12M2 12.5h12' fill='none' stroke='%23111' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");
}

.whb-header-bottom .wd-nav-header > li:first-child > a::after {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 6 8 10.5 12.5 6' fill='none' stroke='%23111' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.whb-nilelangmenu .wd-nav-header > li:first-child > a::before {
	content: none;
	display: none;
}

.whb-nilelangmenu .wd-nav-header > li:first-child > a::after {
	content: "";
	display: block;
	width: 5px;
	height: 5px;
	flex: 0 0 5px;
	margin: 0 1px 2px 2px;
	background: none;
	border-right: 1.4px solid currentColor;
	border-bottom: 1.4px solid currentColor;
	transform: rotate(45deg);
}

.whb-nilelangmenu .wd-dropdown-menu.wd-design-default {
	--wd-dropdown-width: 108px;
	width: 108px;
	min-width: 0;
	padding: 4px;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 10px 28px rgba(26, 20, 8, 0.14);
}

.whb-nilelangmenu .wd-dropdown-menu.color-scheme-dark,
.whb-nilelangmenu .wd-sub-menu.color-scheme-dark {
	background: #fff;
	color: #1a1408;
}

.whb-nilelangmenu .wd-sub-menu > li > a {
	display: flex;
	height: auto;
	min-height: 0;
	padding: 7px 8px;
	border-radius: 8px;
	color: #1a1408;
}

.whb-nilelangmenu .wd-sub-menu > li > a:hover {
	background: #f7f1e4;
	color: #1a1408;
}

.whb-header-bottom .wd-nav-header > li:hover > a,
.whb-header-bottom .wd-nav-header > li.current-menu-item > a,
.whb-header-bottom .wd-nav-header > li.current-menu-ancestor > a {
	border-bottom-color: var(--wd-primary-color);
}

.whb-header-bottom .wd-tools-element {
	height: 48px;
}

.whb-header-bottom .whb-col-right {
	gap: 16px;
}

.whb-header-bottom .wd-header-my-account a,
.whb-header-bottom .wd-header-cart a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 48px;
}

.whb-header-bottom .wd-header-my-account .wd-tools-icon,
.whb-header-bottom .wd-header-cart .wd-tools-icon {
	width: 20px;
	height: 20px;
	font-size: 0;
	background: none;
}

.whb-header-bottom .wd-header-my-account .wd-tools-icon::before,
.whb-header-bottom .wd-header-cart .wd-tools-icon::before {
	content: "" !important;
	display: block;
	width: 20px;
	height: 20px;
	font-size: 0 !important;
	background: center / 20px no-repeat;
}

.whb-header-bottom .wd-header-my-account .wd-tools-icon::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8' r='3.2' fill='none' stroke='%23111' stroke-width='1.6'/%3E%3Cpath d='M5.5 19.5c1.2-3 3.4-4.5 6.5-4.5s5.3 1.5 6.5 4.5' fill='none' stroke='%23111' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
}

.whb-header-bottom .wd-header-cart .wd-tools-icon::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 8h12l-1 12H7L6 8z' fill='none' stroke='%23111' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M9 8a3 3 0 0 1 6 0' fill='none' stroke='%23111' stroke-width='1.6'/%3E%3C/svg%3E");
}

.wd-header-cart > a,
.wd-header-cart .wd-tools-icon {
	position: relative;
}

.wd-header-cart .wd-cart-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	top: -7px;
	inset-inline-end: -8px;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 999px;
	background: #926e28;
	color: #fff;
	font-size: 11px !important;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0;
	z-index: 2;
}

.wd-header-cart .wd-cart-number span,
.wd-header-cart .wd-cart-number.is-empty {
	display: none;
}

.wd-header-cart .wd-cart-number.is-updated {
	animation: nile-cart-pop 0.35s ease;
}

@keyframes nile-cart-pop {
	0% { transform: scale(0.6); }
	60% { transform: scale(1.15); }
	100% { transform: scale(1); }
}

.nile-cart-toast {
	position: fixed;
	top: 84px;
	right: 16px;
	z-index: 100000;
	display: flex;
	align-items: center;
	gap: 12px;
	width: min(340px, calc(100vw - 32px));
	padding: 12px 12px 12px 14px;
	border-radius: 14px;
	background: #fff;
	color: #1a1408;
	box-shadow: 0 16px 40px rgba(26, 20, 8, 0.18);
	opacity: 1;
	animation: nile-toast-in 0.28s ease;
}

@keyframes nile-toast-in {
	from {
		transform: translateX(24px);
	}
	to {
		transform: none;
	}
}

.nile-cart-toast-mark {
	flex: 0 0 36px;
	width: 36px;
	height: 36px;
	border-radius: 999px;
	background: #926e28;
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.nile-cart-toast-copy {
	flex: 1;
	min-width: 0;
}

.nile-cart-toast-copy strong {
	display: block;
	font-size: 14px;
	line-height: 1.3;
}

.nile-cart-toast-copy span {
	display: block;
	margin-top: 2px;
	color: #6d6456;
	font-size: 12px;
	line-height: 1.35;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.nile-cart-toast-view {
	flex: 0 0 auto;
	height: 32px;
	padding: 0 12px;
	border-radius: 999px;
	background: #111;
	color: #e8c97a;
	font-size: 12px;
	font-weight: 700;
	line-height: 32px;
	text-decoration: none;
	white-space: nowrap;
}

.nile-cart-toast-view:hover {
	color: #fff;
}

.whb-header-bottom .wd-header-my-account .wd-tools-text {
	font-size: 14px;
	line-height: 20px;
	font-weight: 400;
	text-transform: none;
	letter-spacing: 0;
}

.whb-header-bottom .wd-header-my-account a::after {
	content: "";
	width: 12px;
	height: 12px;
	background: center / 12px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%23111' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.whb-header-bottom .wd-dropdown {
	min-width: 220px;
	box-shadow: 0 0 5px rgba(0, 0, 6, 0.14);
}

.whb-header-bottom .wd-dropdown .woodmart-nav-link {
	padding: 12px 16px;
	font-size: 14px;
	line-height: 20px;
}

@media (max-width: 1024px) {
	.nile-tagline {
		display: none;
	}
}

.wd-slider,
.wd-slide,
.wd-banner,
.wd-promo-banner,
.banner-image {
	border-radius: 16px;
	overflow: hidden;
}

.wd-product .wd-product-thumb {
	position: relative;
	aspect-ratio: 1 / 1;
}

.wd-product .wd-product-img-link {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.wd-product .wd-product-img-link img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
}

.products .wd-entities-title,
.wd-products .wd-entities-title {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	min-height: 2.9em;
	line-height: 1.45;
}

.products .wd-product-cats,
.products .wd-product-brands-links,
.wd-products .wd-product-cats,
.wd-products .wd-product-brands-links {
	min-height: 1.4em;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.footer-container,
.footer-sidebar,
.copyrights-wrapper {
	background: #fff;
	color: #1c1c1c;
	border-top: 1px solid #e5e7eb;
}

.main-footer {
	padding-top: 40px;
	padding-bottom: 28px;
}

.footer-sidebar.wd-grid-g {
	align-items: start;
}

.footer-column-1 {
	--wd-col-lg: 3 !important;
	--wd-col-md: 12 !important;
	--wd-col-sm: 12 !important;
	--wd-col-xs: 12 !important;
}

.footer-column-3 {
	--wd-col-lg: 3 !important;
	--wd-col-md: 6 !important;
	--wd-col-sm: 6 !important;
	--wd-col-xs: 6 !important;
}

.footer-column-2,
.footer-column-4,
.footer-column-5 {
	--wd-col-lg: 2 !important;
	--wd-col-md: 6 !important;
	--wd-col-sm: 6 !important;
	--wd-col-xs: 6 !important;
}

.footer-column-6 {
	display: none !important;
}

.footer-widget {
	--li-mb: 8px;
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: 0;
}

.footer-widget .widget-title {
	margin-bottom: 12px;
	padding-bottom: 8px;
	border-bottom: 2px solid var(--nile-gold);
	color: var(--nile-ink);
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
}

.footer-widget .menu a {
	font-size: 14px;
	line-height: 1.55;
}

.footer-widget .menu a:hover {
	color: var(--wd-primary-color);
}

.footer-column-1 .textwidget p {
	margin: 0 0 8px;
	color: #4a453c;
	font-size: 14px;
	line-height: 1.7;
}

.footer-column-1 .textwidget a {
	color: var(--wd-primary-color);
	font-weight: 700;
}

.nile-footer-logo img {
	height: 64px;
	width: auto;
	max-width: 100%;
}

.footer-sidebar .wd-social-icons {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 8px;
	margin-top: 4px;
}

.copyrights-wrapper .wd-grid-g {
	align-items: center;
}

.nile-lang-switch {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	height: 34px;
	padding: 0 11px;
	border-radius: 999px;
	background: #111;
	color: var(--nile-gold-bright);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
}

.nile-lang-switch svg {
	width: 16px;
	height: 16px;
	flex: 0 0 16px;
}

.nile-lang-switch:hover {
	background: #2a2112;
	color: #fff;
}

.nile-mobile-lang {
	margin-bottom: 8px;
}

.nile-mobile-lang .nile-lang-switch {
	width: fit-content;
}

@media (max-width: 1024px) {
	.whb-general-header .wd-logo img,
	.whb-general-header .wd-logo img[width] {
		height: 42px;
		max-width: 160px !important;
	}

	.whb-general-header .whb-mobile-right {
		display: flex;
		align-items: center;
		gap: 8px;
	}

	.footer-column-1 {
		text-align: center;
	}

	.footer-column-1 .nile-footer-logo {
		display: block;
	}

	.main-footer {
		padding-top: 28px;
		padding-bottom: 16px;
	}

	.footer-widget .widget-title {
		font-size: 14px;
	}

	.footer-widget .menu a {
		font-size: 13px;
	}

	.nile-footer-logo img {
		height: 52px;
	}

	.copyrights-wrapper .wd-col-start,
	.copyrights-wrapper .wd-col-end {
		width: 100%;
		text-align: center;
	}

	.copyrights-wrapper img {
		display: inline-block;
		margin-top: 8px;
	}
}

@media (min-width: 1025px) {
	.nile-mobile-lang {
		display: none;
	}
}

@media (max-width: 1024px) {
	.wd-slider .wd-slide-inner .elementor-widget-wd_title,
	.wd-slider .wd-slide-inner .elementor-widget-wd_button {
		width: auto !important;
		max-width: 48%;
		margin-left: auto !important;
		margin-right: 5% !important;
	}

	.wd-slider .wd-slide-inner .woodmart-title-container {
		text-align: right;
		color: #1a1408;
	}
}
