/* ===============================
   CARROSSEL CSS - ESTILOS ESPECÍFICOS DO CARROSSEL
   
   IMPORTANTE: Este arquivo deve conter APENAS estilos
   relacionados aos carrosséis (depoimentos e produtos).
   
   Estilos gerais como section-title, section-subtitle, etc
   devem estar em home.css ou no arquivo CSS principal.
   
   SISTEMA RESPONSIVO REFATORADO - PERFORMANCE MÁXIMA
   =============================== */

/* ===============================
   BASE - CONTAINER E ESTRUTURA
   =============================== */

#depoimentos-section {
  background: rgba(254, 253, 249, 0.3);
  padding: 6rem 0 4rem 0; /* AJUSTADO: Mais espaço no topo */
  min-height: 400px;
  margin: 0;
  width: 100%;
  overflow: visible; /* ADICIONADO: Permite expansão do conteúdo */
  position: relative;
  z-index: 1;
}

.depoimentos-header {
  text-align: center;
  margin-bottom: 2.5rem;
  padding: 0;
}

/* Container principal - 100% da largura da tela */
.depoimentos-carrossel {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 40px 0; /* CORRIGIDO: Padding reduzido */
  overflow: visible; /* ALTERADO: Permite que o card central seja totalmente visível */
  contain: layout; /* ADICIONADO: Otimiza renderização sem afetar overflow */
}

.depoimentos-container {
  position: relative;
  overflow: visible; /* ALTERADO: Permite expansão do conteúdo */
  margin: 0 auto;
}

.depoimentos-track {
  position: relative;
  width: 100%;
  min-height: 380px; /* CORRIGIDO: min-height ao invés de height fixa */
  overflow: visible; /* ALTERADO: Permite que cards maiores sejam visíveis */
  display: flex;
  justify-content: center;
  align-items: flex-end; /* ALTERADO: Alinhamento inferior */
  padding: 20px 0; /* ADICIONADO: Espaço para acomodar cards maiores */
}

/* FORÇAR POSICIONAMENTO INICIAL DOS CARDS - SEM JAVASCRIPT */
.depoimentos-track .depoimento-card:nth-child(1) {
  position: absolute !important;
  left: calc(50% - 480px) !important;
  transform: translateX(-50%) scaleY(0.85) !important;
  width: 280px !important;
  opacity: 0.8 !important;
  z-index: 5 !important;
  bottom: 0 !important;
}

.depoimentos-track .depoimento-card:nth-child(2) {
  position: absolute !important;
  left: calc(50% - 180px) !important;
  transform: translateX(-50%) !important;
  width: 340px !important;
  opacity: 1 !important;
  z-index: 20 !important;
  bottom: 0 !important;
}

.depoimentos-track .depoimento-card:nth-child(3) {
  position: absolute !important;
  left: calc(50% + 180px) !important;
  transform: translateX(-50%) !important;
  width: 340px !important;
  opacity: 1 !important;
  z-index: 20 !important;
  bottom: 0 !important;
}

.depoimentos-track .depoimento-card:nth-child(4) {
  position: absolute !important;
  left: calc(50% + 480px) !important;
  transform: translateX(-50%) scaleY(0.85) !important;
  width: 280px !important;
  opacity: 0.8 !important;
  z-index: 5 !important;
  bottom: 0 !important;
}

.depoimentos-track .depoimento-card:nth-child(n+5) {
  position: absolute !important;
  opacity: 0 !important;
  z-index: 1 !important;
  transform: scale(0.1) !important;
  bottom: 0 !important;
  pointer-events: none !important;
}

/* ===============================
     CARDS BASE - ESTRUTURA COMUM
     =============================== */

.depoimento-card {
  transition: var(--carousel-transition);
  transform-origin: bottom center;
  will-change: transform, opacity;
  cursor: pointer;
  position: absolute !important;
  bottom: 0 !important;
}

