.hhq-basket-button-wrap--vb .hhq-basket-button__count,
.hhq-basket-button-wrap .hhq-basket-button__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.8em;
  height: 1.8em;
  margin-left: .6em;
  padding: 0 .55em;
  border-radius: 999px;
  background: rgba(0,0,0,.18);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  vertical-align: middle;
}

.hhq-basket-button-wrap--vb .hhq-basket-button__meta {
  margin-top: 8px;
  font-size: 12px;
  opacity: .65;
}

.hhq-basket-button-wrap .hhq-basket-button,
.hhq-basket-button-wrap--vb .hhq-basket-button {
  display: inline-flex;
  align-items: center;
}

.hhq-basket-icon-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	position: relative;
}

.hhq-basket-icon-wrap {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: relative;
	line-height: 1;
}

.hhq-basket-icon-image {
	display: block;
	width: var(--hhq-basket-icon-size, 32px);
	max-width: none;
	height: auto;
	flex: 0 0 auto;
}

.hhq-basket-icon-wrap {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: relative;
	line-height: 1;
	min-width: var(--hhq-basket-icon-size, 32px);
	min-height: var(--hhq-basket-icon-size, 32px);
}

.hhq-basket-icon-fallback {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
	line-height: 1;
}

.hhq-basket-icon-count {
	position: absolute;
	top: -8px;
	right: -8px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	padding: 0 6px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	background: #111111;
	color: #ffffff;
}

