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

:root {
	--wd-text-font: iranyekan;
	--wd-text-font-weight: 400;
	--wd-text-color: #767676;
	--wd-text-font-size: 14px;
	--wd-title-font: iranyekan;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: iranyekan;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: iranyekan;
	--wd-widget-title-font: iranyekan;
	--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: iranyekan;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 13px;
	--wd-primary-color: rgb(26,60,52);
	--wd-alternative-color: #fbbc34;
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
	--btn-default-font-family: iranyekan;
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: rgb(15,64,52);
	--btn-accented-bgcolor-hover: rgb(15,64,52);
	--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: 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: 223px;
}
.wd-page-title {
	background-image: url(https://salato.ir/wp-content/uploads/2025/05/IMG_20250208_105215_015.png);
	background-size: cover;
	background-position: center center;
}
.wd-footer {
	background-color: rgb(26,61,53);
	background-image: none;
}
.wd-popup.popup-quick-view {
	--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: 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: 0px;
}

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


.ingredient-1, .ingredient-2, .ingredient-3, .ingredient-4, .ingredient-5, .ingredient-6, .ingredient-7, .ingredient-8, .ingredient-9, .ingredient-10, .ingredient-11, .ingredient-12 {
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
}
.ingredient-1:hover, .ingredient-2:hover, .ingredient-3:hover, .ingredient-4:hover, .ingredient-5:hover, .ingredient-6:hover,.ingredient-7:hover, .ingredient-8:hover, .ingredient-9:hover, .ingredient-10:hover, .ingredient-11:hover, .ingredient-12:hover {
  transform: scale(1.1);
}

.dynamic-heading-ingredient{
	color:black;
	font-size: 37px;
  font-family: 'iranyekan';
  font-weight: 700;}
.dynamic-text-ingredient{
	color:black;
	font-size: 16px;
  font-family: 'iranyekan';}
/* جعبه جستجو در مرکز و با عرض محدود */
#search-container {
  width: 100%;
  /*margin:100px auto;*/ /* مرکز کردن جعبه */
  margin-top: 50px;  
  /*margin-bottom: 20px; */
   margin-left: auto;  
   margin-right: auto;
  text-align: center;
  position: relative;
}

.salato-search-container {
  width: 100%;
  min-height: 500px; 
  background-size: cover; /* اندازه تصویر به تناسب کانتینر */
  background-position: center; /* تصویر در مرکز کانتینر قرار می‌گیرد */
  background-repeat: no-repeat; /* از تکرار تصویر جلوگیری می‌شود */
  transition: background-image 0.3s ease-in-out; /* تغییر نرم تصویر */
}
#search-bar-wrapper {
  width: 100%;
  position: relative;
}
#search-input {
  width: 600px;
  padding: 10px 15px;
  border: none;
  font-size: 40px;
	outline: none;
  text-align: center;
	color:#1a3d35;
}
#search-input::placeholder {
    font-size: 40px;
    text-align: center;
    color:#ededed;
}
#products-section {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center; /* وسط‌چین کردن محصولات */
  margin-top: 150px;

}

.product-item {
  width: 170px; /* اندازه ثابت هر محصول */
  padding: 10px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  cursor: pointer;
}
.product-item:hover {
  background-color: rgb(155, 222, 189, 0.3);
  transform: scale(1.05);
}
.product-item img {
  max-width: 100%;
  height: auto;
  margin-bottom: 10px;
	filter: drop-shadow(0 8px 4px gray);
}
.product-link {
  text-decoration: none;
  color: white;
  display: block;
}

.view-button {
  display: none;
  margin-top: 10px;
  padding: 8px 12px;
  background-color: #1a3d35;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-size: 14px;
  transition: all 0.3s ease;
}

/* نمایش دکمه هنگام هاور در دسکتاپ */
.product-item:hover .view-button {
  display: inline-block;
}
.view-button:hover {
  color: #1a3d35;
  background-color: #ffffff; /* رنگ کمی روشن‌تر هنگام هاور */
	border: solid 2px #1a3d35;
}
/* در موبایل (کمتر از 768px) دکمه همیشه دیده شود */
@media (max-width: 768px) {
  .view-button {
    display: none !important;
  }
}