.depoimento-inner {
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.4s ease;
  background: linear-gradient(135deg, #faf8f5 0%, #f7f4ef 100%);
  border: 2px solid rgba(151, 74, 29, 0.15);
  box-shadow: 0 6px 20px rgba(151, 74, 29, 0.12);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}

.depoimento-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  order: 2;
  background: linear-gradient(135deg, #faf8f5 0%, #f7f4ef 100%);
  border-radius: 0 0 20px 20px;
}

.depoimento-text {
  color: #3d3d3d;
  font-style: italic;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: auto;
  word-wrap: break-word;
  hyphens: auto;
  text-overflow: ellipsis;
}

.depoimento-author {
  color: #974a1d;
  font-weight: 600;
  font-family: Georgia, serif;
  margin-top: auto;
  border-top: 1px solid rgba(151, 74, 29, 0.15);
  word-wrap: break-word;
  hyphens: auto;
  overflow: hidden;
}

.depoimento-date {
  color: #8b6914;
  font-size: 12px !important; /* Minimum legible font size for accessibility */
  font-weight: 400;
  margin: 4px 0 0 0;
  opacity: 0.8;
  font-style: italic;
  letter-spacing: 0.2px;
}

.depoimento-image {
  position: relative;
  z-index: 2;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  flex: 1;
  order: 1;
  box-shadow: 0 4px 12px rgba(151, 74, 29, 0.2);
  border: 2px solid rgba(151, 74, 29, 0.1);
}

.depoimento-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.4s ease;
  display: block !important;
}

/* ===============================
     CONTROLE DE POSIÇÃO DA IMAGEM
     =============================== */

.depoimento-image-top,
img.depoimento-image-top {
  object-position: top center !important;
}

.depoimento-image-center,
img.depoimento-image-center {
  object-position: center center !important;
}

.depoimento-image-bottom,
img.depoimento-image-bottom {
  object-position: bottom center !important;
}

.depoimento-image-top-left,
img.depoimento-image-top-left {
  object-position: top left !important;
}

.depoimento-image-top-right,
img.depoimento-image-top-right {
  object-position: top right !important;
}

.depoimento-image-bottom-left,
img.depoimento-image-bottom-left {
  object-position: bottom left !important;
}

.depoimento-image-bottom-right,
img.depoimento-image-bottom-right {
  object-position: bottom right !important;
}

.depoimento-image:not([class*="depoimento-image-"]),
img.depoimento-image:not([class*="depoimento-image-"]) {
  object-position: center center !important;
}

/* ===============================
     RESPONSIVIDADE DOS CARDS
     =============================== */

@media (max-width: 375px) {
  #depoimentos-section {
    padding: 2.5rem 0;
  }

  .depoimentos-carrossel {
    padding: 20px 0 !important;
  }

  .depoimentos-track {
    min-height: 300px !important;
    height: auto !important;
    position: relative;
    align-items: flex-end;
    padding: 10px 0 !important;
  }

  .depoimento-inner {
    height: 340px;
  }

  .depoimento-content {
    min-height: 90px;
    padding: 12px;
  }

  .depoimento-text {
    font-size: 12px;
    line-height: 1.4;
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }

  .depoimento-author {
    font-size: 12px;
    padding-top: 10px;
  }

  .depoimento-date {
    font-size: 12px !important;
    margin: 2px 0 0 0 !important;
    opacity: 0.7 !important;
  }
}

