/**
 * Heartfelt Funeral Company - Quote Builder frontend styles.
 */

:root {
  --hfc-navy-step-fontColor: #13345a;
  --hfc-white-step-fontColor: #ffffff;
  --hfc-step-boxRadius: 20px;
}

.hfc-quote-builder {
  --hfc-navy: #1b3a5b;
  --hfc-navy-dark: #14304c;
  --hfc-gold: #d9a441;
  --hfc-gold-dark: #c48f2f;
  --hfc-ink: #243b53;
  --hfc-muted: #64748b;
  --hfc-line: #e4e8ee;
  --hfc-bg: #f5f7fa;
  --hfc-radius: 10px;
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  color: var(--hfc-ink);
  font-size: 16px;
  line-height: 1.5;
  box-sizing: border-box;
}

.hfc-location-search {
  padding-top: 40px;
}

.hfc-quote-builder *,
.hfc-quote-builder *::before,
.hfc-quote-builder *::after {
  box-sizing: border-box;
}

/* ---------- Progress ---------- */
.hfc-progress {
  display: flex;
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  counter-reset: hfc;
}

.hfc-progress__item {
  position: relative;
  flex: 1 1 0;
  text-align: center;
  font-size: 13px;
  color: var(--hfc-muted);
}

.hfc-progress__item .hfc-progress__label {
  display: none;
}

.hfc-progress__item::before {
  content: "";
  position: absolute;
  top: 32px;
  left: -50%;
  width: 100%;
  height: 14px;
  background: var(--hfc-line);
  z-index: 0;
}

.hfc-progress__item:first-child::before {
  display: none;
}

.hfc-step-container {
  padding: 50px 11px 0;
}

.hfc-progress__node {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 75px;
  height: 75px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: #dae3ea;
  border: 5px solid #dae3ea;
  color: var(--hfc-muted);
  transition: all 0.2s ease;
}

.hfc-progress__item--active .hfc-progress__node {
  background: #fff;
}

/*.hfc-progress__node .dashicons {
	font-size: 22px;
	width: 22px;
	height: 22px;
}
*/

.hfc-progress__node .dashicons {
  font-size: 36px;
  width: 35px;
  height: 35px;
}

.hfc-progress__item--complete::before,
.hfc-progress__item--active::before {
  background: var(--hfc-navy);
}

.hfc-progress__item--complete .hfc-progress__node {
  border-color: var(--hfc-navy);
  /*background: var(--hfc-navy);*/
  background: #fff;
  color: #fff;
}

.hfc-progress__item--active .hfc-progress__node {
  border-color: var(--hfc-navy);
  color: var(--hfc-navy);
  /*box-shadow: 0 0 0 4px rgba(27, 58, 91, 0.12);*/
}

.hfc-progress__item--active .hfc-progress__label {
  color: var(--hfc-navy);
  font-weight: 600;
}

/* ---------- Headings ---------- */
.hfc-step__title {
  color: var(--hfc-navy);
  font-size: 40px;
  margin: 0 0 8px;
  line-height: 1.2;
  font-weight: 700;
}

.hfc-step__subtitle {
  color: var(--hfc-muted);
  margin: 0 0 24px;
  /*max-width: 720px;*/
  max-width: 100%;
  font-size: 16px;
  color: #13345a;
  font-weight: 500;
}

/* ---------- Cards ---------- */

.hfc-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.hfc-step--step1 .hfc-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(31%, 1fr));
  gap: 20px;
  margin: 45px 0 0;
}

.hfc-step--step1 .hfc-card__price{
  display: none;
}

.hfc-step--step3 .hfc-cards {
  grid-template-columns: repeat(auto-fill, minmax(23.6%, 1fr));
}

.hfc-step--step4 .hfc-cards {
  grid-template-columns: repeat(auto-fill, minmax(23%, 1fr));
}

.hfc-step--step3 .hfc-cards {
  margin: 45px 0 0;
}

/* Coffin photos are supplied as wide 2:1 product shots on a white background.
   The box therefore matches that ratio and the image is contained, never
   cropped: the whole coffin must be visible, ends included. */
.hfc-step--step3 .hfc-card__media {
  border: none;
  border-radius: 0;
  box-shadow: inherit;
  aspect-ratio: 2 / 1;
  background: transparent;
}

/* Hearse photos are 10:7. Same rule: show the whole vehicle. */
.hfc-step--step4 .hfc-card__media {
  border-radius: 11px;
  aspect-ratio: 10 / 7;
  background: transparent;
}

.hfc-step--step4 .hfc-card__media img {
  object-fit: contain;
}

.hfc-step--step3 .hfc-card__media img {
  object-fit: contain;
  transition: all 0.65s ease;
}

.hfc-step--step3 .hfc-card:hover .hfc-card__media img {
  transform: scale(1.1);
}

.hfc-card {
  position: relative;
  border: 1px solid var(--hfc-line);
  border-radius: var(--hfc-radius);
  overflow: hidden;
  background: #fff;
  transition:
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
  display: flex;
  flex-direction: column;
}

.hfc-step--step4 .hfc-card {
  padding: 14px;
  border-radius: 20px;
  border: none;
}

.hfc-step--step1 .hfc-card {
  border-radius: var(--hfc-step-boxRadius);
}

.hfc-step--step3 .hfc-card {
  border-radius: var(--hfc-step-boxRadius);
  border: none;
  padding: 10px 30px 40px;
}

/*background: #13345A66;*/

.hfc-step--step1 .hfc-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #13345a66;
}

.hfc-card:hover {
  box-shadow: 0 10px 26px rgba(20, 48, 76, 0.12);
  transform: translateY(-2px);
}

.hfc-step--step1 .hfc-card:hover,
.hfc-step--step3 .hfc-card:hover {
  box-shadow: inherit;
  transform: translateY(0px);
}

.hfc-card.is-selected {
  border-color: var(--hfc-gold);
  box-shadow: 0 0 0 1px var(--hfc-gold);
}

