body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #fff;
    color: #333;
}

/* ------------------------------------------- */
/* Cabeçalho com duas cores de fundo */
/* ------------------------------------------- */

.frete-gratis-container {
    background-color: #e6cf00;
}

.frete-gratis {
    padding: 10px 20px;
}

.frete-gratis h2 {
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    margin: 0;
    padding: 0;
    color: #000;
}

.main-header-container {
    display: flex;
    justify-content: center;
    background-color: #ffe600;
}

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 1200px;
    padding: 10px 20px;
}

.voltar-link, .cart-icon {
    color: #000;
    font-size: 14px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.arrow-left-icon {
    height: 14px;
    width: 14px;
    fill: currentColor;
}

.shopping-cart-icon {
    height: 22px;
    width: 22px;
    fill: currentColor;
}

.logo-img {
    max-width: 160px;
    display: block;
    margin-left: 0px;
}

/* Primeiro, esconda o div por padrão para telas maiores */
.div-mobile {
  display: none;
}

/* Em seguida, use uma media query para mostrar o div apenas em telas menores ou iguais a 768px (dispositivos móveis) */
@media (max-width: 768px) {
  .div-mobile {
    display: block; /* Ou display: flex; se for um contêiner flexbox */
  }
}

/* Esconde o div por padrão em todos os dispositivos */
.div-desktop {
  display: none;
}

/* Usa uma media query para mostrar o div apenas em telas maiores que 768px */
@media (min-width: 769px) {
  .div-desktop {
    display: block; /* Ou display: flex; se for um contêiner flexbox */
  }
}

/* ------------------------------------------- */
/* Seção principal do produto e preços */
/* ------------------------------------------- */
.product-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0px 15px;
}

.left-column {
    width: 100%;
}

.right-column {
    width: 100%;
}

.product-info-container {
    width: 100%;
    padding-top: 15px;
}

.product-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
    max-width: 400px;
}

.product-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.sold-count {
    font-size: 14px;
    font-weight: 500;
    color: #888;
}

.rating-1 {
    font-size: 14px;
    font-weight: 500;
    color: #888;
    transition: opacity 0.2s ease;
}

.rating-1:hover {
    opacity: 0.7;
}

.product-stars {
    color: #3483fa;
}

.thumbnail-gallery {
    display: flex;
    /* AJUSTADO: Garante que as imagens fiquem espaçadas por igual */
    justify-content: space-between;
    width: 100%;
    gap: 10px;
    margin-top: 0px;
    margin-bottom: 20px;
    /* AJUSTADO: Remove a barra de rolagem */
    overflow-x: hidden;
    box-sizing: border-box;
}

.thumbnail-image {
    /* AJUSTADO: Largura flexível para caber na tela */
    width: 23%;
    height: auto;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    opacity: 0.5;
    border: 1px solid #ddd; /* Adiciona uma borda padrão */
}

.thumbnail-image:hover {
    border-color: #007bff;
}

.offer-badge {
    background-color: #1976d2;
    align-items: center;
    color: #fff;
    padding: 0px 8px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 5px;
    display: inline-block;
}

.product-status {
    font-size: 14px;
    font-weight: 500;
    color: #888;
    text-align: left;
    margin: 0 0 10px 0;
}

.product-title {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin: 0 0 10px 0;
    color: #1e293b;
}

.product-original-price {
    font-size: 18px;
    font-weight: 400;
    color: #999;
    text-decoration: line-through;
    margin: 0;
    margin-top: 10px;
}