@media (min-width: 376px) and (max-width: 480px) {
  .depoimentos-carrossel {
    padding: 25px 0 !important;
  }

  .depoimentos-track {
    min-height: 320px !important;
    height: auto !important;
    position: relative;
    align-items: flex-end;
    padding: 15px 0 !important;
  }

  .depoimento-inner {
    height: 360px;
  }

  .depoimento-content {
    min-height: 100px;
    padding: 14px;
  }

  .depoimento-text {
    font-size: 12px;
    line-height: 1.4;
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }

  .depoimento-author {
    font-size: 13px;
    padding-top: 12px;
  }

  .depoimento-date {
    font-size: 12px !important; /* Minimum legible font size for accessibility */
    margin: 3px 0 0 0 !important;
    opacity: 0.75 !important;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .depoimentos-carrossel {
    padding: 30px 0 !important;
  }

  .depoimentos-track {
    min-height: 350px !important;
    height: auto !important;
    position: relative;
    align-items: flex-end;
    padding: 20px 0 !important;
  }

  .depoimento-inner {
    height: 400px;
  }

  .depoimento-content {
    min-height: 120px;
    padding: 18px;
  }

  .depoimento-text {
    font-size: 13px;
    line-height: 1.5;
    -webkit-line-clamp: 4;
    line-clamp: 4;
  }

  .depoimento-author {
    font-size: 14px;
    padding-top: 15px;
  }

  .depoimento-date {
    font-size: 12px !important;
    margin: 4px 0 0 0 !important;
    opacity: 0.8 !important;
  }
}

@media (min-width: 769px) and (max-width: 1199px) {
  .depoimentos-carrossel {
    padding: 35px 0 !important;
  }

  .depoimentos-track {
    min-height: 380px !important;
    height: auto !important;
    position: relative;
    align-items: flex-end;
    padding: 25px 0 !important;
  }

  .depoimento-inner {
    height: 460px;
  }

  .depoimento-content {
    min-height: 130px;
    padding: 20px;
  }

  .depoimento-text {
    font-size: 14px;
    line-height: 1.6;
    -webkit-line-clamp: 5;
    line-clamp: 5;
  }

  .depoimento-author {
    font-size: 15px;
    padding-top: 16px;
  }

  .depoimento-date {
    font-size: 12px !important;
    margin: 4px 0 0 0 !important;
    opacity: 0.8 !important;
  }
}

@media (min-width: 1200px) {
  .depoimentos-carrossel {
    max-width: 1200px;
    margin: 0 auto;
  }

  .depoimentos-track {
    min-height: 520px;
    position: relative;
    align-items: flex-end;
    justify-content: center;
  }

  .depoimento-inner {
    height: 500px;
    background: linear-gradient(135deg, #faf8f5 0%, #f7f4ef 100%);
    border: 2px solid rgba(151, 74, 29, 0.2);
    box-shadow: 0 8px 32px rgba(151, 74, 29, 0.15);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
  }

  .depoimento-inner:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(151, 74, 29, 0.2);
    border-color: rgba(151, 74, 29, 0.35);
  }

  .depoimento-image {
    height: 300px !important;
    width: 100% !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 0 !important;
    flex: none;
  }

  .depoimento-content {
    height: 200px;
    padding: 18px;
    background: linear-gradient(135deg, #faf8f5 0%, #f7f4ef 100%);
    display: flex;
    flex-direction: column;
    flex: none;
  }

  .depoimento-text {
    font-size: 13px;
    line-height: 1.3;
    color: #3d3d3d;
    font-style: italic;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 0 auto 0;
    flex: 1;
  }

  .depoimento-author {
    font-size: 15px;
    font-weight: 600;
    color: #974a1d;
    font-family: Georgia, serif;
    margin: 12px 0 4px 0;
    flex: none;
  }

  .depoimento-date {
    font-size: 12px;
    color: #8b6914;
    opacity: 0.8;
    font-style: italic;
    margin: 0;
    letter-spacing: 0.2px;
    flex: none;
  }
}

/* ===============================
     MODAL OTIMIZADA - SEM FORCED REFLOWS
     =============================== */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-container {
  position: relative;
  background: linear-gradient(135deg, #faf8f5 0%, #f7f4ef 100%);
  border: 3px solid rgba(151, 74, 29, 0.2);
  border-radius: 20px;
  padding: 2rem;
  max-width: 90vw;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 12px 40px rgba(151, 74, 29, 0.3);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.8);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  transition: background 0.3s ease;
}

.modal-close svg {
  width: 20px;
  height: 20px;
  stroke: white;
  stroke-width: 2;
  fill: none;
}

.modal-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modal-image-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-image {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 12px;
}

.thumbnails-container {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 10px 0;
  max-width: 100%;
  overflow-x: auto;
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.1) !important;
}



/* ===============================
     CLASSES DE POSIÇÃO DOS CARDS
     =============================== */

/* Cards laterais - navegação */
.depoimento-card.card-lateral-left,
.depoimento-card.card-lateral-right,
.produto-card.card-lateral-left,
.produto-card.card-lateral-right {
  cursor: pointer !important;
}

/* Cards centrais - modal */
.depoimento-card.card-center,
.produto-card.card-center {
  cursor: zoom-in !important;
}

/* Cards ocultos */
.depoimento-card.card-hidden,
.produto-card.card-hidden {
  cursor: default !important;
  pointer-events: none !important;
}

/* Indicadores visuais removidos - sem setas nos cards laterais */
.card-lateral-left .depoimento-inner::after,
.card-lateral-left .produto-inner::after,
.card-lateral-right .depoimento-inner::after,
.card-lateral-right .produto-inner::after {
  display: none !important;
}

/* Produtos - setas removidas */

/* Efeito hover nos cards laterais */
.card-lateral-left .depoimento-inner,
.card-lateral-left .produto-inner,
.card-lateral-right .depoimento-inner,
.card-lateral-right .produto-inner {
  transition: all 0.3s ease;
}

.card-lateral-left:hover .depoimento-inner,
.card-lateral-left:hover .produto-inner,
.card-lateral-right:hover .depoimento-inner,
.card-lateral-right:hover .produto-inner {
  transform: scale(1.02);
}

/* Mobile - ajustes */
@media (max-width: 768px) {
  /* Setas removidas para mobile também */
}

/* ===============================
     BLOQUEIO TOTAL DE CLICKS EM CARDS LATERAIS
     =============================== */

/* Bloquear TODOS os elementos dentro de cards laterais */
.card-lateral-left *,
.card-lateral-right *,
.card-hidden * {
  pointer-events: none !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
}

/* Garantir que apenas o card em si seja clicável */
.card-lateral-left,
.card-lateral-right {
  pointer-events: auto !important;
}

/* Prevenir qualquer ação em elementos específicos dentro de laterais */
.card-lateral-left .depoimento-clickable,
.card-lateral-left .produto-clickable,
.card-lateral-left .depoimento-inner,
.card-lateral-left .produto-inner,
.card-lateral-right .depoimento-clickable,
.card-lateral-right .produto-clickable,
.card-lateral-right .depoimento-inner,
.card-lateral-right .produto-inner {
  pointer-events: none !important;
  cursor: inherit !important;
}

/* Garantir que cards centrais mantenham funcionalidade normal */
.card-center * {
  pointer-events: auto !important;
}

/* Overlay visual sutil nos cards laterais */
.card-lateral-left .depoimento-inner::before,
.card-lateral-left .produto-inner::before,
.card-lateral-right .depoimento-inner::before,
.card-lateral-right .produto-inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  z-index: 5;
  pointer-events: none;
  transition: background 0.3s ease;
  border-radius: 20px;
}