.hfc-step--step3 .hfc-card.is-selected .hfc-card__media {
  box-shadow: initial !important;
}

.hfc-card__media {
  aspect-ratio: 4 / 3;
  background: var(--hfc-bg);
  overflow: hidden;
}

.hfc-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hfc-card__noimg {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e9edf2, #dbe2ea);
}

.hfc-card__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.hfc-step--step3 .hfc-card__body {
  padding: 0;
}

.hfc-step--step1 .hfc-card__body {
  position: absolute;
  z-index: 1;
  left: 41px;
  max-width: 324px;
  bottom: 80px;
  padding: 0;
}

.hfc-card__title {
  margin: 0;
  font-size: 17px;
  color: var(--hfc-navy);
}

.hfc-step--step4 .hfc-card__title {
  margin: 6px 0 0px;
}

.hfc-step--step1 .hfc-card__title {
  color: #fff;
  font-size: 32px;
  font-weight: 700;
}

.hfc-card__price {
  font-weight: 700;
  color: var(--hfc-ink);
}

.hfc-step--step1 .hfc-card__price {
  color: var(--hfc-white-step-fontColor);
  font-size: 22px;
}

.hfc-step--step3 .hfc-card__price,
.hfc-step--step4 .hfc-card__price {
  font-size: 18px;
  font-weight: 500;
  color: var(--hfc-navy-step-fontColor);
  padding: 0 0 6px;
}

.hfc-card__desc {
  margin: 0;
  font-size: 13px;
  color: var(--hfc-muted);
  flex: 1;
}

.hfc-step--step1 .hfc-card__desc {
  font-size: 18px;
  font-weight: 500;
  color: var(--hfc-white-step-fontColor);
  margin: 6px 0 0;
  line-height: 1.4;
}

.hfc-step--step3 .hfc-card__desc,
.hfc-step--step4 .hfc-card__desc,
.hfc-step--step5 .hfc-summary-item__desc {
  font-size: 16px;
  font-weight: 500;
  color: var(--hfc-navy-step-fontColor);
  line-height: 1.4;
  border-top: 1px solid rgba(0, 0, 0, 0.15);
  padding: 12px 0 0;
}

.hfc-step--step5 .hfc-summary-item__desc {
  border-top: none;
  padding: 11px 0 6px;
}

/* ---------- Buttons ---------- */
.hfc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font: inherit;
  font-weight: 600;
  line-height: 1;
  padding: 12px 22px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
  text-decoration: none;
}

.hfc-step__nav .hfc-btn,
.hfc-crem-card__actions .hfc-btn {
  font-weight: 600;
  font-size: 18px;
  padding: 14px 35px;
  border-radius: 10px;
}

.hfc-step__nav .hfc-btn.hfc-prev,
.hfc-step--step2 .hfc-crem-card__actions .hfc-btn.hfc-select {
  background: #dfab61;
  color: var(--hfc-white-step-fontColor);
  transition: all 0.45s ease;
}

.hfc-step__nav .hfc-btn.hfc-prev:hover,
.hfc-step--step2 .hfc-crem-card__actions .hfc-btn.hfc-select:hover {
  background: var(--hfc-white-step-fontColor);
  color: #dfab61;
  transition: all 0.25s ease;
}

.hfc-step__nav .hfc-btn.hfc-skip,
.hfc-step--step2 .hfc-crem-card__actions .hfc-btn.hfc-detail-open {
  background: var(--hfc-white-step-fontColor);
  color: #dfab61;
  transition: all 0.45s ease;
}

.hfc-step__nav .hfc-btn.hfc-skip {
  border: 1px solid #dfab61;
}

.hfc-step__nav .hfc-btn.hfc-skip:hover,
.hfc-step__nav .hfc-btn.hfc-,
.hfc-step--step2 .hfc-crem-card__actions .hfc-btn.hfc-detail-open:hover {
  background: #dfab61;
  color: var(--hfc-white-step-fontColor);
}

.hfc-btn--select {
  background: var(--hfc-gold);
  color: #fff;
  width: 100%;
  margin-top: auto;
}

.hfc-step--step1 .hfc-btn--select,
.hfc-step--step3 .hfc-btn--select,
.hfc-step--step4 .hfc-btn--select {
  width: auto;
  font-size: 20px;
  font-weight: 600;
  border-radius: 10px;
  padding: 13px 40px;
  line-height: 1.1;
  color: #13345a;
}

.hfc-step--step1 .hfc-btn--select:hover,
.hfc-step--step3 .hfc-btn--select:hover,
.hfc-step--step4 .hfc-btn--select:hover {
  background: var(--hfc-white-step-fontColor);
  color: #dfab61;
}

.hfc-step--step2 .hfc-crematorium__results {
  margin: 90px 0 0;
}

.hfc-step--step2 .hfc-crematorium__results .hfc-crem-count {
  border-top: 1px solid #8d97a14d;
  border-bottom: 1px solid #8d97a14d;
  padding: 25px 5px;
  font-size: 18px;
  font-weight: 500;
  color: var(--hfc-navy-step-fontColor);
}

.hfc-btn--select:hover {
  background: var(--hfc-gold-dark);
}

.hfc-btn--primary {
  background: var(--hfc-gold);
  color: #fff;
}

.hfc-btn--primary:hover {
  background: var(--hfc-gold-dark);
}

.hfc-btn--ghost {
  background: #fff;
  border-color: var(--hfc-gold);
  color: var(--hfc-gold-dark);
}

.hfc-btn--ghost:hover {
  background: #fff7ea;
}

.hfc-btn--ghost:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.hfc-btn--link {
  background: transparent;
  color: var(--hfc-muted);
  border-color: var(--hfc-line);
}

.hfc-btn--block {
  width: 100%;
}

