@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//hyperstoke.com/wp-content/themes/woodmart/fonts/woodmart-font-1-400.woff2?v=8.2.7.1") format("woff2");
}

@font-face {
	font-family: "star";
	font-weight: 400;
	font-style: normal;
	src: url("//hyperstoke.com/wp-content/plugins/woocommerce/assets/fonts/star.eot?#iefix") format("embedded-opentype"), url("//hyperstoke.com/wp-content/plugins/woocommerce/assets/fonts/star.woff") format("woff"), url("//hyperstoke.com/wp-content/plugins/woocommerce/assets/fonts/star.ttf") format("truetype"), url("//hyperstoke.com/wp-content/plugins/woocommerce/assets/fonts/star.svg#star") format("svg");
}

@font-face {
	font-family: "WooCommerce";
	font-weight: 400;
	font-style: normal;
	src: url("//hyperstoke.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.eot?#iefix") format("embedded-opentype"), url("//hyperstoke.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.woff") format("woff"), url("//hyperstoke.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.ttf") format("truetype"), url("//hyperstoke.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.svg#WooCommerce") format("svg");
}

:root {
	--wd-text-font: Dana;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(7,7,7);
	--wd-text-font-size: 14px;
	--wd-title-font: Dana;
	--wd-title-font-weight: 600;
	--wd-title-color: rgb(0,0,0);
	--wd-entities-title-font: Dana;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: rgb(0,0,0);
	--wd-entities-title-color-hover: rgb(35, 35, 35);
	--wd-alternative-font: Dana;
	--wd-widget-title-font: Dana;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: rgb(0,0,0);
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: Dana;
	--wd-header-el-font-weight: 600;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 15px;
	--wd-primary-color: rgb(204,0,0);
	--wd-alternative-color: rgb(0,0,0);
	--wd-link-color: rgb(0,7,224);
	--wd-link-color-hover: rgb(255,28,28);
	--btn-default-bgcolor: rgb(255,10,10);
	--btn-default-bgcolor-hover: rgb(0,0,0);
	--btn-default-color: rgb(255,255,255);
	--btn-default-color-hover: rgb(0,0,0);
	--btn-accented-font-weight: 600;
	--btn-accented-bgcolor: rgb(255,10,10);
	--btn-accented-bgcolor-hover: rgb(0,0,0);
	--btn-accented-color: rgb(255,255,255);
	--btn-accented-color-hover: rgb(255,255,255);
	--wd-form-brd-width: 2px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-sticky-btn-height: 95px;
}
.wd-popup.wd-age-verify {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
	--wd-popup-width: 800px;
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 233px;
}
.wd-page-title {
	background-color: rgb(235,239,250);
	background-image: none;
	background-size: cover;
	background-position: center center;
}
.wd-footer {
	background-color: rgb(216,216,216);
	background-image: none;
}
html .wd-carousel .wd-carousel-item .post.wd-post .wd-entities-title {
	font-size: 15px;
}
body, [class*=color-scheme-light], [class*=color-scheme-dark], .wd-search-form[class*="wd-header-search-form"] form.searchform, .wd-el-search .searchform {
	--wd-form-color: rgb(0,0,0);
	--wd-form-placeholder-color: rgb(45,45,45);
	--wd-form-bg: rgb(232,232,232);
}
.wd-popup.popup-quick-view {
	--wd-popup-width: 920px;
}

@media (max-width: 1024px) {
	:root {
		--wd-sticky-btn-height: 95px;
	}

}

@media (max-width: 768.98px) {
	:root {
		--wd-sticky-btn-height: 42px;
	}

}
:root{
--wd-container-w: 1320px;
--wd-form-brd-radius: 35px;
--btn-default-brd-radius: 5px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 5px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--wd-brd-radius: 5px;
}


rs-slides :is([data-type=text],[data-type=button]) {
font-family: Dana !important;
}
rs-slides :is(h1,h2,h3,h4,h5,h6)[data-type=text] {
font-family: Dana !important;
}

