﻿/*
 * Pakizan Persian storefront preview alignment
 * Scope: fa-IR only. Loaded from the active skin after all module/theme CSS.
 * Dashboard, Arabic and English storefronts are intentionally unaffected.
 */

:root {
  --pakizan-fa-accent: #289fff;
  --pakizan-fa-navy: #151963;
  --pakizan-fa-menu: #1d0342;
  --pakizan-fa-surface: #f7f7f7;
  --pakizan-fa-text: #111111;
}

/* =========================================================
   2. Desktop page menu typography
   ========================================================= */
@media (min-width: 992px) {
  .farashop__body .radan-header .nav__container .main-menu > li > a {
    font-family: IRANYekan, IRANYekanFallback, Vazir, Tahoma, Arial, sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 30px !important;
    padding: 5px 11px !important;
  }

  .farashop__body .radan-header .nav__container .main-menu > li > a > i {
    margin-right: 6px !important;
    font-size: 12px !important;
  }
}

/* =========================================================
   3-4. Homepage hero overlay and action buttons
   ========================================================= */
/* R50: slider background ownership moved to Css/Home. The Persian
   compatibility layer no longer paints a global navy/gradient overlay. */

@media (min-width: 992px) {
  body .slider-overlay__container .slider-overlay-links__container {
    align-items: flex-start !important;
  }

  body .slider-overlay__container .slider-overlay-links__container .slider-overlay__links {
    display: inline-flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    width: auto !important;
    gap: 12px !important;
    margin: 14px 0 0 !important;
  }

  body .slider-overlay__container .slider-overlay-links__container .slider-overlay__links a {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 175px !important;
    padding: 10px 20px !important;
    border: 1px solid var(--pakizan-fa-accent) !important;
    border-radius: 4px !important;
    color: var(--pakizan-fa-accent) !important;
    background: transparent !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1.45 !important;
  }

  body .slider-overlay__container .slider-overlay-links__container .slider-overlay__links a:hover,
  body .slider-overlay__container .slider-overlay-links__container .slider-overlay__links a:focus {
    color: #ffffff !important;
    background: var(--pakizan-fa-accent) !important;
  }
}

/* =========================================================
   5. Two-column product introduction modules
   ========================================================= */
.shop-home__body .body-part__one .two-columns-layout__container .text-part__container,
.shop-home__body .body-part__two .two-columns-layout__container .text-part__container {
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

.shop-home__body .body-part__one .two-columns-layout__container .text-part__body,
.shop-home__body .body-part__two .two-columns-layout__container .text-part__body {
  width: 100% !important;
}

.shop-home__body .body-part__one .two-columns-layout__container .custom-title__container p,
.shop-home__body .body-part__two .two-columns-layout__container .custom-title__container p {
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

.shop-home__body .body-part__one .two-columns-layout__container .custom-title__container .little_title a,
.shop-home__body .body-part__two .two-columns-layout__container .custom-title__container .little_title a {
  color: var(--pakizan-fa-text) !important;
  font-size: 16px !important;
  font-weight: 500 !important;
}

.shop-home__body .body-part__one .two-columns-layout__container .custom-title__container .main_title a,
.shop-home__body .body-part__two .two-columns-layout__container .custom-title__container .main_title a {
  color: var(--pakizan-fa-accent) !important;
  font-size: 34px !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;
}

.shop-home__body .body-part__one .two-columns-layout__container .text-part__body p,
.shop-home__body .body-part__two .two-columns-layout__container .text-part__body p {
  max-width: 650px !important;
  margin: 0 auto 12px !important;
  text-align: center !important;
  color: var(--pakizan-fa-text) !important;
}

.shop-home__body .body-part__one .two-columns-layout__container .links__list,
.shop-home__body .body-part__two .two-columns-layout__container .links__list,
.shop-home__body .body-part__one .two-columns-layout__container .show-links__false,
.shop-home__body .body-part__two .two-columns-layout__container .show-links__false {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  width: 100% !important;
  margin: 20px 0 0 !important;
  padding: 0 !important;
  text-align: center !important;
}

.shop-home__body .body-part__one .two-columns-layout__container .links__list li,
.shop-home__body .body-part__two .two-columns-layout__container .links__list li {
  display: inline-flex !important;
  margin: 0 !important;
}

.shop-home__body .body-part__one .two-columns-layout__container .links__list li a,
.shop-home__body .body-part__two .two-columns-layout__container .links__list li a,
.shop-home__body .body-part__one .two-columns-layout__container .text-part__body .custom-links a,
.shop-home__body .body-part__two .two-columns-layout__container .text-part__body .custom-links a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 190px !important;
  padding: 10px 24px !important;
  border: 1px solid var(--pakizan-fa-accent) !important;
  border-radius: 5px !important;
  color: var(--pakizan-fa-accent) !important;
  background: #ffffff !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  text-decoration: none !important;
}

.shop-home__body .body-part__one .two-columns-layout__container .links__list li a svg,
.shop-home__body .body-part__two .two-columns-layout__container .links__list li a svg {
  display: none !important;
}

.shop-home__body .body-part__one .two-columns-layout__container .links__list li a:hover,
.shop-home__body .body-part__two .two-columns-layout__container .links__list li a:hover,
.shop-home__body .body-part__one .two-columns-layout__container .text-part__body .custom-links a:hover,
.shop-home__body .body-part__two .two-columns-layout__container .text-part__body .custom-links a:hover {
  color: #ffffff !important;
  background: var(--pakizan-fa-accent) !important;
}

/* =========================================================
   6. Remove empty homepage panes before the production group
   ========================================================= */
.shop-home__body .body-part__three:not(:has(.DnnModule)),
.shop-home__body .body-part__four:not(:has(.DnnModule)),
.shop-home__body .body-part__three:has(.third__pane:empty),
.shop-home__body .body-part__four:has(.fourth__pane:empty) {
  display: none !important;
}

/* =========================================================
   7. Pakizan production group section
   The selected module background image is displayed full-cover.
   If no image is selected in the module, the navy fallback remains.
   ========================================================= */
.shop-home__body .body-part__five {
  position: relative !important;
  overflow: hidden !important;
  padding: 0 !important;
  background: var(--pakizan-fa-navy) !important;
}

.shop-home__body .body-part__five > .container {
  width: 100% !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.shop-home__body .body-part__five .fifth__pane {
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.shop-home__body .body-part__five .background-parent .background__container {
  position: relative !important;
  min-height: 620px !important;
  padding: 70px 0 55px !important;
  background-color: var(--pakizan-fa-navy) !important;
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-blend-mode: multiply !important;
}

.shop-home__body .body-part__five .background-parent .background__container::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(15, 19, 91, 0.76);
  pointer-events: none;
}

.shop-home__body .body-part__five .background-parent .background-overlay__container {
  position: relative !important;
  z-index: 1 !important;
  max-width: 1170px !important;
  padding: 40px 46px !important;
  background: rgba(6, 10, 70, 0.70) !important;
  border-radius: 2px !important;
}

.shop-home__body .body-part__five .background-overlay__title,
.shop-home__body .body-part__five .radan-info__container .right-side .radan-info__header {
  color: #ffffff !important;
  font-size: 46px !important;
  font-weight: 900 !important;
  line-height: 1.35 !important;
  text-shadow: none !important;
}

.shop-home__body .body-part__five .background-overlay__second-title,
.shop-home__body .body-part__five .radan-info__container .right-side .radan-info__second-title {
  color: var(--pakizan-fa-accent) !important;
  font-size: 26px !important;
  font-weight: 800 !important;
  line-height: 1.55 !important;
  text-shadow: none !important;
}

.shop-home__body .body-part__five .background-overlay__description,
.shop-home__body .body-part__five .background-overlay__description p,
.shop-home__body .body-part__five .radan-info__container .right-side .radan-info__text {
  height: auto !important;
  color: #ffffff !important;
  font-size: 17px !important;
  line-height: 2 !important;
  text-shadow: none !important;
}

.shop-home__body .body-part__five .radan-info__container {
  position: relative !important;
  z-index: 1 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.75fr) !important;
  gap: 70px !important;
  align-items: center !important;
  width: min(1170px, calc(100% - 30px)) !important;
  margin: 0 auto !important;
  padding: 70px 0 !important;
}

.shop-home__body .body-part__five .radan-info__container .right-side {
  padding: 40px 46px !important;
  background: rgba(6, 10, 70, 0.70) !important;
}

.shop-home__body .body-part__five .radan-info__container .left-side {
  padding: 20px 10px !important;
  text-align: center !important;
}

.shop-home__body .body-part__five .radan-info__container .left-side .radan-info__third-tile {
  color: var(--pakizan-fa-accent) !important;
  font-size: 30px !important;
  font-weight: 800 !important;
}

.shop-home__body .body-part__five .radan-info__container .left-side .radan-info__callus {
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 15px !important;
}

.shop-home__body .body-part__five .radan-info__container .left-side .radan-info__number {
  margin: 18px 0 24px !important;
}

.shop-home__body .body-part__five .radan-info__container .left-side .radan-info__number i {
  width: 58px !important;
  height: 58px !important;
  border-radius: 50% !important;
  background: var(--pakizan-fa-accent) !important;
}

.shop-home__body .body-part__five .radan-info__container .left-side .radan-info__links {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(130px, 1fr)) !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.shop-home__body .body-part__five .radan-info__container .left-side .radan-info__links li {
  padding: 0 !important;
}

.shop-home__body .body-part__five .radan-info__container .left-side .radan-info__links a,
.shop-home__body .body-part__five .background-overlay__links a {
  padding: 10px 16px !important;
  border: 1px solid var(--pakizan-fa-accent) !important;
  border-radius: 4px !important;
  color: var(--pakizan-fa-accent) !important;
  background: transparent !important;
  font-size: 15px !important;
  text-shadow: none !important;
}

.shop-home__body .body-part__five .radan-info__container .left-side .radan-info__links a:hover,
.shop-home__body .body-part__five .background-overlay__links a:hover {
  color: #ffffff !important;
  background: var(--pakizan-fa-accent) !important;
}

@media (max-width: 991px) {
  .shop-home__body .body-part__five .radan-info__container {
    grid-template-columns: 1fr !important;
    gap: 25px !important;
    padding: 40px 15px !important;
  }

  .shop-home__body .body-part__five .background-parent .background__container {
    min-height: 0 !important;
    padding: 35px 0 !important;
  }

  .shop-home__body .body-part__five .background-parent .background-overlay__container {
    margin: 0 15px !important;
    padding: 28px 24px !important;
  }

  .shop-home__body .body-part__five .background-overlay__title,
  .shop-home__body .body-part__five .radan-info__container .right-side .radan-info__header {
    font-size: 34px !important;
  }
}

/* =========================================================
   8. Featured products on homepage
   ========================================================= */
.shop-home__body .body-part__six .farashop__container.container__content-pane > span > p:first-child {
  color: var(--pakizan-fa-text) !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  margin-bottom: 2px !important;
}

.shop-home__body .body-part__six .farashop__container.container__content-pane > h2 > span,
.shop-home__body .body-part__six .farashop__container.container__content-pane > span > span {
  color: var(--pakizan-fa-accent) !important;
  font-size: 36px !important;
  font-weight: 900 !important;
}

.shop-home__body .body-part__six .cpl__template .product-list__header {
  display: none !important;
}

.shop-home__body .body-part__six .cpl__template.product-list {
  margin-top: 15px !important;
}

.shop-home__body .body-part__six .cpl__template .product-list__body {
  position: relative !important;
  padding: 18px 60px 35px !important;
}

.shop-home__body .body-part__six .cpl__template .slick-list {
  padding: 18px 0 28px !important;
}

.shop-home__body .body-part__six .cpl__template .slick-slide {
  padding: 0 14px !important;
}

.shop-home__body .body-part__six .product-list article .product-box__item {
  height: 480px !important;
  padding: 20px 18px !important;
  border: 0 !important;
  border-radius: 18px !important;
  background: #ffffff !important;
  box-shadow: 0 10px 28px rgba(19, 28, 84, 0.08) !important;
}

.shop-home__body .body-part__six .product-box__item .product-box__title,
.shop-home__body .body-part__six .product-box__item .product-box__title div,
.shop-home__body .body-part__six .product-box__item .product-box__title a {
  color: var(--pakizan-fa-text) !important;
  text-align: center !important;
  font-size: 17px !important;
  font-weight: 500 !important;
}

.shop-home__body .body-part__six .product-box__item p + div {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100% !important;
}

.shop-home__body .body-part__six .product-box__item p + div > div {
  float: none !important;
  clear: none !important;
}

.shop-home__body .body-part__six .product-box__item .product-box__prices {
  display: flex !important;
  flex: 1 1 100% !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 50px !important;
  text-align: center !important;
}

.shop-home__body .body-part__six .cpl__template .slick-arrow {
  width: 54px !important;
  height: 54px !important;
  margin-top: -27px !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: var(--pakizan-fa-accent) !important;
  box-shadow: none !important;
  opacity: 1 !important;
}

.shop-home__body .body-part__six .cpl__template .slick-arrow::before {
  border-color: #ffffff !important;
}

.shop-home__body .body-part__six .cpl__template .slick-prev {
  left: 0 !important;
}

.shop-home__body .body-part__six .cpl__template .slick-next {
  right: 0 !important;
}

/* =========================================================
   9. Footer
   ========================================================= */
.footer__container {
  padding: 45px 0 28px !important;
  background: var(--pakizan-fa-surface) !important;
}

@media (min-width: 992px) {
  .footer__container > .container > .row {
    display: grid !important;
    grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(220px, 3fr) !important;
    grid-template-areas:
      "contact links logo"
      "contact links credit" !important;
    column-gap: 42px !important;
    align-items: start !important;
    margin-right: -15px !important;
    margin-left: -15px !important;
  }

  .footer__container .first-footer__section {
    grid-area: logo !important;
  }

  .footer__container .second-footer__section {
    grid-area: links !important;
  }

  .footer__container .third-footer__section {
    grid-area: contact !important;
  }

  .footer__container .fourth-footer__section {
    grid-area: credit !important;
  }

  .footer__container .first-footer__section,
  .footer__container .second-footer__section,
  .footer__container .third-footer__section,
  .footer__container .fourth-footer__section {
    float: none !important;
    width: auto !important;
    padding-right: 15px !important;
    padding-left: 15px !important;
  }
}

.footer__container .first-footer__section {
  text-align: center !important;
}

.footer__container .first-footer__section > a {
  display: block !important;
  text-align: center !important;
}

.footer__container .first-footer__section > a img {
  display: block !important;
  width: auto !important;
  max-width: 150px !important;
  height: auto !important;
  margin: 0 auto !important;
}

.footer__container .first-footer__section #FirstFooterPane img {
  display: block !important;
  width: auto !important;
  max-width: 125px !important;
  height: auto !important;
  margin: 20px auto 0 !important;
}

.footer__container .farashop__container.container__footer-pane .Head {
  margin: 0 0 26px !important;
  color: var(--pakizan-fa-accent) !important;
  font-size: 24px !important;
  font-weight: 800 !important;
  line-height: 1.5 !important;
}

.footer__container .default-link {
  margin: 0 !important;
  padding: 0 !important;
}

.footer__container .default-link li {
  justify-content: flex-start !important;
  gap: 9px !important;
  margin-bottom: 14px !important;
}

.footer__container .default-link li::before {
  color: #a7adb6 !important;
  font-size: 14px !important;
}

.footer__container .default-link li a {
  color: var(--pakizan-fa-text) !important;
  font-size: 15px !important;
  line-height: 1.8 !important;
}

.footer__container .copy-right__container {
  margin: 18px 0 0 !important;
  text-align: center !important;
  line-height: 1.8 !important;
}

.footer__container .copy-right__container a,
.footer__container .copy-right__container span {
  color: #555b66 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}

@media (max-width: 991px) {
  .footer__container {
    padding-bottom: 30px !important;
  }

  .footer__container .first-footer__section,
  .footer__container .second-footer__section,
  .footer__container .third-footer__section,
  .footer__container .fourth-footer__section {
    margin-bottom: 30px !important;
    text-align: center !important;
  }
}

/* =========================================================
   10. Product category page
   ========================================================= */
.advanced-filtering .advanced-filtering__results {
  width: 100% !important;
  margin: 0 !important;
  padding: 38px 0 55px !important;
  background: var(--pakizan-fa-surface) !important;
}

.advanced-filtering .advanced-filtering__results .widget__show-more {
  margin: 0 auto 28px !important;
  padding: 20px 15px 76px !important;
  background: transparent !important;
}

.advanced-filtering .advanced-filtering__results .advanced-filtering__description {
  color: var(--pakizan-fa-text) !important;
}

.advanced-filtering .advanced-filtering__results .product-list {
  margin: 0 -15px !important;
  padding: 18px 0 8px !important;
  background: transparent !important;
}

.advanced-filtering .advanced-filtering__results .product-list article {
  padding-right: 14px !important;
  padding-left: 14px !important;
}

.advanced-filtering .advanced-filtering__results .product-list article .product-box__item {
  height: 480px !important;
  padding: 20px 18px !important;
  border: 0 !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  box-shadow: 0 10px 28px rgba(19, 28, 84, 0.08) !important;
}

.advanced-filtering .advanced-filtering__results .product-box__item .product-box__title,
.advanced-filtering .advanced-filtering__results .product-box__item .product-box__title div,
.advanced-filtering .advanced-filtering__results .product-box__item .product-box__title a {
  color: var(--pakizan-fa-text) !important;
  text-align: center !important;
  font-size: 17px !important;
  font-weight: 500 !important;
}

.advanced-filtering .advanced-filtering__results .product-box__item p + div {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100% !important;
}

.advanced-filtering .advanced-filtering__results .product-box__item p + div > div {
  float: none !important;
  clear: none !important;
}

.advanced-filtering .advanced-filtering__results .product-box__item .product-box__prices {
  display: flex !important;
  flex: 1 1 100% !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 52px !important;
  text-align: center !important;
}

.advanced-filtering .advanced-filtering__results .product-box__item .product-box__status,
.advanced-filtering .advanced-filtering__results .product-box__item .product-box__button {
  float: none !important;
  clear: none !important;
  margin: 0 !important;
  text-align: center !important;
}

.advanced-filtering .advanced-filtering__results .section-one__main-title {
  margin: 8px 0 18px !important;
}

.advanced-filtering .advanced-filtering__results .section-one__main-title p:first-child {
  margin: 0 0 2px !important;
  color: var(--pakizan-fa-text) !important;
  font-size: 22px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
}

.advanced-filtering .advanced-filtering__results .section-one__main-title p:last-child {
  margin: 0 !important;
  color: var(--pakizan-fa-accent) !important;
  font-size: 38px !important;
  font-weight: 900 !important;
  line-height: 1.35 !important;
}

.advanced-filtering .widget__show-more > .toggle {
  right: 15px !important;
  bottom: 15px !important;
  left: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  height: 42px !important;
  line-height: 42px !important;
  background: none !important;
  filter: none !important;
}

.advanced-filtering .widget__show-more > .toggle::before {
  content: "بیشتر بخوانید" !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 42px !important;
  padding: 0 20px !important;
  border: 1px solid var(--pakizan-fa-accent) !important;
  border-radius: 4px !important;
  color: var(--pakizan-fa-accent) !important;
  background: #ffffff !important;
  font-size: 14px !important;
  line-height: 40px !important;
}

.advanced-filtering .widget__show-more > .toggle::after {
  display: none !important;
}

.advanced-filtering .widget__show-more > .toggle.active::before {
  content: "کمتر بخوانید" !important;
}

@media (max-width: 767px) {
  .shop-home__body .body-part__six .cpl__template .product-list__body {
    padding-right: 25px !important;
    padding-left: 25px !important;
  }

  .shop-home__body .body-part__six .product-list article .product-box__item,
  .advanced-filtering .advanced-filtering__results .product-list article .product-box__item {
    height: auto !important;
    min-height: 410px !important;
  }

  .advanced-filtering .advanced-filtering__results {
    padding-top: 24px !important;
    padding-bottom: 35px !important;
  }
}

/* ==========================================================================
   Pakizan Persian Preview R2 refinements
   Baseline: Pakizan Persian Preview R1
   ========================================================================== */

/* Desktop RTL navigation: preserve page order and open nested menus to the left. */
@media (min-width: 992px) {
  body.rtl .farashop__body .radan-header .nav__container nav .main-menu {
    display: flex !important;
    flex-direction: row !important;
    direction: rtl !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    text-align: right !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.rtl .farashop__body .radan-header .nav__container nav .main-menu > li {
    direction: rtl !important;
    float: none !important;
  }

  body.rtl .farashop__body .radan-header .nav__container nav .main-menu > li > ul {
    top: 100% !important;
    right: 0 !important;
    left: auto !important;
    transform-origin: top right !important;
  }

  body.rtl .farashop__body .radan-header .nav__container nav .main-menu ul ul {
    top: 0 !important;
    right: 100% !important;
    left: auto !important;
    transform-origin: right center !important;
  }

  body.rtl .farashop__body .radan-header .nav__container nav .main-menu ul li.has-child > a > i,
  body.rtl .farashop__body .radan-header .nav__container nav .main-menu ul li.has-child:hover > a > i {
    float: left !important;
    margin-right: 8px !important;
    margin-left: 0 !important;
    transform: rotateZ(90deg) !important;
  }
}

/* Two-column product links: do not render configured empty placeholders. */
.shop-home__body .body-part__one .two-columns-layout__container .links__list > li:has(> a[href=""]),
.shop-home__body .body-part__one .two-columns-layout__container .links__list > li:has(> a[title=""]),
.shop-home__body .body-part__two .two-columns-layout__container .links__list > li:has(> a[href=""]),
.shop-home__body .body-part__two .two-columns-layout__container .links__list > li:has(> a[title=""]) {
  display: none !important;
}

.shop-home__body .body-part__one .two-columns-layout__container .links__list li > a[href=""],
.shop-home__body .body-part__one .two-columns-layout__container .links__list li > a[title=""],
.shop-home__body .body-part__two .two-columns-layout__container .links__list li > a[href=""],
.shop-home__body .body-part__two .two-columns-layout__container .links__list li > a[title=""] {
  display: none !important;
}

.shop-home__body .body-part__one .two-columns-layout__container .links__list li > a:not([href=""]):not([title=""]),
.shop-home__body .body-part__two .two-columns-layout__container .links__list li > a:not([href=""]):not([title=""]) {
  color: var(--pakizan-fa-accent) !important;
  border-color: var(--pakizan-fa-accent) !important;
  background: #fff !important;
}

.shop-home__body .body-part__one .two-columns-layout__container .text-part__body,
.shop-home__body .body-part__one .two-columns-layout__container .text-part__body p,
.shop-home__body .body-part__one .two-columns-layout__container .text-part__desc,
.shop-home__body .body-part__two .two-columns-layout__container .text-part__body,
.shop-home__body .body-part__two .two-columns-layout__container .text-part__body p,
.shop-home__body .body-part__two .two-columns-layout__container .text-part__desc {
  direction: rtl !important;
  text-align: center !important;
}

/* Featured products: approved preview uses three desktop cards on a white surface. */
.shop-home__body .body-part__six .cpl__template .product-list__body {
  background: #fff !important;
}

.shop-home__body .body-part__six .cpl__template .slick-slide {
  padding-right: 18px !important;
  padding-left: 18px !important;
}

.shop-home__body .body-part__six .product-list article .product-box__item {
  display: flex !important;
  flex-direction: column !important;
  height: 520px !important;
  min-height: 520px !important;
  overflow: visible !important;
}

.shop-home__body .body-part__six .product-box__item img.img-responsive {
  width: auto !important;
  max-width: 100% !important;
  max-height: 300px !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

.shop-home__body .body-part__six .product-box__item > p + div {
  margin-top: auto !important;
  min-height: 82px !important;
}

.shop-home__body .body-part__six .product-box__item .product-box__title,
.shop-home__body .body-part__six .product-box__item .product-box__title div,
.shop-home__body .body-part__six .product-box__item .product-box__title a {
  font-size: 18px !important;
  line-height: 1.85 !important;
}

/* Footer physical order in RTL preview: logo right, useful links center, contact left. */
@media (min-width: 992px) {
  .footer__container > .container > .row {
    grid-template-areas:
      "logo links contact"
      "credit links contact" !important;
  }
}

/* Category cards: keep every action inside the card and reproduce the preview CTA. */
.advanced-filtering .advanced-filtering__results .product-list article .product-box__item {
  display: flex !important;
  flex-direction: column !important;
  height: auto !important;
  min-height: 500px !important;
  overflow: visible !important;
}

.advanced-filtering .advanced-filtering__results .product-list article .product-box__item img.img-responsive {
  width: auto !important;
  max-width: 100% !important;
  max-height: 280px !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

.advanced-filtering .advanced-filtering__results .product-box__item > p + div {
  margin-top: auto !important;
  min-height: 92px !important;
}

.advanced-filtering .advanced-filtering__results .product-box__item.contact-us .product-box__button {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
}

.advanced-filtering .advanced-filtering__results .product-box__item.contact-us .product-box__button .show__product-page {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 130px !important;
  height: 40px !important;
  margin: 8px auto 0 !important;
  padding: 0 18px !important;
  border: 1px solid var(--pakizan-fa-accent) !important;
  border-radius: 22px !important;
  color: var(--pakizan-fa-accent) !important;
  background: #fff !important;
  font-size: 14px !important;
  line-height: 38px !important;
}

.advanced-filtering .advanced-filtering__results .product-box__item.contact-us .product-box__button .show__product-page:hover,
.advanced-filtering .advanced-filtering__results .product-box__item.contact-us .product-box__button .show__product-page:focus {
  color: #fff !important;
  background: var(--pakizan-fa-accent) !important;
}

/* Read-more is an actual outlined button, not only a colored pseudo-label. */
.advanced-filtering .widget__show-more > .toggle {
  right: auto !important;
  bottom: 15px !important;
  left: 15px !important;
  width: auto !important;
  height: 42px !important;
  padding: 0 20px !important;
  border: 1px solid var(--pakizan-fa-accent) !important;
  border-radius: 4px !important;
  color: var(--pakizan-fa-accent) !important;
  background: #fff !important;
  filter: none !important;
  line-height: 40px !important;
}

.advanced-filtering .widget__show-more > .toggle::before {
  height: auto !important;
  padding: 0 !important;
  border: 0 !important;
  color: inherit !important;
  background: transparent !important;
  line-height: inherit !important;
}

.advanced-filtering .widget__show-more > .toggle:hover,
.advanced-filtering .widget__show-more > .toggle:focus {
  color: #fff !important;
  background: var(--pakizan-fa-accent) !important;
}

@media (max-width: 767px) {
  .shop-home__body .body-part__six .product-list article .product-box__item,
  .advanced-filtering .advanced-filtering__results .product-list article .product-box__item {
    height: auto !important;
    min-height: 410px !important;
  }
}


/* ==========================================================================
   Pakizan Persian Preview R3 refinements
   Baseline: Pakizan Persian Preview R2
   ========================================================================== */

/* Desktop RTL navigation: third-level submenus must open toward the left side. */
@media (min-width: 992px) {
  body.rtl .farashop__body .radan-header .nav__container nav .main-menu li {
    position: relative !important;
  }

  body.rtl .farashop__body .radan-header .nav__container nav .main-menu > li > ul,
  body.rtl .farashop__body .radan-header .nav__container nav .main-menu > li > .sub-menu,
  body.rtl .farashop__body .radan-header .nav__container nav .main-menu > li > .submenu {
    top: 100% !important;
    right: 0 !important;
    left: auto !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    transform: none !important;
    transform-origin: top right !important;
  }

  body.rtl .farashop__body .radan-header .nav__container nav .main-menu li ul li > ul,
  body.rtl .farashop__body .radan-header .nav__container nav .main-menu li ul li > .sub-menu,
  body.rtl .farashop__body .radan-header .nav__container nav .main-menu li ul li > .submenu,
  body.rtl .farashop__body .radan-header .nav__container nav .main-menu li ul li:hover > ul,
  body.rtl .farashop__body .radan-header .nav__container nav .main-menu li ul li:hover > .sub-menu,
  body.rtl .farashop__body .radan-header .nav__container nav .main-menu li ul li:hover > .submenu {
    top: 0 !important;
    right: 100% !important;
    left: auto !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    transform: none !important;
    transform-origin: top right !important;
  }

  body.rtl .farashop__body .radan-header .nav__container nav .main-menu ul li.has-child > a > i,
  body.rtl .farashop__body .radan-header .nav__container nav .main-menu ul li.has-child:hover > a > i {
    float: left !important;
    margin-right: 8px !important;
    margin-left: 0 !important;
    transform: rotate(90deg) !important;
  }
}

/* Featured/special offer ribbon: render as a triangular corner badge like the preview. */
.shop-home__body .body-part__six .product-box__item,
.advanced-filtering .advanced-filtering__results .product-box__item {
  position: relative !important;
}

.shop-home__body .body-part__six .product-box__item .product-box__status,
.advanced-filtering .advanced-filtering__results .product-box__item .product-box__status {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  width: 96px !important;
  height: 96px !important;
  margin: 0 !important;
  overflow: hidden !important;
  z-index: 4 !important;
  pointer-events: none !important;
  text-align: center !important;
}

.shop-home__body .body-part__six .product-box__item .product-box__status::before,
.advanced-filtering .advanced-filtering__results .product-box__item .product-box__status::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: #efb132 !important;
  clip-path: polygon(100% 0, 0 0, 100% 100%) !important;
  z-index: 0 !important;
}

.shop-home__body .body-part__six .product-box__item .product-box__status > *,
.advanced-filtering .advanced-filtering__results .product-box__item .product-box__status > * {
  position: absolute !important;
  top: 18px !important;
  right: -10px !important;
  display: block !important;
  width: 88px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #ffffff !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  text-align: center !important;
  text-decoration: none !important;
  transform: rotate(45deg) !important;
  transform-origin: top right !important;
  z-index: 1 !important;
  pointer-events: none !important;
}

.shop-home__body .body-part__six .product-box__item .product-box__status > *::before,
.advanced-filtering .advanced-filtering__results .product-box__item .product-box__status > *::before,
.shop-home__body .body-part__six .product-box__item .product-box__status > *::after,
.advanced-filtering .advanced-filtering__results .product-box__item .product-box__status > *::after {
  display: none !important;
}

.shop-home__body .body-part__six .product-box__item .product-box__status a,
.shop-home__body .body-part__six .product-box__item .product-box__status span,
.shop-home__body .body-part__six .product-box__item .product-box__status div,
.advanced-filtering .advanced-filtering__results .product-box__item .product-box__status a,
.advanced-filtering .advanced-filtering__results .product-box__item .product-box__status span,
.advanced-filtering .advanced-filtering__results .product-box__item .product-box__status div {
  color: inherit !important;
  background: transparent !important;
}
/* ==========================================================================
   Pakizan Storefront Comprehensive R4 - Persian final refinements
   ========================================================================== */

/* Fallback selectors in addition to runtime menu-level classes. */
@media (min-width: 992px) {
  body.rtl nav.nav__container .main-menu > li > ul {
    top: 100% !important;
    right: 0 !important;
    left: auto !important;
  }

  body.rtl nav.nav__container .main-menu ul li > ul,
  body.rtl nav.nav__container .main-menu ul li:hover > ul {
    top: 0 !important;
    right: 100% !important;
    left: auto !important;
  }
}

.product-box__item .product-box__tag::after {
  content: "پیشنهاد ویژه" !important;
}

/* Featured products: larger media, balanced cards, no gray divider strips. */
.shop-home__body .body-part__six,
.shop-home__body .body-part__six .sixth__pane,
.shop-home__body .body-part__six .farashop__container,
.shop-home__body .body-part__six .cpl__template,
.shop-home__body .body-part__six .cpl__template.product-list,
.shop-home__body .body-part__six .cpl__template .product-list__body,
.shop-home__body .body-part__six .cpl__template .js__slick,
.shop-home__body .body-part__six .cpl__template .slick-list,
.shop-home__body .body-part__six .cpl__template .slick-track {
  border: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
}

.shop-home__body .body-part__six .cpl__template::before,
.shop-home__body .body-part__six .cpl__template::after,
.shop-home__body .body-part__six .cpl__template .product-list__body::before,
.shop-home__body .body-part__six .cpl__template .product-list__body::after,
.shop-home__body .body-part__six .cpl__template .js__slick::before,
.shop-home__body .body-part__six .cpl__template .js__slick::after {
  display: none !important;
  content: none !important;
}

.shop-home__body .body-part__six hr,
.shop-home__body .body-part__six .product-list__header:empty {
  display: none !important;
}

.shop-home__body .body-part__six .cpl__template .product-list__body {
  padding: 14px 45px 30px !important;
}

.shop-home__body .body-part__six .cpl__template .slick-slide {
  padding-right: 10px !important;
  padding-left: 10px !important;
}

.shop-home__body .body-part__six .product-list article .product-box__item {
  height: 455px !important;
  min-height: 455px !important;
  padding: 16px 18px 20px !important;
  overflow: hidden !important;
}

.shop-home__body .body-part__six .product-box__item .product-box__picture {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 270px !important;
  margin: 0 auto !important;
}

.shop-home__body .body-part__six .product-box__item .product-box__picture img,
.shop-home__body .body-part__six .product-box__item img.img-responsive {
  width: auto !important;
  max-width: 245px !important;
  height: auto !important;
  max-height: 265px !important;
  margin: 0 auto !important;
  object-fit: contain !important;
}

.shop-home__body .body-part__six .product-box__item .product-box__title {
  min-height: 64px !important;
  margin: 8px 0 4px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.shop-home__body .body-part__six .product-box__item > p + div {
  min-height: 70px !important;
  margin-top: auto !important;
}

.shop-home__body .body-part__six .cpl__template .slick-arrow {
  top: 50% !important;
  margin-top: -27px !important;
}

/* Persian footer: keep labels and values readable and aligned. */
@media (min-width: 992px) {
  .footer__container > .container > .row {
    grid-template-columns: minmax(360px, 5fr) minmax(280px, 4fr) minmax(225px, 3fr) !important;
    column-gap: 34px !important;
  }
}

.footer__container .copy-right__container {
  margin-top: 16px !important;
  margin-bottom: 0 !important;
}

/* Category read-more button placement. */
.advanced-filtering .widget__show-more {
  padding-bottom: 66px !important;
}

.advanced-filtering .widget__show-more .pakizan-read-more-button,
.advanced-filtering .widget__show-more > .toggle.pakizan-read-more-button {
  position: absolute !important;
  right: auto !important;
  bottom: 12px !important;
  left: 15px !important;
}

@media (max-width: 767px) {
  .shop-home__body .body-part__six .cpl__template .product-list__body {
    padding-right: 28px !important;
    padding-left: 28px !important;
  }

  .shop-home__body .body-part__six .product-list article .product-box__item {
    height: auto !important;
    min-height: 420px !important;
  }
}

/* ==========================================================================
   Pakizan Storefront Comprehensive R5 - Persian menu, cards and footer
   Baseline: Pakizan Storefront Comprehensive R4
   ========================================================================== */

/* 1. Nested RTL menu: remove the white legacy <ul> surface while preserving
   the corrected left-opening direction. */
@media (min-width: 992px) {
  body.rtl .farashop__body .radan-header .nav__container .main-menu ul,
  body.rtl nav.nav__container .main-menu ul {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    background: var(--pakizan-fa-menu) !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18) !important;
  }

  body.rtl .farashop__body .radan-header .nav__container .main-menu ul li,
  body.rtl nav.nav__container .main-menu ul li {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    background: var(--pakizan-fa-menu) !important;
  }

  body.rtl .farashop__body .radan-header .nav__container .main-menu ul li > a,
  body.rtl nav.nav__container .main-menu ul li > a {
    margin: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
  }

  body.rtl .farashop__body .radan-header .nav__container .main-menu ul li > ul,
  body.rtl nav.nav__container .main-menu ul li > ul {
    margin-right: -1px !important;
    margin-left: 0 !important;
  }
}

/* 2. Product cards: price is the primary action. Listing cards do not render
   add-to-basket or view-product buttons in either availability state. */
.shop-home__body .body-part__six .product-box__item .product-box__button,
.advanced-filtering .advanced-filtering__results .product-box__item .product-box__button,
.shop-home__body .body-part__six .product-box__item .show__product-page,
.advanced-filtering .advanced-filtering__results .product-box__item .show__product-page {
  display: none !important;
}

.shop-home__body .body-part__six .product-box__item.available .product-box__prices,
.advanced-filtering .advanced-filtering__results .product-box__item.available .product-box__prices {
  display: flex !important;
  visibility: visible !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 62px !important;
  text-align: center !important;
}

.shop-home__body .body-part__six .product-box__item.available .product-box__prices > div,
.advanced-filtering .advanced-filtering__results .product-box__item.available .product-box__prices > div {
  display: block !important;
  visibility: visible !important;
}

.shop-home__body .body-part__six .product-box__item .product-box__prices > div,
.advanced-filtering .advanced-filtering__results .product-box__item .product-box__prices > div {
  margin-top: 3px !important;
  color: var(--pakizan-fa-accent) !important;
  font-size: 22px !important;
  font-weight: 900 !important;
  line-height: 1.55 !important;
  text-align: center !important;
}

.shop-home__body .body-part__six .product-box__item .product-box__prices > div > span:first-child,
.advanced-filtering .advanced-filtering__results .product-box__item .product-box__prices > div > span:first-child {
  font-size: 22px !important;
  font-weight: 900 !important;
}

.shop-home__body .body-part__six .product-box__item .product-box__prices > div > span:last-child,
.advanced-filtering .advanced-filtering__results .product-box__item .product-box__prices > div > span:last-child {
  color: #555b66 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
}

.shop-home__body .body-part__six .product-box__item .product-box__prices > del,
.advanced-filtering .advanced-filtering__results .product-box__item .product-box__prices > del {
  margin-bottom: 2px !important;
  color: #999 !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
  text-align: center !important;
}

.shop-home__body .body-part__six .product-box__item > p + div,
.advanced-filtering .advanced-filtering__results .product-box__item > p + div {
  align-content: center !important;
  justify-content: center !important;
  min-height: 64px !important;
}

/* 3. Desktop Persian footer proportions: logo 3/12, useful links 3/12,
   contact information 6/12. The existing physical RTL order is retained. */
@media (min-width: 992px) {
  .footer__container > .container > .row {
    grid-template-columns:
      minmax(220px, 3fr)
      minmax(250px, 3fr)
      minmax(440px, 6fr) !important;
    column-gap: 30px !important;
  }

  .footer__container .first-footer__section,
  .footer__container .second-footer__section,
  .footer__container .third-footer__section,
  .footer__container .fourth-footer__section {
    min-width: 0 !important;
  }
}

/* ==========================================================================
   Pakizan Storefront Comprehensive R6
   Scope: Persian Storefront only, after Comprehensive R5.
   Dashboard, Arabic and English Storefronts are intentionally unaffected.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1-2. Desktop navigation typography and equal-height nested menu levels
   -------------------------------------------------------------------------- */
@media (min-width: 992px) {
  body.rtl .farashop__body .radan-header .nav__container .main-menu > li > a {
    font-size: 15px !important;
  }

  body.rtl .farashop__body .radan-header .nav__container .main-menu li,
  body.rtl .farashop__body .radan-header .nav__container .main-menu li > a {
    min-height: 42px !important;
  }

  body.rtl .farashop__body .radan-header .nav__container .main-menu li > a {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 7px !important;
    height: 42px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
  }

  body.rtl .farashop__body .radan-header .nav__container .main-menu ul {
    min-width: 185px !important;
  }

  body.rtl .farashop__body .radan-header .nav__container .main-menu ul li > a {
    width: 100% !important;
    justify-content: space-between !important;
    padding-right: 14px !important;
    padding-left: 14px !important;
    font-size: 15px !important;
  }

  body.rtl .farashop__body .radan-header .nav__container .main-menu li > a > i {
    position: static !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    float: none !important;
    flex: 0 0 auto !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
  }

  body.rtl .farashop__body .radan-header .nav__container .main-menu > li > a > i {
    transform: none !important;
  }

  body.rtl .farashop__body .radan-header .nav__container .main-menu ul li.has-child > a > i,
  body.rtl .farashop__body .radan-header .nav__container .main-menu ul li.pakizan-menu-has-children > a > i {
    transform: rotate(90deg) !important;
  }
}

/* --------------------------------------------------------------------------
   3. Header search results: viewport-safe, taller, and below the search input
   -------------------------------------------------------------------------- */
@media (min-width: 992px) {
  body.rtl .radan-header__Utility .search-section,
  body.rtl .radan-header__Utility .search-section .header__search-box-cn,
  body.rtl .radan-header__Utility .search-section .header__search-box {
    overflow: visible !important;
  }

  body.rtl .header__search-box .search-box__result {
    z-index: 10050 !important;
    overflow: visible !important;
  }

  body.rtl .header__search-box .search-box__result.pakizan-search-result-fitted {
    position: fixed !important;
    right: auto !important;
    margin: 0 !important;
  }

  body.rtl .header__search-box .search-box__result #handlebars-result__header-search {
    max-height: 440px !important;
    margin: 0 !important;
    padding: 12px 14px 14px !important;
    overflow: hidden !important;
    border: 1px solid #e6ebf1 !important;
    border-radius: 10px !important;
    background: #fff !important;
    box-shadow: 0 14px 32px rgba(17, 25, 74, .18) !important;
  }

  body.rtl .header__search-box .search-box__result #handlebars-result__header-search > div {
    max-height: 390px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  body.rtl .header__search-box .search-box__result #handlebars-result__header-search .clearfix {
    display: flex !important;
    align-items: center !important;
    min-height: 82px !important;
    padding: 10px 4px !important;
    border-bottom: 1px solid #edf0f4 !important;
  }

  body.rtl .header__search-box .search-box__result #handlebars-result__header-search .clearfix:last-child {
    border-bottom: 0 !important;
  }

  body.rtl .header__search-box .search-box__result #handlebars-result__header-search .clearfix [class*="col-"]:first-child {
    max-height: none !important;
  }

  body.rtl .header__search-box .search-box__result #handlebars-result__header-search img {
    display: block !important;
    max-height: 68px !important;
    margin: 0 auto !important;
    object-fit: contain !important;
  }
}