.hfc-btn--tiny {
  padding: 6px 12px;
  font-size: 12px;
  background: #f1f4f8;
  color: var(--hfc-ink);
}

.hfc-btn--tiny:hover {
  background: #e6ebf1;
}

.hfc-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* ---------- Step nav ---------- */
.hfc-step__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 60px;
  flex-wrap: wrap;
}

/* ---------- Crematorium ---------- */
.hfc-crematorium__controls {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  /* flex-direction: column; */
}

.hfc-step--step2 .hfc-crematorium__controls {
  margin: 11px 0 0;
}

.hfc-field {
  position: relative;
}

.hfc-field--location {
  flex: 1 1 320px;
  display: flex;
}

.hfc-crematorium__controls .hfc-field--location {
  flex: 1 1 100%;
  width: 100%;
}

.hfc-crematorium__controls .hfc-field--radius {
  width: 100%;
  margin: 8px 0 0;
}

.hfc-field--location input {
  flex: 1;
  border: 1px solid var(--hfc-line);
  border-radius: 8px 0 0 8px;
  padding: 12px 14px;
  font: inherit;
}

.hfc-step--step2 .hfc-field--location input {
  min-height: 75px;
  border-radius: 20px 0 0 20px;
  margin: 0 -2px 0 0;
  padding: 12px 14px 12px 25px;
  color: var(--step2-input-fontColor);
  font-size: 18px;
  font-weight: 500;
  border: none;
}

.hfc-step--step2 .hfc-field--location input::placeholder {
  color: var(--step2-input-fontColor);
  font-size: 18px;
  font-weight: 500;
}

.hfc-crem-locate {
  border: 1px solid var(--hfc-line);
  border-left: 0;
  border-radius: 0 8px 8px 0;
  background: #fff;
  cursor: pointer;
  padding: 0 14px;
  color: var(--hfc-navy);
}

.hfc-step--step2 .hfc-crem-locate {
  border-radius: 0 20px 20px 0;
  width: 90px;
  border: none;
  box-shadow: inherit;
}

.hfc-step--step2 .hfc-crem-locate .dashicons {
  background: url("/wp-content/uploads/2026/07/input-location-icon.png")
    no-repeat right center;
  display: block;
  margin: 0 auto;
  background-size: 100%;
  width: 35px;
  height: 35px;
}

.hfc-step--step2 .hfc-crem-locate .dashicons:before {
  display: none;
}

.hfc-field--radius select {
  border: 1px solid var(--hfc-line);
  border-radius: 8px;
  padding: 12px 14px;
  font: inherit;
  background: #fff;
  min-width: 160px;
}

.hfc-step--step2 .hfc-field--radius select {
  min-height: 75px;
  border-radius: 20px;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background: url("/wp-content/uploads/2026/07/loctation-select-arrow.png")
    no-repeat right 40px center;
  cursor: pointer;
  background-color: var(--hfc-white-step-fontColor);
  padding: 12px 14px 12px 25px;
  color: var(--step2-input-fontColor);
  font-size: 18px;
  font-weight: 500;
}

.hfc-crem-typing {
  width: 22px;
  height: 22px;
  align-self: center;
  border: 3px solid var(--hfc-line);
  border-top-color: var(--hfc-navy);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.hfc-step--step2 .hfc-crem-typing {
  position: relative;
  margin: -98px 70px 0 auto;
}

.hfc-crem-typing.is-active {
  opacity: 1;
  animation: hfc-spin 0.8s linear infinite;
}

.hfc-crem-count {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  color: var(--hfc-muted);
  margin-bottom: 14px;
}

.hfc-crem-loc {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--hfc-navy);
  font-weight: 600;
}

.hfc-crem-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hfc-step--step2 .hfc-crem-list {
  gap: 25px;
  padding: 20px 0 0;
}

.hfc-crem-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--hfc-line);
  border-radius: var(--hfc-radius);
  overflow: hidden;
  background: #fff;
}

.hfc-step--step2 .hfc-crem-card {
  border-radius: 20px;
  border: none;
  padding: 0 0 30px;
}

.hfc-crem-card.is-selected {
  border-color: var(--hfc-gold);
  /* box-shadow: 0 0 0 1px var(--hfc-gold); */
}

.hfc-crem-card__media {
  height: 180px;
  background: var(--hfc-bg);
}

.hfc-crem-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hfc-crem-card__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hfc-crem-card__titlePrice {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  column-gap: 22px;
  padding: 20px 15px;
  border-bottom: 0.5px solid #b0bcca;
}

.hfc-crem-card__title {
  margin: 0;
  font-size: 18px;
  color: var(--hfc-navy);
}

.hfc-step--step2 .hfc-crem-card__title,
.hfc-step--step2 .hfc-crem-card__price {
  font-size: 20px;
  font-weight: 700;
  color: var(--hfc-navy-step-fontColor);
  box-shadow: inherit !important;
  border: none !important;
}

.hfc-crem-card__dist {
  font-size: 12px;
  font-weight: 600;
  color: var(--hfc-gold-dark);
}

.hfc-crem-card__actions {
  display: flex;
  gap: 10px;
}

.hfc-step--step2 .hfc-crem-card__actions {
  padding: 20px 15px 0;
  gap: 18px;
}

.hfc-crem-card__actions .hfc-btn--select {
  width: auto;
  margin-top: 0;
}

.hfc-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}

.hfc-step--step2 .hfc-pagination {
  gap: 16px;
  margin-top: 40px;
  justify-content: flex-start;
}

.hfc-step--step2 .hfc-pagination .hfc-page-info {
  font-size: 16px;
  color: #13345a66;
}
.hfc-step--step2 .hfc-pagination .hfc-btn {
	border-radius: 5px;
	border: none;
	font-size: 16px;
	color: #fff;
	font-weight: 600;
	background: #dfab61;
	padding: 9px 36px;
	box-shadow: inherit;
}

.hfc-step--step2 .hfc-pagination .hfc-btn:hover {
  color: var(--hfc-navy-step-fontColor);
}

