/* Reset e estilos gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

body {
    background-color: #f8f8f8;
    color: #333;
    line-height: 1.6;
    font-size: 16px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    outline: none;
}

/* Banner superior */
.app-day-banner {
    background-color: transparent; /* Remove a cor de fundo */
    padding: 0; /* Remove qualquer preenchimento */
    width: 100%; /* Garante que ocupe 100% da largura */
    overflow: hidden; /* Garante que nada transborde */
    line-height: 0; /* Remove espaço extra abaixo da imagem em alguns navegadores */
}

.app-day-banner img {
    display: block; /* Remove qualquer espaço extra abaixo da imagem */
    width: 100%; /* Garante que a imagem ocupe 100% da largura do seu contêiner */
    height: 26px; /* Mantém a proporção da imagem */
}


.app-day-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.app-day-text {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
}

.app-day-number {
    font-size: 24px;
    font-weight: bold;
}

.app-day-title {
    font-size: 18px;
    margin-right: 10px;
}

.app-day-discount {
    background-color: #e74c3c;
    padding: 2px 5px;
    border-radius: 3px;
    font-weight: bold;
}

.app-day-button {
    background-color: #fff;
    border-radius: 3px;
    padding: 5px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
}

.use-coupon {
    color: #333;
    font-size: 10px;
}

.coupon-code {
    color: #1A2B3C;
    font-weight: bold;
}

/* Cabeçalho */
.header {
    background-color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo-container {
    width: 120px;
}

.logo {
    width: 100%;
}

.header-actions {
    display: flex;
    gap: 15px;
}

.location-container,
.account-container,
.cart-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
}

.location-container i,
.account-container i,
.cart-container i {
    font-size: 18px;
    margin-bottom: 5px;
    color: #666;
}

/* Navegação de categorias */
.category-nav {
    display: flex;
    overflow-x: auto;
    padding: 10px 15px;
    background-color: white;
    border-bottom: 1px solid #eee;
    gap: 15px;
    white-space: nowrap;
    margin-top: -20px;
}

.category-item {
    padding: 5px 10px;
    border-radius: 20px;
    background-color: #f0f0f0;
    font-size: 14px;
}

/* Breadcrumb */
.breadcrumb {
    padding: 10px 15px;
    font-size: 12px;
    color: #666;
    background-color: white;
    border-bottom: 1px solid #eee;
}

.breadcrumb a {
    color: #666;
    margin: 0 5px;
}

/* Produto principal */
.product-main {
    background-color: white;
    padding: 15px;
    margin-bottom: 15px;
}

/* Container do produto - Layout flexível para desktop */
.product-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

/* Galeria do produto (miniaturas + carrossel) */
.product-gallery {
    display: flex;
    gap: 10px;
}

/* Miniaturas verticais */
.product-thumbnails-vertical {
    display: none; /* Ocultar em mobile */
    flex-direction: column;
    gap: 10px;
    width: 70px;
}

.product-thumbnails-vertical .thumbnail-item {
    width: 50px;
    height: 50px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
}

.product-thumbnails-vertical .thumbnail-item.active {
    border-color: #1A2B3C;
}

.product-thumbnails-vertical .thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Carrossel de imagens */
.product-carousel {
    position: relative;
    flex: 1;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 0;
    padding-bottom: 120%;
}

