/* Hancke Occasions – Mazda look & feel */
.hk-occasions,
.hk-single {
	--hk-navy: var(--theme-palette-color-1, #041428);
	--hk-gold: var(--theme-palette-color-2, #8b693e);
	--hk-text: var(--theme-palette-color-3, #555555);
	--hk-line: var(--theme-palette-color-5, #d8d8d8);
	--hk-soft: var(--theme-palette-color-6, #f7f7f7);
	--hk-white: #ffffff;
	color: var(--hk-text);
}

/* Buttons */
.hk-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 10px 24px;
	border: 1px solid var(--hk-navy);
	border-radius: 3px;
	background: var(--hk-navy);
	color: #fff !important;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 1.4px;
	text-transform: uppercase;
	text-decoration: none !important;
	cursor: pointer;
	transition: background .2s, color .2s;
}
.hk-btn:hover { background: #1c2c40; }
.hk-btn--outline { background: transparent; color: var(--hk-navy) !important; }
.hk-btn--outline:hover { background: var(--hk-navy); color: #fff !important; }
.hk-btn--ghost { background: transparent; border-color: transparent; color: var(--hk-navy) !important; }
.hk-btn--ghost:hover { background: var(--hk-soft); }

/* Filters */
.hk-filters {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	gap: 16px;
	align-items: end;
	margin: 0 0 32px;
	padding: 24px;
	background: var(--hk-soft);
}
.hk-field { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.hk-field > span {
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--hk-navy);
}
.hk-field select {
	width: 100%;
	height: 44px;
	padding: 0 12px;
	border: 1px solid var(--hk-line);
	border-radius: 3px;
	background-color: #fff;
	color: var(--hk-navy);
	font: inherit;
	font-size: 15px;
}
.hk-filters__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hk-reset { font-size: 13px; color: var(--hk-navy); text-decoration: underline; }

/* Grid + cards */
.hk-grid { display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hk-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hk-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 999px) { .hk-grid, .hk-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .hk-grid, .hk-grid--2, .hk-grid--4 { grid-template-columns: 1fr; } }

.hk-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--hk-line);
	color: inherit !important;
	text-decoration: none !important;
	transition: box-shadow .25s, transform .25s;
}
.hk-card:hover { box-shadow: 0 12px 30px rgba(4, 20, 40, .12); transform: translateY(-2px); }
.hk-card__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--hk-soft); }
.hk-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.hk-card:hover .hk-card__img img { transform: scale(1.03); }
.hk-badge {
	position: absolute; top: 12px; left: 12px;
	padding: 4px 10px;
	background: var(--hk-gold); color: #fff;
	font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
}
.hk-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 20px 18px; }
.hk-card__make { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--hk-gold); }
.hk-card__title {
	margin: 4px 0 2px !important;
	font-size: 22px !important; font-weight: 500 !important;
	letter-spacing: 2px; text-transform: uppercase;
	color: var(--hk-navy) !important;
}
.hk-card__version { margin: 0 0 14px; font-size: 14px; line-height: 1.4; min-height: 2.8em; }
.hk-card__facts { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; list-style: none; }
.hk-card__facts li {
	margin: 0; padding: 3px 9px;
	border: 1px solid var(--hk-line); border-radius: 2px;
	font-size: 12px; color: var(--hk-navy);
}
.hk-card__footer {
	display: flex; align-items: center; justify-content: space-between;
	margin-top: auto; padding-top: 14px; border-top: 1px solid var(--hk-line);
}
.hk-card__price { font-size: 22px; font-weight: 700; color: var(--hk-navy); }
.hk-card__cta {
	font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--hk-navy);
}
.hk-card__cta::after { content: " \2192"; }

.hk-empty { padding: 32px; background: var(--hk-soft); text-align: center; }

.hk-pagination { display: flex; gap: 6px; justify-content: center; margin-top: 40px; }
.hk-pagination a {
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; border: 1px solid var(--hk-line);
	color: var(--hk-navy); text-decoration: none;
}
.hk-pagination a.is-current, .hk-pagination a:hover { background: var(--hk-navy); border-color: var(--hk-navy); color: #fff; }

/* Single */
.single-occasion .ct-featured-image,
.single-occasion .entry-meta,
.single-occasion .ct-share-box,
.single-occasion .post-navigation,
.single-occasion .ct-related-posts-container { display: none !important; }

.hk-single__top {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr);
	gap: 40px;
	align-items: start;
	margin-bottom: 56px;
}
@media (max-width: 999px) { .hk-single__top { grid-template-columns: 1fr; gap: 28px; } }

.hk-gallery__main { aspect-ratio: 4 / 3; background: var(--hk-soft); overflow: hidden; }
.hk-gallery__main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hk-gallery__thumbs {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
	gap: 8px; margin-top: 8px;
}
.hk-thumb { padding: 0; border: 2px solid transparent; background: none; cursor: pointer; aspect-ratio: 4/3; overflow: hidden; }
.hk-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hk-thumb.is-active { border-color: var(--hk-navy); }

.hk-pricebox {
	position: sticky; top: 110px;
	padding: 28px;
	border: 1px solid var(--hk-line);
	background: #fff;
}
.hk-pricebox__make { display: block; font-size: 24px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; color: var(--hk-navy); }
.hk-pricebox__version { margin: 4px 0 18px; }
.hk-pricebox__price { font-size: 36px; font-weight: 700; color: var(--hk-navy); line-height: 1.1; }
.hk-pricebox__vat { margin: 4px 0 20px; font-size: 13px; }
.hk-keyfacts {
	display: grid; grid-template-columns: 1fr 1fr; gap: 0;
	margin: 0 0 24px; padding: 0; list-style: none;
	border-top: 1px solid var(--hk-line);
}
.hk-keyfacts li { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--hk-line); }
.hk-keyfacts li:nth-child(odd) { padding-right: 12px; }
.hk-keyfacts span { display: block; font-size: 11px; letter-spacing: 1.3px; text-transform: uppercase; }
.hk-keyfacts strong { display: block; font-weight: 500; color: var(--hk-navy); }
.hk-pricebox__actions { display: flex; flex-direction: column; gap: 10px; }
.hk-carpass { margin: 16px 0 0; font-size: 14px; }
.hk-carpass a { color: var(--hk-navy); }

.hk-single__details { max-width: 1000px; }
.hk-section { margin-bottom: 48px; }
.hk-section h2 {
	margin-bottom: 20px;
	font-size: 22px; font-weight: 500;
	letter-spacing: 3px; text-transform: uppercase;
	color: var(--hk-navy);
}
.hk-specs { width: 100%; border-collapse: collapse; border: 0; }
.hk-specs th, .hk-specs td { padding: 12px 0; border: 0; border-bottom: 1px solid var(--hk-line); text-align: left; vertical-align: top; }
.hk-specs th { width: 40%; font-weight: 400; }
.hk-specs td { color: var(--hk-navy); font-weight: 500; }
.hk-equipment {
	columns: 3 220px; column-gap: 32px;
	margin: 0; padding: 0; list-style: none;
}
.hk-equipment li { position: relative; margin: 0 0 10px; padding-left: 24px; break-inside: avoid; }
.hk-equipment li::before {
	content: ""; position: absolute; left: 0; top: .45em;
	width: 12px; height: 7px;
	border-left: 2px solid var(--hk-navy); border-bottom: 2px solid var(--hk-navy);
	transform: rotate(-45deg);
}
.hk-options-note { margin-top: 16px; font-style: italic; }
.hk-back a { color: var(--hk-navy); text-transform: uppercase; letter-spacing: 1.5px; font-size: 13px; }
