@charset "UTF-8";
#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: #b1bcd6;
  --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: #FDB713;
  color: #FDB713;
}
#main-header .menu-item.featured-menu-item > a .active {
  color: #FDB713;
}
#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;
}
/* جداکنندهٔ "|" بین آیتم‌های منو غیرفعال شد
#main-header .main-menu > .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, #ff6633);
}
#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, #ff6633);
}
#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: #fdb713;
}
#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 p 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 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 h2 a,
.taxonomy-advanced-description h3 a,
.taxonomy-advanced-description h4 a,
.taxonomy-advanced-description h5 a,
.taxonomy-advanced-description h6 > a {
  color: #1C5DA9;
  text-decoration: none;
  display: inline;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 100% 100%;
  background-repeat: no-repeat;
  background-size: 0% 2px;
  padding-bottom: 3px;
  transition: color 0.35s ease, background-size 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6,
.product-post-content h2,
.product-post-content h3,
.product-post-content h4,
.product-post-content h5,
.product-post-content h6,
.taxonomy-advanced-description h2,
.taxonomy-advanced-description h3,
.taxonomy-advanced-description h4,
.taxonomy-advanced-description h5,
.taxonomy-advanced-description h6 {
  color: #222222;
}
.post-content p 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 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 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 {
  color: #ff6633;
  background-size: 100% 2px;
}
.post-content p 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 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 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 {
  color: #ff6633;
  background-size: 100% 2px;
  outline: none;
}
@media (prefers-reduced-motion: reduce) {
  .post-content p 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 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 h2 a,
  .taxonomy-advanced-description h3 a,
  .taxonomy-advanced-description h4 a,
  .taxonomy-advanced-description h5 a,
  .taxonomy-advanced-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 {
  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 {
  border-radius: 8px;
}
.post-content .blog-img-container img,
.product-post-content .blog-img-container img,
.taxonomy-advanced-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 {
  margin: 20px auto 20px auto;
  border-radius: 8px;
}
.post-content,
.product-post-content,
.taxonomy-advanced-description {
  border-radius: 10px;
}
.post-content p:empty,
.product-post-content p:empty,
.taxonomy-advanced-description p:empty {
  display: none;
}
.post-content h1,
.product-post-content h1,
.taxonomy-advanced-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-bottom: 10px;
}
.post-content h2,
.product-post-content h2,
.taxonomy-advanced-description h2 {
  text-align: right;
  font-size: clamp(1.125rem, 1.5vw, 1.875rem);
  /* Mobile: 18px, Tablet: 24px, Desktop: 30px */
  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) {
  margin-bottom: 15px;
  margin-top: 40px;
}
.post-content h2:first-of-type,
.product-post-content h2:first-of-type,
.taxonomy-advanced-description h2:first-of-type {
  margin: 3rem 0 20px 0;
}
.post-content h3,
.product-post-content h3,
.taxonomy-advanced-description h3 {
  text-align: right;
  font-size: clamp(1.125rem, 1.2vw, 1.5rem);
  /* Mobile: 18px, Tablet: 20px, Desktop: 24px */
  font-weight: 700;
  /* Bold */
  margin-bottom: 10px;
}
.post-content h4,
.product-post-content h4,
.taxonomy-advanced-description h4 {
  text-align: right;
  font-size: clamp(1rem, 1.1vw, 1.25rem);
  /* Mobile: 16px, Tablet: 18px, Desktop: 20px */
  font-weight: 700;
  /* Bold */
  margin-bottom: 10px;
}
.post-content h5,
.product-post-content h5,
.taxonomy-advanced-description h5 {
  text-align: right;
  font-size: clamp(1rem, 1vw, 1.125rem);
  /* Mobile: 16px, Tablet: 16px, Desktop: 18px */
  font-weight: 700;
  /* Bold */
  margin-bottom: 10px;
}
.post-content h6,
.product-post-content h6,
.taxonomy-advanced-description h6 {
  text-align: right;
  font-size: clamp(1rem, 0.9vw, 1rem);
  /* Mobile: 16px, Tablet: 16px, Desktop: 16px */
  font-weight: 700;
  /* Bold */
  margin-bottom: 10px;
}
.post-content p,
.product-post-content p,
.taxonomy-advanced-description p {
  font-style: normal;
  font-weight: 500;
  line-height: 34px;
  text-align: justify;
  margin-bottom: 8px;
}
.post-content img,
.product-post-content img,
.taxonomy-advanced-description img {
  margin: 20px auto;
}
.post-content li,
.product-post-content li,
.taxonomy-advanced-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 {
  position: relative;
  list-style-type: -moz-ethiopic-numeric;
  padding-right: 1.25rem;
}
.post-content ul,
.product-post-content ul,
.taxonomy-advanced-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 {
  padding: 10px;
}
.post-content .blog-img-container,
.product-post-content .blog-img-container,
.taxonomy-advanced-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 {
  width: 100vw;
}

