.details-page {
  padding-top: 2.5rem;
}

.details-wrap {
  max-width: 52rem;
}

.details-carousel {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #e2e8f0;
  margin-bottom: 1.25rem;
}

.details-carousel-viewport {
  overflow: hidden;
}

.details-carousel-track {
  display: flex;
  transition: transform 0.28s ease;
}

.details-carousel-slide {
  flex: 0 0 100%;
}

.details-carousel-slide img {
  width: 100%;
  height: 22rem;
  object-fit: cover;
}

.details-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #1e293b;
  font-size: 1.2rem;
  cursor: pointer;
}

.details-carousel-prev {
  left: 0.65rem;
}

.details-carousel-next {
  right: 0.65rem;
}

.details-carousel-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.6rem;
  display: flex;
  justify-content: center;
  gap: 0.35rem;
}

.details-carousel-dot {
  width: 0.5rem;
  height: 0.5rem;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}

.details-carousel-dot.is-active {
  background: #fff;
}

.details-carousel.is-single .details-carousel-nav,
.details-carousel.is-single .details-carousel-dots {
  display: none;
}

#details-title {
  margin: 0 0 0.55rem;
  font-size: clamp(1.6rem, 3vw, 2rem);
}

.details-description {
  margin: 0 0 1.25rem;
  color: #475569;
  font-size: 1rem;
  line-height: 1.65;
}

.details-help {
  margin: 0 0 1.15rem;
  font-size: 0.95rem;
  color: #1e3a8a;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 0.5rem;
  padding: 0.7rem 0.85rem;
}

.details-section {
  margin: 0 0 1rem;
}

.details-section h2 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.details-list {
  margin: 0;
  padding-left: 1.2rem;
  color: #334155;
}

.details-list li {
  margin: 0.15rem 0;
  line-height: 1.5;
}

.details-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.details-secondary-btn {
  background: #eff6ff;
  color: #1e3a8a;
  border: 1px solid #bfdbfe;
}

.details-secondary-btn:hover {
  background: #dbeafe;
  color: #1e40af;
}

@media (max-width: 767px) {
  .details-carousel-slide img {
    height: 15rem;
  }
}
