.wd-popup.wd-promo-popup{
	background-color:#111111;
	background-image: url(https://sparcocover.ir/wp-content/uploads/2021/08/promo-popup.jpg);
	background-repeat:no-repeat;
	background-size:cover;
	background-position:center center;
}

.header-banner{
	background-color:rgb(244,244,244);
}

.page-title-default{
	background-color:#0a0a0a;
	background-image: url(https://sparcocover.ir/wp-content/uploads/2026/10/thumbnail-8f2925a7-d4cb-4744-9c3f-be44c0094683-1.png);
	background-repeat:repeat;
	background-size:contain;
	background-attachment:scroll;
	background-position:left top;
}

.footer-container{
	background-color:rgb(234,234,234);
}

:root{
--wd-text-font:iransans, sans-serif;
--wd-text-font-weight:400;
--wd-text-color:#777777;
--wd-text-font-size:14px;
}
:root{
--wd-title-font:iransans, sans-serif;
--wd-title-font-weight:400;
--wd-title-color:#242424;
}
:root{
--wd-entities-title-font:iransans, sans-serif;
--wd-entities-title-font-weight:400;
--wd-entities-title-color:#333333;
--wd-entities-title-color-hover:rgb(51 51 51 / 65%);
}
:root{
--wd-alternative-font:iransans, sans-serif;
}
:root{
--wd-widget-title-font:iransans, sans-serif;
--wd-widget-title-font-weight:400;
--wd-widget-title-transform:uppercase;
--wd-widget-title-color:#333;
--wd-widget-title-font-size:18px;
}
:root{
--wd-header-el-font:iransans, sans-serif;
--wd-header-el-font-weight:400;
--wd-header-el-transform:uppercase;
--wd-header-el-font-size:14px;
}
:root{
--wd-primary-color:rgb(68,68,68);
}
:root{
--wd-alternative-color:rgb(255,255,255);
}
:root{
--wd-link-color:rgb(56,56,56);
--wd-link-color-hover:rgb(255,255,255);
}
body{
	background-color:rgb(255,255,255);
}

.page .main-page-wrapper{
	background-color:rgb(255,255,255);
}

.single-product .main-page-wrapper{
	background-color:rgb(255,255,255);
}

:root{
--btn-default-bgcolor:#f7f7f7;
}
:root{
--btn-default-bgcolor-hover:#efefef;
}
:root{
--btn-shop-bgcolor:rgb(221,153,51);
}
:root{
--btn-shop-bgcolor-hover:rgb(216,176,101);
}
:root{
--btn-accent-bgcolor:rgb(211,155,99);
}
:root{
--btn-accent-bgcolor-hover:rgb(169,127,79);
}
:root{
--notices-success-bg:#459647;
}
:root{
--notices-success-color:#fff;
}
:root{
--notices-warning-bg:rgb(255,0,0);
}
:root{
--notices-warning-color:#fff;
}
	:root{
	
	
			--wd-form-brd-radius: 0px;
	
	--wd-form-brd-width: 1px;

	--btn-default-color: #333;
	--btn-default-color-hover: #333;

	--btn-shop-color: #fff;
	--btn-shop-color-hover: #fff;

	--btn-accent-color: #fff;
	--btn-accent-color-hover: #fff;
	
	
			--btn-accent-brd-radius: 0px;
		--btn-accent-box-shadow: none;
		--btn-accent-box-shadow-hover: none;
		--btn-accent-box-shadow-active: none;
		--btn-accent-bottom: 0px;
	
			--btn-default-bottom-active: -1px;
		--btn-default-brd-radius: 0px;
		--btn-default-box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .15);
		--btn-default-box-shadow-hover: inset 0 -2px 0 rgba(0, 0, 0, .15);
	
			--btn-shop-bottom-active: -1px;
		--btn-shop-brd-radius: 0.001px;
		--btn-shop-box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .15);
		--btn-shop-box-shadow-hover: inset 0 -2px 0 rgba(0, 0, 0, .15);
	
	
	
	
	
	
	
		}

	/* Site width */
		/* Header Boxed */
	@media (min-width: 1025px) {
		.whb-boxed:not(.whb-sticked):not(.whb-full-width) .whb-main-header {
			max-width: 1192px;
		}
	}

	.container {
		max-width: 1222px;
	}
	
	
		.elementor-section.wd-section-stretch > .elementor-column-gap-no {
			max-width: 1192px;
		}

		.elementor-section.wd-section-stretch > .elementor-column-gap-narrow {
			max-width: 1202px;
		}

		.elementor-section.wd-section-stretch > .elementor-column-gap-default {
			max-width: 1212px;
		}

		.elementor-section.wd-section-stretch > .elementor-column-gap-extended {
			max-width: 1222px;
		}

		.elementor-section.wd-section-stretch > .elementor-column-gap-wide {
			max-width: 1232px;
		}

		.elementor-section.wd-section-stretch > .elementor-column-gap-wider {
			max-width: 1252px;
		}

		@media (min-width: 1239px) {

			.platform-Windows .wd-section-stretch > .elementor-container {
				margin-left: auto;
				margin-right: auto;
			}
		}

		@media (min-width: 1222px) {

			html:not(.platform-Windows) .wd-section-stretch > .elementor-container {
				margin-left: auto;
				margin-right: auto;
			}
		}

	