.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 #a7c6ff, -9px 0 #3276f8;
    background: #a7c6ff;
  }
  33% {
    box-shadow: 9px 0 #a7c6ff, -9px 0 #3276f8;
    background: #3276f8;
  }
  66% {
    box-shadow: 9px 0 #3276f8, -9px 0 #a7c6ff;
    background: #3276f8;
  }
  100% {
    box-shadow: 9px 0 #3276f8, -9px 0 #a7c6ff;
    background: #a7c6ff;
  }
}
.spinner {
  width: 48px;
  height: 48px;
  border: 5px solid #1C5DA9;
  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, #1C5DA9 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: fit-content;
  margin: 0 auto;
  margin: 2rem 0;
}
.woocommerce-pagination ul li span.current {
  background-color: #ff6633;
  color: #fff;
  border-color: #ff6633;
}
.woocommerce-pagination ul li a:hover {
  background-color: #ff6633;
  color: #fff;
  border-color: #ff6633;
}
.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;
}

.woocommerce-breadcrumb {
  font-size: 14px;
  color: #999999;
  font-weight: 500;
}
@media (max-width: 1024px) {
  .woocommerce-breadcrumb {
    font-size: 10px;
  }
}

.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: #ff6633;
  color: #ffffff;
}
@media (max-width: 1248px) {
  .page-numbers {
    width: 2rem;
    height: 2rem;
    font-size: 0.75rem;
  }
}
@media (max-width: 1024px) {
  .masked-img {
    mask-image: linear-gradient(to left, transparent 10%, black 40%);
  }
}

/* Custom radial gradient border */
.brands-slider .swiper-wrapper {
  -webkit-transition-timing-function: linear !important;
  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;
}