/* --------------------------------------------------------------------------
   4. Logged-in user icon must behave like a real profile link
   -------------------------------------------------------------------------- */
body.rtl .farashop__body .radan-header__Utility .login-section {
  position: relative !important;
}

body.rtl .farashop__body .radan-header__Utility .login-section > a,
body.rtl .farashop__body .radan-header__Utility .login-section .header__user {
  position: relative !important;
  z-index: 2 !important;
  width: 100% !important;
  height: 100% !important;
  cursor: pointer !important;
  pointer-events: auto !important;
}

/* --------------------------------------------------------------------------
   5. Basket preview colors
   -------------------------------------------------------------------------- */
body.rtl .basket-preview .basket-preview__header > div:first-child {
  border-bottom-color: var(--pakizan-fa-accent) !important;
}

body.rtl .basket-preview .basket-preview__header > div:last-child i {
  background-color: var(--pakizan-fa-accent) !important;
}

body.rtl .basket-preview .basket-preview__header > div:last-child i:hover,
body.rtl .basket-preview .basket-preview__header > div:last-child i:focus {
  background-color: var(--pakizan-fa-navy) !important;
}

/* --------------------------------------------------------------------------
   6. Hide slider navigation when the module really has only one slide
   -------------------------------------------------------------------------- */
body.rtl .slider__container.pakizan-single-slide .ls-nav-prev,
body.rtl .slider__container.pakizan-single-slide .ls-nav-next,
body.rtl .slider__container.pakizan-single-slide .swiper-button-prev,
body.rtl .slider__container.pakizan-single-slide .swiper-button-next,
body.rtl .slider__container.pakizan-single-slide .slick-prev,
body.rtl .slider__container.pakizan-single-slide .slick-next,
body.rtl .slider__container.pakizan-single-slide .owl-prev,
body.rtl .slider__container.pakizan-single-slide .owl-next,
body.rtl .slider__container.pakizan-single-slide .flex-prev,
body.rtl .slider__container.pakizan-single-slide .flex-next {
  display: none !important;
}

/* --------------------------------------------------------------------------
   7. Two-column products below hero: right-aligned content, vertically centered
   -------------------------------------------------------------------------- */
body.rtl .shop-home__body .body-part__one .two-columns-layout__item,
body.rtl .shop-home__body .body-part__two .two-columns-layout__item {
  align-items: center !important;
}

body.rtl .shop-home__body .body-part__one .two-columns-layout__container .text-part__container,
body.rtl .shop-home__body .body-part__two .two-columns-layout__container .text-part__container {
  align-items: stretch !important;
  justify-content: center !important;
  text-align: right !important;
}

body.rtl .shop-home__body .body-part__one .custom-title__container,
body.rtl .shop-home__body .body-part__two .custom-title__container,
body.rtl .shop-home__body .body-part__one .custom-title__container p,
body.rtl .shop-home__body .body-part__two .custom-title__container p {
  width: 100% !important;
  align-items: stretch !important;
  text-align: right !important;
}

body.rtl .shop-home__body .body-part__one .two-columns-layout__container .text-part__body,
body.rtl .shop-home__body .body-part__one .two-columns-layout__container .text-part__body p,
body.rtl .shop-home__body .body-part__one .two-columns-layout__container .text-part__desc,
body.rtl .shop-home__body .body-part__two .two-columns-layout__container .text-part__body,
body.rtl .shop-home__body .body-part__two .two-columns-layout__container .text-part__body p,
body.rtl .shop-home__body .body-part__two .two-columns-layout__container .text-part__desc {
  width: 100% !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
  direction: rtl !important;
  text-align: right !important;
}

body.rtl .shop-home__body .body-part__one .two-columns-layout__container .links__list,
body.rtl .shop-home__body .body-part__two .two-columns-layout__container .links__list,
body.rtl .shop-home__body .body-part__one .two-columns-layout__container .custom-links,
body.rtl .shop-home__body .body-part__two .two-columns-layout__container .custom-links {
  justify-content: flex-start !important;
  direction: rtl !important;
  text-align: right !important;
}

body.rtl .shop-home__body .body-part__one .two-columns-layout__container .links__list li a,
body.rtl .shop-home__body .body-part__two .two-columns-layout__container .links__list li a,
body.rtl .shop-home__body .body-part__one .two-columns-layout__container .custom-links a,
body.rtl .shop-home__body .body-part__two .two-columns-layout__container .custom-links a {
  background: transparent !important;
}

/* --------------------------------------------------------------------------
   8. Featured products: titles, larger cards/media, correct RTL arrows,
      real tags only, and non-available statuses
   -------------------------------------------------------------------------- */
body.rtl .shop-home__body .body-part__six .farashop__container.container__content-pane > span > p:first-child,
body.rtl .shop-home__body .body-part__six .custom-title__container .little_title,
body.rtl .shop-home__body .body-part__six .custom-title__container .little_title a {
  color: #222 !important;
}

body.rtl .shop-home__body .body-part__six .farashop__container.container__content-pane > h2 > span,
body.rtl .shop-home__body .body-part__six .farashop__container.container__content-pane > span > span,
body.rtl .shop-home__body .body-part__six .custom-title__container .main_title,
body.rtl .shop-home__body .body-part__six .custom-title__container .main_title a {
  color: var(--pakizan-fa-accent) !important;
}

body.rtl .shop-home__body .body-part__six .product-list article .product-box__item {
  height: 515px !important;
  min-height: 515px !important;
  padding: 20px 20px 24px !important;
  border-radius: 20px !important;
}

body.rtl .shop-home__body .body-part__six .product-box__item .product-box__picture,
body.rtl .shop-home__body .body-part__six .product-box__item > div:has(> img.img-responsive) {
  height: 305px !important;
}

body.rtl .shop-home__body .body-part__six .product-box__item .product-box__picture img,
body.rtl .shop-home__body .body-part__six .product-box__item img.img-responsive {
  max-width: 285px !important;
  max-height: 300px !important;
}

body.rtl .shop-home__body .body-part__six .product-box__item .product-box__title,
body.rtl .shop-home__body .body-part__six .product-box__item .product-box__title a,
body.rtl .shop-home__body .body-part__six .product-box__item .product-box__title div {
  min-height: 62px !important;
  color: #222 !important;
  font-size: 18px !important;
  line-height: 1.85 !important;
  text-align: center !important;
}

body.rtl .shop-home__body .body-part__six .product-box__item .product-box__prices > div,
body.rtl .advanced-filtering .product-box__item .product-box__prices > div {
  color: var(--pakizan-fa-accent) !important;
  font-size: 23px !important;
  font-weight: 900 !important;
  text-align: center !important;
}

body.rtl .shop-home__body .body-part__six .product-box__item .product-box__prices > del,
body.rtl .advanced-filtering .product-box__item .product-box__prices > del {
  font-size: 16px !important;
  text-align: center !important;
}

body.rtl .shop-home__body .body-part__six .cpl__template .slick-arrow {
  top: 50% !important;
  width: 46px !important;
  height: 46px !important;
  margin-top: -23px !important;
  border-radius: 50% !important;
  background: var(--pakizan-fa-accent) !important;
}

body.rtl .shop-home__body .body-part__six .cpl__template .slick-next {
  right: auto !important;
  left: -8px !important;
}

body.rtl .shop-home__body .body-part__six .cpl__template .slick-prev {
  right: -8px !important;
  left: auto !important;
}

body.rtl .shop-home__body .body-part__six .cpl__template .slick-next::before {
  content: "\f0d9" !important;
  color: #fff !important;
  font-family: FontAwesome !important;
  font-size: 22px !important;
}

body.rtl .shop-home__body .body-part__six .cpl__template .slick-prev::before {
  content: "\f0da" !important;
  color: #fff !important;
  font-family: FontAwesome !important;
  font-size: 22px !important;
}

/* Undo the obsolete status-as-ribbon rule. Status belongs below the card. */
body.rtl .shop-home__body .body-part__six .product-box__item .product-box__status,
body.rtl .advanced-filtering .product-box__item .product-box__status {
  position: static !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  display: block !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 5px auto 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  color: var(--pakizan-fa-navy) !important;
  background: transparent !important;
  clip-path: none !important;
  transform: none !important;
  box-shadow: none !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.7 !important;
  text-align: center !important;
  pointer-events: auto !important;
  z-index: auto !important;
}

body.rtl .shop-home__body .body-part__six .product-box__item .product-box__status::before,
body.rtl .advanced-filtering .product-box__item .product-box__status::before {
  display: none !important;
  content: none !important;
  position: static !important;
  background: transparent !important;
  clip-path: none !important;
}

body.rtl .shop-home__body .body-part__six .product-box__item.available .product-box__status,
body.rtl .advanced-filtering .product-box__item.available .product-box__status {
  display: none !important;
}

body.rtl .shop-home__body .body-part__six .product-box__item.special-order .product-box__status,
body.rtl .shop-home__body .body-part__six .product-box__item.coming-soon .product-box__status,
body.rtl .shop-home__body .body-part__six .product-box__item.unavailable .product-box__status,
body.rtl .shop-home__body .body-part__six .product-box__item.discontinued .product-box__status,
body.rtl .shop-home__body .body-part__six .product-box__item.contact-us .product-box__status,
body.rtl .advanced-filtering .product-box__item.special-order .product-box__status,
body.rtl .advanced-filtering .product-box__item.coming-soon .product-box__status,
body.rtl .advanced-filtering .product-box__item.unavailable .product-box__status,
body.rtl .advanced-filtering .product-box__item.discontinued .product-box__status,
body.rtl .advanced-filtering .product-box__item.contact-us .product-box__status {
  display: block !important;
}

/* Only an actual non-empty Tag element becomes the special-offer corner. */
body.rtl .product-box__item .product-box__tag:empty {
  display: none !important;
}

body.rtl .product-box__item .product-box__tag.pakizan-special-offer-tag {
  position: absolute !important;
  top: 0 !important;
  right: auto !important;
  bottom: auto !important;
  left: 0 !important;
  display: block !important;
  width: 100px !important;
  height: 100px !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  color: transparent !important;
  background: var(--pakizan-fa-accent) !important;
  clip-path: polygon(0 0, 100% 0, 0 100%) !important;
  transform: none !important;
  box-shadow: none !important;
  font-size: 0 !important;
  z-index: 5 !important;
}

body.rtl .product-box__item .product-box__tag.pakizan-special-offer-tag::after {
  content: "پیشنهاد ویژه" !important;
  position: absolute !important;
  top: 20px !important;
  left: -8px !important;
  display: block !important;
  width: 88px !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  text-align: center !important;
  transform: rotate(-45deg) !important;
}

/* --------------------------------------------------------------------------
   9. Footer: align larger logo and increase section headings by 2px
   -------------------------------------------------------------------------- */
@media (min-width: 992px) {
  body.rtl .footer__container .first-footer__section {
    padding-top: 18px !important;
    align-self: start !important;
  }
}

body.rtl .footer__container .first-footer__section > a img {
  max-width: 175px !important;
}

body.rtl .footer__container .farashop__container.container__footer-pane .Head {
  font-size: 26px !important;
}

/* --------------------------------------------------------------------------
   10-11. Category hero spacing and a shorter blue contact bar
   -------------------------------------------------------------------------- */
@media (min-width: 992px) {
  body.rtl .advanced-filtering .background-parent .background__container {
    display: flex !important;
    align-items: center !important;
    min-height: 265px !important;
    padding-top: 48px !important;
    padding-bottom: 86px !important;
  }

  body.rtl .advanced-filtering .background-parent .background-overlay__container {
    width: 100% !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  body.rtl .advanced-filtering .background-parent .background-overlay__title {
    margin-top: 0 !important;
    margin-bottom: 14px !important;
    line-height: 1.35 !important;
  }

  body.rtl .advanced-filtering .background-parent .background-overlay__second-title {
    margin-top: 8px !important;
    margin-bottom: 0 !important;
    line-height: 1.45 !important;
  }
}

body.rtl .advanced-filtering .phone-text__badge .phone-text__parent {
  min-height: 64px !important;
  margin-top: -44px !important;
  padding: 4px 10px !important;
  border-radius: 10px !important;
}

body.rtl .advanced-filtering .phone-text__badge .phone-text__text {
  padding-top: 6px !important;
  padding-bottom: 6px !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
}

body.rtl .advanced-filtering .phone-text__badge .phone-text__phone .phone-text__icon {
  width: 52px !important;
  height: 52px !important;
  font-size: 24px !important;
}

/* --------------------------------------------------------------------------
   12. Category cards
   -------------------------------------------------------------------------- */
body.rtl .advanced-filtering .advanced-filtering__results {
  padding-top: 26px !important;
}

body.rtl .advanced-filtering .advanced-filtering__results .product-list {
  padding-top: 8px !important;
}

body.rtl .advanced-filtering .advanced-filtering__results .product-list article .product-box__item {
  min-height: 510px !important;
  padding: 20px 20px 24px !important;
  border-radius: 20px !important;
}

body.rtl .advanced-filtering .product-box__item > div:has(> img.img-responsive) {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 300px !important;
}

body.rtl .advanced-filtering .product-box__item img.img-responsive {
  max-width: 285px !important;
  max-height: 290px !important;
  object-fit: contain !important;
}

body.rtl .advanced-filtering .product-box__item .product-box__title,
body.rtl .advanced-filtering .product-box__item .product-box__title a,
body.rtl .advanced-filtering .product-box__item .product-box__title div {
  min-height: 60px !important;
  font-size: 18px !important;
  line-height: 1.85 !important;
  text-align: center !important;
}

/* --------------------------------------------------------------------------
   13. Product description bullet color
   -------------------------------------------------------------------------- */
/* R45: marker color is owned by the native description template. */

/* --------------------------------------------------------------------------
   14. Product detail special-offer badge inside the main image corner
   -------------------------------------------------------------------------- */
body.rtl .farashop__product-page .pakizan-product-gallery-column {
  position: relative !important;
}

body.rtl .farashop__product-page .pakizan-product-gallery-column .product-page__tag.TopRight {
  top: 14px !important;
  right: 14px !important;
  bottom: auto !important;
  left: auto !important;
  width: 58px !important;
  height: 58px !important;
  min-width: 58px !important;
  padding: 0 !important;
  color: #fff !important;
  background: var(--pakizan-fa-accent) !important;
  border-radius: 50% !important;
  z-index: 8 !important;
}

/* --------------------------------------------------------------------------
   15. Product gallery: equal widths and separated thumbnails
   -------------------------------------------------------------------------- */
body.rtl .farashop__product-page .product-page__gallery {
  width: 100% !important;
  max-width: 520px !important;
  margin: 0 auto 22px !important;
}

body.rtl .farashop__product-page .product-gallery__big,
body.rtl .farashop__product-page .product-gallery__small {
  width: 100% !important;
  max-width: 520px !important;
  margin-right: auto !important;
  margin-left: auto !important;
  box-sizing: border-box !important;
}

body.rtl .farashop__product-page .product-gallery__big .slick-slide .item {
  border: 1px solid #e1e5ea !important;
  border-radius: 14px !important;
}

body.rtl .farashop__product-page .product-gallery__small {
  position: relative !important;
  padding-right: 52px !important;
  padding-left: 52px !important;
}

body.rtl .farashop__product-page .product-gallery__small .slick-list {
  margin: 0 !important;
  overflow: hidden !important;
}

body.rtl .farashop__product-page .product-gallery__small .slick-track {
  display: flex !important;
  align-items: stretch !important;
}

body.rtl .farashop__product-page .product-gallery__small .slick-slide {
  height: auto !important;
  padding-right: 4px !important;
  padding-left: 4px !important;
}

body.rtl .farashop__product-page .product-gallery__small .slick-slide > div,
body.rtl .farashop__product-page .product-gallery__small .item {
  height: 100% !important;
}

body.rtl .farashop__product-page .product-gallery__small .item {
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid #e1e5ea !important;
  border-radius: 10px !important;
  background: #fff !important;
}

body.rtl .farashop__product-page .product-gallery__small .item img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  border-radius: 9px !important;
}

body.rtl .farashop__product-page .product-gallery__small .slick-next,
body.rtl .farashop__product-page .product-gallery__small .slick-prev {
  top: 50% !important;
  margin-top: -25px !important;
}

body.rtl .farashop__product-page .product-gallery__small .slick-next {
  left: 0 !important;
}

body.rtl .farashop__product-page .product-gallery__small .slick-prev {
  right: 0 !important;
}

/* --------------------------------------------------------------------------
   16. Product price, discount, and order button
   -------------------------------------------------------------------------- */
@media (min-width: 992px) {
  body.rtl .farashop__product-page .price-button__container {
    min-height: 90px !important;
    align-items: center !important;
  }
}

body.rtl .farashop__product-page .product-page__prices > .js__product-page__prices,
body.rtl .farashop__product-page .product-page__prices .js__product-page__prices {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px 12px !important;
  min-height: 62px !important;
}

body.rtl .farashop__product-page .product-page__prices .js__product-page__prices > del,
body.rtl .farashop__product-page .product-page__prices .js__product-page__prices > div {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
}

body.rtl .farashop__product-page .product-page__prices .product-page__discount-label {
  color: #fff !important;
  background: #1e0242 !important;
}

body.rtl .farashop__product-page .product-page__product-btn .product-btn.product-btn__available {
  color: #fff !important;
  background: var(--pakizan-fa-accent) !important;
}

body.rtl .farashop__product-page .product-page__product-btn .product-btn.product-btn__available:hover,
body.rtl .farashop__product-page .product-page__product-btn .product-btn.product-btn__available:focus {
  background: var(--pakizan-fa-navy) !important;
}

/* --------------------------------------------------------------------------
   18. Close the technical-specification table with a full border
   -------------------------------------------------------------------------- */
body.rtl .farashop__product-page table {
  width: 100% !important;
  border: 1px solid #e1e4e8 !important;
  border-left: 1px solid #e1e4e8 !important;
  border-collapse: collapse !important;
  box-sizing: border-box !important;
}

body.rtl .farashop__product-page table tr,
body.rtl .farashop__product-page table th,
body.rtl .farashop__product-page table td {
  border-color: #e1e4e8 !important;
}

/* --------------------------------------------------------------------------
   19. Immediate inline feedback for comment submission
   -------------------------------------------------------------------------- */
body.rtl .product-page__user-comments .pakizan-comment-feedback {
  display: block !important;
  margin: 14px 0 0 !important;
  padding: 11px 15px !important;
  border: 1px solid #b7e0c2 !important;
  border-radius: 7px !important;
  color: #176b2c !important;
  background: #edf9f0 !important;
  font-size: 14px !important;
  line-height: 1.8 !important;
  text-align: right !important;
}

body.rtl .product-page__user-comments .pakizan-comment-feedback.pakizan-comment-error {
  border-color: #efb6b6 !important;
  color: #9b1c1c !important;
  background: #fff0f0 !important;
}

/* ==========================================================================
   Pakizan Storefront Comprehensive R7
   Baseline: Comprehensive R6
   Scope: Persian Storefront only.
   ========================================================================== */

