.custom-carousel-section {
    width: 70%;
	min-width: 70%;
	overflow: hidden;
    position: relative;
}

.carousel-btn {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: #FBB040;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.11);
    cursor: pointer;
	transition: opacity 0.7s cubic-bezier(.23,1.14,.68,1), transform 0.7s cubic-bezier(.23,1.14,.68,1);
    padding: 0;
}

.carousel-btn:disabled {
	opacity: 0.6;
	cursor: auto;
}

.navigation-differential {
	display: flex;
	justify-content: start;
	align-items: center;
	gap: 30px;
	margin-left: 20px;
}

.carousel-track {
    display: flex;
    align-items: start;
    height: 280px;
    width: 100%;
    overflow: hidden;
    justify-content: flex-start;
    gap: 0;
    position: relative;
	padding-top: 15px;
    padding-left: 15px;
}

.carousel-slide {
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.09);
	transition: opacity 0.7s cubic-bezier(.23,1.14,.68,1), transform 0.7s cubic-bezier(.23,1.14,.68,1);
    z-index: 1;
    min-width: 0;
    padding: 0;
}

.carousel-slide.active {
    width: 350px;
    height: 250px;
    opacity: 1;
    z-index: 3;
    margin-right: 25px;
    transform: scale(1.03);
	min-width: 350px;
}

.carousel-slide.next {
    width: 300px;
    height: 190px;
    opacity: 1;
    z-index: 2;
    margin-right: 20px;
    transform: scale(1);
	min-width: 300px;
}

.carousel-slide.partial {
    width: 300px;
    height: 190px;
    opacity: 1;
    z-index: 1;
    pointer-events: none;
    margin-right: 0;
	min-width: 300px;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 20px;
    display: block;
}

.cloned-slide {
    pointer-events: none;
}

@media (max-width: 800px) {	
	.custom-carousel-section {
    width: 100%;
	min-width: 100%;
	}
}

/* Responsividade */



/* Modal */
.carousel-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-counter {
	display:none;
}

.carousel-modal.active {
  display: flex;
  opacity: 1;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  cursor: pointer;
}

.modal-container {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  position: relative;
  background: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  max-width: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-image {
  max-width: 100%;
  max-height: 70vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

/* Botão de fechar */
.modal-close {
  position: absolute;
  top: -50px;
  right: -10px;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 11;
  color: #333;
  transition: background 0.2s ease, transform 0.2s ease;
}

.modal-close:hover {
  background: white;
  transform: scale(1.1);
}

/* Navegação no modal */
.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border: none;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 11;
}

.modal-nav:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: translateY(-50%) scale(1.1);
}

.modal-nav-prev {
  left: -70px;
}

.modal-nav-next {
  right: -70px;
}

/* Contador */
.modal-counter {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
}

/* Responsivo */
@media (max-width: 768px) {
  .modal-container {
    max-width: 95vw;
    max-height: 95vh;
  }
  
  .modal-content {
    padding: 15px;
  }
  
  .modal-image {
    max-height: 60vh;
  }
  
  .modal-close {
    top: -40px;
    right: 0;
    width: 35px;
    height: 35px;
  }
  
  .modal-nav {
    width: 40px;
    height: 40px;
  }
  
  .modal-nav-prev {
    left: -50px;
  }
  
  .modal-nav-next {
    right: -50px;
  }
  
  .modal-counter {
    bottom: -40px;
    font-size: 12px;
    padding: 6px 12px;
  }
}

@media (max-width: 480px) {
  .modal-nav-prev {
    left: 10px;
  }
  
  .modal-nav-next {
    right: 10px;
  }
  
  .modal-close {
    top: 10px;
    right: 10px;
  }
  
  .modal-counter {
    bottom: 20px;
  }
}



/* AJUSTES SLIDE MOBILE */

@media (max-width: 800px) {
  .carousel-track {
    padding: 0 !important;
    height: 300px !important;
    min-height: 300px !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 0 !important;
  }

	.modal-nav-next svg {
    margin-left: 8px;
    margin-bottom: 5px;
	}
	
	.modal-nav-prev svg {
		margin-bottom: 5px;
	}
	
  .carousel-slide,
  .carousel-slide.active,
  .carousel-slide.next,
  .carousel-slide.partial {
    display: none !important;
    min-width: 80vw !important;
    max-width: 100vw !important;
    width: 100vw !important;
    height: 260px !important;
    min-height: 260px !important;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    justify-content: center !important;
    align-items: center !important;
    background: #fff !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.09);
    border-radius: 20px !important;
    overflow: hidden !important;
    position: relative !important;
	margin: 0 auto;
  }

  .carousel-slide.active {
    display: flex !important;
  }

  .carousel-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    border-radius: 0 !important;
    background: transparent !important;
    display: block !important;
  }

  .carousel-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    pointer-events: none;
    box-shadow: 0 0 0 9999px #fff;
    z-index: 2;
    opacity: 1;
  }

	
}