.product-promo-price {
    font-size: 26px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.full-section {
    display: flex;
    align-items: center;
    justify-content: left;
    gap: 2px;
    margin-top: 0px;
    margin-bottom: 0px;
}
.full {
    font-size: 18px;
    font-weight: 500;
    color: #4caf50;
}

.full-img {
    width: 20px;
    height: auto;
}

.price-section {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0px;
}

.promo-price {
    font-size: 28px;
    font-weight: 600;
    color: #000;
    margin: 0;
}

.original-price {
    font-size: 16px;
    font-weight: 500;
    color: #999;
    text-decoration: line-through;
    margin: 0;
}

.discount-badge {
    color: #4caf50;
    font-size: 16px;
    font-weight: 500;
}

.pix-info {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    margin-bottom: 15px;
    flex-wrap: wrap;
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 6px;
    width: fit-content;
}

.free-gift-badge {
    background-color: #1899d5;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.divider {
    border-bottom: 1px solid #f1f1f1;
    margin: 20px 0;
}

.opcoes-grid-unico {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.opcao-botao-unico {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 8px 15px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    transition: all 0.2s ease-in-out;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}

.opcao-botao-unico:hover {
    border-color: #999;
}

.opcao-botao-unico:has(input[type="radio"]:checked) {
    border-color: #01b701;
    background-color: #f0f0f0;
    font-weight: 500;
}

.fretefundo {
    display: flex;
    align-items: center;
    border-radius: 6px;
    padding: 6px 10px;
    background: #f9f9f9;
    border: 1px solid #eee;
    margin-top: 20px;
    margin-bottom: 15px;
    gap: 8px;
    line-height: 1.2;
}

.fretefundo img {
    width: 28px;
    height: auto;
    display: block;
}

.ttl-frete {
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 1px;
    color: #000;
    gap: 1px;
    line-height: 1.2;
    margin: 0;
}

.prazo-entrega {
    color: #000000;
    margin: 0;
}

.ip-frete {
    color: #36b376;
    font-weight: bold;
    font-size: 14px;
    margin: 0;
}

.main-container-unico {
    padding: 0 0px;
}

.btn-compra-estilo-unico {
    display: block;
    width: 100%;
    padding: 14px 0;
    background-color: #0169eb;
    color: #fff;
    border: none;
    margin-bottom: 0;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-compra-estilo-unico:hover {
    background-color: #01b701;
    color: #fff;
}

.btn-compra-fixo-inferior {
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    z-index: 1000;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.15);
}

.product-description {
    font-size: 14px;
    color: #000;
    font-weight: 500;
}

.product-description h2 {
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.product-description ul {
    list-style-type: none;
    padding-left: 0;
}

.product-description li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.product-description li::before {
    content: "•";
    color: #000;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

/* ------------------------------------------- */
/* Rodapé ajustado */
/* ------------------------------------------- */
.footer-container {
    display: flex;
    justify-content: center;
    padding: 20px;
    padding-bottom: 20px;
    background-color: #fff;
    border-top: 1px solid #D1D5DB;
    text-align: left;
    font-size: 14px;
    color: #333;
}

.footer-bottom {
    margin-top: 20px;
    font-size: 12px;
    width: 1200px;
    color: #777;
    padding-bottom: 0;
    text-align: left;
}

.carousel-container {
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
    margin-top: 20px;
    margin-bottom: 20px;
  }
  
  .carousel {
    display: flex;
    margin-left: 0px;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE 10+ */
  }
  
  .carousel::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
  }
  
  .carousel-item {
      
    position: relative;
    min-width: 120px; /* Ajuste conforme necessário */
    height: 180px;
  }
  
  .carousel-item img {
      border-radius: 5px;
      height: 100%;
      object-fit: cover;
      object-position: center;
      outline: 1px solid rgba(0, 0, 0, .07);
      outline-offset: -1px;
      pointer-events: all;
      width: 100%;
    
  }
  
  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 5px; /* Para coincidir com a imagem */
    pointer-events: none;
    z-index: 1;
  }
  
  .gradient {
    background: linear-gradient(0deg, rgba(0, 0, 0, .5), transparent 50%);
    height: 100%;
    width: 100%;
    border-radius: 5px;
  }
  
  .rating {
    position: absolute;
    bottom: 10px;
    left: 10px;
    display: flex;
    align-items: center;
    color: #fff;
    font-weight: 600;
    z-index: 2;
  }
  
  .star-icon {
    margin-left: 5px;
    fill: currentColor; /* Para usar a cor do texto */
  }
  

  .estrela-opinioes {
    margin-left: 5px;
    fill: #fff;
  }

.ia-container {
    display: flex;
    align-items: center;
}

.ia-review {
    font-size: 14px;
    font-weight: 400;
    color: #555;
}

.opinioes-text {
    font-size: 13px;
    font-weight: 400;
    color: #999;
}

.star-icon {
    margin-left: 5px;
    fill: currentColor; /* Para usar a cor do texto */
}

.estrela-opinioes {
    margin-left: 5px;
    fill: #fff;
}

.opinioes-geral {
    padding: 20px;
}

.opinioes-produto {
    font-size: 18px;
    margin-bottom: 20px;
}

.opinioes-produto-img {
    width: 100%;
    height: auto;
    margin-top: 10px;
}

.opinioes-produto-img-pc {
    width: 400px;
    height: auto;
    margin-top: 10px;
}

.comentario {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.comentario-container {
    gap: 10px;
    margin-bottom: 30px;
}

.star-comment {
    color: #007bff;
    font-size: 26px;
}

.comment-date {
    color: #999;
    font-size: 14px;
}

.imgs-review {
    align-items: center;
}

.img-review {
    width: 100px;
    height: auto;
    border-radius: 8px;
}

.review-txt-1 {
    margin-bottom: 10px;
    color: #000;
}

.review-txt {
    margin-bottom: 20px;
    color: #000;
}

.rating-container {
  display: flex;
  gap: 10px; /* Espaçamento entre os botões */
  margin-top: 10px;
}

.rating-container {
  display: flex;
  gap: 10px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.rating-button {
  display: flex;
  align-items: center;
  padding: 2px 16px;
  border: 1px solid #ccc;
  border-radius: 20px;
  cursor: pointer;
  background-color: #fff;
  color: #333;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
}

.rating-button:hover {
  background-color: #fff;
  border-color: #bbb;
}

.rating-button:active {
  background-color: #ecf3fc;
  border-color: #999;
}

.ratting-img {
    width: 20px;
    height: auto;
    margin-right: 6px;
}

#useful-rating:checked + .rating-button {
  background-color: #ecf3fc;
  color: #000;
  border-color: #3483fa;
}

#useful-rating:checked + .rating-button .thumb-up-icon {
  filter: brightness(0) invert(1);
}

#not-useful-rating:checked + .rating-button {
  background-color: #FF5722;
  color: #000;
  border-color: #FF5722;
}

#not-useful-rating:checked + .rating-button .thumb-down-icon {
  filter: brightness(0) invert(1);
}

