/* HERO SECTION */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-content {
    position: absolute;
    bottom: clamp(30px, 5vh, 60px);
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 10;
    padding: 0 20px;
    box-sizing: border-box;
}

.hero-sub {
    color: var(--color-sub);
    font-weight: 400;
    font-size: clamp(1rem, 2vw, 1.2rem);
    text-align: center;
    max-width: none;
    display: inline-block;
}

.hero-logo {
  position: absolute;
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 1000px;
  height: auto;
  object-fit: contain;
}

/* SEÇÃO DESTAQUE E CARROSSEL */
.destaque-produtos {
  display: flex;
  align-items: center;
  gap: clamp(28px, 7vw, 100px);
  padding: clamp(72px, 14vw, 250px) var(--space-page);
  width: 100%;
  box-sizing: border-box;
}

.destaque-imagem {
  width: auto;
  flex-shrink: 0;
}

.destaque-imagem img {
  width: min(300px, 100%);
  max-width: 300px;
  aspect-ratio: 6 / 11;
  height: auto;
  border-radius: 8px;
  display: block;
  object-fit: cover;
}

.destaque-carrossel {
  flex: 1;
  min-width: 0;
  padding-left: 20px;
  position: relative;
}

.carrossel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 15px;
  scroll-behavior: smooth;
  -ms-overflow-style: none; scrollbar-width: none;
}

.carrossel-track::-webkit-scrollbar { display: none; }

.produto-card {
  flex: 0 0 clamp(220px, 24vw, 280px);
  display: flex;
  flex-direction: column;
  background: transparent;
  cursor: pointer;
  padding-bottom: 20px;
}

.produto-card img {
    width: 100%;
    aspect-ratio: 4 / 5;
    height: auto;
    object-fit: cover;
    border: 1px solid var(--color-brand);
    border-radius: 4px; 
    margin-bottom: 15px;
    padding: 0;
    transition: opacity 0.3s ease;
}

.produto-card:hover img {
  opacity: 0.8;
}


.produto-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  margin-bottom: 15px;
  gap: 10px;
}

.produto-titulo {
  color: var(--color-sub);
  font-family: var(--font-base), sans-serif;
  font-weight: 400;
  font-size: 0.85rem;
  letter-spacing: 1px;
  margin: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.produto-preco {
  color: var(--color-brand);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  margin: 0;
  white-space: nowrap;
}



.carrossel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--color-brand);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
  transition: opacity 0.3s;
}
.carrossel-btn.show {
    display: flex;
}

.carrossel-btn:hover {
  opacity: 1;
}

.btn-prev { left: 5px; }
.btn-next { right: 5px; }

@media (max-width: 900px) {
  .hero {
    min-height: 100dvh;
  }

  .hero-content {
    width: 100%;
    padding: 0 20px;
  }

  .hero-sub {
    max-width: none;
    font-size: 0.88rem;
    line-height: 1.35;
  }

  .destaque-produtos {
    flex-direction: column;
    align-items: stretch;
    padding-top: 72px;
    padding-bottom: 72px;
  }
  .destaque-imagem,
  .destaque-carrossel {
    width: 100%;
  }
  .destaque-imagem img {
    width: 100%;
    max-width: none;
    aspect-ratio: 16 / 9;
  }
  .destaque-carrossel {
    padding-left: 0;
  }
  .carrossel-btn {
    display: none;
  }
}

/* SEÇÃO CATEGORIAS */
.categorias-secao {
    padding: 20px var(--space-page);
    background-color: #F0F0F0;
}

.categorias-titulo {
    font-family: var(--font-base);
    color: var(--color-brand);
    font-size: 2rem;
    margin-bottom: 40px;
    text-align: center;
}

.categorias-container {
    width: 100%;
}

.categorias-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    overflow: visible;
}

.categoria-card {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
}

.categoria-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: block;
}

.categoria-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.categoria-card:hover img {
    transform: scale(1.08);
}


.categoria-overlay span {
    color: #fff;
    font-family: var(--font-base), sans-serif;
    font-weight: 500;
    font-size: 1.4rem;
    letter-spacing: 3px;
}
.produto-titulo {
    font-size: 0.85rem;
}
.produto-preco {
    font-size: 0.80rem;
}

