.nav_prod {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-right: 1em;
  border-bottom: 1px solid var(--cinza-borda-produto);

  .breadcrumbs {
    font-family: var(--vogue);
    text-transform: lowercase;
    padding-block: 1em 1em;
    display: flex;
    flex-wrap: wrap;
    a {
      text-decoration: none;
      color: var(--cinza-letra-footer);
      transition: all 0.3s ease;

      &:hover {
        text-decoration: underline;
      }

      &.has-next {
        margin-right: 60px;
        text-wrap: wrap;
        &::after {
          width: 50px;

          text-align: center;
          position: absolute;
          content: "\f054"; /* fa chevron */
          font-family: "Font Awesome 6 Free";
          padding-top: 2px;

          font-size: 14px;
          font-weight: 900;
          text-decoration: none;
          color: var(--cinza-seta-breadcrumb);
        }
      }
    }

    span {
      color: var(--preto);
      font-weight: bold;
    }
  }

  .next-produtos {
    display: flex;

    a {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 30px;
      height: 30px;
      color: var(--preto);
      opacity: 0.6;
      /*border: 1px solid var(--cinza-dados-produto);*/
      border-radius: 50%;
      transition: all 0.3s ease;
      &:hover {
        opacity: 1;
        color: rgb(0, 0, 0);
        /*background-color: black;*/
      }
    }
  }
  .prod_img_popup {
    background: white;
    width: 100px;
    height: 100px;
    transition: all 0.3s ease;
    position: absolute;
    right: 1;
  }
}

.img-prods {
  display: flex;
  flex-direction: column-reverse;
  gap: 1em;
  align-items: center;
  padding-bottom: 2em;

  .additional-photos {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    width: 100%;

    a {
      width: 100px;
      height: 100px;
    }
  }

  .principal-photo {
    max-width: 640px;
    width: 100%;
    height: auto;
  }
}
.item-infos {
  font-family: var(--vag);

  .item-title {
    height: 2em;
    text-transform: capitalize;
    font-size: 26px;
    padding-bottom: 0.25em;
  }

  .item-info {
    display: flex;
    justify-content: start;
    column-gap: 4em;
    margin-bottom: 5em;
    color: var(--cinza-dados-produto);
    span {
      color: var(--preto);
      font-weight: bold;

      &.disp {
        font-weight: normal !important;
        color: green;
      }
      &.indisp {
        font-weight: normal !important;
        color: red;
      }
    }
  }

  .item-prices-button {
    flex-wrap: wrap;
    display: flex;

    /* justify-content: space-between; */
    align-items: center;

    .prices {
      .principal {
        font-family: var(--vag);
        color: var(--preto);
        font-size: 46px;
        font-weight: bold;
      }

      .cotes {
        display: flex;
        justify-content: start;
        gap: 1.5em;
        div {
          font-family: var(--vogue);
          font-size: 12px;
          color: #b6b6b6;
          display: flex;
          align-items: center;
          justify-content: center;
          gap: 0.5em;
          .flag {
            width: 25px;
            height: 25px;
            display: block;
            border-radius: 50%;
            &.br {
              background-image: url("https://flagicons.lipis.dev/flags/1x1/br.svg");
            }
            &.py {
              background-image: url("https://flagicons.lipis.dev/flags/1x1/py.svg");
            }
          }
        }
      }
    }

    .input-button {
      display: flex;
      gap: 0.5em;
      justify-content: end;

      .quantity {
        display: flex;
        /* max-width: 115px; */
        padding: 0.5em 0.5em;
        gap: 0.25em;
        /* justify-content: space-between; */
        font-family: var(--vogue);
        background: var(--cinza-borda-produto);
        border-radius: 15px;
        overflow: hidden;

        input[type="number"] {
          overflow: hidden;
          width: 3em;
          text-align: center;
          border: 0;
          background-color: transparent;
          font-family: var(--vogue);
          font-weight: bold;
          font-size: 20px;

          &:focus {
            outline: none;
          }

          /* Removendo as setas do input number */
          &::-webkit-inner-spin-button,
          &::-webkit-outer-spin-button {
            -webkit-appearance: none;
            margin: 0;
          }
        }

        button {
          background: none;
          border: none;
          color: var(--cinza-dados-produto);
          font-size: 20px;
          display: flex;
          align-items: center;
          justify-content: center;
          opacity: 0.6;
          &:focus,
          &:hover {
            outline: none;
            border: none;
            opacity: 1;
          }
        }
      }

      .carrinho {
        display: flex;
        align-items: center;
        color: white;
        font-family: var(--vogue);
        justify-content: center;
        gap: 1em;
        font-weight: bold;
        padding: 1em;
        border-radius: 15px;
        background-color: #25d366;
        transition: all 0.3s ease;
        &:hover {
          cursor: pointer;
          background-color: #09b147;
        }
        &:active {
          transform: scale(0.95);
          box-shadow: 0px 0px 5px var(--cinza-dados-produto);
        }
      }

      .disabled {
        display: flex;
        width: 100%;
        align-items: center;
        color: var(--cinza-dados-produto);
        font-family: var(--vogue);
        justify-content: center;
        gap: 1em;
        font-weight: bold;
        padding: 1em;
        border-radius: 15px;
        background-color: #ededed;
        transition: all 0.3s ease;
        &:hover {
          cursor: not-allowed;
          background-color: #ededed;
        }
      }
    }
  }
  .share {
    margin-top: 5em;

    div {
      padding-block: 0.5em;
      span {
        font-family: var(--vag);
        font-weight: bold;
      }
    }

    .social-mideas {
      display: flex;
      justify-content: start;
      align-items: center;
      gap: 1em;

      a {
        color: var(--cinza-seta-breadcrumb);
        transition: all 0.3s ease;
        &:hover {
          color: var(--cinza-dados-produto);
        }
      }
    }
  }
}