/* ------------------------------------------- */
/* Garantias do Produto e Ações */
/* ------------------------------------------- */
.product-guarantees {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 20px;
    margin-top: 10px;
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 0;
    margin-top: 10px;
}

.guarantee-item:last-child {
    border-bottom: none;
}

.guarantee-icon {
    width: 20px;
    height: 20px;
    fill: #3483fa;
}

.guarantee-text {
    font-size: 14px;
    color: #555;
    line-height: 20px;
}

.product-actions {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    padding: 10px 0;
    margin-top: 10px;
    margin-bottom: 10px;
}

.action-link {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #3483fa;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.action-link:hover {
    color: #0d4686;
}

.action-icon {
    width: 18px;
    height: 18px;
    fill: #3483fa;
}

.add-to-favorites .action-icon {
    fill: #3483fa;
}

.add-to-favorites.added {
    color: #000;
}

.add-to-favorites.added .guarantee-icon {
    filter: brightness(0) saturate(100%) invert(27%) sepia(100%) saturate(7471%) hue-rotate(349deg) brightness(95%) contrast(96%);
}

.share-button .action-icon {
    fill: #3483fa;
}

/* ------------------------------------------- */
/* Responsividade */
/* ------------------------------------------- */

/* Aumenta o tamanho da fonte apenas para telas de PC */
@media (min-width: 769px) {
  .title-pc {
    font-size: 22px;
    font-weight: 600;
    margin: 0px;
    margin-top: 0px;
  }
  .offer-badge-pc {
    background-color: #1976d2;
    align-items: center;
    color: #fff;
    padding: 0px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 0px;
    display: inline-block;
  }
  .product-stats-pc {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0px;
  }
  .avaliacoes {
    flex-direction: row;
    justify-content: center;
    background-color: #fff;
    gap: 20px;
    margin: 20px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: flex-start;
    border-radius: 8px;
    margin-bottom: 30px;
  }
}

