@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//hospa.ir/wp-content/themes/woodmart/fonts/woodmart-font-3-700.woff2?v=8.2.2") format("woff2");
}

:root {
	--wd-text-font: "Lato", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #777777;
	--wd-text-font-size: 14px;
	--wd-title-font: "Acme", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 400;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: rgb(119,119,119);
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "Lato", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: rgb(119,119,119);
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Lato", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 600;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 14px;
	--wd-primary-color: rgb(0,132,61);
	--wd-alternative-color: rgb(255,205,0);
	--wd-link-color: rgb(0,132,61);
	--wd-link-color-hover: rgb(255,205,0);
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: rgb(0,132,61);
	--btn-accented-bgcolor-hover: rgb(0,132,61);
	--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: #111111;
	background-image: url(https://hospa.ir/wp-content/uploads/2021/10/accessories-popup.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	--wd-popup-width: 800px;
}
:is(.woodmart-archive-shop .wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product,.wd-fbt) .wd-products-with-bg, :is(.woodmart-archive-shop .wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product,.wd-fbt) .wd-products-with-bg :is(.wd-product,.wd-cat) {
	--wd-prod-bg:rgb(255,255,255);
	--wd-bordered-bg:rgb(255,255,255);
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title {
	background-color: #0a0a0a;
	background-image: none;
	background-size: cover;
	background-position: center center;
}
.wd-footer {
	background-color: rgb(246,246,246);
	background-image: none;
}
html .wd-page-content .wd-product .product-wrapper .wd-entities-title {
	font-family: YekanBakhFaNum;	font-weight: 900;
	font-size: 14px;
	color: rgb(0,0,0);
}
.page .wd-page-content {
	background-color: rgb(246,246,246);
	background-image: none;
}
.woodmart-archive-shop:not(.single-product) .wd-page-content {
	background-color: rgb(246,246,246);
	background-image: none;
}
.single-product .wd-page-content {
	background-color: rgb(246,246,246);
	background-image: none;
}
.woodmart-archive-blog .wd-page-content {
	background-color: rgb(246,246,246);
	background-image: none;
}
.single-post .wd-page-content {
	background-color: rgb(246,246,246);
	background-image: none;
}
.woodmart-archive-portfolio .wd-page-content {
	background-color: rgb(246,246,246);
	background-image: none;
}
.single-portfolio .wd-page-content {
	background-color: rgb(246,246,246);
	background-image: none;
}
.product-labels .product-label.onsale {
	background-color: rgb(221,51,51);
}
.product-labels .product-label.new {
	background-color: rgb(0,132,61);
}
.product-labels .product-label.featured {
	background-color: rgb(221,51,51);
}
.product-labels .product-label.out-of-stock {
	background-color: rgb(214,214,214);
	color: rgb(165,165,165);
}
.product-labels .product-label.attribute-label:not(.label-with-img) {
	background-color: rgb(30,115,190);
	color: rgb(255,255,255);
}
.wd-popup.popup-quick-view {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1440px;
--wd-form-brd-radius: 5px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--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: 0px;
--wd-cat-brd-radius: 5px;
}

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


.wd-gallery-btn>a 
{
display: inline;
	box-shadow: 0 0 10px rgb(0 132 61);
}
.wd-gallery-btn>a>span
{
	color: #00843d;
	padding-left: 20px;!important
}
.star-rating {
    display: none !important;
}
.wd-buttons.wd-pos-r-t {
    display: none !important;
}

.product-grid-item .price {
    display: flex;
}
.whb-with-shadow {
    box-shadow: inset 0px -9px 20px -2px rgb(255 255 255 / 15%)!Important ;
}

.code span {
    font-size: 15px;
}

/*برای آیکون های صفحه اصلی 
*/
.cat figure.elementor-image-box-img {
    border: 1px solid #022C5E1A;
    box-shadow: 0px 3px 71px 0px rgba(0, 0, 0, 0.12156862745098039);
    padding: 20px;
    border-radius:25px;
}
.cat .elementor-image-box-wrapper:hover figure.elementor-image-box-img {
    border: 2px solid #00843d;
}

.cat .elementor-image-box-wrapper a {
    font-weight: 600 !IMPORTANT;
}

@media (max-width: 768px) {
 .cat  figure.elementor-image-box-img {
    padding: 10px;
  }
  span.wd-timer-value {
    font-size: 23px !IMPORTANT;
}
}

.cat .elementor-image-box-wrapper {
    display: flex
;
    gap: 3px;
    flex-direction: column;
}

/*برای متن سئو صفحه اصلی 
*/
.story {
    max-height: 150px; /* ارتفاع اولیه */
    overflow: hidden; /* مخفی کردن متن اضافه */
    transition: max-height 0.3s ease-in-out;

}

/* وقتی متن باز می‌شود */
.story.expanded {
    max-height: 600px; /* افزایش ارتفاع به ۳۰۰px */
    overflow-y: auto; /* فعال کردن اسکرول عمودی */
}

/* تغییر اندازه فونت در حالت باز */
.story.expanded p {
    font-size: 15px;
}

/* دکمه‌ی "not-show" در ابتدا مخفی باشد */
.not-show {
    display: none;
}


.story::-webkit-scrollbar {
    width: 6px;
}

.story::-webkit-scrollbar-track {
    background: white;
    border-radius: 10px;
}

.story::-webkit-scrollbar-thumb {
    background: #00843D;
    border-radius: 10px;
}

.story::-webkit-scrollbar-thumb:hover {
    background: #00843D;
}
.elementor-image-box-wrapper {
    display: flex
;
    gap: 3px;
}

@media (max-width: 768px) {
    .story {
    height:250px !important; /* ارتفاع اولیه برای گوشی */
        overflow: hidden; /* مخفی کردن متن اضافه */
        transition: max-height 0.3s ease
}
.story.expanded p {
    font-size: 13px;
}

.story {
    max-height: 150px; 

}
}

/*برای آکاردئون های صفحه اصلی 
*/
details[open] > summary.e-n-accordion-item-title {
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  
  border-bottom:0px solid !important;
}

span.e-closed {
    background: #2074d717;
    padding: 8px 15px 20px 15px;
    border-radius: 100px;
}

span.e-opened {
    background: transparent;
    padding: 8px 15px 20px 15px;
    border-radius: 100px;
    border:1px solid #2074d717;
}
.wa .elementor-button-icon svg {
    height: auto;
    width: 22px;
}

.wa .elementor-button-content-wrapper {
    display: flex
;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}

/*برای متن فروشگاه اینترنتی    
*/
.h {
  background: linear-gradient(85deg, #FFCC00 0%, #006F2E 90%);
  -webkit-background-clip: text; /* برای مرورگرهای WebKit */
  -webkit-text-fill-color: transparent;
  background-clip: text; /* برای سایر مرورگرها */
  color: transparent;      /* fallback */
}

/*برای حرکت آیکون های صفحه اصلی
*/
.bores {
  display: inline-block;
  animation: swing 5s ease-in-out infinite;
}

@keyframes swing {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(12px); /* حرکت به راست */
  }
}

.sar {
  display: inline-block;
  animation: updown 5s ease-in-out infinite;
}

@keyframes updown {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px); /* حرکت به پایین */
  }
}
.zin {
  display: inline-block;
  animation: float 5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0); /* حالت اولیه */
  }
  50% {
    transform: translateY(-8px); /* حرکت به بالا */
  }
}