/* 1. Desktop search results are positioned immediately below the opened field. */
@media (min-width: 992px) {
  body.rtl .header__search-box .search-box__result.pakizan-r7-search-result {
    position: fixed !important;
    right: auto !important;
    bottom: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 100500 !important;
  }

  body.rtl .header__search-box .search-box__result.pakizan-r7-search-result #handlebars-result__header-search {
    width: 100% !important;
    max-height: min(430px, calc(100vh - 130px)) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    border: 1px solid #e2e7ed !important;
    border-radius: 10px !important;
    background: #fff !important;
    box-shadow: 0 14px 34px rgba(10, 20, 65, .20) !important;
  }
}

/* 2. Desktop menu remains one row; excess items are placed under «سایر». */
@media (min-width: 992px) {
  body.rtl nav.nav__container .main-menu {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    width: 100% !important;
    white-space: nowrap !important;
  }

  body.rtl nav.nav__container .main-menu > li {
    flex: 0 0 auto !important;
  }

  body.rtl nav.nav__container .main-menu > li.pakizan-more-menu > a {
    color: #fff !important;
  }

  body.rtl nav.nav__container .main-menu > li.pakizan-more-menu > ul {
    min-width: 210px !important;
  }
}

/* 3. The exact main-slider controls disappear when only one content slide exists. */
body.rtl .main-slider.pakizan-r7-single-slide .main-slider__navigation,
body.rtl .main-slider.pakizan-r7-single-slide .main-slider__pagination-wrapper,
body.rtl .slider__container.pakizan-r7-single-slide .main-slider__navigation,
body.rtl .slider__container.pakizan-r7-single-slide .main-slider__pagination-wrapper {
  display: none !important;
}

/* 4. Featured-products eyebrow is black, while the main heading remains blue. */
body.rtl .shop-home__body .body-part__six .farashop__container.container__content-pane > span > p:first-child,
body.rtl .shop-home__body .body-part__six .custom-title__container .little_title,
body.rtl .shop-home__body .body-part__six .custom-title__container .little_title a,
body.rtl .shop-home__body .body-part__six .pakizan-featured-eyebrow {
  color: #222 !important;
}

/* 5. Featured product carousel: one solid caret in each blue circle. */
body.rtl .shop-home__body .body-part__six .cpl__template .slick-arrow {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  top: 50% !important;
  width: 44px !important;
  height: 44px !important;
  margin-top: -22px !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 50% !important;
  color: transparent !important;
  background: var(--pakizan-fa-accent) !important;
  font-size: 0 !important;
}

body.rtl .shop-home__body .body-part__six .cpl__template .slick-arrow > * {
  display: none !important;
}

body.rtl .shop-home__body .body-part__six .cpl__template .slick-arrow::before {
  position: static !important;
  display: block !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  border: 0 !important;
  color: #fff !important;
  background: transparent !important;
  font-family: FontAwesome !important;
  font-size: 22px !important;
  font-weight: normal !important;
  line-height: 1 !important;
  opacity: 1 !important;
  transform: none !important;
}

body.rtl .shop-home__body .body-part__six .cpl__template .slick-arrow::after {
  display: none !important;
  content: none !important;
}

body.rtl .shop-home__body .body-part__six .cpl__template .slick-prev {
  right: -22px !important;
  left: auto !important;
}

body.rtl .shop-home__body .body-part__six .cpl__template .slick-prev::before {
  content: "\f0da" !important;
}

body.rtl .shop-home__body .body-part__six .cpl__template .slick-next {
  right: auto !important;
  left: -22px !important;
}

body.rtl .shop-home__body .body-part__six .cpl__template .slick-next::before {
  content: "\f0d9" !important;
}

/* 6. Only a genuine “پیشنهاد ویژه” tag is visible, using the theme accent. */
body.rtl .product-box__item .product-box__tag {
  background-color: var(--pakizan-fa-accent) !important;
}

body.rtl .product-box__item .product-box__tag.pakizan-r7-not-special {
  display: none !important;
}

body.rtl .product-box__item .product-box__tag.pakizan-special-offer-tag {
  background-color: var(--pakizan-fa-accent) !important;
}

/* 8. Category banner titles keep breathing room from breadcrumb and contact bar. */
@media (min-width: 992px) {
  body.rtl .content-data .background-parent .background__container,
  body.rtl .advanced-filtering .background-parent .background__container {
    display: flex !important;
    align-items: center !important;
    min-height: 330px !important;
    padding-top: 78px !important;
    padding-bottom: 88px !important;
    box-sizing: border-box !important;
  }

  body.rtl .content-data .background-parent .background-overlay__container,
  body.rtl .advanced-filtering .background-parent .background-overlay__container {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    min-height: 160px !important;
    padding-top: 20px !important;
    padding-bottom: 20px !important;
  }

  body.rtl .content-data .background-overlay__title,
  body.rtl .advanced-filtering .background-overlay__title {
    margin: 0 0 14px !important;
    line-height: 1.35 !important;
  }

  body.rtl .content-data .background-overlay__second-title,
  body.rtl .advanced-filtering .background-overlay__second-title {
    display: block !important;
    margin-top: 8px !important;
    line-height: 1.45 !important;
  }
}

/* 9. Shorter blue consultation bar. */
body.rtl .content-data .phone-text__badge .phone-text__parent,
body.rtl .advanced-filtering .phone-text__badge .phone-text__parent {
  min-height: 58px !important;
  margin-top: -36px !important;
  padding: 3px 9px !important;
  border-radius: 10px !important;
}

body.rtl .content-data .phone-text__badge .phone-text__container,
body.rtl .advanced-filtering .phone-text__badge .phone-text__container {
  min-height: 52px !important;
}

body.rtl .content-data .phone-text__badge .phone-text__text,
body.rtl .advanced-filtering .phone-text__badge .phone-text__text {
  padding-top: 4px !important;
  padding-bottom: 4px !important;
  font-size: 16px !important;
  line-height: 1.45 !important;
}

body.rtl .content-data .phone-text__badge .phone-text__phone .phone-text__icon,
body.rtl .advanced-filtering .phone-text__badge .phone-text__phone .phone-text__icon {
  width: 48px !important;
  height: 48px !important;
  font-size: 23px !important;
}

/* 10. Category product cards are equal-height, including differing statuses/actions. */
body.rtl .advanced-filtering .advanced-filtering__results .product-list {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: stretch !important;
}

body.rtl .advanced-filtering .advanced-filtering__results .product-list > article {
  display: flex !important;
  align-items: stretch !important;
}

body.rtl .advanced-filtering .advanced-filtering__results .product-list > article .product-box__item {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  height: 550px !important;
  min-height: 550px !important;
  max-height: 550px !important;
}

body.rtl .advanced-filtering .advanced-filtering__results .product-box__item > p + div {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  min-height: 112px !important;
  margin-top: auto !important;
}

body.rtl .advanced-filtering .advanced-filtering__results .product-box__item .product-box__button {
  min-height: 0 !important;
}

body.rtl .advanced-filtering .advanced-filtering__results .product-box__item .show__product-page {
  display: none !important;
}

/* 11. Product badge is placed inside the actual main-image frame. */
body.rtl .farashop__product-page .product-page__gallery {
  position: relative !important;
}

body.rtl .farashop__product-page .product-page__gallery > .product-page__tag.TopRight,
body.rtl .farashop__product-page .product-page__gallery .product-page__tag.TopRight,
body.rtl .farashop__product-page .product-page__tag.TopRight.pakizan-r7-tag-in-gallery {
  top: 14px !important;
  right: 14px !important;
  bottom: auto !important;
  left: auto !important;
  z-index: 20 !important;
}

/* 12. Product thumbnail arrows sit at the two corners of the thumbnail box. */
body.rtl .farashop__product-page .product-gallery__small {
  position: relative !important;
  width: 100% !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
}

body.rtl .farashop__product-page .product-gallery__small .slick-list {
  margin-right: 54px !important;
  margin-left: 54px !important;
}

body.rtl .farashop__product-page .product-gallery__small .slick-prev,
body.rtl .farashop__product-page .product-gallery__small .slick-next {
  top: 50% !important;
  width: 46px !important;
  height: 46px !important;
  margin-top: -23px !important;
  z-index: 5 !important;
}

body.rtl .farashop__product-page .product-gallery__small .slick-prev {
  right: 2px !important;
  left: auto !important;
}

body.rtl .farashop__product-page .product-gallery__small .slick-next {
  right: auto !important;
  left: 2px !important;
}

/* 13. Product price/order action aligns with the description column. */
@media (min-width: 992px) {
  body.rtl .farashop__product-page .price-button__container {
    display: grid !important;
    grid-template-columns: auto minmax(190px, 1fr) !important;
    align-items: center !important;
    column-gap: 28px !important;
    width: 100% !important;
    min-height: 92px !important;
    margin-top: 22px !important;
    direction: ltr !important;
  }

  body.rtl .farashop__product-page .product-page__product-btn {
    grid-column: 1 !important;
    justify-content: flex-start !important;
    direction: rtl !important;
  }

  body.rtl .farashop__product-page .product-page__prices {
    grid-column: 2 !important;
    justify-self: stretch !important;
    direction: rtl !important;
    text-align: right !important;
  }
}

body.rtl .farashop__product-page .product-page__product-btn .product-btn.product-btn__available {
  min-width: 150px !important;
  padding-right: 48px !important;
  padding-left: 24px !important;
  text-indent: 0 !important;
  white-space: nowrap !important;
  font-size: 0 !important;
}

body.rtl .farashop__product-page .product-page__product-btn .product-btn.product-btn__available::after {
  content: "ثبت سفارش" !important;
  display: inline-block !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 42px !important;
}

/* 14. More separation above tabs and preview-sized labels. */
body.rtl .farashop__product-page .tabs__container {
  clear: both !important;
  margin-top: 54px !important;
}

body.rtl .farashop__product-page .tabify {
  min-height: 62px !important;
  padding: 7px 10px !important;
}

body.rtl .farashop__product-page .tabify > li {
  height: 48px !important;
  padding-right: 24px !important;
  padding-left: 24px !important;
  font-family: IRANYekan, IRANYekanFallback, Vazir, Tahoma, Arial, sans-serif !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  line-height: 48px !important;
}

/* 15. The technical-specification block gets an explicit closed left edge. */
body.rtl .farashop__product-page .product__attributes,
body.rtl .farashop__product-page .tabify__active .product__attributes,
body.rtl .farashop__product-page .table-responsive:has(.product__attributes) {
  position: relative !important;
  overflow: hidden !important;
  border: 1px solid #dfe3e8 !important;
  box-shadow: inset 1px 0 0 #dfe3e8 !important;
}

body.rtl .farashop__product-page .product__attributes::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 1px !important;
  background: #dfe3e8 !important;
  z-index: 4 !important;
}

/* 22. Mobile cloned search shows real mirrored results, not a blank panel. */
@media (max-width: 991px) {
  body.rtl .sidebar__container .js__header__search-box.pakizan-r7-mobile-search {
    position: relative !important;
    display: block !important;
    width: calc(100% - 24px) !important;
    margin: 18px 12px !important;
    overflow: visible !important;
  }

  body.rtl .sidebar__container .js__header__search-box.pakizan-r7-mobile-search .input-group {
    width: 100% !important;
  }

  body.rtl .sidebar__container .js__header__search-box.pakizan-r7-mobile-search .search-box__result {
    position: static !important;
    display: none !important;
    width: 100% !important;
    max-height: 360px !important;
    margin-top: 8px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    border: 1px solid #e2e7ed !important;
    border-radius: 8px !important;
    background: #fff !important;
    box-shadow: 0 9px 24px rgba(10, 20, 65, .14) !important;
  }

  body.rtl .sidebar__container .js__header__search-box.pakizan-r7-mobile-search.pakizan-has-results .search-box__result {
    display: block !important;
  }

  body.rtl .sidebar__container .js__header__search-box.pakizan-r7-mobile-search .search-box__result .clearfix {
    display: flex !important;
    align-items: center !important;
    min-height: 76px !important;
    padding: 8px 4px !important;
    border-bottom: 1px solid #edf0f4 !important;
  }
}

/* 23. Mobile product-introduction titles, body and CTA are centered. */
@media (max-width: 767px) {
  body.rtl .shop-home__body .body-part__one .text-part__container,
  body.rtl .shop-home__body .body-part__two .text-part__container,
  body.rtl .shop-home__body .body-part__one .custom-title__container,
  body.rtl .shop-home__body .body-part__two .custom-title__container,
  body.rtl .shop-home__body .body-part__one .custom-title__container p,
  body.rtl .shop-home__body .body-part__two .custom-title__container p,
  body.rtl .shop-home__body .body-part__one .text-part__body,
  body.rtl .shop-home__body .body-part__two .text-part__body,
  body.rtl .shop-home__body .body-part__one .text-part__body p,
  body.rtl .shop-home__body .body-part__two .text-part__body p,
  body.rtl .shop-home__body .body-part__one .text-part__desc,
  body.rtl .shop-home__body .body-part__two .text-part__desc {
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }

  body.rtl .shop-home__body .body-part__one .links__list,
  body.rtl .shop-home__body .body-part__two .links__list,
  body.rtl .shop-home__body .body-part__one .custom-links,
  body.rtl .shop-home__body .body-part__two .custom-links {
    justify-content: center !important;
    text-align: center !important;
  }
}

/* 24-25. Mobile footer links are centered and copyright clears fixed toolbar. */
@media (max-width: 767px) {
  body.rtl .footer__container .default-link li {
    justify-content: center !important;
    text-align: center !important;
  }

  body.rtl .footer__container .default-link li a {
    text-align: center !important;
  }

  body.rtl .footer__container {
    padding-bottom: 118px !important;
  }

  body.rtl .footer__container .copy-right__container {
    position: relative !important;
    z-index: 2 !important;
    margin-top: 26px !important;
    margin-bottom: 78px !important;
    padding: 0 12px !important;
    line-height: 1.8 !important;
  }
}

/* ==========================================================================
   Pakizan Storefront Comprehensive R8
   Baseline: Comprehensive R7
   Scope: Persian public Storefront and Persian content pages.
   English, Arabic and /dashboard remain unchanged.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Desktop search: the actual result panel sits directly below the input.
   R7 fixed-position inline values are neutralized with !important.
   -------------------------------------------------------------------------- */
@media (min-width: 992px) {
  body.rtl header .header__search-box {
    position: relative !important;
    overflow: visible !important;
  }

  body.rtl header .header__search-box .search-box__result,
  body.rtl header .header__search-box .search-box__result.pakizan-r7-search-result,
  body.rtl header .header__search-box .search-box__result.pakizan-search-result-fitted,
  body.rtl header .header__search-box .search-box__result.pakizan-r8-search-result {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    right: auto !important;
    bottom: auto !important;
    left: 0 !important;
    display: block !important;
    width: min(660px, calc(100vw - 24px)) !important;
    min-height: 106px !important;
    max-height: min(430px, calc(100vh - 130px)) !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    visibility: hidden !important;
    opacity: 0 !important;
    z-index: 100500 !important;
  }

  body.rtl header .header__search-box.search-box__open .search-box__result,
  body.rtl header .header__search-box-cn.active .header__search-box.search-box__open .search-box__result {
    visibility: visible !important;
    opacity: 1 !important;
  }

  body.rtl header .header__search-box .search-box__result #handlebars-result__header-search {
    display: block !important;
    width: 100% !important;
    min-height: 96px !important;
    max-height: min(410px, calc(100vh - 150px)) !important;
    margin: 0 !important;
    padding: 12px 14px 14px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    border: 1px solid #e2e7ed !important;
    border-radius: 10px !important;
    background: #fff !important;
    box-shadow: 0 14px 34px rgba(10, 20, 65, .20) !important;
    transform: none !important;
    opacity: 1 !important;
  }

  body.rtl header .header__search-box .search-box__result #handlebars-result__header-search > div {
    display: block !important;
    max-height: none !important;
    overflow: visible !important;
  }

  body.rtl header .header__search-box .search-box__result #handlebars-result__header-search .clearfix {
    display: flex !important;
    direction: rtl !important;
    align-items: center !important;
    gap: 14px !important;
    width: 100% !important;
    min-height: 86px !important;
    margin: 0 !important;
    padding: 9px 4px !important;
    overflow: hidden !important;
    border-bottom: 1px solid #edf0f4 !important;
  }

  body.rtl header .header__search-box .search-box__result #handlebars-result__header-search .clearfix:last-child {
    border-bottom: 0 !important;
  }

  body.rtl header .header__search-box .search-box__result #handlebars-result__header-search .clearfix [class*="col-"] {
    float: none !important;
    width: auto !important;
    min-width: 0 !important;
    max-height: none !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  body.rtl header .header__search-box .search-box__result #handlebars-result__header-search .clearfix [class*="col-"]:has(img) {
    flex: 0 0 84px !important;
  }

  body.rtl header .header__search-box .search-box__result #handlebars-result__header-search .clearfix [class*="col-"]:not(:has(img)) {
    flex: 1 1 auto !important;
  }

  body.rtl header .header__search-box .search-box__result #handlebars-result__header-search img {
    display: block !important;
    width: 78px !important;
    height: 78px !important;
    max-width: 78px !important;
    max-height: 78px !important;
    margin: 0 auto !important;
    border-radius: 8px !important;
    object-fit: contain !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  body.rtl header .header__search-box .search-box__result #handlebars-result__header-search a {
    display: inline-block !important;
    color: #151963 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.7 !important;
    white-space: normal !important;
  }

  body.rtl header .header__search-box .search-box__result #handlebars-result__header-search small {
    display: block !important;
    color: #555 !important;
    font-size: 12px !important;
    line-height: 1.8 !important;
    white-space: normal !important;
  }
}

/* --------------------------------------------------------------------------
   2-3. Featured-products arrows on the card boundary and blue offer ribbon.
   Runtime calculates the exact arrow positions after Slick is laid out.
   -------------------------------------------------------------------------- */
body.rtl .shop-home__body .body-part__six .cpl__template .slick-slider {
  position: relative !important;
  overflow: visible !important;
}

body.rtl .shop-home__body .body-part__six .cpl__template .slick-arrow.pakizan-r8-aligned-arrow {
  top: var(--pakizan-r8-arrow-top, 50%) !important;
  right: auto !important;
  left: var(--pakizan-r8-arrow-left, auto) !important;
  width: 42px !important;
  height: 42px !important;
  margin: 0 !important;
  transform: none !important;
}

body.rtl .shop-home__body .body-part__six .cpl__template .slick-arrow.pakizan-r8-aligned-arrow::before {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 42px !important;
  height: 42px !important;
  margin: 0 !important;
  color: #fff !important;
  font-family: FontAwesome !important;
  font-size: 20px !important;
  line-height: 1 !important;
}

body.rtl .shop-home__body .body-part__six .cpl__template .slick-prev.pakizan-r8-aligned-arrow::before {
  content: "\f0d9" !important;
}

body.rtl .shop-home__body .body-part__six .cpl__template .slick-next.pakizan-r8-aligned-arrow::before {
  content: "\f0da" !important;
}

body.rtl .product-box__item.pakizan-r8-has-special-offer {
  overflow: hidden !important;
}

body.rtl .product-box__item .product-box__tag,
body.rtl .product-box__item .product-box__tag.pakizan-special-offer-tag {
  background: #289fff !important;
  background-color: #289fff !important;
  border-color: #289fff !important;
  box-shadow: none !important;
}

body.rtl .product-box__item .product-box__tag.pakizan-r7-not-special,
body.rtl .product-box__item .product-box__tag.pakizan-r8-not-special {
  display: none !important;
}

/* --------------------------------------------------------------------------
   4-7. Product-group banner, short blue bar, rounded tagged card, and no CTA.
   -------------------------------------------------------------------------- */
@media (min-width: 992px) {
  body.rtl .content-data .background-parent .background__container,
  body.rtl .advanced-filtering .background-parent .background__container {
    display: block !important;
    min-height: 380px !important;
    padding: 58px 0 92px !important;
    box-sizing: border-box !important;
  }

  body.rtl .content-data .background-parent .background-overlay__container,
  body.rtl .advanced-filtering .background-parent .background-overlay__container {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
    width: min(1170px, calc(100% - 30px)) !important;
    min-height: 205px !important;
    margin: 20px auto 0 !important;
    padding: 22px 15px 20px !important;
    box-sizing: border-box !important;
  }

  body.rtl .content-data .background-overlay__title,
  body.rtl .advanced-filtering .background-overlay__title,
  body.rtl .content-data .background-overlay__second-title,
  body.rtl .advanced-filtering .background-overlay__second-title {
    width: min(530px, 100%) !important;
    margin-right: 0 !important;
    margin-left: auto !important;
    text-align: right !important;
  }

  body.rtl .content-data .background-overlay__title,
  body.rtl .advanced-filtering .background-overlay__title {
    margin-top: 0 !important;
    margin-bottom: 13px !important;
    line-height: 1.35 !important;
  }

  body.rtl .content-data .background-overlay__second-title,
  body.rtl .advanced-filtering .background-overlay__second-title {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    line-height: 1.45 !important;
  }
}

body.rtl .content-data .phone-text__badge .phone-text__parent,
body.rtl .advanced-filtering .phone-text__badge .phone-text__parent {
  min-height: 52px !important;
  margin-top: -31px !important;
  padding: 2px 8px !important;
}

body.rtl .content-data .phone-text__badge .phone-text__container,
body.rtl .advanced-filtering .phone-text__badge .phone-text__container {
  min-height: 48px !important;
}

body.rtl .content-data .phone-text__badge .phone-text__text,
body.rtl .advanced-filtering .phone-text__badge .phone-text__text {
  padding-top: 3px !important;
  padding-bottom: 3px !important;
  line-height: 1.4 !important;
}

body.rtl .content-data .phone-text__badge .phone-text__phone .phone-text__icon,
body.rtl .advanced-filtering .phone-text__badge .phone-text__phone .phone-text__icon {
  width: 44px !important;
  height: 44px !important;
}

body.rtl .advanced-filtering .product-box__item.pakizan-r8-has-special-offer {
  border-radius: 20px !important;
  overflow: hidden !important;
}

body.rtl .advanced-filtering .show__product-page,
body.rtl .advanced-filtering a.show__product-page,
body.rtl .advanced-filtering .product-box__button .show__product-page,
body.rtl .advanced-filtering .pakizan-r8-hide-view-product {
  display: none !important;
}

/* --------------------------------------------------------------------------
   8-10. Product gallery arrows and desktop price/order alignment.
   -------------------------------------------------------------------------- */
body.rtl .farashop__product-page .product-gallery__small {
  position: relative !important;
  width: 100% !important;
  padding: 0 !important;
}

body.rtl .farashop__product-page .product-gallery__small .slick-list {
  margin-right: 20px !important;
  margin-left: 20px !important;
}

body.rtl .farashop__product-page .product-gallery__small .slick-prev,
body.rtl .farashop__product-page .product-gallery__small .slick-next {
  top: 50% !important;
  width: 38px !important;
  height: 38px !important;
  margin-top: -19px !important;
  transform: none !important;
}

body.rtl .farashop__product-page .product-gallery__small .slick-prev {
  right: -19px !important;
  left: auto !important;
}

body.rtl .farashop__product-page .product-gallery__small .slick-next {
  right: auto !important;
  left: -19px !important;
}

body.rtl .farashop__product-page .product-gallery__small .slick-prev::before,
body.rtl .farashop__product-page .product-gallery__small .slick-next::before {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 38px !important;
  height: 38px !important;
  font-size: 18px !important;
}

@media (min-width: 992px) {
  body.rtl .farashop__product-page .price-button__container {
    display: flex !important;
    flex-direction: row !important;
    direction: rtl !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 24px !important;
    width: 100% !important;
    min-height: 92px !important;
    margin-top: 28px !important;
  }

  body.rtl .farashop__product-page .product-page__prices {
    order: 1 !important;
    flex: 0 0 225px !important;
    justify-self: auto !important;
    direction: rtl !important;
    text-align: right !important;
  }

  body.rtl .farashop__product-page .product-page__product-btn {
    order: 2 !important;
    display: flex !important;
    direction: rtl !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 14px !important;
    margin: 0 !important;
  }
}

body.rtl .farashop__product-page .product-page__product-btn .product-btn.product-btn__available {
  min-width: 174px !important;
  padding-right: 24px !important;
  padding-left: 24px !important;
  text-indent: 0 !important;
  font-size: 0 !important;
}

body.rtl .farashop__product-page .product-page__product-btn .product-btn.product-btn__available::before {
  display: none !important;
  content: none !important;
}

body.rtl .farashop__product-page .product-page__product-btn .product-btn.product-btn__available::after {
  content: "ثبت سفارش" !important;
  display: block !important;
  width: 100% !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 49px !important;
  text-align: center !important;
}

/* --------------------------------------------------------------------------
   11-14. Hypermedia details: attachments, audio, related items, photo spacing.
   These rules act on the markup emitted by Hypermedia's existing templates.
   -------------------------------------------------------------------------- */
body.rtl .article__attachments,
body.rtl .article__attachments.article__panel,
body.rtl .article__attachments .detail__album,
body.rtl .AttachFile-default__container,
body.rtl .AttachFile-template1__item {
  visibility: visible !important;
  opacity: 1 !important;
}

body.rtl .article__attachments {
  display: block !important;
  min-height: 60px !important;
}

body.rtl .article__attachments .detail__album {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: stretch !important;
  gap: 14px !important;
  margin: 0 !important;
}

body.rtl .article__attachments .detail__album > *,
body.rtl .article__attachments .detail__album .detail__album__item {
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.rtl .article__attachments .detail__album .detail__album__item {
  flex: 0 1 calc(25% - 11px) !important;
}

body.rtl .article__attachments .detail__album .detail__album__image {
  margin: 0 !important;
  overflow: hidden !important;
  border-radius: 10px !important;
}

body.rtl .article__attachments .detail__album .detail__album__image img {
  display: block !important;
  width: 100% !important;
  border-radius: 10px !important;
}

.lg-outer .lg-item.lg-current audio.lg-object,
.lg-outer .lg-video audio,
.lg-outer audio.lg-video-object {
  position: absolute !important;
  top: auto !important;
  right: 5% !important;
  bottom: 92px !important;
  left: 5% !important;
  display: block !important;
  width: 90% !important;
  max-width: 1100px !important;
  height: 42px !important;
  margin: 0 auto !important;
  z-index: 1085 !important;
  transform: none !important;
}

body.rtl .article__related .related__articles__list {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px 16px !important;
  padding: 0 !important;
  list-style: none !important;
}

body.rtl .article__related .related__articles__list > li,
body.rtl .article__related .related__articles__list > .related-temp--taha,
body.rtl .article__related .related-temp--taha {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.rtl .article__related .related-temp--taha .post-holder {
  display: flex !important;
  direction: rtl !important;
  align-items: center !important;
  min-height: 76px !important;
  margin: 0 !important;
  padding: 7px !important;
  border: 1px solid #e5e8ec !important;
  border-radius: 9px !important;
  background: #fff !important;
}

body.rtl .article__related .related-temp--taha .post-holder figure {
  flex: 0 0 64px !important;
  width: 64px !important;
  margin: 0 0 0 10px !important;
}

body.rtl .article__related .related-temp--taha .post-holder figure img {
  display: block !important;
  width: 64px !important;
  height: 64px !important;
  border-radius: 7px !important;
  object-fit: cover !important;
}

body.rtl .article__related .related-temp--taha .post-title {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  font-size: 14px !important;
  line-height: 1.8 !important;
  text-align: right !important;
}

/* --------------------------------------------------------------------------
   15-16. About-us and agency-request pages: title and top spacing.
   Runtime adds route-specific body classes and, only if absent, a local h1.
   -------------------------------------------------------------------------- */
body.pakizan-r8-about-page .pakizan-r8-page-heading,
body.pakizan-r8-agency-form-page .pakizan-r8-page-heading {
  width: min(1170px, calc(100% - 30px)) !important;
  margin: 32px auto 24px !important;
  padding: 24px 28px !important;
  border-radius: 6px !important;
  color: #fff !important;
  background: #1e0342 !important;
  text-align: center !important;
}

body.pakizan-r8-about-page .pakizan-r8-page-heading h1,
body.pakizan-r8-agency-form-page .pakizan-r8-page-heading h1 {
  margin: 0 !important;
  color: #fff !important;
  font-size: 32px !important;
  font-weight: 800 !important;
  line-height: 1.5 !important;
}

body.pakizan-r8-about-page .pakizan-r8-page-top-spacer,
body.pakizan-r8-agency-form-page .pakizan-r8-page-top-spacer {
  display: block !important;
  height: 30px !important;
}

/* --------------------------------------------------------------------------
   18-20. Mobile header search, centered CTA and footer clearance.
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  body.rtl .sidebar__container .js__header__search-box,
  body.rtl .sidebar__container .js__header__search-box.pakizan-r7-mobile-search,
  body.rtl .sidebar__container .header__search-box {
    width: calc(100% - 24px) !important;
    max-width: calc(100% - 24px) !important;
    margin-right: 12px !important;
    margin-left: 12px !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  body.rtl .sidebar__container .header__search-box .input-group {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  body.rtl .sidebar__container .header__search-box .input-group input {
    flex: 1 1 auto !important;
    width: 0 !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  body.rtl .sidebar__container .header__search-box .input-group-addon {
    flex: 0 0 48px !important;
    width: 48px !important;
    max-width: 48px !important;
    padding: 0 !important;
  }
}

@media (max-width: 767px) {
  body.rtl .shop-home__body .body-part__one .links__list,
  body.rtl .shop-home__body .body-part__two .links__list,
  body.rtl .shop-home__body .body-part__one .custom-links,
  body.rtl .shop-home__body .body-part__two .custom-links {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    text-align: center !important;
  }

  body.rtl .shop-home__body .body-part__one .links__list li,
  body.rtl .shop-home__body .body-part__two .links__list li {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
  }

  body.rtl .footer__container {
    padding-bottom: 82px !important;
  }

  body.rtl .footer__container .copy-right__container {
    margin-top: 22px !important;
    margin-bottom: 0 !important;
    padding: 0 12px !important;
  }
}

/* --------------------------------------------------------------------------
   21-22. Mobile product prices and tabs.
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  body.rtl .farashop__product-page .price-button__container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 14px !important;
  }

  body.rtl .farashop__product-page .product-page__prices {
    order: 1 !important;
    width: 100% !important;
  }

  body.rtl .farashop__product-page .product-page__prices > div,
  body.rtl .farashop__product-page .product-page__prices .js__product-page__prices {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
  }

  body.rtl .farashop__product-page .product-page__prices del {
    order: 1 !important;
    display: block !important;
    margin: 0 0 4px !important;
  }

  body.rtl .farashop__product-page .product-page__prices > div > div,
  body.rtl .farashop__product-page .product-page__prices .js__product-page__prices > div {
    order: 2 !important;
    margin: 0 !important;
  }

  body.rtl .farashop__product-page .product-page__product-btn {
    order: 2 !important;
  }

  body.rtl .farashop__product-page .tabify {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 4px !important;
    width: 100% !important;
    min-height: 0 !important;
    padding: 6px !important;
    border-radius: 32px !important;
  }

  body.rtl .farashop__product-page .tabify > li {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 0 !important;
    height: 54px !important;
    padding: 0 8px !important;
    overflow: hidden !important;
    font-size: 16px !important;
    line-height: 1.35 !important;
    text-align: center !important;
    white-space: normal !important;
  }

  body.rtl .farashop__product-page .tabify > li > * {
    display: block !important;
    width: 100% !important;
    overflow: hidden !important;
    text-align: center !important;
    text-overflow: ellipsis !important;
    white-space: normal !important;
  }

  body.rtl .article__related .related__articles__list {
    grid-template-columns: 1fr !important;
  }

  body.rtl .article__attachments .detail__album .detail__album__item {
    flex-basis: calc(50% - 7px) !important;
  }
}

/* ==========================================================================
   Pakizan Storefront Comprehensive R9
   Baseline: Comprehensive R8
   Scope: Persian public Storefront and Persian content pages.
   ========================================================================== */

/* 1. Search results are rendered in a body-level portal below the real input. */
body > .pakizan-r9-search-portal {
  position: fixed !important;
  display: block !important;
  width: min(680px, calc(100vw - 24px)) !important;
  min-height: 112px !important;
  max-height: min(540px, calc(100vh - 100px)) !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  z-index: 1000000 !important;
}

body > .pakizan-r9-search-portal.pakizan-r9-search-open {
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

body > .pakizan-r9-search-portal #handlebars-result__header-search {
  display: block !important;
  width: 100% !important;
  min-height: 108px !important;
  max-height: min(520px, calc(100vh - 120px)) !important;
  margin: 0 !important;
  padding: 10px 12px 12px !important;
  overflow: hidden !important;
  border: 1px solid #dfe5ec !important;
  border-radius: 10px !important;
  background: #fff !important;
  box-shadow: 0 16px 36px rgba(10, 20, 65, .22) !important;
  transform: none !important;
  opacity: 1 !important;
}

body > .pakizan-r9-search-portal #handlebars-result__header-search > div {
  display: block !important;
  max-height: 500px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
}

body > .pakizan-r9-search-portal #handlebars-result__header-search .clearfix {
  display: flex !important;
  direction: rtl !important;
  align-items: center !important;
  gap: 14px !important;
  width: 100% !important;
  min-height: 86px !important;
  margin: 0 !important;
  padding: 8px 4px !important;
  border-bottom: 1px solid #edf0f4 !important;
}