/* اطمینان از عدم تداخل انیمیشن‌ها */
[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: rtl;
  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: #E8EFF6;
}
table.normal-header thead tr th {
  background-color: #E8EFF6;
  color: #1C5DA9;
  font-weight: 600;
  padding: 10px 15px;
  text-align: center;
  font-size: 16px;
  border: 1px solid #E2E5ED !important;
  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-color: #E8EFF6;
  color: #1C5DA9;
  font-weight: 600;
  padding: 10px 15px;
  text-align: center;
  font-size: 16px;
  border: 1px solid #E2E5ED !important;
  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: #E8EFF6;
}
table.both-headers thead tr th {
  background-color: #E8EFF6;
  color: #1C5DA9;
  font-weight: 600;
  padding: 10px 15px;
  text-align: center;
  font-size: 16px;
  border: 1px solid #E2E5ED !important;
  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-color: #E8EFF6;
  color: #1C5DA9;
  font-weight: 600;
  padding: 10px 15px;
  text-align: center;
  font-size: 16px;
  border: 1px solid #E2E5ED !important;
  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: #E8EFF6;
}
table:not(.normal-header):not(.first-col-header):not(.both-headers) thead tr th {
  background-color: #E8EFF6;
  color: #1C5DA9;
  font-weight: 600;
  padding: 10px 15px;
  text-align: center;
  font-size: 16px;
  border: 1px solid #E2E5ED !important;
  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-color: #E8EFF6;
  color: #1C5DA9;
  font-weight: 600;
  padding: 10px 15px;
  text-align: center;
  font-size: 16px;
  border: 1px solid #E2E5ED !important;
  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 #E2E5ED !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 {
  /* Responsive styles */
}
@media screen and (max-width: 768px) {
  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    max-width: fit-content;
    margin: 0 auto;
    max-height: 500px;
    overflow-y: auto;
    min-width: auto;
  }
  table th,
  table td {
    min-width: 70px;
  }
  table th:first-child,
  table td:first-child {
    min-width: 100px;
  }
  table::-webkit-scrollbar {
    width: 8px;
    height: 4px !important;
  }
  table::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
  }
  table::-webkit-scrollbar-thumb {
    background: #b0b9d1;
    border-radius: 4px;
    min-height: 20px;
  }
  table::-webkit-scrollbar-thumb:hover {
    background: #8896bd;
  }
  table {
    scrollbar-width: thin;
    scrollbar-color: #b0b9d1 #f1f1f1;
  }
  table.first-col-header tbody tr th, table.both-headers tbody tr th {
    padding: 12px 15px;
    min-width: 120px;
  }
  table tbody tr th {
    padding: 12px 15px;
  }
  table td {
    padding: 12px 15px;
    text-align: center;
    border: 1px solid #E2E5ED !important;
    font-size: 16px;
    color: #334155;
    line-height: 24px;
  }
  table thead th {
    padding: 12px 15px;
  }
}

