/*
 * Heating Centre Catalogue
 * Palette taken from the Salient options: accent #bcd63d, extra colour 1
 * #99335b (header plum), body text #000, 4px button rounding. Fonts are
 * inherited from the theme (Plus Jakarta Sans).
 */
:root {
	--hc-accent: #bcd63d;
	--hc-plum: #99335b;
	--hc-plum-dark: #7a2849;
	--hc-ink: #000;
	--hc-muted: #555;
	--hc-line: #e3e3de;
	--hc-soft: #f6f6f3;
	--hc-radius: 4px;
}

/* ---------- Catalogue cards (shop, category and page carousels) ---------- */
.woocommerce ul.products li.product .product-wrap img,
.woocommerce .nectar-woo-flickity li.product .product-wrap img {
	aspect-ratio: 1 / 1;
	object-fit: contain;
	background: #fff;
}
.woocommerce ul.products li.product .hc-view-enquire {
	background: var(--hc-plum);
	color: #fff;
}
.woocommerce ul.products li.product .hc-price-label,
.hc-price-label {
	font-size: 0.95em;
	font-weight: 600;
	color: var(--hc-plum);
}

/* ---------- Single product ---------- */
.hc-catalogue-product div.product .images img {
	object-fit: contain;
	background: #fff;
}
.hc-catalogue-product div.product .summary .price {
	margin-bottom: 0.75em;
}
.hc-catalogue-product div.product .summary .price .hc-price-label {
	font-size: 1.15rem;
	line-height: 1.4;
}
.hc-brand {
	margin: 0 0 0.25em;
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--hc-muted);
}
.hc-key-specs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.5rem 1.25rem;
	margin: 1.25em 0;
	padding: 1em 1.25em;
	background: var(--hc-soft);
	border-left: 3px solid var(--hc-accent);
	border-radius: var(--hc-radius);
}
.hc-key-specs div { margin: 0; }
.hc-key-specs dt {
	margin: 0;
	font-size: 0.8rem;
	color: var(--hc-muted);
}
.hc-key-specs dd {
	margin: 0;
	padding: 0 !important; /* Salient indents dd */
	font-weight: 600;
	color: var(--hc-ink);
}

.hc-btn {
	display: inline-block;
	padding: 0.85em 1.5em;
	border-radius: var(--hc-radius);
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	border: 0;
	transition: background-color 0.2s ease;
}
.hc-btn--primary,
body .hc-btn--primary {
	background: var(--hc-plum);
	color: #fff !important;
}
body .hc-form button.hc-btn--primary,
body .hc-form button.hc-btn--primary[type="submit"] {
	background: var(--hc-plum) !important;
	color: #fff !important;
	padding: 0.9em 1.8em !important;
	border-radius: var(--hc-radius) !important;
	font-weight: 600 !important;
}
body .hc-form button.hc-btn--primary:hover { background: var(--hc-plum-dark) !important; }
.hc-btn--primary:hover,
.hc-btn--primary:focus-visible {
	background: var(--hc-plum-dark);
	color: #fff;
}
.hc-btn:focus-visible,
.hc-form input:focus-visible,
.hc-form select:focus-visible,
.hc-form textarea:focus-visible {
	outline: 3px solid var(--hc-accent);
	outline-offset: 2px;
}

.hc-cta { margin: 1.25em 0 1.5em; }
.hc-cta__contacts {
	list-style: none;
	margin: 1em 0 0;
	padding: 0;
	font-size: 0.95rem;
}
.hc-cta__contacts li,
.hc-enquiry__contacts li { margin: 0 0 0.35em; padding: 0; list-style: none !important; }
.hc-cta__contacts li::before,
.hc-enquiry__contacts li::before { content: none !important; }
.hc-cta__label { font-weight: 600; }
.hc-cta__contacts a { color: var(--hc-ink); }
.hc-cta__details { margin-left: 0.5em; font-size: 0.85rem; color: var(--hc-muted) !important; }

/* ---------- Summary column (v1.1) ---------- */
.hc-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 1.1em !important;
	padding: 10px 18px 10px 14px !important;
	background: #fff;
	border: 1px solid var(--hc-line);
	border-left: 4px solid var(--hc-accent);
	border-radius: 8px;
	font-size: 0.95rem;
	line-height: 1.3;
	color: var(--hc-ink);
}
.hc-pill--ex { border-left-color: var(--hc-plum); }
.hc-pill__dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--hc-accent);
	box-shadow: 0 0 0 4px rgba(188, 214, 61, 0.25);
}
.hc-pill--ex .hc-pill__dot { background: var(--hc-plum); box-shadow: 0 0 0 4px rgba(153, 51, 91, 0.18); }
.hc-pill__note { color: var(--hc-muted); }