.hfc-step--step4 .hfc-cards {
  margin: 45px 0 0;
}

/* ---------- Summary ---------- */
.hfc-summary {
  display: grid;
  grid-template-columns: 1fr 475px;
  gap: 55px;
  align-items: start;
}

/* .hfc-step--step5 .hfc-summary {
  grid-template-columns: 1fr 475px;
  gap: 55px;
} */

.hfc-step--step5 .hfc-summary-item__body {
  padding: 18px 0 6px;
}

.hfc-summary__items {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.hfc-step--step5 .hfc-summary__items {
  gap: 22px;
  padding: 30px 0 0;
}

.hfc-summary-item {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 25px;
  /* border: 1px solid var(--hfc-line); */
  border-radius: 20px;
  padding: 12px;
  background: #fff;
}

.hfc-summary-item__media {
  border-radius: 20px;
  overflow: hidden;
  background: var(--hfc-bg);
  aspect-ratio: 1;
}

.hfc-summary-item__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.hfc-summary-item__subtitle {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--hfc-gold-dark);
  margin-bottom: 6px;
}

.hfc-summary-item__title {
  margin: 0 0 4px;
  font-size: 17px;
  color: var(--hfc-navy);
}

.hfc-summary-item__price {
  font-weight: 700;
  margin-bottom: 6px;
}

.hfc-summary-item__desc {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--hfc-muted);
}

.hfc-summary-item__actions {
  display: flex;
  gap: 15px;
  margin: 22px 0 0;
}

.hfc-summary-item__actions .hfc-btn {
  font-size: 16px;
  font-weight: 500;
  color: #13345a99;
  padding: 7px 16px 7px 32px;
  border: 1px solid #dae3ea;
  border-radius: 10px;
  box-shadow: inherit;
}

.hfc-summary-item__actions .hfc-btn.hfc-remove-item {
  background-image: url("/wp-content/uploads/2026/07/delete-icon.png");
  background-position: left 10px center;
  background-repeat: no-repeat;
}

.hfc-summary-item__actions .hfc-btn.hfc-edit-item {
  background-image: url("/wp-content/uploads/2026/07/edit-icon.png");
  background-position: left 10px center;
  background-repeat: no-repeat;
}

.hfc-summary-item__actions .hfc-btn :hover {
  color: var(--hfc-navy-step-fontColor);
}

.hfc-quote-box {
  /* border: 1px solid var(--hfc-line); */
  border: none;
  border-radius: 20px 20px 0 0;
  padding: 22px;
  background: #fff;
  /* box-shadow: 0 8px 24px rgba(20, 48, 76, 0.06); */
}

.hfc-quote-box__title {
  color: var(--hfc-navy);
  font-size: 40px;
  margin: 0 0 8px;
  line-height: 1.2;
  font-weight: 700;
}

.hfc-quote-box__table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 18px;
  font-size: 14px;
  border: none;
  margin: 22px 0 0;
}

.hfc-quote-box__table th,
.hfc-quote-box__table td {
  text-align: left;
  padding: 10px 15px;
  /* border-bottom: 1px solid var(--hfc-line); */
}

.hfc-quote-box__table th {
  font-size: 20px;
  font-weight: 700;
  color: var(--hfc-navy-step-fontColor);
}

.hfc-quote-box__table td {
  color: var(--hfc-navy-step-fontColor);
  font-weight: 400;
  font-size: 20px;
  border: none;
}

.hfc-quote-box__table td:last-child,
.hfc-quote-box__table th:last-child {
  text-align: right;
}

.hfc-quote-box__table tfoot th {
  font-size: 16px;
  color: var(--hfc-navy);
  border-bottom: 0;
  padding-top: 12px;
}

.hfc-quote-box__table thead th {
  color: var(--hfc-navy-step-fontColor);
  font-weight: 700;
  text-transform: capitalize;
  font-size: 20px;
  border: none;
  border-bottom: 1px solid #9eacbd4d;
  /* padding: 14px 15px 0; */
  padding: 0 15px 10px;
}

.hfc-quote-box__table tfoot th {
  color: var(--hfc-navy-step-fontColor);
  font-weight: 700;
  text-transform: capitalize;
  font-size: 20px;
  border: none;
  border-top: 1px solid #9eacbd4d;
  /* padding: 14px 15px 0; */
  padding: 12px 15px 10px;
}

.hfc-quote-box .hfc-to-form {
  font-size: 18px;
  font-weight: 600;
  border: 1px solid #dfab61;
  background: #dfab61;
  color: var(--hfc-white-step-fontColor);
  transition: all 0.45s ease;
  border-radius: 10px;
  padding: 14px 25px;
  margin: 65px 0 0;
}

.hfc-quote-box .hfc-to-form:hover {
  background: #fff;
  color: #dfab61;
}

.hfc-quote-box .hfc-btn:disabled:hover {
  opacity: 0.55;
  cursor: not-allowed;
  border: 1px solid #dfab61;
  background: #dfab61;
  color: var(--hfc-white-step-fontColor);
}

/* ---------- Info boxes ---------- */
.hfc-info-boxes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(31%, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.hfc-info-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 50px;
  /* border: 1px solid var(--hfc-line); */
  border-radius: var(--hfc-radius);
  background: #fff;
  text-decoration: none;
  color: var(--hfc-ink);
  transition: box-shadow 0.2s ease;
}

.hfc-summary__main .hfc-info-box .hfc-info-box__img {
  height: 42px;
  width: auto;
  object-fit: contain;
  text-align: left;
  /* margin-right: auto; */
  margin: 0 auto 11px 0;
}

a.hfc-info-box:hover {
  box-shadow: 0 8px 20px rgba(20, 48, 76, 0.1);
}

.hfc-info-box__icon {
  color: var(--hfc-navy);
  font-size: 26px;
  width: 26px;
  height: 26px;
}

