/*Top Offer Card*/
.comparator-cards-list-simple .TOC__partner-logo {
  max-width: unset;
}

.comparator-cards-list-simple .TOC__partner-logo:not([height]) {
  height: 5rem;
}

.comparator-cards-list-simple .TOC__partner-offer-name {
  margin: 20px auto;
}

.comparator-cards-list-simple .TOC__description-add--container {
  width: 100%;
  text-align: center;
  display: block;
}
.comparator-cards-list-simple .TOC__description-list--item::before {
  position: relative;
  top: unset;
  left: unset;
}
.comparator-cards-list-simple .TOC__description-add--container .TOC__description-displayed_filters {
  border-bottom: 1px solid #e9f2fb;
  margin-bottom: 20px;
}

.comparator-cards-list-simple .TOC__description-add--container .TOC__description-displayed_filters p {
  background-color: #e9f2fb;
  color: #000000;
  width: 100%;
  text-align: center;
  display: block;
}

.comparator-cards-list-simple  .TOC__price-info {
  border-top: 1px solid #e9f2fb;
  text-align: center;
  width: 100%;
  display: block;
}

.comparator-cards-list-simple .table {
  padding: 0;
  border: 1px solid #e9f2fb;
  box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.1565);
  border-radius: 8px;
  margin-bottom: 0;
  font-family: Inter, sans-serif;
  min-height: auto;
}

.comparator-cards-list-simple .table tbody td,
.comparator-cards-list-simple .table tbody th {
  border-bottom: 0;
}

.comparator-cards-list-simple .table tbody td.d-flex {
  display: flex;
}
.dino-tabs__panel .chart-header {
  border-bottom: 0;
}

