.tmplt-comparison-table {
  width: 100%;
  background-color: var(--beige);
  text-align: center;
  margin: 16px 0;
  table-layout: fixed;
  border: none !important;
}
.tmplt-comparison-table img {
  width: 110px;
  height: 40px;
  object-fit: contain;
}
.tmplt-comparison-table thead td a {
  display: block;
}
main.single-article-wrapper .tmplt-comparison-table p {
  text-align: center;
  color: var(--Dark, #1f1f21);
  font-family: Inter;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  margin: 0;
}
.tmplt-comparison-table label {
  background: linear-gradient(
    70deg,
    #a67f20 8.88%,
    #ddc03b 50.56%,
    #a67f20 87.44%
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: right;
  font-family: Cairo;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 145%;
  display: block;
  padding: 0 4px;
}
.tmplt-comparison-table thead {
  background: #fff;
}
.tmplt-comparison-table thead tr {
}

.tmplt-comparison-table thead td {
  padding: 0 !important;
  height: 46px;
}
.tmplt-comparison-table td {
  width: 176px;
  height: 36px;
  text-wrap: auto;
  padding: 4px !important;
  vertical-align: middle;
}
.tmplt-comparison-table tbody td:first-child {
}
.tmplt-comparison-table tbody tr:nth-child(odd) {
  background-color: var(--beige) !important;
}
.tmplt-comparison-table tbody tr:nth-child(odd) td {
  background-color: var(--beige) !important;
}
.tmplt-comparison-table tbody tr:nth-child(even) {
  background-color: #fff !important;
}
.tmplt-comparison-table tbody tr:nth-child(even) td {
  background-color: #fff !important;
}

.tmplt-sorting-body-wrap
  > div:nth-child(n + 4)
  .tmplt-sorting-body-row-header.not_partner
  > div
  > .tmplt-sorting-body-cell {
  width: 50%;
  display: flex;
}

.tmplt-comparison-table tbody tr:last-child td {
  height: 56px;
  padding: 0 16px;
}
.tmplt-comparison-table tbody tr td:first-child {
}
.tmplt-comparison-table tbody tr td:last-child {
}
.tmplt-comparison-table tbody tr:last-child td:first-child {
}
.tmplt-comparison-table tbody tr:last-child td a {
  background: var(
    --gold-Gradient,
    linear-gradient(70deg, #a67f20 8.88%, #ddc03b 50.56%, #a67f20 87.44%)
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: Cairo;
  font-size: 15px;
  font-style: normal;
  font-weight: 800;
  line-height: 145%;
  text-decoration: none;
}

.tmplt-comparison-table tbody tr:last-child td:first-child {
}
/* end: comparison */

.tmplt-comparison-mobile-container {
  display: none;
  background: #1f1f21
    url(/wp-content/themes/sahifa-child/public/img/patterns/dark-pattern.png);
  padding: 24px 16px;
  margin: 16px -16px 24px;
}
.tmplt-comparison-mobile-container > h2 {
  margin-right: 16px;
}
.tmplt-comparison-mobile-container > h2:before {
  display: none;
}
.tmplt-comparison-container .custom-scrollbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0 0;
  align-items: center;
}
.tmplt-comparison-container .custom-scrollbar .scroll-arrow {
  display: block;
  height: 16px;
  width: 8px;
}
.tmplt-comparison-container .custom-scrollbar .scroll-arrow.right-arrow {
  transform: rotate(180deg) translate(0px, 0px);
}

.tmplt-comparison-mobile-container .tmplt-comparison-table {
  table-layout: fixed;
}
.tmplt-comparison-mobile-container .tmplt-comparison-table td {
  width: 120px;
  height: 48px;
  background: var(--white);
  text-wrap: auto;
  border: 1px solid var(--gold) !important;
  border-bottom: 1px solid var(--gold) !important;
}
.comparison-scroll-wrapper {
  display: flex;
  background: #111;
}
.css_sticky_comparison {
  /* .tmplt-comparison-mobile-container .tmplt-comparison-table td:first-child { */
  position: sticky;
  right: 0;
  z-index: 5;
  width: 120px;
}
.tmplt-comparison-table.css_sticky_comparison td {
}
.scrollable-content .tmplt-comparison-table.__js-data-table tbody td {
  padding: 0 8px !important;
  height: unset;
  min-height: unset;
  vertical-align: middle;
}
.scrollable-content .tmplt-comparison-table.__js-data-table tbody td > * {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px !important;
  font-weight: 700 !important;
}
.tmplt-comparison-mobile-container
  .tmplt-comparison-table
  tbody
  td:first-child {
}
.tmplt-comparison-mobile-container
  .tmplt-comparison-table.__js-data-table
  thead
  td:first-child,
.tmplt-comparison-mobile-container
  .tmplt-comparison-table.__js-data-table
  tbody
  td:first-child {
}
.tmplt-comparison-mobile-container
  .tmplt-comparison-table
  tbody
  tr:last-child
  td:first-child {
}
.tmplt-comparison-mobile-container .tmplt-comparison-table thead td {
  background: var(--beige) !important;
  vertical-align: bottom;
  padding-bottom: 4px;
  height: 40px;
}

.tmplt-comparison-mobile-container .tmplt-comparison-table tbody td a {
  display: block;
}
.tmplt-comparison-mobile-container .tmplt-comparison-table tbody td a img {
  width: 80px;
  height: 30px;
  object-fit: contain;
}
.tmplt-comparison-mobile-container .tmplt-comparison-table label {
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
}
.tmplt-comparison-table.css_sticky_comparison.__js-logo-table {
  /* border: none !important; */
}
.tmplt-comparison-table.__js-data-table {
  transform: translateX(1px);
}

.tmplt-comparison-mobile-container
  .tmplt-comparison-table
  tbody
  tr:last-child
  td {
  height: 48px;
  padding: 0 5px;
}
.tmplt-comparison-mobile-container
  .tmplt-comparison-table
  tbody
  tr:last-child
  td
  a {
  font-size: 12px;
  font-weight: 400;
}

/* custom scrollbar */
.scroll-thumb {
  position: absolute;
  right: 0;
  left: unset;
  width: 64px;
  height: 10px;
  background: var(--Gold);
  border-radius: 0;
  cursor: pointer;
  transform: translate(0, -50%) skew(-45deg, 0deg);
  background: linear-gradient(
    70deg,
    #a67f20 8.88%,
    #ddc03b 50.56%,
    #a67f20 87.44%
  );
}

.scroll-track {
  position: relative;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    70deg,
    #a67f20 8.88%,
    #ddc03b 50.56%,
    #a67f20 87.44%
  );
  border-radius: 0;
  margin: 10px 0;
}

.scroll-arrow {
  width: 30px;
  height: 10px;
  text-align: center;
  cursor: pointer;
  color: gold;
}

.scrollable-content {
  overflow-x: scroll;
  white-space: nowrap;
  width: 100%;
  background: #111;
  display: flex;
  direction: rtl;
}
.tmplt-comparison-desktop-scroll .scrollable-content {
  background: none;
  user-select: none;
}

.scrollable-content div {
  width: 2000px;
  height: 100px;
  background: linear-gradient(to right, red, blue);
}

.tmplt-comparison-desktop-scroll .custom-scrollbar {
  display: none;
}

.tmplt-comparison-container {
  direction: rtl;
}

.tmplt-comparison-mobile-container.tmplt-comparison-container h2 {
  margin-bottom: 0;
  margin-top: 0 !important;
}
@media screen and (max-width: 1550px) {
  .tmplt-comparison-desktop-scroll .custom-scrollbar {
    display: flex;
  }
  .tmplt-comparison-table-wrapper,
  .tmplt-comparison-desktop-scroll {
    display: none;
  }
  .tmplt-comparison-mobile-container {
    display: block;
    background: none;
    margin-bottom: 0;
    padding-bottom: 0;
    margin-top: 0;
  }
  main.single-article-wrapper .comparison-scroll-wrapper p {
    font-size: 8px;
  }
  main.single-article-wrapper .comparison-scroll-wrapper,
  main.single-article-wrapper .scrollable-content {
    background: none;
    user-select: none;
  }
  main.single-article-wrapper .scrollable-content {
    scrollbar-width: none; /* hide scrollbar */
    -ms-overflow-style: none; /* IE/Edge */
  }
  main.single-article-wrapper .scrollable-content::-webkit-scrollbar {
    display: none;
  }

  .tmplt-comparison-table.css_sticky_comparison td,
  .tmplt-comparison-table.css_sticky_comparison thead td {
    padding: 0 !important;
    vertical-align: middle;
  }
  .tmplt-comparison-container .custom-scrollbar {
    padding-top: 0;
  }
  .tmplt-comparison-mobile-container > h2 {
    margin-right: 0;
  }
}

@media screen and (max-width: 767px) {
  main.single-article-wrapper.page-listing .tmplt-comparison-mobile-container {
    background: #1f1f21
      url(/wp-content/themes/sahifa-child/public/img/patterns/dark-pattern.png);
    padding: 16px;
    padding-left: 0;
  }
  main.single-article-wrapper.page-listing
    .tmplt-comparison-mobile-container
    h2:before {
    display: none;
  }
  main.single-article-wrapper.page-listing
    .tmplt-comparison-mobile-container
    h2 {
    margin: 0 8px 0 0;
    padding: 0;
  }
  main.single-article-wrapper.page-listing
    .tmplt-comparison-container
    .custom-scrollbar {
    padding: 0 0 0 16px;
  }
  main.single-article-wrapper.page-listing
    .tmplt-comparison-container
    .tmplt-comparison-mobile-scroll {
    margin-bottom: 0;
  }
}
