@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html,
body {
  font-family: "Roboto", sans-serif;
  font-family: "Montserrat", sans-serif;
  font-family: "Prometo W02 Regular", sans-serif;
}

img {
  width: 100%;
  display: block;
}
.main-wrapper {
  /*min-height: 100vh;*/
  padding-top: 5rem;
  padding-top: 0rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.container {
  max-width: 1200px;
  padding: 0;
  margin: 0 auto;
}
.product-div {
  margin: 1rem 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  background-color: #fff;
  border-radius: 3px;
  column-gap: 10px;
}
.product-div-left {
  padding: 20px;
}
.product-div-right {
  padding: 20px;
}

.hover-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  gap: 5px;
}

.product-div-right span {
  display: block;
}
.product-name {
  font-size: 26px;
  margin-bottom: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  opacity: 0.9;
}
.product-price {
  font-weight: 700;
  font-size: 30px;
  opacity: 0.9;
  color: #ff0000;
  font-family: "Montserrat", sans-serif;
}
.product-price-container {
  font-weight: bold;
  color: #333;
  display: flex;
  align-items: center;
  gap: 5px; /* Espaçamento entre o preço e o desconto */
  margin-top: 10px;
}
.initial-price {
  justify-content: space-between;
  display: flex;
  gap: 5px;
  width: 100px;
}
.initial-price {
  color: #000000b8; /* Cor para o preço inicial */
  text-decoration: line-through; /* Linhas no preço inicial para mostrar que é o preço anterior */
  font-size: 14px;
  font-family: "Montserrat", sans-serif;
}

.discount {
  color: #ff0000;
  font-size: 12px;
  font-family: "Montserrat", sans-serif;
}

.product-rating {
  display: flex;
  align-items: center;
  margin-top: 12px;
  font-size: 14px;
}
.product-rating span {
  margin-right: 6px;
}
.product-description {
  font-weight: 18px;
  line-height: 1.6;
  font-weight: 300;
  opacity: 0.7;
  margin-top: 12px;
}
.select-groups {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  margin-top: 1rem;
}

.product-size,
.product-density {
  padding: 5px 8px;
  font-size: 15px;
  border-radius: 15px;
  border: 1px solid #ccc;
  transition: all 0.3s ease;
  outline: none;
}

.product-size:focus,
.product-density:focus {
  border-color: rgb(255, 140, 140);
  color: #000;
}

/* Estilos para alinhar quantidade e disponibilidade */
.quantity-available {
  margin: 10px 0;
}

.quantity-row {
  display: flex;
  align-items: center;
  gap: 20px; /* Espaçamento entre os elementos */
}

.quantity-selector {
  display: flex;
  align-items: center;
  gap: 5px;
}