.comparator-cards-list .TOC {
  padding: 0;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  /*display: flex;*/
  /*flex-direction: column;*/
  margin-bottom: 0;
  font-family: Inter, sans-serif;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

@media (min-width: 991px) {
  .comparator-cards-list .TOC {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Optional: ensure tables behave like cards */
.comparator-cards-list .TOC > table {
  width: 100%;
  border-collapse: collapse;
}

.comparator-cards-list .table+.table {
  margin-top: 0;
}

@media screen and (min-width: 991px) {
  .comparator-cards-list-simple table {
    width: 33%;
  }
}


/*Offer Card*/
.list-card-product-simple img.product-details__provider-logo {
  max-width: 100%;
  height: auto;
}

.list-card-product-simple .product-details .product-details__offer-name {
  margin-top: 10px;
}

.list-card-product-simple p+p {
  margin-top: 0;
}

.list-card-product-simple .product-details .cta-easy-subscription {
  text-decoration-line: none;
  display: block;
}

.list-card-product-simple .product-details .product-details__selectra_score {
  position: relative;
  display: block;
  text-align: center;
}
.list-card-product-simple .product-details .product-details__selectra_score.v-center,
.list-card-product-simple .v-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.list-card-product-simple .product-details .product-details__selectra_score p {
  width: 90%;
  margin: 0 30px;
}
@media screen and (max-width: 991px) {
  .list-card-product-simple .dino-tabs__collapse-content ul:not(.list--checkmark):not(.list--crossmark) li::before,
  .list-card-product-simple .dino-card-collapse-content .product-details-collapse-content ul:not(.list--checkmark):not(.list--crossmark) li::before {
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    margin-right: .5rem;
    position: absolute;
    left: -10px;
    top: 0;
    background-color: transparent;
  }
  .list-card-product-simple .dino-tabs__collapse-content ul.list--check>li:before {
    content: url('/themes/custom/agrippa/img/mep/sapphire-orange/icon-check-mark.svg');
  }
  .list-card-product-simple .dino-tabs__collapse-content ul.list--cross>li:before {
    content: url('/themes/custom/agrippa/img/mep/sapphire-orange/icon-x-mark.svg');
  }
  .list-card-product-simple .product-details .product-details__selectra_score {
    position: absolute;
    text-align: right;
    z-index: unset;
    top: 15px;
    right: 15px;
  }
  .list-card-product-simple .product-details .product-details__selectra_score.v-center {
    display: block;
  }
  .list-card-product-simple .product-details .product-details__selectra_score p {
    right: 0;
    position: absolute;
    height: 100px;
    width: 45%;
    text-overflow: ellipsis;
    overflow: hidden;
    margin: auto;
  }
  .list-card-product-simple .mt-50 {
    margin-top: 50px;
  }
  .list-card-product-simple .mt-30 {
    margin-top: 30px;
  }

  .list-card-product-simple .list-card__item .col-xs-12 a,
  .list-card-product-simple .list-card__item .col-xs-12.item a {
    margin-bottom: 0;
  }

}

.list-card-product-simple .product-details__selectra_score_img {
  height: 70px !important;
  width: 70px;
}

.list-card-product-simple .horizontal-bar-chart .hb__value-container {
  text-align: center;
  display: block;
}
.list-card-product-simple .hb__bar-value {
  text-align: center;
}

.list-card-product-simple .w-50 {
  width: 50%;
}

.list-card-product-simple .list-card__item .display-u {
  display: unset;
}

@media screen and (max-width: 497px) {
  .list-card-product-simple .score__bar.score__bar--display {
    max-width: unset;
  }
}


.list-card-product-simple img:not([src$=".svg"]) {
  height: auto;
}

.list-card-product-simple .product-details__offer-name {
  margin-top: 0;
}
/*New Offer*/
.list-card-product-simple .offer-content-left a,
.list-card-product-simple .offer-content-left p {
  display: block;
  text-align: left;
}
.list-card-product-simple.table--card-like-layout tbody tr {
  position: relative;
}
.list-card-product-simple.table--card-like-layout tbody tr td {
  max-width: unset;
}
.list-card-product-simple.table--card-like-layout tbody tr td .product-details__description-displayed_filters {
  text-align: left;
}
.list-card-product-simple.table--card-like-layout tbody tr td .dino-cta__wrapper {
  width: 80%;
  margin: 0 auto;
}
.list-card-product-simple.table--card-like-layout tbody tr td .mt-1 {
  margin-top: 1rem;
}
.list-card-product-simple.table--card-like-layout tbody tr td .cta-easy-subscription a {
  width: 100%;
}
.list-card-product-simple.table--card-like-layout tbody tr.offer-tabs {
  margin-top: -35px;
  box-shadow: none;
  border-radius: 0 0 0.5rem 0.5rem;
  border-top: none;
}
.list-card-product-simple.table--card-like-layout tbody tr.offer-cards {
  border-radius: 0.5rem 0.5rem 0 0;
  border-bottom: 0;
}
.list-card-product-simple.table--card-like-layout tbody tr.offer-tabs td {
  padding: 0.5rem 0 0 0;
  border-radius: 0.5rem 0.5rem 0 0;
}
.list-card-product-simple.table--card-like-layout tbody tr.offer-tabs td .dino-card-collapse-wrapper {
  margin: 0;
  width: 100%;
}
@media (min-width: 576px) and (max-width: 991px) {
  .list-card-product-simple.table--card-like-layout table tbody tr {
    display: flex;
    flex-direction: column;
  }
}
@media screen and (max-width: 991px) {
  .list-card-product-simple.table--card-like-layout tbody tr td .dino-cta__wrapper {
    width: 100%;
  }
  .list-card-product-simple.table--card-like-layout tbody tr td .offer-title-text {
    width: 150px;
  }
  .list-card-product-simple.table--card-like-layout tbody tr td.offer-score-table {
    position: absolute;
    text-align: right;
  }
  .list-card-product-simple.table--card-like-layout tbody tr td.offer-score-table .offer-score-txt {
    position: absolute;
    right: 15px;
    height: 100px;
    width: 150px;
    overflow: hidden;
  }
}