/*coming soon*/
.nuts-image img {
  display: block;
  margin: 0 auto;
  animation: float 3s infinite ease-in-out;
}
@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}
/*navbar*/
/* تنظیم منو برای نمایش آیتم‌ها در یک خط */
#menu-category-product-menu {
    display: flex; /* آیتم‌ها را به صورت خطی نمایش می‌دهد */
    justify-content: center; /* تراز کردن آیتم‌ها در مرکز */
    align-items: center; /* تراز عمودی آیتم‌ها */
   /* gap:35px;  فاصله بین آیتم‌های منو */
   /* list-style: none;*/ /* حذف استایل پیش‌فرض لیست */
    padding: 0;
    margin: 0;
    white-space: nowrap; /* جلوگیری از شکستن خطوط */
}

/* تنظیم آیتم‌های لیست */
#menu-category-product-menu li {
    display: inline-flex; /* آیتم‌ها به صورت خطی در کنار هم قرار می‌گیرند */
    align-items: center; /* تراز عمودی محتوا */
		/*border: 1px solid #436622 ;*/
		padding: 2px 10px;
		/*background: #3B4A21;
		background: linear-gradient(90deg, rgba(59, 74, 33, 0.3) 0%, rgba(67, 102, 34, 0.7) 50%);*/

}


/* تنظیم لینک‌های منو */
#menu-category-product-menu li a {
    display: inline-flex; /* متن و آیکن در کنار هم قرار می‌گیرند */
    align-items: center; /* عمودی تراز می‌شوند */
    text-decoration: none; /* حذف خط زیر لینک‌ها */
    font-size: 14px; /* اندازه متن */
    white-space: nowrap; /* جلوگیری از شکستن متن */
	  color:white;
}

/* تنظیم آیکن‌ها */
#menu-category-product-menu li a img {
		transform: scale(2.2); /* بزرگ کردن آیکن‌ها به ۱.۵ برابر */
    margin-left: 10px; /* حذف حاشیه اضافی */
}
.wd-nav-img{
transform: scale(1.3);
}
.isnot {
    text-shadow: 2.5px 2.5px 0px #1A3C34;
    -webkit-text-stroke: 1px #1A3C34;
}
.herotxt{
  text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.8), 
               0px 0px 15px rgba(0, 0, 0, 0.6);
}
/*logo*/
img.attachment-full.size-full[src="https://salato.ir/wp-content/uploads/2025/05/Artboard-1.svg"]{
	transform: scale(1.7);
		margin-left: -10px;

}

