/* ==========================================
   Carrossel de Promoções
   ========================================== */

.promo-carousel-viewport {
  overflow: hidden;
  width: 100%;
}

.promo-unified-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 14px;
  transition: transform 0.4s ease;
  width: 100%;
  will-change: transform;
}

.promo-unified-card {
  flex: 0 0 calc(20% - 11.2px);
  display: flex;
  flex-direction: column;
  background: rgba(255, 252, 243, 0.78);
  border: 1px solid rgba(167, 121, 19, 0.2);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(4, 12, 34, 0.18);
  height: 100%;
}

.promo-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
  padding: 0 12px;
}

.promo-carousel-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: #1E2F6B;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
  flex-shrink: 0;
}

.promo-carousel-btn:hover:not(:disabled) {
  background: #0f8b44;
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(15, 139, 68, 0.35);
}

.promo-carousel-btn:active:not(:disabled) {
  transform: scale(0.96);
}

.promo-carousel-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.promo-carousel-btn svg {
  width: 24px;
  height: 24px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.promo-carousel-dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex: 1;
  flex-wrap: wrap;
}

.promo-carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #1E2F6B;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.promo-carousel-dot.active {
  background: #1E2F6B;
  transform: scale(1.3);
  box-shadow: 0 0 8px rgba(30, 47, 107, 0.5);
}

.promo-carousel-dot:hover {
  background: rgba(30, 47, 107, 0.3);
}

/* Responsivo */
@media (max-width: 1199px) {
  .promo-unified-card {
    flex: 0 0 calc(25% - 10.5px);
  }
}

@media (max-width: 991px) {
  .promo-unified-card {
    flex: 0 0 calc(33.333% - 9.33px);
  }
}

@media (max-width: 767px) {
  .promo-unified-card {
    flex: 0 0 calc(50% - 7px);
  }
}

@media (max-width: 575px) {
  .promo-unified-card {
    flex: 0 0 100%;
  }

  .promo-carousel-controls {
    gap: 12px;
    margin-top: 16px;
  }

  .promo-carousel-btn {
    width: 40px;
    height: 40px;
  }

  .promo-carousel-btn svg {
    width: 20px;
    height: 20px;
  }

  .promo-carousel-dot {
    width: 10px;
    height: 10px;
  }
}
