﻿#igdrec_1 {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 0 auto;
  background-color: white;  
  padding: 40px 0px;
}

.shopping-cart-page-body .igo_boxbody {
  display: flex;
  transition: transform 0.5s ease;
  width: 116%;
  padding: 2% 10%;
}

.shopping-cart-page-body .igo_product_regular_price {
  text-align: center;
}

.shopping-cart-page-body #igdrec_1 {
  background-color: unset;
  
}

.shopping-cart-page-body .igo_boxhead h2 {
  text-align: center;
  font-family: Ubuntu;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
}

.shopping-cart-page-body .igo_product_product_name {
  height: 90px;
  font-family: var(--myralis-font-family-secondary);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-align: center;
}

.shopping-cart-page-body span.igo_product_regular_price_value {
  color: var(--text-primary);
}

.igo_boxbody {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
  padding: 2% 10%;
}

.igo_product {
  flex: 0 0 20%; /* 4 itens por vez em desktop */
  box-sizing: border-box;
  padding: 10px;
  width: 25%; /* 4 itens por vez em desktop */
  display: flex;
  flex-direction: column;
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
}

  .carousel-button.prev {
    left: 10px;
  }

  .carousel-button.next {
    right: 10px;
  }

.igo_product img {
  max-width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: contain;
  border: 1px solid var(--myracolors-10);
  border-radius: 8px;
}

.igo_product_info {
  margin-top: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.igo_boxhead {
  font-size: 22px;
  font-family: var(--myralis-font-family);
  color: var(--myracolors-2);
}

.igo_product_product_name,
.igo_product_regular_price {
  font-size: 14px; /* Ajuste conforme necessário */
  margin: 5px 0;
}

/* Ocultar apenas os labels, não o primeiro link */
.igo_product_product_name_label,
.igo_product_regular_price_label {
  display: none;
}

/* Remover o link de texto duplicado, se necessário */
.igo_product > a:first-child:not(:has(img)) {
  display: none;
}

span.igo_product_product_name_value {
  color: var(--myracolors-2);
  text-align: center;
  font-family: var(--myralis-font-2);
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  padding: 0px -5px;
  min-height: 68px;
}

.igo_product_regular_price_value {
  color: var(--myracolors-2);
  text-align: center;
  font-family: var(--myralis-font-family-secondary);
  font-size: 22px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  padding: 0px -5px;
}

/* Adição das regras para os dots */
.carousel-dots {
  display: none !important;
  text-align: center;
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

  .dot.active {
    background-color: var(--myracolors-2);
    width: 14px;
    height: 14px;
  }

#igdrec_1 .igo_boxbody {
  transition: transform 0.3s ease-out;
}

@media (max-width: 1024px) {
  .igo_product {
    flex: 0 0 20%; /* 1 item por vez em mobile */
    width: 100%;
  }

  .igo_boxhead h2{
      font-size: 22px !important;
  }

  .igo_product img {
    max-height: 250px;
  }

  .igo_boxbody {
    padding: 4% 5%;
  }

  .carousel-dots {
    display: block !important;
  }

    .carousel-button {
    padding: 5px;
    font-size: 18px;
  }

    .carousel-button.prev {
      left: 5px;
    }

    .carousel-button.next {
      right: 5px;
    }

  /* Ajuste dos dots para mobile */
  .dot {
    width: 8px;
    height: 8px;
    margin: 0 4px;
    background-color: unset;
    border: 1px solid;
  }
}