/* Hover overlay */
.card-lateral-left:hover .depoimento-inner::before,
.card-lateral-left:hover .produto-inner::before,
.card-lateral-right:hover .depoimento-inner::before,
.card-lateral-right:hover .produto-inner::before {
  background: rgba(0, 0, 0, 0.03);
}

/* ===============================
     FEEDBACK VISUAL PARA NAVEGAÇÃO
     =============================== */

/* Cards laterais - indicar que são clicáveis para navegar */
.depoimento-card.is-lateral,
.produto-card.is-lateral {
  cursor: pointer !important;
}

.depoimento-card.is-lateral .depoimento-inner::after,
.produto-card.is-lateral .produto-inner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.05);
  pointer-events: none;
  transition: all 0.3s ease;
  border-radius: 20px;
}

.depoimento-card.is-lateral:hover .depoimento-inner::after,
.produto-card.is-lateral:hover .produto-inner::after {
  background: rgba(0, 0, 0, 0.1);
}

/* Cards centrais - indicar que abrem modal */
.depoimento-card.is-center,
.produto-card.is-center {
  cursor: zoom-in !important;
}

/* Indicador visual de navegação removido - sem setas nos cards */

/* Desktop - setas removidas */

/* Mobile - setas removidas */

/* ===============================
     PRODUTOS CARROSSEL CSS
     (Aplicando a mesma lógica de responsividade)
     =============================== */

