/* Contact & Support guided flow — scoped to #hhd-contact-flow */

/* Remove Blocksy's top content padding on the contact-support page */
body.page-id-61317 .ct-container-full[data-vertical-spacing*="top"] {
	padding-top: 0;
}

/* Break the help section hero out to full viewport width.
   The article is 90vw centered, so margin-left: calc(50% - 50vw) = calc(45vw - 50vw) = -5vw,
   which exactly cancels the 5vw left offset and aligns the hero to the viewport edge. */
body.page-id-61317 .entry-content .hd-section-hero {
	width: 100vw;
	max-width: 100vw !important;
	margin-left: calc(50% - 50vw) !important;
	margin-right: 0 !important;
	margin-top: 0;
	margin-bottom: 0;
}

#hhd-contact-flow {
	max-width: 760px;
	margin: 0 auto;
	padding: 36px 0 60px;
	font-size: 1rem;
}

/* ── Hours card ───────────────────────────────────────────────────────────── */

.hhd-cf-hours {
	display: flex;
	gap: 24px;
	align-items: flex-start;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 20px 24px;
	margin-bottom: 28px;
}

.hhd-cf-hours-status {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	min-width: 170px;
	flex-shrink: 0;
}

.hhd-cf-hours-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	flex-shrink: 0;
	margin-top: 5px;
}

.hhd-cf-hours-open .hhd-cf-hours-dot {
	background: #16a34a;
	box-shadow: 0 0 0 3px rgba(22, 163, 74, .2);
}

.hhd-cf-hours-closed .hhd-cf-hours-dot {
	background: #dc2626;
	box-shadow: 0 0 0 3px rgba(220, 38, 38, .2);
}

.hhd-cf-hours-status-text strong {
	display: block;
	font-size: .9375rem;
	font-weight: 700;
	color: #111827;
	margin-bottom: 2px;
}

.hhd-cf-hours-status-text span {
	font-size: .8125rem;
	color: #6b7280;
	line-height: 1.4;
}

.hhd-cf-hours-list {
	flex: 1;
	list-style: none;
	margin: 0;
	padding: 0;
	border-left: 1px solid #e2e8f0;
	padding-left: 24px;
}

.hhd-cf-hours-list li {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 5px 0;
	font-size: .875rem;
	border-bottom: 1px solid #f1f5f9;
}

.hhd-cf-hours-list li:last-child {
	border-bottom: none;
}

.hhd-cf-hours-list li span:first-child {
	color: #6b7280;
}

.hhd-cf-hours-list li span:last-child {
	font-weight: 600;
	color: #111827;
}

@media (max-width: 520px) {
	.hhd-cf-hours {
		flex-direction: column;
		gap: 16px;
	}

	.hhd-cf-hours-list {
		border-left: none;
		padding-left: 0;
		border-top: 1px solid #e2e8f0;
		padding-top: 14px;
		width: 100%;
	}
}

/* ── Hero breadcrumb trail (JS-updated) ───────────────────────────────────── */

#hhd-hero-bc-trail span[aria-hidden] {
	margin-inline: 4px;
}

#hhd-hero-bc-trail span:not([aria-hidden]) {
	color: rgba(255, 255, 255, .65);
}

#hhd-hero-bc-trail span:last-of-type:not([aria-hidden]) {
	color: #fff;
	font-weight: 500;
}

/* ── Step ─────────────────────────────────────────────────────────────────── */

.hhd-cf-step {
	animation: hhd-cf-fade-in .18s ease-out;
}

.hhd-cf-step[hidden],
.hhd-cf-success[hidden],
#hhd-cf-store-details-wrap[hidden],
#hhd-cf-store-email-toggle[hidden],
#hhd-cf-instore-note[hidden],
#hhd-cf-return-fields[hidden],
.hhd-cf-store-card[hidden] {
	display: none !important;
}

@keyframes hhd-cf-fade-in {
	from { opacity: 0; transform: translateY(6px); }
	to   { opacity: 1; transform: translateY(0); }
}

.hhd-cf-step-title {
	font-size: 1.625rem;
	font-weight: 700;
	margin: 0 0 10px;
	color: #0e1a22;
	line-height: 1.25;
}

.hhd-cf-step-intro {
	color: #4b5563;
	margin: 0 0 24px;
	font-size: 1rem;
}

/* ── Back button ──────────────────────────────────────────────────────────── */