.hc-catalogue-product div.product .summary .woocommerce-product-details__short-description p {
	font-size: 1.06rem;
	line-height: 1.75;
	color: #222;
}

.hc-features { margin: 1.4em 0 1.6em; }
.hc-catalogue-product .summary .hc-features__title {
	margin: 0 0 0.6em !important;
	font-size: 1.6rem !important;
	line-height: 1.2 !important;
	color: var(--hc-ink);
}
.hc-features ul { margin: 0 !important; padding: 0 !important; list-style: none !important; }
.hc-features li {
	position: relative;
	margin: 0 0 0.45em !important;
	padding: 0 0 0 1.6em !important;
	list-style: none !important;
	font-size: 1.02rem;
	line-height: 1.5;
	color: #222;
}
.hc-features li::before {
	content: '' !important;
	position: absolute;
	left: 0.25em;
	top: 0.5em;
	width: 0.55em;
	height: 0.55em;
	border-radius: 50%;
	background: var(--hc-accent);
	box-shadow: 0 0 0 2px rgba(188, 214, 61, 0.3);
}

.hc-btn--block {
	display: block;
	width: 100%;
	padding: 1.05em 1.5em;
	text-align: center;
	font-size: 1.05rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.hc-cta { margin: 1.6em 0 1.2em; }
.hc-cta .hc-cta__contacts { margin: 0.8em 0 0 !important; text-align: center; font-size: 0.95rem; color: var(--hc-muted); }
.hc-cta__sep { margin: 0 0.4em; color: #bbb; }

.hc-highlight {
	display: flex;
	align-items: center;
	gap: 18px;
	margin: 0 0 1.2em;
	padding: 20px 24px;
	background: #111;
	border: 2px solid var(--hc-accent);
	border-radius: 10px;
	color: #fff;
}
.hc-highlight__icon {
	flex-shrink: 0;
	width: 56px;
	height: 56px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--hc-accent);
	color: #111;
}
.hc-highlight p { margin: 0 !important; padding: 0 !important; }
.hc-highlight__figure { line-height: 1; }
.hc-highlight__big { font-size: 2.4rem; font-weight: 700; color: var(--hc-accent); }
.hc-highlight__unit { margin-left: 4px; font-size: 1.1rem; font-weight: 700; color: var(--hc-accent); text-transform: none; }
.hc-highlight__title { margin-top: 4px !important; font-size: 1.05rem; font-weight: 700; color: #fff; }
.hc-highlight__sub { margin-top: 2px !important; font-size: 0.9rem; color: #c9c9c9; }

.hc-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 24px;
	margin: 0 0 1.4em !important;
	padding: 16px 20px !important;
	list-style: none !important;
	background: var(--hc-soft);
	border-radius: 10px;
}
.hc-badges li {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--hc-ink);
}
.hc-badges li::before { content: none !important; }
.hc-badges__tick {
	width: 22px;
	height: 22px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--hc-accent);
	color: #111;
}

