/* Written and developed by Naeime abbasi - WPHelper */
/* =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= font - start =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= */
/*@font-face {
  font-family: 'Peyda';
  src: url('fonts/peyda/PeydaVF.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}*/
/* Peyda Variable Font - Font Face Declaration */

@font-face {
    font-family: 'peyda';
    src: url('fonts/peyda/PeydaWebVF.woff2') format('woff2'),
        url('fonts/peyda/PeydaWebVF.woff') format('woff');
    font-weight: 100 950;
    font-style: normal;
    font-display: swap;
}
html{
  font-feature-settings:"locl";
}
 body {
    font-family: 'peyda';
	font-weight: normal;
}
 body *{
    -moz-font-feature-settings: "ss02";
    -webkit-font-feature-settings: "ss02";
    font-feature-settings: "ss02";   
}
h1,h2,h3,h4,h5,h6,p,ul,li,a,span,div,figcaption, input, button.apply-filters__button, div span{
	font-family: 'peyda' !important;
}
/**====================================**/
/* header */

.elementor-nav-menu--dropdown {
  padding: 5px !important;
}
ul.elementor-nav-menu--dropdown li:hover a{
    border-radius:8px !important;
}
p{
    margin-bottom:0px;
}
.woocommerce .woocommerce-breadcrumb {
    margin: 0;
    padding: 0;
}

button.smsir-submit-btn {
    background-color: #056d5f !important;
}

.elementor-nav-menu--dropdown a {
    display: flex !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    padding-top: 8px;
    padding-bottom: 8px;
    justify-content: space-between !important;
}
span.sub-arrow i {
    color: #d0d0d1 !important;
}