/* RESPONSIVIDADE PARA CELULAR - ATUALIZADA */
@media (max-width: 900px) {
    .categorias-track {
        grid-template-columns: 1fr; /* Mantém 1 coluna no celular */
        gap: 20px;
    }

    .categoria-card {
        aspect-ratio: 16 / 9;
        height: auto;
    }
}
.shoppable-secao {
    padding: 10px var(--space-page) clamp(64px, 9vw, 100px) var(--space-page) !important;
    background-color: transparent;
    margin-top: clamp(56px, 10vw, 130px);
}

.shoppable-container {
    position: relative;
    width: 100%;
    max-width: none;
    border-radius: 0;
    margin: 0 auto;
    line-height: 0;
    overflow: hidden; /* Garante que nada saia do limite da seção */
}

.shoppable-main-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.shoppable-info {
    display: none;
}

.hotspot-dot {
    position: absolute;
    width: 0;
    height: 0;
    z-index: 10;
}

.hotspot-circle {
    position: absolute;
    transform: translate(-50%, -50%);
    width: 18px;
    height: 18px;
    border: 2px solid #fff;
    background: transparent;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(0,0,0,0.5);
    flex-shrink: 0;
}


.hotspot-label {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-family: var(--font-base), sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
    white-space: nowrap;
    letter-spacing: 1px;
}
.hotspot-product-preview {
    position: absolute;
    bottom: 40px;
    left: 50%;
    width: min(280px, calc(100vw - 40px));
    display: flex;
    gap: 15px;
    padding: 15px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-radius: 4px;
    text-transform: uppercase;
    text-decoration: none;
    color: #333;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 8px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.hotspot-dot.active .hotspot-product-preview {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.preview-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
}

.preview-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    text-align: left;
}

.preview-info h4 {
    font-size: 0.8rem;
    font-weight: 800;
    color: #3d2b1f;
    line-height: 1.2;
    margin: 0;
}

.preview-info p {
    font-size: 0.95rem;
    font-weight: 700;
    color: #000;
    margin: 0;
}

.preview-info span {
    font-size: 0.6rem;
    color: #888;
    text-decoration: underline;
    margin-top: 2px;
}

.ver-mais-link {
    font-size: 0.6rem;
    color: #888;
    text-decoration: underline;
}

.hotspot-dot.active {
    z-index: 9999 !important;
}

.hotspot-product-preview {
    z-index: 10000 !important;
}

@media (max-width: 900px) {
    .categorias-titulo {
        font-size: clamp(1.1rem, 5vw, 1.5rem);
        white-space: nowrap;
        letter-spacing: 2px;
        word-spacing: 4px;
        margin-bottom: 30px;
        text-transform: lowercase;
    }
    .hotspot-label {
        display: none !important;
    }
    .produto-titulo {
        font-size: 0.65rem;
    }
    .produto-preco {
        font-size: 0.80rem;
    }
}

@media (max-width: 768px) {

    .hotspot-label {
        display: none !important;
    }


    .hotspot-product-preview {
        width: 220px;
        padding: 10px;
        gap: 10px;
        bottom: 35px;
        transform: translate(-50%, 5px);
    }

    .preview-img {
        width: 55px;
        height: 55px;
        border-radius: 4px;
    }


    .preview-info {
        gap: 10px;
    }

    .preview-info h4 {
        font-size: 0.6rem;
        letter-spacing: 0.5px;
        word-spacing: 2px;
        line-height: 1.2;
    }

    .preview-info p {
        font-size: 0.75rem;
        margin: 2px 0;
    }

    .preview-info span {
        font-size: 0.45rem;
        letter-spacing: 0.5px;
    }

   .hotspot-circle {
        width: 14px;
        height: 14px;
    }
    .produto-titulo {
        font-size: 0.65rem;
    }
    .produto-preco {
        font-size: 0.80rem;
    }
}


@media (max-width: 480px) {
    .categorias-titulo {
        font-size: 1.15rem;
        letter-spacing: 1px;
        word-spacing: 3px;
    }
    .produto-titulo {
        font-size: 0.65rem;
    }
    .produto-preco {
        font-size: 0.80rem;
    }
}