.carousel-slide {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.carousel-slide.active {
    display: block;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 10px;
}

.carousel-prev,
.carousel-next {
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 14px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 10px;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ccc;
    border: none;
    padding: 0;
}

.indicator.active {
    background-color: #333;
}

/* Informações do produto */
.product-info {
    flex: 1;
}

.product-rating {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.stars {
    color: #f8c51c;
    margin-right: 5px;
}

.rating-count {
    color: #666;
    font-size: 14px;
}

.product-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.3;
}

.product-brand {
    margin-bottom: 15px;
}

.brand-logo {
    height: 40px;
}

.product-price {
    margin-bottom: 15px;
}

.original-price {
    color: #999;
    text-decoration: line-through;
    font-size: 14px;
}

.discount-tag {
    display: inline-block;
    background-color: #e74c3c;
    color: white;
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 12px;
    margin: 0 5px;
}

.current-price {
    font-size: 28px;
    font-weight: bold;
    color: #333;
}

.installment-price {
    font-size: 14px;
    color: #666;
}

.product-loyalty,
.product-cashback {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.loyalty-link,
.cashback-link {
    color: #1A2B3C;
    text-decoration: underline;
}

.free-shipping {
    background-color: #f0f9f2;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    color: #1A2B3C;
    font-weight: bold;
    text-align: center;
}

.shipping-condition {
    display: block;
    font-weight: normal;
    font-size: 14px;
}

.buy-button {
    background-color: #1A2B3C;
    color: white;
    width: 100%;
    padding: 15px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    transition: background-color 0.3s;
}

.buy-button:hover {
    background-color: #4A4A4A;
}

.shipping-calculator {
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.shipping-calculator h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

.shipping-input {
    display: flex;
    margin-bottom: 10px;
}

.shipping-input input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px 0 0 5px;
}

.shipping-input button {
    background-color: #1A2B3C;
    color: white;
    padding: 10px 15px;
    border-radius: 0 5px 5px 0;
}

.shipping-result {
    font-size: 14px;
    color: #666;
}

/* Descrição do produto */
.product-description {
    margin-bottom: 30px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.product-description h2 {
    font-size: 20px;
    margin-bottom: 15px;
}

.product-description h3 {
    font-size: 16px;
    margin: 20px 0 10px;
}

.product-description p {
    margin-bottom: 15px;
    font-size: 14px;
}

.product-description ul {
    margin-bottom: 15px;
    padding-left: 20px;
}

.product-description ul li {
    margin-bottom: 5px;
    font-size: 14px;
    list-style-type: disc;
}

/* Abas de detalhes do produto */
.product-tabs {
    margin-bottom: 30px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.tabs-header {
    display: flex;
    overflow-x: auto;
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
}

.tab-button {
    padding: 10px 15px;
    font-size: 14px;
    color: #666;
    background: none;
    border: none;
    white-space: nowrap;
}

.tab-button.active {
    color: #1A2B3C;
    border-bottom: 2px solid #1A2B3C;
}

.tab-content {
    display: none;
    padding: 10px 0;
    max-width: 800px; /* Limita largura para legibilidade */
}

.tab-content.active {
    display: block;
}

.tab-content h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

.tab-content p {
    font-size: 14px;
    margin-bottom: 10px;
}

.olfactory-pyramid {
    margin-top: 15px;
}

.pyramid-level {
    margin-bottom: 15px;
}

.pyramid-level h4 {
    font-size: 14px;
    color: #1A2B3C;
    margin-bottom: 5px;
}

.pyramid-level p {
    font-size: 14px;
}

/* Avaliações de clientes */
.product-reviews {
    border-top: 1px solid #eee;
    padding-top: 20px;
    
}

.product-reviews h2 {
    font-size: 20px;
    margin-bottom: 15px;
}

.review-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    justify-content: space-around; /* Espalha em desktop */
    margin: 15px;
    max-width: 800px;
}

.average-rating {
    text-align: center;
}

.big-rating {
    font-size: 36px;
    font-weight: bold;
}

.total-reviews {
    font-size: 14px;
    color: #666;
}

.rating-bars {
    flex: 1;
    min-width: 200px;
}

.rating-bar {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.stars-count {
    width: 70px;
    font-size: 12px;
}

.bar-container {
    flex: 1;
    height: 8px;
    background-color: #eee;
    border-radius: 4px;
    margin: 0 10px;
}

.bar {
    height: 100%;
    background-color: #f8c51c;
    border-radius: 4px;
}

.percentage {
    width: 30px;
    font-size: 12px;
    text-align: right;
}

.review-list {
    margin-bottom: 20px;
    max-width: 800px;
    
}

.review-item {
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}

.reviewer-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.reviewer-name {
    font-weight: bold;
}

.review-date {
    font-size: 12px;
    color: #666;
}

.review-content {
    font-size: 14px;
}

.load-more-reviews {
    width: 100%;
    padding: 10px;
    background-color: #f0f0f0;
    border-radius: 5px;
    font-size: 14px;
    color: #333;
    max-width: 800px;
}

/* Rodapé */
.footer {
    background-color: #f0f0f0;
    padding: 30px 15px;
}

.footer-section {
    margin-bottom: 20px;
}

.footer-section h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    font-size: 14px;
    color: #666;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background-color: #1A2B3C;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.header-actions {
    display: flex;
    justify-content: flex-end; /* Alinha à direita */
    align-items: center; /* Centraliza verticalmente */
    gap: 20px; /* Espaçamento entre os itens */
    padding: 10px 15px; /* Adiciona um pouco de padding */
}

.footer-bottom {
    margin-top: 30px;
    text-align: center;
    font-size: 12px;
    color: #666;
}

.header-link {
    text-decoration: none;
    color: inherit;
}

.footer-bottom p {
    margin-bottom: 5px;
}

.location-container, .account-container, .cart-container {
    display: flex;
    align-items: center;
    gap: 5px; /* Espaçamento entre ícone e texto */
}

.location-container img, .account-container img, .cart-container img {
    width: 18px; /* Define largura fixa */
    height: 29px; /* Define altura fixa */
    object-fit: contain; /* Garante que a imagem se ajuste sem distorção */
}

.location-text, .account-text, .cart-text {
    font-size: 14px; /* Padroniza o tamanho do texto */
    color: #333; /* Cor consistente */
}

.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;

  /* Estilo do círculo */
  background-color: #25d366; /* sua cor principal */
  border-radius: 50%;
  width: 60px;  /* largura fixa do botão */
  height: 60px; /* altura fixa do botão */
  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.whatsapp-button img {
  width: 32px;   /* ícone proporcional */
  height: 32px;
}

.whatsapp-button:hover {
  transform: scale(1.1);
  background-color: #4A4A4A; /* muda a cor no hover */
  box-shadow: 0 6px 14px rgba(0,0,0,0.4);
}


/* Adicione ao final do arquivo styles.css */

/* 
   ==============================================
   Microanimações e Transições Suaves
   ==============================================
*/

/* Aplica uma transição suave para a mudança de cor de fundo e cor do texto
   em botões e links que se comportam como botões. */
.buy-button,
.checkout-button,
.continue-button,
.pix-button,
.submit-button,
.map-link,
.back-to-home,
.load-more-reviews,
.continue-shopping,
.back-button {
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

/* Efeito de "hover" (mouse em cima) */
.buy-button:hover,
.checkout-button:hover,
.continue-button:hover,
.pix-button:hover,
.submit-button:hover,
.map-link:hover,
.back-to-home:hover {
    background-color: #4A4A4A; /* Um tom de cinza escuro para o hover */
}

.load-more-reviews:hover,
.continue-shopping:hover,
.back-button:hover {
    background-color: #e9e9e9; /* Um cinza mais claro para botões secundários */
}

/* Efeito de "active" (quando o botão está sendo pressionado) 
   Isso dá um feedback visual imediato de clique. */
.buy-button:active,
.checkout-button:active,
.continue-button:active,
.pix-button:active,
.submit-button:active,
.map-link:active,
.back-to-home:active {
    transform: scale(0.98); /* Levemente diminui o tamanho do botão */
}


/* Layout responsivo para desktop */
@media (min-width: 768px) {
    .product-container {
        flex-direction: row;
        align-items: flex-start;
    }
    
    .product-gallery {
        width: 65%;
    }
    
    .product-info {
        width: 35%;
        padding-left: 20px;
    }
    
    .product-thumbnails-vertical {
        display: flex; /* Mostrar em desktop */
    }

    .footer {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between; /* Divide seções em colunas */
        padding: 40px;
    }

    .footer-section {
        width: 20%; /* 4 colunas aproximadas */
    }

    .header {
        padding: 20px 40px; /* Mais espaço em desktop */
    }

    .logo-container {
        width: 150px; /* Aumenta o logo ligeiramente */
    }

    .header-actions {
        gap: 30px; /* Mais espaçamento entre ícones */
    }
}

/* Responsividade para dispositivos mobile */
@media (max-width: 767px) {
    .app-day-text {
        font-size: 14px;
    }
    
    .app-day-number {
        font-size: 20px;
    }
    
    .app-day-title {
        font-size: 16px;
    }
    
    .header-actions {
        gap: 10px;
    }
    
    .product-title {
        font-size: 20px;
    }
    
    .current-price {
        font-size: 24px;
    }
    
    .review-summary {
        flex-direction: column;
    }
    
    .product-gallery {
        flex-direction: column;
    }
    
    .carousel-container {
        padding-bottom: 120%; /* Proporção quadrada em mobile */
    }
}

/* Estilos específicos para telas muito pequenas */
@media (max-width: 375px) {
    .app-day-content {
        flex-direction: column;
        gap: 10px;
    }
    
    .header {
        flex-wrap: wrap;
    }

    .header-actions {
        gap: 10px; /* Reduz espaçamento para caber */
    }
    
    .logo-container {
        width: 100px;
        margin-bottom: 10px;
    }
    
    .product-title {
        font-size: 18px;
    }
}

/* Estilos para tornar a página exclusivamente mobile 
@media (min-width: 769px) {
    body {
        max-width: 480px;
        margin: 0 auto;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }
}*/

@media (min-width: 1200px) {
    body {
        max-width: 1200px; /* Limite razoável para desktop, centralizado */
        margin: 0 auto; /* Centraliza o conteúdo */
    }
}

