/* ===== SECTION (NO BACKGROUND, NO SHADOW) ===== */
.lux-slider {
  padding: 72px 16px;
  background: transparent;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ===== TITLE ===== */
.lux-title {
  text-align: center;
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 36px;
}

/* ===== TABS ===== */
.lux-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.lux-tab {
  padding: 9px 22px;
  border-radius: 999px;
  border: none;
  background: #eef2f6;
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s ease;
}

.lux-tab.active {
  background: #1f8f4a;
  color: #fff;
}

/* ===== TRACK ===== */
.lux-track-wrap {
  overflow: hidden;
}

.lux-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 4px 2px 20px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

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

/* ===== CARD (ONLY CARD HAS SHADOW) ===== */
.lux-card {
  flex: 0 0 100%;
  max-width: 100%;
  scroll-snap-align: start;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;

  /* ONLY inner card shadow */
  box-shadow: 0 16px 36px rgba(0,0,0,0.12);

  display: flex;
  flex-direction: column;
}

.lux-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* ===== CARD BODY ===== */
.lux-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.lux-body h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.lux-body p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.lux-link {
  font-weight: 700;
  color: #1f8f4a;
  text-decoration: none;
}

/* ===== PROGRESS DOTS ===== */
.lux-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.lux-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cfd6dd;
  transition: 0.25s ease;
}

.lux-dot.active {
  background: #1f8f4a;
  transform: scale(1.35);
}

/* ===== DESKTOP ===== */
@media (min-width: 768px) {
  .lux-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    overflow: visible;
  }

  .lux-card {
    flex: unset;
    max-width: 100%;
  }

  .lux-dots {
    display: none;
  }
}