/*contact*/
#wpcf7-f250-p398-o1{
direction:rtl;
}
.wpcf7-form-control.wpcf7-submit.has-spinner.btn-color-black {
background-color:#609E93;
}
.wpcf7-form-control.wpcf7-submit.has-spinner.btn-color-black:hover {
    background-color: #1a3d35;
}
.flag-container,.flag-dropdown{direction:ltr;}
.wpcf7-submit {
    display: block;
    margin: 0 auto;
    background-color: #609E93;
    color: white;
    border-radius: 60px !important;
    padding: 20px 50px;
    border: none;
    cursor: pointer;
  }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 textarea, 
  .wpcf7 select {
  border: none;
    border-bottom: 2px solid #5a7d6d;
    background: transparent;
    outline: none; /* حذف خط حاشیه فعال */
    padding: 8px 0;
    width: 100%;
    font-size: 16px;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon img {
    width: 20px; /* یا اندازه‌ای که مناسب باشد */
    height: 20px;
    margin-right: 10px;
}
.wpcf7 textarea {
    height: 50px !important; /* ارتفاع مورد نظر */
    min-height: 50px !important; /* جلوگیری از تغییر ارتفاع */
    resize: none; /* اگر نخواهید کاربر ارتفاع را تغییر دهد */
}
input[type="checkbox"] {
   outline: 1px solid #609E93;
    outline-offset: -1px;
}
.wpcf7-list-item-label{
	color: #609E93;
}
/*nutrition fact*/
.nutsfact {
  font-size: small;
  line-height: 1.4;
	display: flex;
  padding: 0 10px;
}
.performance-facts {
  border: 1px solid #1a3d35;
	color: #1a3d35;
  margin: 20px;
  float: left;
  width: 280px;
  padding: 0.5rem;
  table {
    border-collapse: collapse;
  }
}
.performance-facts__title {
  font-weight: bold;
  font-size: 2rem;
  margin: 0 0 0.25rem 0;
}
.performance-facts__header {
  border-bottom: 10px solid #1a3d35;
  padding: 0 0 0.25rem 0;
  margin: 0 0 0.5rem 0;
  p {
    margin: 0;
  }
}
.performance-facts__table {
  width: 100%;
  thead tr {
    th,
    td {
      border: 0;
    }
  }
  th,
  td {
    font-weight: normal;
    text-align: right;
    padding: 0.25rem 0;
    border-top: 1px solid #1a3d35;
    white-space: nowrap;
  }
  td {
    &:last-child {
      text-align: left;
    }
  }
  .blank-cell {
    width: 1rem;
    border-top: 0;
  }
  .thick-row {
    th,
    td {
      border-top-width: 5px;
    }
  }
}
.small-info {
  font-size: 0.7rem;
}
.performance-facts__title,
.performance-facts__header,
.performance-facts__table th,
.performance-facts__table td {
  color: #1a3d35;
}
.performance-facts__table--small {
  @extend .performance-facts__table;
  border-bottom: 1px solid #999;
  margin: 0 0 0.5rem 0;
  thead {
    tr {
      border-bottom: 1px solid #1a3d35;
    }
  }
  td {
    &:last-child {
      text-align: right;
    }
  }
  th,
  td {
    border: 0;
    padding: 0;
  }
}
.performance-facts__table--grid {
  @extend .performance-facts__table;
  margin: 0 0 0.5rem 0;
  td {
    &:last-child {
      text-align: right;
      &::before {
        content: "•";
        font-weight: bold;
        margin: 0 0.25rem 0 0;
      }
    }
  }
}
.text-center {
  text-align: center;
}
.thick-end {
  border-bottom: 10px solid #1a3d35;
}
.thin-end {
  border-bottom: 1px solid #1a3d35;
}
/*comparison list*/
.comparison-body {
    background-color: #1a1a1a;
    color: #fff;
    /*font-family: roboto;*/
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.comparison-container {
    text-align: center;
    padding: 20px;
    width: 100%;
}
.comparison-table {
    border-collapse: separate;
		border-spacing: 0;
    width: 100%;
    margin: 0 auto;
    background-color: #fff;
    color: #000;
}

.comparison-th,
.comparison-td {
    padding: 15px;
    text-align: center;
    font-size: 14px;
    color: #fff; /* Added to ensure all text is white */
}
/* Add white bottom border to first and third columns */
.comparison-table .comparison-td:first-child,
.comparison-table .comparison-th:first-child,
.comparison-table .comparison-td:nth-child(3),
.comparison-table .comparison-th:nth-child(3) {
    border-bottom: 1px solid #fff; /* White border for first and third columns */
}

/* Add #1a3d35 bottom border to second column */
.comparison-table .comparison-td:nth-child(2),
.comparison-table .comparison-th:nth-child(2) {
    border-bottom: 1px solid #1a3d35; /* #1a3d35 border for second column */
}

/* Remove border from the last row to avoid extra line at the bottom */
.comparison-table tr:last-child .comparison-td,
.comparison-table tr:last-child .comparison-th {
    border-bottom: none; /* No border on the last row */
}
.comparison-th {
    background-color: #fff;
    font-weight: bold;
}

/* First cell in the first row (Side by side, it's simple.) */
.comparison-table tr:first-child .comparison-td:first-child {
    height: 92px;
    width: 50%;
    text-align: right;
    background-color: #1a3d35; /* Changed from #99debe */
    font-weight: bold;
    color: #fff; /* Added to make text white */
}

/* First row, second and third cells (Hu logo and Traditional Chocolate) */
.comparison-table tr:first-child .comparison-th:nth-child(2),
.comparison-table tr:first-child .comparison-th:nth-child(3) {
    height: 92px; /* Set height */
    width: 25%;
}

/* Apply background colors to other rows in the first and third columns */
.comparison-table .comparison-td:first-child {
		text-align: right;
    background-color: #1a3d35;
    font-weight: bold;
    color: #fff;
    width: 50%;/*ded to ensure consistent width across all rows */
}

.comparison-table .comparison-td:nth-child(3) {
    background-color: #1a3d35;
}

.comparison-table .comparison-th:nth-child(3) {
    background-color: #1a3d35;
}

/* Ensure columns 2 and 3 have the same size */
.comparison-table .comparison-th:nth-child(2),
.comparison-table .comparison-th:nth-child(3),
.comparison-table .comparison-td:nth-child(2),
.comparison-table .comparison-td:nth-child(3) {
    width: 25%/* Equal width for columns 2 and 3 based on remaining space */
}

.comparison-table .comparison-large-text {
    font-size: 25px; /* 'it's simple' font size */
}

.comparison-table .comparison-medium-text {
    font-size: 16px; /* 'Side by side' font size */
}

.comparison-table .comparison-svg-icon {
    width: 30px; /* Adjust size as needed */
    height: 30px;
}

.comparison-table .comparison-svg-header {
    width: 100px; /* Match the cell width */
    height: 100px; /* Match the cell height */
}
.comparison-logo {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 1.5em;
}
/* Ingredient Carousel */
.ingredient-container {
    max-width: 800px;
    margin: 40px auto;
    text-align: left !important;
    padding: 0;
}

/* دکمه‌های انتخاب مواد اولیه */
.ingredient-buttons {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    overflow-x: auto;
    margin-left: 15px;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* مخفی کردن اسکرول در فایرفاکس */
}
.ingredient-buttons::-webkit-scrollbar {
    display: none; /* مخفی کردن اسکرول در کروم و سافاری */
}
.ingredient-btn {
    padding: 8px;
    font-size: 12px;
    cursor: pointer;
    background-color: transparent;
    border: none;
    border-radius: 20px;
    transition: background-color 0.3s ease;
    flex-shrink: 0;
    text-transform: capitalize;
}
.ingredient-btn.active {
    background-color: #99debe;
    color: #1a3d35;
}
.ingredient-btn:hover {
    background-color: #e0e0e0;
}

/* اسلایدر */
.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: flex-start; /* Changed to flex-start to allow manual positioning */
    max-width: calc(100% - 15px);
    margin: 0 0 0 15px;
}

.ingredient-carousel {
    overflow: hidden;
    height: 287px;
    width: 100%;
}

.ingredient-carousel-inner {
    display: flex;
    gap: 8px;
    transition: transform 0.5s ease-in-out;
    width: max-content;
}

.ingredient-carousel-item {
    width: 390px;
    height: 235px;
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 4px;
}

/* باکس توضیحات مواد اولیه */
.ingredient-description-box {
    width: 100%;
    height: 100%;
    padding: 20px;
    border: 1px solid #1a3d35;
    text-align: left;
    font-size: 14px;
    line-height: 1.6;
    background-color: white;
    overflow: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #1a3d35;
		text-align: justify;
}
.ingredient-description-box strong {
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
}

/* استایل دکمه‌های ناوبری کاروسل */
.ingredient-carousel-arrow {
    background-color: #fff;
    border: 1px solid #ccc;
    width: 50px;
    height: 50px;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s, border-color 0.3s;
    z-index: 10;
    position: absolute; /* Re-added absolute positioning for manual placement */
    top: 45%; /* Moved down further (adjust this value as needed) */
    transform: translateY(-50%); /* Keeps vertical centering within the arrow */
}
.ingredient-carousel-arrow:hover {
    background-color: #f0f0f0;
    border-color: #999;
}
.ingredient-carousel-arrow::before {
    content: "";
    display: block;
    width: 12px;
    height: 12px;
    border: solid black;
    border-width: 1px 1px 0 0;
    transform: rotate(45deg);
}

.ingredient-prev::before {
    transform: rotate(-135deg);
}

.ingredient-next::before {
    transform: rotate(45deg);
}
.ingredient-prev {
    left: -22px; /* Adjusted left position to move arrow outward */
}
.ingredient-next {
    right: -22px; /* Adjusted right position to move arrow outward */
}
.ingredient-carousel-arrow.hidden {
    display: none;
}
/*tooltip*/
.tooltip-container {
    position: relative;
    display: block;
    text-align: center;
}

.tooltip-container img {
    display: block;
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease-in-out;
}

.tooltip-container:hover img {
    transform: scale(1.1); /* بزرگ شدن تصویر هنگام هاور */
}

.tooltip-container .tooltip-text {
    visibility: hidden;
    width: auto; /* تغییر از مقدار ثابت به اتوماتیک برای سازگاری */
    background-color: #1a3d35;
    color: #99debe;
    text-align: center;
    border-radius: 6px;
    padding: 5px 10px; /* بهبود فاصله داخلی */
    position: absolute;
    z-index: 10;
    top: 110%; /* کمی فاصله از تصویر */
    left: 50%;
    transform: translateX(-50%); /* مرکز کردن دقیق */
    opacity: 0;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    font-size: 14px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.tooltip-container .tooltip-text::after {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%); /* مرکز کردن فلش */
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent #1a3d35 transparent; /* فلش رو به بالا */
}

.tooltip-container:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(5px); /* انیمیشن نرم */
} 
/*accordion*/
.accordion {
    width: 100%;
    border-radius: 4px;
}