/* Base do Produtos */
#produtos-section {
  background: rgba(249, 230, 192, 0.2);
  padding: 4rem 0;
  min-height: 400px;
  margin: 0;
  width: 100%;
}

.produtos-header {
  text-align: center;
  margin-bottom: 2.5rem;
  padding: 0;
}

.produtos-carrossel {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 60px 0; /* ALTERADO: Adiciona espaço para cards expandidos */
  overflow: visible; /* ALTERADO: Permite que cards sejam totalmente visíveis */
}

.produtos-container {
  position: relative;
  overflow: visible; /* ALTERADO: Permite expansão do conteúdo */
  margin: 0 auto;
}

.produtos-track {
  position: relative;
  width: 100%;
  overflow: visible; /* ALTERADO: Permite que cards maiores sejam visíveis */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0; /* ADICIONADO: Espaço para acomodar cards maiores */
}

/* Cards de Produtos Base */
.produto-card {
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-origin: bottom center;
  will-change: transform, opacity;
  cursor: pointer;
}

.produto-inner {
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.4s ease;
  background: rgba(255, 255, 255, 0.95);
  overflow: hidden; /* ✅ GARANTIDO: Texto sempre dentro do card */
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(151, 74, 29, 0.15);
  border: 1px solid rgba(151, 74, 29, 0.1);
  isolation: isolate; /* ✅ CORREÇÃO: Cria novo contexto de empilhamento */
}

.produto-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  order: 2;
  text-align: center;
  background: white;
  border-radius: 0 0 20px 20px;
}

.produto-name {
  color: #3a2c20;
  font-weight: 700;
  font-family: Georgia, serif;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-wrap: break-word; /* ✅ CORREÇÃO: Quebra palavras longas */
  hyphens: auto; /* ✅ CORREÇÃO: Hifenização automática */
  text-overflow: ellipsis; /* ✅ CORREÇÃO: Adiciona "..." quando necessário */
}

.produto-description {
  color: #666;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-wrap: break-word; /* ✅ CORREÇÃO: Quebra palavras longas */
  hyphens: auto; /* ✅ CORREÇÃO: Hifenização automática */
  text-overflow: ellipsis; /* ✅ CORREÇÃO: Adiciona "..." quando necessário */
}

.produto-price {
  font-weight: 700;
  color: #974a1d;
  margin-bottom: 0;
  word-wrap: break-word; /* ✅ CORREÇÃO: Quebra palavras longas */
  overflow: hidden; /* ✅ CORREÇÃO: Evita transbordamento */
}

.produto-image {
  position: relative;
  z-index: 2;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  flex: 1;
  order: 1;
}

.produto-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  transition: transform 0.4s ease;
  display: block !important;
}

/* ===============================
     RESPONSIVIDADE PRODUTOS - MOBILE EXTRA PEQUENO (≤375px)
     =============================== */

@media (max-width: 375px) {
  #produtos-section {
    padding: 2.5rem 0;
  }

  .produtos-track {
    height: 360px;
    position: relative;
    align-items: flex-end;
  }

  .produto-card {
    position: absolute !important;
    bottom: 0;
  }

  .produto-card:nth-child(1) {
    left: calc(50% - 85px);
    transform: translateX(-50%) scaleY(0.8);
    width: 140px;
    opacity: 0.7;
    z-index: 5;
  }

  .produto-card:nth-child(2) {
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    opacity: 1;
    z-index: 20; /* ✅ CORREÇÃO: Z-index mais alto para card central */
  }

  .produto-card:nth-child(3) {
    left: calc(50% + 85px);
    transform: translateX(-50%) scaleY(0.8);
    width: 140px;
    opacity: 0.7;
    z-index: 5;
  }

  .produto-card:nth-child(4),
  .produto-card:nth-child(5) {
    opacity: 0;
    z-index: 1;
    transform: scale(0.1);
    pointer-events: none;
  }

  .produto-inner {
    height: 340px;
  }

  .produto-content {
    min-height: 90px;
    padding: 12px;
  }

  .produto-name {
    font-size: 12px;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    margin-bottom: 6px;
  }

  .produto-description {
    font-size: 12px; /* Minimum legible font size for accessibility */
    -webkit-line-clamp: 2;
    line-clamp: 2;
    margin-bottom: 6px;
  }

  .produto-price {
    font-size: 13px;
  }
}