/* empety mini cart */
.woocommerce-mini-cart__empty-message {
    background-image: url(https://alone.ir/wp-content/uploads/2025/10/empty-cart-3.png);
    height: 100%;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
img.attachment-woocommerce_thumbnail.size-woocommerce_thumbnail {
    border-radius: 8px !important;
}

/* main page slider */
.wph-slider-1 span.swiper-pagination-bullet {
    width: 20px !important;
    height: 5px !important;
    border-radius: 3px !important;
    transition: all 0.3s ease;
    background-color: #d2ab672e !important;
}
.wph-slider-2 span.swiper-pagination-bullet {
    width: 20px !important;
    height: 5px !important;
    border-radius: 3px !important;
    transition: all 0.3s ease;
    background-color: #d2ab67 !important;
}

.wph-slider-1 span.swiper-pagination-bullet.swiper-pagination-bullet-active, .wph-slider-2 span.swiper-pagination-bullet.swiper-pagination-bullet-active {
  width: 30px !important;
  background-color: #005a3da8 !important;
}

/* new & out of stack badge for product loop item */
.custom-badge {
    display: inline-block;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    margin: 5px;
    border-radius: 8px;
}

/* بج محصول جدید */
.custom-badge.new-product {
    background-color: #005A3D;
    color: #fff;
    border-radius: 50%;     
    width: 40px;      
    height: 40px;
    display: flex;      
    align-items: center;
    justify-content: center;
    padding: 0; 
}

/* بج تخفیف */
.custom-badge.sale-badge {
    background-color: #005A3D;
    color: #fff;
    border-radius: 50%;        
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

/* بج اتمام موجودی  */
.custom-badge.out-of-stock {
    background: #e3e3e3 !important;
    border: 1px solid #a7a7a7 !important;
    color: #242424 !important;
}

/* حذف بج پیش‌فرض ووکامرس */
span.onsale {
    display: none;
}

/*gravity forms */
h3.gform_title {
    display: none;
}
.ginput_container.ginput_container_text input {
    /*background-color: #f8f4ec;*/
    border: 1px solid #0000001a;
    border-radius: 5px;
}
.ginput_container.ginput_container_textarea textarea {
    /*background-color: #f8f4ec;*/
    border: 1px solid #0000001a;
    border-radius: 5px;
}
div.gform-footer.gform_footer input.gform_button {
    border-radius: 5px !important;
    background-color: #f3f3f3 !important;
    color:#222 !important;
    border: 1px solid #e9e9e9;
}
div.gform-footer.gform_footer input.gform_button:hover {
    border-radius: 5px !important;
    background-color: #e9e9e9 !important;
    color:#222 !important;
    border: 1px solid #e9e9e9;
}
input.gform_button {
    padding: 14px !important;
}
td.gfield_list_cell input, .ginput_container.ginput_container_number input {
   /* background-color: #f8f4ec;*/
    border: 1px solid #0000001a;
    border-radius: 5px;
}
.ginput_container.ginput_container_fileupload input {
   /* background-color: #f8f4ec;*/
    border: 1px solid #f9f2e3;
    border-radius: 5px;
}
div.ginput_complex span input {
   /* background-color: #f8f4ec !important;*/
    border: 1px solid #0000001a !important;
    border-radius: 5px !important;
}
.ginput_container.ginput_container_select select {
   /* background-color: #f8f4ec !important;*/
    border: 1px solid #0000001a !important;
    border-radius: 5px !important;
}
.gfield_list_row_odd.gfield_list_group.gform-grid-row .gfield_list_group_item input {
   /* background-color: #f8f4ec !important;*/
    border: 1px solid #0000001a !important;
    border-radius: 5px !important;
}

/* shop pagination */
.wph-product-loop-grid .elementor-pagination a,
.wph-product-loop-grid .elementor-pagination span {
    border-radius: 0px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    line-height: 1;
}
.wph-product-loop-grid .elementor-pagination .page-numbers.dots {
    border: none;
    background: none;
    color: inherit;
    width: auto;
    height: auto;
    padding: 0;
}
.wph-product-loop-grid .elementor-pagination a.page-numbers {
    /*background-color: #D2AB67; */
    color: #222; 
}
.wph-product-loop-grid .elementor-pagination a.page-numbers:hover {
    background-color: #e9e9e9;
    color: #222 !important;
}
.wph-product-loop-grid .elementor-pagination .page-numbers.current {
    background-color: #005A3D;
    color: #FFF;
}
/*loop add to cart item*/
.wph-cart {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;
}

.wph-cart-container:hover .wph-cart {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.wph-show-icon{
  opacity: 0;
  visibility: hidden;
  transform: translateX(-15px);
  transition: all 0.35s ease;
}
.wph-cart-container:hover .wph-show-icon {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* woocommerce notice */
.woocommerce-error,
.woocommerce-message,
.woocommerce-info,
body.e-wc-message-notice .woocommerce-message,
body.e-wc-message-notice .wc-block-components-notice-banner.is-success {
    margin: 20px auto;
    max-width: 1600px; 
    width: calc(100% - 40px);
    box-sizing: border-box;
    text-align: justify;
}
@media (max-width: 767px) {
    .woocommerce-error,
    .woocommerce-message,
    .woocommerce-info,
    body.e-wc-message-notice .woocommerce-message,
    body.e-wc-message-notice .wc-block-components-notice-banner.is-success {
        width: calc(100% - 20px);
        margin: 20px 10px;
        font-size: 14px;
        text-align: justify;
    }
}

/*product page */
.woocommerce ins,
.woocommerce ins span.amount {
  text-decoration: none !important;
  border: none !important;
}
.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
    z-index: 1 !important;
}
.woocommerce-tabs {
  margin-top: 40px;
}
div.elementor-widget-woocommerce-product-short-description .woocommerce-product-details__short-description ul {
    padding-right: 20px !important;
}

/* لیست تب‌ها */
.woocommerce-tabs ul.tabs {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* هر تب */
.woocommerce-tabs ul.tabs li {
  margin: 0 25px;
  position: relative;

}

/* لینک تب */
.woocommerce-tabs ul.tabs li a {
  display: block;
  padding: 15px 0;
  font-weight: 600;
  font-size: 15px;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
  border-top: 3px solid transparent;
  background-color: #fff;
}
.woocommerce div.product.elementor ul.tabs li {
    padding: 0;
    border: 0px;
}

/* افکت هاور و فعال */
.woocommerce-tabs ul.tabs li a:hover,
.woocommerce-tabs ul.tabs li.active a {
  border-top-color: #005a3d;
  color: #000;
}

/* محتوای تب */
.woocommerce-tabs .panel {
  padding: 30px 0;
  color: #555;
  line-height: 1.8;
  font-size: 15px;
}

/* حذف استایل پیش‌فرض ووکامرس */
.woocommerce-tabs ul.tabs:before,
.woocommerce-tabs ul.tabs:after {
  display: none !important;
  content: none !important;
}

/*تب توضیحات تکمیلی
.woocommerce table.shop_attributes td p {
    margin-right: 10px;
    padding: 8px 0;
    font-style: normal;
} */

/* استایل کلی جدول توضیحات تکمیلی */
.woocommerce-tabs .woocommerce-Tabs-panel h2 {
    display: none;
}
.woocommerce table.shop_attributes {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-size: 15px;
}
.woocommerce table.shop_attributes tr {
  border-bottom: 1px solid #e5e5e5;
}

.woocommerce table.shop_attributes th,
.woocommerce table.shop_attributes td {
  border: none !important;
  background: transparent !important;
}
.woocommerce table.shop_attributes th {
  text-align: right;
  color: #000;
  font-weight: 500;
  width: 40%;
  padding: 10px 0;
}
.woocommerce table.shop_attributes td {
  text-align: left;
  color: #555;
  font-weight: 400;
  width: 60%;
  padding: 10px 0;
}
.woocommerce table.shop_attributes td p {
  margin: 0;
  padding: 0;
  font-style: normal;
}
.woocommerce table.shop_attributes tr:hover {
  background: transparent !important;
}

.dgwt-wcas-st{
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* Floating WhatsApp Button */
.whatsapp-btn {
  position: fixed !important;
  bottom: 25px;
  right: 25px;
  z-index: 999999 !important;
  pointer-events: auto !important;
}

.whatsapp-btn a {
  position: relative;
  /* لازم برای tooltip */
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #25d366;
  color: white;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.25);
  text-decoration: none;
  transition: all 0.3s ease;
}

.whatsapp-btn a:hover {
  background-color: #1ebe57;
  transform: scale(1.1);
}

/* Tooltip text with aria-label */
.whatsapp-btn a::after {
  content: attr(aria-label);
  /* دریافت متن از aria-label */
  position: absolute;
  right: 70px;
  /* فاصله از دکمه — سمت چپ دکمه */
  top: 50%;
  transform: translateY(-50%);
  background-color: #333;
  color: #fff;
  padding: 6px 10px;
  border-radius: 5px;
  font-size: 13px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
  /* جلوگیری از تداخل کلیک */
}

/* نمایش هنگام هاور */
.whatsapp-btn a:hover::after {
  opacity: 1;
  visibility: visible;
  right: 70px;
}

/* فلش کوچک به سمت دکمه */
.whatsapp-btn a::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 58px;
  transform: translateY(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: transparent #1ebe57 transparent transparent;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.whatsapp-btn a:hover::before {
  opacity: 1;
  visibility: visible;
}


/* Gravityforms cutom style */
.gform_wrapper.gravity-theme .gfield_label {
  font-weight: normal;
}


span.sub-arrow {
    display: none !important;
}

/* آیکن‌ها داخل منو 
.elementor-item img.menu-icon,
.elementor-sub-item img.menu-icon {
  height: auto;
  display: inline-block;
  margin-right: 6px;
 
}


.elementor-item.has-submenu {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}


.elementor-nav-menu--dropdown a.has-submenu,
.elementor-nav-menu--dropdown .elementor-sub-item.has-submenu,
.elementor-nav-menu--dropdown .menu-item.has-submenu>a {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.elementor-nav-menu--dropdown img.menu-icon {
  margin-right: 8px !important;
}*/