.accordion-item {
    border-bottom: 1px solid #ccc;
}

.accordion-header {
    display: block;
    padding: 10px;
    cursor: pointer;
    background-color: #fff;
    transition: background-color 0.3s;
    font-weight: bold;
    color: black;
    position: relative; /* Added to help with positioning */
}

.accordion-header::after {
    content: "+";
    color: #000;
    margin-r: 10px; /* Changed from margin-right to margin-left */
    font-size: 18px;
    position: absolute; /* Added to position the icon on the right */
    left: 10px; /* Added to align to the right side */
}

.accordion-item input[type="checkbox"]:checked + .accordion-header::after {
    content: "×";
}

.accordion-item input[type="checkbox"] {
    display: none;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.accordion-item input[type="checkbox"]:checked ~ .accordion-content {
    max-height: 100%;
    padding: 10px 20px;
}

.accordion-item input[type="checkbox"]:checked + .accordion-header {
    background-color: #f0f0f0;
}
.benefits-icons p{ color:#1a3d35;}
.benefits-icons > div {
    width: 80px; /* یا مقدار مناسب مثلا 70px تا 100px */
    word-wrap: break-word;
    white-space: normal;
}
.woocommerce-product-details__short-description{
text-align:justify;
}
.marquee-wrapper {
  position: relative;
  overflow: visible;
  padding: 20px 0;
  
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: scrollMarquee 65s linear infinite;
}

.marquee-wrapper:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-item {
  flex: 0 0 auto;
  width: 208px;
  margin: 0 20px;
  text-align: center;
  transition: transform 0.4s ease;
}

.marquee-wrapper:hover .marquee-item:hover{
  transform: scale(1.15);
  z-index: 2;
}

.marquee-item img {
  width: 208px;
  height: 208px;
  border-radius: 16px;
  object-fit: cover;
  display: block;
  margin-bottom: 10px;
}

.marquee-item p {
  margin: 0;
  font-size: 16px;
  color: #1a3d35;
  font-weight: 600;
}

@keyframes scrollMarquee {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0%);
  }
}