.hhq-divi-form-preview {
	padding: 28px;
	border-radius: 24px;
	background: linear-gradient(135deg, #f7f8fc 0%, #eef2ff 45%, #f7fbff 100%);
	border: 1px solid rgba(17,24,39,0.08);
	box-shadow: 0 20px 55px rgba(15, 23, 42, 0.08);
}

.hhq-divi-form-preview__kicker {
	display: inline-flex;
	padding: 7px 12px;
	border-radius: 999px;
	background: rgba(17,24,39,0.06);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.hhq-divi-form-preview__title {
	margin: 12px 0 8px;
	font-size: 28px;
	line-height: 1.1;
}

.hhq-divi-form-preview__copy {
	margin: 0;
	opacity: .72;
}

.hhq-divi-form-preview__body {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(240px, .9fr);
	gap: 18px;
	margin-top: 22px;
}

.hhq-divi-form-preview__main,
.hhq-divi-form-preview__sidebar {
	padding: 22px;
	border-radius: 20px;
	background: rgba(255,255,255,0.84);
	border: 1px solid rgba(255,255,255,0.72);
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.hhq-divi-form-preview__progress {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	margin-bottom: 18px;
}

.hhq-divi-form-preview__progress span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	border-radius: 999px;
	background: rgba(17,24,39,0.06);
	font-weight: 700;
}

.hhq-divi-form-preview__progress .is-active {
	background: #111827;
	color: #fff;
}

.hhq-divi-form-preview__field {
	height: 52px;
	border-radius: 16px;
	background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
	border: 1px solid rgba(15,23,42,0.08);
	margin-top: 14px;
}

.hhq-divi-form-preview__field.is-wide {
	height: 96px;
}

.hhq-divi-form-preview__actions {
	margin-top: 18px;
}

.hhq-divi-form-preview__button {
	display: inline-flex;
	padding: 14px 18px;
	border-radius: 999px;
	background: #111827;
	color: #fff;
	font-weight: 700;
}

.hhq-divi-form-preview__sidebar h5,
.hhq-divi-form-preview__main h4 {
	margin: 0 0 12px;
}

.hhq-divi-form-preview__line {
	height: 58px;
	border-radius: 16px;
	background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
	border: 1px solid rgba(15,23,42,0.08);
	margin-top: 12px;
}

.hhq-divi-form-preview__line.short {
	height: 40px;
}

@media (max-width: 767px) {
	.hhq-divi-form-preview__body {
		grid-template-columns: 1fr;
	}
}

.hhq-basket-preview .hhq-preview-thumb {
	width: 64px;
	height: 64px;
	border-radius: 10px;
	background: #eef1f5;
	flex: 0 0 64px;
}

.hhq-basket-preview .hhq-product-summary {
	display: flex;
	align-items: center;
	gap: 16px;
}

.hhq-basket-preview .hhq-basket-actions {
	display: flex;
	gap: 12px;
	margin-top: 20px;
	flex-wrap: wrap;
}
.hhq-basket-preview { overflow: hidden; }


.et-fb .hhq-basket-actions .hhq-basket-button,
.hhq-basket-preview .hhq-basket-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: var(--hhq-basket-button-min-width, 220px);
	padding: var(--hhq-basket-button-padding, 12px 18px);
	background-image: none !important;
	box-shadow: none !important;
	border-radius: 0 !important;
	text-decoration: none;
}

.et-fb .hhq-basket-actions .hhq-basket-button:after,
.hhq-basket-preview .hhq-basket-button:after {
	display: none !important;
}

/* HHQ Quote Form builder preview alignment */
.hhq-divi-form-preview-shell .hhq-preview-thumb {
	background: #edf1f6;
	display: block;
}

.et-fb .hhq-divi-form-preview-shell .hhq-step-actions .hhq-button,
.et-fb .hhq-divi-form-preview-shell .hhq-success-actions .hhq-button {
	box-shadow: none !important;
	text-decoration: none;
}

@media (max-width: 767px) {
	.et-fb .hhq-divi-form-preview-shell .hhq-progress-card {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}


/* HHQ Quote Form builder preview now mirrors frontend selectors */
.hhq-divi-form-preview-shell {
  padding: 28px;
  border-radius: 24px;
  background: linear-gradient(135deg, #f7f8fc 0%, #eef2ff 45%, #f7fbff 100%);
  border: 1px solid rgba(17,24,39,0.08);
  box-shadow: 0 20px 55px rgba(15, 23, 42, 0.08);
}
.hhq-divi-form-preview-shell .hhq-form-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr);
  gap: 18px;
  align-items: start;
  margin-bottom: 22px;
}
.hhq-divi-form-preview-shell .hhq-form-kicker {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(17,24,39,0.06);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hhq-divi-form-preview-shell .hhq-form-title { margin: 12px 0 8px; line-height: 1.1; }
.hhq-divi-form-preview-shell .hhq-form-intro { margin: 0; opacity: .72; }
.hhq-divi-form-preview-shell .hhq-progress-card,
.hhq-divi-form-preview-shell .hhq-step-main,
.hhq-divi-form-preview-shell .hhq-summary-card {
  padding: 22px;
  border-radius: 20px;
  background: rgba(255,255,255,0.84);
  border: 1px solid rgba(255,255,255,0.72);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}
.hhq-divi-form-preview-shell .hhq-progress-card {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.hhq-divi-form-preview-shell .hhq-progress-item { text-align: center; }
.hhq-divi-form-preview-shell .hhq-progress-dot {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 999px; background: rgba(17,24,39,0.06); font-weight: 700;
}
.hhq-divi-form-preview-shell .hhq-progress-item.is-active .hhq-progress-dot { background: #111827; color: #fff; }
.hhq-divi-form-preview-shell .hhq-progress-label { display: block; margin-top: 8px; font-size: 12px; }
.hhq-divi-form-preview-shell .hhq-multistep-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, .9fr);
  gap: 18px;
}
.hhq-divi-form-preview-shell .hhq-step-badge {
  display: inline-flex; padding: 6px 10px; border-radius: 999px; background: rgba(17,24,39,0.06); font-size: 12px; font-weight: 700;
}
.hhq-divi-form-preview-shell .hhq-step-title { margin: 14px 0 8px; }
.hhq-divi-form-preview-shell .hhq-step-intro { margin: 0 0 18px; opacity: .72; }
.hhq-divi-form-preview-shell .hhq-field { margin-bottom: 14px; }
.hhq-divi-form-preview-shell .hhq-field label,
.hhq-divi-form-preview-shell .hhq-checkbox span { display: block; margin-bottom: 8px; }
.hhq-divi-form-preview-shell .hhq-field input {
  width: 100%; height: 52px; border-radius: 16px; background: linear-gradient(180deg, #fff 0%, #f8fafc 100%); border: 1px solid rgba(15,23,42,0.08);
}
.hhq-divi-form-preview-shell .hhq-check-list { display: grid; gap: 12px; margin-top: 10px; }
.hhq-divi-form-preview-shell .hhq-checkbox { display: flex; gap: 10px; align-items: flex-start; }
.hhq-divi-form-preview-shell .hhq-checkbox input { margin-top: 4px; }
.hhq-divi-form-preview-shell .hhq-step-actions,
.hhq-divi-form-preview-shell .hhq-summary-footer { display: flex; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.hhq-divi-form-preview-shell .hhq-step-actions .hhq-button,
.hhq-divi-form-preview-shell .hhq-summary-footer .hhq-button {
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none;
}
.hhq-divi-form-preview-shell .hhq-summary-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.hhq-divi-form-preview-shell .hhq-summary-item { display: grid; grid-template-columns: 56px minmax(0,1fr) auto; gap: 12px; align-items: center; }
.hhq-divi-form-preview-shell .hhq-summary-thumb { width: 56px; height: 56px; }
.hhq-divi-form-preview-shell .hhq-summary-content strong { display: block; }
.hhq-divi-form-preview-shell .hhq-summary-content span { display: block; margin-top: 4px; opacity: .72; }
.hhq-divi-form-preview-shell .hhq-summary-total-row { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(15,23,42,0.08); }
@media (max-width: 980px) {
  .hhq-divi-form-preview-shell .hhq-form-hero,
  .hhq-divi-form-preview-shell .hhq-multistep-grid { grid-template-columns: 1fr; }
}


/* HHQ layout refinement: hero full width, progress beneath, stronger responsive behaviour */
.hhq-form-hero {
	display: block;
	margin-bottom: 18px;
}

.hhq-form-hero__content {
	max-width: 860px;
}

.hhq-form-progress-row {
	margin: 0 0 28px;
}

.hhq-form-progress-row .hhq-progress-card {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	width: 100%;
}

.hhq-progress-item {
	min-width: 0;
}

.hhq-progress-item .hhq-progress-label {
	display: block;
	word-break: break-word;
	overflow-wrap: anywhere;
}

.hhq-multistep-grid {
	grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
	align-items: start;
}

.hhq-step-main,
.hhq-summary-card,
.hhq-progress-card,
.hhq-success-card,
.hhq-basket-shell,
.hhq-basket-preview,
.hhq-basket-form,
.hhq-basket-table {
	max-width: 100%;
	box-sizing: border-box;
}

.hhq-step-sidebar {
	position: sticky;
	top: 24px;
}

.hhq-basket-table {
	table-layout: fixed;
}

.hhq-basket-table th,
.hhq-basket-table td {
	word-break: break-word;
}

.hhq-product-card,
.hhq-product-summary,
.hhq-summary-content,
.hhq-product-main {
	min-width: 0;
}

.hhq-step-actions,
.hhq-basket-actions,
.hhq-success-actions {
	gap: 14px;
	flex-wrap: wrap;
}

.hhq-step-actions .hhq-button,
.hhq-basket-actions .hhq-basket-button,
.hhq-success-actions .hhq-button {
	max-width: 100%;
}

@media (max-width: 980px) {
	.hhq-form-progress-row .hhq-progress-card,
	.hhq-multistep-grid {
		grid-template-columns: 1fr;
	}

	.hhq-step-sidebar {
		position: static;
		top: auto;
	}

	.hhq-basket-table {
		table-layout: auto;
	}
}

@media (max-width: 767px) {
	.hhq-form-hero {
		margin-bottom: 14px;
	}

	.hhq-form-progress-row {
		margin-bottom: 20px;
	}

	.hhq-form-progress-row .hhq-progress-card {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hhq-step-main,
	.hhq-summary-card,
	.hhq-progress-card,
	.hhq-success-card,
	.hhq-basket-shell,
	.hhq-basket-preview {
		padding: 18px;
		border-radius: 14px;
	}

	.hhq-step-form .hhq-field-grid,
	.hhq-basket-actions,
	.hhq-step-actions,
	.hhq-success-actions {
		grid-template-columns: 1fr;
	}

	.hhq-step-actions,
	.hhq-basket-actions,
	.hhq-success-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.hhq-step-actions .hhq-button,
	.hhq-basket-actions .hhq-basket-button,
	.hhq-success-actions .hhq-button,
	.hhq-basket-form button,
	.hhq-basket-form a {
		width: 100%;
		min-width: 0;
	}

	.hhq-basket-table,
	.hhq-basket-table thead,
	.hhq-basket-table tbody,
	.hhq-basket-table tfoot,
	.hhq-basket-table tr,
	.hhq-basket-table th,
	.hhq-basket-table td {
		display: block;
		width: 100%;
	}

	.hhq-basket-table thead {
		display: none;
	}

	.hhq-basket-table tr {
		padding: 14px 0;
		border-bottom: 1px solid rgba(15,23,42,0.08);
	}

	.hhq-basket-table tfoot tr:last-child,
	.hhq-basket-table tbody tr:last-child {
		border-bottom: 0;
	}

	.hhq-basket-table td,
	.hhq-basket-table th {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	.hhq-product-cell {
		margin-bottom: 10px;
	}

	.hhq-summary-item {
		grid-template-columns: 56px minmax(0, 1fr);
	}

	.hhq-summary-price {
		grid-column: 2;
		text-align: left;
	}
}

/* HHQ sleek progress indicator refinement for Divi builder */
.et-fb .hhq-form-progress-row .hhq-progress-card,
.et-fb .hhq-progress-card,
.hhq-divi-form-preview-shell .hhq-progress-card {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 18px;
	padding: 8px 0 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	overflow: visible;
	position: relative;
}

.et-fb .hhq-form-progress-row .hhq-progress-card::before,
.et-fb .hhq-progress-card::before,
.hhq-divi-form-preview-shell .hhq-progress-card::before {
	content: '';
	position: absolute;
	top: 18px;
	left: min(14%, 78px);
	right: min(14%, 78px);
	height: 1px;
	background: rgba(15, 23, 42, 0.12);
	z-index: 0;
}

.et-fb .hhq-progress-item,
.hhq-divi-form-preview-shell .hhq-progress-item {
	position: relative;
	z-index: 1;
	flex: 1 1 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	text-align: center;
}

.et-fb .hhq-progress-dot,
.hhq-divi-form-preview-shell .hhq-progress-dot {
	width: 36px;
	height: 36px;
	border-radius: 999px;
	border: 1px solid rgba(15, 23, 42, 0.16);
	background: #fff;
	color: #111827;
	box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.et-fb .hhq-progress-item.is-active .hhq-progress-dot,
.hhq-divi-form-preview-shell .hhq-progress-item.is-active .hhq-progress-dot {
	background: #111827;
	border-color: #111827;
	color: #fff;
	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}

.et-fb .hhq-progress-item.is-complete .hhq-progress-dot,
.hhq-divi-form-preview-shell .hhq-progress-item.is-complete .hhq-progress-dot {
	background: #22c55e;
	border-color: #22c55e;
	color: #fff;
}

.et-fb .hhq-progress-label,
.hhq-divi-form-preview-shell .hhq-progress-label {
	display: block;
	margin: 0;
	max-width: 160px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	line-height: 1.4;
	text-transform: uppercase;
	text-align: center;
	word-break: normal;
	overflow-wrap: anywhere;
	color: #667085;
}

.et-fb .hhq-progress-item.is-active .hhq-progress-label,
.hhq-divi-form-preview-shell .hhq-progress-item.is-active .hhq-progress-label {
	color: #111827;
}

@media (max-width: 767px) {
	.et-fb .hhq-form-progress-row .hhq-progress-card,
	.et-fb .hhq-progress-card,
	.hhq-divi-form-preview-shell .hhq-progress-card {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 18px 14px;
		padding-top: 0;
	}

	.et-fb .hhq-form-progress-row .hhq-progress-card::before,
	.et-fb .hhq-progress-card::before,
	.hhq-divi-form-preview-shell .hhq-progress-card::before {
		display: none;
	}

	.et-fb .hhq-progress-label,
	.hhq-divi-form-preview-shell .hhq-progress-label {
		max-width: none;
		font-size: 11px;
		letter-spacing: .06em;
	}
}