.hc-accordion { margin: 0 0 1.5em; border: 1px solid var(--hc-line); border-radius: 10px; overflow: hidden; }
.hc-accordion__item + .hc-accordion__item { border-top: 1px solid var(--hc-line); }
.hc-accordion__item summary {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 20px;
	cursor: pointer;
	list-style: none;
	font-weight: 600;
	font-size: 1.02rem;
	color: var(--hc-ink);
	background: #fff;
	transition: background-color 0.2s ease, color 0.2s ease;
}
.hc-accordion__item summary::-webkit-details-marker { display: none; }
.hc-accordion__item summary:hover { background: var(--hc-soft); }
.hc-accordion__item summary:focus-visible { outline: 3px solid var(--hc-accent); outline-offset: -3px; }
.hc-accordion__item[open] summary { background: var(--hc-plum); color: #fff; }
.hc-accordion__icon {
	position: relative;
	flex-shrink: 0;
	width: 26px;
	height: 26px;
	border-radius: 6px;
	background: var(--hc-soft);
}
.hc-accordion__item[open] .hc-accordion__icon { background: var(--hc-accent); }
.hc-accordion__icon::before,
.hc-accordion__icon::after {
	content: '';
	position: absolute;
	left: 7px;
	right: 7px;
	top: 12px;
	height: 2px;
	background: currentColor;
}
.hc-accordion__icon::after { transform: rotate(90deg); transition: transform 0.2s ease; }
.hc-accordion__item[open] .hc-accordion__icon { color: #111; }
.hc-accordion__item[open] .hc-accordion__icon::after { transform: rotate(0deg); }
.hc-accordion__body { padding: 18px 22px 20px; background: #fafaf8; }
.hc-accordion__body p { margin: 0 0 0.8em !important; line-height: 1.7; color: #333; }
.hc-accordion__body p:last-child { margin-bottom: 0 !important; }

/* Specifications tab */
.hc-spec-table {
	width: 100%;
	max-width: 760px;
	border-collapse: collapse;
	margin: 0 0 1em;
}
.hc-spec-table th,
.hc-spec-table td {
	padding: 0.65em 0.9em;
	border-bottom: 1px solid var(--hc-line);
	text-align: left;
	vertical-align: top;
}
.hc-spec-table th {
	width: 38%;
	font-weight: 600;
	background: var(--hc-soft);
}
.hc-spec-note { font-size: 0.85rem; color: var(--hc-muted); }
.hc-docs { margin: 0 0 1em 1.2em; }

/* Enquiry section */
.hc-enquiry {
	clear: both;
	margin: 3rem 0 2rem;
	padding: 2.5rem 0;
	border-top: 1px solid var(--hc-line);
	scroll-margin-top: 120px;
}
.hc-enquiry:focus { outline: none; }
.hc-enquiry__inner {
	display: grid;
	grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
	gap: 2.5rem;
	align-items: start;
}
.hc-enquiry__info {
	padding: 1.5rem;
	background: var(--hc-soft);
	border-radius: var(--hc-radius);
}
.hc-enquiry__contacts { list-style: none; margin: 1em 0 0; padding: 0; }
.hc-enquiry__contacts a { color: var(--hc-ink); }
.hc-enquiry__contacts li { margin: 0 0 0.35em; }

.hc-form__product {
	margin: 0 0 1.25em;
	padding: 0.75em 1em;
	border: 1px solid var(--hc-line);
	border-left: 3px solid var(--hc-accent);
	border-radius: var(--hc-radius);
}
.hc-form__product-label {
	display: block;
	font-size: 0.8rem;
	color: var(--hc-muted);
}
.hc-form__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 1.25rem;
}
.hc-field { margin: 0 0 1em; padding: 0; }
.hc-field--full { grid-column: 1 / -1; }
.hc-field label { display: block; margin-bottom: 0.3em; font-weight: 600; font-size: 0.9rem; }
.hc-form input[type="text"],
.hc-form input[type="email"],
.hc-form input[type="tel"],
.hc-form select,
.hc-form textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 0.7em 0.8em;
	border: 1px solid #b9b9b2;
	border-radius: var(--hc-radius);
	background: #fff;
	color: var(--hc-ink);
	font: inherit;
}
.hc-form [aria-invalid="true"] { border-color: #b3261e; }
.hc-hp {
	position: absolute !important;
	left: -10000px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.hc-form__privacy { font-size: 0.85rem; color: var(--hc-muted); }
.hc-form__actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.hc-form__required { font-size: 0.85rem; color: var(--hc-muted); }
.hc-form.is-sending button[type="submit"] { opacity: 0.7; cursor: wait; }
.hc-notice { padding: 0.9em 1em; border-radius: var(--hc-radius); margin: 0 0 1em; }
.hc-notice--success { background: #eef6d6; border-left: 4px solid var(--hc-accent); }
.hc-notice--error { background: #fbeaea; border-left: 4px solid #b3261e; }
.hc-form-status:focus { outline: none; }

/* Mobile sticky enquiry button: sits left of the WhatsApp bubble and hides
   while the enquiry section or cookie banner is on screen (see catalogue.js). */
.hc-sticky-cta { display: none; }
@media (max-width: 999px) {
	.hc-enquiry__inner { grid-template-columns: 1fr; gap: 1.5rem; }
	.hc-sticky-cta:not([hidden]) {
		display: block;
		position: fixed;
		left: 16px;
		right: 96px;
		bottom: 16px;
		z-index: 9990;
	}
	.hc-sticky-cta .hc-btn {
		display: block;
		text-align: center;
		box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
	}
}
@media (max-width: 690px) {
	.hc-catalogue-product div.product .summary h1.product_title {
		font-size: clamp(28px, 8vw, 40px);
		line-height: 1.15;
	}
}
@media (max-width: 600px) {
	.hc-form__grid,
	.hc-key-specs { grid-template-columns: 1fr; }
	.hc-spec-table th { width: 45%; }
}
@media (prefers-reduced-motion: reduce) {
	.hc-btn { transition: none; }
}