/* تنظیمات گرید محصولات */
.products.products-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)) !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* کارت محصول عمومی */
.products .product {
    background-color: #ffffff !important;
    border: 1px solid #d8d8d8 !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    padding: 8px !important;
    margin: 0 !important;
    height: auto !important; /* ارتفاع بر اساس محتوا */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* تصویر محصول */
.products .product img {
    max-width: 100% !important;
    border-radius: 6px !important;
	    margin: 4px !important;
	padding:2px !important;
    background-color: #fff;   /* اختیاری: پس‌زمینه سفید دور عکس */
    border-radius: 6px !important; /* حفظ گوشه‌های گرد عکس */
    box-sizing: border-box;   /* پدینگ داخل ابعاد تصویر محاسبه شود */
}

/* عنوان محصول وسط‌چین */
.products .product .wd-entities-title {
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    color: #000 !important;
    text-align: center !important;
    margin-bottom: 4px !important;
}

/* قیمت محصول چپ‌چین */
.products .product .price {
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: #c60000 !important;
    text-align: left !important;
    width: 100%;
    margin: 4px 0 !important;
}

/* Meta (دسته، تاریخ...) وسط‌چین */
.products .product .product-category,
.products .product .posted_in,
.products .product .meta {
    text-align: center !important;
    display: block;
    margin-top: 4px !important;
}

/* موبایل */
@media (max-width: 768px) {
    .products.products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }
    .products .product {
        padding: 4px !important;
    }
    .products .product .wd-entities-title {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
    }
}
@media (max-width: 768px) {
    /* وسط‌چین کردن عنوان محصول در موبایل */
    .products .product .wd-entities-title {
        text-align: center !important;
    }

    /* مخفی کردن دکمه افزودن به سبد خرید در موبایل */
    .products .product .wd-product-footer
     {
        display: none !important;
    }
}

.products .product {
    overflow: hidden !important; /* هر چیزی بیرون کارت مخفی شود */
}

.products .product img {
    width: 100% !important;
    height: auto !important;
    transition: transform 0.3s ease-in-out;
}



@media (min-width: 1025px) {
	/* تنظیم ارتفاع یکنواخت در دسکتاپ */
.products .product {
    min-height: 380px !important; /* عدد رو بر اساس بلندترین کارت انتخاب کن */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}



}

@media (max-width: 576px) {
	@media (max-width: 768px) {
    /* گرید دو ستونه با فاصله 4px */
    .products.products-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important; /* فاصله دقیق بین ستون‌ها */
        margin: 0 !important;
        padding: 8px !important;
    }

    /* کارت محصول - عرض بیشتر، طول کمتر */
    .products.products-grid .product {
        background-color: #fff !important;
        border: 1px solid #d8d8d8 !important;
        border-radius: 8px !important;
        padding: 4px !important; /* کاهش فاصله داخلی برای کوتاه‌تر شدن کارت */
        margin: 4px !important;
        height: auto !important; /* ارتفاع بر اساس محتوا */
        box-sizing: border-box;
    }

    /* تصویر محصول */
    .products.products-grid .product img {
        max-width: 100% !important;
        border-radius: 6px !important;
        margin-bottom: 4px !important;
    }
}





  .wd-nav-wrapper  {  /* این رو با کلاس واقعی لیستت جایگزین کن */
        display: none !important;
		
    }
    .wd-tabs-header{ 
			background-color: none;
}
    .view-all-btn {
        display: inline-block;
        padding: 10px 20px;
        background-color: #e53935; /* رنگ دکمه */
        color: #fff;
        font-weight: bold;
        text-decoration: none;
        border-radius: 5px;
        text-align: center;
    }
}

/* روی دسکتاپ دکمه رو مخفی کن */
@media screen and (min-width: 769px) {
    .view-all-btn {
        display: none !important;
    }
}
/* حذف بکگراند بخش دسته‌بندی‌ها فقط در موبایل */
@media screen and (max-width: 768px) {
    .wd-tabs-header {
        background: none !important;
        background-color: transparent !important;
    }
}

.tabs-name.title {
        text-align: right !important;
        justify-content: flex-end !important; /* در صورتی که Flexbox باشه */
    }
}

/* موبایل ارتفاع کوتاه‌تر */
@media (max-width: 768px) {
    .products .product {
        min-height: 240px !important; /* مناسب نمایش جمع‌وجور موبایل */
    }
}





}

