@charset "UTF-8";
html,
body {
  background-color: #ffffff;
}
#content {
  background-color: #ffffff;
  margin-top: 0px;
}
@media (max-width: 984px) {
  #content {
    margin-top: 0px;
  }
}

* {
  scroll-behavior: smooth;
}

.woocommerce {
  background-color: #ffffff;
}

select {
  border-left: 1rem solid transparent;
}

* {
  --sb-track-color: #e1e6f1;
  --sb-thumb-color: #9BD6CD;
  --sb-size: 8px;
}

*::-webkit-scrollbar {
  width: var(--sb-size);
}

*::-webkit-scrollbar-track {
  background: var(--sb-track-color);
  border-radius: 5px;
}

*::-webkit-scrollbar-thumb {
  background: var(--sb-thumb-color);
  border-radius: 5px;
}

@supports not selector(::-webkit-scrollbar) {
  * {
    scrollbar-color: var(--sb-thumb-color) var(--sb-track-color);
  }
}
#main-header .menu-item {
  position: relative;
}
#main-header .menu-item.has-children > a:first-child::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1rem;
}
#main-header .menu-item.featured-menu-item > a {
  transition: all 0.3s ease;
  border-left: 1px solid #E9E9E9;
}
#main-header .menu-item.featured-menu-item > a:hover {
  border-left-color: #0F766E;
  color: #0F766E;
}
#main-header .menu-item.featured-menu-item > a .active {
  color: #0F766E;
}
#main-header .menu-item.featured-menu-item.menu-1st-sub-li {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important;
}
#main-header .menu-item.featured-menu-item.menu-1st-sub-li a {
  color: white !important;
  font-weight: 700;
}
#main-header #menu {
  display: flex;
  align-items: center;
  background-color: #333648;
  border-radius: 30rem;
}
#main-header .main-menu {
  display: flex;
  justify-content: center;
  /* جداکنندهٔ "|" بین آیتم‌های منو غیرفعال شد
  &>.menu-item:not(:last-child):after {
      content: '|';
      position: absolute;
      left: 100%;
      color: #D6D6D6;
  }
  */
}
#main-header .modal-overlay {
  position: absolute;
  display: none;
  inset: 0;
  z-index: 20;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
}
#main-header #mobile_nav .sub-menu {
  padding-left: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border-left: 1px solid rgba(255, 255, 255, 0.48);
}
#main-header #mobile_nav .mobile-menu-item,
#main-header #mobile_nav ul > li > a,
#main-header #mobile_nav ul > li > span {
  color: #fff;
}
#main-header #mobile_nav ul > li > a:hover,
#main-header #mobile_nav .mobile-menu-item:hover {
  color: var(--color-vermilion, #0F766E);
}
#main-header #mobile_nav .mobile-sub-menu {
  background-color: rgba(255, 255, 255, 0.07) !important;
}
#main-header #mobile_nav .border-r-2,
#main-header #mobile_nav .border-lines {
  border-color: rgba(255, 255, 255, 0.18) !important;
}
#main-header #mobile_nav .mobile-sub-menu a,
#main-header #mobile_nav .mobile-sub-menu span {
  color: rgba(255, 255, 255, 0.88);
}
#main-header #mobile_nav .mobile-sub-menu a:hover {
  color: var(--color-vermilion, #0F766E);
}
#main-header #mobile_nav svg {
  color: rgba(255, 255, 255, 0.7);
}
#main-header #mobile_nav .mobile-menu-item svg {
  color: rgba(255, 255, 255, 0.7);
}
#main-header .menu-1st-sub-li:hover .menu-1st-sub::after {
  display: block;
}
#main-header .menu-1st-sub {
  transition: all 0.3s;
  position: relative;
}
#main-header .menu-1st-sub::after {
  transition: all 0.3s;
  content: "";
  display: none;
  position: absolute;
  right: 100%;
  top: 0;
  bottom: 0;
  width: 2px;
  height: 100%;
  background: #0F766E;
}
#main-header .has-simple-menu {
  position: relative;
}
#main-header .has-simple-menu .simple-menu-container {
  animation: slideDownFadeIn 0.3s ease forwards;
}
#main-header .has-simple-menu .simple-menu-container:not(.group-hover\:block) {
  animation: slideUpFadeOut 0.3s ease forwards;
}
#main-header .has-simple-menu .simple-menu-item:not(:last-child) {
  border-bottom: 1px solid #f0f0f0;
}
#main-header .has-simple-menu .simple-menu-item:first-child a {
  border-top-right-radius: 8px;
  border-top-left-radius: 8px;
}
#main-header .has-simple-menu .simple-menu-item:last-child a {
  border-bottom-right-radius: 8px;
  border-bottom-left-radius: 8px;
}
#main-header .has-simple-menu .simple-menu-item.featured-menu-item {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  border-radius: 8px;
  margin: 4px;
}
#main-header .has-simple-menu .simple-menu-item.featured-menu-item:not(:last-child) {
  border-bottom: none;
}
#main-header .has-simple-menu .simple-menu-item.featured-menu-item a {
  color: white !important;
  font-weight: 700;
}
#main-header .has-simple-menu .simple-menu-item.featured-menu-item a:hover {
  color: white !important;
}
#main-header .has-simple-menu .simple-menu-item:hover img,
#main-header .has-simple-menu .simple-menu-item:hover svg {
  transform: scale(1.1);
}
#main-header .has-mega-menu {
  position: static;
}
@keyframes slideDownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideUpFadeOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}
@media (max-width: 1024px) {
  #main-header .has-simple-menu .simple-menu-container,
  #main-header .has-simple-menu > div:not(.hamburger),
  #main-header .has-mega-menu .simple-menu-container,
  #main-header .has-mega-menu > div:not(.hamburger) {
    display: none !important;
  }
}

#menu-footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  height: 160px;
  row-gap: 16px;
  margin-top: 16px;
}
@media (max-width: 984px) {
  #menu-footer {
    height: 300px;
  }
}
#menu-footer .menu-item {
  font-size: 14px;
}
#menu-footer .menu-item::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  margin-left: 0.5rem;
  width: 1rem;
  height: 2px;
  background-color: #f5c181;
}

.footer-mask {
  border: 2px solid;
  border-image-slice: 1;
  border-image-source: radial-gradient(47.55% 77.69% at 50% 110.19%, rgba(0, 49, 156, 0.24) 0%, rgba(0, 49, 156, 0) 100%);
}
@media (max-width: 1024px) {
  .footer-mask {
    border-image-source: radial-gradient(97.55% 77.69% at 50% 110.19%, rgba(0, 49, 156, 0.24) 0%, rgba(0, 49, 156, 0) 100%);
  }
}