.hfc-info-box__title {
  font-weight: 700;
  color: var(--hfc-navy-step-fontColor);
  font-size: 20px;
}

.hfc-info-box__desc {
  font-size: 16px;
  font-weight: 500;
  color: var(--hfc-navy-step-fontColor);
  line-height: 1.4;
  margin: 6px 0 2px;
}

/* Price on a chargeable info box. */
.hfc-info-box__price {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: var(--hfc-navy-step-fontColor);
  margin: 6px 0 0;
}

/* Info box line items in the quote summary table. */
.hfc-quote-box__table tr.hfc-quote-box__extra[hidden] {
  display: none;
}

/* ---------- Selectable cards (info boxes + optional services) ---------- */

/* The checkbox only carries state: the card itself is the control. */
.hfc-pick__input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
  pointer-events: none;
}

.hfc-info-box-item {
  position: relative;
  display: flex;
  cursor: pointer;
}

/* The outline marks the chosen state. A transparent border of the same width
   is always present, so ticking a box never shifts the grid. */
.hfc-info-box-item > .hfc-info-box {
	flex: 1;
	border: 1px solid transparent;
	background: #fff;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.hfc-info-box-item.is-selected > .hfc-info-box {
	border-color: #4C7EB7;
}

.hfc-pick__input:focus-visible + .hfc-info-box {
  outline: 2px solid var(--hfc-navy);
  outline-offset: 2px;
}

/* ---------- Optional Additional Services ---------- */

.hfc-services {
  margin-top: 40px;
  padding: 40px 24px 44px;
  background: #fff;
  border-radius: var(--hfc-radius);
}

/*
 * Standalone band: [hfc_optional_services] renders this outside the builder,
 * so it repeats the palette the service cards rely on (custom properties are
 * scoped to .hfc-quote-builder) and re-centres its own content.
 */
.hfc-services-band {
  --hfc-navy: #1b3a5b;
  --hfc-gold: #d9a441;
  --hfc-ink: #243b53;
  --hfc-muted: #64748b;
  --hfc-line: #e4e8ee;
  --hfc-radius: 10px;
  width: 100%;
  background: #fff;
  color: var(--hfc-ink);
  font-size: 16px;
  line-height: 1.5;
}

.hfc-services-band,
.hfc-services-band *,
.hfc-services-band *::before,
.hfc-services-band *::after {
  box-sizing: border-box;
}

.hfc-services-band[hidden] {
  display: none;
}

.hfc-services-band .hfc-services {
  max-width: 1440px;
  margin: 0 auto;
  padding: 48px 20px 52px;
  border-radius: 0;
}

.hfc-services__title {
  margin: 0 0 24px;
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  color: var(--hfc-navy-step-fontColor);
}

.hfc-services__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.hfc-service {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px 16px;
  border: 1px solid var(--hfc-line);
  border-radius: var(--hfc-radius);
  background: #fff;
  text-align: center;
  cursor: pointer;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.2s ease;
}

.hfc-service:hover {
  box-shadow: 0 8px 20px rgba(20, 48, 76, 0.1);
}

.hfc-service.is-selected {
  border-color: var(--hfc-gold);
  background: #fdf7ec;
}

.hfc-pick__input:focus-visible ~ .hfc-service__title {
  text-decoration: underline;
}

/* service css 17-07-26 start */

.hfc-services-band .hfc-services .hfc-services__title {
  font-size: 40px;
  margin: 0 0 50px;
}

.hfc-services-band .hfc-services {
  max-width: 1200px;
  margin: 0 auto;
  padding: 90px 11px;
}

.hfc-services-band .hfc-services .hfc-service {
  gap: 0px;
  padding: 50px 21px;
  min-height: 210px;
  justify-content: center;
  border: 1px solid #4c7eb7b2;
}

.hfc-services-band .hfc-services .hfc-service .hfc-service__title {
  padding: 20px 0 0;
}

.hfc-services-band .hfc-services .hfc-service .hfc-service__img {
  transition: all 0.56s ease;
}

.hfc-services-band .hfc-services .hfc-service:hover .hfc-service__img {
  transform: scale(1.06);
}

/* service css 17-07-26 end */

.hfc-service__img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.hfc-service__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--hfc-navy-step-fontColor);
}

.hfc-service__desc {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--hfc-muted);
}

.hfc-service__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--hfc-navy);
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .hfc-services__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .hfc-services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hfc-services__title {
    font-size: 22px;
  }
}

/* ---------- Reviews ---------- */
.hfc-reviews {
  margin-top: 0;
  padding: 16px 22px 40px;
  /* border: 1px solid var(--hfc-line); */
  /* border-radius: var(--hfc-radius); */
  background: #fff;
  text-align: center;
  border-radius: 0px 0 20px 20px;
}

.hfc-reviews__head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

.hfc-reviews__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #fff;
  /* border: 1px solid var(--hfc-line); */
  font-weight: 700;
  color: #4285f4;
  background-image: url("/wp-content/uploads/2026/07/google-icon.png");
  text-indent: -99999px;
  background-size: 100%;
}

.hfc-reviews__rating {
  font-size: 40px;
  font-weight: 700;
  color: #000;
}

.hfc-reviews__stars {
  color: var(--hfc-gold);
  letter-spacing: 2px;
  font-size: 28px;
}

.hfc-reviews__count {
  font-size: 20px;
  color: #000;
  font-weight: 500;
  margin-top: 4px;
  text-align: left;
  padding: 0 0 0 70px;
  margin: -6px 0 0;
}

/* ---------- Form ---------- */
.hfc-form {
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--hfc-line);
  border-radius: var(--hfc-radius);
  padding: 32px;
}

.hfc-form__section {
  color: var(--hfc-navy);
  font-size: 22px;
  margin: 24px 0 12px;
}

.hfc-form__section:first-child {
  margin-top: 0;
}