@media (min-width: 1024px) {
    body {
        background-color: #ededed;
    }

    .product-container {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
        padding: 20px;
        max-width: 1200px;
        margin: 0 auto;
        align-items: flex-start;
    }
    
    .left-column {
        flex: 0 0 55%;
        max-width: 720px;
        display: flex;
        flex-direction: column;
        align-items: center;
        background-color: #fff;
        border-radius: 8px;
        padding: 20px;
        order: 1;
    }

    .right-column {
        flex: 1;
        max-width: 480px;
        background-color: #fff;
        border-radius: 8px;
        padding: 20px;
        order: 2;
    }

    .product-info-container {
        width: 100%;
        padding-top: 0;
    }

    .product-image {
        width: 100%;
        max-width: 500px;
    }

    .thumbnail-gallery {
        overflow-x: hidden;
    }

    .product-title {
        text-align: left;
        font-size: 26px;
    }

    .product-stats {
        width: 100%;
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .product-container {
        flex-direction: column;
    }
    .product-image {
        max-width: 100%;
    }
    
    .thumbnail-gallery {
        width: 100%;
        padding: 0;
        margin-left: 0;
        margin-right: 0;
        box-sizing: border-box;
        gap: 8px;
        max-width: 100%;
        overflow: hidden;
    }
    
    .thumbnail-image {
        width: calc(25% - 6px);
        max-width: calc(25% - 6px);
        min-width: 0;
        flex: 1 1 auto;
        object-fit: cover;
        aspect-ratio: 1;
    }
}

@media (max-width: 480px) {
    .thumbnail-gallery {
        gap: 6px;
    }
    
    .thumbnail-image {
        width: calc(25% - 4.5px);
        max-width: calc(25% - 4.5px);
    }
    
    .voltar-link, .cart-icon {
        font-size: 12px;
    }
    .product-title {
        font-size: 20px;
    }
    .promo-price {
        font-size: 24px;
    }
    .original-price {
        font-size: 16px;
    }
    .opcao-botao-unico {
        padding: 6px 10px;
        font-size: 13px;
    }
    .sabor-selecionado-painel {
        font-size: 14px;
    }
    .fretefundo {
        padding: 5px 8px;
        gap: 6px;
    }
    .ttl-frete {
        font-size: 12px;
    }
    .ip-frete {
        font-size: 12px;
    }
    .btn-compra-estilo-unico {
        font-size: 12px;
    }
    .btn-compra-fixo-inferior {
        width: calc(100% - 20px);
        left: 10px;
        right: 10px;
        transform: none;
    }
}
}

/* Menu Lateral do Carrinho */
.cart-sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cart-sidebar-overlay.active {
    display: block;
    opacity: 1;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -80%;
    width: 80%;
    height: 100%;
    background-color: white;
    z-index: 9999;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
}

.cart-sidebar.active {
    right: 0;
}

.cart-sidebar-header {
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.cart-sidebar-close {
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.cart-sidebar-close:hover {
    color: #000;
}

.cart-sidebar-close svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.cart-sidebar-content {
    flex: 1;
    padding: 30px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-empty-message {
    font-size: 16px;
    color: #666;
    text-align: center;
    margin: 0;
}

.cart-sidebar-footer {
    padding: 20px;
    border-top: 1px solid #e0e0e0;
}

.cart-sidebar-button {
    width: 100%;
    padding: 14px;
    background-color: #3483fa;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.cart-sidebar-button:hover {
    background-color: #2968c8;
}

@media (max-width: 768px) {
    .cart-sidebar {
        width: 80%;
    }
}

@media (max-width: 480px) {
    .cart-sidebar {
        width: 80%;
    }
    
    .cart-empty-message {
        font-size: 14px;
    }
    
    .cart-sidebar-button {
        padding: 12px;
        font-size: 14px;
    }
}