.post-content,
.product-post-content,
.taxonomy-advanced-description,
.taxonomy-description {
  font-family: "AzarMehr", ui-sans-serif, system-ui, sans-serif;
}
.post-content h1, .post-content h2, .post-content h3, .post-content h4, .post-content h5, .post-content h6,
.product-post-content h1,
.product-post-content h2,
.product-post-content h3,
.product-post-content h4,
.product-post-content h5,
.product-post-content h6,
.taxonomy-advanced-description h1,
.taxonomy-advanced-description h2,
.taxonomy-advanced-description h3,
.taxonomy-advanced-description h4,
.taxonomy-advanced-description h5,
.taxonomy-advanced-description h6,
.taxonomy-description h1,
.taxonomy-description h2,
.taxonomy-description h3,
.taxonomy-description h4,
.taxonomy-description h5,
.taxonomy-description h6 {
  font-family: "peyda", "AzarMehr", ui-sans-serif, system-ui, sans-serif;
}
.post-content p, .post-content li, .post-content td, .post-content th, .post-content a, .post-content strong, .post-content b, .post-content em, .post-content blockquote,
.product-post-content p,
.product-post-content li,
.product-post-content td,
.product-post-content th,
.product-post-content a,
.product-post-content strong,
.product-post-content b,
.product-post-content em,
.product-post-content blockquote,
.taxonomy-advanced-description p,
.taxonomy-advanced-description li,
.taxonomy-advanced-description td,
.taxonomy-advanced-description th,
.taxonomy-advanced-description a,
.taxonomy-advanced-description strong,
.taxonomy-advanced-description b,
.taxonomy-advanced-description em,
.taxonomy-advanced-description blockquote,
.taxonomy-description p,
.taxonomy-description li,
.taxonomy-description td,
.taxonomy-description th,
.taxonomy-description a,
.taxonomy-description strong,
.taxonomy-description b,
.taxonomy-description em,
.taxonomy-description blockquote {
  font-family: "AzarMehr", ui-sans-serif, system-ui, sans-serif;
}
.post-content [style*=font-size],
.post-content [style*=line-height],
.post-content [style*=font-family],
.product-post-content [style*=font-size],
.product-post-content [style*=line-height],
.product-post-content [style*=font-family],
.taxonomy-advanced-description [style*=font-size],
.taxonomy-advanced-description [style*=line-height],
.taxonomy-advanced-description [style*=font-family],
.taxonomy-description [style*=font-size],
.taxonomy-description [style*=line-height],
.taxonomy-description [style*=font-family] {
  font-size: inherit !important;
  line-height: inherit !important;
  font-family: inherit !important;
}
.post-content p a,
.post-content li a,
.post-content h2 a,
.post-content h3 a,
.post-content h4 a,
.post-content h5 a,
.post-content h6 > a,
.product-post-content p a,
.product-post-content li a,
.product-post-content h2 a,
.product-post-content h3 a,
.product-post-content h4 a,
.product-post-content h5 a,
.product-post-content h6 > a,
.taxonomy-advanced-description p a,
.taxonomy-advanced-description li a,
.taxonomy-advanced-description h2 a,
.taxonomy-advanced-description h3 a,
.taxonomy-advanced-description h4 a,
.taxonomy-advanced-description h5 a,
.taxonomy-advanced-description h6 > a,
.taxonomy-description p a,
.taxonomy-description li a,
.taxonomy-description h2 a,
.taxonomy-description h3 a,
.taxonomy-description h4 a,
.taxonomy-description h5 a,
.taxonomy-description h6 > a {
  color: #0F766E;
  text-decoration: none;
  display: inline;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 100% 100%;
  background-repeat: no-repeat;
  background-size: 0% 1.5px;
  padding-bottom: 1px;
  transition: color 0.35s ease, background-size 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6,
.product-post-content h1,
.product-post-content h2,
.product-post-content h3,
.product-post-content h4,
.product-post-content h5,
.product-post-content h6,
.taxonomy-advanced-description h1,
.taxonomy-advanced-description h2,
.taxonomy-advanced-description h3,
.taxonomy-advanced-description h4,
.taxonomy-advanced-description h5,
.taxonomy-advanced-description h6,
.taxonomy-description h1,
.taxonomy-description h2,
.taxonomy-description h3,
.taxonomy-description h4,
.taxonomy-description h5,
.taxonomy-description h6 {
  color: #29263D;
}
.post-content p a:hover,
.post-content li a:hover,
.post-content h2 a:hover,
.post-content h3 a:hover,
.post-content h4 a:hover,
.post-content h5 a:hover,
.post-content h6 > a:hover,
.product-post-content p a:hover,
.product-post-content li a:hover,
.product-post-content h2 a:hover,
.product-post-content h3 a:hover,
.product-post-content h4 a:hover,
.product-post-content h5 a:hover,
.product-post-content h6 > a:hover,
.taxonomy-advanced-description p a:hover,
.taxonomy-advanced-description li a:hover,
.taxonomy-advanced-description h2 a:hover,
.taxonomy-advanced-description h3 a:hover,
.taxonomy-advanced-description h4 a:hover,
.taxonomy-advanced-description h5 a:hover,
.taxonomy-advanced-description h6 > a:hover,
.taxonomy-description p a:hover,
.taxonomy-description li a:hover,
.taxonomy-description h2 a:hover,
.taxonomy-description h3 a:hover,
.taxonomy-description h4 a:hover,
.taxonomy-description h5 a:hover,
.taxonomy-description h6 > a:hover {
  color: #0F766E;
  background-size: 100% 1.5px;
}
.post-content p a:focus-visible,
.post-content li a:focus-visible,
.post-content h2 a:focus-visible,
.post-content h3 a:focus-visible,
.post-content h4 a:focus-visible,
.post-content h5 a:focus-visible,
.post-content h6 > a:focus-visible,
.product-post-content p a:focus-visible,
.product-post-content li a:focus-visible,
.product-post-content h2 a:focus-visible,
.product-post-content h3 a:focus-visible,
.product-post-content h4 a:focus-visible,
.product-post-content h5 a:focus-visible,
.product-post-content h6 > a:focus-visible,
.taxonomy-advanced-description p a:focus-visible,
.taxonomy-advanced-description li a:focus-visible,
.taxonomy-advanced-description h2 a:focus-visible,
.taxonomy-advanced-description h3 a:focus-visible,
.taxonomy-advanced-description h4 a:focus-visible,
.taxonomy-advanced-description h5 a:focus-visible,
.taxonomy-advanced-description h6 > a:focus-visible,
.taxonomy-description p a:focus-visible,
.taxonomy-description li a:focus-visible,
.taxonomy-description h2 a:focus-visible,
.taxonomy-description h3 a:focus-visible,
.taxonomy-description h4 a:focus-visible,
.taxonomy-description h5 a:focus-visible,
.taxonomy-description h6 > a:focus-visible {
  color: #0F766E;
  background-size: 100% 1.5px;
  outline: none;
}
@media (prefers-reduced-motion: reduce) {
  .post-content p a, .post-content li a, .post-content h2 a, .post-content h3 a, .post-content h4 a, .post-content h5 a, .post-content h6 > a,
  .product-post-content p a,
  .product-post-content li a,
  .product-post-content h2 a,
  .product-post-content h3 a,
  .product-post-content h4 a,
  .product-post-content h5 a,
  .product-post-content h6 > a,
  .taxonomy-advanced-description p a,
  .taxonomy-advanced-description li a,
  .taxonomy-advanced-description h2 a,
  .taxonomy-advanced-description h3 a,
  .taxonomy-advanced-description h4 a,
  .taxonomy-advanced-description h5 a,
  .taxonomy-advanced-description h6 > a,
  .taxonomy-description p a,
  .taxonomy-description li a,
  .taxonomy-description h2 a,
  .taxonomy-description h3 a,
  .taxonomy-description h4 a,
  .taxonomy-description h5 a,
  .taxonomy-description h6 > a {
    transition: color 0.2s ease, background-size 0.2s ease;
  }
}
.post-content .social-container.show-social,
.product-post-content .social-container.show-social,
.taxonomy-advanced-description .social-container.show-social,
.taxonomy-description .social-container.show-social {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  right: calc(100% + 10px);
  min-width: 200px;
  z-index: 1;
}
.post-content .blog-img-container,
.product-post-content .blog-img-container,
.taxonomy-advanced-description .blog-img-container,
.taxonomy-description .blog-img-container {
  border-radius: 8px;
}
.post-content .blog-img-container img,
.product-post-content .blog-img-container img,
.taxonomy-advanced-description .blog-img-container img,
.taxonomy-description .blog-img-container img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  margin: auto;
  display: block;
  border-radius: 8px;
}
.post-content img,
.product-post-content img,
.taxonomy-advanced-description img,
.taxonomy-description img {
  margin: 20px auto 20px auto;
  border-radius: 8px;
}
.post-content,
.product-post-content,
.taxonomy-advanced-description,
.taxonomy-description {
  border-radius: 10px;
}
.post-content p:empty,
.product-post-content p:empty,
.taxonomy-advanced-description p:empty,
.taxonomy-description p:empty {
  display: none;
}
.post-content h1,
.product-post-content h1,
.taxonomy-advanced-description h1,
.taxonomy-description h1 {
  text-align: right;
  font-size: clamp(1.5rem, 2vw + 1rem, 2.125rem);
  /* Mobile: 24px, Tablet: 34px, Desktop: 34px */
  font-weight: 700;
  /* Bold */
  margin: 0 0 1.5rem 0;
}
.post-content h2,
.product-post-content h2,
.taxonomy-advanced-description h2,
.taxonomy-description h2 {
  text-align: right;
  font-size: clamp(1.25rem, 0.9rem + 1.6vw, 2rem);
  /* Mobile: 20px → Desktop: 32px (fluid) */
  font-weight: 700;
  /* Bold */
}
.post-content h2:not(:first-of-type),
.product-post-content h2:not(:first-of-type),
.taxonomy-advanced-description h2:not(:first-of-type),
.taxonomy-description h2:not(:first-of-type) {
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}
.post-content h2:first-of-type,
.product-post-content h2:first-of-type,
.taxonomy-advanced-description h2:first-of-type,
.taxonomy-description h2:first-of-type {
  margin: 1rem 0 1.5rem 0;
}
.post-content h3,
.product-post-content h3,
.taxonomy-advanced-description h3,
.taxonomy-description h3 {
  text-align: right;
  font-size: clamp(1.1875rem, 0.95rem + 1.1vw, 1.625rem);
  /* Mobile: 19px → Desktop: 26px (fluid) */
  font-weight: 700;
  /* Bold */
  margin: 2rem 0 1.5rem 0;
}
.post-content h4,
.product-post-content h4,
.taxonomy-advanced-description h4,
.taxonomy-description h4 {
  text-align: right;
  font-size: clamp(1.125rem, 0.95rem + 0.8vw, 1.375rem);
  /* Mobile: 18px → Desktop: 22px (fluid) */
  font-weight: 700;
  /* Bold */
  margin: 1.75rem 0 1.5rem 0;
}
.post-content h5,
.product-post-content h5,
.taxonomy-advanced-description h5,
.taxonomy-description h5 {
  text-align: right;
  font-size: clamp(1.0625rem, 0.95rem + 0.5vw, 1.25rem);
  /* Mobile: 17px → Desktop: 20px (fluid) */
  font-weight: 700;
  /* Bold */
  margin: 1.5rem 0 1.5rem 0;
}
.post-content h6,
.product-post-content h6,
.taxonomy-advanced-description h6,
.taxonomy-description h6 {
  text-align: right;
  font-size: clamp(1rem, 0.92rem + 0.35vw, 1.125rem);
  /* Mobile: 16px → Desktop: 18px (fluid) */
  font-weight: 700;
  /* Bold */
  margin: 1.5rem 0 1.5rem 0;
}
.post-content p,
.product-post-content p,
.taxonomy-advanced-description p,
.taxonomy-description p {
  font-style: normal;
  font-weight: 500;
  line-height: 34px;
  text-align: justify;
  margin-bottom: 1rem;
}
.post-content img,
.product-post-content img,
.taxonomy-advanced-description img,
.taxonomy-description img {
  margin: 20px auto;
}
.post-content li,
.product-post-content li,
.taxonomy-advanced-description li,
.taxonomy-description li {
  position: relative;
  margin: 5px 0;
  color: rgb(var(--color-darkest));
  font-size: clamp(14px, 1vw, 18px);
  font-style: normal;
  font-weight: 400;
  line-height: 37px;
  text-align: justify;
}
.post-content ol,
.product-post-content ol,
.taxonomy-advanced-description ol,
.taxonomy-description ol {
  position: relative;
  list-style-type: -moz-ethiopic-numeric;
  padding-right: 1.25rem;
}
.post-content ul,
.product-post-content ul,
.taxonomy-advanced-description ul,
.taxonomy-description ul {
  position: relative;
  list-style-type: unset;
  padding-right: 2.5rem;
  margin: 1rem 0;
}
.post-content .wp-block-column,
.product-post-content .wp-block-column,
.taxonomy-advanced-description .wp-block-column,
.taxonomy-description .wp-block-column {
  padding: 10px;
}
.post-content .blog-img-container,
.product-post-content .blog-img-container,
.taxonomy-advanced-description .blog-img-container,
.taxonomy-description .blog-img-container {
  border-radius: 10px;
}
.post-content .squares-left,
.post-content .squares-right,
.post-content .squares-bottom,
.product-post-content .squares-left,
.product-post-content .squares-right,
.product-post-content .squares-bottom,
.taxonomy-advanced-description .squares-left,
.taxonomy-advanced-description .squares-right,
.taxonomy-advanced-description .squares-bottom,
.taxonomy-description .squares-left,
.taxonomy-description .squares-right,
.taxonomy-description .squares-bottom {
  width: 100vw;
}
@media (max-width: 640px) {
  .post-content h1,
  .product-post-content h1,
  .taxonomy-advanced-description h1,
  .taxonomy-description h1 {
    margin-bottom: 1rem;
  }
  .post-content h2:not(:first-of-type),
  .product-post-content h2:not(:first-of-type),
  .taxonomy-advanced-description h2:not(:first-of-type),
  .taxonomy-description h2:not(:first-of-type) {
    margin-top: 1.75rem;
    margin-bottom: 1rem;
  }
  .post-content h2:first-of-type,
  .product-post-content h2:first-of-type,
  .taxonomy-advanced-description h2:first-of-type,
  .taxonomy-description h2:first-of-type {
    margin: 0.75rem 0 1rem 0;
  }
  .post-content h3,
  .product-post-content h3,
  .taxonomy-advanced-description h3,
  .taxonomy-description h3 {
    margin: 1.5rem 0 1rem 0;
  }
  .post-content h4,
  .product-post-content h4,
  .taxonomy-advanced-description h4,
  .taxonomy-description h4 {
    margin: 1.25rem 0 0.875rem 0;
  }
  .post-content h5,
  .post-content h6,
  .product-post-content h5,
  .product-post-content h6,
  .taxonomy-advanced-description h5,
  .taxonomy-advanced-description h6,
  .taxonomy-description h5,
  .taxonomy-description h6 {
    margin: 1rem 0 0.75rem 0;
  }
  .post-content p,
  .product-post-content p,
  .taxonomy-advanced-description p,
  .taxonomy-description p {
    line-height: 2;
    margin-bottom: 0.875rem;
    text-align: justify;
  }
  .post-content li,
  .product-post-content li,
  .taxonomy-advanced-description li,
  .taxonomy-description li {
    line-height: 2;
    text-align: right;
  }
  .post-content ul,
  .product-post-content ul,
  .taxonomy-advanced-description ul,
  .taxonomy-description ul {
    padding-right: 1.5rem;
  }
  .post-content ol,
  .product-post-content ol,
  .taxonomy-advanced-description ol,
  .taxonomy-description ol {
    padding-right: 1rem;
  }
}