/* ===============================
     RESPONSIVIDADE PRODUTOS - MOBILE PEQUENO (376px - 480px)
     =============================== */

@media (min-width: 376px) and (max-width: 480px) {
  .produtos-track {
    height: 380px;
    position: relative;
    align-items: flex-end;
  }

  .produto-card {
    position: absolute !important;
    bottom: 0;
  }

  .produto-card:nth-child(1) {
    left: calc(50% - 100px);
    transform: translateX(-50%) scaleY(0.8);
    width: 160px;
    opacity: 0.75;
    z-index: 5;
  }

  .produto-card:nth-child(2) {
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    opacity: 1;
    z-index: 20; /* ✅ CORREÇÃO: Z-index mais alto para card central */
  }

  .produto-card:nth-child(3) {
    left: calc(50% + 100px);
    transform: translateX(-50%) scaleY(0.8);
    width: 160px;
    opacity: 0.75;
    z-index: 5;
  }

  .produto-card:nth-child(4),
  .produto-card:nth-child(5) {
    opacity: 0;
    z-index: 1;
    transform: scale(0.1);
    pointer-events: none;
  }

  .produto-inner {
    height: 360px;
  }

  .produto-content {
    min-height: 100px;
    padding: 14px;
  }

  .produto-name {
    font-size: 13px;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    margin-bottom: 8px;
  }

  .produto-description {
    font-size: 12px;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    margin-bottom: 8px;
  }

  .produto-price {
    font-size: 14px;
  }
}

/* ===============================
     RESPONSIVIDADE PRODUTOS - MOBILE MÉDIO (481px - 768px)
     =============================== */

@media (min-width: 481px) and (max-width: 768px) {
  .produtos-track {
    height: 420px;
    position: relative;
    align-items: flex-end;
  }

  .produto-card {
    position: absolute !important;
    bottom: 0;
  }

  .produto-card:nth-child(1) {
    left: calc(50% - 125px);
    transform: translateX(-50%) scaleY(0.8);
    width: 190px;
    opacity: 0.75;
    z-index: 5;
  }

  .produto-card:nth-child(2) {
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    opacity: 1;
    z-index: 20; /* ✅ CORREÇÃO: Z-index mais alto para card central */
  }

  .produto-card:nth-child(3) {
    left: calc(50% + 125px);
    transform: translateX(-50%) scaleY(0.8);
    width: 190px;
    opacity: 0.75;
    z-index: 5;
  }

  .produto-card:nth-child(4),
  .produto-card:nth-child(5) {
    opacity: 0;
    z-index: 1;
    transform: scale(0.1);
    pointer-events: none;
  }

  .produto-inner {
    height: 400px;
  }

  .produto-content {
    min-height: 120px;
    padding: 18px;
  }

  .produto-name {
    font-size: 14px;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    margin-bottom: 10px;
  }

  .produto-description {
    font-size: 12px;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    margin-bottom: 10px;
  }

  .produto-price {
    font-size: 16px;
  }
}

/* ===============================
     RESPONSIVIDADE PRODUTOS - TABLET (769px - 1199px)
     =============================== */