.quantity-selector button {
  width: 30px;
  height: 30px;
  background-color: #fd384f;
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.quantity-selector button:hover {
  background-color: #0f0f0f;
}

.quantity-number {
  font-size: 16px;
  font-weight: bold;
  padding: 0 10px;
}
.btn-groups {
  margin-top: 22px;
}
.btn-groups button {
  display: inline-block;
  font-size: 16px;
  font-family: inherit;
  text-transform: uppercase;
  padding: 15px 16px;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-groups button .fas {
  margin-right: 8px;
}
.add-cart-btn {
  background-color: #fd384f;
  border: 2px solid #fd384f;
  margin-right: 8px;
}
.add-cart-btn:hover {
  background-color: #fff;
  color: #fd384f;
}
.buy-now-btn {
  background-color: #000;
  border: 2px solid #000;
}
.buy-now-btn:hover {
  background-color: #fff;
  color: #000;
}

.table {
  list-style-type: none; /* Remove os marcadores da lista */
  padding: 0; /* Remove o padding padrão */
  margin: 0; /* Remove a margem padrão */
  display: grid;
  grid-template-columns: 1fr 1fr; /* Define duas colunas iguais */
  gap: 5px; /* Espaço entre as células */
  margin-top: 1rem;
}

.table-row {
  display: contents; /* Faz com que os itens filhos se comportem como se fossem filhos diretos do grid */
}

.table-cell {
  padding: 10px 0;
  box-sizing: border-box; /* Inclui a borda e o padding no tamanho total da célula */
}

.label {
  font-weight: 500;
}
/*
.person-name,
.person-age {
   Estilos adicionais, se necessário 
}
*/
.share-buttons {
  margin-top: 20px; /* Espaço acima da seção de compartilhamento */
  text-align: start; /* Centraliza o texto e os ícones */
}

.share-buttons p {
  font-size: 14px;
  margin-bottom: 10px; /* Espaço abaixo do texto */
}

.social-icons {
  display: flex;
  justify-content: start; /* Alinha os ícones ao centro */
  gap: 15px; /* Espaço entre os ícones */
}

.social-icon {
  display: inline-block;
  font-size: 16px; /* Tamanho dos ícones */
  color: #333; /* Cor dos ícones */
  text-decoration: none;
}

.social-icon:hover {
  color: #fd384f;
}

@media screen and (max-width: 992px) {
  .product-div {
    grid-template-columns: 100%;
  }
  .product-div-right,
  .product-price-container {
    text-align: center;
    padding-top: 0;
  }
  .product-rating,
  .product-price-container,
  .select-groups,
  .quantity-selector {
    justify-content: center;
  }
  .table {
    text-align: start;
  }
  .product-description {
    max-width: 400px;
    margin-right: auto;
    margin-left: auto;
    text-align: justify;
  }
}

@media screen and (max-width: 400px) {
  .btn-groups button {
    width: 100%;
    margin-bottom: 10px;
  }
}

/*=============================bottom-container===============*/
.titles {
  color: #222222e4;
  font-size: 1.3rem;
  margin: 8px 0;
  line-height: 1.8rem;
  font-weight: bold;
  text-decoration: none;
}

hr {
  display: flex;
  width: 95%;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  height: 0;
  border: 0.5px solid #e8e8e8;
}
.bottom-container {
  gap: 20px;
  width: 97%;
  margin: 0 auto;
  padding: 20px;
  height: auto;
  margin-bottom: 1rem;
}

.related {
  display: grid;
  grid-template-columns: repeat(6, 1fr); /* Padrão: 1 coluna */
  gap: 20px;
  margin-bottom: 2rem;
}
.related-wrapper {
  border: 1px solid rgba(0, 0, 0, 0.111);
  border-radius: 15px;
  padding: 1rem;
  transition: 250ms ease-in;
}
.related-wrapper:hover {
  scale: 1.025;
}

.related-img {
  border-radius: 15px;
  /*width: 10rem;*/
  object-fit: contain;
}
.clamp-text {
  color: #222222b5;
  font-size: 0.8rem;
  margin: 5px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Define o número máximo de linhas */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 3em; /* Ajuste a altura de acordo com o tamanho da linha */
  line-height: 1.5em; /* Ajuste a altura da linha de acordo com o estilo do texto */
}
.related-wrapper > .rating i {
  color: #f39c12; /* Cor das estrelas */

  font-size: 0.8em;
}
.related-wrapper > button i {
  color: #ffffff; /* Cor das estrelas */
  font-size: 1em;
}
.final-pricet {
  color: #191919;
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  font-family: "Montserrat", sans-serif;
}
.small-textt {
  font-size: 0.95rem;
  vertical-align: baseline;
  color: #191919;
  font-family: "Montserrat", sans-serif;
}

.ratings {
  margin-top: 1rem;
}
.star {
  font-size: 30px;
  color: lightgray;
  cursor: pointer;
}
.star.selected {
  color: gold;
}
/*--------------------------img-wrapper----------------------*/
.img-wrapper {
  /*
  flex: 1.8;
  display: flex;
  align-items: center;
  justify-content: center;*/

  position: relative;
}

.img-wrapper .cart-icone {
  position: absolute;
  bottom: 5px; /* Ajuste conforme necessário */
  right: 20px; /* Ajuste conforme necessário */
  font-size: 34px; /* Ajuste o tamanho do ícone */
  color: #ffc35bc2;
  color: #c7c7c7;
  transition: transform 0.3s ease, color 0.3s ease;
}

.related-wrapper:hover .cart-icone i {
  transform: scale(1.2); /* Aumenta o ícone em 20% */
  color: #fefefe;
  transition: transform 0.3s ease, color 0.3s ease; /* Animação suave */
}
/*=============================.rigth-container================*/
.rigth-container {
  background-color: #fff;
  padding: 20px;
  height: 26rem;
  border-radius: 10px;
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.111);
}

.label i {
  margin-right: 2px; /* Espaço entre o ícone e o texto */
  font-size: 14px;
  color: #fd384f;
}

hr {
  display: flex;
  width: 95%;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  height: 0;
  border: 0.5px solid #e8e8e8;
}
.rigth-container h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0, 0, 0, 0.459);
}