.swiper:not(.swiper-initialized) {
  visibility: hidden;
  opacity: 0;
}

.swiper.swiper-initialized {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.25s ease;
}

.swiper-prev,
.swiper-next {
  cursor: pointer;
}

.swiper-button-disabled {
  opacity: 0.3;
  cursor: default;
}

.swiper-button-lock {
  display: none;
}

.swiper-custom-pagination .swiper-pagination-bullet {
  transition: all 0.5s;
}

.swiper-custom-pagination .swiper-pagination-bullet-active {
  border-radius: 5rem;
  width: 2rem;
  background: #000;
}

.search-results-box .search-item > a,
.mobile-search-results-box .search-item > a {
  background-color: #f3f8fd;
  padding: 1rem;
  border-radius: 10px;
  display: flex;
  gap: 1rem;
  font-size: 14px;
}
.search-results-box .search-item > a img,
.mobile-search-results-box .search-item > a img {
  width: 50px;
  height: 50px;
}

.qty[type=number]::-webkit-inner-spin-button,
.qty[type=number]::-webkit-outer-spin-button,
.single-qty[type=number]::-webkit-inner-spin-button,
.single-qty[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.dot-loader {
  width: 6px;
  height: 6px;
  aspect-ratio: 1;
  border-radius: 50%;
  animation: l5 1s infinite linear alternate;
}

@keyframes l5 {
  0% {
    box-shadow: 9px 0 #9BD6CD, -9px 0 #0F766E;
    background: #9BD6CD;
  }
  33% {
    box-shadow: 9px 0 #9BD6CD, -9px 0 #0F766E;
    background: #0F766E;
  }
  66% {
    box-shadow: 9px 0 #0F766E, -9px 0 #9BD6CD;
    background: #0F766E;
  }
  100% {
    box-shadow: 9px 0 #0F766E, -9px 0 #9BD6CD;
    background: #9BD6CD;
  }
}
.spinner {
  width: 48px;
  height: 48px;
  border: 5px solid #0F766E;
  border-bottom-color: transparent;
  border-radius: 50%;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.pulse-loader {
  width: 40px;
  aspect-ratio: 4;
  --_g: no-repeat radial-gradient(circle closest-side, #ffffff 90%, #0000);
  background: var(--_g) 0% 50%, var(--_g) 50% 50%, var(--_g) 100% 50%;
  background-size: 33.3333333333% 100%;
  animation: l7 1s infinite linear;
}
.pulse-loader.blue {
  --_g: no-repeat radial-gradient(circle closest-side, #0F766E 90%, #0000);
}

@keyframes l7 {
  33% {
    background-size: 33.3333333333% 0%, 33.3333333333% 100%, 33.3333333333% 100%;
  }
  50% {
    background-size: 33.3333333333% 100%, 33.3333333333% 0%, 33.3333333333% 100%;
  }
  66% {
    background-size: 33.3333333333% 100%, 33.3333333333% 100%, 33.3333333333% 0%;
  }
}
.woocommerce-NoticeGroup {
  display: none;
}

.woocommerce-pagination {
  display: flex;
  justify-content: center;
}
.woocommerce-pagination .page-numbers {
  background-color: transparent;
}
.woocommerce-pagination ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  width: -moz-fit-content;
  width: fit-content;
  margin: 0 auto;
  margin: 2rem 0;
}
.woocommerce-pagination ul li span.current {
  background-color: #0F766E;
  color: #fff;
  border-color: #0F766E;
}
.woocommerce-pagination ul li a:hover {
  background-color: #0F766E;
  color: #fff;
  border-color: #0F766E;
}
.woocommerce-pagination ul li,
.woocommerce-pagination ul li a {
  width: 3rem;
  height: 3rem;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #575757;
  transition: all 0.1s;
  border: 1px solid #EBEAEA;
}

#pagination {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}
#pagination > ul.page-numbers {
  width: auto;
  height: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
  background: transparent;
  border: none;
  border-radius: 0;
}
#pagination > ul.page-numbers li {
  list-style: none;
}

.woocommerce-breadcrumb {
  font-size: 14px;
  color: #999999;
  font-weight: 500;
}
@media (max-width: 1024px) {
  .woocommerce-breadcrumb {
    font-size: 10px;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(to left, #000 calc(100% - 20px), transparent 100%);
    mask-image: linear-gradient(to left, #000 calc(100% - 20px), transparent 100%);
  }
  .woocommerce-breadcrumb::-webkit-scrollbar {
    display: none;
  }
  .woocommerce-breadcrumb a,
  .woocommerce-breadcrumb span {
    flex: 0 0 auto;
  }
}

@media (max-width: 1024px) {
  #crumbs {
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    scrollbar-width: thin;
    scrollbar-color: #cbcbcb transparent;
  }
  #crumbs::-webkit-scrollbar {
    height: 4px;
  }
  #crumbs::-webkit-scrollbar-track {
    background: transparent;
  }
  #crumbs::-webkit-scrollbar-thumb {
    background: #cbcbcb;
    border-radius: 9999px;
  }
  #crumbs::-webkit-scrollbar-thumb:hover {
    background: #b0b0b0;
  }
  #crumbs > a,
  #crumbs > .current {
    flex: 0 0 auto;
  }
}
.toast-container {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9999;
}

.toast {
  min-width: 250px;
  margin-bottom: 10px;
  padding: 15px;
  border-radius: 4px;
  color: white;
  font-size: 14px;
  opacity: 0;
  transform: translateX(-100%);
  transition: all 0.3s ease-in-out;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.toast.show {
  opacity: 1;
  transform: translateX(0);
}

.toast-success {
  background-color: #28a745;
}

.toast-error {
  background-color: #dc3545;
}

.toast-warning {
  background-color: #ffc107;
  color: #333;
}

.toast-close {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: 0 5px;
  font-size: 18px;
  opacity: 0.7;
}

.toast-close:hover {
  opacity: 1;
}

div.fp-watermark {
  display: none;
}

.page-numbers {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.2s;
  color: #333333;
  background: #fff;
}
.page-numbers:hover {
  background-color: #e9e9e9;
}
.page-numbers.current {
  background-color: #0F766E;
  color: #ffffff;
}
@media (max-width: 1248px) {
  .page-numbers {
    width: 2rem;
    height: 2rem;
    font-size: 0.75rem;
  }
}
@media (max-width: 1024px) {
  .masked-img {
    -webkit-mask-image: linear-gradient(to left, transparent 10%, black 40%);
            mask-image: linear-gradient(to left, transparent 10%, black 40%);
  }
}

/* Custom radial gradient border */
.brands-slider .swiper-wrapper {
  transition-timing-function: linear !important;
  position: relative;
}

/* Custom radial gradient border */
.radial-border-top {
  position: relative;
  border-top: none;
}

.radial-border-top::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  background: linear-gradient(90deg, rgba(253, 233, 186, 0.0509803922) 55.98%, rgba(253, 183, 19, 0.2196078431) 100%);
}

.radial-border-bottom {
  position: relative;
  border-bottom: none;
}

.radial-border-bottom::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, rgba(253, 233, 186, 0.0509803922) 55.98%, rgba(253, 183, 19, 0.2196078431) 100%);
}

.border-box {
  position: relative;
  border-top: none;
}

.border-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, rgba(52, 49, 49, 0) 0%, #343131 50%, rgba(52, 49, 49, 0) 100%);
}

@media (max-width: 500px) {
  .radial-border-top::before {
    height: 1px;
  }
  .radial-border-bottom::before {
    height: 1px;
  }
  .border-box::before {
    height: 1px;
  }
}
.product-card:hover {
  box-shadow: 0px 20px 20px -20px rgba(0, 0, 0, 0.1490196078);
}

.boxshadowblog:hover {
  box-shadow: 0px 20px 20px -20px rgba(0, 0, 0, 0.1490196078);
}

.swiper-pagination .swiper-pagination-bullet {
  transition: all 0.5s;
  background-color: #BABABA !important;
  width: 10px;
  height: 10px;
}

.swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
  border-radius: 10px;
  width: 32px !important;
  background: #4E4E4E !important;
}

/* پیشگیری از شکسته شدن layout در موبایل */
@media (max-width: 768px) {
  /* انیمیشن‌های ملایم که layout رو نمی‌شکنن */
  [data-aos=fade-up] {
    transform: translate3d(0, 15px, 0) !important;
  }
  [data-aos=fade-down] {
    transform: translate3d(0, -15px, 0) !important;
  }
  [data-aos=fade-left] {
    transform: translate3d(15px, 0, 0) !important;
  }
  [data-aos=fade-right] {
    transform: translate3d(-15px, 0, 0) !important;
  }
  /* مهم: جلوگیری از overflow */
  [data-aos] {
    overflow: hidden !important;
  }
  /* کاهش مدت انیمیشن در موبایل */
  [data-aos][data-aos] {
    transition-duration: 0.3s !important;
  }
}
/* جلوگیری از بهم ریختن کل صفحه */
body {
  overflow-x: hidden;
  margin: 0;
}

/* اطمینان از عدم تداخل انیمیشن‌ها */
[data-aos] {
  pointer-events: none;
}

[data-aos].aos-animate {
  pointer-events: auto;
}