/* Quick view */
div.wd-popup.popup-quick-view {
	max-width: 920px;
}

/* Shop popup */
div.wd-popup.wd-promo-popup {
	max-width: 800px;
}

/* Age verify */
div.wd-popup.wd-age-verify {
	max-width: 500px;
}

/* Header Banner */
.header-banner {
	height: 40px;
}

body.header-banner-display .website-wrapper {
	margin-top:40px;
}

/* Tablet */
@media (max-width: 1024px) {
	/* header Banner */
	.header-banner {
		height: 40px;
	}
	
	body.header-banner-display .website-wrapper {
		margin-top:40px;
	}
}

.woodmart-woocommerce-layered-nav .wd-scroll-content {
	max-height: 223px;
}
		
		rs-slides [data-type=text],
rs-slides [data-type=button] {
	font-family: iransans, sans-serif !important;
}
	
		rs-slides h1[data-type=text],
rs-slides h2[data-type=text],
rs-slides h3[data-type=text],
rs-slides h4[data-type=text],
rs-slides h5[data-type=text],
rs-slides h6[data-type=text] {
	font-family: iransans, sans-serif !important;
}
			@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//sparcocover.ir/wp-content/themes/woodmart/fonts/woodmart-font.woff2?v=6.2.4") format("woff2");
}

/* ۱. اجبار به ۴ ستون مساوی و دقیق در دسکتاپ */
@media (min-width: 992px) {
    .products.elements-grid,
    .woocommerce ul.products,
    .wd-products-element .products {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 20px !important;
        width: 100% !important;
    }

    /* حذف مقادیر فلوت و عرض‌های متغیر قالب */
    .products.elements-grid .product-grid-item,
    .woocommerce ul.products li.product,
    .products.elements-grid > div {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        margin: 0 !important;
        float: none !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;
    }
}

/* در تبلت ۲ ستون و موبایل ۱ یا ۲ ستون استاندارد */
@media (max-width: 991px) and (min-width: 576px) {
    .products.elements-grid,
    .woocommerce ul.products {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
}

/* ۲. یکدست کردن ارتفاع و ساختار کل کارت محصول */
.product-grid-item,
.woocommerce ul.products li.product {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    background: #fff !important;
    border: 1px solid #eee !important;
    border-radius: 8px !important;
    padding: 12px !important;
    box-sizing: border-box !important;
}

/* ۳. قاب تصویر ثابت با حفظ نسبت تصویر (بدون دفرمه شدن و بدون زوم بد) */
.product-element-top,
.woocommerce ul.products li.product .woocommerce-LoopProduct-link:first-child {
    height: 220px !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 12px !important;
    overflow: hidden !important;
}

.product-element-top img,
.woocommerce ul.products li.product img {
    max-height: 100% !important;
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important; /* حفظ تناسب عکس بدون کشیدگی یا برش خوردگی */
    margin: 0 auto !important;
}

/* ۴. عنوان محصول ثابت در دو خط تا بقیه المان‌ها هل نخورند */
.wd-entities-title,
.product-title,
.woocommerce-loop-product__title {
    height: 40px !important;
    line-height: 20px !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    font-size: 14px !important;
    margin-bottom: 8px !important;
    text-align: center !important;
}

/* ۵. باکس قیمت و دکمه خرید در کف کارت قفل شود */
.price,
.wrapp-swap,
.wd-product-cats,
.product-information {
    margin-top: auto !important;
    text-align: center !important;
    width: 100% !important;
}

.price {
    min-height: 38px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
//////////////////////////////////////////////////////////////////////////////
/* کادرهای کاروسل را کمی پهن‌تر می‌کند، بدون کشیدن عکس‌ها */
.elementor-element-5efc89f .swiper-slide {
    width: 170px !important;
    height: 90px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.elementor-element-5efc89f figure.swiper-slide-inner {
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 8px 12px !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* خود عکس‌ها متناسب با اندازهٔ اصلی می‌مانند */
.elementor-element-5efc89f img.swiper-slide-image {
    width: auto !important;
    height: auto !important;
    max-width: 145px !important;
    max-height: 58px !important;
    object-fit: contain !important;
    display: block !important;
}
////////////////////////////////////////////////////////////////////////////////////////////////////