/*برای گردینت سبز سکشن اول 
*/

.hero {
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -5vh;
  right: -5vw;
  width: 35vw;
  height: 35vw;
  background: linear-gradient(135deg, rgba(0, 132, 61, 0.6), rgba(0, 132, 61, 0.15));
  border-radius: 0 0 0 100%;
  filter: blur(7vw);
  pointer-events: none;
  z-index: 1;
}


@media (max-width: 768px) {
  .hero::before {
    width: 60vw;       /* بزرگ‌تر روی موبایل */
    height: 60vw;
    top: -10vw;        /* کمی بالاتر برای جلوه بهتر */
    right: -10vw;
    filter: blur(12vw); /* بلور بیشتر */
    background: linear-gradient(135deg, rgba(0, 132, 61, 0.65), rgba(0, 132, 61, 0.2));
  }
}


/*برای اسلایدر صفحه اصلی
*/
.nazar {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 16px;
  scroll-behavior: smooth;
  padding-bottom: 10px; /* جا برای اسکرول‌بار */
  cursor: grab;
}

.nazar:active {
  cursor: grabbing;
}

/* مینیمال اسکرول‌بار با پس‌زمینه سفید و شادو */
.nazar::-webkit-scrollbar {
  height: 8px; /* همون اندازه قبلی */
}

.nazar::-webkit-scrollbar-track {
  background: #fff; /* پس‌زمینه سفید */
  border-radius: 4px;
  box-shadow: 0px 3px 71px 0px rgba(0, 0, 0, 0.12); /* شادو */
}

.nazar::-webkit-scrollbar-thumb {
  background: #03702E; /* سبز تیره */
  border-radius: 4px;
}

.nazar::-webkit-scrollbar-thumb:hover {
  background: #024f1f; /* کمی تیره‌تر در هاور */
}






/* =========================================
   دیزاین دکمه راهنمای اندازه (تمام‌عرض + رنگ آبی)
   ========================================= */

/* باکس اصلی تمام عرض */
.wd-sizeguide-btn {
    margin: 20px 0 !important;
    display: block !important; 
    width: 100% !important;
}

/* استایل بدنه دکمه (بدون خط‌چین و رنگ آبی) */
.wd-sizeguide-btn a {
    display: flex !important; 
    width: 100% !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
   background-color: #0065f512 !important;
    color: #0065f5 !important;
    border: 2px solid #0065f5 !important;
    padding: 12px 20px !important; 
    border-radius: 10px !important;
    font-weight: 800 !important;
    font-size: 15px !important;
    text-decoration: none !important;
    transition: all 0.3s ease-in-out !important;
    /* انیمیشن پالس آبی برای جلب توجه کاربر */
    animation: hospaSizePulseBlue 2s infinite;
}



/* استایل آیکون پیش‌فرض وودمارت */
.wd-sizeguide-btn a::before {
    font-size: 20px !important;
}

a.reset_variations {
    background: #ff4a3f38;
    color: #ff4a3f;
    padding: 2px 7px;
    border-radius: 5px;
}


/* کشیده شدن دکمه سبد خرید با توجه به ساختار فلکسِ وودمارت */
form.cart .single_add_to_cart_button {
    flex: 1 1 auto !important;
}

/* (اختیاری) اگر دکمه "خرید سریع" هم داری و میخوای اون هم تمام عرض بشه */
form.cart .wd-buy-now-btn {
    flex: 1 1 auto !important;
}

.woocommerce-variation-add-to-cart{
	    margin-top: 10px;

	
}

table.variations select {
    max-width: 100% !important;
}
@media (max-width: 576px) {
	

.swiper-slide-bg, .elementor-background-overlay {
    
    border-radius :20px!important;
}

/*عنوان اصلی محصولات رو نازک تر کردم 
*/

h1.product_title.entry-title.wd-entities-title{
  padding-top: 20px !important;
  line-height: 30px !important;   /* فاصله بین خطوط */
  font-weight: 600 !important;
}
}