body > .pakizan-r9-search-portal #handlebars-result__header-search .clearfix [class*="col-"] {
  float: none !important;
  width: auto !important;
  min-width: 0 !important;
  max-height: none !important;
  padding: 0 !important;
  overflow: visible !important;
}

body > .pakizan-r9-search-portal #handlebars-result__header-search .clearfix [class*="col-"]:first-child {
  flex: 0 0 82px !important;
}

body > .pakizan-r9-search-portal #handlebars-result__header-search .clearfix [class*="col-"]:last-child {
  flex: 1 1 auto !important;
}

body > .pakizan-r9-search-portal #handlebars-result__header-search img {
  display: block !important;
  width: 76px !important;
  height: 76px !important;
  max-width: 76px !important;
  max-height: 76px !important;
  margin: 0 auto !important;
  border-radius: 8px !important;
  object-fit: contain !important;
}

body > .pakizan-r9-search-portal #handlebars-result__header-search a {
  color: #151963 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.7 !important;
  white-space: normal !important;
}

body > .pakizan-r9-search-portal #handlebars-result__header-search small {
  display: block !important;
  color: #555 !important;
  font-size: 12px !important;
  line-height: 1.8 !important;
  white-space: normal !important;
}

body > .pakizan-r9-search-portal #handlebars-result__header-search > div > div:last-child {
  position: sticky !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  padding-top: 8px !important;
  background: #fff !important;
  z-index: 3 !important;
}

body > .pakizan-r9-search-portal #handlebars-result__header-search .btn.btn-info {
  color: #fff !important;
  background: #289fff !important;
  border-color: #289fff !important;
}

/* 2. Featured carousel: physical left/right arrows with correct RTL behavior. */
body.rtl .shop-home__body .body-part__six .cpl__template .slick-arrow.pakizan-r9-featured-arrow {
  top: var(--pakizan-r9-arrow-top, 50%) !important;
  right: auto !important;
  left: var(--pakizan-r9-arrow-left, auto) !important;
  width: 42px !important;
  height: 42px !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
}

body.rtl .shop-home__body .body-part__six .cpl__template .slick-arrow.pakizan-r9-featured-arrow::before {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 42px !important;
  height: 42px !important;
  margin: 0 !important;
  color: #fff !important;
  font-family: FontAwesome !important;
  font-size: 20px !important;
  line-height: 1 !important;
  opacity: 1 !important;
}

body.rtl .shop-home__body .body-part__six .cpl__template .slick-prev.pakizan-r9-featured-arrow::before {
  content: "\f0da" !important;
}

body.rtl .shop-home__body .body-part__six .cpl__template .slick-next.pakizan-r9-featured-arrow::before {
  content: "\f0d9" !important;
}

/* 3. Force every real special-offer ribbon and its generated layers to #289FFF. */
body.rtl .product-box__item .product-box__tag.pakizan-special-offer-tag,
body.rtl .product-box__item .product-box__tag.pakizan-special-offer-tag::before,
body.rtl .product-box__item .product-box__tag.pakizan-special-offer-tag::after,
body.rtl .product-box__item .product-box__tag.pakizan-special-offer-tag > *,
body.rtl .product-box__item.pakizan-r9-has-special-offer .product-box__tag,
body.rtl .product-box__item.pakizan-r9-has-special-offer .product-box__tag::before,
body.rtl .product-box__item.pakizan-r9-has-special-offer .product-box__tag::after {
  background-color: #289fff !important;
  border-color: #289fff !important;
  box-shadow: none !important;
  filter: none !important;
}

body.rtl .product-box__item .product-box__tag.pakizan-r9-not-special {
  display: none !important;
}

/* 4. Larger navy phone square in the blue category bar. */
body.rtl .content-data .phone-text__badge .phone-text__phone .phone-text__icon,
body.rtl .advanced-filtering .phone-text__badge .phone-text__phone .phone-text__icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 60px !important;
  height: 60px !important;
  min-width: 60px !important;
  min-height: 60px !important;
  color: #fff !important;
  background: #151963 !important;
  border-radius: 9px !important;
  font-size: 28px !important;
}

body.rtl .content-data .phone-text__badge .phone-text__parent,
body.rtl .advanced-filtering .phone-text__badge .phone-text__parent {
  min-height: 66px !important;
  padding-top: 3px !important;
  padding-bottom: 3px !important;
}

/* 5-7. Product detail order row and thumbnail arrows. */
@media (min-width: 992px) {
  body.rtl .farashop__product-page .pakizan-r9-main-row {
    display: flex !important;
    direction: rtl !important;
    align-items: stretch !important;
  }

  body.rtl .farashop__product-page .pakizan-r9-gallery-column,
  body.rtl .farashop__product-page .pakizan-r9-info-column {
    float: none !important;
    display: flex !important;
    flex-direction: column !important;
  }

  body.rtl .farashop__product-page .pakizan-r9-info-column .price-button__container {
    display: flex !important;
    flex-direction: row !important;
    direction: rtl !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 22px !important;
    width: 100% !important;
    min-height: 92px !important;
    margin-top: auto !important;
    margin-bottom: 18px !important;
  }

  body.rtl .farashop__product-page .pakizan-r9-info-column .product-page__prices {
    order: 1 !important;
    flex: 0 0 225px !important;
    text-align: right !important;
  }

  body.rtl .farashop__product-page .pakizan-r9-info-column .product-page__product-btn {
    order: 2 !important;
    display: flex !important;
    flex-direction: row !important;
    direction: rtl !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    margin: 0 !important;
  }
}

body.rtl .farashop__product-page .product-btn.product-btn__available .pakizan-r9-order-label {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-align: center !important;
}

body.rtl .farashop__product-page .product-btn.product-btn__available i,
body.rtl .farashop__product-page .product-btn.product-btn__available svg {
  display: none !important;
}

body.rtl .farashop__product-page .product-gallery__small {
  position: relative !important;
  overflow: visible !important;
}

body.rtl .farashop__product-page .product-gallery__small .slick-list {
  margin-right: 18px !important;
  margin-left: 18px !important;
}

body.rtl .farashop__product-page .product-gallery__small .slick-prev,
body.rtl .farashop__product-page .product-gallery__small .slick-next {
  top: 50% !important;
  width: 36px !important;
  height: 36px !important;
  margin: 0 !important;
  transform: translateY(-50%) !important;
  z-index: 7 !important;
}

body.rtl .farashop__product-page .product-gallery__small .slick-prev {
  right: -18px !important;
  left: auto !important;
}

body.rtl .farashop__product-page .product-gallery__small .slick-next {
  right: auto !important;
  left: -18px !important;
}

body.rtl .farashop__product-page .product-gallery__small .slick-prev::before,
body.rtl .farashop__product-page .product-gallery__small .slick-next::before {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  font-size: 17px !important;
}

/* 8. Internal pages without a hero get a visible heading and top spacing. */
body.pakizan-r9-internal-page .pakizan-r9-internal-heading {
  width: min(1170px, calc(100% - 30px)) !important;
  margin: 30px auto 24px !important;
  padding: 24px 28px !important;
  color: #fff !important;
  background: #1e0342 !important;
  border-radius: 6px !important;
  text-align: center !important;
}

body.pakizan-r9-internal-page .pakizan-r9-internal-heading h1 {
  margin: 0 !important;
  color: #fff !important;
  font-size: 32px !important;
  font-weight: 800 !important;
  line-height: 1.5 !important;
}

