html[dir="rtl"] body,
body.rtl {
  direction: rtl;
}

html[dir="rtl"] body {
  font-family: "Ko";
}

/* -------------------------
   SHOP SEARCH (RTL)
   ------------------------- */
   
html[dir="rtl"] .shop-banner__container {
  right: 50%;
  transform: translateX(50%);
}

html[dir="rtl"] .pb-shop-search__inner {
  flex-direction: row;
}

html[dir="rtl"] .pb-single__pdf {
  flex-direction: row-reverse;
}

html[dir="rtl"] .pb-shop-search__inner input {
  text-align: right;
}

/* Clear button padding flips */
html[dir="rtl"] .pb-shop-search__clear {
  padding: 1rem 1rem 1rem 0;
}

@media (max-width: 575px) {
  html[dir="rtl"] #pb-shop-search-btn {
    left: 50%;
    right: auto;
    transform: translate(-50%, 50%);
  }
}

/* -------------------------
   FILTERS (RTL)
   ------------------------- */
   html[dir="rtl"] .pb-product-card__info span {
    align-items: flex-end;
    font-family: "Conthrax", sans-serif !important;
    text-align: left;
}

html[dir="rtl"] .gray-expand {
    left: auto;
    right: 18px;
}

html[dir="rtl"] .pb-filter-category__main {
    padding-left: 0;
    padding-right: 20px;
}

html[dir="rtl"] .pb-filter-sublist__item {
  padding-left: 0;
  padding-right: 1.5rem;
}

html[dir="rtl"] .pb-filter-list__item {
  position: relative;
}

html[dir="rtl"] .pb-filter-category__arrow {
  right: 12px;
  left: auto;
}

html[dir="rtl"] .pb-filter-checkbox {
  justify-content: flex-start;
}


html[dir="rtl"] .pb-filter-category__arrow::before {
  transform: rotate(225deg) translateY(-3px);
}


html[dir="rtl"] .pb-filter-list__item--open .pb-filter-category__arrow::before {
  transform: rotate(45deg) translate(-2px, 1px);
}

/* -------------------------
   PRODUCT CARDS (RTL)
   ------------------------- */
html[dir="rtl"] .pb-product-card__title,
html[dir="rtl"] .pb-product-card__subtitle,
html[dir="rtl"] .pb-products-count {
  text-align: right;
}
html[dir="rtl"] .pb-product-card__tag {
    border-top-right-radius: 0;
    border-top-left-radius: 15px;
    padding: 1px 2px 1px 7px;
}

/* -------------------------
   SINGLE PRODUCT (RTL)
   ------------------------- */
html[dir="rtl"] .pb-single__content {
  text-align: right;
}

/* Tags row direction */
html[dir="rtl"] .pb-single_tags {
  justify-content: flex-start;
}

html[dir="rtl"] .downloadPDF-animation {
  left: 229px;
  right: auto;
}

@media (max-width: 1024px) {
  html[dir="rtl"] .downloadPDF-animation {
    left: 138px;
    right: auto;
  }
}
@media (max-width: 575px) {
  html[dir="rtl"] .downloadPDF-animation {
    left: 142px;
    right: auto;
  }
}

/* -------------------------
   TABS (RTL)
   ------------------------- */

/* Nav: show from right to left */
html[dir="rtl"] .pb-tabs__nav {
  flex-direction: row;
}

/* Highlight positioning: if your JS sets translateX based on left,
   it will still work, but the content slide direction must be flipped */
html[dir="rtl"] .pb-tabs__panel {
  left: 0;
  right: -7px; 
  /*transform: translateX(40px) !important; */
}

/* Mirror the entry animations */
html[dir="rtl"] .pb-tabs__panel.from-left  { transform: translateX(40px); }
html[dir="rtl"] .pb-tabs__panel.from-right { transform: translateX(-40px); }

/* Keep active state identical */
html[dir="rtl"] .pb-tabs__panel.is-active {
  transform: translateX(0);
}

/* Contenance buttons: make row flow RTL */
html[dir="rtl"] .pb-tabs__panel ul li {
  padding-left: unset;
  padding-right: 28px;
}

html[dir="rtl"] .pb-tabs__panel ul li::before {
  left: auto;
  right: 0;
}

/*html[dir="rtl"] .dist-form .wpcf7-form-control-wrap {*/
/*  margin-left: auto;*/
/*}*/
