.offers-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1100px;
  margin: auto;
  align-items: flex-start;
  gap: 32px;
}

.hidden {
  display: none;
}

.offer-tile-highlight {
  border: 2px solid var(--primary-color) !important;
}

.offer-card {
  display: flex;
  width: 100%;
  padding: 20px;
  align-items: flex-start;
  gap: 32px;
  border: 1px solid var(--divider, #dfdfe1);
}

.offer-img-container {
  flex: 1 0 0;
  align-self: stretch;
  max-width: 300px;
  height: auto;
}

/* Carousel styles moved from Pug templates */
.offer-img-container {
  position: relative;
  overflow: hidden;
}
.carousel-track {
  height: 100%;
}
.offer-img-container .carousel-track {
  display: flex;
  width: 100%;
  transition: transform 0.35s ease;
  will-change: transform;
}
.offer-img-container .carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  display: block;
}
/* Ensure carousel images are visible when container height is auto (e.g., on mobile) */
.offer-img-container .responsive-img {
  height: auto !important;
}
.offer-img-container .carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.offer-img-container .carousel-arrow.left {
  left: 8px;
}
.offer-img-container .carousel-arrow.right {
  right: 8px;
}
.offer-img-container:hover .carousel-arrow,
.offer-img-container .carousel-arrow:focus,
.offer-img-container .carousel-arrow:focus-visible {
  opacity: 1;
  pointer-events: auto;
}

.offer-img-container-v2 {
  flex: 1 0 0;
  align-self: stretch;
  max-width: 600px;
  height: auto;
}

.offer-inclusions ul {
  margin: 0 !important;
}

.offer-inclusions-link {
  color: var(--primary-main, var(--primary-main, #3d5afe));
  text-decoration: underline;
  font-feature-settings:
    'liga' off,
    'clig' off;

  /* typography/body2 */
  font-family: "Suisse Int'l";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  /* 142.857% */
}

.offer-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #ffc107;
  padding: 5px;
  border-radius: 5px;
}

.offer-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
  flex: 1 0 0;
  height: 100%;
}

.offer-title {
  color: var(--text-primary, var(--text-primary, #363a45));
  font-feature-settings:
    'liga' off,
    'clig' off;

  /* typography/h6 */
  font-family: "Suisse Int'l";
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 19.2px;
  /* 120% */
}

.offer-cancellation-policy {
  color: var(--success-main, #3bab53);
  font-feature-settings:
    'liga' off,
    'clig' off;

  /* typography/body2 */
  font-family: "Suisse Int'l";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  /* 142.857% */
}

.offer-price-container {
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  align-self: stretch;
}

.offer-duration {
  color: var(--text-primary, var(--text-primary, #363a45));
  font-feature-settings:
    'liga' off,
    'clig' off;

  /* typography/caption */
  font-family: "Suisse Int'l";
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px;
  /* 133.333% */
}

.offer-price {
  color: var(--text-primary, var(--text-primary, #363a45));
  font-feature-settings:
    'liga' off,
    'clig' off;

  /* typography/subtitle2 */
  font-family: "Suisse Int'l";
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 21px;
  /* 116.667% */
}

.offer-valued {
  color: var(--text-primary, var(--text-primary, #363a45));
  font-feature-settings:
    'liga' off,
    'clig' off;

  /* typography/body2 */
  font-family: "Suisse Int'l";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  /* 142.857% */
}

button.show-more-btn {
  background: none;
  border: none;
  color: var(--primary-main, #3d5afe);
  text-decoration: underline;
  padding: 0;
  cursor: pointer;
  font-family: "Suisse Int'l", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  font-feature-settings:
    'liga' off,
    'clig' off;
}

.view-offer-btn {
  display: flex;
  padding: 8px 22px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  align-self: stretch;

  border-radius: 2px;
}

.view-offer-button-text {
  color: white;
  font-feature-settings:
    'liga' off,
    'clig' off;

  /* components/button-large */
  font-family: "Suisse Int'l";
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
  /* 150% */
}

.offer-rating-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3px 4px;

  border-radius: 100px;
  background: var(--action-selected, rgba(0, 0, 0, 0.08));
}

.offer-saving {
  color: var(--success-main, #3bab53);
  font-feature-settings:
    'liga' off,
    'clig' off;

  /* typography/body2 */
  font-family: "Suisse Int'l";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  /* 142.857% */
}

@media (max-width: 767px) {
  .offer-card {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .offer-img-container {
    max-width: 100%;
    aspect-ratio: 16 / 10;
    min-height: 180px;
    width: 100%;
  }

  .offer-card .offer-img-container .carousel-track,
  .offer-card .offer-img-container .carousel-slide {
    height: 100%;
  }

  /* Stronger selector to beat global responsive-img on mobile */
  .offer-card .offer-img-container .responsive-img {
    height: 100% !important;
    object-fit: cover !important;
  }

  .offer-details {
    width: 100%;
  }

  .offer-price-container {
    width: 100%;
  }

  .offer-inclusions {
    width: 100%;
    text-align: left;
  }
}
