/* =============================================================================
   Fall in Love Carousel – Layout & Typography Overrides
   ========================================================================== */

/* 1) Header container centered */
.custom-carousel__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0 auto 40px;
  padding: 0 20px;
}

/* 2) Heading styling uses typography variables */
.custom-carousel__header h2 {
  font-family: var(--ff-head);
  font-weight: var(--fw-thin);
  letter-spacing: var(--ls-wide);
  line-height: var(--lh-head);
  font-size: 2.5rem;
  margin-bottom: 16px;
}

/* 3) Paragraph styling */
.custom-carousel__header p {
  font-family: var(--ff-base);
  font-weight: var(--fw-light);
  letter-spacing: var(--ls-wide);
  line-height: var(--lh-base);
  font-size: 1rem;
  color: var(--clr-text);
  max-width: 640px;
  margin: 0 auto 16px;
}

/* 4) Slide info container centered */
.carousel-slide__info {
  display: flex;
  flex-direction: column;
  align-items: center; /* center align content */
  text-align: center;
  margin-top: 12px;
  padding: 0 20px;
}

/* Slide title */
.carousel-slide__info h3 {
  font-family: var(--ff-head);
  font-weight: var(--fw-thin);
  letter-spacing: var(--ls-wide);
  line-height: var(--lh-head);
  font-size: 1.125rem;
  margin-bottom: 8px;
}

/* 5) Slide button centered */
.carousel-slide__info .custom-button {
  font-family: var(--ff-base);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  margin-top: 12px;
  align-self: center; /* center align button */
}

/* 6) Priced slide price styling */
.custom-carousel-priced .carousel-slide__price {
  font-family: var(--ff-base);
  font-weight: var(--fw-light);
  letter-spacing: var(--ls-wide);
  line-height: 1.4;
  font-size: 1rem;
  color: var(--clr-link-hover);
  margin-top: 4px;
}

/* 7) Footer button centered */
.custom-carousel__footer {
  text-align: center;
  margin-top: 40px;
}
.custom-carousel__footer .custom-button {
  display: inline-block;
  font-family: var(--ff-base);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  margin: 0 auto;
}

/* 8) Responsive tweaks */
@media (max-width: 767px) {
  .custom-carousel__header h2 {
    font-size: 1.75rem;
  }
  .custom-carousel__header p {
    font-size: 0.9rem;
  }
  .custom-carousel-priced .carousel-slide__price {
    font-size: 0.875rem;
  }
}