/* برای prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  [data-aos] {
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
  }
}
.p-cont-cta,
.p-cont-cta-e {
  line-height: 50px;
}

.p-cont-cta-e {
  font-size: 40px;
}

.p-cont-cta {
  font-size: 30px;
}

@media (max-width: 786px) {
  .p-cont-cta,
  .p-cont-cta-e {
    font-size: 17px;
    line-height: 30px;
  }
}
/* Table styling without additional classes */
table {
  width: 100%;
  min-width: 300px;
  border-collapse: separate;
  border-spacing: 0;
  background-color: transparent;
  direction: inherit;
  margin: 1.5rem 0;
}
table th,
table td {
  min-width: 120px;
}
table th:first-child,
table td:first-child {
  min-width: 160px;
}
table.normal-header {
  min-width: 300px;
}
table.normal-header thead tr {
  background-color: transparent;
}
table.normal-header thead tr th {
  background: #0F766E;
  color: #fff;
  font-weight: 700;
  padding: 10px 15px;
  text-align: center;
  font-size: 17px;
  border: 1px solid #0F766E !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}
table.normal-header thead tr th:first-child {
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  border-right: none;
}
table.normal-header thead tr th:last-child {
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  border-left: none;
}
table.normal-header tbody::before {
  content: "";
  display: block;
  height: 15px;
}
table.normal-header tbody tr {
  background-color: #fff;
}
table.normal-header tbody tr:first-child td:first-child {
  border-top-right-radius: 10px;
}
table.normal-header tbody tr:first-child td:last-child {
  border-top-left-radius: 10px;
}
table.normal-header tbody tr:last-child td:first-child {
  border-bottom-right-radius: 10px;
}
table.normal-header tbody tr:last-child td:last-child {
  border-bottom-left-radius: 10px;
}
table.first-col-header {
  min-width: 300px;
  width: auto !important;
  table-layout: auto !important;
}
table.first-col-header tbody tr {
  background-color: #fff;
}
table.first-col-header tbody tr th {
  background: #0F766E;
  color: #fff;
  font-weight: 700;
  padding: 10px 15px;
  text-align: center;
  font-size: 17px;
  border: 1px solid #0F766E !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
  border-right: none;
  white-space: nowrap;
  min-width: 160px;
}
table.first-col-header tbody tr:first-child th {
  border-top-right-radius: 10px;
}
table.first-col-header tbody tr:first-child td:last-child {
  border-top-left-radius: 10px;
}
table.first-col-header tbody tr:last-child th {
  border-bottom-right-radius: 10px;
}
table.first-col-header tbody tr:last-child td:last-child {
  border-bottom-left-radius: 10px;
}
table.both-headers {
  min-width: 300px;
  table-layout: auto !important;
}
table.both-headers thead tr {
  background-color: transparent;
}
table.both-headers thead tr th {
  background: #0F766E;
  color: #fff;
  font-weight: 700;
  padding: 10px 15px;
  text-align: center;
  font-size: 17px;
  border: 1px solid #0F766E !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}
table.both-headers thead tr th:first-child {
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  border-right: none;
  min-width: 160px;
}
table.both-headers thead tr th:last-child {
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  border-left: none;
}
table.both-headers tbody::before {
  content: "";
  display: block;
  height: 15px;
}
table.both-headers tbody tr {
  background-color: #fff;
}
table.both-headers tbody tr th {
  background: #0F766E;
  color: #fff;
  font-weight: 700;
  padding: 10px 15px;
  text-align: center;
  font-size: 17px;
  border: 1px solid #0F766E !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
  border-right: none;
  white-space: nowrap;
  min-width: 160px;
}
table.both-headers tbody tr:first-child th {
  border-top-right-radius: 10px;
}
table.both-headers tbody tr:first-child td:last-child {
  border-top-left-radius: 10px;
}
table.both-headers tbody tr:last-child th {
  border-bottom-right-radius: 10px;
}
table.both-headers tbody tr:last-child td:last-child {
  border-bottom-left-radius: 10px;
}
table:not(.normal-header):not(.first-col-header):not(.both-headers) {
  min-width: 300px;
}
table:not(.normal-header):not(.first-col-header):not(.both-headers) thead tr {
  background-color: transparent;
}
table:not(.normal-header):not(.first-col-header):not(.both-headers) thead tr th {
  background: #0F766E;
  color: #fff;
  font-weight: 700;
  padding: 10px 15px;
  text-align: center;
  font-size: 17px;
  border: 1px solid #0F766E !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}
table:not(.normal-header):not(.first-col-header):not(.both-headers) thead tr th:first-child {
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  border-right: none;
}
table:not(.normal-header):not(.first-col-header):not(.both-headers) thead tr th:last-child {
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  border-left: none;
}
table:not(.normal-header):not(.first-col-header):not(.both-headers) tbody::before {
  content: "";
  display: block;
  height: 15px;
}
table:not(.normal-header):not(.first-col-header):not(.both-headers) tbody tr {
  background-color: #fff;
}
table:not(.normal-header):not(.first-col-header):not(.both-headers) tbody tr th {
  background: #0F766E;
  color: #fff;
  font-weight: 700;
  padding: 10px 15px;
  text-align: center;
  font-size: 17px;
  border: 1px solid #0F766E !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
  border-right: none;
  white-space: nowrap;
}
table:not(.normal-header):not(.first-col-header):not(.both-headers) tbody tr:first-child th:first-child {
  border-top-right-radius: 10px;
}
table:not(.normal-header):not(.first-col-header):not(.both-headers) tbody tr:first-child td:first-child {
  border-top-right-radius: 10px;
}
table:not(.normal-header):not(.first-col-header):not(.both-headers) tbody tr:first-child td:last-child {
  border-top-left-radius: 10px;
}
table:not(.normal-header):not(.first-col-header):not(.both-headers) tbody tr:last-child th:first-child {
  border-bottom-right-radius: 10px;
}
table:not(.normal-header):not(.first-col-header):not(.both-headers) tbody tr:last-child td:first-child {
  border-bottom-right-radius: 10px;
}
table:not(.normal-header):not(.first-col-header):not(.both-headers) tbody tr:last-child td:last-child {
  border-bottom-left-radius: 10px;
}
table td {
  padding: 10px 15px;
  text-align: center;
  border: 1px solid rgba(15,118,110, 0.22) !important;
  font-size: 16px;
  color: #334155;
  line-height: 24px;
  background-color: #fff;
}
table td:first-child {
  border-right: none;
}
table td:last-child {
  border-left: none;
}
table td:nth-child(3) {
  color: #475569;
}
table:not(.normal-header):not(.first-col-header):not(.both-headers):not(.price-table):not(:has(thead)):not(:has(th)) tbody tr:first-child td {
  background: #0F766E;
  color: #fff !important;
  font-weight: 700;
  font-size: 17px;
  text-align: center;
  border: 1px solid #0F766E !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
table:not(.normal-header):not(.first-col-header):not(.both-headers):not(.price-table):not(:has(thead)):not(:has(th)) tbody tr:first-child td strong {
  color: inherit;
  font-weight: inherit;
}
table:not(.normal-header):not(.first-col-header):not(.both-headers):not(.price-table):not(:has(thead)):not(:has(th)) tbody tr:first-child td:first-child {
  border-right: none;
  border-top-right-radius: 10px;
}
table:not(.normal-header):not(.first-col-header):not(.both-headers):not(.price-table):not(:has(thead)):not(:has(th)) tbody tr:first-child td:last-child {
  border-left: none;
  border-top-left-radius: 10px;
}
table {
  /* Responsive styles */
}
@media screen and (max-width: 768px) {
  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    max-width: -moz-fit-content;
    max-width: fit-content;
    margin: 0 auto;
    max-height: 500px;
    overflow-y: auto;
    min-width: auto;
  }
  table th,
  table td {
    min-width: 54px;
  }
  table th:first-child,
  table td:first-child {
    min-width: 76px;
  }
  table::-webkit-scrollbar {
    width: 8px;
    height: 4px !important;
  }
  table::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
  }
  table::-webkit-scrollbar-thumb {
    background: #9BD6CD;
    border-radius: 4px;
    min-height: 20px;
  }
  table::-webkit-scrollbar-thumb:hover {
    background: #62BCB0;
  }
  table {
    scrollbar-width: thin;
    scrollbar-color: #9BD6CD #f1f1f1;
  }
  table.first-col-header tbody tr th, table.both-headers tbody tr th {
    padding: 6px 8px;
    min-width: 92px;
    font-size: 12px;
  }
  table tbody tr th {
    padding: 6px 8px;
    font-size: 12px;
  }
  table td {
    padding: 6px 8px;
    text-align: center;
    border: 1px solid rgba(15,118,110, 0.22) !important;
    font-size: 12px;
    color: #334155;
    line-height: 18px;
  }
  table thead th {
    padding: 6px 8px;
    font-size: 12px;
  }
}

.wp-block-table thead {
  border-bottom: 0px !important;
}
.wp-block-table table {
  border-collapse: separate !important;
  border-spacing: 0 !important;
}

.menu-item-divider {
  position: relative;
  height: 1px;
  background-color: #E5E7EB;
  width: 100%;
  overflow: hidden;
}
.menu-item-divider::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(to left, #EAB308, rgb(248.6694214876, 205.1466942149, 69.8305785124));
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-menu-item:hover .menu-item-divider::after {
  width: 100%;
}

.mobile-menu-divider {
  position: relative;
  height: 1px;
  background-color: #F3F4F6;
  margin: 0 1rem;
  overflow: hidden;
}
.mobile-menu-divider::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(to left, #EAB308, rgb(249.5123966942, 211.7851239669, 94.4876033058));
  transition: width 0.3s ease;
}

.mobile-category-item:hover .mobile-menu-divider::after {
  width: 100%;
}

.category-sidebar-content {
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.submenu-card {
  position: relative;
}
.submenu-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, transparent 0%, rgba(255,204,0, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.submenu-card:hover::before {
  opacity: 1;
}

.category-menu-item:hover .menu-icon {
  filter: drop-shadow(0 0 4px rgba(255,204,0, 0.4));
}

.mobile-submenu {
  animation: expandDown 0.3s ease-out;
}

@keyframes expandDown {
  from {
    opacity: 0;
    max-height: 0;
  }
  to {
    opacity: 1;
    max-height: 500px;
  }
}
#categories-sidebar .submenu-card::before {
  pointer-events: none;
  z-index: -1;
}
#categories-sidebar a {
  position: relative;
  z-index: 10;
}

.categories-mobile-nav {
  padding: 0.5rem 0;
}

.mobile-menu-divider {
  position: relative;
  height: 1px;
  background-color: #F3F4F6;
  margin: 0.25rem 1rem;
  overflow: hidden;
}
.mobile-menu-divider::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(to left, #EAB308, rgb(249.5123966942, 211.7851239669, 94.4876033058));
  transition: width 0.3s ease;
}

.mobile-category-item:hover .mobile-menu-divider::after,
.mobile-category-item:focus-within .mobile-menu-divider::after {
  width: 100%;
}

.mobile-submenu {
  overflow: hidden;
}
.mobile-submenu:not(.hidden) {
  animation: mobileSlideDown 0.35s ease-out forwards;
}

@keyframes mobileSlideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.mobile-category-toggle.active .mobile-chevron, .mobile-category-toggle[aria-expanded=true] .mobile-chevron {
  transform: rotate(180deg);
}

.mobile-category-item {
  position: relative;
}
.mobile-category-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255,204,0, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  border-radius: 0.75rem;
}
.mobile-category-item:active::after {
  opacity: 1;
}

.mobile-submenu-item a {
  position: relative;
}
.mobile-submenu-item a::before {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: #EAB308;
  border-radius: 3px;
  transition: height 0.2s ease;
}
.mobile-submenu-item a:hover::before {
  height: 60%;
}

@media (max-width: 1023px) {
  .mobile-category-toggle,
  .mobile-submenu a {
    min-height: 48px;
    display: flex;
    align-items: center;
  }
  .mobile-submenu-item a {
    padding: 0.75rem;
  }
}
.mobile-expandable-item:has(.mobile-submenu:not(.hidden)) .mobile-category-toggle {
  background-color: rgba(255,204,0, 0.05);
  border-radius: 0.75rem;
}

/* *************** AzarMehr *************** */
@font-face {
  font-family: "AzarMehr";
  src: url("../fonts/AzarMehr/AzarMehr-FD[DSTY,KSHD,wght].woff2");
  font-display: swap;
}
/* *************** Pinar *************** */
@font-face {
  font-family: Pinar;
  src: url("../fonts/Pinar/Pinar-VF-FD[DSTY,KSHD,wght].woff2");
  font-display: swap;
}
/* *************** YekanBakh-VF *************** */
@font-face {
  font-family: "YekanBakh";
  src: url("../fonts/YekanBakh/YekanBakh-VF[DSTY,KSHD,wght].woff2");
  font-display: swap;
}
/* Assigning Fonts */
:root {
  font-family: "AzarMehr", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
}

.shadowbox-cta {
  box-shadow: 0 -43px 67px -25px rgba(253, 183, 19, 0.17);
}
@media (max-width: 768px) {
  .shadowbox-cta {
    box-shadow: 0 -20px 40px -18px rgba(253, 183, 19, 0.35);
  }
}
@media (max-width: 480px) {
  .shadowbox-cta {
    box-shadow: 0 -15px 30px -15px rgba(253, 183, 19, 0.4);
  }
}

.blog-card-image {
  position: relative;
  isolation: isolate;
}
.blog-card-image > img {
  position: relative;
  z-index: 1;
}
/* hover color overlay (indigo→orange masked gradient) removed —
   image hover is now a white light-shine sweep handled inline in archives/post/card.php */
.box-advantages {
  position: relative;
}

.box-advantages:not(:last-child)::after {
  content: "";
  width: 2px;
  height: 53px;
  background-color: rgba(148, 148, 148, 0.2196078431);
  position: absolute;
  left: 0%;
  top: 50%;
  transform: translateY(-50%);
}

@media (max-width: 993px) {
  .box-advantages::after {
    display: none;
  }
  .box-advantages:nth-child(2n+1):not(:last-child)::after {
    display: block;
  }
}
body.yj-about-page #main-header {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
}
body.yj-about-page #container,
body.yj-about-page #content,
body.yj-about-page main#content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
body.yj-about-page .yj-about {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
body.yj-about-page .yj-about-hero {
  margin-top: 0 !important;
}
body.yj-about-page #main-header.is-scrolled {
  box-shadow: 0 6px 20px -10px rgba(0, 0, 0, 0.25);
}
body.yj-about-page #main-header.is-scrolled .yj-hdr-top {
  background-color: var(--color-slate, #434c52) !important;
  border-color: transparent;
}
body.yj-about-page #main-header.is-scrolled .yj-hdr-nav {
  background-color: var(--color-vermilion, #0F766E) !important;
  border-color: transparent;
}
body.yj-about-page .yj-bc-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(15,118,110, 0.14);
  box-shadow: 0 10px 26px -16px rgba(14,42,38, 0.45);
}
body.yj-about-page .yj-bc-chip::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: #0F766E;
  box-shadow: 0 0 0 3px rgba(255, 204, 0, 0.22);
  flex-shrink: 0;
}
body.yj-about-page .yj-bc-chip, body.yj-about-page .yj-bc-chip * {
  color: var(--color-brand-petrol, #125F84);
  font-weight: 700;
}
body.yj-about-page .yj-bc-chip a:hover {
  color: var(--color-brand-blue, #0F766E);
}

.yj-about-hero {
  position: relative;
  min-height: 60vh;
  background: radial-gradient(120% 90% at 85% -10%, rgba(0, 149, 153, 0.3) 0%, transparent 55%), radial-gradient(120% 90% at 10% 110%, rgba(255, 204, 0, 0.14) 0%, transparent 55%), linear-gradient(160deg, #0F766E 0%, #134E4A 55%, #12544F 100%);
  isolation: isolate;
  overflow: hidden;
}

.yj-paint-blob {
  position: absolute;
  border-radius: 9999px;
  filter: blur(60px);
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
  animation: yj-float 14s ease-in-out infinite;
}
.yj-paint-blob.b1 {
  top: 8%;
  right: -4%;
  width: 380px;
  height: 380px;
  background: #0F766E;
  animation-delay: 0s;
  opacity: 0.3;
}
.yj-paint-blob.b2 {
  bottom: -8%;
  left: -6%;
  width: 420px;
  height: 420px;
  background: #0F766E;
  animation-delay: -4s;
  opacity: 0.22;
}
.yj-paint-blob.b3 {
  top: 35%;
  left: 45%;
  width: 320px;
  height: 320px;
  background: #62BCB0;
  animation-delay: -8s;
  opacity: 0.22;
}

@keyframes yj-float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(20px, -30px) scale(1.08);
  }
}
@media (prefers-reduced-motion: reduce) {
  .yj-paint-blob {
    animation: none;
  }
}
.yj-hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(18,84,79, 0.16) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.08));
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.08));
  pointer-events: none;
  z-index: 1;
}

