
@property --colorButtonFirst {
  syntax: '<color>';
  initial-value: #ffd814;
  inherits: false;
}

@property --colorButtonSecond {
  syntax: '<color>';
  initial-value: #ffeb8a;
  inherits: false;
}

.cards-producto__main-table-grid * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
}

.cards-producto__main-table-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  width: 100%;
}

/*
MAIN ROUNDED CARD
*/

.card-producto__main-card {
  padding: 20px;
  font-family: "Poppins";
  width: 100%;
  border-right: 1px solid #f0f0f0;
  flex-grow: 1;
  color: #1f1f29;
}

.page-portada__cards .card-producto__main-card {
  padding: 20px 40px;
}

.page-portada__cards .card-producto__main-card:nth-child(2),
.page-portada__cards .card-producto__main-card:nth-child(3) {
  background: linear-gradient(to right, #f9f9f9 0%, #fff 2%, #fff 100%);
}

.card-producto__main-card:nth-child(3) {
  border-right: none;
}

.card-producto__main-divider {
  display: flex;
  gap: 10px;
}

.card-producto__main-divider-left {
  background: #fafafa;
  border-radius: 5px;
  padding: 15px;
  height: auto;
  width: 100%;
  max-width: 180px;
}

.card-producto__main-card-title {
  line-height: 1.21;
  margin-bottom: 10px;
}

.card-producto__main-card-title__top-subtitle {
  font-weight: 500;
  font-size: 11px;
}

.card-producto__main-card-title__title {
  font-size: 13px;
  white-space: nowrap;
  font-weight: 700;
}

.card-producto__main-card-title--bottom {
  margin-bottom: 0;
  margin-top: 10px;
}


/* SUBCARD BORDERED -EXAMPLE: POWER AND WARRANTY OF CAR CHARGERS CARD- */
.card-producto__bordered-small-cards {
  background: none;
}

.card-producto__bordered-small-cards > div {
  border: 1px solid #fafafa;
  border-radius: 5px;
}

.card-producto__bordered-small-cards > div p {
  font-weight: 500;
  line-height: 1.22;
  font-size: 11px;
}

.card-producto__bordered-small-cards > div strong {
  font-weight: 600;
  font-size: 14px;
  line-height: 1.4;
}

.card-producto__bordered-small-cards > div span {
  color: #9f9f9f;
  font-weight: 400;
  font-size: 11px;
  margin-top: 2px;
  display: block;
}

/* SUBCARD WITH ICON -EXAMPLE: CHARGER SOLAR MODE: 3 MODES- */

.card-producto__full-subcard-icon > div p {
  display: flex;
  gap: 4px;
  flex-direction: column;
}

.card-producto__full-subcard-icon > div span {
  font-size: 11px;
  line-height: 1;
  font-weight: 500;
}

.card-producto__full-subcard-icon > div strong {
  font-size: 14px;
  line-height: 1.3;
  font-weight: 600;
}

.card-producto__full-subcard-icon__check {
  width: 100%;
  padding: 15px 10px;
  max-width: 78px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-producto__main-card-title__image {
  width: 100%;
  max-height: 175px;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: contrast(1);
}

.card-producto__main-divider-right {
  display: flex;
  width: 100%;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.card-producto__main-divider-right > div {
  display: flex;
  gap: 10px;
  align-items: center;
  background: #fafafa;
  border-radius: 5px;
  height: 100%;
}

.card-producto__full-subcard-icon__text {
  width: 100%;
  padding: 10px;
}

.card-producto__inversor-bateria__title-box {
  width: 100%;
  padding: 10px;
}

.card-producto__inversor-bateria__image {
  width: 100%;
  padding: 10px;
}

.card-producto__rango-precios {
  width: 100%;
  padding: 10px;
}



/*
.card-producto__main-divider-right > div:first-of-type > div {
  border: 1px solid #fafafa;
  border-radius: 5px;
}

.card-producto__main-divider-right > div:first-of-type > div p {
  font-weight: 500;
  line-height: 1.22;
  font-size: 11px;
}

.card-producto__main-divider-right > div:first-of-type > div strong {
  font-weight: 600;
  font-size: 14px;
  line-height: 1.4;
}

.card-producto__main-divider-right > div:first-of-type > div p span {
  color: #9f9f9f;
  font-weight: 400;
  font-size: 11px;
  margin-top: 2px;
  display: block;
}
*/

.card-producto__inversor-bateria img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  mix-blend-mode: multiply;
  filter: contrast(1);
}

.card-producto__inversor-bateria__subtitle-top {
  color: #9f9f9f;
  line-height: 1;
  font-weight: 400;
  font-size: 12px;
  display: block;
}

.card-producto__inversor-bateria__title-bottom {
  font-size: 12px;
  line-height: 1.3;
  font-weight: 700;
  display: block;
}

.card-producto__inversor-bateria__product-name {
  line-height: 1;
  font-weight: 400;
  font-size: 12px;
  display: block;
}

.card-producto__inversor-bateria > div:first-of-type {
  gap: 5px;
}

.card-producto__inversor-bateria > div:first-of-type,
.card-producto__inversor-bateria > div:first-of-type p {
  display: flex;
  gap: 4px;
  flex-direction: column;
}

.card-producto__inversor-bateria > div:last-of-type {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  max-width: 65px;
  max-height: 65px;
}

.card-producto__inversor-bateria__scores {
  display: flex;
  margin-top: 5px;
}

.card-producto__inversor-bateria__best-price {
  width: 13px;
  height: 13px;
  border-radius: 13px;
  background: #0085F7;
  border: #C8E3F9 solid 3px;
  margin-right: 5px;
}

.card-producto__inversor-bateria__best-price--red {
  background: #D737E5;
  border-color: #F3D3F6;
}

.card-producto__inversor-bateria__best-price--green {
  background: #42DEB9;
  border-color: #D5F4ED;
}

.card-producto__rango-precios {
  line-height: 1.21;
  height: auto;
}

.card-producto__rango-precios__subtitle {
  font-weight: 500;
  font-size: 11px;
}

.card-producto__rango-precios__title {
  font-size: 14px;
  white-space: nowrap;
  font-weight: 300;
  margin-top: 3px;
}

.card-producto__rango-precios__title strong {
  font-size: 18px;
  font-weight: 700;
}

/* VALORACION PRECIO CON BARRA ESTADO */
.card-producto__price-stats-bar {
  width: 100%;
  height: 6px;
  position: relative;
  border-radius: 8px;
  background: #f5f5f5;
  box-shadow: inset -1px 3px 2px rgba(0, 0, 0, 0.03);
  margin-bottom: 4px;
}

.card-producto__price-stats-text {
  width: 100%;
  padding: 10px;
}

.card-producto__full-subcard-price-title {
  font-size: 11px;
  line-height: 1.2;
  font-weight: 500;
  width: 100%;
  padding: 10px;
}

.card-producto__price-stats-price {
  font-size: 13px;
  width: 100%;
  padding: 10px;
}

.card-producto__price-stats-bar span {
  border-radius: 8px;
  top: 0;
  height: 100%;
  left: 0;
  position: absolute;
  background: linear-gradient(275.78deg, #5affba -0.13%, #5affe1 109.57%);
}






.card-producto__main-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.card-producto__main-card-reviews {
  font-size: 12px;
}

.card-producto__reviews-count {
  font-size: 12px;
  color: #757575;
  line-height: 1.66;
  font-weight: 400;
  margin-top: 5px;
}

.card-producto__main-card-stars {
  display: flex;
  gap: 3px;
}

.card-producto__main-card-stars img {
  width: 12px;
  height: 12px;
}

.card-producto__main-card-link {
  background: linear-gradient(139deg, var(--colorButtonFirst), var(--colorButtonSecond));
  border-radius: 30px;
  padding: 6px 15px 6px 25px;
  display: flex;
  align-items: center;
  font-family: "Poppins";
  font-size: 13px;
  color: #6a5800;
  white-space: nowrap;
  font-weight: 500;
  text-decoration: none;
  line-height: 1.66;
  gap: 25px;
  transition: all 0.5s ease-in-out, --colorButtonFirst 0.3s, --colorButtonSecond 0.3s;
}

.card-producto__main-card-link:hover {
  --colorButtonFirst: #ffeb8a;
  --colorButtonSecond: #ffd814;
  color: #1f1f29;
}

.card-producto__main-card-link svg,
.card-producto__main-card-link img {
  width: 12px;
  height: 10px;
  object-fit: contain;
  fill: #6a5800;
}
.card-producto__main-card-link svg #vector-line {
  transition: transform 0.1s ease-in-out;
  transform: scaleX(0);
}
.card-producto__main-card-link:hover svg #vector-line {
  transform: scaleX(1);
}
.card-producto__main-card-link svg #vector-broadhead {
  transition: transform 0.15s ease-in-out;
  transform: translateX(-5px);
}
.card-producto__main-card-link:hover svg #vector-broadhead {
  transform: translateX(0);
}