.descricao-label {
  padding-inline: 0.25em;
  display: flex;
  flex-direction: column;
  row-gap: 1em;

  .title {
    display: flex;
    gap: 1em;
    font-family: var(--vag);
    font-size: 24px;
    font-weight: bold;
    align-items: center;
    padding: 15px 15px 0px 5px;
    .linha {
      display: flex;
      width: 100%;
      border-top: 1px solid var(--cinza-borda-produto);
    }
  }

  .descricao {
    margin-bottom: 1em;
    * {
      margin: 0;
      padding: 1em 0.5em;
      border-radius: 8px;
    }

    *:nth-child(even) {
      background-color: #ffffff;
    }
  }
}

.medido {
  max-width: calc(100% - 247px);
}
@media (max-width: 768px) {
  .medido {
    max-width: 100%;
  }
  .next-produtos {
    display: none !important;
  }

  .img-prods {
    flex-direction: column-reverse;
    .additional-photos {
      flex-direction: row !important;
      justify-content: center;
      gap: 1rem;
    }
  }
  .item-title {
    height: auto !important;
  }
  .item-info {
    margin-bottom: 3em !important;
  }
  .item-prices-button {
    justify-content: center;
    align-items: center;
    text-align: center;
    .prices {
      margin-bottom: 1.5em;
      justify-content: center;
      align-items: center;

      .cotes {
        justify-content: center !important;
      }
    }
  }

  .share {
    margin-top: 3em;
    margin-bottom: 1em;
  }
}

/* ==========================================================================
   CSS PARA A NOVA PÁGINA DE PRODUTO
   ========================================================================== */

.product-info-container {
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.prod-title {
  font-size: 32px;
  color: var(--preto);
  margin-bottom: 0px;
  line-height: 1.2;
}

.prod-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 25px;
  color: #adb5bd;
}

.prod-rating i {
  color: #ffc107;
  font-size: 1rem;
}

.prod-rating a {
  color: var(--cinza-letra-topo-lista);
  text-decoration: none;
  font-size: 15px;
}
.prod-rating a:hover {
  text-decoration: underline;
}

.prod-price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
}

.prod-actions {
  background-color: var(--cinza-borda-produto);
  padding: 15px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0;
}

/* Ajustes no seletor de quantidade e botão do carrinho */
.prod-actions .quantity {
  display: flex;
  border-radius: 8px;
  overflow: hidden;
  height: 44px;
}

.prod-actions .quantity button {
  border: none;
  font-size: 1.5rem;
  font-weight: 300;
  cursor: pointer;
  background-color: transparent;
}

.prod-actions .quantity .input-quantity {
  width: 44px;
  text-align: end;
  border: none;
  font-size: 1.1rem;
  font-weight: 500;
  background-color: transparent;
}

@media screen and (max-width: 768px) {
  .prod-actions .quantity .input-quantity {
    text-align: center;
  }
}
.prod-actions .quantity .input-quantity:focus {
  outline: none;
  background-color: transparent;
}

.prod-actions .carrinho {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background-color: var(--verde-carrinho);
  color: #fff;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: 12px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.prod-actions .carrinho:hover {
  background-color: #269b28;
}