body.pakizan-r9-internal-page .DnnModuleTitle,
body.pakizan-r9-internal-page .DnnModuleTitle .Head,
body.pakizan-r9-internal-page .dnnModuleTitle,
body.pakizan-r9-internal-page .dnnModuleTitle .Head {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* 10-11. Related articles and attachment media galleries. */
body.rtl .article__related .related__articles__list {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px 16px !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.rtl .article__related .related__articles__list > li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.rtl .article__related .related__articles__list > li > a {
  display: flex !important;
  direction: rtl !important;
  align-items: center !important;
  min-height: 78px !important;
  padding: 7px !important;
  border: 1px solid #e5e8ec !important;
  border-radius: 9px !important;
  background: #fff !important;
}

body.rtl .article__related .related__articles__list > li > a > div:first-child {
  flex: 0 0 66px !important;
  width: 66px !important;
  margin-left: 11px !important;
}

body.rtl .article__related .related__articles__list > li > a > div:first-child img,
body.rtl .article__related .related__articles__list img {
  display: block !important;
  width: 66px !important;
  height: 66px !important;
  border-radius: 7px !important;
  object-fit: cover !important;
}

body.rtl .article__related .related__articles__list > li > a > div:last-child {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  color: #222 !important;
  font-size: 14px !important;
  line-height: 1.8 !important;
  text-align: right !important;
}

body.rtl .article__attachments {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  min-height: 40px !important;
}

body.rtl .article__attachments:has(.detail__album:empty) {
  display: none !important;
}

body.rtl .article__attachments .detail__album {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
  margin: 0 !important;
}

body.rtl .article__attachments .detail__album > *,
body.rtl .article__attachments .detail__album .detail__album__item {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.rtl .article__attachments .detail__album .detail__album__image,
body.rtl .article__attachments .detail__album .detail__album__item > a,
body.rtl .article__attachments .detail__album figure {
  display: block !important;
  aspect-ratio: 4 / 3 !important;
  margin: 0 !important;
  overflow: hidden !important;
  border: 1px solid #e4e7eb !important;
  border-radius: 10px !important;
  background: #f7f7f7 !important;
}

body.rtl .article__attachments .detail__album img,
body.rtl .article__attachments .detail__album video {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  border-radius: 9px !important;
  object-fit: cover !important;
}

/* 13. Advanced Links PhotoGallery / LightGallery stability. */
body.rtl .picture-gallery.needs-lightgallery {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 14px 0 !important;
}

body.rtl .picture-gallery.needs-lightgallery > a {
  display: block !important;
}

body.rtl .picture-gallery.needs-lightgallery .picture__item__image img {
  width: 100% !important;
  height: auto !important;
  object-fit: cover !important;
}

/* 14-18. Mobile layout fixes. */
@media (max-width: 991px) {
  body.rtl .sidebar__container .header__search-box,
  body.rtl .sidebar__container .js__header__search-box {
    position: relative !important;
    right: auto !important;
    left: auto !important;
    display: block !important;
    width: calc(100% - 32px) !important;
    max-width: calc(100% - 32px) !important;
    margin: 20px 16px !important;
    padding: 5px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    transform: none !important;
  }

  body.rtl .sidebar__container .header__search-box .input-group {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  body.rtl .sidebar__container .header__search-box .input-group input {
    flex: 1 1 auto !important;
    width: calc(100% - 52px) !important;
    min-width: 0 !important;
    max-width: calc(100% - 52px) !important;
    box-sizing: border-box !important;
  }

  body.rtl .sidebar__container .header__search-box .input-group-addon {
    flex: 0 0 48px !important;
    width: 48px !important;
    max-width: 48px !important;
  }

  body.pakizan-r9-sidebar-open .product-page__tag,
  body.pakizan-r9-sidebar-open .product-box__tag {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

@media (max-width: 767px) {
  body.rtl .shop-home__body .body-part__six,
  body.rtl .shop-home__body .body-part__six .product-list__body,
  body.rtl .shop-home__body .body-part__six .slick-list,
  body.rtl .shop-home__body .body-part__six .slick-track,
  body.rtl .shop-home__body .body-part__six .slick-slide {
    background: transparent !important;
  }

  body.rtl .shop-home__body .body-part__six .product-box__item {
    height: auto !important;
    min-height: 410px !important;
    padding-bottom: 18px !important;
  }

  body.rtl .shop-home__body .body-part__six .product-box__picture,
  body.rtl .shop-home__body .body-part__six .product-box__item > div:has(> img.img-responsive) {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 260px !important;
  }

  body.rtl .shop-home__body .body-part__six .product-box__item img {
    display: block !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  body.rtl .farashop__product-page .price-button__container {
    gap: 16px !important;
    margin-bottom: 20px !important;
    padding-bottom: 0 !important;
  }

  body.rtl .farashop__product-page .product-page__product-btn {
    display: flex !important;
    flex-direction: row !important;
    direction: rtl !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    width: 100% !important;
    margin: 0 !important;
  }

  body.rtl .farashop__product-page .product-page__product-btn .count-box,
  body.rtl .farashop__product-page .product-page__product-btn .product-btn.product-btn__available {
    height: 50px !important;
    margin: 0 !important;
  }

  body.rtl .farashop__product-page .tabs__container {
    margin-top: 24px !important;
  }

  body.rtl .farashop__product-page .tabify {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 4px !important;
  }

  body.rtl .farashop__product-page .tabify > li.pakizan-r9-empty-tab {
    display: none !important;
  }

  body.rtl .article__contents .article__image__container {
    text-align: center !important;
  }

  body.rtl .article__contents .article__image {
    float: none !important;
    display: block !important;
    max-width: 100% !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  body.rtl .article__related .related__articles__list {
    grid-template-columns: 1fr !important;
  }

  body.rtl .article__attachments .detail__album {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .lg-outer audio.lg-object,
  .lg-outer .lg-video audio,
  .lg-outer audio.lg-video-object {
    right: 5% !important;
    left: 5% !important;
    width: 90% !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }
}

/* ==========================================================================
   Pakizan Storefront Comprehensive R10
   Baseline: Comprehensive R9
   Scope: Persian Storefront, IranMap, SuperLinks and Hypermedia public views.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Desktop search: original result node remains in the FaraShop component;
      a synchronized body-level mirror is used only for display.
   -------------------------------------------------------------------------- */
body > .pakizan-r10-search-portal {
  position: fixed !important;
  display: none !important;
  width: min(680px, calc(100vw - 24px)) !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  direction: rtl !important;
  z-index: 1000005 !important;
}

body > .pakizan-r10-search-portal.is-open {
  display: block !important;
}

body > .pakizan-r10-search-portal .pakizan-r10-search-frame {
  position: relative !important;
  width: 100% !important;
  max-height: min(520px, calc(100vh - 110px)) !important;
  padding: 10px 12px 12px !important;
  overflow: hidden !important;
  border: 1px solid #dfe5ec !important;
  border-radius: 10px !important;
  background: #fff !important;
  box-shadow: 0 16px 38px rgba(10, 20, 65, .24) !important;
}

body > .pakizan-r10-search-portal .pakizan-r10-search-items {
  max-height: 445px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
  scrollbar-gutter: stable !important;
}

body > .pakizan-r10-search-portal .clearfix {
  display: flex !important;
  direction: rtl !important;
  align-items: center !important;
  gap: 14px !important;
  width: 100% !important;
  min-height: 84px !important;
  margin: 0 !important;
  padding: 7px 4px !important;
  border-bottom: 1px solid #edf0f4 !important;
}

body > .pakizan-r10-search-portal .clearfix [class*="col-"] {
  float: none !important;
  width: auto !important;
  min-width: 0 !important;
  max-height: none !important;
  padding: 0 !important;
  overflow: visible !important;
}

body > .pakizan-r10-search-portal .clearfix [class*="col-"]:first-child {
  flex: 0 0 76px !important;
}

body > .pakizan-r10-search-portal .clearfix [class*="col-"]:last-child {
  flex: 1 1 auto !important;
}

body > .pakizan-r10-search-portal img {
  display: block !important;
  width: 72px !important;
  height: 72px !important;
  max-width: 72px !important;
  max-height: 72px !important;
  margin: 0 auto !important;
  border-radius: 8px !important;
  object-fit: contain !important;
}

body > .pakizan-r10-search-portal a:not(.btn) {
  color: #151963 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.7 !important;
  white-space: normal !important;
}

body > .pakizan-r10-search-portal small {
  display: block !important;
  color: #555 !important;
  font-size: 12px !important;
  line-height: 1.8 !important;
  white-space: normal !important;
}

body > .pakizan-r10-search-portal .pakizan-r10-search-footer {
  position: sticky !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  padding-top: 8px !important;
  background: #fff !important;
  z-index: 3 !important;
}

body > .pakizan-r10-search-portal .btn.btn-info {
  color: #fff !important;
  background: #289fff !important;
  border-color: #289fff !important;
}

body > .pakizan-r10-search-portal .pakizan-r10-search-close {
  position: absolute !important;
  top: 6px !important;
  left: 7px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 27px !important;
  height: 27px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  color: #555 !important;
  background: #f2f4f6 !important;
  font-size: 21px !important;
  line-height: 1 !important;
  cursor: pointer !important;
  z-index: 6 !important;
}

body > .pakizan-r10-search-portal .pakizan-r10-search-state {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 88px !important;
  padding: 18px !important;
  color: #555 !important;
  font-size: 14px !important;
  text-align: center !important;
}

body > .pakizan-r10-search-portal .pakizan-r10-search-state.is-loading::before {
  width: 24px !important;
  height: 24px !important;
  margin-left: 9px !important;
  border: 3px solid #d7e8f7 !important;
  border-top-color: #289fff !important;
  border-radius: 50% !important;
  content: "" !important;
  animation: pakizan-r10-spin .7s linear infinite !important;
}

@keyframes pakizan-r10-spin {
  to { transform: rotate(360deg); }
}

/* The real result node must remain available to FaraShop's captured jQuery
   reference, but it is not painted in the header. */
.header__search-box .search-box__result.pakizan-r10-search-source {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  min-height: 0 !important;
  max-height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  clip: rect(0 0 0 0) !important;
  z-index: -1 !important;
}

/* --------------------------------------------------------------------------
   2-3. Homepage featured products: stable external arrows and compact bottom.
   -------------------------------------------------------------------------- */
body.rtl .shop-home__body .body-part__six,
body.rtl .shop-home__body .body-part__six .sixth__pane,
body.rtl .shop-home__body .body-part__six .farashop__container,
body.rtl .shop-home__body .body-part__six .cpl__template {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

body.rtl .shop-home__body .body-part__six .cpl__template .product-list__body {
  position: relative !important;
  padding-bottom: 10px !important;
}

body.rtl .shop-home__body .body-part__six .cpl__template .slick-list {
  padding-bottom: 10px !important;
}

body.rtl .shop-home__body .body-part__six .cpl__template .product-list__body > .pakizan-r10-featured-arrow {
  position: absolute !important;
  top: var(--pakizan-r10-arrow-top, 50%) !important;
  right: auto !important;
  left: var(--pakizan-r10-arrow-left, auto) !important;
  display: block !important;
  width: 42px !important;
  height: 42px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #289fff !important;
  box-shadow: none !important;
  transform: none !important;
  opacity: 1 !important;
  z-index: 20 !important;
}

body.rtl .shop-home__body .body-part__six .cpl__template .product-list__body > .pakizan-r10-featured-arrow::before {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 42px !important;
  height: 42px !important;
  color: #fff !important;
  font-family: FontAwesome !important;
  font-size: 20px !important;
  line-height: 1 !important;
  opacity: 1 !important;
}

body.rtl .shop-home__body .body-part__six .cpl__template .product-list__body > .slick-prev.pakizan-r10-featured-arrow::before {
  content: "\f0da" !important;
}

body.rtl .shop-home__body .body-part__six .cpl__template .product-list__body > .slick-next.pakizan-r10-featured-arrow::before {
  content: "\f0d9" !important;
}

/* --------------------------------------------------------------------------
   4. Category page: remove the white seam below the blue consultation strip.
   -------------------------------------------------------------------------- */
body.rtl .content-data.pakizan-r10-category-content {
  background: #f7f7f7 !important;
}

body.rtl .content-data.pakizan-r10-category-content > .container,
body.rtl .content-data.pakizan-r10-category-content .phone-text__badge {
  position: relative !important;
  z-index: 4 !important;
}

body.rtl .content-data.pakizan-r10-category-content .advanced-filtering__results {
  margin-top: 0 !important;
  padding-top: 34px !important;
  background: #f7f7f7 !important;
}

body.rtl .content-data.pakizan-r10-category-content .advanced-filtering__results::before {
  display: none !important;
  content: none !important;
}

/* --------------------------------------------------------------------------
   5-8. Product detail: exact desktop row, thumbnail arrows and status button.
   -------------------------------------------------------------------------- */
body.rtl .farashop__product-page .pakizan-r10-main-row {
  position: relative !important;
}

@media (min-width: 992px) {
  body.rtl .farashop__product-page .pakizan-r10-main-row {
    display: flex !important;
    direction: rtl !important;
    align-items: stretch !important;
  }

  body.rtl .farashop__product-page .pakizan-r10-gallery-column,
  body.rtl .farashop__product-page .pakizan-r10-info-column {
    float: none !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 100% !important;
  }

  body.rtl .farashop__product-page .pakizan-r10-info-column {
    position: relative !important;
  }

  body.rtl .farashop__product-page .pakizan-r10-info-column .price-button__container {
    position: absolute !important;
    right: 15px !important;
    left: 15px !important;
    top: var(--pakizan-r10-order-top, auto) !important;
    bottom: auto !important;
    display: flex !important;
    flex-direction: row !important;
    direction: rtl !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px !important;
    width: auto !important;
    min-height: 76px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.rtl .farashop__product-page .pakizan-r10-info-column .product-page__prices {
    flex: 0 0 225px !important;
    margin: 0 !important;
    text-align: right !important;
  }

  body.rtl .farashop__product-page .pakizan-r10-info-column .price-button__container > .product-page__product-btn {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: row !important;
    direction: rtl !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    margin: 0 !important;
  }
}

body.rtl .farashop__product-page .product-gallery__small {
  position: relative !important;
  overflow: visible !important;
}

body.rtl .farashop__product-page .product-gallery__small .slick-list {
  margin: 0 !important;
}

body.rtl .farashop__product-page .product-gallery__small > .pakizan-r10-gallery-arrow {
  position: absolute !important;
  top: var(--pakizan-r10-gallery-arrow-top, 50%) !important;
  right: auto !important;
  left: var(--pakizan-r10-gallery-arrow-left, auto) !important;
  width: 36px !important;
  height: 36px !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  z-index: 12 !important;
}

body.rtl .farashop__product-page .product-gallery__small > .pakizan-r10-gallery-arrow::before {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  font-size: 17px !important;
  line-height: 1 !important;
}

body.rtl .farashop__product-page .price-button__container > .product-page__product-btn {
  display: flex !important;
  flex-direction: row !important;
  direction: rtl !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
}

body.rtl .farashop__product-page .price-button__container > .product-page__product-btn > .count-box,
body.rtl .farashop__product-page .price-button__container > .product-page__product-btn > .js__simple,
body.rtl .farashop__product-page .price-button__container > .product-page__product-btn > .js__simple > .product-btn {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

body.rtl .farashop__product-page .product-btn.product-btn__available .pakizan-r10-order-label {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-width: 108px !important;
  height: 100% !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  text-align: center !important;
}

body.rtl .farashop__product-page .product-btn.product-btn__available::before,
body.rtl .farashop__product-page .product-btn.product-btn__available i,
body.rtl .farashop__product-page .product-btn.product-btn__available svg {
  display: none !important;
  content: none !important;
}

body.rtl .farashop__product-page .product-btn.product-btn__coming-soon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  min-width: 118px !important;
  padding-right: 18px !important;
  padding-left: 18px !important;
  text-indent: 0 !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}

body.rtl .farashop__product-page .product-btn.product-btn__coming-soon::before {
  position: static !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 20px !important;
  line-height: 1 !important;
  transform: none !important;
}

/* --------------------------------------------------------------------------
   10-11. IranMap: edit exit action, persistent selection and scrollable details.
   -------------------------------------------------------------------------- */
body.rtl .pakizan-r10-iranmap-toolbar {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  margin: 0 0 16px !important;
}

body.rtl .pakizan-r10-iranmap-exit {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 38px !important;
  padding: 8px 16px !important;
  border: 0 !important;
  border-radius: 5px !important;
  color: #fff !important;
  background: #d9534f !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
}

body.rtl .js-iran-map-view .js-map-region.is-selected,
body.rtl .js-iran-map-view .js-map-region[aria-pressed="true"] {
  fill: #289fff !important;
  stroke: #151963 !important;
  stroke-width: 2px !important;
  filter: drop-shadow(0 0 4px rgba(40, 159, 255, .5)) !important;
}

body.rtl .js-iran-map-view .iran-map-view__content {
  max-height: min(610px, 75vh) !important;
  padding-left: 12px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  scrollbar-gutter: stable !important;
}

/* --------------------------------------------------------------------------
   12-14. Representative cards and province list theme alignment.
   -------------------------------------------------------------------------- */
body.pakizan-r10-agency-specs-page .pakizan-r10-agency-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 20px !important;
  align-items: stretch !important;
}

body.pakizan-r10-agency-specs-page .pakizan-r10-agency-card {
  float: none !important;
  width: auto !important;
  max-width: none !important;
  height: 100% !important;
  margin: 0 !important;
}

body.pakizan-r10-agency-specs-page .pakizan-r10-agency-card > * {
  height: 100% !important;
}

body.pakizan-r10-agency-specs-page .pakizan-r10-theme-accent-fill {
  color: #fff !important;
  background-color: #289fff !important;
  border-color: #289fff !important;
}

body.pakizan-r10-agency-specs-page .pakizan-r10-theme-accent-text {
  color: #151963 !important;
  border-color: #289fff !important;
}

body.pakizan-r10-agency-specs-page .pakizan-r10-map-location {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  min-height: 38px !important;
  margin-top: 14px !important;
  padding: 8px 15px !important;
  border: 1px solid #289fff !important;
  border-radius: 6px !important;
  color: #fff !important;
  background: #289fff !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

body.pakizan-r10-agency-list-page .accordion-collaps-txt__container.collapse-style > li.active,
body.pakizan-r10-agency-list-page .accordion-collaps-txt__container .toggle-icon.collaps-control {
  border-color: #289fff !important;
}

body.pakizan-r10-agency-list-page .accordion-collaps-txt__container.collapse-style > li.active .link-title a,
body.pakizan-r10-agency-list-page .accordion-collaps-txt__container .toggle-icon.collaps-control,
body.pakizan-r10-agency-list-page .accordion-collaps-txt__container .list-inside__accordion ul > li::before,
body.pakizan-r10-agency-list-page .accordion-collaps-txt__container .list-body ul > li::before {
  color: #289fff !important;
}

body.pakizan-r10-agency-list-page .accordion-collaps-txt__container .toggle-icon.collaps-control:hover,
body.pakizan-r10-agency-list-page .accordion-collaps-txt__container .list-body a:hover,
body.pakizan-r10-agency-list-page .accordion-collaps-txt__container .list-body a:focus {
  color: #fff !important;
  background: #289fff !important;
}

/* --------------------------------------------------------------------------
   15-16. Hypermedia generic file and four-column attachment gallery.
   -------------------------------------------------------------------------- */
body.rtl .article__attachments .detail__album > link,
body.rtl .article__attachments .detail__album > script,
body.rtl .article__attachments .detail__album > style {
  display: none !important;
}

body.rtl .article__attachments .detail__album {
  grid-auto-flow: row !important;
  align-items: stretch !important;
}

body.rtl .article__attachments .detail__album > .AttachFile-template1__item {
  grid-column: span 2 !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}

body.rtl .article__attachments .AttachFile-template1__item > .row {
  display: flex !important;
  direction: rtl !important;
  align-items: stretch !important;
  width: 100% !important;
  min-height: 48px !important;
  margin: 0 !important;
}

body.rtl .article__attachments .AttachFile-template1__item .template1-item__icon {
  float: none !important;
  display: flex !important;
  flex: 0 0 25% !important;
  width: 25% !important;
  min-width: 120px !important;
  min-height: 48px !important;
  padding: 0 !important;
  overflow: visible !important;
  border-radius: 0 5px 5px 0 !important;
}

body.rtl .article__attachments .AttachFile-template1__item .template1-item__icon > a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 48px !important;
  padding: 6px 8px !important;
  overflow: visible !important;
  white-space: nowrap !important;
  line-height: 1.3 !important;
}

body.rtl .article__attachments .AttachFile-template1__item .template1-item__icon > a i,
body.rtl .article__attachments .AttachFile-template1__item .template1-item__icon > a span {
  position: static !important;
  display: inline-block !important;
  overflow: visible !important;
  line-height: 1.3 !important;
}

body.rtl .article__attachments .AttachFile-template1__item .template1-item__name {
  float: none !important;
  display: flex !important;
  flex: 1 1 75% !important;
  width: 75% !important;
  min-height: 48px !important;
  padding: 8px 12px !important;
  overflow: visible !important;
  border-radius: 5px 0 0 5px !important;
}

body.rtl .article__attachments .detail__album > .detail__album__item,
body.rtl .article__attachments .detail__album > a,
body.rtl .article__attachments .detail__album > figure {
  min-width: 0 !important;
}

/* --------------------------------------------------------------------------
   17. Internal pages: preserve the selected DNN container; only add spacing.
   -------------------------------------------------------------------------- */
body .pakizan-r8-page-heading,
body .pakizan-r9-internal-heading,
body .pakizan-r8-page-top-spacer {
  display: none !important;
}

body.pakizan-r10-no-hero-page .pakizan-r10-first-module {
  margin-top: 28px !important;
}

body.pakizan-r10-no-hero-page .pakizan-r10-first-module .DnnModuleTitle,
body.pakizan-r10-no-hero-page .pakizan-r10-first-module .dnnModuleTitle {
  visibility: visible !important;
  opacity: 1 !important;
}

/* --------------------------------------------------------------------------
   18-22. Mobile text, order controls, tabs, table and related products.
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  body.rtl .shop-home__body .body-part__one .two-columns-layout__container .text-part__desc,
  body.rtl .shop-home__body .body-part__two .two-columns-layout__container .text-part__desc,
  body.rtl .shop-home__body .body-part__one .two-columns-layout__container .text-part__body p,
  body.rtl .shop-home__body .body-part__two .two-columns-layout__container .text-part__body p {
    direction: rtl !important;
    text-align: justify !important;
    text-align-last: auto !important;
  }

  body.rtl .shop-home__body .body-part__one .two-columns-layout__container .text-part__title,
  body.rtl .shop-home__body .body-part__two .two-columns-layout__container .text-part__title,
  body.rtl .shop-home__body .body-part__one .two-columns-layout__container .links__list,
  body.rtl .shop-home__body .body-part__two .two-columns-layout__container .links__list {
    text-align: center !important;
  }
}

@media (max-width: 767px) {
  body.rtl .farashop__product-page .price-button__container {
    position: static !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 18px !important;
    width: 100% !important;
    margin: 0 auto 20px !important;
  }

  body.rtl .farashop__product-page .price-button__container > .product-page__product-btn {
    display: flex !important;
    flex-direction: row !important;
    direction: rtl !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 16px !important;
    width: 100% !important;
    margin: 0 auto !important;
  }

  body.rtl .farashop__product-page .price-button__container > .product-page__product-btn > .count-box,
  body.rtl .farashop__product-page .price-button__container > .product-page__product-btn > .js__simple,
  body.rtl .farashop__product-page .price-button__container > .product-page__product-btn > .js__simple > .product-btn {
    flex: 0 0 auto !important;
    height: 54px !important;
    margin: 0 !important;
  }

  body.rtl .farashop__product-page .price-button__container > .product-page__product-btn > .count-box {
    order: 1 !important;
  }

  body.rtl .farashop__product-page .price-button__container > .product-page__product-btn > .js__simple {
    order: 2 !important;
  }

  body.rtl .farashop__product-page .tabs__container {
    margin-top: 22px !important;
  }

  body.rtl .farashop__product-page .tabify {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-rows: minmax(72px, auto) !important;
    gap: 4px !important;
  }

  body.rtl .farashop__product-page .tabify > li {
    display: none !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 72px !important;
    padding: 10px 12px !important;
    line-height: 1.7 !important;
    white-space: normal !important;
  }

  body.rtl .farashop__product-page .tabify > li.pakizan-r10-real-tab {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  body.rtl .farashop__product-page .tabify > li.pakizan-r10-tab-description { order: 1 !important; }
  body.rtl .farashop__product-page .tabify > li.pakizan-r10-tab-specs { order: 2 !important; }
  body.rtl .farashop__product-page .tabify > li.pakizan-r10-tab-related { order: 3 !important; }
  body.rtl .farashop__product-page .tabify > li.pakizan-r10-tab-comments { order: 4 !important; }

  body.rtl .farashop__product-page .tabify.tabify__theme-flat + ul table,
  body.rtl .farashop__product-page .tabify + ul table {
    display: table !important;
    width: 100% !important;
    table-layout: fixed !important;
    border-collapse: collapse !important;
  }

  body.rtl .farashop__product-page .tabify.tabify__theme-flat + ul table tbody,
  body.rtl .farashop__product-page .tabify + ul table tbody {
    display: table-row-group !important;
  }

  body.rtl .farashop__product-page .tabify.tabify__theme-flat + ul table tr,
  body.rtl .farashop__product-page .tabify + ul table tr {
    display: table-row !important;
  }

  body.rtl .farashop__product-page .tabify.tabify__theme-flat + ul table th,
  body.rtl .farashop__product-page .tabify.tabify__theme-flat + ul table td,
  body.rtl .farashop__product-page .tabify + ul table th,
  body.rtl .farashop__product-page .tabify + ul table td {
    display: table-cell !important;
    width: 50% !important;
    padding: 8px 10px !important;
    border: 1px solid #e5e5e5 !important;
    vertical-align: middle !important;
    text-align: right !important;
  }

  body.rtl .farashop__product-page .pakizan-r10-related-wrap {
    position: relative !important;
    padding: 0 42px !important;
    overflow: hidden !important;
  }

  body.rtl .farashop__product-page .pakizan-r10-related-strip {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 14px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 5px 0 14px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-behavior: smooth !important;
    scroll-snap-type: x mandatory !important;
    scrollbar-width: none !important;
  }

  body.rtl .farashop__product-page .pakizan-r10-related-strip::-webkit-scrollbar {
    display: none !important;
  }

  body.rtl .farashop__product-page .pakizan-r10-related-strip > [class*="col-"],
  body.rtl .farashop__product-page .pakizan-r10-related-strip > article,
  body.rtl .farashop__product-page .pakizan-r10-related-strip > .product-box__item {
    float: none !important;
    flex: 0 0 82% !important;
    width: 82% !important;
    max-width: 82% !important;
    scroll-snap-align: center !important;
  }

  body.rtl .farashop__product-page .pakizan-r10-related-arrow {
    position: absolute !important;
    top: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    color: #fff !important;
    background: #289fff !important;
    font-family: FontAwesome !important;
    font-size: 17px !important;
    transform: translateY(-50%) !important;
    z-index: 8 !important;
  }

  body.rtl .farashop__product-page .pakizan-r10-related-prev {
    right: 0 !important;
  }

  body.rtl .farashop__product-page .pakizan-r10-related-next {
    left: 0 !important;
  }

  body.rtl .article__attachments .detail__album {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.rtl .article__attachments .detail__album > .AttachFile-template1__item {
    grid-column: 1 / -1 !important;
  }

  body.pakizan-r10-agency-specs-page .pakizan-r10-agency-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================================
   Pakizan Storefront Comprehensive R11
   Baseline: Comprehensive R10
   Scope: Persian public Storefront/content only; dashboard/core/database are
   intentionally untouched.
   ========================================================================== */

/* ---------- Search: real source stays connected; mirror is clickable. ----- */
.header__search-box .search-box__result.pakizan-r11-search-source {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  min-height: 0 !important;
  max-height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  clip: rect(0 0 0 0) !important;
  z-index: -1 !important;
}

body > .pakizan-r11-search-portal {
  position: fixed !important;
  display: none !important;
  direction: rtl !important;
  width: min(680px, calc(100vw - 24px)) !important;
  margin: 0 !important;
  padding: 0 !important;
  z-index: 1000010 !important;
}
body > .pakizan-r11-search-portal.is-open { display: block !important; }
body > .pakizan-r11-search-portal .pakizan-r11-search-frame {
  position: relative !important;
  width: 100% !important;
  max-height: min(530px, calc(100vh - 110px)) !important;
  padding: 10px 12px 12px !important;
  overflow: hidden !important;
  border: 1px solid #dfe5ec !important;
  border-radius: 10px !important;
  background: #fff !important;
  box-shadow: 0 16px 38px rgba(10, 20, 65, .24) !important;
}
body > .pakizan-r11-search-portal .pakizan-r11-search-items {
  max-height: 455px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
  scrollbar-gutter: stable !important;
}
body > .pakizan-r11-search-portal .clearfix {
  display: flex !important;
  direction: rtl !important;
  align-items: center !important;
  gap: 14px !important;
  width: 100% !important;
  min-height: 84px !important;
  margin: 0 !important;
  padding: 7px 4px !important;
  border-bottom: 1px solid #edf0f4 !important;
}
body > .pakizan-r11-search-portal .clearfix [class*="col-"] {
  float: none !important;
  width: auto !important;
  min-width: 0 !important;
  max-height: none !important;
  padding: 0 !important;
  overflow: visible !important;
}
body > .pakizan-r11-search-portal .clearfix [class*="col-"]:first-child { flex: 0 0 76px !important; }
body > .pakizan-r11-search-portal .clearfix [class*="col-"]:last-child { flex: 1 1 auto !important; }
body > .pakizan-r11-search-portal img {
  display: block !important;
  width: 72px !important;
  height: 72px !important;
  max-width: 72px !important;
  max-height: 72px !important;
  margin: 0 auto !important;
  border-radius: 8px !important;
  object-fit: contain !important;
}
body > .pakizan-r11-search-portal a:not(.btn) {
  color: #151963 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.7 !important;
  white-space: normal !important;
}
body > .pakizan-r11-search-portal small {
  display: block !important;
  color: #555 !important;
  font-size: 12px !important;
  line-height: 1.8 !important;
  white-space: normal !important;
}
body > .pakizan-r11-search-portal .pakizan-r11-search-footer {
  position: sticky !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  padding-top: 8px !important;
  background: #fff !important;
  z-index: 4 !important;
}
body > .pakizan-r11-search-portal .btn-info {
  color: #fff !important;
  background: #289fff !important;
  border-color: #289fff !important;
}
body > .pakizan-r11-search-portal .pakizan-r11-search-close {
  position: absolute !important;
  top: 6px !important;
  left: 7px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 27px !important;
  height: 27px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  color: #555 !important;
  background: #f2f4f6 !important;
  font-size: 21px !important;
  cursor: pointer !important;
  z-index: 6 !important;
}
body > .pakizan-r11-search-portal .pakizan-r11-search-state {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 90px !important;
  padding: 18px !important;
  color: #555 !important;
  text-align: center !important;
}

/* ---------- Featured products: arrows center on actual card borders. ------- */
body.rtl .shop-home__body .body-part__six,
body.rtl .shop-home__body .body-part__six .sixth__pane,
body.rtl .shop-home__body .body-part__six .product-list,
body.rtl .shop-home__body .body-part__six .product-list__body {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
body.rtl .shop-home__body .body-part__six .slick-slider { overflow: visible !important; }
body.rtl .shop-home__body .body-part__six .slick-arrow.pakizan-r11-featured-arrow {
  position: absolute !important;
  top: var(--pakizan-r11-featured-top, 50%) !important;
  right: auto !important;
  left: var(--pakizan-r11-featured-left, auto) !important;
  width: 42px !important;
  height: 42px !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  z-index: 24 !important;
}
body.rtl .shop-home__body .body-part__six .slick-arrow.pakizan-r11-featured-arrow::before {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 42px !important;
  height: 42px !important;
  color: #fff !important;
  font-family: FontAwesome !important;
  font-size: 20px !important;
  line-height: 1 !important;
  opacity: 1 !important;
}
body.rtl .shop-home__body .body-part__six .slick-prev.pakizan-r11-featured-arrow::before { content: "\f0da" !important; }
body.rtl .shop-home__body .body-part__six .slick-next.pakizan-r11-featured-arrow::before { content: "\f0d9" !important; }

/* ---------- Category page hero and blue strip overlap. --------------------- */
@media (min-width: 992px) {
  body.rtl.pakizan-r11-category-page .advanced-filtering .background__container,
  body.rtl.pakizan-r11-category-page .advanced-filtering .background-img,
  body.rtl.pakizan-r11-category-page .content-data > .background__container,
  body.rtl.pakizan-r11-category-page .content-data > .background-img {
    min-height: 430px !important;
  }
  body.rtl.pakizan-r11-category-page .phone-text__badge .phone-text__parent {
    margin-top: -34px !important;
  }
}
body.rtl.pakizan-r11-category-page .content-data { background: #f7f7f7 !important; }
body.rtl.pakizan-r11-category-page .content-data > .container:has(.phone-text__badge) {
  position: relative !important;
  z-index: 5 !important;
}
body.rtl.pakizan-r11-category-page .advanced-filtering__results {
  margin-top: -33px !important;
  padding-top: 78px !important;
  background: #f7f7f7 !important;
}

/* ---------- Product detail: in-flow, stable, aligned order row. ------------ */
@media (min-width: 992px) {
  body.rtl .farashop__product-page .pakizan-r11-main-row {
    display: flex !important;
    direction: rtl !important;
    align-items: stretch !important;
  }
  body.rtl .farashop__product-page .pakizan-r11-gallery-column,
  body.rtl .farashop__product-page .pakizan-r11-info-column {
    float: none !important;
    display: flex !important;
    flex-direction: column !important;
    position: static !important;
  }
  body.rtl .farashop__product-page .pakizan-r11-info-column .price-button__container {
    position: static !important;
    right: auto !important;
    left: auto !important;
    top: auto !important;
    bottom: auto !important;
    display: flex !important;
    flex-direction: row !important;
    direction: rtl !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px !important;
    width: 100% !important;
    min-height: 102px !important;
    margin: auto 0 18px !important;
    padding: 0 !important;
    transform: none !important;
  }
  body.rtl .farashop__product-page .pakizan-r11-info-column .product-page__prices {
    flex: 0 0 225px !important;
    margin: 0 !important;
    text-align: right !important;
  }
  body.rtl .farashop__product-page .pakizan-r11-info-column .price-button__container > .product-page__product-btn {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: row !important;
    direction: rtl !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    margin: 0 !important;
  }
}
body.rtl .farashop__product-page .price-button__container,
body.rtl .farashop__product-page .product-page__product-btn,
body.rtl .farashop__product-page .product-page__product-btn .js__simple {
  position: static !important;
  transform: none !important;
}
body.rtl .farashop__product-page .price-button__container > .product-page__product-btn > .count-box,
body.rtl .farashop__product-page .price-button__container > .product-page__product-btn > .js__simple,
body.rtl .farashop__product-page .price-button__container > .product-page__product-btn > .js__simple > .product-btn,
body.rtl .farashop__product-page .price-button__container > .product-page__product-btn > .product-btn {
  height: 50px !important;
  min-height: 50px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  vertical-align: middle !important;
}
body.rtl .farashop__product-page .product-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  line-height: 1 !important;
  vertical-align: middle !important;
}
body.rtl .farashop__product-page .product-btn::before,
body.rtl .farashop__product-page .product-btn i,
body.rtl .farashop__product-page .product-btn svg,
body.rtl .farashop__product-page .product-btn span {
  vertical-align: middle !important;
  line-height: 1 !important;
}
body.rtl .farashop__product-page .product-btn.product-btn__available i,
body.rtl .farashop__product-page .product-btn.product-btn__available svg,
body.rtl .farashop__product-page .product-btn.product-btn__available::before { display: none !important; }
body.rtl .farashop__product-page .pakizan-r11-order-label {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 108px !important;
  height: 100% !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}
body.rtl .farashop__product-page .product-btn.product-btn__coming-soon,
body.rtl .farashop__product-page .product-btn.product-btn__unavailable,
body.rtl .farashop__product-page .product-btn.product-btn__contact,
body.rtl .farashop__product-page .product-btn.product-btn__special-order {
  min-width: 128px !important;
  padding: 0 18px !important;
  font-size: 16px !important;
  font-weight: 800 !important;
}
body.rtl .farashop__product-page .product-btn.product-btn__coming-soon::before,
body.rtl .farashop__product-page .product-btn.product-btn__unavailable::before,
body.rtl .farashop__product-page .product-btn.product-btn__contact::before,
body.rtl .farashop__product-page .product-btn.product-btn__special-order::before {
  position: static !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  font-size: 17px !important;
  line-height: 1 !important;
  transform: none !important;
}

/* Gallery arrows use the physical edge of the thumbnail rail. */
body.rtl .farashop__product-page .product-gallery__small {
  position: relative !important;
  overflow: visible !important;
}
body.rtl .farashop__product-page .product-gallery__small .slick-list {
  margin-right: 18px !important;
  margin-left: 18px !important;
}
body.rtl .farashop__product-page .product-gallery__small > .pakizan-r11-gallery-arrow {
  position: absolute !important;
  top: 50% !important;
  width: 36px !important;
  height: 36px !important;
  margin: -18px 0 0 !important;
  padding: 0 !important;
  transform: none !important;
  z-index: 12 !important;
}
body.rtl .farashop__product-page .product-gallery__small > .slick-prev.pakizan-r11-gallery-arrow {
  right: -18px !important;
  left: auto !important;
}
body.rtl .farashop__product-page .product-gallery__small > .slick-next.pakizan-r11-gallery-arrow {
  right: auto !important;
  left: -18px !important;
}
body.rtl .farashop__product-page .product-gallery__small > .pakizan-r11-gallery-arrow::before {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  font-size: 17px !important;
  line-height: 1 !important;
}

/* Similar/related product panes. */
body.rtl .farashop__product-page .pakizan-r11-similar-tab { display: inline-flex !important; }
body.rtl .farashop__product-page .pakizan-r11-related-pane .show__product-page,
body.rtl .farashop__product-page .pakizan-r11-related-pane a[class*="show__product"] { display: none !important; }
body.rtl .farashop__product-page .pakizan-r11-related-pane .slick-arrow {
  width: 38px !important;
  height: 38px !important;
  border: 0 !important;
  border-radius: 50% !important;
  color: #fff !important;
  background: #289fff !important;
  z-index: 10 !important;
}
body.rtl .farashop__product-page .pakizan-r11-related-pane .slick-arrow::before {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 38px !important;
  height: 38px !important;
  color: #fff !important;
  font-family: FontAwesome !important;
  font-size: 18px !important;
  opacity: 1 !important;
}

/* ---------- IranMap. ------------------------------------------------------ */
body.rtl .iran-map-admin__actions .pakizan-r11-exit-edit {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 38px !important;
  padding: 8px 16px !important;
  border: 0 !important;
  border-radius: 5px !important;
  color: #fff !important;
  background: #d9534f !important;
  font-weight: 700 !important;
}
body.rtl .js-iran-map-view .js-map-region.is-selected,
body.rtl .js-iran-map-view .js-map-region[aria-pressed="true"] {
  fill: #289eff !important;
  stroke: #151963 !important;
  stroke-width: 2px !important;
  filter: drop-shadow(0 0 4px rgba(40, 158, 255, .5)) !important;
}
body.rtl .js-iran-map-view .iran-map-view__content {
  max-height: var(--pakizan-r11-map-height, 610px) !important;
  padding-left: 12px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  scrollbar-gutter: stable !important;
}

/* ---------- Representative pages. --------------------------------------- */
body.pakizan-r11-agency-specs-page .pakizan-r11-agency-row {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: stretch !important;
}
body.pakizan-r11-agency-specs-page .pakizan-r11-agency-column {
  display: flex !important;
  align-items: stretch !important;
  margin-bottom: 24px !important;
}
body.pakizan-r11-agency-specs-page .pakizan-r11-agency-card {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  width: 100% !important;
  min-height: 100% !important;
}
body.pakizan-r11-agency-specs-page .pakizan-r11-theme-fill {
  color: #fff !important;
  background-color: #289eff !important;
  border-color: #289eff !important;
}
body.pakizan-r11-agency-specs-page .pakizan-r11-theme-text {
  color: #289eff !important;
  border-color: #289eff !important;
}
body.pakizan-r11-agency-specs-page .pakizan-r11-map-location {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 40px !important;
  margin-top: auto !important;
  padding: 8px 16px !important;
  border: 1px solid #289eff !important;
  border-radius: 22px !important;
  color: #fff !important;
  background: #289eff !important;
  text-decoration: none !important;
  font-weight: 700 !important;
}
body.pakizan-r11-agency-list-page .accordion-collaps-txt__container .toggle-icon,
body.pakizan-r11-agency-list-page .accordion-collaps-txt__container .fa-plus,
body.pakizan-r11-agency-list-page .accordion-collaps-txt__container .fa-minus,
body.pakizan-r11-agency-list-page .accordion-collaps-txt__container [class*="plus"],
body.pakizan-r11-agency-list-page .accordion-collaps-txt__container [class*="minus"] {
  color: #289eff !important;
  border-color: #289eff !important;
}
body.pakizan-r11-agency-list-page .accordion-collaps-txt__container li.active,
body.pakizan-r11-agency-list-page .accordion-collaps-txt__container button:hover,
body.pakizan-r11-agency-list-page .accordion-collaps-txt__container a:hover,
body.pakizan-r11-agency-list-page .accordion-collaps-txt__container a:focus {
  border-color: #289eff !important;
}
body.pakizan-r11-agency-list-page .accordion-collaps-txt__container button:hover,
body.pakizan-r11-agency-list-page .accordion-collaps-txt__container .list-body a:hover,
body.pakizan-r11-agency-list-page .accordion-collaps-txt__container .list-body a:focus {
  color: #fff !important;
  background-color: #289eff !important;
}

/* ---------- Hypermedia attachments. ------------------------------------- */
body.rtl .article__attachments .detail__album.pakizan-r11-attachment-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  grid-auto-flow: row !important;
  gap: 14px !important;
  direction: rtl !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 10px 0 !important;
}
body.rtl .article__attachments .detail__album.pakizan-r11-attachment-grid::before,
body.rtl .article__attachments .detail__album.pakizan-r11-attachment-grid::after {
  display: none !important;
  content: none !important;
}
body.rtl .article__attachments .detail__album.pakizan-r11-attachment-grid > .pakizan-r11-attachment-item {
  float: none !important;
  display: block !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.rtl .article__attachments .detail__album.pakizan-r11-attachment-grid > .pakizan-r11-generic-file {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  max-width: 620px !important;
  margin: 0 auto 14px !important;
}
body.rtl .article__attachments .AttachFile-template1__item > .row {
  display: flex !important;
  direction: rtl !important;
  align-items: stretch !important;
  width: 100% !important;
  min-height: 48px !important;
  margin: 0 !important;
}
body.rtl .article__attachments .AttachFile-template1__item .template1-item__icon {
  float: none !important;
  display: flex !important;
  flex: 0 0 132px !important;
  width: 132px !important;
  min-height: 48px !important;
  padding: 0 !important;
  overflow: visible !important;
}
body.rtl .article__attachments .AttachFile-template1__item .template1-item__icon > a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  width: 100% !important;
  min-height: 48px !important;
  padding: 0 8px !important;
  overflow: visible !important;
  white-space: nowrap !important;
}
body.rtl .article__attachments .AttachFile-template1__item .template1-item__icon > a i,
body.rtl .article__attachments .AttachFile-template1__item .template1-item__icon > a span {
  position: static !important;
  display: inline-block !important;
  color: #fff !important;
  line-height: 1 !important;
}
body.rtl .article__attachments .AttachFile-template1__item .template1-item__name {
  float: none !important;
  display: flex !important;
  flex: 1 1 auto !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-height: 48px !important;
  overflow: visible !important;
}

/* ---------- Internal pages: preserve DNN container styling, no fake title. */
body .pakizan-r8-page-heading,
body .pakizan-r9-internal-heading,
body .pakizan-r8-page-top-spacer,
body .pakizan-r9-page-top-spacer { display: none !important; }
body.pakizan-r11-internal-page .pakizan-r11-first-module { margin-top: 30px !important; }
body.pakizan-r11-internal-page .pakizan-r11-visible-title {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* ---------- Article mobile heading/audio. ------------------------------- */
@media (max-width: 767px) {
  body.rtl .article__contents .article__title,
  body.rtl .article__container .article__title {
    width: 100% !important;
    text-align: center !important;
  }
  body.rtl .article__attachments .detail__album.pakizan-r11-attachment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  body.rtl .article__attachments .detail__album.pakizan-r11-attachment-grid > .pakizan-r11-generic-file {
    grid-column: 1 / -1 !important;
  }
  .lg-outer audio.lg-object,
  .lg-outer .lg-video audio,
  .lg-outer audio.lg-video-object {
    right: 5% !important;
    left: 5% !important;
    width: 90% !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }
}

/* ---------- Mobile search is rendered inside the sidebar, never blank. ---- */
@media (max-width: 991px) {
  body.rtl .sidebar__container .js__header__search-box,
  body.rtl .sidebar__container .header__search-box {
    position: relative !important;
    right: auto !important;
    left: auto !important;
    display: block !important;
    width: calc(100% - 32px) !important;
    max-width: calc(100% - 32px) !important;
    margin: 20px 16px !important;
    overflow: visible !important;
    transform: none !important;
  }
  body.rtl .sidebar__container .search-box__result {
    position: static !important;
    display: none !important;
    width: 100% !important;
    height: auto !important;
    max-height: 55vh !important;
    margin: 8px 0 0 !important;
    padding: 8px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    clip: auto !important;
    border: 1px solid #e3e6eb !important;
    border-radius: 8px !important;
    background: #fff !important;
    z-index: 20 !important;
  }
  body.rtl .sidebar__container .pakizan-has-results .search-box__result,
  body.rtl .sidebar__container .search-box__open .search-box__result { display: block !important; }
  body.rtl .sidebar__container .search-box__result .clearfix {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    min-height: 68px !important;
    padding: 6px 0 !important;
    border-bottom: 1px solid #eee !important;
  }
  body.rtl .sidebar__container .search-box__result img {
    width: 58px !important;
    height: 58px !important;
    object-fit: contain !important;
  }
}

/* ---------- Mobile product detail: stable controls, four tabs, 2-col table. */
@media (max-width: 767px) {
  body.rtl .farashop__product-page .product-gallery__small {
    width: 100% !important;
    overflow: hidden !important;
    padding: 0 8px !important;
  }
  body.rtl .farashop__product-page .product-gallery__small .slick-list {
    margin-right: 28px !important;
    margin-left: 28px !important;
  }
  body.rtl .farashop__product-page .product-gallery__small > .pakizan-r11-gallery-arrow {
    top: 50% !important;
    width: 32px !important;
    height: 32px !important;
    margin-top: -16px !important;
  }
  body.rtl .farashop__product-page .product-gallery__small > .slick-prev.pakizan-r11-gallery-arrow {
    right: 0 !important;
    left: auto !important;
  }
  body.rtl .farashop__product-page .product-gallery__small > .slick-next.pakizan-r11-gallery-arrow {
    right: auto !important;
    left: 0 !important;
  }
  body.rtl .farashop__product-page .product-gallery__small > .pakizan-r11-gallery-arrow::before {
    width: 32px !important;
    height: 32px !important;
    font-size: 15px !important;
  }
  body.rtl .farashop__product-page .price-button__container {
    position: static !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 16px !important;
    width: 100% !important;
    margin: 0 auto 20px !important;
    transform: none !important;
  }
  body.rtl .farashop__product-page .price-button__container > .product-page__product-btn {
    display: flex !important;
    flex-direction: row !important;
    direction: rtl !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 16px !important;
    width: 100% !important;
    margin: 0 !important;
  }
  body.rtl .farashop__product-page .price-button__container > .product-page__product-btn > .count-box,
  body.rtl .farashop__product-page .price-button__container > .product-page__product-btn > .js__simple,
  body.rtl .farashop__product-page .price-button__container > .product-page__product-btn > .js__simple > .product-btn,
  body.rtl .farashop__product-page .price-button__container > .product-page__product-btn > .product-btn {
    height: 54px !important;
    min-height: 54px !important;
    margin: 0 !important;
  }
  body.rtl .farashop__product-page .tabs__container { margin-top: 22px !important; }
  body.rtl .farashop__product-page .tabs__container > .tabify {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: repeat(2, minmax(66px, auto)) !important;
    gap: 4px !important;
    min-height: 0 !important;
    padding: 7px !important;
    overflow: hidden !important;
  }
  body.rtl .farashop__product-page .tabs__container > .tabify > li {
    display: none !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 66px !important;
    margin: 0 !important;
    padding: 8px 10px !important;
    white-space: normal !important;
  }
  body.rtl .farashop__product-page .tabs__container > .tabify > li.pakizan-r11-real-tab {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  body.rtl .farashop__product-page .tabs__container > .tabify > li.pakizan-r11-tab-description { order: 1 !important; }
  body.rtl .farashop__product-page .tabs__container > .tabify > li.pakizan-r11-tab-specs { order: 2 !important; }
  body.rtl .farashop__product-page .tabs__container > .tabify > li.pakizan-r11-tab-related { order: 3 !important; }
  body.rtl .farashop__product-page .tabs__container > .tabify > li.pakizan-r11-tab-comments { order: 4 !important; }
  body.rtl .farashop__product-page .tabs__container > .tabify > li.pakizan-r11-similar-tab { display: none !important; }
  body.rtl .farashop__product-page .product__attributes { width: 100% !important; overflow: hidden !important; }
  body.rtl .farashop__product-page .product__attributes .row {
    display: grid !important;
    grid-template-columns: minmax(0, 42%) minmax(0, 58%) !important;
    width: 100% !important;
    margin: 0 !important;
  }
  body.rtl .farashop__product-page .product__attributes .row::before,
  body.rtl .farashop__product-page .product__attributes .row::after { display: none !important; content: none !important; }
  body.rtl .farashop__product-page .product__attributes .row > div {
    float: none !important;
    display: flex !important;
    align-items: center !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 48px !important;
    padding: 7px 10px !important;
    border-bottom: 1px solid #eceff2 !important;
    overflow-wrap: anywhere !important;
  }
  body.rtl .farashop__product-page .product__attributes .row > div:first-child {
    border-left: 1px solid #e2e5e9 !important;
    background: #f4f4f4 !important;
  }
  body.rtl .farashop__product-page .pakizan-r11-related-wrap {
    position: relative !important;
    padding-right: 42px !important;
    padding-left: 42px !important;
    overflow: hidden !important;
  }
  body.rtl .farashop__product-page .pakizan-r11-related-strip {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 14px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 6px 0 16px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-behavior: smooth !important;
    scroll-snap-type: x mandatory !important;
    scrollbar-width: none !important;
  }
  body.rtl .farashop__product-page .pakizan-r11-related-strip::-webkit-scrollbar { display: none !important; }
  body.rtl .farashop__product-page .pakizan-r11-related-strip > [class*="col-"],
  body.rtl .farashop__product-page .pakizan-r11-related-strip > article,
  body.rtl .farashop__product-page .pakizan-r11-related-strip > .product-box__item {
    float: none !important;
    flex: 0 0 82% !important;
    width: 82% !important;
    max-width: 310px !important;
    scroll-snap-align: center !important;
  }
  body.rtl .farashop__product-page .pakizan-r11-related-arrow {
    position: absolute !important;
    top: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    color: #fff !important;
    background: #289fff !important;
    font-family: FontAwesome !important;
    font-size: 18px !important;
    transform: translateY(-50%) !important;
    z-index: 8 !important;
  }
  body.rtl .farashop__product-page .pakizan-r11-related-prev { right: 0 !important; }
  body.rtl .farashop__product-page .pakizan-r11-related-next { left: 0 !important; }
}

/* ==========================================================================
   Pakizan Product Detail Visual Hotfix R12
   Scope: only the duplicated order label and thumbnail-frame border.
   Baseline: Pakizan Storefront Comprehensive R11.
   ========================================================================== */

/* 1. R11 renders the real label inside the button. Disable the older
   pseudo-element labels inherited from previous cumulative revisions. */
body.rtl .farashop__product-page
.product-page__product-btn
.product-btn.product-btn__available::after {
  content: none !important;
  display: none !important;
}

/* 2. Draw the thumbnail frame inside the item. The outermost Slick slide can
   be clipped by slick-list, which previously hid the left border of the
   fourth/leftmost visible thumbnail. */
body.rtl .farashop__product-page
.product-gallery__small .slick-slide .item {
  position: relative !important;
  box-sizing: border-box !important;
  border-color: transparent !important;
}

body.rtl .farashop__product-page
.product-gallery__small .slick-slide .item::after {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  box-sizing: border-box !important;
  border: 1px solid #e1e5ea !important;
  border-radius: 10px !important;
  pointer-events: none !important;
  content: "" !important;
  z-index: 3 !important;
}

/* ==========================================================================
   Pakizan Delivery Visual Fixes R13
   Baseline: Comprehensive R11 + Product Detail Hotfix R12
   Scope: verified public-view presentation issues only. No cart, checkout,
   database, dashboard, module source or API behavior is changed.
   ========================================================================== */

/* 1. Homepage main slider: remove the exposed template background strip at
   tablet/1366 widths by letting the active image define the component height. */
body.rtl .shop-home__body .main-slider {
  background-color: transparent !important;
}
@media (min-width: 768px) and (max-width: 1399px) {
  body.rtl .shop-home__body .main-slider {
    height: auto !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    overflow: hidden !important;
    line-height: 0 !important;
  }
  body.rtl .shop-home__body .main-slider .main-slider__item {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: 1200 / 373 !important;
    overflow: hidden !important;
  }
  body.rtl .shop-home__body .main-slider .main-slider__item.active {
    display: block !important;
  }
  body.rtl .shop-home__body .main-slider .main-slider__item picture,
  body.rtl .shop-home__body .main-slider .main-slider__item img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: 1200 / 373 !important;
    object-fit: cover !important;
  }
  body.rtl .shop-home__body .main-slider .slider-overlay__container {
    line-height: normal !important;
  }
}

/* 2-3. Product cards: keep rounded clipping, equal heights, never display the
   generic “view product” control, and centre non-available status/icon output. */
body.rtl .product-box__item {
  position: relative !important;
  box-sizing: border-box !important;
}
body.rtl .advanced-filtering .advanced-filtering__results .product-list article,
body.rtl .farashop__product-page .product-list article {
  display: flex !important;
  align-items: stretch !important;
}
body.rtl .advanced-filtering .advanced-filtering__results .product-list article .product-box__item {
  flex: 1 1 auto !important;
  width: 100% !important;
  height: 550px !important;
  min-height: 550px !important;
  max-height: 550px !important;
  overflow: hidden !important;
  border-radius: 20px !important;
  background-clip: padding-box !important;
  isolation: isolate !important;
}
body.rtl .advanced-filtering .advanced-filtering__results .product-box__item .product-box__tag {
  z-index: 8 !important;
}
body.rtl .product-box__item .show__product-page,
body.rtl .product-box__item a.show__product-page,
body.rtl .product-box__item .product-box__button .show__product-page,
body.rtl .farashop__product-page .show__product-page,
body.rtl .farashop__product-page a[class*="show__product"] {
  display: none !important;
  visibility: hidden !important;
}
body.rtl .advanced-filtering .product-box__item.pakizan-r13-status-card > p + div,
body.rtl .farashop__product-page .product-box__item.pakizan-r13-status-card > p + div {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 7px !important;
  width: 100% !important;
  min-height: 112px !important;
  margin-top: auto !important;
  text-align: center !important;
}
body.rtl .product-box__item.pakizan-r13-status-card .product-box__status {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 28px !important;
  margin: 0 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  text-align: center !important;
}
body.rtl .product-box__item.pakizan-r13-status-card .product-box__status::before {
  content: none !important;
  display: none !important;
}
body.rtl .product-box__item.pakizan-r13-status-card .product-box__button {
  float: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 38px !important;
  margin: 0 !important;
  text-align: center !important;
}
body.rtl .product-box__item.pakizan-r13-status-card .product-box__button > i,
body.rtl .product-box__item.pakizan-r13-status-card .product-box__button > a:not(.show__product-page),
body.rtl .product-box__item.pakizan-r13-status-card .product-box__button .contact-us {
  float: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  min-width: 36px !important;
  height: 36px !important;
  min-height: 36px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  line-height: 1 !important;
  transform: none !important;
}

/* 4. Product order button: the runtime renders exactly one real label. Hide
   every legacy pseudo label and keep only that label visible and centred. */
body.rtl .farashop__product-page .product-btn.product-btn__available {
  font-size: 0 !important;
  text-indent: 0 !important;
}
body.rtl .farashop__product-page .product-btn.product-btn__available::before,
body.rtl .farashop__product-page .product-btn.product-btn__available::after,
body.rtl .farashop__product-page .js__simple::before,
body.rtl .farashop__product-page .js__simple::after,
body.rtl .farashop__product-page .product-page__product-btn::before,
body.rtl .farashop__product-page .product-page__product-btn::after {
  content: none !important;
  display: none !important;
}
body.rtl .farashop__product-page .product-btn.product-btn__available > .pakizan-r11-order-label,
body.rtl .farashop__product-page .product-btn.product-btn__available > .pakizan-r13-order-label {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  text-align: center !important;
}

/* 5-6. Product gallery/order row: move controls slightly upward and place the
   arrows on the physical thumbnail rail, centred a little above the old spot. */
@media (min-width: 992px) {
  body.rtl .farashop__product-page .pakizan-r11-info-column .price-button__container,
  body.rtl .farashop__product-page .pakizan-r13-info-column .price-button__container {
    min-height: 88px !important;
    margin: auto 0 34px !important;
  }
  body.rtl .farashop__product-page .product-gallery__small > .pakizan-r11-gallery-arrow,
  body.rtl .farashop__product-page .product-gallery__small > .pakizan-r13-gallery-arrow {
    top: calc(50% - 8px) !important;
    margin-top: -18px !important;
  }
  body.rtl .farashop__product-page .product-gallery__small > .slick-prev.pakizan-r11-gallery-arrow,
  body.rtl .farashop__product-page .product-gallery__small > .slick-prev.pakizan-r13-gallery-arrow {
    right: -18px !important;
    left: auto !important;
  }
  body.rtl .farashop__product-page .product-gallery__small > .slick-next.pakizan-r11-gallery-arrow,
  body.rtl .farashop__product-page .product-gallery__small > .slick-next.pakizan-r13-gallery-arrow {
    right: auto !important;
    left: -18px !important;
  }
}

/* 7. Related-product carousel controls are independent and theme coloured. */
body.rtl .farashop__product-page .pakizan-r13-related-pane .show__product-page,
body.rtl .farashop__product-page .pakizan-r13-related-pane a[class*="show__product"] {
  display: none !important;
}
body.rtl .farashop__product-page .pakizan-r13-related-pane .slick-slider:has(.product-box__item) {
  position: relative !important;
  overflow: visible !important;
}
body.rtl .farashop__product-page .pakizan-r13-related-pane .slick-slider:has(.product-box__item) > .slick-arrow {
  position: absolute !important;
  top: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 38px !important;
  height: 38px !important;
  margin: -19px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  color: #fff !important;
  background: #289eff !important;
  transform: none !important;
  z-index: 12 !important;
}
body.rtl .farashop__product-page .pakizan-r13-related-pane .slick-slider:has(.product-box__item) > .slick-prev {
  right: -19px !important;
  left: auto !important;
}
body.rtl .farashop__product-page .pakizan-r13-related-pane .slick-slider:has(.product-box__item) > .slick-next {
  right: auto !important;
  left: -19px !important;
}
body.rtl .farashop__product-page .pakizan-r13-related-pane .slick-slider:has(.product-box__item) > .slick-arrow::before {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 38px !important;
  height: 38px !important;
  color: #fff !important;
  font-family: FontAwesome !important;
  font-size: 18px !important;
  line-height: 1 !important;
  opacity: 1 !important;
}
body.rtl .farashop__product-page .pakizan-r13-related-pane .slick-slider:has(.product-box__item) > .slick-prev::before {
  content: "\f105" !important;
}
body.rtl .farashop__product-page .pakizan-r13-related-pane .slick-slider:has(.product-box__item) > .slick-next::before {
  content: "\f104" !important;
}

/* 8. Nested category routes must retain the desktop menu and visible breadcrumb. */
@media (min-width: 992px) {
  body.rtl .radan-header .nav__container,
  body.rtl .farashop__body .radan-header .nav__container {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 42px !important;
    overflow: visible !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  body.rtl .radan-header .nav__container > nav,
  body.rtl .radan-header nav.nav__container,
  body.rtl .radan-header .nav__container ul.main-menu {
    display: flex !important;
    align-items: stretch !important;
    min-height: 42px !important;
    overflow: visible !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  body.rtl .radan-header .nav__container ul.main-menu > li {
    display: list-item !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}
body.rtl.pakizan-r13-category-page .breadcrumb,
body.rtl.pakizan-r13-category-page .breadcrumb li,
body.rtl.pakizan-r13-category-page .breadcrumb a,
body.rtl.pakizan-r13-category-page [class*="breadcrumb"] a,
body.rtl.pakizan-r13-category-page [class*="breadcrumb"] span {
  color: #8f97a4 !important;
  text-shadow: none !important;
}

/* 9-11. Representative pages: route-scoped theme colours, equal-height cards,
   map action, and appropriately sized blue accordion controls. */
body.pakizan-r13-agency-specs-page .pakizan-r13-agency-row {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: stretch !important;
}
body.pakizan-r13-agency-specs-page .pakizan-r13-agency-column {
  display: flex !important;
  align-items: stretch !important;
  margin-bottom: 24px !important;
}
body.pakizan-r13-agency-specs-page .pakizan-r13-agency-card {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
}
body.pakizan-r13-agency-specs-page .pakizan-r13-agency-card video,
body.pakizan-r13-agency-specs-page .pakizan-r13-agency-card img {
  max-width: 100% !important;
}
body.pakizan-r13-agency-specs-page .pakizan-r13-theme-fill,
body.pakizan-r13-agency-list-page .pakizan-r13-theme-fill {
  color: #fff !important;
  background-color: #289eff !important;
  border-color: #289eff !important;
}
body.pakizan-r13-agency-specs-page .pakizan-r13-theme-text,
body.pakizan-r13-agency-list-page .pakizan-r13-theme-text {
  color: #289eff !important;
  border-color: #289eff !important;
}
body.pakizan-r13-agency-specs-page .pakizan-r13-theme-border,
body.pakizan-r13-agency-list-page .pakizan-r13-theme-border {
  border-color: #289eff !important;
}
body.pakizan-r13-agency-specs-page .pakizan-r13-map-location {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 40px !important;
  margin: auto auto 0 !important;
  padding: 8px 18px !important;
  border: 1px solid #289eff !important;
  border-radius: 22px !important;
  color: #fff !important;
  background: #289eff !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}
body.pakizan-r13-agency-list-page .accordion-collaps-txt__container .toggle-icon,
body.pakizan-r13-agency-list-page .accordion-collaps-txt__container .fa-plus,
body.pakizan-r13-agency-list-page .accordion-collaps-txt__container .fa-minus,
body.pakizan-r13-agency-list-page .accordion-collaps-txt__container [class*="plus"],
body.pakizan-r13-agency-list-page .accordion-collaps-txt__container [class*="minus"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 32px !important;
  border: 1px solid #289eff !important;
  border-radius: 4px !important;
  color: #289eff !important;
  background: #fff !important;
  font-size: 19px !important;
  line-height: 1 !important;
}
body.pakizan-r13-agency-list-page .accordion-collaps-txt__container button:hover,
body.pakizan-r13-agency-list-page .accordion-collaps-txt__container .list-body a:hover,
body.pakizan-r13-agency-list-page .accordion-collaps-txt__container .list-body a:focus,
body.pakizan-r13-agency-list-page .accordion-collaps-txt__container li.active > a {
  color: #fff !important;
  background-color: #289eff !important;
  border-color: #289eff !important;
}

/* 12-14. Mobile product gallery, exact four-tab grid, table and related strip. */
@media (max-width: 767px) {
  body.rtl .farashop__product-page .product-gallery__small {
    width: 100% !important;
    padding-right: 10px !important;
    padding-left: 10px !important;
    overflow: hidden !important;
  }
  body.rtl .farashop__product-page .product-gallery__small .slick-list {
    margin-right: 24px !important;
    margin-left: 24px !important;
  }
  body.rtl .farashop__product-page .product-gallery__small > .pakizan-r11-gallery-arrow,
  body.rtl .farashop__product-page .product-gallery__small > .pakizan-r13-gallery-arrow {
    top: calc(50% - 6px) !important;
    width: 28px !important;
    height: 28px !important;
    margin-top: -14px !important;
  }
  body.rtl .farashop__product-page .product-gallery__small > .slick-prev.pakizan-r11-gallery-arrow,
  body.rtl .farashop__product-page .product-gallery__small > .slick-prev.pakizan-r13-gallery-arrow {
    right: 2px !important;
    left: auto !important;
  }
  body.rtl .farashop__product-page .product-gallery__small > .slick-next.pakizan-r11-gallery-arrow,
  body.rtl .farashop__product-page .product-gallery__small > .slick-next.pakizan-r13-gallery-arrow {
    right: auto !important;
    left: 2px !important;
  }
  body.rtl .farashop__product-page .product-gallery__small > .pakizan-r11-gallery-arrow::before,
  body.rtl .farashop__product-page .product-gallery__small > .pakizan-r13-gallery-arrow::before {
    width: 28px !important;
    height: 28px !important;
    font-size: 13px !important;
  }

  body.rtl .farashop__product-page .tabs__container > ul,
  body.rtl .farashop__product-page .tabs__container > ul.js__tab,
  body.rtl .farashop__product-page .tabs__container > ul.tabify {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: repeat(2, minmax(66px, auto)) !important;
    grid-auto-rows: 0 !important;
    gap: 4px !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 7px !important;
    overflow: hidden !important;
  }
  body.rtl .farashop__product-page .tabs__container > ul > li {
    display: none !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
  }
  body.rtl .farashop__product-page .tabs__container > ul > li.pakizan-r13-real-tab,
  body.rtl .farashop__product-page .tabs__container > ul > li.pakizan-r11-real-tab {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 66px !important;
    padding: 8px 10px !important;
    white-space: normal !important;
  }
  body.rtl .farashop__product-page .tabs__container > ul > li.pakizan-r13-tab-description { order: 1 !important; }
  body.rtl .farashop__product-page .tabs__container > ul > li.pakizan-r13-tab-specs { order: 2 !important; }
  body.rtl .farashop__product-page .tabs__container > ul > li.pakizan-r13-tab-related { order: 3 !important; }
  body.rtl .farashop__product-page .tabs__container > ul > li.pakizan-r13-tab-comments { order: 4 !important; }
  body.rtl .farashop__product-page .tabs__container > ul > li.pakizan-r13-empty-tab,
  body.rtl .farashop__product-page .tabs__container > ul > li.pakizan-r13-similar-tab {
    display: none !important;
  }

  body.rtl .farashop__product-page .product__attributes {
    width: 100% !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 1px solid #e2e5e9 !important;
    background: #fff !important;
  }
  body.rtl .farashop__product-page .product__attributes .attribute-group__title {
    width: 100% !important;
    margin: 0 !important;
    padding: 8px 10px !important;
    background: #ececec !important;
    box-sizing: border-box !important;
  }
  body.rtl .farashop__product-page .product__attributes .row {
    display: grid !important;
    grid-template-columns: minmax(0, 50%) minmax(0, 50%) !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
  }
  body.rtl .farashop__product-page .product__attributes .row::before,
  body.rtl .farashop__product-page .product__attributes .row::after {
    content: none !important;
    display: none !important;
  }
  body.rtl .farashop__product-page .product__attributes .row > div {
    float: none !important;
    display: flex !important;
    align-items: center !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 48px !important;
    margin: 0 !important;
    padding: 7px 10px !important;
    border-bottom: 1px solid #eceff2 !important;
    box-sizing: border-box !important;
  }
  body.rtl .farashop__product-page .product__attributes .row > div:first-child {
    justify-content: flex-start !important;
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    border-left: 1px solid #e2e5e9 !important;
    background: #f1f1f1 !important;
  }

  body.rtl .farashop__product-page .pakizan-r13-related-wrap {
    position: relative !important;
    width: 100% !important;
    padding-right: 38px !important;
    padding-left: 38px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }
  body.rtl .farashop__product-page .pakizan-r13-related-strip {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 14px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 6px 0 16px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-behavior: smooth !important;
    scroll-snap-type: x mandatory !important;
    scrollbar-width: none !important;
  }
  body.rtl .farashop__product-page .pakizan-r13-related-strip::-webkit-scrollbar {
    display: none !important;
  }
  body.rtl .farashop__product-page .pakizan-r13-related-strip > article,
  body.rtl .farashop__product-page .pakizan-r13-related-strip > [class*="col-"],
  body.rtl .farashop__product-page .pakizan-r13-related-strip > .product-box__item {
    float: none !important;
    flex: 0 0 82% !important;
    width: 82% !important;
    max-width: 310px !important;
    scroll-snap-align: center !important;
  }
  body.rtl .farashop__product-page .pakizan-r13-related-arrow {
    position: absolute !important;
    top: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    height: 34px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    color: #fff !important;
    background: #289eff !important;
    font-family: FontAwesome !important;
    font-size: 16px !important;
    line-height: 1 !important;
    transform: translateY(-50%) !important;
    z-index: 9 !important;
  }
  body.rtl .farashop__product-page .pakizan-r13-related-prev { right: 0 !important; }
  body.rtl .farashop__product-page .pakizan-r13-related-next { left: 0 !important; }
}
/* ==========================================================================
   Pakizan Live Visual Safe Hotfix R14
   Baseline: Delivery Visual Fixes R13
   Scope: low-risk, rendered-markup-only presentation corrections.
   This block does not create missing tabs/modules/content and does not alter
   cart, checkout, cookies, APIs, dashboard or module source.
   ========================================================================== */

/* 1. Desktop RTL navigation chevrons.
   Do not depend on FontAwesome glyph rendering: hide the legacy <i> glyph
   and draw compact CSS chevrons. Top-level items point down; nested levels
   point left because their submenus open to the left in RTL. */
@media (min-width: 992px) {
  body.rtl .farashop__body .radan-header .nav__container .main-menu li.has-child > a > i,
  body.rtl .farashop__body .radan-header .nav__container .main-menu li.pakizan-menu-has-children > a > i {
    display: none !important;
    visibility: hidden !important;
  }

  body.rtl .farashop__body .radan-header .nav__container .main-menu li.has-child > a::after,
  body.rtl .farashop__body .radan-header .nav__container .main-menu li.pakizan-menu-has-children > a::after {
    display: inline-block !important;
    flex: 0 0 auto !important;
    width: 6px !important;
    height: 6px !important;
    margin-inline-start: 7px !important;
    border: solid #289eff !important;
    border-width: 0 1.5px 1.5px 0 !important;
    box-sizing: border-box !important;
    content: "" !important;
    transform: rotate(45deg) translateY(-1px) !important;
    transform-origin: center !important;
  }

  body.rtl .farashop__body .radan-header .nav__container .main-menu ul li.has-child > a::after,
  body.rtl .farashop__body .radan-header .nav__container .main-menu ul li.pakizan-menu-has-children > a::after {
    margin-inline-start: auto !important;
    transform: rotate(135deg) !important;
  }

  body.rtl .farashop__body .radan-header .nav__container .main-menu li.has-child:hover > a::after,
  body.rtl .farashop__body .radan-header .nav__container .main-menu li.pakizan-menu-has-children:hover > a::after,
  body.rtl .farashop__body .radan-header .nav__container .main-menu li.active > a::after {
    border-color: #fff !important;
  }
}

/* 2. Homepage hero at 768-1399.
   R13 targeted .main-slider below .shop-home__body, while the live markup
   renders the slider before that section. Remove the inherited 293px cap
   from the actual slider tree so the 1200/373 image fills the component and
   the blue template background is not exposed below it. */
@media (min-width: 768px) and (max-width: 1399px) {
  body.rtl .slider__container,
  body.rtl .slider__container .slider__pane,
  body.rtl .slider__container .superlinks__container,
  body.rtl .slider__container .main-slider {
    max-height: none !important;
    background-color: transparent !important;
  }

  body.rtl .slider__container .main-slider {
    height: auto !important;
    aspect-ratio: 1200 / 373 !important;
    overflow: hidden !important;
    line-height: 0 !important;
  }

  body.rtl .slider__container .main-slider .main-slider__item,
  body.rtl .slider__container .main-slider .main-slider__item.active {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    aspect-ratio: 1200 / 373 !important;
    overflow: hidden !important;
  }

  body.rtl .slider__container .main-slider .main-slider__item picture,
  body.rtl .slider__container .main-slider .main-slider__item img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    aspect-ratio: 1200 / 373 !important;
    object-fit: cover !important;
  }

  body.rtl .slider__container .main-slider .slider-overlay__container {
    line-height: normal !important;
  }
}

/* 3. Tablet header gap at 768-991.
   The mobile menu trigger exists in the rendered markup but Bootstrap's
   visible-xs class hides it at this exact range, while the desktop nav is
   already hidden. Reveal only the existing trigger; do not create a menu. */
@media (min-width: 768px) and (max-width: 991px) {
  body.rtl .radan-header .radan-header__top-side > .js__toggle-sidebar.toggle-sidebar.visible-xs {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #e3e8ef !important;
    border-radius: 50% !important;
    color: #151963 !important;
    background: #fff !important;
    font-size: 22px !important;
    line-height: 1 !important;
    cursor: pointer !important;
  }
}

/* 4. Category page horizontal overflow.
   The live audit measured a constant scrollbar-width overflow. Clip it only
   on category routes already marked by the presentation runtime. */
html:has(body.rtl.pakizan-r13-category-page),
body.rtl.pakizan-r13-category-page {
  max-width: 100% !important;
  overflow-x: hidden !important;
}

body.rtl.pakizan-r13-category-page .slider__container,
body.rtl.pakizan-r13-category-page .advanced-filtering,
body.rtl.pakizan-r13-category-page .advanced-filtering__results,
body.rtl.pakizan-r13-category-page .phone-and-text__container {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* 5. Mobile product tabs adapt only to tabs actually rendered.
   Do not synthesize absent tabs. Two real tabs occupy one row; four real
   tabs naturally occupy two rows, eliminating the empty reserved row. */
@media (max-width: 767px) {
  body.rtl .farashop__product-page .tabs__container > ul,
  body.rtl .farashop__product-page .tabs__container > ul.js__tab,
  body.rtl .farashop__product-page .tabs__container > ul.tabify {
    grid-template-rows: none !important;
    grid-auto-rows: minmax(66px, auto) !important;
    align-content: start !important;
    min-height: 0 !important;
    height: auto !important;
  }

  body.rtl .farashop__product-page .tabs__container > ul:not(:has(> li.pakizan-r13-real-tab)) {
    display: none !important;
  }
}

/* 6. Agency pages: target the actual SuperLinknew markup seen in production.
   Apply theme colours and equal-height cards only to the two routed pages.
   A map button is intentionally not fabricated when the template does not
   render its URL. */


/* ==========================================================================
   Pakizan Menu Marker Hotfix R15
   Baseline: Live Visual Safe Hotfix R14
   Scope: Persian desktop navigation only.

   Root cause:
   An earlier safety rule forced top-level menu items to display:list-item.
   That made the browser render native list markers as small black squares.
   Keep the existing CSS chevrons, but remove only those native markers.
   ========================================================================== */
@media (min-width: 992px) {
  body.rtl .radan-header .nav__container ul.main-menu,
  body.rtl .radan-header .nav__container ul.main-menu ul,
  body.rtl .farashop__body .radan-header .nav__container ul.main-menu,
  body.rtl .farashop__body .radan-header .nav__container ul.main-menu ul {
    list-style: none !important;
    list-style-type: none !important;
  }

  body.rtl .radan-header .nav__container ul.main-menu > li,
  body.rtl .farashop__body .radan-header .nav__container ul.main-menu > li {
    display: block !important;
    list-style: none !important;
    list-style-type: none !important;
  }

  body.rtl .radan-header .nav__container ul.main-menu li::marker,
  body.rtl .farashop__body .radan-header .nav__container ul.main-menu li::marker {
    content: "" !important;
    font-size: 0 !important;
  }
}

/* ==========================================================================
   Pakizan Arabic RTL Visual Safe Hotfix R17
   Baseline: Menu Marker Hotfix R15
   Scope: ar-SA public storefront only.

   All selectors are explicitly language-scoped. Existing Arabic HTML is
   styled in place; this block does not create missing logos, slider images,
   modules, products, tabs, translations or links.
   ========================================================================== */

/* 1. Arabic tablet/compact-desktop navigation.
   The eleven existing Arabic labels need less horizontal padding at the
   992-1199 breakpoint. The desktop layout is left unchanged at >=1200 and
   R14 continues to expose the existing hamburger at 768-991. */
@media (min-width: 992px) and (max-width: 1199px) {
  html[lang^="ar"] body.rtl .radan-header .nav__container ul.main-menu > li > a,
  html[lang^="ar"] body.rtl .farashop__body .radan-header .nav__container ul.main-menu > li > a {
    padding-right: 6px !important;
    padding-left: 6px !important;
    font-size: 13px !important;
    white-space: nowrap !important;
  }

  html[lang^="ar"] body.rtl .radan-header .nav__container ul.main-menu > li > a::after,
  html[lang^="ar"] body.rtl .farashop__body .radan-header .nav__container ul.main-menu > li > a::after {
    margin-inline-start: 5px !important;
  }
}

/* 2. Arabic category-route overflow.
   Use the server-rendered page__advanced-filtering marker because Arabic
   paths do not contain the English /products/ token used by R13. */
html[lang^="ar"]:has(body.rtl.page__advanced-filtering),
html[lang^="ar"] body.rtl.page__advanced-filtering {
  max-width: 100% !important;
  overflow-x: hidden !important;
}

html[lang^="ar"] body.rtl.page__advanced-filtering .advanced-filtering,
html[lang^="ar"] body.rtl.page__advanced-filtering .advanced-filtering__results,
html[lang^="ar"] body.rtl.page__advanced-filtering .phone-and-text__container {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* 3. Arabic TwoColumnsLayout fallback.
   The two Arabic home modules render empty option classes (_mode,
   direction__, use-background__). Treat only that incomplete markup as the
   same compact alternating layout used on the Persian home page. */
html[lang^="ar"] body.rtl .shop-home__body .body-part__one,
html[lang^="ar"] body.rtl .shop-home__body .body-part__two {
  min-height: 0 !important;
  padding: 0 !important;
}

html[lang^="ar"] body.rtl .shop-home__body .two-columns-layout__container._mode {
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 48px 0 !important;
}

html[lang^="ar"] body.rtl .shop-home__body .two-columns-layout__container._mode .image-part__container-bg-color {
  display: none !important;
}

html[lang^="ar"] body.rtl .shop-home__body .two-columns-layout__container._mode .two-columns-layout__item.direction__ {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 52px !important;
  min-height: 0 !important;
  height: auto !important;
}

html[lang^="ar"] body.rtl .shop-home__body .body-part__two .two-columns-layout__container._mode .two-columns-layout__item.direction__ {
  flex-direction: row-reverse !important;
}

html[lang^="ar"] body.rtl .shop-home__body .two-columns-layout__container._mode .two-columns-layout__item.direction__ > .text-part__container,
html[lang^="ar"] body.rtl .shop-home__body .two-columns-layout__container._mode .two-columns-layout__item.direction__ > .image-part__container {
  flex: 0 1 calc(50% - 26px) !important;
  width: calc(50% - 26px) !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

html[lang^="ar"] body.rtl .shop-home__body .two-columns-layout__container._mode .image-part__container {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

html[lang^="ar"] body.rtl .shop-home__body .two-columns-layout__container._mode .image-part__container img {
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  max-height: 410px !important;
  margin: 0 auto !important;
  object-fit: contain !important;
}

html[lang^="ar"] body.rtl .shop-home__body .two-columns-layout__container._mode .text-part__container,
html[lang^="ar"] body.rtl .shop-home__body .two-columns-layout__container._mode .text-part__container * {
  direction: rtl !important;
}

html[lang^="ar"] body.rtl .shop-home__body .two-columns-layout__container._mode .custom-title__container {
  margin-top: 0 !important;
}

html[lang^="ar"] body.rtl .shop-home__body .two-columns-layout__container._mode .little_title,
html[lang^="ar"] body.rtl .shop-home__body .two-columns-layout__container._mode .main_title,
html[lang^="ar"] body.rtl .shop-home__body .two-columns-layout__container._mode .text-part__title {
  text-align: right !important;
}

html[lang^="ar"] body.rtl .shop-home__body .two-columns-layout__container._mode .text-part__body p {
  margin-bottom: 16px !important;
  color: #111 !important;
  text-align: justify !important;
  line-height: 1.8 !important;
}

html[lang^="ar"] body.rtl .shop-home__body .two-columns-layout__container._mode .links__list {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  margin: 22px 0 0 !important;
  padding: 0 !important;
}

html[lang^="ar"] body.rtl .shop-home__body .two-columns-layout__container._mode .links__list a:empty {
  display: none !important;
}

@media (max-width: 991px) {
  html[lang^="ar"] body.rtl .shop-home__body .two-columns-layout__container._mode {
    padding: 34px 0 42px !important;
  }

  html[lang^="ar"] body.rtl .shop-home__body .two-columns-layout__container._mode .two-columns-layout__item.direction__,
  html[lang^="ar"] body.rtl .shop-home__body .body-part__two .two-columns-layout__container._mode .two-columns-layout__item.direction__ {
    flex-direction: column-reverse !important;
    gap: 22px !important;
  }

  html[lang^="ar"] body.rtl .shop-home__body .two-columns-layout__container._mode .two-columns-layout__item.direction__ > .text-part__container,
  html[lang^="ar"] body.rtl .shop-home__body .two-columns-layout__container._mode .two-columns-layout__item.direction__ > .image-part__container {
    flex: 0 0 auto !important;
    width: 100% !important;
  }

  html[lang^="ar"] body.rtl .shop-home__body .two-columns-layout__container._mode .image-part__container img {
    max-height: 315px !important;
  }

  html[lang^="ar"] body.rtl .shop-home__body .two-columns-layout__container._mode .little_title,
  html[lang^="ar"] body.rtl .shop-home__body .two-columns-layout__container._mode .main_title,
  html[lang^="ar"] body.rtl .shop-home__body .two-columns-layout__container._mode .text-part__title {
    text-align: center !important;
  }

  html[lang^="ar"] body.rtl .shop-home__body .two-columns-layout__container._mode .links__list {
    justify-content: center !important;
  }
}

/* 4. Arabic company-introduction section.
   Style only the pkz-about-v8 markup that is already rendered. Missing
   standard/header logos are neither generated nor substituted. */
html[lang^="ar"] body.rtl .shop-home__body .body-part__five {
  width: 100% !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #151963 !important;
}

html[lang^="ar"] body.rtl .shop-home__body .body-part__five > .row {
  margin-right: 0 !important;
  margin-left: 0 !important;
}

html[lang^="ar"] body.rtl .shop-home__body .body-part__five .fifth__pane {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

html[lang^="ar"] body.rtl .shop-home__body .body-part__five .pkz-about-v8__wrap {
  display: grid !important;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.45fr) !important;
  grid-template-rows: auto auto auto auto auto !important;
  column-gap: 52px !important;
  row-gap: 12px !important;
  align-items: start !important;
  width: calc(100% - 30px) !important;
  max-width: 1140px !important;
  margin: 0 auto !important;
  color: #fff !important;
  direction: rtl !important;
}

html[lang^="ar"] body.rtl .shop-home__body .body-part__five .pkz-about-v8__logo {
  grid-column: 1 !important;
  grid-row: 1 !important;
  min-height: 0 !important;
}

html[lang^="ar"] body.rtl .shop-home__body .body-part__five .pkz-about-v8__logo .pakizan-broken-image {
  display: none !important;
}

html[lang^="ar"] body.rtl .shop-home__body .body-part__five .pkz-about-v8__wrap > h3 {
  grid-column: 1 !important;
  grid-row: 2 !important;
  margin: 0 !important;
  color: #289eff !important;
  font-size: 27px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  text-align: right !important;
  direction: rtl !important;
}

html[lang^="ar"] body.rtl .shop-home__body .body-part__five .pkz-about-v8__wrap > p:nth-of-type(1) {
  grid-column: 1 !important;
  grid-row: 3 !important;
  margin: 0 !important;
  color: #fff !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
  text-align: right !important;
  direction: rtl !important;
}

html[lang^="ar"] body.rtl .shop-home__body .body-part__five .pkz-about-v8__wrap > .phone-number__part {
  grid-column: 1 !important;
  grid-row: 4 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  min-height: 58px !important;
  margin: 6px 0 0 !important;
  padding: 8px 12px !important;
  border: 1px solid rgba(40, 158, 255, 0.55) !important;
  border-radius: 8px !important;
  background: rgba(0, 0, 0, 0.12) !important;
  text-align: center !important;
  direction: ltr !important;
}

html[lang^="ar"] body.rtl .shop-home__body .body-part__five .pkz-about-v8__wrap > .phone-number__part .phone--icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  min-width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  color: #fff !important;
  background: #289eff !important;
  font-size: 20px !important;
}

html[lang^="ar"] body.rtl .shop-home__body .body-part__five .pkz-about-v8__wrap > .phone-number__part a {
  color: #fff !important;
  text-decoration: none !important;
}

html[lang^="ar"] body.rtl .shop-home__body .body-part__five .pkz-about-v8__wrap > p:nth-of-type(2) {
  grid-column: 1 !important;
  grid-row: 5 !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
  margin: 4px 0 0 !important;
  direction: rtl !important;
}

html[lang^="ar"] body.rtl .shop-home__body .body-part__five .pkz-about-v8__wrap > p:nth-of-type(2) > a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 42px !important;
  padding: 8px 10px !important;
  border: 1px solid #289eff !important;
  border-radius: 5px !important;
  color: #289eff !important;
  background: transparent !important;
  text-align: center !important;
  text-decoration: none !important;
}

html[lang^="ar"] body.rtl .shop-home__body .body-part__five .pkz-about-v8__wrap > p:nth-of-type(2) > a:hover,
html[lang^="ar"] body.rtl .shop-home__body .body-part__five .pkz-about-v8__wrap > p:nth-of-type(2) > a:focus {
  color: #fff !important;
  background: #289eff !important;
}

html[lang^="ar"] body.rtl .shop-home__body .body-part__five .pkz-about-v8__main {
  grid-column: 2 !important;
  grid-row: 1 / span 5 !important;
  min-width: 0 !important;
  direction: rtl !important;
}

html[lang^="ar"] body.rtl .shop-home__body .body-part__five .pkz-about-v8__panel {
  min-height: 100% !important;
  padding: 32px 34px !important;
  border-radius: 8px !important;
  color: #fff !important;
  background: rgba(0, 0, 0, 0.16) !important;
  direction: rtl !important;
}

html[lang^="ar"] body.rtl .shop-home__body .body-part__five .pkz-about-v8__panel h2 {
  margin: 0 0 12px !important;
  color: #fff !important;
  font-size: 36px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  text-align: right !important;
}

html[lang^="ar"] body.rtl .shop-home__body .body-part__five .pkz-about-v8__panel h3 {
  margin: 0 0 18px !important;
  color: #289eff !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  text-align: right !important;
}

html[lang^="ar"] body.rtl .shop-home__body .body-part__five .pkz-about-v8__text,
html[lang^="ar"] body.rtl .shop-home__body .body-part__five .pkz-about-v8__text p {
  color: #fff !important;
  font-size: 15px !important;
  line-height: 1.8 !important;
  text-align: justify !important;
  direction: rtl !important;
}

html[lang^="ar"] body.rtl .shop-home__body .body-part__five .pkz-about-v8__more {
  display: inline-flex !important;
  margin-top: 6px !important;
  color: #289eff !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
}

@media (max-width: 991px) {
  html[lang^="ar"] body.rtl .shop-home__body .body-part__five {
    padding: 0 !important;
  }

  html[lang^="ar"] body.rtl .shop-home__body .body-part__five .pkz-about-v8__wrap {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto !important;
    row-gap: 14px !important;
  }

  html[lang^="ar"] body.rtl .shop-home__body .body-part__five .pkz-about-v8__logo,
  html[lang^="ar"] body.rtl .shop-home__body .body-part__five .pkz-about-v8__wrap > h3,
  html[lang^="ar"] body.rtl .shop-home__body .body-part__five .pkz-about-v8__wrap > p:nth-of-type(1),
  html[lang^="ar"] body.rtl .shop-home__body .body-part__five .pkz-about-v8__wrap > .phone-number__part,
  html[lang^="ar"] body.rtl .shop-home__body .body-part__five .pkz-about-v8__wrap > p:nth-of-type(2),
  html[lang^="ar"] body.rtl .shop-home__body .body-part__five .pkz-about-v8__main {
    grid-column: 1 !important;
    grid-row: auto !important;
  }

  html[lang^="ar"] body.rtl .shop-home__body .body-part__five .pkz-about-v8__wrap > h3,
  html[lang^="ar"] body.rtl .shop-home__body .body-part__five .pkz-about-v8__wrap > p:nth-of-type(1),
  html[lang^="ar"] body.rtl .shop-home__body .body-part__five .pkz-about-v8__panel h2,
  html[lang^="ar"] body.rtl .shop-home__body .body-part__five .pkz-about-v8__panel h3 {
    text-align: center !important;
  }

  html[lang^="ar"] body.rtl .shop-home__body .body-part__five .pkz-about-v8__panel {
    padding: 26px 22px !important;
  }
}

/* 5. Arabic available-product button.
   R13 intentionally sets the original text to font-size:0 and expects its
   Persian runtime to inject one replacement label. On ar-SA the original
   Arabic text exists but no replacement is injected, leaving a blank button.
   Reveal the existing server-rendered Arabic text; do not translate it. */
html[lang^="ar"] body.rtl .farashop__product-page .product-page__product-btn .product-btn.product-btn__available,
html[lang^="ar"] body.rtl .farashop__product-page .product-btn.product-btn__available {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.4 !important;
  text-indent: 0 !important;
}

html[lang^="ar"] body.rtl .farashop__product-page .product-btn.product-btn__available::before,
html[lang^="ar"] body.rtl .farashop__product-page .product-btn.product-btn__available::after {
  content: none !important;
  display: none !important;
}

/* 6. Arabic mobile product tabs.
   R13 recognises Persian/English labels, so real Arabic headers currently get
   pakizan-r13-empty-tab. Keep the server-rendered body feature classes as the
   authority and reveal only the corresponding existing headers. */
@media (max-width: 767px) {
  html[lang^="ar"] body.rtl.__review .farashop__product-page .tabs__container > ul.js__tab,
  html[lang^="ar"] body.rtl.__review .farashop__product-page .tabs__container > ul.tabify,
  html[lang^="ar"] body.rtl.__attributes .farashop__product-page .tabs__container > ul.js__tab,
  html[lang^="ar"] body.rtl.__attributes .farashop__product-page .tabs__container > ul.tabify,
  html[lang^="ar"] body.rtl.__related-products .farashop__product-page .tabs__container > ul.js__tab,
  html[lang^="ar"] body.rtl.__related-products .farashop__product-page .tabs__container > ul.tabify,
  html[lang^="ar"] body.rtl.__user-comments .farashop__product-page .tabs__container > ul.js__tab,
  html[lang^="ar"] body.rtl.__user-comments .farashop__product-page .tabs__container > ul.tabify {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: none !important;
    grid-auto-rows: minmax(60px, auto) !important;
    align-content: start !important;
    min-height: 0 !important;
    height: auto !important;
  }

  html[lang^="ar"] body.rtl.__review .farashop__product-page .tabs__container > ul.js__tab > li.__review,
  html[lang^="ar"] body.rtl.__review .farashop__product-page .tabs__container > ul.tabify > li.__review,
  html[lang^="ar"] body.rtl.__attributes .farashop__product-page .tabs__container > ul.js__tab > li.__attributes,
  html[lang^="ar"] body.rtl.__attributes .farashop__product-page .tabs__container > ul.tabify > li.__attributes,
  html[lang^="ar"] body.rtl.__related-products .farashop__product-page .tabs__container > ul.js__tab > li.__related-products,
  html[lang^="ar"] body.rtl.__related-products .farashop__product-page .tabs__container > ul.tabify > li.__related-products,
  html[lang^="ar"] body.rtl.__user-comments .farashop__product-page .tabs__container > ul.js__tab > li.__user-comments,
  html[lang^="ar"] body.rtl.__user-comments .farashop__product-page .tabs__container > ul.tabify > li.__user-comments {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 0 !important;
    white-space: normal !important;
    text-align: center !important;
    line-height: 1.45 !important;
  }
}

/* ========================================================================== 
   Pakizan Visual Cumulative Safe Hotfix R18 (2026-08-31)
   Scope: Persian Storefront only (fa-IR + RTL).  This block deliberately
   leaves ar-SA and all LTR storefronts untouched.  It styles only existing
   server-rendered markup; no product, tab, location link, or module is made.
   ========================================================================== */

/* 1, 12. Product-category hero: keep the real SuperLinks background panel
   full-width and prevent Bootstrap row margins from creating horizontal
   mobile overflow.  The phone badge remains a visible overlay, not a clone. */
html[lang^="fa"] body.rtl.pakizan-r13-category-page .advanced-filtering,
html[lang^="fa"] body.rtl.pakizan-r13-category-page .advanced-filtering > .content-data,
html[lang^="fa"] body.rtl.pakizan-r13-category-page .background-parent,
html[lang^="fa"] body.rtl.pakizan-r13-category-page .background__container {
  min-width: 0 !important;
  box-sizing: border-box !important;
}

html[lang^="fa"] body.rtl.pakizan-r13-category-page .background-parent,
html[lang^="fa"] body.rtl.pakizan-r13-category-page .background__container {
  width: 100% !important;
  max-width: none !important;
  overflow: visible !important;
}

html[lang^="fa"] body.rtl.pakizan-r13-category-page .background__container {
  min-height: 430px !important;
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}

@media (min-width: 768px) {
  html[lang^="fa"] body.rtl.pakizan-r13-category-page .advanced-filtering > .content-data {
    width: 100% !important;
    max-width: none !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }
}

/* 2. Main navigation labels must remain visible on every Persian desktop page. */
@media (min-width: 992px) {
  html[lang^="fa"] body.rtl .farashop__body .radan-header .nav__container .main-menu,
  html[lang^="fa"] body.rtl .farashop__body .radan-header .nav__container .main-menu > li,
  html[lang^="fa"] body.rtl .farashop__body .radan-header .nav__container .main-menu > li > a {
    visibility: visible !important;
    opacity: 1 !important;
  }

  html[lang^="fa"] body.rtl .farashop__body .radan-header .nav__container .main-menu > li > a {
    display: flex !important;
    align-items: center !important;
    color: #fff !important;
    white-space: nowrap !important;
  }
}

/* 3, 13. Anchor thumbnail arrows to the physical edges of the existing
   gallery rail, centred on its border on desktop and mobile. */
html[lang^="fa"] body.rtl .farashop__product-page .product-gallery__small {
  position: relative !important;
}

html[lang^="fa"] body.rtl .farashop__product-page .product-gallery__small > .pakizan-r11-gallery-arrow,
html[lang^="fa"] body.rtl .farashop__product-page .product-gallery__small > .pakizan-r13-gallery-arrow {
  top: 50% !important;
  margin-top: 0 !important;
  transform: translateY(-50%) !important;
  z-index: 10 !important;
}

html[lang^="fa"] body.rtl .farashop__product-page .product-gallery__small > .slick-prev.pakizan-r11-gallery-arrow,
html[lang^="fa"] body.rtl .farashop__product-page .product-gallery__small > .slick-prev.pakizan-r13-gallery-arrow {
  right: -18px !important;
  left: auto !important;
}

html[lang^="fa"] body.rtl .farashop__product-page .product-gallery__small > .slick-next.pakizan-r11-gallery-arrow,
html[lang^="fa"] body.rtl .farashop__product-page .product-gallery__small > .slick-next.pakizan-r13-gallery-arrow {
  right: auto !important;
  left: -18px !important;
}

/* 4. Keep the existing price, quantity and order controls in one centred
   desktop row.  No cart/order behaviour is changed. */
@media (min-width: 992px) {
  html[lang^="fa"] body.rtl .farashop__product-page .pakizan-r11-info-column .price-button__container,
  html[lang^="fa"] body.rtl .farashop__product-page .pakizan-r13-info-column .price-button__container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px !important;
    width: 100% !important;
    min-height: 88px !important;
    margin: auto 0 !important;
  }

  html[lang^="fa"] body.rtl .farashop__product-page .price-button__container > .product-page__prices,
  html[lang^="fa"] body.rtl .farashop__product-page .price-button__container > .product-page__product-btn {
    align-self: center !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  html[lang^="fa"] body.rtl .farashop__product-page .price-button__container > .product-page__product-btn {
    display: flex !important;
    align-items: center !important;
    flex: 0 0 auto !important;
  }
}

/* 5. Related-product cards: make the existing cards equal-height, remove
   decorative hover underlines and suppress only the redundant icon overlay.
   The card itself stays the existing product link. */
html[lang^="fa"] body.rtl .product-box__item,
html[lang^="fa"] body.rtl .product-box__item:hover,
html[lang^="fa"] body.rtl .product-box__item .product-box__title,
html[lang^="fa"] body.rtl .product-box__item .product-box__title *,
html[lang^="fa"] body.rtl .product-box__item .product-box__title *:hover {
  text-decoration: none !important;
}

html[lang^="fa"] body.rtl .product-box__item::before,
html[lang^="fa"] body.rtl .product-box__item::after,
html[lang^="fa"] body.rtl .product-box__item .product-box__title::before,
html[lang^="fa"] body.rtl .product-box__item .product-box__title::after {
  content: none !important;
  display: none !important;
}

html[lang^="fa"] body.rtl .farashop__product-page .pakizan-r13-related-pane .product-box__item {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  width: 100% !important;
  height: 520px !important;
  min-height: 520px !important;
  max-height: 520px !important;
  text-align: center !important;
}

html[lang^="fa"] body.rtl .farashop__product-page .pakizan-r13-related-pane .product-box__item > div:has(> img.img-responsive) {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 275px !important;
}

html[lang^="fa"] body.rtl .farashop__product-page .pakizan-r13-related-pane .product-box__item > div:last-child {
  margin-top: auto !important;
}

html[lang^="fa"] body.rtl .farashop__product-page .pakizan-r13-related-pane .product-box__item .product-box__tag,
html[lang^="fa"] body.rtl .farashop__product-page .pakizan-r13-related-pane .product-box__item .product-box__discount-label,
html[lang^="fa"] body.rtl .farashop__product-page .pakizan-r13-related-pane .product-box__item .product-box__button {
  display: none !important;
}

/* 6, 18, 19. Hypermedia sends audio attachments to LightGallery as a video
   element.  Give that real audio player a complete, centred, clickable rail
   without changing video attachments. */
html[lang^="fa"] body.rtl .article__video {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

html[lang^="fa"] body.rtl .article__video > audio {
  width: min(720px, 100%) !important;
  max-width: 100% !important;
}

html[lang^="fa"] body.rtl .lg-outer .lg-item.lg-current:has(video.lg-video-object source[type^="audio"]) .lg-video-cont {
  position: absolute !important;
  top: 50% !important;
  right: auto !important;
  bottom: auto !important;
  left: 50% !important;
  width: min(1100px, 90vw) !important;
  height: 64px !important;
  max-width: 90vw !important;
  transform: translate(-50%, -50%) !important;
  pointer-events: auto !important;
}

html[lang^="fa"] body.rtl .lg-outer .lg-item.lg-current:has(video.lg-video-object source[type^="audio"]) video.lg-video-object {
  position: static !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  height: 54px !important;
  max-width: 100% !important;
  margin: 5px 0 !important;
  pointer-events: auto !important;
}

html[lang^="fa"] body.rtl .lg-outer .lg-item.lg-current:has(video.lg-video-object source[type^="audio"]) .lg-video-poster,
html[lang^="fa"] body.rtl .lg-outer .lg-item.lg-current:has(video.lg-video-object source[type^="audio"]) .lg-video-play-button {
  display: none !important;
}

/* 7, 16. Existing agency-list titles use the site font and black text;
   FontAwesome plus/minus remains blue until its own header is hovered. */

/* 8, 9, 17. Agency cards keep the actual code and score value blue.  A map
   button appears only if the published markup already contains an href. */

/* 10. Centre the existing feedback module and create intentional breathing
   room between title, fields and footer. */
html[lang^="fa"] body.rtl .DnnModule-FaraFeedbackForm > .farashop__container.container__content-pane {
  max-width: 960px !important;
  margin: 52px auto 76px !important;
}

html[lang^="fa"] body.rtl .DnnModule-FaraFeedbackForm .Head {
  display: block !important;
  margin-bottom: 28px !important;
  text-align: center !important;
}

html[lang^="fa"] body.rtl .DnnModule-FaraFeedbackForm .form-horizontal {
  width: 100% !important;
  max-width: 945px !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

html[lang^="fa"] body.rtl .DnnModule-FaraFeedbackForm .form-horizontal .form-group > .col-sm-10 {
  float: none !important;
  width: 100% !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

html[lang^="fa"] body.rtl .DnnModule-FaraFeedbackForm .form-horizontal .form-group {
  margin-bottom: 22px !important;
}

html[lang^="fa"] body.rtl .DnnModule-FaraFeedbackForm .form-horizontal .clearfix {
  margin-top: 30px !important;
  padding-bottom: 30px !important;
  text-align: center !important;
}

html[lang^="fa"] body.rtl .DnnModule-FaraFeedbackForm .form-horizontal .clearfix .pull-left {
  float: none !important;
  display: inline-block !important;
}

@media (max-width: 767px) {
  /* 12. Make the real category modules fit the mobile viewport symmetrically. */
  html[lang^="fa"] body.rtl.pakizan-r13-category-page .advanced-filtering,
  html[lang^="fa"] body.rtl.pakizan-r13-category-page .advanced-filtering > .content-data,
  html[lang^="fa"] body.rtl.pakizan-r13-category-page .advanced-filtering .background-parent,
  html[lang^="fa"] body.rtl.pakizan-r13-category-page .advanced-filtering .background__container,
  html[lang^="fa"] body.rtl.pakizan-r13-category-page .advanced-filtering .advanced-filtering__results {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    box-sizing: border-box !important;
  }

  html[lang^="fa"] body.rtl.pakizan-r13-category-page .advanced-filtering {
    overflow-x: hidden !important;
  }

  html[lang^="fa"] body.rtl.pakizan-r13-category-page .advanced-filtering > .content-data {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  html[lang^="fa"] body.rtl.pakizan-r13-category-page .background-overlay__container.container,
  html[lang^="fa"] body.rtl.pakizan-r13-category-page .phone-text__badge {
    width: calc(100% - 32px) !important;
    max-width: none !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  html[lang^="fa"] body.rtl.pakizan-r13-category-page .advanced-filtering .advanced-filtering__results {
    padding-right: 16px !important;
    padding-left: 16px !important;
  }

  /* 13. Use the visible thumbnail-rail edges on touch screens. */
  html[lang^="fa"] body.rtl .farashop__product-page .product-gallery__small {
    padding-right: 10px !important;
    padding-left: 10px !important;
    overflow: visible !important;
  }

  html[lang^="fa"] body.rtl .farashop__product-page .product-gallery__small > .pakizan-r11-gallery-arrow,
  html[lang^="fa"] body.rtl .farashop__product-page .product-gallery__small > .pakizan-r13-gallery-arrow {
    top: 50% !important;
    width: 32px !important;
    height: 32px !important;
    margin-top: 0 !important;
  }

  html[lang^="fa"] body.rtl .farashop__product-page .product-gallery__small > .slick-prev.pakizan-r11-gallery-arrow,
  html[lang^="fa"] body.rtl .farashop__product-page .product-gallery__small > .slick-prev.pakizan-r13-gallery-arrow {
    right: 0 !important;
  }

  html[lang^="fa"] body.rtl .farashop__product-page .product-gallery__small > .slick-next.pakizan-r11-gallery-arrow,
  html[lang^="fa"] body.rtl .farashop__product-page .product-gallery__small > .slick-next.pakizan-r13-gallery-arrow {
    left: 0 !important;
  }

  /* 14. The gallery badge remains visible on the product, but its stacking
     level is below the off-canvas sidebar whenever that menu opens. */
  html[lang^="fa"] body.rtl .farashop__product-page .pakizan-product-gallery-column .product-page__tag.TopRight {
    z-index: 1 !important;
  }

  /* 15. R13 applied grid rules to both sibling ULs.  Restrict the grid to
     the real tab headers and let Tabify show the active existing pane. */
  html[lang^="fa"] body.rtl .farashop__product-page .tabs__container > ul.js__tab.tabify {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: none !important;
    grid-auto-rows: minmax(66px, auto) !important;
    gap: 4px !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 7px !important;
    overflow: hidden !important;
  }

  html[lang^="fa"] body.rtl .farashop__product-page .tabs__container > ul.js__tab.tabify > li.pakizan-r13-real-tab,
  html[lang^="fa"] body.rtl .farashop__product-page .tabs__container > ul.js__tab.tabify > li.pakizan-r11-real-tab {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 0 !important;
    min-height: 66px !important;
    margin: 0 !important;
    padding: 8px 10px !important;
    white-space: normal !important;
  }

  html[lang^="fa"] body.rtl .farashop__product-page .tabs__container > ul:not(.js__tab):not(.tabify) {
    display: block !important;
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  html[lang^="fa"] body.rtl .farashop__product-page .tabs__container > ul:not(.js__tab):not(.tabify) > li {
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
  }

  html[lang^="fa"] body.rtl .farashop__product-page .tabs__container > ul:not(.js__tab):not(.tabify) > li:not(.tabify__active) {
    display: none !important;
  }

  html[lang^="fa"] body.rtl .farashop__product-page .tabs__container > ul:not(.js__tab):not(.tabify) > li.tabify__active {
    display: block !important;
  }

  /* 16. City links have real anchor markup, so use a stable three-column
     grid only while the existing province panel is open. */

  /* 17. Do not let the Bootstrap row make one agency card narrower than the rest. */

  /* 18, 19. Keep both the page player and expanded audio rail centred and
     inset from the mobile viewport edges. */
  html[lang^="fa"] body.rtl .article__video > audio {
    width: min(100%, calc(100vw - 32px)) !important;
  }

  html[lang^="fa"] body.rtl .lg-outer .lg-item.lg-current:has(video.lg-video-object source[type^="audio"]) .lg-video-cont {
    width: calc(100vw - 32px) !important;
    max-width: calc(100vw - 32px) !important;
  }

  /* 10. Retain comfortable form gutters on narrow Persian screens. */
  html[lang^="fa"] body.rtl .DnnModule-FaraFeedbackForm > .farashop__container.container__content-pane {
    width: calc(100% - 32px) !important;
    margin-top: 36px !important;
    margin-bottom: 56px !important;
  }
}

/* ============================================================================
   Pakizan R19 — Persian storefront: IranMap service panel and special order
   Scope: fa-IR only. No FaraShop / IranMap source, data, or tab markup changes.
   ============================================================================ */

/* 1. The design-and-consulting IranMap module emits Bootstrap 8/4 columns.
   On desktop make their visual grid 7/5, and keep only the selected-province
   text column independently scrollable at the exact map height. */
@media (min-width: 992px) {
  html[lang^="fa"] #dnn_ctr3074_ModuleContent.ModIranMapC > .col-md-8.col-md-push-4 {
    width: 58.33333333% !important;
    right: 41.66666667% !important;
  }

  html[lang^="fa"] #dnn_ctr3074_ModuleContent.ModIranMapC > .col-md-4.col-md-pull-8 {
    width: 41.66666667% !important;
    left: 58.33333333% !important;
    height: 70vh !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
  }
}

/* 2. Special-order is a same-origin iframe inside Colorbox.  Its emitted
   .special-order__info / .special-order__form markup is preserved: at desktop
   the product information sits on the RTL right and the existing fields use
   the left side.  The popup becomes large enough to show that layout. */
html[lang^="fa"] #colorbox.specialOrderColorBox {
  box-sizing: border-box !important;
  width: calc(100vw - 32px) !important;
  max-width: 960px !important;
  height: calc(100vh - 32px) !important;
  max-height: 560px !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%);
}

html[lang^="fa"] #colorbox.specialOrderColorBox #cboxWrapper,
html[lang^="fa"] #colorbox.specialOrderColorBox #cboxContent,
html[lang^="fa"] #colorbox.specialOrderColorBox #cboxLoadedContent,
html[lang^="fa"] #colorbox.specialOrderColorBox .cboxIframe {
  width: 100% !important;
  height: 100% !important;
}

html[lang^="fa"] #colorbox.specialOrderColorBox #cboxLoadedContent {
  overflow: auto !important;
}

html[lang^="fa"] #colorbox.specialOrderColorBox .cboxIframe {
  display: block !important;
}

@media (min-width: 768px) {
  html[lang^="fa"] body.rtl .farashop__special-order .panel-body {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: flex-start !important;
    direction: rtl;
  }

  html[lang^="fa"] body.rtl .farashop__special-order .special-order__info {
    float: none !important;
    flex: 0 0 33.33333333% !important;
    width: 33.33333333% !important;
    max-width: 33.33333333% !important;
  }

  html[lang^="fa"] body.rtl .farashop__special-order .special-order__form {
    float: none !important;
    flex: 0 0 66.66666667% !important;
    width: 66.66666667% !important;
    max-width: 66.66666667% !important;
  }
}

/* ============================================================================
   Pakizan R20 — Persian storefront: persistent IranMap province selection
   Scope: only the existing design-and-consulting IranMap module in fa-IR.
   The matching behaviour is supplied by the small, idempotent runtime patch.
   ============================================================================ */
html[lang^="fa"] #dnn_ctr3074_ModuleContent.ModIranMapC svg.iran-map path.pakizan-r20-map-selected {
  fill: #289EFF !important;
}

/* ============================================================================
   Pakizan R21 — product 199 special-order Colorbox geometry
   Scope: fa-IR only and only the real /id/199 special-order iframe.  The
   matching runtime patch supplies Colorbox with the same numeric geometry;
   this prevents its internal wrapper from retaining the old 790x290 size.
   ============================================================================ */
html[lang^="fa"] #colorbox.specialOrderColorBox.pakizan-r21-special-order-199 {
  height: min(680px, calc(100vh - 32px)) !important;
  max-height: none !important;
}

/* ============================================================================
   Pakizan R22 — product 199: force the real Colorbox inner geometry
   Scope: fa-IR only; the R22 runtime adds this class only after the genuine
   /id/199 special-order popup opens.  Use the same pixel height for every
   Colorbox layer so the old inline 290px wrapper cannot clip the iframe.
   ============================================================================ */
html[lang^="fa"] #colorbox.specialOrderColorBox.pakizan-r22-special-order-199,
html[lang^="fa"] #colorbox.specialOrderColorBox.pakizan-r22-special-order-199 #cboxWrapper,
html[lang^="fa"] #colorbox.specialOrderColorBox.pakizan-r22-special-order-199 #cboxContent,
html[lang^="fa"] #colorbox.specialOrderColorBox.pakizan-r22-special-order-199 #cboxLoadedContent,
html[lang^="fa"] #colorbox.specialOrderColorBox.pakizan-r22-special-order-199 .cboxIframe {
  height: min(680px, calc(100vh - 32px)) !important;
  max-height: none !important;
}

/* ============================================================================
   Pakizan R23 — adaptive special-order Colorbox geometry
   Scope: only a real product button carrying all of these classes:
   .js__btn-special-order.product-btn.product-btn__special-order.
   This is deliberately language/portal neutral: it changes Colorbox geometry
   only, while the earlier fa-IR form-direction rules remain fa-IR only.
   The matching runtime block measures the emitted iframe panel and supplies
   its exact height, capped to the viewport for mobile scrolling.
   ============================================================================ */
html #colorbox.specialOrderColorBox.pakizan-r23-special-order-adaptive {
  box-sizing: border-box !important;
  width: calc(100vw - 32px) !important;
  max-width: 960px !important;
  max-height: none !important;
}

html #colorbox.specialOrderColorBox.pakizan-r23-special-order-adaptive #cboxWrapper,
html #colorbox.specialOrderColorBox.pakizan-r23-special-order-adaptive #cboxContent,
html #colorbox.specialOrderColorBox.pakizan-r23-special-order-adaptive #cboxLoadedContent,
html #colorbox.specialOrderColorBox.pakizan-r23-special-order-adaptive .cboxIframe {
  max-height: none !important;
}

html #colorbox.specialOrderColorBox.pakizan-r23-special-order-adaptive #cboxLoadedContent {
  overflow: auto !important;
}

html #colorbox.specialOrderColorBox.pakizan-r23-special-order-adaptive .cboxIframe {
  display: block !important;
}

/* ============================================================================
   Pakizan R24 — Persian category routes with no introductory content
   Scope: desktop fa-IR / RTL product-category routes already marked by the
   presentation runtime.  The main-menu markup is emitted by SidebarMenu;
   this only keeps that existing markup visible when the category's upper
   content region is empty.  It does not create menu items or category data.
   ============================================================================ */
@media (min-width: 992px) {
  html[lang^="fa"] body.rtl.pakizan-r13-category-page .radan-header nav.nav__container {
    display: block !important;
    width: 100% !important;
    min-height: 42px !important;
    height: auto !important;
    visibility: visible !important;
    opacity: 1 !important;
    overflow: visible !important;
  }

  html[lang^="fa"] body.rtl.pakizan-r13-category-page .radan-header nav.nav__container > ul.main-menu {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    width: 100% !important;
    min-height: 42px !important;
    visibility: visible !important;
    opacity: 1 !important;
    overflow: visible !important;
  }

  html[lang^="fa"] body.rtl.pakizan-r13-category-page .radan-header nav.nav__container > ul.main-menu > li {
    display: block !important;
    min-height: 42px !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  html[lang^="fa"] body.rtl.pakizan-r13-category-page .radan-header nav.nav__container > ul.main-menu > li > a {
    display: flex !important;
    align-items: center !important;
    min-height: 42px !important;
    color: #fff !important;
    visibility: visible !important;
    opacity: 1 !important;
    white-space: nowrap !important;
  }
}

/* ============================================================================
   Pakizan R25 — category result surface must not cover the main navigation
   Scope: desktop fa-IR/RTL category pages without the server-emitted
   page__independent-tabs marker (the no-introductory-content state).
   R11's -33px result pull is needed by categories that render the upper
   independent-tabs/hero region, but on the empty state it overlaps the real
   SidebarMenu links.  Keep the prior effective card-start offset:
   -33px + 78px = 45px, while allowing the navigation to remain uncovered.
   No menu, product, tab, or content is created by this rule.
   ============================================================================ */
@media (min-width: 992px) {
  html[lang^="fa"] body.rtl.pakizan-r11-category-page:not(.page__independent-tabs) .advanced-filtering__results {
    margin-top: 0 !important;
    padding-top: 45px !important;
  }
}

/* ============================================================================
   Pakizan R26 — verified Persian storefront refinements
   Scope: only existing fa-IR/RTL markup.  This block does not generate
   products, agency-location links, article media or product-tab data.
   ============================================================================ */

/* 2. On categories without the introductory region, leave a real visual gap
   between the server-rendered breadcrumb and the first existing product card.
   The earlier R25 rule keeps the navigation uncovered; this only increases
   the results' top padding by the measured amount. */
@media (min-width: 992px) {
  html[lang^="fa"] body.rtl.pakizan-r11-category-page:not(.page__independent-tabs) .advanced-filtering__results {
    padding-top: 82px !important;
  }
}

/* 7. IranMap's vendor stylesheet paints selectable provinces orange on hover.
   Retain the existing selected-state behaviour and replace only that hover
   colour with the established storefront blue. */
html[lang^="fa"] #dnn_ctr3074_ModuleContent.ModIranMapC svg.iran-map path.map-color1:not(.disabled):hover {
  fill: #289eff !important;
}

/* 8. The agency template supplies real FontAwesome semantic icons, but the
   broad Persian typeface rule inherited into their glyphs. Restore only those
   already-emitted glyphs and reserve their real visual column. */

/* 5, 6. The similar/related panes already contain server-rendered products.
   Turn their existing rows into a horizontal rail after the small R26 runtime
   gives that row its marker and exposes only existing cards.  The final card
   geometry deliberately matches the category listing's white 20px-radius
   card, centred product media, title block and price/action footprint. */
html[lang^="fa"] body.rtl .farashop__product-page .tabs__container > ul:not(.js__tab):not(.tabify) > li.pakizan-r26-tab-carousel-pane {
  position: relative !important;
  padding-right: 36px !important;
  padding-left: 36px !important;
}

html[lang^="fa"] body.rtl .farashop__product-page .tabs__container .row.pakizan-r26-product-carousel {
  display: flex !important;
  flex-wrap: nowrap !important;
  flex-direction: row-reverse !important;
  align-items: stretch !important;
  direction: ltr !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-behavior: smooth !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

html[lang^="fa"] body.rtl .farashop__product-page .tabs__container .row.pakizan-r26-product-carousel::-webkit-scrollbar {
  display: none !important;
}

html[lang^="fa"] body.rtl .farashop__product-page .tabs__container .row.pakizan-r26-product-carousel > article {
  float: none !important;
  display: flex !important;
  flex: 0 0 33.33333333% !important;
  width: 33.33333333% !important;
  max-width: 33.33333333% !important;
  min-width: 0 !important;
  padding-right: 14px !important;
  padding-left: 14px !important;
  box-sizing: border-box !important;
  direction: rtl !important;
}

html[lang^="fa"] body.rtl .farashop__product-page .tabs__container .row.pakizan-r26-product-carousel > article > .product-box__item {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  height: 550px !important;
  min-height: 550px !important;
  max-height: 550px !important;
  margin: 0 0 15px !important;
  padding: 20px 20px 24px !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 20px !important;
  background: #fff !important;
  box-shadow: 0 10px 28px rgba(19, 28, 84, .08) !important;
  color: var(--pakizan-fa-text) !important;
  text-decoration: none !important;
}

html[lang^="fa"] body.rtl .farashop__product-page .tabs__container .row.pakizan-r26-product-carousel > article > .product-box__item > div:has(> img.img-responsive) {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 300px !important;
}

html[lang^="fa"] body.rtl .farashop__product-page .tabs__container .row.pakizan-r26-product-carousel > article > .product-box__item img.img-responsive {
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 300px !important;
  margin-right: auto !important;
  margin-left: auto !important;
  object-fit: contain !important;
}

html[lang^="fa"] body.rtl .farashop__product-page .tabs__container .row.pakizan-r26-product-carousel > article > .product-box__item .product-box__title,
html[lang^="fa"] body.rtl .farashop__product-page .tabs__container .row.pakizan-r26-product-carousel > article > .product-box__item .product-box__title div,
html[lang^="fa"] body.rtl .farashop__product-page .tabs__container .row.pakizan-r26-product-carousel > article > .product-box__item .product-box__title a {
  min-height: 60px !important;
  margin: 15px 0 4px !important;
  overflow: hidden !important;
  color: #111 !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  line-height: 1.85 !important;
  text-align: center !important;
  text-decoration: none !important;
}

html[lang^="fa"] body.rtl .farashop__product-page .tabs__container .row.pakizan-r26-product-carousel > article > .product-box__item > p + div {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-end !important;
  width: 100% !important;
  min-height: 112px !important;
  margin-top: auto !important;
}

html[lang^="fa"] body.rtl .farashop__product-page .tabs__container .row.pakizan-r26-product-carousel > article > .product-box__item .product-box__prices {
  display: flex !important;
  flex: 1 1 100% !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 62px !important;
  color: var(--pakizan-fa-accent) !important;
  text-align: center !important;
}

html[lang^="fa"] body.rtl .farashop__product-page .tabs__container .row.pakizan-r26-product-carousel > article > .product-box__item .product-box__prices > div,
html[lang^="fa"] body.rtl .farashop__product-page .tabs__container .row.pakizan-r26-product-carousel > article > .product-box__item .product-box__prices > div > span:first-child {
  color: var(--pakizan-fa-accent) !important;
  font-size: 22px !important;
  font-weight: 900 !important;
  line-height: 1.55 !important;
}

html[lang^="fa"] body.rtl .farashop__product-page .tabs__container .row.pakizan-r26-product-carousel > article > .product-box__item .product-box__prices > del {
  margin-bottom: 2px !important;
  color: #999 !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
  text-align: center !important;
}

html[lang^="fa"] body.rtl .farashop__product-page .tabs__container .row.pakizan-r26-product-carousel > article > .product-box__item .product-box__button,
html[lang^="fa"] body.rtl .farashop__product-page .tabs__container .row.pakizan-r26-product-carousel > article > .product-box__item .show__product-page {
  display: none !important;
}

html[lang^="fa"] body.rtl .farashop__product-page .pakizan-r26-tab-carousel-arrow {
  position: absolute !important;
  top: 275px !important;
  z-index: 12 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 38px !important;
  height: 38px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  color: #fff !important;
  background: #289eff !important;
  font-family: Arial, sans-serif !important;
  font-size: 30px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  cursor: pointer !important;
  transform: translateY(-50%) !important;
  transition: background-color .18s ease !important;
}

html[lang^="fa"] body.rtl .farashop__product-page .pakizan-r26-tab-carousel-arrow:hover,
html[lang^="fa"] body.rtl .farashop__product-page .pakizan-r26-tab-carousel-arrow:focus {
  color: #fff !important;
  background: #151963 !important;
}

html[lang^="fa"] body.rtl .farashop__product-page .pakizan-r26-tab-carousel-arrow.pakizan-r26-tab-carousel-forward {
  right: -2px !important;
  left: auto !important;
}

html[lang^="fa"] body.rtl .farashop__product-page .pakizan-r26-tab-carousel-arrow.pakizan-r26-tab-carousel-back {
  right: auto !important;
  left: -2px !important;
}

/* 10. Product 198 really has a similar-products header and body.  R13 hid
   that real header on phones; reveal it only where the server advertises the
   feature, keep the content-list separate from the header-list, and preserve
   Tabify's existing active pane rather than manufacturing a tab. */
@media (max-width: 767px) {
  html[lang^="fa"] body.rtl.__similar-products .farashop__product-page .tabs__container > ul.js__tab.tabify > li.__similar-products.pakizan-r13-similar-tab {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 0 !important;
    min-height: 66px !important;
    margin: 0 !important;
    padding: 8px 10px !important;
    order: 3 !important;
    white-space: normal !important;
  }

  html[lang^="fa"] body.rtl.__similar-products .farashop__product-page .tabs__container > ul.js__tab.tabify > li.pakizan-r13-tab-related {
    order: 4 !important;
  }

  html[lang^="fa"] body.rtl.__similar-products .farashop__product-page .tabs__container > ul.js__tab.tabify > li.pakizan-r13-tab-comments {
    order: 5 !important;
  }

  html[lang^="fa"] body.rtl .farashop__product-page .tabs__container > ul:not(.js__tab):not(.tabify) > li.tabify__active {
    display: block !important;
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
  }

  html[lang^="fa"] body.rtl .farashop__product-page .tabs__container > ul:not(.js__tab):not(.tabify) > li.pakizan-r26-tab-carousel-pane {
    padding-right: 24px !important;
    padding-left: 24px !important;
  }

  html[lang^="fa"] body.rtl .farashop__product-page .tabs__container .row.pakizan-r26-product-carousel > article {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-right: 8px !important;
    padding-left: 8px !important;
  }

  html[lang^="fa"] body.rtl .farashop__product-page .tabs__container .row.pakizan-r26-product-carousel > article > .product-box__item {
    height: 470px !important;
    min-height: 470px !important;
    max-height: 470px !important;
    padding: 16px 18px 20px !important;
    border-radius: 18px !important;
  }

  html[lang^="fa"] body.rtl .farashop__product-page .tabs__container .row.pakizan-r26-product-carousel > article > .product-box__item > div:has(> img.img-responsive) {
    height: 250px !important;
  }

  html[lang^="fa"] body.rtl .farashop__product-page .tabs__container .row.pakizan-r26-product-carousel > article > .product-box__item img.img-responsive {
    max-height: 250px !important;
  }

  html[lang^="fa"] body.rtl .farashop__product-page .pakizan-r26-tab-carousel-arrow {
    top: 235px !important;
    width: 32px !important;
    height: 32px !important;
    font-size: 26px !important;
  }

  /* 11. Bootstrap stacks IranMap's two columns on a phone.  Keep the real
     selected-province text column at a bounded height so its existing native
     scrollbar takes over once published content exceeds that height. */
  html[lang^="fa"] #dnn_ctr3074_ModuleContent.ModIranMapC > .col-md-4.col-md-pull-8 {
    height: min(460px, 65vh) !important;
    max-height: 65vh !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
  }

  /* 12. In the real LightGallery audio slide, the left/right controls used
     the same vertical centre as the 54px media rail.  Put them just above the
     rail on phones so browser play controls remain unobstructed. */
  html[lang^="fa"] body.rtl .lg-outer:has(.lg-item.lg-current video.lg-video-object source[type^="audio"]) .lg-prev,
  html[lang^="fa"] body.rtl .lg-outer:has(.lg-item.lg-current video.lg-video-object source[type^="audio"]) .lg-next {
    top: calc(50% - 64px) !important;
  }
}

/* ============================================================================
   Pakizan R27 — Persian mobile product-tab recovery
   Scope: the existing FaraShop product Tabify header and its existing sibling
   panes only.  No tab, product, description or attribute content is created.
   ============================================================================ */
@media (max-width: 767px) {
  /* Tabify's theme uses table-like pseudo elements.  Once the real header is
     laid out as the two-column mobile grid, those elements consume a blank
     grid cell above and below the real tabs. */
  html[lang^="fa"] body.rtl .farashop__product-page .tabs__container > ul.js__tab.tabify::before,
  html[lang^="fa"] body.rtl .farashop__product-page .tabs__container > ul.js__tab.tabify::after {
    content: none !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
  }
}

/* ============================================================================
   Pakizan R28 — scoped storefront alignment refinements
   Scope: existing fa-IR / RTL category, product and agency markup only.
   No server-rendered product, gallery, tab, agency or location data is changed.
   ============================================================================ */

/* 1. On desktop category routes that include the existing SuperLinks hero,
   neutralise only the outer Bootstrap row's negative margins and make the
   real background parent full-bleed. The mobile layout is intentionally
   untouched. */
@media (min-width: 992px) {
  html[lang^="fa"] body.rtl.pakizan-r13-category-page .advanced-filtering > .content-data:has(.background-parent) > .row,
  html[lang^="fa"] body.rtl.pakizan-r13-category-page .advanced-filtering > .content-data:has(> .background__container) > .row {
    margin-right: 0 !important;
    margin-left: 0 !important;
  }

  html[lang^="fa"] body.rtl.pakizan-r13-category-page .advanced-filtering > .content-data > .background-parent,
  html[lang^="fa"] body.rtl.pakizan-r13-category-page .advanced-filtering > .content-data > .background__container {
    width: 100vw !important;
    min-width: 100vw !important;
    max-width: 100vw !important;
    margin-right: calc(50% - 50vw) !important;
    margin-left: calc(50% - 50vw) !important;
    box-sizing: border-box !important;
  }

  html[lang^="fa"] body.rtl.pakizan-r13-category-page .advanced-filtering > .content-data > .background-parent .background__container,
  html[lang^="fa"] body.rtl.pakizan-r13-category-page .advanced-filtering > .content-data > .background-parent .background-img,
  html[lang^="fa"] body.rtl.pakizan-r13-category-page .advanced-filtering > .content-data > .background-parent .slider__container {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    box-sizing: border-box !important;
  }
}

/* 2. Keep the real thumbnail rail in normal grid flow on desktop. The two
   existing Slick buttons occupy the rail's physical left/right cells, so
   their centres always follow the rail height rather than an absolute offset. */
@media (min-width: 992px) {
  html[lang^="fa"] body.rtl .farashop__product-page .product-gallery__small {
    display: grid !important;
    grid-template-columns: 36px minmax(0, 1fr) 36px !important;
    grid-template-rows: minmax(0, 1fr) !important;
    align-items: center !important;
    column-gap: 0 !important;
    direction: ltr !important;
  }

  html[lang^="fa"] body.rtl .farashop__product-page .product-gallery__small > .slick-list {
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    direction: rtl !important;
  }

  html[lang^="fa"] body.rtl .farashop__product-page .product-gallery__small > .slick-prev,
  html[lang^="fa"] body.rtl .farashop__product-page .product-gallery__small > .slick-next {
    position: static !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    align-self: center !important;
    margin: 0 !important;
    transform: none !important;
  }

  html[lang^="fa"] body.rtl .farashop__product-page .product-gallery__small > .slick-prev {
    grid-column: 3 !important;
    grid-row: 1 !important;
  }

  html[lang^="fa"] body.rtl .farashop__product-page .product-gallery__small > .slick-next {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }
}

/* 3. Only the desktop product-detail action row receives the requested fixed
   112px footprint; auto margins can no longer push it away from the gallery. */
@media (min-width: 992px) {
  html[lang^="fa"] body.rtl .farashop__product-page .pakizan-r11-info-column .price-button__container,
  html[lang^="fa"] body.rtl .farashop__product-page .pakizan-r13-info-column .price-button__container {
    min-height: 112px !important;
    margin: 0 !important;
  }
}

/* 4. The R26 controls already navigate only existing similar/related cards.
   R28 gives their real glyphs a solid FontAwesome arrow treatment; the
   matching runtime reverses the prior scroll direction on the same controls. */
html[lang^="fa"] body.rtl .farashop__product-page .pakizan-r26-tab-carousel-arrow {
  font-family: FontAwesome !important;
  font-size: 16px !important;
  font-style: normal !important;
  font-weight: normal !important;
  line-height: 1 !important;
}

/* 5. This class is added only by the R28 runtime after it finds a genuine
   published map URL in an existing representative card. */

/* 6-8. Mobile-only category and product-tab spacing. The header remains the
   real Tabify header; R27 still owns activation of its existing content pane. */
@media (max-width: 767px) {
  html[lang^="fa"] body.rtl.pakizan-r11-category-page:not(.page__independent-tabs) .advanced-filtering__results,
  html[lang^="fa"] body.rtl.pakizan-r13-category-page:not(.page__independent-tabs) .advanced-filtering__results {
    margin-top: 0 !important;
    padding-top: 42px !important;
  }

  html[lang^="fa"] body.rtl .farashop__product-page .tabs__container > ul.js__tab.tabify > li.__user-comments {
    grid-column: 1 / -1 !important;
    justify-content: center !important;
    text-align: center !important;
  }

  html[lang^="fa"] body.rtl .farashop__product-page .tabs__container > ul:not(.js__tab):not(.tabify) {
    margin: 24px 0 0 !important;
  }
}

/* ============================================================================
   Pakizan R29 — corrective desktop category-row and gallery-arrow alignment
   Scope: existing fa-IR / RTL markup only; mobile and all data are untouched.
   ============================================================================ */

/* The actual Advanced Filtering root carries Bootstrap's `row` class. Its
   negative horizontal margins—not the SuperLinks content—create the desktop
   white strip. Neutralise only that row's horizontal effect and undo R28's
   compensating viewport offsets on the same real wrapper. */
@media (min-width: 992px) {
  html[lang^="fa"] body.rtl.pakizan-r13-category-page .js__advanced-filtering.advanced-filtering.row {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    box-sizing: border-box !important;
  }

  html[lang^="fa"] body.rtl.pakizan-r13-category-page .js__advanced-filtering.advanced-filtering.row > .content-data,
  html[lang^="fa"] body.rtl.pakizan-r13-category-page .js__advanced-filtering.advanced-filtering.row > .content-data > .background-parent,
  html[lang^="fa"] body.rtl.pakizan-r13-category-page .js__advanced-filtering.advanced-filtering.row > .content-data > .background__container {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    box-sizing: border-box !important;
  }
}

/* Keep the existing Slick semantics in their original RTL positions:
   `slick-prev` at the physical right and `slick-next` at the physical left.
   Flex centres the actual button and its pseudo-element glyph in the rail's
   height; no absolute offset or synthetic control is involved. */
@media (min-width: 992px) {
  html[lang^="fa"] body.rtl .farashop__product-page .product-gallery__small {
    display: flex !important;
    align-items: center !important;
    direction: rtl !important;
  }

  html[lang^="fa"] body.rtl .farashop__product-page .product-gallery__small > .slick-list {
    order: 2 !important;
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    direction: rtl !important;
  }

  html[lang^="fa"] body.rtl .farashop__product-page .product-gallery__small > .slick-prev,
  html[lang^="fa"] body.rtl .farashop__product-page .product-gallery__small > .slick-next {
    position: static !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    display: inline-flex !important;
    flex: 0 0 36px !important;
    align-self: center !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    min-width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
  }

  html[lang^="fa"] body.rtl .farashop__product-page .product-gallery__small > .slick-prev {
    order: 1 !important;
  }

  html[lang^="fa"] body.rtl .farashop__product-page .product-gallery__small > .slick-next {
    order: 3 !important;
  }

  html[lang^="fa"] body.rtl .farashop__product-page .product-gallery__small > .slick-prev::before,
  html[lang^="fa"] body.rtl .farashop__product-page .product-gallery__small > .slick-next::before {
    position: static !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    transform: none !important;
  }
}

/* ============================================================================
   Pakizan R30 — desktop product action-row / thumbnail-rail alignment
   Scope: only the existing Persian RTL product-detail layout at desktop size.
   ============================================================================ */

/* The information column and gallery column have the same stretched height.
   R28 correctly gave the action row a 112px footprint, but its all-zero
   margin left the row after the description instead of in the thumbnail band.
   Reserve automatic space only above this flex item: its bottom edge now
   aligns with the gallery column's bottom edge, while the 112px action row
   occupies the same horizontal band as the thumbnail rail. */
@media (min-width: 992px) {
  html[lang^="fa"] body.rtl .farashop__product-page .pakizan-r11-main-row,
  html[lang^="fa"] body.rtl .farashop__product-page .pakizan-r13-main-row {
    align-items: stretch !important;
  }

  html[lang^="fa"] body.rtl .farashop__product-page .pakizan-r11-info-column,
  html[lang^="fa"] body.rtl .farashop__product-page .pakizan-r13-info-column {
    display: flex !important;
    flex-direction: column !important;
    align-self: stretch !important;
  }

  html[lang^="fa"] body.rtl .farashop__product-page .pakizan-r11-info-column .price-button__container,
  html[lang^="fa"] body.rtl .farashop__product-page .pakizan-r13-info-column .price-button__container {
    align-self: stretch !important;
    flex: 0 0 auto !important;
    flex-shrink: 0 !important;
    min-height: 112px !important;
    margin: auto 0 0 !important;
  }
}

/* ============================================================================
   Pakizan R31 — narrowly scoped follow-up corrections
   ============================================================================ */

/* Keep the original RTL arrow order on the desktop thumbnail rail.  Only the
   physical left control receives an inner gap from the thumbnail box. */
@media (min-width: 992px) {
  html[lang^="fa"] body.rtl .farashop__product-page .product-gallery__small > .slick-next {
    margin-right: 18px !important;
  }

  /* Preserve R30's thumbnail-band alignment while giving the lower-left
     purchase row the approved 12px breathing room from the column bottom. */
  html[lang^="fa"] body.rtl .farashop__product-page .pakizan-r11-info-column .price-button__container,
  html[lang^="fa"] body.rtl .farashop__product-page .pakizan-r13-info-column .price-button__container {
    margin: auto 0 12px !important;
  }
}

/* The no-intro category layout is the only mobile category scope affected.
   Keep the results separation set by R28; only remove breadcrumb's inherited
   vertical padding. */
@media (max-width: 767px) {
  html[lang^="fa"] body.rtl.pakizan-r11-category-page:not(.page__independent-tabs) .farashop__breadcrumb .breadcrumb,
  html[lang^="fa"] body.rtl.pakizan-r13-category-page:not(.page__independent-tabs) .farashop__breadcrumb .breadcrumb {
    padding: 0 15px !important;
  }

  /* The mobile gallery control already has the correct 32px rail cell.  This
     centres the actual pseudo-element glyph inside that existing cell without
     changing its side or vertical placement. */
  html[lang^="fa"] body.rtl .farashop__product-page .product-gallery__small > .slick-prev.pakizan-r11-gallery-arrow,
  html[lang^="fa"] body.rtl .farashop__product-page .product-gallery__small > .slick-prev.pakizan-r13-gallery-arrow,
  html[lang^="fa"] body.rtl .farashop__product-page .product-gallery__small > .slick-next.pakizan-r11-gallery-arrow,
  html[lang^="fa"] body.rtl .farashop__product-page .product-gallery__small > .slick-next.pakizan-r13-gallery-arrow {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    line-height: 1 !important;
    text-align: center !important;
  }

  html[lang^="fa"] body.rtl .farashop__product-page .product-gallery__small > .slick-prev.pakizan-r11-gallery-arrow::before,
  html[lang^="fa"] body.rtl .farashop__product-page .product-gallery__small > .slick-prev.pakizan-r13-gallery-arrow::before,
  html[lang^="fa"] body.rtl .farashop__product-page .product-gallery__small > .slick-next.pakizan-r11-gallery-arrow::before,
  html[lang^="fa"] body.rtl .farashop__product-page .product-gallery__small > .slick-next.pakizan-r13-gallery-arrow::before {
    position: static !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    transform: none !important;
  }

  /* R26 owns the working pair for the related-products rail.  Hide only the
     older R13 pair once that R26 rail is present, leaving one control on each
     side exactly like the similar-products tab. */
  html[lang^="fa"] body.rtl .farashop__product-page .tabs__container > ul:not(.js__tab):not(.tabify) > li.__related-products.pakizan-r26-tab-carousel-pane > .pakizan-r13-related-prev,
  html[lang^="fa"] body.rtl .farashop__product-page .tabs__container > ul:not(.js__tab):not(.tabify) > li.__related-products.pakizan-r26-tab-carousel-pane > .pakizan-r13-related-next {
    display: none !important;
  }
}

/* ============================================================================
   Pakizan R32 — thumbnail rail edge-safe geometry
   Scope: existing Persian RTL product-detail gallery and mobile related tab.
   ============================================================================ */

/* Slick clips its viewport at the exact first/last slide edge.  Keep the
   already-existing visual frame one pixel inside the item so the frame is
   complete even when the outermost thumbnail touches the viewport boundary. */
html[lang^="fa"] body.rtl .farashop__product-page .product-gallery__small .slick-slide .item::after {
  inset: 1px !important;
}

/* Desktop: reserve real, equal grid gutters on both sides of the Slick list.
   R31's left-button margin is explicitly reset: it reduced the usable list
   width and could clip the outer thumbnail frame. */
@media (min-width: 992px) {
  html[lang^="fa"] body.rtl .farashop__product-page .product-gallery__small {
    display: grid !important;
    grid-template-columns: 36px minmax(0, 1fr) 36px !important;
    grid-template-rows: minmax(0, 1fr) !important;
    align-items: center !important;
    column-gap: 18px !important;
    direction: ltr !important;
  }

  html[lang^="fa"] body.rtl .farashop__product-page .product-gallery__small > .slick-list {
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    direction: rtl !important;
  }

  html[lang^="fa"] body.rtl .farashop__product-page .product-gallery__small > .slick-prev,
  html[lang^="fa"] body.rtl .farashop__product-page .product-gallery__small > .slick-next {
    position: static !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    min-width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
  }

  html[lang^="fa"] body.rtl .farashop__product-page .product-gallery__small > .slick-prev {
    grid-column: 3 !important;
    grid-row: 1 !important;
  }

  html[lang^="fa"] body.rtl .farashop__product-page .product-gallery__small > .slick-next {
    grid-column: 1 !important;
    grid-row: 1 !important;
    margin-right: 0 !important;
  }
}

/* Mobile: the buttons occupy dedicated 32px grid cells.  The equal 10px gaps
   sit outside the Slick viewport, so neither control can cover a thumbnail or
   hide the left/right border of the outer visible item. */
@media (max-width: 767px) {
  html[lang^="fa"] body.rtl .farashop__product-page .product-gallery__small {
    display: grid !important;
    grid-template-columns: 32px minmax(0, 1fr) 32px !important;
    grid-template-rows: minmax(0, 1fr) !important;
    align-items: center !important;
    column-gap: 10px !important;
    padding: 0 !important;
    overflow: visible !important;
    direction: ltr !important;
  }

  html[lang^="fa"] body.rtl .farashop__product-page .product-gallery__small > .slick-list {
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    direction: rtl !important;
  }

  html[lang^="fa"] body.rtl .farashop__product-page .product-gallery__small > .slick-prev.pakizan-r11-gallery-arrow,
  html[lang^="fa"] body.rtl .farashop__product-page .product-gallery__small > .slick-prev.pakizan-r13-gallery-arrow,
  html[lang^="fa"] body.rtl .farashop__product-page .product-gallery__small > .slick-next.pakizan-r11-gallery-arrow,
  html[lang^="fa"] body.rtl .farashop__product-page .product-gallery__small > .slick-next.pakizan-r13-gallery-arrow {
    position: static !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    min-width: 32px !important;
    height: 32px !important;
    min-height: 32px !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
  }

  html[lang^="fa"] body.rtl .farashop__product-page .product-gallery__small > .slick-prev.pakizan-r11-gallery-arrow,
  html[lang^="fa"] body.rtl .farashop__product-page .product-gallery__small > .slick-prev.pakizan-r13-gallery-arrow {
    grid-column: 3 !important;
    grid-row: 1 !important;
  }

  html[lang^="fa"] body.rtl .farashop__product-page .product-gallery__small > .slick-next.pakizan-r11-gallery-arrow,
  html[lang^="fa"] body.rtl .farashop__product-page .product-gallery__small > .slick-next.pakizan-r13-gallery-arrow {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  /* The related-products pane owns the R26 pair.  Keep both buttons fully
     inside its edge; R31 continues to hide only the obsolete R13 pair. */
  html[lang^="fa"] body.rtl .farashop__product-page .tabs__container > ul:not(.js__tab):not(.tabify) > li.__related-products.pakizan-r26-tab-carousel-pane .pakizan-r26-tab-carousel-arrow.pakizan-r26-tab-carousel-forward {
    right: 0 !important;
    left: auto !important;
  }

  html[lang^="fa"] body.rtl .farashop__product-page .tabs__container > ul:not(.js__tab):not(.tabify) > li.__related-products.pakizan-r26-tab-carousel-pane .pakizan-r26-tab-carousel-arrow.pakizan-r26-tab-carousel-back {
    right: auto !important;
    left: 0 !important;
  }
}
