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

:root {
	--wd-text-font: iranyekan;
	--wd-text-font-weight: 400;
	--wd-text-color: #777777;
	--wd-text-font-size: 14px;
	--wd-title-font: "IRANSans", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: dana;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: iransansdn;
	--wd-widget-title-font: dana;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: dana;
	--wd-header-el-font-weight: 500;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 13px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(105,117,95);
	--wd-alternative-color: rgb(244,245,240);
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: rgb(169,185,149);
	--btn-accented-bgcolor-hover: rgb(150,170,138);
	--wd-form-brd-width: 2px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-link-color: #ef394e;
	--wd-link-color-hover: #cc3064;
}
.wd-age-verify-wrap {
	--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-promo-popup-wrap {
	--wd-popup-width: 800px;
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 280px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: #ffffff;
	background-image: none;
}
.page :is(.wd-page-content, .whb-header) {
	background-color: rgb(255,255,255);
	background-image: none;
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1222px;
--wd-form-brd-radius: 0px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 35px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 35px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--wd-brd-radius: 8px;
}

@media (min-width: 1222px) {
section.elementor-section.wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}

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

.wd-page-title {
background-color: rgb(255,255,255);
}


/* 1. مربع کردن تصویر اصلی محصول (این بخش قبلا کار می‌کرد) */
.single-product .woocommerce-product-gallery__image > a {
    position: relative;
    display: block;
    padding-bottom: 100%; /* ایجاد نسبت ابعاد 1:1 */
    height: auto;
    overflow: hidden;
}

.single-product .woocommerce-product-gallery__image > a > img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* حفظ نسبت ابعاد و برش قسمت‌های اضافی */
    object-position: center;
}

/* 2. مربع کردن تصاویر بندانگشتی گالری (بر اساس سلکتور شما) */
/* ابتدا کانتینر هر تصویر بندانگشتی را مربع می‌کنیم */
/* مربع کردن تصاویر بند انگشتی */
.single-product .woocommerce-product-gallery .wd-thumbs {
    height: 5;
}
.single-product .woocommerce-product-gallery .wd-thumbs .wd-carousel-item{
    position: relative;
    overflow: hidden;
    /* استفاده از روش مدرن aspect-ratio برای ساخت کادر مربع */
    aspect-ratio: 1 / 1; 
}

/* سپس خود تصویر داخل آن را مجبور به پر کردن کادر مربع می‌کنیم */
.single-product .woocommerce-product-gallery .wd-thumbs .wd-full-visible img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* این مهم‌ترین بخش است */
    object-position: center;
	  padding:3px
}

/* Hide "Showing all results" text on shop pages */
.woocommerce-shop .wd-builder-off .woocommerce-result-count {
    display: none !important;
}

/* Hide product count on WoodMart product category elements */
.cat-design-alt .more-products{
    display: none !important;
}

.cat-design-alt.categories-with-shadow .category-image-wrapp{
	border-style: dashed;
  border-width: 1px;
  border-color: #b7b7b7 !important;
	margin: 5px !important;
	padding: 5px !important;
	border-radius: 8px !important;

}

.cat-design-alt.categories-with-shadow .category-image-wrapp {
  box-shadow: 0px 0px 0px rgba(0,0,0,0) !important;
}




/* جابجایی تایمر به گوشه پایین سمت چپ - استایل مینیمال */
.wd-product-countdown.wd-timer {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    z-index: 100 !important;
    background: transparent !important;
    padding: 0 !important;
    color: black !important;
    font-size: 10px !important;
    display: flex !important;
    align-items: center !important;
    box-shadow: none !important;
}

/* استایل برای مقادیر تایمر */
.wd-timer-value {
    font-weight: normal !important;
    color: black !important;
    margin-left: 2px !important;
    font-size: 14px !important;
}

/* استایل برای متن تایمر */
.wd-timer-text {
    color: black !important;
    font-size: 12px !important;
    margin-left: 2px !important;
}

/* فاصله بین بخش‌های تایمر */
.wd-timer-days, .wd-timer-hours, .wd-timer-min, .wd-timer-sec {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    margin: 0 3px !important;
}
div.wd-product-countdown.wd-timer.wd-style-standard {
border:0px !important:
}

.wd-timer.wd-style-standard {
    --wd-timer-shadow: 0 0 0pxrgba(0,0,0,0); !important;
    --wd-timer-bg: var(--bgcolor-transparent ) !important;
}
.wd-timer {
    display: inline-flex;
    gap: calc(var(--wd-timer-size, 10px) / 4); 
    justify-content: var(--wd-align);
    flex-wrap: wrap;
    direction: ltr;
}
.wd-product.wd-hover-tiled .wd-product-countdown {
    flex-wrap: nowrap;
    width: auto !important; 
    padding-top: 5px;
    border-top: 0px !important; 
}

/* برای صفحه موبایل */
@media (max-width: 768px) {
    .wd-product-countdown.wd-timer {
        top: 8px !important;
        left: 8px !important;
        font-size: 12px !important;
    }
    
    .wd-timer-value {
        font-size: 12px !important;
    }
    
    .wd-timer-text {
        font-size: 12px !important;
			display: none;
    }
    
    .wd-timer-days, .wd-timer-hours, .wd-timer-min, .wd-timer-sec {
        margin: 0 2px !important;
    }
}

/* Hide country field visually but keep it accessible */
#billing_country_field, #shipping_country_field {
    display: none !important;
}

/* remove login box border*/
.form-box {
  border: 0 !important;
}
.top-header > h5{
 display:none !important;
}
.floating-input-field {
  margin: 30px 0 30px 0 !important;
}

/* hide menu*/
.wd-my-account-sidebar ,
body > div.wd-page-wrapper.website-wrapper > header > div > div.whb-row.whb-general-header.whb-sticky-row.whb-without-bg.whb-without-border.whb-color-dark.whb-flex-flex-middle > div > div > div.whb-column.whb-col-right.whb-column10.whb-visible-lg > div.wd-header-my-account.wd-tools-element.wd-event-hover.wd-design-1.wd-account-style-text.whb-vssfpylqqax9pvkfnxoz > div{
	 display:none !important;
}
.woocommerce-MyAccount-content{
  width:100% !important;
	max-width:100% !important;
}



.woocommerce-form-login-toggle > div > a.showlogin-popup{
	display:none !important;
}

/* حدف اسکرول افقی سفارش شما*/

#order_review > div.wd-table-wrapper.wd-manage-on > table > thead > tr > th.product-total
{display:none}