.yj-hero-curve {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  width: 100%;
  height: 100px;
  z-index: 2;
  pointer-events: none;
}
@media (min-width: 768px) {
  .yj-hero-curve {
    height: 130px;
  }
}

.yj-paint-underline {
  position: relative;
  display: inline-block;
  color: var(--color-vermilion, #0F766E);
}
.yj-paint-underline::after {
  content: "";
  position: absolute;
  right: -4px;
  left: -4px;
  bottom: -2px;
  height: 10px;
  background: var(--color-vermilion, #0F766E);
  opacity: 0.3;
  border-radius: 4px;
  transform: rotate(-1.2deg) skewX(-6deg);
  z-index: -1;
}

.yj-about-media-frame {
  position: relative;
  background: transparent;
}
.yj-about-media-frame > * {
  background: transparent;
}

.yj-info-card {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f6fbfc 100%);
  border-radius: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(15,118,110, 0.1);
  box-shadow: 0 20px 45px -30px rgba(14,42,38, 0.45);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  overflow: hidden;
}
@media (min-width: 768px) {
  .yj-info-card {
    border-radius: 22px;
    padding: 22px 24px;
  }
}
.yj-info-card::before {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 5px;
  background: linear-gradient(180deg, #0F766E, #0F766E);
}
.yj-info-card::after {
  content: "";
  position: absolute;
  top: -45px;
  inset-inline-end: -45px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle at center, rgba(0, 149, 153, 0.16), transparent 70%);
  pointer-events: none;
}
.yj-info-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 204, 0, 0.55);
  box-shadow: 0 30px 55px -26px rgba(0, 149, 153, 0.45);
}
.yj-info-card__icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #ffffff, #e9f6f6);
  border: 1px solid rgba(0, 149, 153, 0.18);
  box-shadow: 0 10px 20px -12px rgba(0, 149, 153, 0.5);
}
@media (min-width: 768px) {
  .yj-info-card__icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
  }
}
.yj-info-card__icon svg {
  width: 72%;
  height: 72%;
  display: block;
}

.yj-about-gallery {
  position: relative;
}

.yj-about-swiper-wrap {
  position: relative;
}
@media (max-width: 767px) {
  .yj-about-swiper-wrap {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    max-width: 100vw;
  }
}

.yj-about-swiper {
  padding-top: 30px;
  padding-bottom: 64px;
}

.certificate-card-swiper {
  padding-top: 24px;
  padding-bottom: 60px;
}
.certificate-card-swiper .swiper-slide-active {
  box-shadow: 0 26px 50px -18px rgba(0, 149, 153, 0.4);
}

.yj-about-swiper .swiper-slide {
  height: auto;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s ease;
  opacity: 0.5;
  transform: scale(0.9);
}
.yj-about-swiper .swiper-slide-active,
.yj-about-swiper .swiper-slide-next,
.yj-about-swiper .swiper-slide-prev {
  opacity: 0.75;
}
.yj-about-swiper .swiper-slide-active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}
.yj-about-swiper .swiper-slide-active .yj-about-gallery__card {
  box-shadow: 0 30px 55px -20px rgba(0, 149, 153, 0.5);
}
.yj-about-swiper .swiper-slide-active .yj-about-gallery__card::after {
  opacity: 1;
}

.yj-about-gallery__card {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  background: #fff;
  border: 1px solid rgba(15,118,110, 0.12);
  cursor: zoom-in;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 34px -24px rgba(14,42,38, 0.5);
  aspect-ratio: 4/3;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}