@media (min-width: 769px) and (max-width: 1199px) {
  .produtos-track {
    height: 480px;
    position: relative;
    align-items: flex-end;
  }

  .produto-card {
    position: absolute !important;
    bottom: 0;
  }

  .produto-card:nth-child(1) {
    left: calc(50% - 180px);
    transform: translateX(-50%) scaleY(0.85);
    width: 260px;
    opacity: 0.8;
    z-index: 5;
  }

  .produto-card:nth-child(2) {
    left: 50%;
    transform: translateX(-50%);
    width: 320px;
    opacity: 1;
    z-index: 20; /* ✅ CORREÇÃO: Z-index mais alto para card central */
  }

  .produto-card:nth-child(3) {
    left: calc(50% + 180px);
    transform: translateX(-50%) scaleY(0.85);
    width: 260px;
    opacity: 0.8;
    z-index: 5;
  }

  .produto-card:nth-child(4),
  .produto-card:nth-child(5) {
    opacity: 0;
    z-index: 1;
    transform: scale(0.1);
    pointer-events: none;
  }

  .produto-inner {
    height: 460px;
  }

  .produto-content {
    min-height: 130px;
    padding: 20px;
  }

  .produto-name {
    font-size: 16px;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    margin-bottom: 12px;
  }

  .produto-description {
    font-size: 13px;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    margin-bottom: 12px;
  }

  .produto-price {
    font-size: 18px;
  }
}

/* ===============================
     RESPONSIVIDADE PRODUTOS - DESKTOP (≥1200px)
     =============================== */

@media (min-width: 1200px) {
  .produtos-carrossel {
    max-width: 1200px;
    margin: 0 auto;
  }

  .produtos-track {
    height: 520px;
    position: relative;
    align-items: flex-end;
    justify-content: center;
  }

  .produto-card {
    position: absolute !important;
    bottom: 0;
  }

  /* Configuração para 2 cards centrais + 2 laterais */
  .produto-card:nth-child(1) {
    left: calc(50% - 480px);
    transform: translateX(-50%) scaleY(0.85);
    width: 280px;
    opacity: 0.8;
    z-index: 5;
  }

  .produto-card:nth-child(2) {
    left: calc(50% - 180px);
    transform: translateX(-50%);
    width: 340px;
    opacity: 1;
    z-index: 20; /* ✅ CORREÇÃO: Z-index mais alto para card central */
  }

  .produto-card:nth-child(3) {
    left: calc(50% + 180px);
    transform: translateX(-50%);
    width: 340px;
    opacity: 1;
    z-index: 20; /* ✅ CORREÇÃO: Z-index mais alto para card central */
  }

  .produto-card:nth-child(4) {
    left: calc(50% + 480px);
    transform: translateX(-50%) scaleY(0.85);
    width: 280px;
    opacity: 0.8;
    z-index: 5;
  }

  .produto-card:nth-child(5) {
    opacity: 0;
    z-index: 1;
    transform: scale(0.1);
    pointer-events: none;
  }

  .produto-inner {
    height: 500px;
  }

  .produto-content {
    min-height: 140px;
    padding: 24px;
  }

  .produto-name {
    font-size: 18px;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    margin-bottom: 14px;
  }

  .produto-description {
    font-size: 14px;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    margin-bottom: 14px;
  }

  .produto-price {
    font-size: 20px;
  }
}

/* ===============================
   ESTADOS AVANÇADOS DOS CARDS PRODUTOS
   =============================== */

/* Estados dos cards produtos - equivalentes aos depoimentos */
.produto-card.card-lateral-left,
.produto-card.card-lateral-right {
  cursor: pointer;
  pointer-events: auto;
}

.produto-card.card-center,
.produto-card.card-center .produto-inner {
  cursor: pointer;
}

.produto-card.card-hidden,
.produto-card.card-hidden * {
  pointer-events: none;
}

/* Hover effects para produtos laterais */
.card-lateral-left .produto-inner::after,
.card-lateral-right .produto-inner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(151, 74, 29, 0.08) 0%,
    rgba(151, 74, 29, 0.12) 100%
  );
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  pointer-events: none;
}

.card-lateral-left .produto-inner::after,
.card-lateral-right .produto-inner::after {
  background: linear-gradient(
    135deg,
    rgba(151, 74, 29, 0.15) 0%,
    rgba(151, 74, 29, 0.25) 100%
  );
}