/* Estilos para os preços convertidos */
.prod-price-cotes {
  display: flex;
  gap: 1.5rem; /* Controla o espaço entre o preço em R$ e G$ */
  margin-top: 0.25rem; /* Pequena distância do preço principal em dólar */
}

.prod-price-cotes div span {
  font-size: 1rem; /* Tamanho da fonte menor */
  color: #6c757d; /* Cor cinza para a fonte */
  font-weight: 500;
}

.prod-options {
  /*display: flex;
  gap: 1rem;*/
  font-size: 16px;
  color: #6c757d;
  margin: 20px 0px;
}

.prod-options span {
  color: #212529;
  font-weight: bold;
}

.prod-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 14px;
  color: #6c757d;
}

.prod-meta p {
  margin: 0.25rem 0;
}

.prod-meta span {
  color: #212529;
}
.prod-meta span.stock-disp {
  color: #000000;
  font-weight: bold;
}
.prod-meta span.stock-indisp {
  color: #dc3545;
  font-weight: bold;
}

.prod-share {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.prod-share span {
  font-size: 14px;
  font-weight: 500;
  font-weight: bold;
  color: var(--cinza-letra-marca-produto);
}
.prod-share a {
  color: #e7e7e7;
  border: 2px solid;
  border-radius: 8px;
  padding: 3px;
}

.prod-share a:hover {
  color: #212529;
}

.prod-share a svg {
  color: black;
}

.prod-share a i {
  color: black;
}

.linha {
  display: flex;
  width: 100%;
  border-top: 1px solid var(--cinza-borda-produto);
}

.prod-purchase-wrapper {
  display: flex;
  justify-content: space-between; /* Empurra o preço para um lado e as ações para o outro */
  align-items: center; /* Alinha verticalmente os itens */
  flex-wrap: wrap; /* Permite que os itens quebrem para a linha de baixo em telas menores */
  gap: 1rem; /* Adiciona um espaço entre os itens quando eles quebram a linha */
  margin-bottom: 1.5rem; /* Mantém o espaçamento inferior que .prod-actions tinha */
  margin-top: 1.5rem; /* Mantém o espaçamento inferior que .prod-actions tinha */
}

@media (max-width: 768px) {
  .prod-actions .quantity {
    height: 66px;
  }
}

.prod-price-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.prod-price-original {
  font-size: 1.5rem;
  color: #ff0000;
  line-height: 1;
}

.prod-price-promotional {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--preto);
  line-height: 1.2;
}

.prod-price-normal {
  font-size: 2.2rem;
  color: var(--preto);
  line-height: 1.2;
}

@media (max-width: 768px) {
  .prod-actions .quantity {
    height: 66px;
  }
}
.product-layout-container {
  align-items: flex-start; /* Isso alinha as colunas pelo topo */
}

.variation-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem; 
  margin-top: 0.5rem;

  /* --- VERSÃO COM !important PARA FORÇAR A APLICAÇÃO --- */
  max-height: 150px !important;
  overflow-y: auto !important;
  padding-right: 5px !important;
}

/* Estilo principal do botão de opção (agora como um link <a>) */
.variation-button {
  display: inline-block; /* Essencial para aplicar padding corretamente em links */
  padding: 8px; /* Espaçamento interno para criar o tamanho do botão */
  border: 1px solid #e0e0e0; /* Borda cinza bem clara */
  border-radius: 4px; /* Bordas levemente arredondadas, como na imagem */
  background-color: #ffffff; /* Fundo branco */
  color: #333333; /* Cor do texto escura, mas não preto puro */
  font-size: 14px;
  text-decoration: none; /* Remove o sublinhado padrão dos links */
  cursor: pointer;
  transition: all 0.2s ease-in-out; /* Efeito suave para hover */
  font-weight: bold;
}

/* Efeito ao passar o mouse por cima */
.variation-button:hover {
  border-color: #cccccc; /* Borda fica um pouco mais escura */
  background-color: #f5f5f5; /* Fundo levemente acinzentado */
}

/* Estilo do botão que representa o produto ativo (página atual) */
.variation-button.active {
  background-color: #000000; /* Fundo preto para destaque */
  color: #ffffff; /* Texto branco */
  border-color: #000000; /* Borda preta */
  font-weight: bold;
}

/* Adiciona espaçamento entre as linhas do carrossel na página de produto */
.carousel-duas-linhas .slick-slide div {
  margin-bottom: 8px; /* Ajuste o valor conforme necessário */
}