.card-producto__main-card-price {
  font-size: 12px;
  font-weight: 400;
  color: #838383;
}

.card-producto__main-card-price strong {
  font-weight: 700;
  font-size: 17px;
  color: #1f1f29;
}



.cards-producto__main-table-grid.cards-producto__main-table-grid-2
  .card-producto__price-stats-bar
  span {
  background: linear-gradient(275.78deg, #62dbfb -0.13%, #5affe1 109.57%);
}

.cards-producto__main-table-grid.cards-producto__main-table-grid-3
  .card-producto__price-stats-bar
  span {
  background: linear-gradient(275.78deg, #d4ff5a -0.13%, #ffdb5a 109.57%);
}

.card-producto__main-card-quality {
  width: 100%;
  max-width: 45px;
  justify-content: flex-start;
  padding: 0px;
  color: #fff;
  font-weight: 700;
  font-size: 10px;
  background: #4cb749;
  clip-path: polygon(0% 0%, 82% 0, 100% 50%, 82% 100%, 0% 100%);
  border-radius: 0;
  padding-left: 6px;
  margin-right: 10px;
}

.cards-producto__main-table-grid.cards-producto__main-table-grid-4 .card-producto__main-divider-left {
  padding: 25px;
}

.cards-producto__main-table-grid.cards-producto__main-table-grid-4
  .card-producto__main-divider-left
  img {
  height: 55px;
  object-fit: contain;
  width: auto;
  max-width: 130px;
}

.cards-producto__main-table-grid.cards-producto__main-table-grid-4 .card-producto__main-divider-left h3 {
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600px;
}

.cards-producto__main-table-grid.cards-producto__main-table-grid-4 .card-producto__main-divider-left p {
  font-family: "Roboto";
  font-weight: 400;
  font-size: 12px;
  line-height: 1.42;
  color: #757575;
}

.cards-producto__main-table-grid.cards-producto__main-table-grid-4
  .card-producto__main-divider-right
  > div:first-of-type
  > div {
  border: none;
}

.cards-producto__main-table-grid.cards-producto__main-table-grid-4
  .card-producto__main-divider-right
  > div:first-of-type
  > div:last-of-type {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.cards-producto__main-table-grid.cards-producto__main-table-grid-4
  .card-producto__main-divider-right
  > div:first-of-type {
  background: #fafafa;
  border-radius: 5px;
}

.cards-producto__main-table-grid.cards-producto__main-table-grid-4
  .card-producto__main-divider-right
  > div:first-of-type
  > div
  p
  span {
  color: #757575;
}

.cards-producto__main-table-grid.cards-producto__main-table-grid-4
  .card-producto__main-divider-right
  .page-portada__companies-instalations-count {
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  padding: 10px;
}
.cards-producto__main-table-grid.cards-producto__main-table-grid-4
  .card-producto__main-divider-right
  .page-portada__companies-instalations-count
  > p {
  font-weight: 500;
  white-space: nowrap;
  font-size: 11px;
}
.cards-producto__main-table-grid.cards-producto__main-table-grid-4
  .card-producto__main-divider-right
  .page-portada__companies-instalations-count
  > div {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 0;
  font-weight: 600;
  font-size: 14px;
  max-width: 100%;
}

.cards-producto__main-table-grid.cards-producto__main-table-grid-4
  .card-producto__main-divider-right
  .page-portada__companies-instalations-count
  .card-producto__price-stats-bar {
  width: 60px;
  background: #f0f0f0;
}

.cards-producto__main-table-grid.cards-producto__main-table-grid-4
  .card-producto__main-divider-right
  .page-portada__companies-instalations-count
  .card-producto__price-stats-bar
  span {
  background: linear-gradient(275.78deg, #232323 -0.13%, #9c9c9c 109.57%);
}

.cards-producto__main-table-grid.cards-producto__main-table-grid-4
  .card-producto__main-divider-right
  > div:nth-child(3) {
  padding: 10px;
  border: none;
  background: #fafafa;
  justify-content: space-between;
}

.cards-producto__main-table-grid.cards-producto__main-table-grid-4
  .card-producto__main-divider-right
  > div:nth-child(3)
  > div {
  padding: 0;
  height: auto;
}

.cards-producto__main-table-grid.cards-producto__main-table-grid-4
  .card-producto__main-divider-right
  > div:nth-child(3)
  > p
  span {
  font-weight: 500;
  font-size: 11px;
  line-height: 14px;
}

.cards-producto__main-table-grid.cards-producto__main-table-grid-4
  .card-producto__main-divider-right
  > div:nth-child(3)
  > p
  strong {
  font-size: 14px;
  font-weight: 600;
  line-height: 17px;
  display: block;
}

.cards-producto__main-table-grid.cards-producto__main-table-grid-4 .card-producto__main-card-footer {
  flex-direction: column;
  margin-top: 18px;
  align-items: flex-start;
}

.cards-producto__main-table-grid.cards-producto__main-table-grid-4
  .card-producto__main-card-footer-top
  h4 {
  color: #9f9f9f;
  font-weight: 500;
  font-size: 12px;
  line-height: 1.47;
  margin-bottom: 10px;
}

.cards-producto__main-table-grid.cards-producto__main-table-grid-4
  .card-producto__main-card-footer-top
  div {
  display: flex;
  column-gap: 10px;
  row-gap: 5px;
  flex-wrap: wrap;
}

.cards-producto__main-table-grid.cards-producto__main-table-grid-4
  .card-producto__main-card-footer-top
  div
  span {
  padding: 5px 12px;
  border-radius: 20px;
  font-weight: 500;
  font-size: 12px;
  line-height: 1.47;
  background: #fafafa;
  white-space: nowrap;
}

.cards-producto__main-table-grid.cards-producto__main-table-grid-4
  .card-producto__main-card-footer-bottom {
  display: flex;
  margin-top: 28px;
  justify-content: space-between;
  width: 100%;
}

.cards-producto__main-table-grid.cards-producto__main-table-grid-4
  .card-producto__main-card-footer-bottom
  p {
  font-weight: 400;
  font-size: 13px;
  font-family: "Roboto";
  line-height: 1.41;
  color: #9f9f9f;
}

.cards-producto__main-table-grid.cards-producto__main-table-grid-4
  .card-producto__main-card-footer-bottom
  p
  span {
  font-weight: 400;
  color: #1f1f29;
  display: block;
}

.cards-producto__main-table-grid.cards-producto__main-table-grid-5 .card-producto__main-divider-left {
  border-radius: 5px;
  padding: 0;
  overflow: hidden;
}

.cards-producto__main-table-grid.cards-producto__main-table-grid-5
  .card-producto__main-divider-left
  img {
  width: 100%;
  height: 100%;
  max-height: initial;
  display: block;
  object-fit: cover;
}



.cards-producto__main-table-grid.cards-producto__main-table-grid-5
  .card-producto__main-divider-right
  > div:first-of-type
  span {
  color: #9f9f9f;
  font-weight: 500;
  line-height: 1.22;
  font-size: 11px;
}

.cards-producto__main-table-grid-5
  .card-producto__main-divider-right
  .page-portada__companies-instalations-count {
  flex-direction: column;
  gap: 5px;
  align-items: flex-start;
  padding: 10px;
  background: #fafafa !important;
  border: none !important;
}

.cards-producto__main-table-grid-5
  .card-producto__main-divider-right
  .page-portada__companies-instalations-count
  > p {
  font-weight: 500;
  white-space: nowrap;
  font-size: 11px;
}

.cards-producto__main-table-grid-5
  .card-producto__main-divider-right
  .page-portada__companies-instalations-count
  > div {
  display: flex;
  flex-direction: row !important;
  justify-content: space-between;
  padding: 0;
  font-weight: 600;
  font-size: 14px;
}

.cards-producto__main-table-grid-5
  .card-producto__main-divider-right
  .page-portada__companies-instalations-count
  .card-producto__price-stats-bar {
  width: 60px;
  background: #f0f0f0;
}

.cards-producto__main-table-grid-5
  .card-producto__main-divider-right
  .page-portada__companies-instalations-count
  .card-producto__price-stats-bar
  span {
  background: linear-gradient(275.78deg, #232323 -0.13%, #9c9c9c 109.57%);
}

.cards-producto__main-table-grid-5
  .card-producto__main-divider-right
  .page-portada__companies-instalations-count
  > div {
  max-width: 100% !important;
  height: auto !important;
  justify-content: space-between !important;
  background: transparent !important;
}

.cards-producto__main-table-grid.cards-producto__main-table-grid-5
  .card-producto__main-divider-right
  > div:last-of-type {
  justify-content: flex-start;
}

.cards-producto__main-table-grid.cards-producto__main-table-grid-5
  .card-producto__main-divider-right
  > div:last-of-type
  div
  img {
  width: 12px;
  height: 12px;
}

.cards-producto__main-table-grid.cards-producto__main-table-grid-5
  .card-producto__main-divider-right
  > div:last-of-type
  div {
  width: auto;
  padding-left: 0;
  padding-right: 0;
}

.cards-producto__main-table-grid.cards-producto__main-table-grid-5
  .card-producto__main-divider-right
  > div:last-of-type
  p {
  font-weight: 400;
  font-family: "Roboto";
  font-size: 13px;
  line-height: 1.66;
  white-space: nowrap;
}

.cards-producto__main-table-grid.cards-producto__main-table-grid-5 .card-producto__main-card-footer p {
  font-family: "Roboto";
  font-weight: 400;
  font-size: 13px;
  line-height: 1.41;
  color: #9f9f9f;
}

.cards-producto__main-table-grid.cards-producto__main-table-grid-5
  .card-producto__main-card-footer
  p
  span {
  display: block;
  color: #1f1f29;
}

/* .cards-producto__main-table-grid.cards-producto__main-table-grid-5 .card-producto__main-card-footer .card-producto__main-card-link {
  padding: 7px 50px;
} */

/* HIDE EXTRA CARDS */

.cards-producto__main-table-grid-prev .card-producto__main-card:nth-child(4), .cards-producto__main-table-grid-prev .card-producto__main-card:nth-child(5), .cards-producto__main-table-grid-prev .card-producto__main-card:nth-child(6), .cards-producto__main-table-grid-prev .card-producto__main-card:nth-child(7), .cards-producto__main-table-grid-prev .card-producto__main-card:nth-child(8) {
  display: none;
}

@media (max-width: 1500px) {
  .card-producto__main-card {
    padding: 2vw;
  }

  .card-producto__main-divider-left {
    padding: calc(0.5vw + 8.35px);
  }

  .card-producto__main-card-footer {
    padding: calc(0.5vw + 8.35px);
  }
}

@media (max-width: 1280px) {
  .cards-producto__main-table-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: none;
  }
  .cards-producto__main-table-grid-prev .card-producto__main-card:nth-child(4) {
    display: block;
  }
  .card-producto__main-card:nth-child(2),
  .card-producto__main-card:nth-child(4) {
    border-right: none;
  }

  .card-producto__main-card:nth-child(3) {
    border-right: 1px solid #f0f0f0;
  }

  .card-producto__main-card:nth-child(1),
  .card-producto__main-card:nth-child(2) {
    border-bottom: 1px solid #f0f0f0;
  }

  .card-producto__main-divider-right {
    width: 100%;
  }
}

@media (max-width: 980px) {
  .cards-producto__main-table-grid {
    margin-bottom: 50px;
  }
}

@media (max-width: 768px) {
  .cards-producto__main-table-grid {
    grid-template-columns: 1fr;
  }
  .cards-producto__main-table-grid-prev .card-producto__main-card:nth-child(4) {
    display: none;
  }

  .card-producto__main-card {
    padding: calc(2vw + 15px) calc(2vw + 5px);
    border-right: none;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 0;
  }

  .card-producto__main-card-title h3 {
    font-size: calc(10.5px + 1vw);
  }

  .card-producto__main-card:last-of-type {
    margin-bottom: 25px;
  }

  .card-producto__main-divider-left img {
    width: 110px;
  }

  .card-producto__main-card-title span {
    font-size: calc(9px + 0.5vw);
  }

  .card-producto__main-divider-right > div:first-of-type > div strong {
    white-space: nowrap;
  }

  .card-producto__main-card-price {
    font-size: calc(8.16 + 0.5vw);
  }

  .card-producto__main-card-price strong {
    font-size: calc(13.16 + 0.5vw);
  }

  .card-producto__main-divider-left {
    max-width: calc(141.6px + 5vw);
  }

  .card-producto__main-divider-right {
    gap: 9px;
    width: 100%;
  }

  .card-producto__main-divider-right > div:nth-child(2) > div img {
    margin-right: 10px;
  }

  .cards-producto__main-table-grid.cards-producto__main-table-grid-4 .card-producto__main-divider-left {
    padding: calc(5px + 2vw);
  }
}