.hfc-form-field {
  margin-bottom: 4px;
}

.hfc-step--form .hfc-form-field .hfc-input {
  height: 44px;
}

.hfc-input {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--hfc-line);
  padding: 10px 2px;
  font: inherit;
  background: transparent;
  transition: border-color 0.15s ease;
}

.hfc-input:focus {
  outline: none;
  border-bottom-color: var(--hfc-navy);
}

.hfc-form-field.has-error .hfc-input {
  border-bottom-color: #d63638;
}

.hfc-error {
  display: block;
  color: #d63638;
  font-size: 12px;
  margin-top: 4px;
  min-height: 14px;
}

.hfc-form-terms {
  margin-top: 10px;
}

.hfc-form-terms__text {
  font-size: 14px;
  color: var(--hfc-muted);
}

.hfc-form-terms__text a {
  color: var(--hfc-navy);
}

.hfc-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.hfc-form .hfc-step__nav {
  justify-content: flex-start;
  margin-top: 20px;
}

.hfc-submit {
  background: var(--hfc-navy);
}

.hfc-submit:hover {
  background: var(--hfc-navy-dark);
}

.hfc-step--form .hfc-step__nav .hfc-submit {
  border: 1px solid #14304c;
}

.hfc-step--form .hfc-step__nav .hfc-submit:hover {
  background: var(--hfc-white-step-fontColor);
  color: #14304c;
}

/* ---------- Notice / loader / thankyou ---------- */
.hfc-notice {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 18px;
  background: #eef6ff;
  color: var(--hfc-navy);
  border: 1px solid #cfe4fb;
}

.hfc-notice.is-error {
  background: #fdecec;
  color: #a12622;
  border-color: #f5c2c0;
}

.hfc-notice:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(214, 54, 56, 0.25);
}

.hfc-loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

/* The [hidden] attribute must win over the display rule above, otherwise the
   spinner is painted on the very first (server-rendered) load of Step 1. */
.hfc-quote-builder [hidden] {
  display: none !important;
}

.hfc-loader__spinner {
  width: 42px;
  height: 42px;
  border: 4px solid var(--hfc-line);
  border-top-color: var(--hfc-navy);
  border-radius: 50%;
  animation: hfc-spin 0.8s linear infinite;
}

@keyframes hfc-spin {
  to {
    transform: rotate(360deg);
  }
}

.hfc-thankyou {
  text-align: center;
  padding: 60px 20px;
}

.hfc-thankyou__icon {
  color: #118a00;
  font-size: 56px;
  width: 56px;
  height: 56px;
}

.hfc-thankyou__message {
  max-width: 520px;
  margin: 16px auto 0;
  font-size: 18px;
  color: var(--hfc-ink);
}

.hfc-empty {
  color: var(--hfc-muted);
  padding: 24px 0;
}

/* ---------- Card media as button ---------- */
.hfc-card__media,
.hfc-crem-card__media,
.hfc-summary-item__media {
  border: 0;
  padding: 0;
  cursor: pointer;
  display: block;
  width: 100%;
  font: inherit;
}

.hfc-step--step1 .hfc-card__media {
  min-height: 476px;
  border-radius: 0;
}

.hfc-step--step1 .hfc-card__media img {
  transition: all 0.65s ease;
}

.hfc-step--step1 .hfc-card:hover .hfc-card__media img {
  transform: scale(1.1);
}

.hfc-card__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}

.hfc-step--step1 .hfc-card__actions,
.hfc-step--step3 .hfc-card__actions,
.hfc-step--step4 .hfc-card__actions {
  margin-top: 22px;
  display: block;
}

.hfc-title-link {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.hfc-step--step3 .hfc-title-link,
.hfc-step--step4 .hfc-title-link {
  font-size: 18px;
  font-weight: 700;
  color: var(--hfc-navy-step-fontColor);
  box-shadow: inherit;
}

.hfc-step--step5 .hfc-title-link,
.hfc-step--step5 .hfc-summary-item__price {
  font-size: 20px;
  font-weight: 700;
  color: var(--hfc-navy-step-fontColor);
}

.hfc-title-link:hover {
  color: var(--hfc-gold-dark);
  text-decoration: underline;
}

.hfc-step--step1 .hfc-title-link:hover {
  color: var(--hfc-white-step-fontColor);
  background: none;
}

.hfc-step--step3 .hfc-title-link:hover,
.hfc-step--step4 .hfc-title-link:hover,
.hfc-step--step3 .hfc-title-link:focus,
.hfc-step--step4 .hfc-title-link:focus,
.hfc-step--step5 .hfc-title-link:hover,
.hfc-step--step5 .hfc-title-link:focus {
  color: var(--hfc-navy-step-fontColor);
  background: none;
}

.hfc-step--step2 .hfc-title-link,
.hfc-step--step5 .hfc-title-link {
  box-shadow: inherit;
}

.hfc-step--step2 .hfc-title-link:hover {
  color: var(--hfc-navy-step-fontColor);
  background: none;
}

/* ---------- Crematorium: fields + map side by side, results below ---------- */

/* Fallback / no-map: results stacked full width. */
.hfc-crematorium__layout {
  display: block;
}

/*
 * Two-column layout (only when a map is present):
 *   left column  -> heading + search fields, then the results below
 *   right column -> the map, aligned to the fields
 * The results/map wrapper is dissolved with display:contents so both become
 * direct items of the step grid.
 */
.hfc-step--crematorium:has(.hfc-crematorium__map) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas:
    "head     map"
    "controls map"
    "results  ."
    "nav      nav";
  column-gap: 28px;
  row-gap: 0;
  align-items: start;
}

.hfc-step--crematorium.hfc-step--step2 {
  column-gap: 50px;
}

.hfc-step--crematorium:has(.hfc-crematorium__map) .hfc-crematorium__layout {
  display: contents;
}

.hfc-step--crematorium:has(.hfc-crematorium__map) .hfc-step__head {
  grid-area: head;
}