.yj-about-gallery__card img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  border-radius: inherit;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.yj-about-gallery__card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 3px rgba(255, 204, 0, 0.9);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.yj-about-gallery__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 50px -22px rgba(0, 149, 153, 0.45);
}
.yj-about-gallery__card:hover img {
  transform: scale(1.06);
}
.yj-about-gallery__card:hover::after {
  opacity: 1;
}
.yj-about-gallery__card:hover .yj-about-gallery__zoom {
  opacity: 1;
  transform: scale(1);
  background: var(--color-brand-blue, #0F766E);
  color: #fff;
}
.yj-about-gallery__card:focus-visible {
  outline: 3px solid var(--color-brand-blue, #0F766E);
  outline-offset: 3px;
}

.yj-about-gallery__zoom {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-slate, #434c52);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.35);
  transform: scale(0.85);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.2s ease, color 0.2s ease;
}

.yj-swiper-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--color-slate, #434c52);
  border: 1px solid rgba(67, 76, 82, 0.16);
  box-shadow: 0 8px 22px -12px rgba(67, 76, 82, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.yj-swiper-btn:hover {
  background: var(--color-vermilion, #0F766E);
  color: #fff;
  transform: translateY(-50%) scale(1.05);
}
.yj-swiper-btn--prev {
  right: -8px;
}
.yj-swiper-btn--next {
  left: -8px;
}
.yj-swiper-btn.swiper-button-disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

@media (max-width: 767px) {
  .yj-swiper-btn {
    display: none;
  }
}
@media (min-width: 1024px) {
  .yj-swiper-btn--prev {
    right: -22px;
  }
  .yj-swiper-btn--next {
    left: -22px;
  }
}
.yj-about-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 17, 22, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}
.yj-about-modal.is-open {
  opacity: 1;
  visibility: visible;
}
.yj-about-modal.is-open .yj-about-modal__inner {
  transform: scale(1);
}
.yj-about-modal__inner {
  position: relative;
  max-width: min(94vw, 1200px);
  max-height: 92vh;
  transform: scale(0.92);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
.yj-about-modal__img {
  display: block;
  max-width: 100%;
  max-height: 92vh;
  width: auto;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
  background: #1a1d24;
}
.yj-about-modal__close {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-slate, #434c52);
  border: 0;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  z-index: 2;
}
.yj-about-modal__close:hover {
  background: var(--color-vermilion, #0F766E);
  color: #fff;
  transform: scale(1.08) rotate(90deg);
}

@media (prefers-reduced-motion: reduce) {
  .yj-about-gallery__card,
  .yj-about-gallery__card img,
  .yj-about-gallery__zoom,
  .yj-swiper-btn,
  .yj-about-modal,
  .yj-about-modal__inner,
  .yj-about-modal__close {
    transition: none;
  }
}
/* بلوک قدیمی .yj-about-faq حذف شد — صفحه درباره از استایل یکپارچهٔ .yj-faq استفاده می‌کند */
.yj-about-faq .yj-faq-body {
  text-align: justify;
}

.yj-why-card {
  position: relative;
  padding: 28px 24px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(67, 76, 82, 0.18);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.yj-why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px -22px rgba(67, 76, 82, 0.3);
}
.yj-why-card:hover .yj-why-card__splatter {
  transform: scale(1.2) rotate(15deg);
  opacity: 0.28;
}
.yj-why-card__splatter {
  position: absolute;
  right: -20px;
  top: -20px;
  width: 140px;
  height: 140px;
  opacity: 0.16;
  pointer-events: none;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}
.yj-why-card__icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 16px;
  box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.25);
}
.yj-why-card.v-blue .yj-why-card__icon {
  background: linear-gradient(135deg, #0F766E, #62BCB0);
}
.yj-why-card.v-blue .yj-why-card__splatter {
  color: #0F766E;
}
.yj-why-card.v-blue h3 {
  color: #0F766E;
}
.yj-why-card.v-pink .yj-why-card__icon {
  background: linear-gradient(135deg, #0F766E, #2E9E92);
}
.yj-why-card.v-pink .yj-why-card__splatter {
  color: #0F766E;
}
.yj-why-card.v-pink h3 {
  color: #12544F;
}
.yj-why-card.v-mix .yj-why-card__icon {
  background: linear-gradient(135deg, #0F766E, #0F766E);
}
.yj-why-card.v-mix .yj-why-card__splatter {
  color: #9333ea;
}
.yj-why-card.v-mix h3 {
  color: #106A63;
}

body.yj-contact-page #main-header {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
}
body.yj-contact-page #container,
body.yj-contact-page #content,
body.yj-contact-page main#content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
body.yj-contact-page .yj-contact {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
body.yj-contact-page .yj-contact-hero {
  margin-top: 0 !important;
}
body.yj-contact-page #main-header.is-scrolled {
  box-shadow: 0 6px 20px -10px rgba(0, 0, 0, 0.25);
}
body.yj-contact-page #main-header.is-scrolled .yj-hdr-top {
  background-color: var(--color-slate, #434c52) !important;
  border-color: transparent;
}
body.yj-contact-page #main-header.is-scrolled .yj-hdr-nav {
  background-color: var(--color-vermilion, #0F766E) !important;
  border-color: transparent;
}

.yj-contact-hero {
  position: relative;
  min-height: 60vh;
  background: radial-gradient(at 20% 18%, rgba(98,188,176, 0.18) 0px, transparent 55%), radial-gradient(at 82% 12%, rgba(15,118,110, 0.1) 0px, transparent 55%), radial-gradient(at 78% 88%, rgba(15,118,110, 0.1) 0px, transparent 55%), radial-gradient(at 18% 92%, rgba(255,204,0, 0.1) 0px, transparent 55%), linear-gradient(180deg, #ffffff 0%, #f8fafe 100%);
  isolation: isolate;
  overflow: hidden;
}

.yj-bucket {
  position: absolute;
  width: 110px;
  z-index: 3;
  animation: yj-swatch-bob 7s ease-in-out infinite;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.25));
}
.yj-bucket svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.yj-bucket__wrap {
  text-align: center;
}
.yj-bucket__drop {
  transform-origin: 50% 0;
  animation: yj-paint-drop 3.6s ease-in infinite;
}
.yj-bucket__puddle {
  transform-origin: center;
  animation: yj-paint-puddle 3.6s ease-out infinite;
}
.yj-bucket.s2 {
  bottom: 14%;
  right: 3%;
  transform: rotate(5deg);
  animation-delay: -2s;
}
.yj-bucket.s4 {
  bottom: 16%;
  left: 5%;
  transform: rotate(-5deg);
  animation-delay: -5s;
}

@keyframes yj-paint-drop {
  0% {
    transform: translateY(-2px) scaleY(0.4);
    opacity: 0;
  }
  15% {
    transform: translateY(0) scaleY(1);
    opacity: 1;
  }
  85% {
    transform: translateY(38px) scaleY(1.2);
    opacity: 1;
  }
  100% {
    transform: translateY(48px) scaleY(0);
    opacity: 0;
  }
}
@keyframes yj-paint-puddle {
  0% {
    transform: scaleX(0.4);
    opacity: 0.3;
  }
  80% {
    transform: scaleX(1);
    opacity: 0.85;
  }
  100% {
    transform: scaleX(1.15);
    opacity: 0.95;
  }
}
@keyframes yj-swatch-bob {
  0%, 100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -10px;
  }
}
@media (max-width: 1023px) {
  .yj-bucket {
    width: 78px;
  }
}
@media (max-width: 640px) {
  .yj-bucket {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .yj-bucket,
  .yj-bucket__drop,
  .yj-bucket__puddle {
    animation: none;
  }
}
.yj-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 9999px;
  font-family: "AzarMehr", ui-sans-serif, system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.yj-chip:hover {
  transform: translateY(-2px);
}

.yj-chip-ghost {
  background: rgba(255, 255, 255, 0.85);
  color: var(--color-slate, #434c52);
  border: 1.5px solid rgba(67, 76, 82, 0.28);
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 18px -10px rgba(67, 76, 82, 0.25);
}
.yj-chip-ghost:hover {
  background: var(--color-slate, #434c52);
  color: #fff;
  border-color: var(--color-slate, #434c52);
}

.yj-chip-cta {
  background: var(--color-vermilion, #0F766E);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(15,118,110, 0.65);
}
.yj-chip-cta:hover {
  background: #D24838;
}

.yj-addr-card {
  position: relative;
  background: #fff;
  border-radius: 18px;
  padding: 28px;
  border: 1px solid rgba(67, 76, 82, 0.18);
  box-shadow: 0 18px 40px -28px rgba(67, 76, 82, 0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}
.yj-addr-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-slate, #434c52), var(--color-vermilion, #0F766E));
}
.yj-addr-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px -22px rgba(15,118,110, 0.3);
}

.yj-addr-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--color-slate, #434c52), var(--color-vermilion, #0F766E));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 18px -8px rgba(15,118,110, 0.45);
}

.yj-map-shell {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(67, 76, 82, 0.2);
  box-shadow: 0 20px 50px -30px rgba(67, 76, 82, 0.35);
}
.yj-map-shell iframe {
  display: block;
  width: 100% !important;
  height: 360px;
  border: 0;
}

.yj-map-pin-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-slate, #434c52);
  border-radius: 10px;
  font-family: "AzarMehr", ui-sans-serif, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 8px 22px -10px rgba(0, 0, 0, 0.35);
  transition: all 0.2s ease;
}
.yj-map-pin-btn:hover {
  background: var(--color-vermilion, #0F766E);
  color: #fff;
  transform: translateY(-1px);
}

.yj-channel-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  min-height: 72px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(67, 76, 82, 0.18);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}
.yj-channel-row:hover {
  transform: translateY(-2px);
  border-color: var(--color-vermilion, #0F766E);
  box-shadow: 0 12px 24px -16px rgba(15,118,110, 0.35);
}
.yj-channel-row:hover .yj-channel-icon {
  background: var(--color-vermilion, #0F766E);
  color: #fff;
}
.yj-channel-row .yj-channel-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(15,118,110, 0.12);
  color: var(--color-vermilion, #0F766E);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease;
}
.yj-channel-row .yj-channel-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.yj-social-pill {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(67, 76, 82, 0.1);
  color: var(--color-slate, #434c52);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.yj-social-pill svg {
  width: 22px;
  height: 22px;
}
.yj-social-pill:hover {
  transform: translateY(-3px) scale(1.05);
  background: var(--color-vermilion, #0F766E);
  color: #fff;
}

.yj-form-shell {
  position: relative;
  background: #fff;
  border-radius: 22px;
  padding: 32px;
  border: 1px solid rgba(67, 76, 82, 0.18);
  box-shadow: 0 24px 60px -30px rgba(67, 76, 82, 0.35);
  overflow: hidden;
}
.yj-form-shell::after {
  content: "";
  position: absolute;
  top: -80px;
  left: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(rgba(15,118,110, 0.2), transparent 70%);
  pointer-events: none;
}
.yj-form-shell #send-message label {
  color: var(--color-slate, #434c52) !important;
  font-weight: 600 !important;
}
.yj-form-shell #send-message input,
.yj-form-shell #send-message textarea {
  background: #f6f6f7 !important;
  border: 1.5px solid rgba(67, 76, 82, 0.2) !important;
  border-radius: 12px !important;
  padding: 12px 16px !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.yj-form-shell #send-message input:focus,
.yj-form-shell #send-message textarea:focus {
  border-color: var(--color-vermilion, #0F766E) !important;
  box-shadow: 0 0 0 4px rgba(15,118,110, 0.15) !important;
  background: #fff !important;
}
.yj-form-shell #send-message button[type=submit] {
  background: linear-gradient(135deg, var(--color-vermilion, #0F766E), #D24838) !important;
  border-radius: 12px !important;
  padding: 12px 28px !important;
  box-shadow: 0 12px 26px -12px rgba(15,118,110, 0.55) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.yj-form-shell #send-message button[type=submit]:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px -14px rgba(15,118,110, 0.7) !important;
}

/* ── FAQ — استایل یکپارچهٔ پروژه فرسام صنعت (چیپ فیروزه‌ای +/−، تخت و مدرن) ── */
.yj-faq details {
  background: #fff;
  border: 1px solid rgba(15, 118, 110, 0.14);
  border-radius: 12px;
  padding: 2px 18px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.yj-faq details:hover {
  border-color: rgba(15, 118, 110, 0.3);
}
.yj-faq details[open] {
  border-color: rgba(15, 118, 110, 0.45);
  box-shadow: 0 12px 30px -18px rgba(15, 118, 110, 0.5);
}
.yj-faq details[open] summary {
  color: #0F766E;
}
.yj-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 15px 0;
  font-family: "Rokh", "AzarMehr", system-ui, sans-serif;
  font-weight: 700;
  color: #0E2A26;
  font-size: 15.5px;
  line-height: 1.7;
  display: flex;
  align-items: center;
  gap: 12px;
}
.yj-faq summary::-webkit-details-marker {
  display: none;
}
/* چیپ +/− در ابتدای سؤال (سمت شروع = راست در RTL) */
.yj-faq summary::before {
  content: "+";
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(15, 118, 110, 0.1);
  color: #0F766E;
  font-size: 18px;
  line-height: 1;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, transform 0.25s ease;
}
.yj-faq details[open] summary::before {
  content: "−";
  background: #0F766E;
  color: #fff;
}
.yj-faq .yj-faq-body {
  padding-block: 0 16px;
  padding-inline-start: 40px;
  padding-inline-end: 4px;
  font-family: "AzarMehr", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.95;
  color: #4b5563;
}

/* ═══════════════════════════════════════════════════════════════ */
/* Broken / missing image fallback                                  */
/* فقط روی img هایی اعمال میشه که src خالی یا غایب دارن             */
/* (کارت‌های مقاله/محصول بدون عکس). تصاویر SVG/PNG شفاف مثل ماسک‌های */
/* decorative دست‌نخورده باقی می‌مونن.                              */
/* ═══════════════════════════════════════════════════════════════ */
img[src=""],
img:not([src]) {
  position: relative;
  background: linear-gradient(180deg, #f7f8fb 0%, #eef0f5 100%);
  overflow: hidden;
  font-family: "AzarMehr", "Vazirmatn", system-ui, sans-serif;
  font-size: 11px;
  line-height: 1.5;
  font-weight: 500;
  color: #8a90a8;
  text-align: center;
  word-break: break-word;
}
img[src=""]::before,
img:not([src])::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c2c6d9' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='3' width='18' height='18' rx='2'/><circle cx='9' cy='9' r='2'/><path d='m21 15-5-5L5 21'/></svg>") center 26%/28px 28px no-repeat;
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════════ */
/* MEGA MENU (mega-style-columns) — desktop dropdown                */
/* MUST stay in main.scss (source). Without it the panel falls open */
/* inline and breaks the header on every SCSS recompile.            */
/* ═══════════════════════════════════════════════════════════════ */
.yj-hdr-nav.mega-style-columns {
  --mm-accent: var(--yj19-mm-accent, #115E59);
  --mm-featured: var(--yj19-mm-featured, #12544F);
  --mm-hover-bg: var(--yj19-mm-hover-bg, #F2F5FF);
  --mm-text: #2b2f36;
  --mm-text-muted: #6B7280;
  --mm-border: #ECECEC;
  --mm-panel-bg: #ffffff;
}

.yj-hdr-nav.mega-style-columns .menu-item.has-mega-menu {
  position: static;
}

.yj-hdr-nav.mega-style-columns .menu-item.has-mega-menu > .mega-menu-container {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 0;
  z-index: 50;
  min-width: 720px;
  width: -moz-max-content;
  width: max-content;
  max-width: min(1100px, 100vw - 40px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.yj-hdr-nav.mega-style-columns .menu-item.has-mega-menu:hover > .mega-menu-container,
.yj-hdr-nav.mega-style-columns .menu-item.has-mega-menu.is-open > .mega-menu-container,
.yj-hdr-nav.mega-style-columns .menu-item.has-mega-menu > .mega-menu-container.mega-menu-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.yj-hdr-nav.mega-style-columns .menu-item.has-mega-menu:hover > .mega-menu-container .mega-menu-content,
.yj-hdr-nav.mega-style-columns .menu-item.has-mega-menu.is-open > .mega-menu-container .mega-menu-content,
.yj-hdr-nav.mega-style-columns .menu-item.has-mega-menu > .mega-menu-container.mega-menu-visible .mega-menu-content {
  transform: translateY(0);
}

.yj-hdr-nav.mega-style-columns .mega-menu-content {
  background: var(--mm-panel-bg);
  border-radius: 14px;
  box-shadow: 0 24px 48px -12px rgba(17,94,89, 0.22), 0 6px 16px -8px rgba(0, 0, 0, 0.12);
  padding: 20px 24px;
  border: 1px solid var(--mm-border);
  transform: translateY(8px);
  transition: transform 0.28s ease;
}

.yj-hdr-nav.mega-style-columns .mega-menu-content > .mb-list {
  display: flex;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: stretch;
}

/* هر ستون */
.yj-hdr-nav.mega-style-columns .mb-list > li.mb-item {
  flex: 0 1 auto;
  min-width: 170px;
  padding: 0 14px;
  position: relative;
}

.yj-hdr-nav.mega-style-columns .mb-list > li.mb-item.mb-has-two-columns {
  flex: 1 1 auto;
  min-width: 320px;
}

.yj-hdr-nav.mega-style-columns .mb-list > li.mb-item.has-single-mc:not(.mb-has-two-columns) {
  min-width: 170px;
  max-width: 280px;
}

.yj-hdr-nav.mega-style-columns .mb-list > li.mb-item.has-multiple-mc:not(.mb-has-two-columns) {
  min-width: 200px;
}

/* خط جداکنندهٔ بین ستون‌ها (RTL) */
.yj-hdr-nav.mega-style-columns .mb-list > li.mb-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  inset-inline-end: 0;
  width: 1px;
  background: var(--mm-border);
}

.yj-hdr-nav.mega-style-columns .mb-list > li.mb-item:first-child {
  padding-inline-start: 0;
}

.yj-hdr-nav.mega-style-columns .mb-list > li.mb-item:last-child {
  padding-inline-end: 0;
}

/* عنوان ستون (سطح اول) */
.yj-hdr-nav.mega-style-columns .mb-list > li.mb-item > a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--mm-accent);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--mm-accent);
  transition: color 0.25s ease, border-color 0.25s ease;
  text-decoration: none;
}

.yj-hdr-nav.mega-style-columns .mb-list > li.mb-item > a:hover {
  color: var(--mm-accent);
  filter: brightness(1.15);
}

.yj-hdr-nav.mega-style-columns .mb-list > li.mb-item > a .menu-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border-radius: 8px;
  background: var(--mm-hover-bg);
  color: var(--mm-accent);
  transition: background-color 0.25s ease;
}

.yj-hdr-nav.mega-style-columns .mb-list > li.mb-item > a .menu-icon svg {
  width: 100%;
  height: 100%;
}

/* mc grid */
.yj-hdr-nav.mega-style-columns .mc-grid-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.yj-hdr-nav.mega-style-columns .mc-grid-container.grid-cols-2 {
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px;
}

/* mc item (subcategory header) */
.yj-hdr-nav.mega-style-columns .mc-grid-container > li.mc-item > a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--mm-text);
  margin-bottom: 4px;
  transition: color 0.2s ease;
  text-decoration: none;
}

.yj-hdr-nav.mega-style-columns .mc-grid-container > li.mc-item.has-md-children > a {
  margin-bottom: 6px;
}

.yj-hdr-nav.mega-style-columns .mc-grid-container > li.mc-item > a:hover {
  color: var(--mm-accent);
}

/* md list (leaf links) */
.yj-hdr-nav.mega-style-columns .md-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.yj-hdr-nav.mega-style-columns .md-list.md-two-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px 12px;
}

.yj-hdr-nav.mega-style-columns .md-list > li.md-item {
  margin: 0;
  padding: 0;
  list-style: none;
}

.yj-hdr-nav.mega-style-columns .md-list > li.md-item > a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--mm-text-muted);
  padding: 5px 10px;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
  text-decoration: none;
  line-height: 1.5;
}

.yj-hdr-nav.mega-style-columns .md-list > li.md-item > a:hover {
  background: var(--mm-hover-bg);
  color: var(--mm-accent);
  transform: translateX(-3px);
}

.yj-hdr-nav.mega-style-columns .md-list > li.md-item .menu-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.75;
}

.yj-hdr-nav.mega-style-columns .md-list > li.md-item:hover .menu-icon {
  opacity: 1;
}

.yj-hdr-nav.mega-style-columns .md-list > li.md-item.no-icon > a {
  position: relative;
  padding-inline-start: 16px;
}

.yj-hdr-nav.mega-style-columns .md-list > li.md-item.no-icon > a::before {
  content: "•";
  position: absolute;
  inset-inline-start: 4px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--mm-text-muted);
  font-size: 12px;
}

/* آیتم ویژه (featured) */
.yj-hdr-nav.mega-style-columns .mb-item.featured-menu-item > a,
.yj-hdr-nav.mega-style-columns .mc-item.featured-menu-item > a,
.yj-hdr-nav.mega-style-columns .md-item.featured-menu-item > a {
  color: var(--mm-featured);
}

.yj-hdr-nav.mega-style-columns .mb-item.featured-menu-item > a {
  border-bottom-color: var(--mm-featured);
}

.yj-hdr-nav.mega-style-columns .md-item.featured-menu-item > a:hover {
  background: color-mix(in oklab, var(--mm-featured) 10%, transparent);
  color: var(--mm-featured);
}

/* chevron سطح صفر */
.yj-hdr-nav.mega-style-columns .menu-chevron {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.yj-hdr-nav.mega-style-columns .menu-item.has-mega-menu:hover > a .menu-chevron,
.yj-hdr-nav.mega-style-columns .menu-item.has-mega-menu.is-open > a .menu-chevron {
  transform: rotate(180deg);
}

/* در حالت موبایل پنل گسترده پنهان می‌شود */
@media (max-width: 1024px) {
  .yj-hdr-nav.mega-style-columns .mega-menu-container {
    display: none !important;
  }
}
/* ═══════════════════════════════════════════════════════════════ */
/* Shop header (header-shop.php) — mega-menu positioning override   */
/* پنل مگا منو نسبت به خود menu-item قرار بگیره (نه وسط wrapper)    */
/* RTL: آیتم‌های ابتدا → پنل از راست item شروع، گسترش به چپ           */
/*      دو آیتم آخر → پنل از چپ item شروع، گسترش به راست (anti-overflow) */
/* ═══════════════════════════════════════════════════════════════ */
header#main-header.bg-white-500 .yj-hdr-nav.mega-style-columns .menu-item.has-mega-menu {
  position: relative !important;
}

header#main-header.bg-white-500 .yj-hdr-nav.mega-style-columns .menu-item.has-mega-menu > .mega-menu-container {
  inset-inline-start: 0;
  inset-inline-end: auto;
  transform: none;
}

/* دو آیتم پایانی: از لبهٔ end آیتم باز شو تا از edge بیرون نزنه */
header#main-header.bg-white-500 .yj-hdr-nav.mega-style-columns .menu-item.has-mega-menu:nth-last-child(-n+2) > .mega-menu-container {
  inset-inline-start: auto;
  inset-inline-end: 0;
}

/* =============================================================== */
/* yj-page-title — عنوان عادی آرشیو/برگه (وقتی بنر ست نشده)         */
/* دکور: تصویر «شبکه‌ی نرم» دو طرف عنوان (میررور)                   */
/* خاکستری/کم‌رنگ · RTL-first · ریسپانسیو                           */
/* برگشت به حالت قبل: در inc/utils.php مقدار پیش‌فرض $variant را به  */
/* 'line' برگردانید — شاخه‌ی Tailwind قدیمی دست‌نخورده باقی مانده.   */
/* تنظیم سریع: متغیرهای --yjt-* زیر را تغییر دهید.                  */
/* =============================================================== */
.yj-page-title {
  --yjt-deco-size: clamp(40px, 8vw, 66px); /* اندازه تصویر دو طرف */
  --yjt-deco-opacity: 0.5; /* شدت محوشدگی */
  --yjt-deco-gap: clamp(0.75rem, 3vw, 1.75rem);
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--yjt-deco-gap);
  padding-block: 0.5rem;
  direction: rtl;
}

@keyframes yj-title-rise {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes yj-deco-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: var(--yjt-deco-opacity);
  }
}
.yj-page-title h1 {
  margin: 0;
  font-family: "Vazirmatn", sans-serif;
  font-weight: 800;
  font-size: clamp(1.375rem, 1rem + 2vw, 2.125rem);
  line-height: 1.5;
  color: #1f1f1f;
  text-align: center;
  animation: yj-title-rise 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

/* ── تصویر دکور دو طرف ── */
.yj-page-title::before,
.yj-page-title::after {
  content: "";
  flex-shrink: 0;
  width: var(--yjt-deco-size);
  height: var(--yjt-deco-size);
  background: url("../images/patterns/bg-icon-grid.webp") no-repeat center/contain;
  filter: grayscale(1);
  opacity: var(--yjt-deco-opacity);
  animation: yj-deco-fade 0.6s ease-out 0.3s both;
}

/* سمت چپ (RTL: آیتم آخر) آینه می‌شود */
.yj-page-title::after {
  transform: scaleX(-1);
}

/* ── موبایل ── */
@media (max-width: 639px) {
  .yj-page-title {
    --yjt-deco-size: 30px;
    --yjt-deco-opacity: 0.4;
    --yjt-deco-gap: 0.6rem;
  }
}
/* ── کاهش حرکت ── */
@media (prefers-reduced-motion: reduce) {
  .yj-page-title h1,
  .yj-page-title::before,
  .yj-page-title::after {
    animation: none;
  }
}
.about-section-description ul {
  list-style: disc;
  padding-inline-start: 1.5rem;
  margin: 0.75rem 0;
}
.about-section-description ol {
  list-style: decimal;
  padding-inline-start: 1.5rem;
  margin: 0.75rem 0;
}
.about-section-description ul ul {
  list-style: circle;
}
.about-section-description ol ol {
  list-style: lower-alpha;
}
.about-section-description li {
  margin: 0.35rem 0;
}
.about-section-description p {
  margin: 0 0 0.85rem;
}
.about-section-description p:empty {
  display: none;
}
.about-section-description strong, .about-section-description b {
  font-weight: 700;
}
.about-section-description em, .about-section-description i {
  font-style: italic;
}
.about-section-description h1, .about-section-description h2, .about-section-description h3, .about-section-description h4, .about-section-description h5, .about-section-description h6 {
  font-weight: 700;
  line-height: 1.4;
  margin: 1.25rem 0 0.75rem;
}
.about-section-description h1 {
  font-size: 1.75rem;
}
.about-section-description h2 {
  font-size: 1.5rem;
}
.about-section-description h3 {
  font-size: 1.3rem;
}
.about-section-description h4 {
  font-size: 1.15rem;
}
.about-section-description h5 {
  font-size: 1.05rem;
}
.about-section-description h6 {
  font-size: 1rem;
}
.about-section-description a {
  color: #0F766E;
  text-decoration: underline;
}
.about-section-description blockquote {
  border-inline-start: 3px solid #0F766E;
  padding-inline-start: 1rem;
  margin: 1rem 0;
  opacity: 0.9;
}

.about-glow-center {
  position: relative;
  isolation: isolate;
}
.about-glow-center::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
  width: min(62%, 720px);
  height: min(85%, 460px);
  background: radial-gradient(closest-side, rgba(15,118,110, 0.16) 0%, rgba(15,118,110, 0.1) 45%, transparent 80%);
  filter: blur(6px);
}