.rigth-container h4 {
  margin: 10px 0;
  font-size: 16px;
  font-weight: bolder;
}
#quantity {
  margin: 8px;
  font-size: 14px;
  font-weight: bolder;
}
.rigth-container span {
  color: #191919b6;
}

.checkout .quantity-control {
  display: flex;
  align-items: center;
  justify-content: start;
}

.checkout .quantity-btn {
  background-color: #fd384f;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.6em;
  width: 20px;
  height: 20px;
  text-align: center;
  margin: 0;
}

.checkout .quantity-btn:hover {
  background-color: #fd7a89;
}
.quantity-btn i {
  font-size: 8px; /* Adjust the size of the icons */
  color: #ffffff; /* Adjust the color of the icons */
  pointer-events: none; /* Prevent the icon from interfering with button clicks */
}

.button {
  width: 100%;
  padding: 8px 12px;
  color: #fff;
  border-radius: 30px;
  cursor: pointer;
  font-size: 16px;
  margin-top: 10px;
  font-weight: 400;
  transition: 450ms ease-in-out;
}

.carinha-button {
  background-color: #fd384f;
  border: none;
  color: #ffffff;
}

.preview-button {
  background-color: #ffffff;
  color: #191919;
  border: 1px solid rgb(163, 163, 163);
}

.button i {
  margin-right: 0.5rem;
  font-size: 1rem;
}
.preview-button:hover,
.carinha-button:hover {
  scale: 1.02;
}

/*=============nav-extras==================*/

/* Minibar */
.minibar {
  height: 36px;

  font-family: "Ubuntu", sans-serif;
  font-size: 0.9rem;
  position: fixed;
  position: relative;
  top: 0;
  /* Ajuste de acordo com a altura da navbar principal */
  left: 0;
  right: 0;
  z-index: 1;
}
.navbar {
  display: flex;
  justify-content: space-between;
  font-family: "Ubuntu", sans-serif;
  align-items: center;

  box-shadow: 0 0 10px rgba(0, 0, 0, 0.279);
  padding: 1rem 2rem;
  position: fixed;
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
}

/* Estilos do pop-up */
.add-address-new {
  cursor: pointer;
  color: #007bff;
  text-decoration: underline;
}