.hfc-step--crematorium:has(.hfc-crematorium__map) .hfc-crematorium__controls {
  grid-area: controls;
}

.hfc-step--crematorium:has(.hfc-crematorium__map) .hfc-crematorium__map {
  grid-area: map;
  align-self: stretch;
  position: static;
}

.hfc-step--crematorium:has(.hfc-crematorium__map) .hfc-crematorium__results {
  grid-area: results;
}

.hfc-step--crematorium:has(.hfc-crematorium__map) .hfc-step__nav {
  grid-area: nav;
}

.hfc-crematorium__map {
  position: sticky;
  top: 20px;
}

.hfc-map {
  width: 100%;
  height: 520px;
  border-radius: var(--hfc-radius);
  overflow: hidden;
  border: 1px solid var(--hfc-line);
  background: #e9edf2;
}

/* In the two-column layout the map matches the height of the fields block. */
.hfc-step--crematorium:has(.hfc-crematorium__map) .hfc-map {
  /* height: 100%; */
  height: 425px;
  min-height: 220px;
}

.hfc-crem-card__actions {
  flex-wrap: wrap;
}

/* ---------- Modal ---------- */
.hfc-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.hfc-modal[hidden] {
  display: none;
}

.hfc-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 48, 76, 0.55);
  backdrop-filter: blur(2px);
}

.hfc-modal__dialog {
  position: relative;
  background: #fff;
  border-radius: 12px;
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow: auto;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.hfc-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.9);
  color: var(--hfc-ink);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  padding: 0 0 7px;
}

.hfc-modal__close:hover {
  background: #fff;
  color: #d63638;
}

.hfc-modal__loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
}

.hfc-detail {
  position: relative;
  padding: 24px 28px 28px;
}

.hfc-modal__content .hfc-detail {
  padding: 35px;
}

/* Row 1: featured image + gallery grid */
.hfc-detail__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 22px;
}

.hfc-detail__featured {
  position: relative;
  border: 0;
  padding: 0;
  cursor: pointer;
  border-radius: 10px;
  overflow: hidden;
  background: var(--hfc-bg);
  aspect-ratio: 4 / 3;
}

/* Product shots must never be cropped in the details popup either — the box
   keeps its 4:3 footprint so the two-column layout stays put, and the image is
   letterboxed inside it. */
.hfc-detail__featured img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.hfc-detail__zoom {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(20, 48, 76, 0.7);
  color: #fff;
  font-size: 18px;
}

.hfc-detail__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 1fr;
  gap: 14px;
  align-content: start;
  max-height: 100%;
  overflow-y: auto;
}

.hfc-detail__gcell {
  border: 0;
  padding: 0;
  cursor: pointer;
  border-radius: 10px;
  overflow: hidden;
  background: var(--hfc-bg);
  aspect-ratio: 4 / 3;
}

.hfc-detail__gcell img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.2s ease;
}

.hfc-detail__gcell:hover img {
  transform: scale(1.05);
}

/* Row 2: text */
.hfc-detail__type {
  display: inline-block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--hfc-muted);
  margin-bottom: 4px;
  display: none;
}

.hfc-detail__title {
  margin: 0 0 6px;
  color: var(--hfc-navy);
  font-size: 26px;
}

.hfc-detail__address {
  margin: 0 0 14px;
  color: var(--hfc-muted);
  font-size: 15px;
}

.hfc-detail__price {
  font-size: 20px;
  font-weight: 700;
  color: var(--hfc-ink);
  margin-bottom: 14px;
}

.hfc-detail__heading {
  margin: 6px 0 8px;
  font-size: 16px;
  color: var(--hfc-navy);
}

.hfc-detail__content {
  color: var(--hfc-ink);
  line-height: 1.6;
}

/* Full-screen lightbox slider */
.hfc-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100001;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 16, 26, 0.94);
  padding: 3vw 6vw;
}

.hfc-lightbox__stage {
  margin: 0;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hfc-lightbox__img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 10px 60px rgba(0, 0, 0, 0.6);
}

.hfc-lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  color: var(--hfc-ink);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  padding: 0 0 8px;
}

.hfc-lightbox__close:hover {
  color: #d63638;
}

.hfc-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 4px;
}

.hfc-lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.3);
}

.hfc-lightbox__prev {
  left: 3vw;
}

.hfc-lightbox__next {
  right: 3vw;
}

.hfc-lightbox__counter {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.04em;
  background: rgba(0, 0, 0, 0.4);
  padding: 4px 14px;
  border-radius: 20px;
}

.hfc-location-search {
  padding-top: 40px;
}

.hfc-location-search .hfc-ls-searchbar {
  margin: 15px 0 22px;
}

.hfc-location-search .hfc-ls-help .hfc-ls-call {
  margin: 18px 0 0;
}

.hfc-location-search .hfc-ls-count {
  font-weight: bold;
}

.hfc-ls-searchbar .hfc-ls-search {
  padding: 0 26px 0 44px;
}

.hfc-ls-results .hfc-ls-card__desc {
  font-size: 15px;
}

.hfc-ls-results .hfc-ls-card__address {
  font-weight: bold;
}

/* .hfc-gallery__inner .hfc-gal__nav .hfc-gal__arrow {
  font-size: 36px;
  border: none;
  padding: 0 0 6px;
} */

.elementor-element.elementor-element-97fe0ed {
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-bottom: 0 !important;
}

.hfc-step--step5 .hfc-step__nav .hfc-btn--ghost {
  display: none;
}

@media (max-width: 1199px) {
  .hfc-step--step1 .hfc-card__body {
    left: 20px;
    right: 20px;
  }
}