.wp-block-table thead {
  border-bottom: 0px !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(234, 179, 8, 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(234, 179, 8, 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(234, 179, 8, 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(234, 179, 8, 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;
}
.blog-card-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #ff6633 0%, #ff5722 55%, #ff7a47 100%);
  mix-blend-mode: multiply;
  opacity: 0;
  pointer-events: none;
  z-index: 5;
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'><path d='M0,0 L100,0 L100,52 C92,70 80,26 62,50 C50,68 38,44 25,54 C12,66 8,54 0,57 Z' fill='black'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'><path d='M0,0 L100,0 L100,52 C92,70 80,26 62,50 C50,68 38,44 25,54 C12,66 8,54 0,57 Z' fill='black'/></svg>");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: top center;
  mask-position: top center;
  -webkit-mask-size: 100% 0%;
  mask-size: 100% 0%;
  transition: opacity 0.85s cubic-bezier(0.33, 1, 0.68, 1), -webkit-mask-size 1.15s cubic-bezier(0.22, 1, 0.36, 1), mask-size 1.15s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: mask-size, opacity;
}
.group:hover .blog-card-image::before, .group:focus-within .blog-card-image::before {
  opacity: 0.95;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

@media (prefers-reduced-motion: reduce) {
  .blog-card-image::before {
    transition: opacity 0.35s ease-out;
  }
  .group:hover .blog-card-image::before,
  .group:focus-within .blog-card-image::before {
    opacity: 0.8;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
  }
}
.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, #ff6633) !important;
  border-color: transparent;
}
body.yj-about-page .yj-bc-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(67, 76, 82, 0.2);
  box-shadow: 0 4px 14px -8px rgba(67, 76, 82, 0.25);
}
body.yj-about-page .yj-bc-chip, body.yj-about-page .yj-bc-chip * {
  color: var(--color-slate, #434c52);
}
body.yj-about-page .yj-bc-chip a:hover {
  color: var(--color-vermilion, #ff6633);
}

.yj-about-hero {
  position: relative;
  min-height: 60vh;
  background: radial-gradient(at 20% 18%, rgba(107, 196, 200, 0.18) 0px, transparent 55%), radial-gradient(at 82% 12%, rgba(255, 102, 51, 0.1) 0px, transparent 55%), radial-gradient(at 78% 88%, rgba(26, 93, 236, 0.1) 0px, transparent 55%), radial-gradient(at 18% 92%, rgba(239, 229, 84, 0.1) 0px, transparent 55%), linear-gradient(180deg, #ffffff 0%, #f8fafe 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: #efe554;
  animation-delay: 0s;
  opacity: 0.3;
}
.yj-paint-blob.b2 {
  bottom: -8%;
  left: -6%;
  width: 420px;
  height: 420px;
  background: #ff6633;
  animation-delay: -4s;
  opacity: 0.22;
}
.yj-paint-blob.b3 {
  top: 35%;
  left: 45%;
  width: 320px;
  height: 320px;
  background: #6bc4c8;
  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(17, 105, 109, 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: 70px;
  z-index: 2;
  pointer-events: none;
}

.yj-paint-underline {
  position: relative;
  display: inline-block;
  color: var(--color-vermilion, #ff6633);
}
.yj-paint-underline::after {
  content: "";
  position: absolute;
  right: -4px;
  left: -4px;
  bottom: -2px;
  height: 10px;
  background: var(--color-vermilion, #ff6633);
  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: #fff;
  border-radius: 14px;
  padding: 10px 12px;
  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;
}
@media (min-width: 768px) {
  .yj-info-card {
    border-radius: 18px;
    padding: 24px;
  }
}
.yj-info-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, #6bc4c8, #4aa8ac);
}
.yj-info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px -22px rgba(107, 196, 200, 0.45);
}
.yj-info-card__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (min-width: 768px) {
  .yj-info-card__icon {
    width: 56px;
    height: 56px;
  }
}
.yj-info-card__icon svg {
  width: 100%;
  height: 100%;
  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-bottom: 56px;
}
.yj-about-swiper .swiper-slide {
  height: auto;
}
.yj-about-swiper .swiper-pagination {
  bottom: 12px;
}
.yj-about-swiper .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: rgba(67, 76, 82, 0.3);
  opacity: 1;
  transition: width 0.25s ease, background 0.25s ease;
}
.yj-about-swiper .swiper-pagination-bullet-active {
  width: 26px;
  border-radius: 4px;
  background: var(--color-vermilion, #ff6633);
}

.yj-about-gallery__card {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  background: transparent;
  border: 0;
  cursor: zoom-in;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 12px 30px -22px rgba(67, 76, 82, 0.3);
  aspect-ratio: 4/3;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.yj-about-gallery__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.yj-about-gallery__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 44px -22px rgba(107, 196, 200, 0.45);
}
.yj-about-gallery__card:hover img {
  transform: scale(1.06);
}
.yj-about-gallery__card:hover .yj-about-gallery__zoom {
  opacity: 1;
  transform: scale(1);
  background: var(--color-vermilion, #ff6633);
  color: #fff;
}
.yj-about-gallery__card:focus-visible {
  outline: 3px solid var(--color-vermilion, #ff6633);
  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, #ff6633);
  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, #ff6633);
  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 details {
  background: #fff;
  border: 1px solid rgba(67, 76, 82, 0.16);
  border-radius: 14px;
  padding: 4px 20px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.yj-about-faq details + details {
  margin-top: 12px;
}
.yj-about-faq details[open] {
  border-color: var(--color-vermilion, #ff6633);
  box-shadow: 0 12px 28px -18px rgba(255, 102, 51, 0.28);
}
.yj-about-faq details[open] summary {
  color: var(--color-vermilion, #ff6633);
}
.yj-about-faq details[open] summary::after {
  content: "−";
}
.yj-about-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-family: "Rokh", "AzarMehr", system-ui, sans-serif;
  font-weight: 700;
  color: var(--color-slate, #434c52);
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.yj-about-faq summary::-webkit-details-marker {
  display: none;
}
.yj-about-faq summary::after {
  content: "+";
  font-size: 22px;
  line-height: 1;
  color: var(--color-vermilion, #ff6633);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.yj-about-faq .yj-faq-body {
  padding: 4px 0 18px;
  margin-top: 4px;
  font-family: "AzarMehr", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.95;
  color: #4e4e4e;
  border-top: 1px dashed rgba(67, 76, 82, 0.25);
  padding-top: 14px;
  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-vermilion .yj-why-card__icon {
  background: linear-gradient(135deg, #ff6633, #ff8a5b);
}
.yj-why-card.v-vermilion .yj-why-card__splatter {
  color: #ff6633;
}
.yj-why-card.v-slate .yj-why-card__icon {
  background: linear-gradient(135deg, #434c52, #6b757e);
}
.yj-why-card.v-slate .yj-why-card__splatter {
  color: #434c52;
}
.yj-why-card.v-mix .yj-why-card__icon {
  background: linear-gradient(135deg, #434c52, #ff6633);
}
.yj-why-card.v-mix .yj-why-card__splatter {
  color: #ff6633;
}

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, #ff6633) !important;
  border-color: transparent;
}

.yj-contact-hero {
  position: relative;
  min-height: 60vh;
  background: radial-gradient(at 20% 18%, rgba(107, 196, 200, 0.18) 0px, transparent 55%), radial-gradient(at 82% 12%, rgba(255, 102, 51, 0.1) 0px, transparent 55%), radial-gradient(at 78% 88%, rgba(26, 93, 236, 0.1) 0px, transparent 55%), radial-gradient(at 18% 92%, rgba(239, 229, 84, 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, #ff6633);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(255, 102, 51, 0.65);
}
.yj-chip-cta:hover {
  background: #e5521e;
}

.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, #ff6633));
}
.yj-addr-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px -22px rgba(255, 102, 51, 0.3);
}

.yj-addr-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--color-slate, #434c52), var(--color-vermilion, #ff6633));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 18px -8px rgba(255, 102, 51, 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, #ff6633);
  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, #ff6633);
  box-shadow: 0 12px 24px -16px rgba(255, 102, 51, 0.35);
}
.yj-channel-row:hover .yj-channel-icon {
  background: var(--color-vermilion, #ff6633);
  color: #fff;
}
.yj-channel-row .yj-channel-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 102, 51, 0.12);
  color: var(--color-vermilion, #ff6633);
  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, #ff6633);
  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(255, 102, 51, 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, #ff6633) !important;
  box-shadow: 0 0 0 4px rgba(255, 102, 51, 0.15) !important;
  background: #fff !important;
}
.yj-form-shell #send-message button[type=submit] {
  background: linear-gradient(135deg, var(--color-vermilion, #ff6633), #e5521e) !important;
  border-radius: 12px !important;
  padding: 12px 28px !important;
  box-shadow: 0 12px 26px -12px rgba(255, 102, 51, 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(255, 102, 51, 0.7) !important;
}

.yj-faq details {
  background: #fff;
  border: 1px solid rgba(67, 76, 82, 0.18);
  border-radius: 14px;
  padding: 4px 18px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.yj-faq details[open] {
  border-color: var(--color-vermilion, #ff6633);
  box-shadow: 0 12px 28px -16px rgba(255, 102, 51, 0.3);
}
.yj-faq details[open] summary {
  color: var(--color-vermilion, #ff6633);
}
.yj-faq details[open] summary::after {
  content: "−";
}
.yj-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-family: "Rokh", "AzarMehr", system-ui, sans-serif;
  font-weight: 700;
  color: var(--color-slate, #434c52);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.yj-faq summary::-webkit-details-marker {
  display: none;
}
.yj-faq summary::after {
  content: "+";
  font-size: 22px;
  line-height: 1;
  color: var(--color-vermilion, #ff6633);
  transition: transform 0.25s ease;
}
.yj-faq .yj-faq-body {
  padding: 4px 0 18px;
  font-family: "AzarMehr", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.9;
  color: #4e4e4e;
  border-top: 1px dashed rgba(67, 76, 82, 0.3);
  padding-top: 14px;
}

/* =========================================================================
   MEGA MENU — حالت چندستونه گسترده (columns)
   متغیرهای رنگی از تنظیمات قالب تزریق می‌شوند (theme-enqueues.php).
   ========================================================================= */
.yj-hdr-nav.mega-style-columns {
  --mm-accent: var(--rangnet-mm-accent, #ff6633);
  --mm-featured: var(--rangnet-mm-featured, #e64a19);
  --mm-hover-bg: var(--rangnet-mm-hover-bg, #f5f5f5);
  --mm-text: #434c52;
  --mm-text-muted: #6B7280;
  --mm-border: #E9E9E9;
  --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: 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 .mega-menu-content {
  background: var(--mm-panel-bg);
  border-radius: 12px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  padding: 18px 22px;
  border: 1px solid var(--mm-border);
}

.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;
  left: 0;
  width: 1px;
  background: var(--mm-border);
}
.yj-hdr-nav.mega-style-columns .mb-list > li.mb-item:first-child {
  padding-right: 0;
}
.yj-hdr-nav.mega-style-columns .mb-list > li.mb-item:last-child {
  padding-left: 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: 22px;
  height: 22px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.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;
  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);
}
.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-right: 16px;
}
.yj-hdr-nav.mega-style-columns .md-list > li.md-item.no-icon > a::before {
  content: "•";
  position: absolute;
  right: 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;
  }
}

/* =========================================================================
   MOBILE NAV — refinements (فاصله و استایل زیرمنوها)
   ========================================================================= */
#mobile_nav .yj-mobile-menu > li > a,
#mobile_nav .yj-mobile-menu > li > span,
#mobile_nav .yj-mobile-menu > li > .mobile-menu-item {
  display: flex;
  align-items: center;
  width: 100%;
  padding-top: 6px;
  padding-bottom: 6px;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease;
}
#mobile_nav .yj-mobile-menu > li > a:hover,
#mobile_nav .yj-mobile-menu > li > .mobile-menu-item:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

/* اولین زیرمنو — کارت روشن داخل سایدبار تیره */
#mobile_nav .mobile-sub-menu.bg-main {
  box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.04);
}
#mobile_nav .mobile-sub-menu.bg-main li > a,
#mobile_nav .mobile-sub-menu.bg-main li > .mobile-menu-item {
  color: var(--color-slate, #434c52);
  font-weight: 500;
  border-radius: 4px;
  transition: background-color 0.2s ease, color 0.2s ease;
}
#mobile_nav .mobile-sub-menu.bg-main li > a:hover,
#mobile_nav .mobile-sub-menu.bg-main li > .mobile-menu-item:hover {
  background-color: rgba(255, 102, 51, 0.08);
  color: var(--color-vermilion, #ff6633);
}

/* زیرمنوهای تو در تو — نوار راست با رنگ کم‌رنگ‌تر و فاصله جمع‌تر */
#mobile_nav .mobile-sub-menu .mobile-sub-menu {
  border-right-width: 1px;
  border-color: rgba(67, 76, 82, 0.18);
  margin-top: 4px !important;
  padding-top: 2px;
  padding-bottom: 2px;
}

/* آیتم «(همه)» در اول هر زیرمنو */
#mobile_nav .mobile-sub-menu > li:first-child > a {
  font-weight: 600;
}
#mobile_nav .mobile-sub-menu > li:first-child > a .text-caption1 {
  opacity: 0.65;
  font-weight: 400;
  margin-right: 4px;
}

/* chevron تو آیتم‌های دارای فرزند */
#mobile_nav .mobile-menu-item.has-children svg {
  opacity: 0.6;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
#mobile_nav .mobile-menu-item.has-children:hover svg {
  opacity: 1;
}