.hhd-cf-back {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	border: none;
	background: none;
	color: #6b7280;
	font-size: .875rem;
	cursor: pointer;
	padding: 0;
	margin-bottom: 20px;
	text-decoration: underline;
	text-underline-offset: 2px;
	font-family: inherit;
}

.hhd-cf-back:hover {
	color: #0e1a22;
}

/* ── Option buttons grid ──────────────────────────────────────────────────── */

.hhd-cf-options {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 12px;
}

.hhd-cf-option {
	width: 100%;
	padding: 16px 18px;
	background: #fff;
	border: 2px solid #e5e7eb;
	border-radius: 10px;
	font-size: .9375rem;
	font-weight: 500;
	color: #111827;
	cursor: pointer;
	text-align: left;
	transition: border-color .15s, background .15s, color .15s;
	font-family: inherit;
	line-height: 1.4;
	min-height: 56px;
}

.hhd-cf-option:hover,
.hhd-cf-option:focus-visible {
	border-color: var(--theme-palette-color-1, #2e6de0);
	background: #f0f5ff;
	color: var(--theme-palette-color-1, #2e6de0);
	outline: none;
}

/* Single-column list mode (sub-menus) */
.hhd-cf-options--list {
	grid-template-columns: 1fr;
}

.hhd-cf-options--list .hhd-cf-option {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 20px;
	min-height: 64px;
	text-align: left;
}

.hhd-cf-option-icon {
	font-size: 1.375rem;
	line-height: 1;
	flex-shrink: 0;
	width: 32px;
	text-align: center;
}

.hhd-cf-option-label {
	flex: 1;
}

.hhd-cf-option-arrow {
	flex-shrink: 0;
	color: #9ca3af;
	transition: color .15s;
}

.hhd-cf-option:hover .hhd-cf-option-arrow,
.hhd-cf-option:focus-visible .hhd-cf-option-arrow {
	color: var(--theme-palette-color-1, #2e6de0);
}

/* ── Info box ─────────────────────────────────────────────────────────────── */

.hhd-cf-info-box {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-left: 4px solid var(--theme-palette-color-1, #2e6de0);
	border-radius: 6px;
	padding: 16px 20px;
	margin: 0 0 20px;
}

.hhd-cf-info-box h3 {
	font-size: 1rem;
	margin: 0 0 10px;
	color: #0e1a22;
}

.hhd-cf-info-box ul {
	margin: 0;
	padding: 0 0 0 18px;
}

.hhd-cf-info-box li {
	margin-bottom: 8px;
	color: #374151;
	font-size: .9375rem;
	line-height: 1.5;
}

.hhd-cf-info-box li:last-child {
	margin-bottom: 0;
}

.hhd-cf-info-note {
	background: #fffbeb;
	border: 1px solid #fde68a;
	border-radius: 6px;
	padding: 12px 16px;
	margin: 0 0 20px;
	font-size: .9375rem;
	color: #78350f;
	line-height: 1.5;
}

/* ── Delivery cards ───────────────────────────────────────────────────────── */

.hhd-cf-delivery-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
	margin: 0 0 20px;
}

.hhd-cf-delivery-card--wide {
	grid-column: 1 / -1;
}

.hhd-cf-delivery-card {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 16px;
}

.hhd-cf-delivery-card h3 {
	font-size: .9375rem;
	margin: 0 0 4px;
	color: #0e1a22;
}

.hhd-cf-price {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--theme-palette-color-1, #2e6de0);
	margin: 0 0 8px !important;
}

.hhd-cf-delivery-card p {
	font-size: .875rem;
	color: #4b5563;
	margin: 0 0 6px;
	line-height: 1.4;
}

.hhd-cf-delivery-note {
	font-size: .8125rem !important;
	color: #9ca3af !important;
}

/* ── Buttons ──────────────────────────────────────────────────────────────── */

.hhd-cf-btn-primary {
	display: inline-block;
	padding: 13px 24px;
	background: var(--theme-palette-color-1, #2e6de0);
	color: #fff;
	border: none;
	border-radius: 8px;
	font-size: .9375rem;
	font-weight: 600;
	cursor: pointer;
	font-family: inherit;
	text-decoration: none;
	transition: background .15s, transform .1s;
	margin-top: 8px;
}

.hhd-cf-btn-primary:hover {
	background: var(--theme-palette-color-2, #1a56c0);
	transform: translateY(-1px);
}

.hhd-cf-btn-secondary {
	display: inline-block;
	padding: 11px 22px;
	background: #fff;
	color: var(--theme-palette-color-1, #2e6de0);
	border: 2px solid var(--theme-palette-color-1, #2e6de0);
	border-radius: 8px;
	font-size: .9375rem;
	font-weight: 600;
	cursor: pointer;
	font-family: inherit;
	transition: background .15s, color .15s;
	margin-top: 8px;
}

.hhd-cf-btn-secondary:hover {
	background: #f0f5ff;
}

.hhd-cf-text-link {
	color: var(--theme-palette-color-1, #2e6de0);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.hhd-cf-still-help {
	font-size: 1rem;
	font-weight: 600;
	margin: 24px 0 6px;
	color: #0e1a22;
}

/* ── Store cards ──────────────────────────────────────────────────────────── */

.hhd-cf-store-card {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 20px;
	margin: 16px 0 0;
}

.hhd-cf-store-card h3 {
	font-size: 1.125rem;
	margin: 0 0 12px;
	color: #0e1a22;
}

.hhd-cf-store-address {
	font-size: .9375rem;
	color: #374151;
	margin: 0 0 10px;
}

.hhd-cf-store-phone,
.hhd-cf-store-email {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: .9375rem;
	color: #374151;
	margin: 0 0 8px;
}

.hhd-cf-store-phone a,
.hhd-cf-store-email a {
	color: var(--theme-palette-color-1, #2e6de0);
}

.hhd-cf-or-divider {
	color: #6b7280;
	font-size: .9375rem;
	margin: 24px 0 8px;
}

/* ── Forms ────────────────────────────────────────────────────────────────── */

.hhd-cf-form {
	margin-top: 20px;
}

.hhd-cf-required-note {
	font-size: .8125rem;
	color: #6b7280;
	margin: 0 0 20px;
}

.hhd-cf-required-note span {
	color: #dc2626;
}

.hhd-cf-field {
	margin-bottom: 18px;
}

.hhd-cf-field label {
	display: block;
	font-weight: 600;
	font-size: .9375rem;
	margin-bottom: 6px;
	color: #111827;
}

.hhd-cf-field label span {
	color: #dc2626;
	font-weight: 400;
}

.hhd-cf-field input[type="text"],
.hhd-cf-field input[type="email"],
.hhd-cf-field input[type="url"],
.hhd-cf-field input[type="date"],
.hhd-cf-field select,
.hhd-cf-field textarea {
	width: 100%;
	padding: 10px 14px;
	border: 1.5px solid #d1d5db;
	border-radius: 8px;
	font-size: .9375rem;
	font-family: inherit;
	color: #111827;
	background: #fff;
	transition: border-color .15s, box-shadow .15s;
	box-sizing: border-box;
	-webkit-appearance: none;
	appearance: none;
}

.hhd-cf-field select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	padding-right: 36px;
}

.hhd-cf-field input:focus,
.hhd-cf-field select:focus,
.hhd-cf-field textarea:focus {
	outline: none;
	border-color: var(--theme-palette-color-1, #2e6de0);
	box-shadow: 0 0 0 3px rgba(46, 109, 224, .15);
}

.hhd-cf-field textarea {
	resize: vertical;
	min-height: 100px;
}

/* Radio group */
.hhd-cf-field--radio fieldset {
	border: none;
	margin: 0;
	padding: 0;
}

.hhd-cf-field--radio legend {
	font-weight: 600;
	font-size: .9375rem;
	color: #111827;
	margin-bottom: 10px;
	padding: 0;
}

.hhd-cf-field--radio legend span {
	color: #dc2626;
	font-weight: 400;
}

.hhd-cf-radio-label {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	border: 1.5px solid #d1d5db;
	border-radius: 8px;
	cursor: pointer;
	font-size: .9375rem;
	color: #111827;
	margin-bottom: 8px;
	transition: border-color .12s, background .12s;
	font-weight: 400;
}

.hhd-cf-radio-label:hover {
	border-color: var(--theme-palette-color-1, #2e6de0);
	background: #f8fafc;
}

.hhd-cf-radio-label input[type="radio"] {
	accent-color: var(--theme-palette-color-1, #2e6de0);
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

/* Checkbox group */
.hhd-cf-field--checkbox fieldset {
	border: none;
	margin: 0;
	padding: 0;
}

.hhd-cf-field--checkbox legend {
	font-weight: 600;
	font-size: .9375rem;
	color: #111827;
	margin-bottom: 10px;
	padding: 0;
}

.hhd-cf-field--checkbox legend span {
	color: #dc2626;
	font-weight: 400;
}

.hhd-cf-check-label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: .9375rem;
	color: #374151;
	margin-bottom: 10px;
	cursor: pointer;
	font-weight: 400;
}

.hhd-cf-check-label input[type="checkbox"] {
	accent-color: var(--theme-palette-color-1, #2e6de0);
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	margin-top: 1px;
}

/* File input */
.hhd-cf-field--file label {
	margin-bottom: 4px;
}

.hhd-cf-field-hint {
	display: block;
	font-size: .8125rem;
	color: #6b7280;
	margin: 0 0 6px;
	font-weight: 400;
}

.hhd-cf-field--file input[type="file"] {
	display: block;
	width: 100%;
	padding: 8px 12px;
	border: 1.5px dashed #d1d5db;
	border-radius: 8px;
	font-size: .875rem;
	color: #374151;
	cursor: pointer;
	background: #fafafa;
	box-sizing: border-box;
}

.hhd-cf-field--file input[type="file"]:hover {
	border-color: var(--theme-palette-color-1, #2e6de0);
	background: #f0f5ff;
}

/* Honeypot — must be visually hidden */
.hhd-cf-hp {
	position: absolute !important;
	left: -9999px !important;
	top: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

/* Form footer */
.hhd-cf-form-footer {
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid #e5e7eb;
}

.hhd-cf-submit-btn {
	padding: 13px 28px;
	background: var(--theme-palette-color-1, #2e6de0);
	color: #fff;
	border: none;
	border-radius: 8px;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	font-family: inherit;
	transition: background .15s, transform .1s;
}

.hhd-cf-submit-btn:hover:not(:disabled) {
	background: var(--theme-palette-color-2, #1a56c0);
	transform: translateY(-1px);
}

.hhd-cf-submit-btn:disabled {
	opacity: .65;
	cursor: not-allowed;
}

.hhd-cf-submit-btn.hhd-cf-loading {
	position: relative;
	color: transparent;
}

.hhd-cf-submit-btn.hhd-cf-loading::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 18px;
	height: 18px;
	border: 2.5px solid rgba(255,255,255,.4);
	border-top-color: #fff;
	border-radius: 50%;
	animation: hhd-cf-spin .7s linear infinite;
}

@keyframes hhd-cf-spin {
	to { transform: translate(-50%, -50%) rotate(360deg); }
}

.hhd-cf-response-note {
	margin: 12px 0 0;
	font-size: .8125rem;
	color: #6b7280;
	line-height: 1.5;
}

/* Form messages */
.hhd-cf-form-msg {
	margin-top: 14px;
	padding: 12px 16px;
	border-radius: 8px;
	font-size: .9375rem;
	display: none;
}

.hhd-cf-form-msg.hhd-cf-msg-error {
	display: block;
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
}

.hhd-cf-form-msg.hhd-cf-msg-success {
	display: block;
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	color: #15803d;
}

/* ── Success state ────────────────────────────────────────────────────────── */

.hhd-cf-success {
	text-align: center;
	padding: 48px 24px;
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	border-radius: 10px;
	animation: hhd-cf-fade-in .25s ease-out;
}

.hhd-cf-success-icon {
	width: 72px;
	height: 72px;
	background: #f0fdf4;
	border: 3px solid #86efac;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2rem;
	color: #16a34a;
	margin: 0 auto 24px;
	line-height: 1;
}

.hhd-cf-success h2 {
	font-size: 1.5rem;
	color: #0e1a22;
	margin: 0 0 12px;
}

.hhd-cf-success p {
	color: #4b5563;
	max-width: 480px;
	margin: 0 auto 12px;
}

/* ── Responsive ───────────────────────────────────────────────────────────── */

@media (max-width: 600px) {
	.hhd-cf-options {
		grid-template-columns: 1fr;
	}

	.hhd-cf-delivery-cards {
		grid-template-columns: 1fr;
	}

	.hhd-cf-delivery-card--wide {
		grid-column: 1;
	}

	.hhd-cf-step-title {
		font-size: 1.375rem;
	}

	#hhd-contact-flow {
		padding-bottom: 40px;
	}
}
