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

:root {
	--bmz-bg: #f8f4f1;
	--bmz-surface: #ffffff;
	--bmz-surface-soft: #fcf8f5;
	--bmz-text: #2f2725;
	--bmz-muted: #7f6a63;
	--bmz-border: #eadfd8;
	--bmz-primary: #8a6258;
	--bmz-primary-dark: #6f4f46;
	--bmz-accent: #d7b59d;
	--bmz-success: #8ca694;
	--bmz-shadow: 0 18px 45px rgba(66, 44, 34, 0.08);
	--wd-text-font: "Cairo", sans-serif;
	--wd-title-font: "Cairo", sans-serif;
}

html,
body,
button,
input,
select,
textarea,
.wd-entities-title,
.price,
.woocommerce,
.elementor-widget-text-editor,
.elementor-heading-title {
	font-family: "Cairo", sans-serif !important;
}

html[lang="ar"],
html[dir="rtl"] {
	direction: rtl;
}

body {
	background: linear-gradient(180deg, #fcfaf8 0%, #f6f0eb 100%);
	color: var(--bmz-text);
}

.page-wrapper,
.main-page-wrapper,
.content-layout-wrapper {
	direction: rtl;
}

.wd-navigation,
.wd-nav,
.wd-header-nav,
.wd-products-nav,
.woocommerce-breadcrumb,
.wd-tools-element {
	direction: rtl;
}

.wd-fill,
.btn,
button,
.button,
input[type="submit"],
.wd-button-wrapper .btn {
	border-radius: 999px !important;
}

.btn,
button,
.button,
input[type="submit"] {
	background-color: var(--bmz-primary);
	border-color: var(--bmz-primary);
	color: #fff;
	box-shadow: none;
}

.btn:hover,
button:hover,
.button:hover,
input[type="submit"]:hover {
	background-color: var(--bmz-primary-dark);
	border-color: var(--bmz-primary-dark);
	color: #fff;
}

.site-content,
.main-page-wrapper {
	padding-top: 24px;
}

.whb-general-header,
.whb-sticked .whb-general-header {
	background: rgba(255, 255, 255, 0.92) !important;
	backdrop-filter: blur(16px);
	border-bottom: 1px solid rgba(138, 98, 88, 0.12);
}

.whb-general-header .wd-header-nav .item-level-0 > a,
.whb-general-header .menu > li > a,
.whb-general-header .wd-tools-element > a {
	color: var(--bmz-text) !important;
	font-weight: 700;
}

.whb-general-header .wd-header-nav .item-level-0 > a:hover,
.whb-general-header .menu > li > a:hover {
	color: var(--bmz-primary) !important;
}

.wd-dropdown-menu,
.wd-sub-menu,
.sub-menu-dropdown {
	border-radius: 24px !important;
	border: 1px solid var(--bmz-border);
	box-shadow: var(--bmz-shadow);
	padding: 12px 0;
}

.wd-dropdown-menu li a,
.wd-sub-menu li a,
.sub-menu-dropdown li a {
	font-weight: 600;
}

.wd-search-form,
.searchform {
	border-radius: 999px !important;
	overflow: hidden;
	border: 1px solid var(--bmz-border) !important;
	background: rgba(255, 255, 255, 0.96);
}

.wd-search-form input[type="text"],
.searchform input[type="text"] {
	padding-inline: 18px;
}

.product-grid-item .product-wrapper,
.products .product,
.wd-cat,
.wd-product,
.wd-entities-item {
	border-radius: 26px;
	overflow: hidden;
}

.product-grid-item .product-wrapper,
.products .product,
.wd-scroll-content,
.wd-cat {
	background: var(--bmz-surface);
	border: 1px solid var(--bmz-border);
	box-shadow: var(--bmz-shadow);
}

.product-grid-item .product-element-top,
.products .product .product-image-wrapper {
	background: linear-gradient(180deg, #fffaf7 0%, #f7efea 100%);
	padding: 12px;
}

.product-grid-item .product-title,
.product-grid-item .wd-entities-title,
.products .woocommerce-loop-product__title {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.6;
	color: var(--bmz-text);
}

.price,
.woocommerce-Price-amount {
	color: var(--bmz-primary-dark);
	font-weight: 800;
}

del .woocommerce-Price-amount,
del .amount {
	color: var(--bmz-muted) !important;
}

.wd-onsale,
.onsale {
	background: #d85f5f !important;
	border-radius: 999px !important;
	padding: 7px 14px !important;
	font-weight: 700;
}

.woocommerce-breadcrumb,
.rank-math-breadcrumb,
.wd-breadcrumbs {
	background: rgba(255, 255, 255, 0.7);
	border: 1px solid var(--bmz-border);
	padding: 12px 18px;
	border-radius: 18px;
}

.wd-sidebar,
.shop-sidebar,
.widget,
.wd-widget {
	background: rgba(255, 255, 255, 0.88);
	border: 1px solid var(--bmz-border);
	border-radius: 24px;
	padding: 20px;
	box-shadow: 0 10px 30px rgba(66, 44, 34, 0.05);
}

.widget-title,
.wd-widget-title,
.sidebar-title {
	font-size: 20px;
	font-weight: 800;
	color: var(--bmz-text);
}

.single-product .summary.entry-summary,
.woocommerce-cart-form,
.cart_totals,
.woocommerce-checkout-review-order,
.woocommerce-form-login,
.woocommerce-form-register,
.woocommerce-MyAccount-content {
	background: rgba(255, 255, 255, 0.94);
	border: 1px solid var(--bmz-border);
	border-radius: 28px;
	padding: 26px;
	box-shadow: var(--bmz-shadow);
}

.single-product div.product .woocommerce-product-gallery {
	background: linear-gradient(180deg, #fffaf7 0%, #f6ede7 100%);
	border-radius: 28px;
	padding: 18px;
	border: 1px solid var(--bmz-border);
}

.quantity .minus,
.quantity .plus,
.quantity input.qty {
	border-radius: 14px !important;
}

.woocommerce-tabs .wc-tabs li a,
.tabs-layout-tabs .tabs-name {
	font-weight: 700;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	border-radius: 18px;
}

.footer-container,
.wd-footer {
	background: linear-gradient(180deg, #332b29 0%, #241d1c 100%);
	color: #f4ede9;
}

.footer-container a,
.wd-footer a {
	color: #f4ede9;
}

.wd-social-icons .wd-social-icon,
.social-icons .social-icon {
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 767px) {
	.whb-general-header {
		padding-top: 8px;
		padding-bottom: 8px;
	}

	.product-grid-item .product-title,
	.products .woocommerce-loop-product__title {
		font-size: 16px;
	}

	.single-product .summary.entry-summary,
	.woocommerce-cart-form,
	.cart_totals,
	.woocommerce-checkout-review-order {
		padding: 18px;
	}
}

.bmz-custom-footer {
    background: #17352d;
    color: #f5f1ea;
    padding: 48px 0 22px;
    margin-top: 40px;
}

.bmz-custom-footer .bmz-footer-grid {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 22px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.bmz-custom-footer h4 {
    color: #fff7ef;
    font-size: 18px;
    margin: 0 0 14px;
}

.bmz-custom-footer p,
.bmz-custom-footer li,
.bmz-custom-footer a {
    color: #e9dfd2;
    font-size: 14px;
    line-height: 1.9;
}

.bmz-custom-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bmz-custom-footer a:hover {
    color: #ffffff;
}

.bmz-footer-bottom {
    max-width: 1240px;
    margin: 22px auto 0;
    padding: 18px 22px 0;
    border-top: 1px solid rgba(255,255,255,.14);
    font-size: 13px;
    color: #e9dfd2;
    text-align: center;
}

.bmz-whatsapp-float {
    position: fixed;
    left: 18px;
    bottom: 18px;
    z-index: 9999;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25d366;
    color: #fff !important;
    padding: 12px 16px;
    border-radius: 999px;
    box-shadow: 0 16px 32px rgba(0,0,0,.18);
    font-weight: 700;
}

.bmz-product-highlights {
    display: grid;
    gap: 10px;
    margin: 18px 0;
}

.bmz-highlight {
    background: #f7f2eb;
    border: 1px solid #eadfce;
    border-radius: 14px;
    padding: 11px 14px;
    color: #5e5144;
    font-size: 14px;
    line-height: 1.7;
}

.bmz-whatsapp-product {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 12px;
    background: #25d366 !important;
    border-color: #25d366 !important;
    color: #fff !important;
}

.bmz-breadcrumb-wrap {
    max-width: 1240px;
    margin: 18px auto 0;
    padding: 0 22px;
}

.bmz-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: #7b6d5f;
    font-size: 13px;
}

.bmz-breadcrumb-sep {
    opacity: .5;
}

.bmz-tab-content {
    line-height: 2;
    color: #5d5248;
}

@media (max-width: 991px) {
    .bmz-custom-footer .bmz-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .bmz-custom-footer {
        padding-top: 34px;
    }

    .bmz-custom-footer .bmz-footer-grid {
        grid-template-columns: 1fr;
    }

    .bmz-whatsapp-float {
        left: 12px;
        right: 12px;
        bottom: 12px;
        justify-content: center;
    }
}