.about1-btn {
  display: inline-block;
  padding: 0.5rem 2rem;
  border-radius: 0.375rem;
  border: 1px solid transparent;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
@media (min-width: 768px) {
  .about1-btn {
    font-size: 16px;
  }
}

.about1-btn--primary {
  background-color: rgba(15,118,110, 0.0509803922);
  color: #0F766E;
  border-color: transparent;
}
.about1-btn--primary:hover, .about1-btn--primary:focus-visible {
  background-color: #ffffff;
  color: #5CC6D0;
  border-color: #5CC6D0;
}

.about1-btn--secondary {
  background-color: #ffffff;
  color: #5CC6D0;
  border-color: #5CC6D0;
}
.about1-btn--secondary:hover, .about1-btn--secondary:focus-visible {
  background-color: rgba(15,118,110, 0.0509803922);
  color: #0F766E;
  border-color: transparent;
}

@media (max-width: 1023px) {
  .about-media-col[data-aos],
  .about-media-col [data-aos],
  .about-text-col[data-aos] {
    transform: translate3d(0, 15px, 0) !important;
  }
  .about-media-col[data-aos].aos-animate,
  .about-media-col [data-aos].aos-animate,
  .about-text-col[data-aos].aos-animate {
    transform: translate3d(0, 0, 0) !important;
  }
}/*# sourceMappingURL=main.css.map */

/* محتوای مقاله: تصاویر بلوک، وسط‌چین و پهن (تمام عرض ستون) */
.post-content img,
.product-post-content img,
.taxonomy-advanced-description img,
.taxonomy-description img { display: block; max-width: 100%; height: auto; margin-inline: auto; }
/* wrapperهای عکس (از جمله [caption] با style=width inline) تمام‌عرضِ ستون شوند */
.post-content .wp-caption,
.post-content figure,
.post-content .wp-block-image,
.product-post-content .wp-caption,
.product-post-content figure,
.product-post-content .wp-block-image { width: 100% !important; max-width: 100% !important; margin-inline: auto; text-align: center; }
.post-content .wp-caption img,
.post-content figure img,
.post-content .wp-block-image img,
.post-content p > img:only-child,
.post-content p > a > img,
.product-post-content .wp-caption img,
.product-post-content figure img,
.product-post-content .wp-block-image img { width: 100% !important; height: auto !important; }
.post-content .wp-caption-text,
.post-content figcaption,
.product-post-content .wp-caption-text,
.product-post-content figcaption { text-align: center; font-size: 13px; color: #6b7280; margin-top: 6px; }

/* ======================================================
   بوردر گرادیانیِ ثابت با رنگِ روان — کلاس مشترک
   استفاده: کارت مقاله (همیشه فعال) و کارت نمونه‌پروژه (فقط hover)
   رنگِ گرادیان در طول بوردرِ ثابت جریان دارد (بدون چرخشِ حلقه دور کارت).
   border-radius را از خودِ عنصر ارث می‌برد تا با گوشه‌های هر کارت هماهنگ شود.
   ====================================================== */
@keyframes farsam-border-flow {
  to { background-position: 200% 0; }
}
.farsam-grad-border {
  position: relative;
}
.farsam-grad-border::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(90deg, #0F766E, #5CC6D0, #E85D4E, #FFCC00, #5CC6D0, #0F766E);
  background-size: 200% 100%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 3;
  animation: farsam-border-flow 3s linear infinite;
}
/* حالتِ فقط‌هاور — برای کارت نمونه‌پروژه: بوردر مخفی، در hover نمایان و روان می‌شود */
.farsam-grad-border--hover::before {
  opacity: 0;
  transition: opacity 0.35s ease;
}
.farsam-grad-border--hover:hover::before {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .farsam-grad-border::before { animation: none; }
}

/* ======================================================
   card-product-featured.php — کارت featured محصول (hand-synced from main.scss)
   ====================================================== */
@keyframes yj19-accent-shimmer {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
.yj19-featured-card .yj19-accent-bar {
  position: absolute; top: 0; right: 0; left: 0; height: 2px; z-index: 40;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(90deg, #0F766E 0%, #E85D4E 40%, #FFCC00 70%, #0F766E 100%);
  background-size: 200% 100%;
  transition: box-shadow .35s ease, background-position .6s ease;
}
.yj19-featured-card:hover .yj19-accent-bar,
.yj19-featured-card:focus-within .yj19-accent-bar {
  background-position: 200% 50%;
  box-shadow: 0 0 8px 0 rgba(15,118,110,.28);
  animation: yj19-accent-shimmer .9s linear infinite;
}
.yj19-featured-card .yj19-featured-cta {
  border: 1.5px solid #0F766E; color: #0F766E; background: transparent;
  transition: background .25s ease, color .25s ease, box-shadow .25s ease, transform .2s ease;
}
.yj19-featured-card:hover .yj19-featured-cta,
.yj19-featured-card:focus-within .yj19-featured-cta {
  background: #0F766E; color: #ffffff;
  box-shadow: 0 4px 14px rgba(15,118,110,.30);
}
.yj19-featured-card {
  transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .35s ease, border-color .3s ease;
}
.yj19-featured-card:hover,
.yj19-featured-card:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 0 14px 0 rgba(15,118,110,.06), 0 3px 10px -6px rgba(15,118,110,.10);
  border-color: rgba(15,118,110,.45);
}
.yj19-featured-card .yj19-featured-foot {
  background-image: linear-gradient(90deg,
      rgba(15,118,110,.10) 0%,
      rgba(92,198,208,.10) 50%,
      rgba(255,204,0,.12) 100%);
  background-size: 220% 100%;
  background-position: 100% 50%;
  transition: background-position .6s ease;
}
.yj19-featured-card:hover .yj19-featured-foot,
.yj19-featured-card:focus-within .yj19-featured-foot {
  background-position: 0% 50%;
}
@media (prefers-reduced-motion: reduce) {
  .yj19-featured-card,
  .yj19-featured-card .yj19-accent-bar,
  .yj19-featured-card .yj19-featured-foot,
  .yj19-featured-card .yj19-featured-cta { transition: none !important; animation: none !important; }
}

/* ======================================================
   [از: archives/post/card.php] (hand-synced from main.scss)
   کارت مقاله — رادیوس رَپِر تصویر (تا بوردر متحرک هم‌رادیوس عکس شود) + clip-path دکمه
   ====================================================== */
.farsam-blog-card .farsam-img-wrap { border-radius: 4px; }
.farsam-blog-btn-fill {
  clip-path: circle(0% at 88% 50%);
  transition: clip-path 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.farsam-blog-card:hover .farsam-blog-btn-fill,
.farsam-blog-card:focus-visible .farsam-blog-btn-fill,
.group:hover .farsam-blog-btn-fill { clip-path: circle(140% at 88% 50%); }
@media (prefers-reduced-motion: reduce) {
  .farsam-blog-btn-fill { transition: none; }
}
/* END: archives/post/card.php */