.marquee-itemflavor {
  background-image: url('https://salato.ir/wp-content/uploads/2025/06/bg-flvr.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 250px;
  height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: 12px;
  margin: 1px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.flavor-item:hover{
	transform: scale(1.3);

}
.marquee-itemflavor:hover {
  transform: scale(1.3); /* بزرگ‌تر شدن هنگام هاور */
}

.marquee-itemflavor img {
  width: 110px;
  height: auto;
  margin-bottom: 6px;
}

.marquee-itemflavor p {
  color: white;
  font-weight: bold;
  font-size: 16px;
  margin: 0;
}
.search-title {
    text-align: center;
    color: #1a3d35;
    margin-bottom: 4rem;
}

.search-title p {
    font-size: 2.2rem;
    margin: 0.2rem 0;
}

/* تنظیمات برای موبایل ویو */
@media (max-width: 600px) {
    .search-title p {
        font-size: 1.6rem;
    }
}

/* Tooltip Text */
.tooltip-flavor {
  position: absolute;
  bottom: 88%; 
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #1a3d35, #3c7568);
  color: #fff;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 11px;
  white-space: nowrap;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* فلش پایین تولتیپ */
.tooltip-flavor::after {
  content: "";
  position: absolute;
  top: 99%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 4px;
  border-style: solid;
  border-color: #3c7568 transparent transparent transparent;
}

/* نمایش تولتیپ با انیمیشن shake */
.marquee-itemflavor:hover .tooltip-flavor {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
  animation: shakeTooltip 0.6s ease;
}

/* انیمیشن Shake */
@keyframes shakeTooltip {
  0% { transform: translateX(-50%) translateY(-4px); }
  25% { transform: translateX(-48%) translateY(-4px); }
  50% { transform: translateX(-52%) translateY(-4px); }
  75% { transform: translateX(-48%) translateY(-4px); }
  100% { transform: translateX(-50%) translateY(-4px); }
}
.three-step-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.three-step-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.4s ease-in-out;
}

.three-step-hover {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.three-step-wrapper:hover .three-step-hover {
  opacity: 1;
  z-index: 2;
}

.three-step-wrapper:hover .three-step-normal {
  opacity: 0;
}
.abtus{box-shadow: rgba(14, 63, 126, 0.04) 0px 0px 0px 1px, rgba(42, 51, 69, 0.04) 0px 1px 1px -0.5px, rgba(42, 51, 70, 0.04) 0px 3px 3px -1.5px, rgba(42, 51, 70, 0.04) 0px 6px 6px -3px, rgba(14, 63, 126, 0.04) 0px 12px 12px -6px, rgba(14, 63, 126, 0.04) 0px 24px 24px -12px;}
/* core value */
.values-section {
      position: relative;
      width: 100%;
      height: 630px;
      margin: 0 auto;
      overflow: hidden;
    }

    .center-title {
      position: absolute;
      top: 390px;
      left: 50%;
      transform: translate(-50%, -50%);
      text-align: center;
			z-index:5;
    }

    .center-title img {
      width: 240px;
    }

    .center-title .text {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      font-size: 24px;
      font-weight: bold;
      color: #145d56;
      white-space: nowrap;
    }

    .values-items-wrapper {
      position: relative;
      width: 100%;
      height: 100%;
    }

    .value-item {
      position: absolute;
      width: 160px;
      text-align: center;
      color: #145d56;
      font-weight: bold;
			z-index:10;
    }

    .value-item .circle-bg {
      width: 165px;
      height: 165px;
      margin: 0 auto;
      position: relative;
    }

    .value-item .circle-bg img.bg {
      width: 100%;
      height: 100%;
    }

    .value-item .circle-bg img.icon {
      width: 100px;
      height: 100px;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
    }
    .value-item .label {
      position: absolute;
      top: -35px;
      width: 100%;
      font-size: 18px;
      font-weight: bold;
      white-space: nowrap;
    }
    
    .v1 .label {
      text-align: center;
      left: -92px;
      top:25px;
    }
.v2 .label{      text-align: center;
      left: -100px;
      top:25px;}
    
    .v3 .label {
      text-align: center;
      right: -88px;
      top:25px;
    }
.v4 .label{      text-align: center;
      right: -108px;
      top:25px;}
    /* موقعیت آیتم‌ها روی قوس در دسکتاپ */
    .v1 { /* نوآوری - پایین چپ */
      top: 300px;
      left: 75px;
    }

    .v2 { /* شفافیت - بالا چپ */
      top: 50px;
      left: 290px;
    }

    .v3 { /* کیفیت - بالا راست */
      top: 50px;
      right: 290px;
    }

    .v4 { /* محیط زیست - پایین راست */
      top: 300px;
      right: 75px;
    }

    /* موبایل ویو */
@media (max-width: 768px) {
  .values-section {
    height: auto;
    padding: 60px 0;
    position: relative;
  }

  .center-title {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin-bottom: 40px;
    z-index: 2;
  }
	
	
  .mobile-dashed-line {
    position: absolute;
    top: 225px; /* کمی پایین‌تر از ارزش‌های سالاتو */
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: calc(80% - 136px);
    background: repeating-linear-gradient(
      to bottom,
      #1a3d35,
      #1a3d35 6px,
      transparent 6px,
      transparent 12px
    );
    z-index: 0;
  }

  .values-items-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    position: static;
    z-index: 2;
  }

  .value-item {
    position: static;
    width: 180px;
    text-align: center;
  }

  .value-item .circle-bg {
    width: 180px;
    height: 180px;
    margin: 0 auto;
    position: relative;
  }

  .value-item .circle-bg img.bg {
    width: 100%;
    height: 100%;
  }

  .value-item .circle-bg img.icon {
    width: 110px;
    height: 110px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .value-item .label {
    position: static;
    margin-bottom: 2px;
    font-size: 18px;
    text-align: center;
    color: #145d56;
		background-color:white;
  }
}
/*drop down menu*/
.wd-entities-title{color:#1a3d35;}
.wd-dropdown-menu.wd-design-sized:not(.wd-scroll), .wd-dropdown-menu.wd-design-sized.wd-scroll .wd-dropdown-inner{
background-color: rgb(26, 61, 52, 0.7);
}



#menu-category-product-menu li:hover img {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0%   { transform: rotate(0deg) scale(2.2); }
  25%  { transform: rotate(-8deg) scale(2.2); }
  50%  { transform: rotate(0deg) scale(2.2); }
  75%  { transform: rotate(8deg) scale(2.2); }
  100% { transform: rotate(0deg) scale(2.2); }
}

/*comparison table*/
.comparison-section {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 50px;
    padding: 20px;
}

.col-comparison {
    width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.switch-comparison {
    width: 100px;
    height: 40px;
    border-radius: 40px;
    position: relative;
    margin-bottom: 40px;
}

.switch-comparison.red::before,
.switch-comparison.green::before {
    content: "";
    position: absolute;
    top: 4px;
    width: 32px;
    height: 32px;
    background-color: white;
    border-radius: 50%;
}

.switch-comparison.red {
    background-color: #d12124;
}
.switch-comparison.red::before {
    left: 4px;
}

.switch-comparison.green {
    background-color: #94e344;
}
.switch-comparison.green::before {
    right: 4px;
}

.lable-comparison {
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 16px;
    color: #1a3d35;
}

.item-comparisons {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.item-comparison {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    line-height: 1.5;
    color: #1a3d35;
}

.item-comparison img {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}
@media (max-width: 600px) {
    .comparison-section {
        gap: 20px;
        padding: 10px;
    }

    .col-comparison {
        width: 140px;
    }

    .lable-comparison {
        font-size: 14px;
    }

    .switch-comparison {
        width: 70px;
        height: 28px;
        margin-bottom: 20px;
    }

    .switch-comparison.red::before,
    .switch-comparison.green::before {
        width: 22px;
        height: 22px;
        top: 3px;
    }

    .item-comparison {
        font-size: 14px;
        gap: 4px;
    }

    .item-comparison img {
        width: 16px;
        height: 16px;
    }
}

/*خط فاصله ساب منو*/

.wd-nav:is(.wd-style-bordered, .wd-style-separated) > li:not(:last-child)::after {
    content: "";
    position: absolute; /* دقیق‌تر از relative برای مکان خط */
    left: -15px; /* نصف gap برای مرکز شدن خط */
    top: 50%;
    transform: translateY(-50%);
    height: 50%;
    border-right: 2px solid rgba(255, 255, 255, 0.3);
}
/*sub menu glass effect*/
.wd-dropdown-menu.wd-design-full-width:not(.wd-scroll), .wd-dropdown-menu.wd-design-full-width.wd-scroll .wd-dropdown-inner{
background: rgba(255, 255, 255, 0.2);
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(5px);
-webkit-backdrop-filter: blur(5px);
border: 1px solid rgba(255, 255, 255, 0.3);
}
.submenu{
    text-shadow: 1px 1px 10px #1a3d35;
}

.mobilenav{
white-space: nowrap;
padding:0px;
}
@media (min-width: 1025px) {
	.single-product .woocommerce-product-gallery.images .woocommerce-product-gallery__wrapper:only-child .woocommerce-product-gallery__image img,
.single-product .woocommerce-product-gallery.images .woocommerce-product-gallery__image:only-child img {
  max-width: 360px !important;
  width: auto !important;
  height: auto !important;
  margin: 0 auto !important;
  display: block !important;
}

#products-section {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 150px;
  align-items: flex-start; /* جلوگیری از کشیده شدن عمودی آیتم‌ها */
}
.product-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;

  width: 170px;
  height: 330px; /* یا هر ارتفاع ثابتی که نیاز داری */
  padding: 10px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  cursor: pointer;
  position: relative;
  z-index: 1;
  flex: 0 0 170px;
}
.product-item img {
  max-width: 100%;
  height: auto;
  margin-bottom: 10px;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 8px 4px gray);
}
.product-item:hover {
  background-color: rgba(155, 222, 189, 0.3);
  transform: scale(1.05);
  z-index: 10;
}
.product-item p {
  height: 50px; /* یا هر مقداری که برای دو خط متن مناسبه */
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* فقط دو خط نمایش داده میشه */
  -webkit-box-orient: vertical;
}
.view-button {
  margin-top: auto;
	margin-bottom:10px;
  padding: 8px 12px;
  background-color: #1a3d35;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-size: 14px;
  transition: all 0.3s ease;
  display: none;
}
.product-item:hover .view-button {
  display: inline-block;
}

}

@media (max-width: 576px) {
	 #products-section {
      display: flex;
      flex-wrap: nowrap; /* جلوگیری از شکستن محصولات به خطوط جدید */
      gap: 10px;
      overflow-x: auto; /* اسکرول افقی */
      padding: 10px;
      scroll-behavior: smooth; /* اسکرول نرم */
      -webkit-overflow-scrolling: touch; /* سازگاری با موبایل */
      justify-content: flex-start; /* ADDED: Aligns items to the left */
      scroll-snap-type: x mandatory; /* ADDED: Improves scrolling UX */
  }
#products-section p {
  margin: auto;
  text-align: center;
}

  #products-section::-webkit-scrollbar {
      height: 8px; /* ارتفاع نوار اسکرول */
  }

  #products-section::-webkit-scrollbar-thumb {
      background: #1E4918; /* رنگ نوار اسکرول */
      border-radius: 4px;
  }

  #products-section::-webkit-scrollbar-thumb:hover {
      background: #145312; /* رنگ هنگام هاور */
  }

  #products-section::-webkit-scrollbar-track {
      background: #f0f0f0; /* پس‌زمینه نوار اسکرول */
  }
  .product-item {
      flex: 0 0 auto; /* جلوگیری از تغییر اندازه محصولات */
      width: 120px; /* اندازه محصولات در موبایل */
  }

