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

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

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

:root {
	--wd-text-font: IRansansX;
	--wd-text-font-weight: 500;
	--wd-text-color: rgb(10,10,10);
	--wd-text-font-size: 15px;
	--wd-title-font: IRansansX;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: IRansansX;
	--wd-entities-title-font-weight: 400;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: IRansansX;
	--wd-widget-title-font: IRansansX;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #111111;
	--wd-widget-title-font-size: 13px;
	--wd-header-el-font: IRansansX;
	--wd-header-el-font-weight: 600;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 15px;
	--wd-primary-color: #3a6d2e;
	--wd-alternative-color: #fbbc34;
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: #d60644;
	--btn-accented-bgcolor-hover: #c40545;
	--wd-form-brd-width: 2px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
}
.wd-popup.wd-age-verify {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: rgb(247,56,56);
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
	--wd-popup-width: 800px;
}
.wd-page-title {
	background-color: #bababa;
	background-image: none;
	background-position: right top;
}
.wd-footer {
	background-color: #d7dee0;
	background-image: none;
	background-size: contain;
	background-position: center top;
}
.product-labels .product-label.out-of-stock {
	background-color: rgb(229,52,52);
}
.wd-popup.popup-quick-view {
	--wd-popup-width: 920px;
}
.woocommerce-product-gallery {
	--wd-gallery-gap: 0px;
}
:root{
--wd-container-w: 1600px;
--wd-form-brd-radius: 35px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 0px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-default-box-shadow-active: none;
--btn-default-bottom: 0px;
--btn-accented-bottom-active: -1px;
--btn-accented-brd-radius: 0px;
--btn-accented-box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .15);
--btn-accented-box-shadow-hover: inset 0 -2px 0 rgba(0, 0, 0, .15);
--wd-brd-radius: 12px;
}

@media (min-width: 1600px) {
[data-vc-full-width]:not([data-vc-stretch-content]),
:is(.vc_section, .vc_row).wd-section-stretch {
padding-left: calc((100vw - 1600px - var(--wd-sticky-nav-w) - var(--wd-scroll-w)) / 2);
padding-right: calc((100vw - 1600px - var(--wd-sticky-nav-w) - var(--wd-scroll-w)) / 2);
}
}


@font-face {
	font-family: "ایران سانس وب";
	src: url("//www.hac.ir/wp-content/uploads/2024/11/IRANSansWeb.woff") format("woff");
	font-weight: 500;
	font-style: normal;
}

.woodmart-button-wrapper.inline-element {
    margin-bottom: 0px;
}
.wpb-js-composer .wd-button-wrapper.inline-element {
    margin-bottom: 1px;
}

.wd-nav[class*=wd-style-]>li.current-menu-item>a, .wd-nav[class*=wd-style-]>li.wd-active>a {
    color: #ffffff;
}

.a{
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align: baseline;
    font: inherit;
    font-size: 80%;
}
/* سایز فونت عنوان محتوای بلاگ تو حالت باکس */ 

h3 {
    font-size: 18px;
}
/* سایز فونت عنوان محتوای بلاگ تو حالت باکس */ 

/* حذف تصویر شاخص در نمایش بزرگ باز شده و تاریخ پست */ 
body.single-post img.attachment-post-thumbnail {
	display:none;
}

.wd-post-date.wd-style-with-bg {
    position: absolute;
    top: 15px;
    right: 223px;
    z-index: 2;
    display: inline-block;
    min-width: 53px;
    background-color: #FFF;
    box-shadow: 0 0 9px rgb(0 0 0 / 10%);
    color: #333;
    text-align: center;
    line-height: 1;
	display:none;
}
/* حذف تصویر شاخص در نمایش بزرگ باز شده و تاریخ پست */ 
.wd-post-cat.wd-style-with-bg {
    display: inline-block;
    overflow: hidden;
    padding-right: 10px;
    padding-left: 10px;
    height: 25px;
    background-color: var(--wd-primary-color);
    color: #FFF;
    line-height: 25px;
    display: none;
}
/* حذف تصویر شاخص در نمایش بزرگ باز شده و تاریخ پست */ 

.site-content {
    margin-bottom: 40px;
    background-color: #f3f6f4;
    border-radius: 20px;
    box-shadow: 0 10px 22px #f3f6f4;
    padding: 0 20px;
}

.widget-title, .widgettitle {

    display: none;
}


element.style {
}
.wpb_single_image.vc_align_left {
    text-align: center;
}
/* رنگ فونت منو و زیر منو */ 

#menu-customer-service .menu-item .nav-link-text {
    font-weight: 600;
    line-height: 1.5em;
    font-family: 'vazir';
    word-spacing: 0px;
    color: #000000;
}
 
.wd-sub-menu li a{
color: #000 !important;
font-weight:500;
}


.shop-content-area .shop-loop-head {
    margin-top: 80px;
}

