:root {
  --hf-accent: #034663;
}

.single-page-section .carousel-inner {
  height: 450px;
  background-color: #f4f4f4;
}

.single-page-section .hf-stars {
  font-size: 42px;
  display: block;
  width: 100%;
  margin-top: -10px;
}

.single-page-section .hf-chip {
  padding: 0;
  font-size: 1.1rem;
  display: block;
  width: 100%;
}

.bg-grey {
  background-color: #0346630f !important;
}

/* Card container */
.hf-card {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .06);
}

.hf-card h4 {
  margin: 0 0 .85rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--hf-accent);
}

/* Price and table elements */
.hf-price-meta {
  display: grid;
  row-gap: .35rem;
  margin-bottom: .35rem;
}

.hf-line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px dashed #eef1f4;
  padding: .25rem 0;
}

.hf-label {
  font-weight: 600;
  opacity: .75;
}

.hf-value {
  font-weight: 700;
}

.hf-thumb {
  max-width: 150px;
  height: auto;
  margin: 10px;
}

.hf-total-wrap {
  display: flex;
  align-items: baseline;
  gap: .45rem;
  margin-top: .35rem;
}

.hf-total-curr {
  font-weight: 800;
  opacity: .85;
}

.hf-total-amt {
  color: var(--hf-accent);
  font-weight: 900;
  line-height: 1;
  letter-spacing: .5px;
  font-size: clamp(40px, 6vw, 76px);
}

.hf-total-caption {
  margin-left: .5rem;
  font-size: .9rem;
  opacity: .7;
}

.hf-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.hf-table th,
.hf-table td {
  padding: .45rem .6rem;
  border-bottom: 1px solid #eef1f4;
  vertical-align: middle;
}

.hf-table thead th {
  border-bottom: 1px solid #dde3ea;
  font-weight: 700;
  opacity: .65;
}

.hf-table--compact th,
.hf-table--compact td {
  padding: .35rem .55rem;
}

/* Chips and booking form */
.hf-chip {
  border-radius: 999px;
  padding: .2rem .6rem;
  font-size: .85rem;
}

.hf-chip.types {
  background-color: #034663;
  padding: 5px 10px;
  display: inline-block;
  margin: 3px;
  font-size: 10px;
  color: #fff;
  width: auto;
}

.hf-chip.travel-dates {
  font-weight: 900;
  padding: 10px 0;
}

.hf-booking-form .wpcf7 {
  padding: 20px;
  background-color: #ddd;
  border-radius: 15px;
}

/* Holiday Factory single-package presentation */
.single-page-section.hf-single-page {
  background: #f3fafa;
  padding: 28px 0 64px;
}

.hf-single-page .container {
  max-width: 1220px;
}

.hf-single-back {
  margin: 0 0 16px;
}

.hf-single-back a {
  color: var(--hf-accent);
  font-size: 13px;
  text-decoration: none;
}

.hf-single-hero {
  padding: 0;
  overflow: hidden;
  border-color: #dfe9e9;
  box-shadow: 0 10px 30px rgba(3, 70, 99, .12);
}

.hf-single-hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 4vw, 52px);
}

.hf-single-hero-media {
  min-height: 430px;
  background: #edf3f3;
}

.hf-single-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.hf-single-kicker {
  color: #8b5c32;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hf-single-title {
  color: var(--hf-accent);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  margin: 9px 0 10px;
}

.hf-single-rating .hf-stars {
  display: inline-block;
  width: auto;
  margin: 0 0 14px;
  font-size: 18px;
}

.hf-single-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 12px;
}

.hf-single-page .hf-single-chips .hf-chip {
  display: inline-flex;
  width: auto;
  padding: 6px 11px;
  background: #e7f5f4;
  border-radius: 999px;
  color: #087b7a;
  font-size: 12px;
  line-height: 1.1;
}

.hf-single-page .hf-total-wrap {
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 12px;
}

.hf-total-label,
.hf-total-caption {
  color: #66747b;
  font-size: 13px;
}

.hf-single-page .hf-total-curr {
  color: var(--hf-accent);
  font-size: 18px;
}

.hf-single-page .hf-total-amt {
  color: var(--hf-accent);
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  font-weight: 500;
}

.hf-single-dates {
  color: #63717b;
  font-size: 13px;
  line-height: 1.6;
}

.hf-single-page .hf-chip.travel-dates {
  display: none;
}

.hf-single-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.hf-single-actions a {
  border-radius: 999px;
  text-align: center;
}

.hf-single-page .hf-card:not(.hf-single-hero) {
  border-color: #dfe9e9;
  box-shadow: 0 6px 20px rgba(3, 70, 99, .07);
}

.hf-single-page .hf-card h3 {
  color: var(--hf-accent);
}

.hf-single-page .hf-booking-form {
  scroll-margin-top: 24px;
}

.hf-single-page .hf-booking-form .wpcf7 {
  background-color: #f7fbfb;
  border: 1px solid #dfe9e9;
}

.hf-single-page .hf-quote-embed {
  margin: 16px -8px -8px;
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
}

.hf-single-page .hf-quote-embed iframe {
  display: block;
  width: 100%;
  min-height: 900px;
  border: 0;
}

.hf-single-page .hf-quote-note {
  color: #63717b;
  font-size: 13px;
  line-height: 1.55;
}

@media (max-width: 767px) {
  .single-page-section.hf-single-page {
    padding-top: 18px;
  }

  .hf-single-hero-media,
  .hf-single-hero-media img {
    min-height: 280px;
  }

  .hf-single-hero-content {
    padding: 26px 22px 28px;
  }

  .hf-single-actions {
    flex-direction: column;
  }

  .hf-single-actions a {
    width: 100%;
  }
}