.dynamic-heading-ingredient{
	padding-left: 15px;}
.dynamic-text-ingredient{
	padding-left: 15px;
	padding-right: 15px;}

.wpcf7-checkbox {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* دو ستون مساوی */
    gap: 10px; /* فاصله بین آیتم‌ها */
    justify-content: center;
  }

 .wpcf7-checkbox label {
    display: flex;
    align-items: center;
    justify-content: start;
    text-align: left;
		padding-left:50px;
}

.row {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.row p{
    width: 80%;
}
.tarea {
    width: 100%; /* بخش تکست‌اریا کل عرض را بگیرد */
    display: flex;
    justify-content: center; /* وسط‌چین کردن تکست‌اریا */
}

.tarea textarea {
    width: 100%; /* عرض 80% */
    height: 120px; /* تنظیم ارتفاع */
    font-size: 14px; /* کوچکتر کردن فونت */
    display: block; /* اطمینان از اینکه textarea بلوک باشد */
    margin: 0 auto; /* وسط‌چین کردن */
}
/*comparison list*/
.comparison-table {
        width: 100%; /* Ensure full width */
    }
    .comparison-th,
    .comparison-td {
        padding: 10px; /* Reduce padding */
        font-size: 10px; /* Set other text font size */
    }
    /* First cell in the first row (Side by side, it's simple.) */
    .comparison-table tr:first-child .comparison-td:first-child {
        height: 76px; /* Scaled down (92px * 0.826) */
        width: 128px; /* Scaled down (155px * 0.826) */
    }
    /* First row, second and third cells (salato Logo and Traditional Chocolate) */
    .comparison-table tr:first-child .comparison-th:nth-child(2),
    .comparison-table tr:first-child .comparison-th:nth-child(3) {
        height: 76px; /* Scaled down (92px * 0.826) */
    }
    .comparison-table .comparison-th:nth-child(2),
    .comparison-table .comparison-th:nth-child(3),
    .comparison-table .comparison-td:nth-child(2),
    .comparison-table .comparison-td:nth-child(3) {
        width: calc((100% - 128px) / 2); /* Equal width for columns 2 and 3 based on remaining space */
    }
    /* Set font size for Traditional Chocolate */
    .comparison-table tr:first-child .comparison-th:nth-child(3) {
        font-size: 10px; /* Set 'Traditional Chocolate' font size */
    }
    .comparison-table .comparison-large-text {
        font-size: 16px; /* Set 'it's simple' font size */
    }
    .comparison-table .comparison-medium-text {
        font-size: 12px; /* Set 'Side by side' font size */
    }
    .comparison-table .comparison-svg-icon {
        width: 20px; /* Reduced size */
        height: 20px;
    }
    .comparison-table .comparison-svg-header {
        width: 100%; /* Fill the cell width */
        height: auto; /* Maintain aspect ratio */
        max-width: calc((100% - 128px) / 2 - 10px); /* Limit to cell width minus padding adjustment */
        object-fit: contain; /* Ensure it fits without distortion */
        min-width: 60px; /* Minimum width for visibility */
        min-height: 40px; /* Minimum height for visibility */
    }
    .comparison-logo {
        font-size: 1.3em; /* Increased from 1.2em for better visibility on tablet */
    }
/*carousel ingridient*/
.ingredient-carousel-item {
        width: 70vw;
				height: 300px;
    }
.ingredient-carousel {
    overflow: hidden;
    height: 342px;
    width: 100%;
}

    .ingredient-carousel-arrow {
        width: 35px;
        height: 35px;
        font-size: 20px;
			  top: 43%;
    }
.ingredient-prev {
    left: -12px; /* Adjusted left position to move arrow outward */
}
.ingredient-next {
    right: -12px; /* Adjusted right position to move arrow outward */
}
    /* Hide scrollbar in mobile mode */
    .ingredient-buttons {
        -ms-overflow-style: none; /* IE and Edge */
        scrollbar-width: none; /* Firefox */
    }

    .ingredient-buttons::-webkit-scrollbar {
        display: none; /* Chrome, Safari, and Opera */
    }

    #search-input {
        font-size: 1.4rem;
    }

    #search-input::placeholder {
        font-size: 1.2rem;
    }
.search-title p {
    font-size: 1rem;
    margin: 0.2rem 0;
}
}
#products-section {
  margin-top: 120px;
}

}