@media (max-width: 1024px) {
  .hfc-step--step1 .hfc-card__title {
    font-size: 30px;
    line-height: 1.1;
  }
  .hfc-step--step1 .hfc-card__price {
    font-size: 20px;
  }

  .hfc-step--step1 .hfc-card__body {
    bottom: 30px;
  }

  .hfc-step--step1 .hfc-btn--select,
  .hfc-step--step3 .hfc-btn--select,
  .hfc-step--step4 .hfc-btn--select {
    font-size: 18px;
  }

  .hfc-step__title,
  .hfc-quote-box__title {
    font-size: 36px;
  }

  .hfc-summary {
    gap: 40px;
    grid-template-columns: 1fr 420px;
  }

  .hfc-services-band .hfc-services {
    padding: 45px 22px !important;
  }
}

@media (max-width: 900px) {
  .hfc-summary {
    grid-template-columns: 1fr;
  }
  .hfc-step__title {
    font-size: 28px;
  }
  /* Stack the two-column layout on smaller screens: map above results. */
  .hfc-step--crematorium:has(.hfc-crematorium__map) {
    display: block;
  }
  .hfc-step--crematorium:has(.hfc-crematorium__map) .hfc-crematorium__layout {
    display: flex;
    flex-direction: column;
  }
  .hfc-step--crematorium:has(.hfc-crematorium__map) .hfc-crematorium__map {
    position: static;
    order: -1;
  }
  .hfc-map,
  .hfc-step--crematorium:has(.hfc-crematorium__map) .hfc-map {
    height: 320px;
    min-height: 0;
  }
  .hfc-detail__images {
    grid-template-columns: 1fr;
  }
  .hfc-detail__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .hfc-crematorium__map {
    padding: 50px 0 0;
  }
  .hfc-step--step2 .hfc-crematorium__results {
    margin: 50px 0 0;
  }

  .hfc-step--step3 .hfc-cards {
    margin: 45px 0 0;
    grid-template-columns: auto auto;
  }

  .hfc-step--step4 .hfc-cards {
    grid-template-columns: auto auto;
  }

  .hfc-info-boxes {
    grid-template-columns: auto auto;
  }

  .hfc-quote-box__title {
    font-size: 26px;
  }

  .hfc-services-band .hfc-services .hfc-services__title {
    font-size: 28px;
  }

  .hfc-services-band .hfc-services {
    padding: 45px 11px;
  }
}

@media (max-width: 820px) {
  .hfc-step--step1 .hfc-card__media {
    min-height: 520px;
  }

  .hfc-reviews__rating {
    font-size: 36px;
  }
}

@media (max-width: 699px) {
  .hfc-lightbox__nav {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }
  .hfc-lightbox__prev {
    left: 2vw;
  }
  .hfc-lightbox__next {
    right: 2vw;
  }

  .hfc-step--step1 .hfc-cards {
    grid-template-columns: auto;
  }
  .hfc-step--step1 .hfc-card__media {
    min-height: 450px;
  }
  .hfc-progress__item::before {
    height: 6px;
  }

  .hfc-step--step1 .hfc-card__desc {
    font-size: 16px;
  }

  .hfc-progress__node .hfc-progress__img {
    height: 20px;
  }

  .hfc-progress__node {
    border: 2px solid #dae3ea;
  }

  .hfc-progress__label {
    display: none;
  }
  .hfc-progress__node {
    width: 45px;
    height: 45px;
  }
  .hfc-progress__item::before {
    top: 19px;
  }
  .hfc-summary-item {
    grid-template-columns: 115px 1fr;
  }
  .hfc-form {
    padding: 20px;
  }
  /* .hfc-crematorium__controls {
    flex-direction: column;
  } */

  .hfc-step--step2 .hfc-crem-typing {
    margin: -82px 70px 0 auto;
  }

  .hfc-field--radius select,
  .hfc-crem-go {
    width: 100%;
  }

  .hfc-step__nav .hfc-btn,
  .hfc-crem-card__actions .hfc-btn {
    padding: 13px 30px;
  }

  .hfc-step--step2 .hfc-field--radius select {
    min-height: 60px;
    padding: 12px 14px 12px 20px;
  }
  .hfc-step--step2 .hfc-field--location input {
    min-height: 60px;
    padding: 12px 14px 12px 20px;
  }

  .hfc-step--step4 .hfc-card {
    padding: 11px;
  }

  .hfc-services-band .hfc-services .hfc-service {
    min-height: 180px;
    padding: 35px 21px;
  }
}

body.hfc-modal-open {
  overflow: hidden;
}

/* ---------- Responsive ---------- */

@media (min-width: 1400px) {
  .hfc-progress-wrap {
    padding: 0 11px;
  }

  .hfc-progress-wrap .hfc-progress {
    overflow: hidden;
  }

  .hfc-progress-wrap .hfc-progress__item {
    text-align: left;
    min-width: 328px;
  }

  .hfc-progress-wrap .hfc-progress__item::before {
    left: -82%;
  }
}

@media (max-width: 480px) {
  .hfc-detail__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hfc-step--step3 .hfc-cards {
    margin: 45px 0 0;
    grid-template-columns: auto;
  }

  .hfc-step--step3 .hfc-card {
    padding: 10px 25px 29px;
  }

  .hfc-step--step4 .hfc-cards {
    grid-template-columns: auto;
  }

  .hfc-summary-item {
    grid-template-columns: auto;
  }

  .hfc-summary-item__media {
    aspect-ratio: 4/3;
  }

  .hfc-info-boxes {
    grid-template-columns: auto;
  }

  .hfc-step--step5 .hfc-summary-item__body {
    padding: 5px 0 6px;
  }

  .hfc-quote-box__table td {
    font-size: 18px;
  }
  .hfc-reviews__rating {
    font-size: 30px;
  }

  .hfc-reviews__count {
    font-size: 18px;
  }
  .hfc-reviews__logo {
    width: 52px;
    height: 52px;
  }

  .hfc-reviews__stars {
    font-size: 25px;
  }
.hfc-step__nav {
	margin-top: 0px;
	flex-wrap: wrap;
}
}