/* حذف نویسنده رو بلاگ */ 

.wd-entry-meta {
    display: inline-block;
    margin-bottom: 9px;
    margin-left: 10px;
    vertical-align: middle;
    font-weight: 400;
    font-size: 0;
	display:none;
}
/* حذف اشتراک گذاری رو بلاگ */ 


.hovered-social-icons {
    position: relative;
    display: inline-block;
    margin-bottom: 8px;
    color: var(--color-gray-300);
    vertical-align: middle;
    font-size: 0;
    transition: all .25s ease;
    display: none;
}

/* فونت محتوا */ 

@font-face {
  font-family: 'Vazir';
  src: url('/fonts/Vazir.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}
body {
  font-family: 'Vazir', sans-serif;
}
/* عرض موبایل */ 

@media only screen and (max-width: 768px) {
  body, .site-content, .container, .main-page-wrapper {
    padding-left: 5px !important;
    padding-right: 5px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}




/* استایل گرویتی فرم */
/* قاب کلی همه فرم‌ها بدون تغییر ساختار */
body .gform_wrapper {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #ddd;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    max-width: 800px;
    margin: auto;
    box-sizing: border-box;
}

/* عنوان فیلدها */
body .gform_wrapper .gfield_label {
    font-weight: bold;
    font-size: 15px;
    color: #333;
    margin-bottom: 5px;
}

/* فیلدهای ورودی */
body .gform_wrapper input[type="text"],
body .gform_wrapper input[type="email"],
body .gform_wrapper input[type="tel"],
body .gform_wrapper textarea,
body .gform_wrapper select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
}

/* افکت هنگام فوکوس */
body .gform_wrapper input:focus,
body .gform_wrapper textarea:focus,
body .gform_wrapper select:focus {
    border-color: #0073aa;
    box-shadow: 0 0 5px rgba(0,115,170,0.3);
    outline: none;
}

/* چیدمان چندستونه فقط با CSS و بدون تغییر HTML */
@media (min-width: 768px) {
    body .gform_wrapper .top_label .gform_body .gform_fields .gfield {
        display: inline-block;
        width: calc(50% - 10px);
        vertical-align: top;
        margin-right: 10px;
    }
    /* آخرین ستون هر ردیف */
    body .gform_wrapper .top_label .gform_body .gform_fields .gfield:nth-child(2n) {
        margin-right: 0;
    }
}

/* تک‌ستونه در موبایل */
@media (max-width: 767px) {
    body .gform_wrapper .top_label .gform_body .gform_fields .gfield {
        width: 100% !important;
        margin-right: 0 !important;
    }
}

/* دکمه ارسال */
body .gform_wrapper input[type="submit"] {
    background: #0073aa;
    color: #fff;
    padding: 14px 25px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.3s;
}
body .gform_wrapper input[type="submit"]:hover {
    background: #005f87;
}

.gform-popup-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: linear-gradient(135deg, #4CAF50, #81C784);
    color: white;
    padding: 20px 30px;
    border-radius: 15px;
    box-shadow: 0px 8px 30px rgba(0,0,0,0.25);
    font-size: 18px;
    text-align: center;
    z-index: 9999;
    opacity: 0;
    width: 80%;
    max-width: 600px;
    transition: all 0.3s ease;
}
.gform-popup-message.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
.gform_confirmation_message {
    background: linear-gradient(135deg, #4CAF50, #81C784);
    color: white;
    padding: 20px 25px;
    border-radius: 12px;
    font-size: 18px;
    line-height: 1.6;
    text-align: center;
    width: 80%;
    margin: 20px auto;
    box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.15);
}

/* استایل گرویتی فرم */

/* باکس اسکرو‌ل‌دار فقط برای بخش چک‌باکس‌ها */
.tm-extra-product-options ul.tmcp-ul-wrap.tm-extra-product-options-checkbox {
  max-height: 300px;        /* ارتفاع باکس */
  overflow-y: auto;         /* اسکرول عمودی فعال */
  border: 1px solid #ccc;   /* کادر دور باکس */
  padding: 10px;            /* فاصله داخلی */
  border-radius: 6px;       /* گوشه‌های گرد */
  background-color: #fff;   /* رنگ پس‌زمینه */
  box-shadow: 0 2px 6px rgba(0,0,0,0.08); /* سایه ملایم */
}

/* خط جدا کننده بین هر چک‌باکس */
.tm-extra-product-options ul.tmcp-ul-wrap.tm-extra-product-options-checkbox li {
  border-bottom: 1px solid #eee; /* خط بین آیتم‌ها */
  padding: 5px 0;                /* فاصله داخلی آیتم */
}

/* حذف خط آخر برای زیبایی */
.tm-extra-product-options ul.tmcp-ul-wrap.tm-extra-product-options-checkbox li:last-child {
  border-bottom: none;
}