/* Estilos do pop-up */
.popup-overlay-new {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.popup-content-new {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  width: 300px;
  max-width: 100%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  position: relative;
}

.popup-content-new h3 {
  margin-top: 0;
}

.popup-content-new form label {
  display: block;
  margin-top: 10px;
  margin-bottom: 5px;
}

.popup-content-new form input {
  width: 100%;
  padding: 8px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.popup-content-new form button {
  width: 100%;
  padding: 10px;
  background-color: #007bff;
  background-color: #fd7a89;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.close-popup-new {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
}

/* Estilo para o rótulo (label) */
label.new-label {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
}

/* Estilo para o dropdown (select) */
.select-dropdown-new {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #f9f9f9;
  font-size: 16px;
  color: #333;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

/* Estilo para o dropdown quando focado */
.select-dropdown-new:focus {
  border-color: #fd7a89;
}

/* Container para o dropdown e a seta */
.select-container-new {
  position: relative;
}

/* Estilo para a seta do dropdown */
.select-container-new::after {
  content: "▼"; /* Conteúdo da seta */
  font-size: 12px; /* Tamanho da seta */
  color: #333; /* Cor da seta */
  position: absolute; /* Posicionamento absoluto */
  right: 10px; /* Distância da seta à direita */
  top: 50%; /* Centralizar verticalmente */
  transform: translateY(-50%); /* Ajustar para centralização */
  pointer-events: none; /* Ignorar cliques na seta */
}

/* Estilos específicos para os campos atualizados */
#city-province-new,
#neighborhood-new,
#address-details-new,
#address-reference-new {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #f9f9f9;
  font-size: 16px;
  color: #333;
  outline: none;
}

#city-province-new:focus,
#neighborhood-new:focus,
#address-details-new:focus,
#address-reference-new:focus {
  border-color: #fd7a89;
}

@media (max-width: 1324px) {
  .titles {
    display: flex;
    margin: auto;
    text-align: center;
    justify-content: center;
    font-size: 1.2rem;
  }
  /* A partir de 768px de largura, ou qualquer tamanho que você preferir */
  .related {
    width: 8rem;
    grid-template-columns: repeat(5, 2fr); /* 3 colunas */
    margin: auto;
    align-items: center;
    justify-content: center;
  }

  .related-img {
    border-radius: 8px;
    width: 9rem;
    object-fit: contain;
  }
}
@media (max-width: 968px) {
  /* A partir de 768px de largura, ou qualquer tamanho que você preferir */
  .related {
    grid-template-columns: repeat(3, 2fr); /* 3 colunas */
  }
  .minibar {
    top: 0px;
    padding: 1.2rem 5rem;
  }
}
@media (max-width: 798px) {
  /* A partir de 768px de largura, ou qualquer tamanho que você preferir */
  .related {
    grid-template-columns: repeat(2, 4fr); /* 3 colunas */
  }

  .navbar {
    box-shadow: none;
    padding: 1rem 1rem;
  }
  .product-div-left {
    padding: 5px;
  }
  .product-div-rigth {
    padding: 5px;
  }

  .product-name {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    opacity: 0.9;
  }
  .product-price {
    font-weight: 700;
    font-size: 30px;
    opacity: 0.9;

    color: #ff0000;
  }
  .product-price-container {
    font-weight: bold;
    color: #333;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
  }

  .initial-price {
    color: #000000b8;
    text-decoration: line-through;
    font-size: 14px;
  }

  .discount {
    color: #ff0000;
    font-size: 12px;
  }

  .social-icon {
    font-size: 18px;
  }
  .final-pricet {
    color: #191919;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-family: "Montserrat", sans-serif;
  }
  .small-textt {
    font-size: 0.8rem;
    vertical-align: baseline;
    color: #191919;
    font-family: "Montserrat", sans-serif;
  }
  .clamp-text {
    color: #222222b5;
    font-size: 0.8rem;
    margin: 5px 0;
    display: -webkit-box;
    -webkit-line-clamp: 1; /* Define o número máximo de linhas */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 1.5em; /* Ajuste a altura de acordo com o tamanho da linha */
    line-height: 1.5em; /* Ajuste a altura da linha de acordo com o estilo do texto */
  }

  .ratings,
  .ratingss {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .cart-icone:active {
    scale: 1.025;
    color: #ffffff;
  }
}
@media (max-width: 720px) {
  /* A partir de 768px de largura, ou qualquer tamanho que você preferir */
  .related {
    grid-template-columns: repeat(2, 2fr); /* 3 colunas */
    gap: 8px;
  }

  .minibar {
    background-color: #ffffff;
    color: rgb(255, 0, 89);
    color: rgb(250 132 49);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.179);
    top: 0;
    padding: 1.2rem 5rem;
  }
}