.card-lateral-left:hover .produto-inner::after,
.card-lateral-right:hover .produto-inner::after {
  opacity: 1;
}

/* Indicadores visuais para navegação */
.card-lateral-left .produto-inner,
.card-lateral-right .produto-inner {
  transition: all 0.3s ease;
}

.card-lateral-left:hover .produto-inner,
.card-lateral-right:hover .produto-inner {
  transform: scale(1.02);
  box-shadow: 0 12px 32px rgba(151, 74, 29, 0.2);
}

/* Responsivo para mobile */
@media (max-width: 768px) {
  .card-lateral-left .produto-inner::after,
  .card-lateral-right .produto-inner::after {
    background: linear-gradient(
      135deg,
      rgba(151, 74, 29, 0.1) 0%,
      rgba(151, 74, 29, 0.2) 100%
    );
  }

  .card-lateral-left .produto-inner::after,
  .card-lateral-right .produto-inner::after {
    opacity: 0.8;
  }
}

/* Desabilitar eventos para elementos específicos */
.card-lateral-left *,
.card-lateral-right * {
  pointer-events: none;
}

/* Permitir eventos apenas no card central */
.card-lateral-left,
.card-lateral-right {
  pointer-events: auto;
}

.card-lateral-left .produto-clickable,
.card-lateral-right .produto-clickable {
  pointer-events: none;
}

/* Estados de centro para produtos */
.card-center * {
  pointer-events: auto;
}

/* Indicadores visuais antes/depois para navegação */
.produto-card.is-lateral,
.produto-card.is-lateral .produto-inner {
  cursor: pointer;
}

.produto-card.is-lateral .produto-inner::after,
.produto-card.is-lateral:hover .produto-inner::after {
  content: "";
  position: absolute;
  opacity: 0.7;
}

.produto-card.is-center,
.produto-card.is-center .produto-inner {
  cursor: pointer;
}

/* ===============================
   CONTROLES UNIVERSAIS REMOVIDOS
   Agora usa as mesmas regras dos depoimentos
   =============================== */

/* ===============================
   REMOÇÃO DE PREÇO - FORÇADO
   =============================== */
.produto-price {
  display: none !important;
}

/* ===============================
     INDICADORES DO CARROSSEL (DOTS)
     =============================== */

.carousel-indicators {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px; /* Increased gap for more elegant spacing */
  margin-top: 24px;
  padding: 10px 0;
  z-index: 10;
  position: relative;
}

.carousel-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  /* Accessibility improvements - invisible touch target */
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* The actual dot */
.carousel-indicator::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(26, 26, 26, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Selection circle for active indicator */
.carousel-indicator::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover state */
.carousel-indicator:hover::after {
  background-color: rgba(26, 26, 26, 0.5);
  transform: scale(1.1);
}

/* Focus state for keyboard navigation */
.carousel-indicator:focus {
  outline: none;
}

.carousel-indicator:focus::before {
  border-color: rgba(218, 165, 32, 0.3);
}

/* Active state with selection circle */
.carousel-indicator.active::after {
  background-color: #daa520;
  transform: scale(1);
}

.carousel-indicator.active::before {
  border-color: #daa520;
  transform: scale(1);
}

/* Adjacent indicators - slightly larger */
.carousel-indicator.adjacent::after {
  background-color: rgba(26, 26, 26, 0.4);
  transform: scale(1.1);
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .carousel-indicators {
    margin-top: 20px;
    gap: 10px;
  }
  
  .carousel-indicator {
    min-width: 40px;
    min-height: 40px;
  }
  
  /* Smaller dots on mobile */
  .carousel-indicator::after {
    width: 6px;
    height: 6px;
  }
  
  /* Smaller selection circle on mobile */
  .carousel-indicator::before {
    width: 16px;
    height: 16px;
  }
  
  /* Active state maintains size */
  .carousel-indicator.active::after {
    transform: scale(1);
  }
  
  .carousel-indicator.active::before {
    border-width: 1.5px;
  }
}
