/*
 * Homepage styles
 * Enqueued only on is_front_page() via functions-theme.php
 */

/* ── Layout helpers ──────────────────────────────────────── */
.hp-container {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 20px;
	padding-right: 20px;
}

.hp-section-title {
	font-size: 1.0625rem;
  line-height: normal;
  font-weight: 600;
  margin-right: 1.25rem;
  margin-bottom: 0;
}

.hp-section-subtitle {
	width: 100%;
  font-size: 0.8125rem;
  line-height: normal;
  color: var(--color-text-light);
}

/* ── Shared button ───────────────────────────────────────── */
.hp-btn {
	display: inline-block;
	padding: 14px 32px;
	border-radius: 4px;
	font-size: 1rem;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	border: none;
	transition: background 0.2s, transform 0.1s;
}

.hp-btn--primary {
	background: #e8400c;
	color: #fff;
}

.hp-btn--primary:hover {
	background: #c43409;
	color: #fff;
}

.hp-btn--secondary {
	background: #fff;
	color: #e8400c;
	border: 2px solid #e8400c;
}

.hp-btn--secondary:hover {
	background: #e8400c;
	color: #fff;
}

.hp-btn--search {
	background: #e8400c;
	color: #fff;
	padding: 12px 28px;
	border-radius: 4px;
}

.hp-btn--search:hover {
	background: #c43409;
}

/* ── Hero ────────────────────────────────────────────────── */
.hp-hero {
	position: relative;
	height: calc(100vh - var(--hp-header-height, 90px));
	min-height: 480px;
	background-size: cover;
	background-position: center;
	background-color: #1a1a1a;
	display: flex;
	align-items: center;
}

/* dvh support for mobile (avoids address-bar jump) */
@media (max-width: 768px) {
	.hp-hero {
		height: calc(50dvh - var(--hp-header-height, 90px));
		margin-bottom: 2rem;
	}
}

/* Reserve bottom space so hero content doesn't hide behind overlapping search card */
@media (min-width: 769px) {
	.hp-hero {
		padding-bottom: 120px;
		align-items: center;
		padding-top: 60px;
	}
}

.hp-hero__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
}

.hp-hero__inner {
	position: relative;
	z-index: 1;
	width: 100%;
}

.hp-hero__content {
	max-width: 600px;
	color: #fff;
}

.hp-hero__title {
	font-size: clamp(2rem, 5vw, 3.25rem);
	font-weight: 800;
	line-height: 1.15;
	margin-bottom: 1rem;
	color: #fff;
}

.hp-hero__subtitle {
	font-size: 1.125rem;
	opacity: 0.9;
	margin-bottom: 2rem;
	color: #fff;
}

/* ── Vehicle Search ──────────────────────────────────────── */
@keyframes hp-search-rise {
	from {
		opacity: 0;
		transform: translateY(48px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Desktop: card overlaps the bottom half of the hero */
@media (min-width: 769px) {
	.hp-search {
		position: relative;
		z-index: 1;
		margin-top: -120px;
		padding-bottom: 40px;
		animation: hp-search-rise 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
	}
}

/* Mobile: sits naturally below hero, still animates in */
@media (max-width: 768px) {
	.hp-search {
		padding-bottom: 0;
		animation: hp-search-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
	}
}

.hp-search__card {
	background: linear-gradient(135deg, #c93008 0%, #e8400c 45%, #f5611e 100%);
	border-radius: 16px;
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28), 0 4px 16px rgba(232, 64, 12, 0.3);
}

.hp-search__card-top {
	padding: 28px 32px 20px;
}

.hp-search__title {
	font-size: 1.375rem;
	font-weight: 700;
	color: #fff;
	margin-bottom: 6px;
	text-align: left;
}

.hp-search__subtitle {
	font-size: 0.9375rem;
	color: rgba(255, 255, 255, 0.82);
	margin: 0;
}

.hp-search__form {
	width: 100%;
}

.hp-search__selects {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: stretch;
	padding: 16px 24px 24px;
}

.hp-search__select-wrap {
	flex: 1 1 180px;
}

.hp-search__select-wrap select,
.hp-search__select-wrap .select2-container {
	width: 100% !important;
}

/* Override Select2 styling inside the search card */
.hp-search__card .select2-container--default .select2-selection--single {
	background: #fff;
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: 8px;
	height: 46px;
	line-height: 46px;
}

.hp-search__card .select2-container--default .select2-selection--single .select2-selection__rendered {
	line-height: 44px;
	padding-left: 14px;
	color: #333;
	font-size: 0.9375rem;
}

.hp-search__card .select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 44px;
}

/* Select2 dropdown — sits above all content in the search section */
.hp-search__card .select2-dropdown {
	z-index: 9999;
}

.hp-search__submit-wrap {
	flex: 0 0 auto;
	display: flex;
	align-items: stretch;
}

.hp-search__submit-wrap .hp-search__btn {
	display: block;
	width: 100%;
	padding: 0 28px;
	min-height: 46px;
	color: #fff;
	background-color: transparent;
	font-size: 0.9375rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	border: 2px solid currentColor;
	border-radius: 8px;
	cursor: pointer;
	transition: background 0.2s, color 0.2s, transform 0.15s;
	white-space: nowrap;
}

.hp-search__submit-wrap .hp-search__btn:hover {
	background: #fff;
	color: #e8400c;
	transform: translateY(-1px);
}

@media (max-width: 768px) {
	.hp-search__card-top {
		padding: 22px 20px 16px;
	}

	.hp-search__selects {
		padding: 12px 16px 20px;
		flex-direction: column;
	}

	.hp-search__select-wrap {
		flex: 1 1 auto;
	}

	.hp-search__submit-wrap {
		width: 100%;
	}

	.hp-search__btn {
		width: 100%;
		padding: 14px;
	}
}

/* ── Category Tiles ──────────────────────────────────────── */
.hp-categories {
	margin-bottom: 2rem;
}

.hp-categories__title {
	margin-bottom: 2rem;
}

.hp-categories__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

@media (max-width: 768px) {
	.hp-categories__grid {
		grid-template-columns: 1fr;
	}
	.hp-categories {
		margin-top: 2rem;
	}
}

.hp-category-tile {
	display: block;
	border-radius: 6px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	background: #fff;
	border: 1px solid #e0e0e0;
	transition: box-shadow 0.2s, transform 0.2s;
}

.hp-category-tile:hover {
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
	transform: translateY(-2px);
}

.hp-category-tile__img-wrap {
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.hp-category-tile__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hp-category-tile__body {
	padding: 16px 20px;
}

.hp-category-tile__name {
	font-size: 1.125rem;
	font-weight: 700;
	margin-bottom: 6px;
	color: #1a1a1a;
}

.hp-category-tile__count {
	display: block;
	font-size: 0.875rem;
	color: #666;
	margin-bottom: 10px;
}

.hp-category-tile__cta {
	font-size: 0.875rem;
	font-weight: 700;
	color: #e8400c;
}

/* ── Promo Banner ────────────────────────────────────────── */
.hp-promo-banner {
	padding: 16px 0;
	margin-bottom: 2rem;
}

.hp-promo-banner__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 14px;
	background: #fff5f2;
	border: 1.5px dashed #e8400c;
	border-radius: 10px;
	padding: 14px 28px;
}

.hp-promo-banner__text {
	font-size: 1rem;
	font-weight: 700;
	color: #e8400c;
	margin: 0;
}

.hp-promo-banner__code {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #e8400c;
	color: #fff;
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	padding: 6px 16px;
	border-radius: 20px;
	border: none;
	cursor: pointer;
	transition: opacity 0.2s;
	white-space: nowrap;
}

.hp-promo-banner__code:hover {
	opacity: 0.9;
}

.hp-promo-banner__code-tooltip {
	font-size: 0.75rem;
	opacity: 0.9;
}

/* ── Trust Features ──────────────────────────────────────── */
.hp-trust {
	background: #fff no-repeat center center / cover;
	overflow: hidden;
}

.hp-trust__inner {
	display: grid;
	grid-template-columns: 55% 45%;
	align-items: center;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.hp-trust__left {
	position: relative;
	padding: 60px 52px 60px 0;
}

/* Watermark */
.hp-trust__watermark {
	position: absolute;
	top: 50%;
	left: -4px;
	transform: translateY(-50%);
	display: flex;
	flex-direction: column;
	gap: 0;
	pointer-events: none;
	user-select: none;
	z-index: 0;
	line-height: 1.05;
}

.hp-trust__watermark-line {
	display: block;
	font-size: clamp(2.75rem, 5.5vw, 5.75rem);
	font-weight: 900;
	color: rgba(0, 0, 0, 0.055);
	text-transform: uppercase;
	letter-spacing: -0.02em;
	white-space: nowrap;
}

/* Features grid: 2 × 2 */
.hp-trust__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 36px 48px;
}

.hp-trust__item {
	text-align: left;
	display: flex;
	align-items: flex-start;
	gap: 20px;
}

.hp-trust__icon {
	width: 40px;
	height: 40px;
	margin-bottom: 14px;
}

.hp-trust__icon i {
  font-size: 46px;
}

.hp-trust__icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.hp-trust__title {
	font-size: 0.9375rem;
	font-weight: 700;
	margin-bottom: 8px;
	color: #1a1a1a;
	line-height: 1.4;
}

.hp-trust__text {
	font-size: 0.8125rem;
	color: #666;
	line-height: 1.7;
	margin: 0;
}

/* Right: truck image */
.hp-trust__right {
	position: relative;
	align-self: stretch;
	display: flex;
	align-items: center;
}

.hp-trust__truck {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center right;
	display: block;
	max-height: 480px;
}

/* Tablet */
@media (max-width: 900px) {
	.hp-trust__inner {
		grid-template-columns: 1fr 1fr;
	}

	.hp-trust__left {
		padding: 48px 32px 48px 0;
	}
}

/* Mobile */
@media (max-width: 640px) {
	.hp-trust__inner {
		grid-template-columns: 1fr;
	}

	.hp-trust__left {
		padding: 48px 0;
	}

	.hp-trust__watermark-line {
		font-size: clamp(2.25rem, 10vw, 3.5rem);
	}

	.hp-trust__grid {
		grid-template-columns: 1fr;
		gap: 28px 24px;
	}

	.hp-trust__right {
		display: none;
	}
}

/* ── Product Tabs ────────────────────────────────────────── */
.hp-product-tabs {
	padding: 48px 0 60px;
	background: #fff;
}

.hp-product-tabs .products .product {
  width: 100%;
  max-width: initial;
}

/* Header row: title + pills + view-all in one line */
.hp-tabs__header {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 28px;
	flex-wrap: wrap;
}

.hp-tabs__section-title {
	font-size: 1.375rem;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0;
	white-space: nowrap;
}

.hp-tabs__nav {
	display: inline-flex;
	gap: 8px;
	padding: 4px;
	flex-wrap: wrap;
	flex: 1;
	align-items: center;
	border-radius: 24px;
	background: #f0f0f0;
}

/* Pill buttons */
.hp-tabs .hp-tabs__btn {
	background: #f0f0f0 !important;
	color: #333;
	border: none;
	border-radius: 24px;
	padding: 8px 18px;
	font-size: 0.875rem;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.18s, color 0.18s;
	white-space: nowrap;
	line-height: 1.4;
}

.hp-tabs__btn:hover {
	background: #fff;
}

.hp-tabs__btn--active {
	background: linear-gradient(45deg, rgb(239, 35, 60) 0%, rgb(244, 113, 3) 100%) !important;
	color: #fff !important;
}

/* View All link */
.hp-tabs__view-all {
	white-space: nowrap;
	font-size: 0.9375rem;
	font-weight: 600;
	color: #1a1a1a;
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 4px;
	transition: color 0.18s;
	margin-left: auto;
}

.hp-tabs__view-all:hover {
	color: #e8400c;
}

.hp-tabs__panel {
	display: none;
}

.hp-tabs__panel--active {
	display: block;
}

.hp-tabs__empty {
	text-align: center;
	padding: 40px 0;
	color: #888;
}

/* Force WC loop to use the right column count */
.hp-tabs__panel .products {
	display: grid !important;
	grid-template-columns: repeat(5, 1fr) !important;
	gap: 20px !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.hp-tabs__panel .products li.product {
	width: auto !important;
	margin: 0 !important;
	float: none !important;
}

@media (max-width: 1100px) {
	.hp-tabs__panel .products {
		grid-template-columns: repeat(4, 1fr) !important;
	}
}

@media (max-width: 992px) {
	.hp-tabs__nav {
		display: none;
	}
}

@media (max-width: 840px) {
	.hp-tabs__panel .products {
		grid-template-columns: repeat(3, 1fr) !important;
	}
}

@media (max-width: 600px) {
	.hp-tabs__header {
		justify-content: space-between;
		gap: 12px;
	}

	.hp-product-tabs {
		padding: 2rem 0;
	}

	.hp-tabs__view-all {
		margin-left: 0;
	}

	.hp-tabs__panel .products {
		grid-template-columns: 1fr !important;
	}
}

/* ── About ───────────────────────────────────────────────── */
.hp-about {
	padding: 64px 0;
	background: #fff;
}

.hp-about__inner {
	display: grid;
	grid-template-columns: 42% 1fr;
	gap: 56px;
	align-items: center;
}

.hp-about__image-col {
	line-height: 0;
}

.hp-about__image {
	width: 100%;
	height: auto;
	border-radius: 14px;
	display: block;
	object-fit: cover;
}

.hp-about__text-col {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.hp-about__title {
	font-size: clamp(1.5rem, 2.5vw, 2rem);
	font-weight: 700;
	color: #1a1a1a;
	margin-bottom: 20px;
}

.hp-about__content p {
	font-size: 1rem;
	color: #444;
	line-height: 1.7;
	margin-bottom: 14px;
}

.hp-about__content p:last-child {
	margin-bottom: 0;
}

.hp-about__phone {
	margin-top: 24px;
	font-size: 1rem;
	color: #1a1a1a;
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.hp-about__phone strong {
	font-weight: 700;
	color: #1a1a1a;
}

.hp-about__phone-number {
	font-weight: 700;
	color: #e8400c;
	text-decoration: none;
	font-size: 1rem;
}

.hp-about__phone-number:hover {
	text-decoration: underline;
}

@media (max-width: 768px) {
	.hp-about__inner {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.hp-about {
		padding: 20px 0;
	}

	.hp-about__image {
		max-height: 300px;
		object-position: center;
	}
}

/* ── Part Types ──────────────────────────────────────────── */
.hp-part-types {
	margin-bottom: 2rem;
	background: #fff;
}

.hp-part-types__header {
	display: flex;
	align-items: center;
	gap: 16px;
	padding-bottom: 16px;
	border-bottom: 1px solid #e8e8e8;
	margin-bottom: 20px;
	flex-wrap: wrap;
}

.hp-part-types__header-left {
	display: flex;
	align-items: baseline;
	gap: 14px;
	flex: 1;
	flex-wrap: wrap;
}

.hp-part-types__title {
	font-size: 1.25rem;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0;
	white-space: nowrap;
}

.hp-part-types__subtitle {
	font-size: 0.9rem;
	color: #999;
	margin: 0;
}

.hp-part-types__view-all {
	white-space: nowrap;
	font-size: 0.9375rem;
	font-weight: 600;
	color: #1a1a1a;
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 4px;
	margin-left: auto;
	transition: color 0.18s;
}

.hp-part-types__view-all:hover {
	color: #e8400c;
}

/* Single bordered row */
.hp-part-types__row {
	display: flex;
	border: 1px solid #e0e0e0;
	border-radius: 10px;
	overflow: hidden;
}

.hp-part-types__tile {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	padding: 18px 12px;
	text-decoration: none;
	color: inherit;
	border-right: 1px solid #e0e0e0;
	transition: background 0.18s;
	text-align: center;
}

.hp-part-types__tile:last-child {
	border-right: none;
}

.hp-part-types__tile:hover {
	background: #fdf3f0;
}

.hp-part-types__tile-name {
	font-size: 0.9375rem;
	font-weight: 600;
	color: #1a1a1a;
	line-height: 1.3;
}

.hp-part-types__tile-count {
	font-size: 0.8125rem;
	color: #999;
}

@media (max-width: 900px) {
	.hp-part-types__row {
		flex-wrap: wrap;
		border-radius: 10px;
	}

	.hp-part-types__tile {
		flex: 0 0 33.333%;
		border-bottom: 1px solid #e0e0e0;
	}

	.hp-part-types__tile:nth-child(3n) {
		border-right: none;
	}

	.hp-part-types__tile:nth-last-child(-n+3):nth-child(3n+1),
	.hp-part-types__tile:nth-last-child(-n+3):nth-child(3n+2),
	.hp-part-types__tile:nth-last-child(-n+3):nth-child(3n) {
		border-bottom: none;
	}
}

@media (max-width: 480px) {
	.hp-part-types__tile {
		flex: 0 0 50%;
	}

	.hp-part-types__tile:nth-child(3n) {
		border-right: 1px solid #e0e0e0;
	}

	.hp-part-types__tile:nth-child(2n) {
		border-right: none;
	}
}

/* ── Shared product grid ─────────────────────────────────── */
.hp-products-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

@media (max-width: 900px) {
	.hp-products-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 480px) {
	.hp-products-grid {
		grid-template-columns: 1fr;
	}
}

.hp-product-card {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: box-shadow 0.2s;
}

.hp-product-card:hover {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.hp-product-card__link {
	display: block;
	text-decoration: none;
	color: inherit;
	flex: 1;
}

.hp-product-card__img-wrap {
	aspect-ratio: 1;
	overflow: hidden;
	background: #f8f8f8;
}

.hp-product-card__img-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hp-product-card__body {
	padding: 12px 14px;
}

.hp-product-card__title {
	font-size: 0.9rem;
	font-weight: 600;
	margin-bottom: 6px;
	color: #1a1a1a;
	line-height: 1.4;
}

.hp-product-card__price {
	font-size: 1rem;
	font-weight: 700;
	color: #e8400c;
}

.hp-product-card .button,
.hp-product-card .add_to_cart_button {
	display: block;
	margin: 0 14px 14px;
	text-align: center;
	padding: 10px;
	background: #1a1a1a;
	color: #fff;
	font-weight: 600;
	font-size: 0.875rem;
	border-radius: 4px;
	text-decoration: none;
	transition: background 0.2s;
}

.hp-product-card .button:hover,
.hp-product-card .add_to_cart_button:hover {
	background: #e8400c;
	color: #fff;
}

/* ── Weekly Highlights ───────────────────────────────────── */
.hp-highlights {
	padding: 48px 0 64px;
	background: #fff;
}

/* Header row */
.hp-highlights__header {
	display: flex;
	align-items: baseline;
	gap: 12px;
	margin-bottom: 28px;
	flex-wrap: wrap;
}

.hp-highlights__header-left {
	display: flex;
	align-items: baseline;
	gap: 10px;
	flex: 1;
	flex-wrap: wrap;
}

.hp-highlights__title {
	font-size: 1.125rem;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0;
}

.hp-highlights__subtitle {
	font-size: 0.9rem;
	color: #aaa;
	white-space: nowrap;
}

.hp-highlights__view-all {
	white-space: nowrap;
	font-size: 0.9375rem;
	font-weight: 600;
	color: #1a1a1a;
	text-decoration: none;
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 4px;
	transition: color 0.18s;
}

.hp-highlights__view-all:hover {
	color: #e8400c;
}

/* Cards grid */
.hp-highlights__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

/* Single card */
.hp-highlights__card {
	border: 1px solid #e0e0e0;
	border-radius: 10px;
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 0;
	background: #fff;
	transition: box-shadow 0.2s;
}

.hp-highlights__card:hover {
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.hp-highlights__card--featured {
	border: 2px solid #e8400c;
}

.hp-highlights__card--featured .hp-highlights__card-label {
	color: #e8400c;
}

/* Card header */
.hp-highlights__card-header {
	margin-bottom: 16px;
}

.hp-highlights__card-label {
	font-size: 1.125rem;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0 0 6px;
}

.hp-highlights__card-desc {
	font-size: 0.8125rem;
	color: #888;
	margin: 0;
	line-height: 1.55;
}

/* Product image */
.hp-highlights__product-link {
	display: block;
	text-decoration: none;
	margin-bottom: 16px;
}

.hp-highlights__product-img {
	border-radius: 6px;
	overflow: hidden;
	background: #f8f8f8;
}

.hp-highlights__product-img img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
	contain-intrinsic-size: initial !important;
}

/* Product body */
.hp-highlights__product-body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
}

.hp-highlights__rating {
	display: flex;
	align-items: center;
	gap: 6px;
}

.hp-highlights__rating .star-rating {
	font-size: 0.85rem;
}

.hp-highlights__rating-count {
	font-size: 0.8125rem;
	color: #666;
}

.hp-highlights__product-title {
	font-size: 0.9375rem;
	font-weight: 600;
	color: #1a1a1a;
	margin: 0;
	line-height: 1.4;
}

.hp-highlights__product-title a {
	color: inherit;
	text-decoration: none;
}

.hp-highlights__product-title a:hover {
	color: #e8400c;
}

.hp-highlights__product-price {
	font-size: 0.9375rem;
}

.hp-highlights__product-price .price {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
}

.hp-highlights__product-price ins {
	text-decoration: none;
	font-weight: 700;
	color: #e8400c;
}

.hp-highlights__product-price del {
	color: #aaa;
	font-size: 0.875rem;
}

.hp-highlights__product-stock {
	margin-top: 4px;
}

.hp-highlights__in-stock {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 0.8125rem;
	font-weight: 600;
	color: #27ae60;
}

.hp-highlights__out-of-stock {
	font-size: 0.8125rem;
	color: #e74c3c;
}

.hp-highlights__product-placeholder {
	padding: 40px 0;
	text-align: center;
	color: #bbb;
	font-size: 0.875rem;
}

@media (max-width: 768px) {
	.hp-highlights__grid {
		grid-template-columns: 1fr;
	}
}

/* ── Popular Products ────────────────────────────────────── */
.hp-popular {
	padding: 60px 0;
	background: #f5f5f5;
}

.hp-popular__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

@media (max-width: 768px) {
	.hp-popular__grid {
		grid-template-columns: 1fr;
	}
}

.hp-popular__col {
	display: flex;
	flex-direction: column;
}

.hp-popular__label {
	display: inline-block;
	background: #e8400c;
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	padding: 4px 12px;
	border-radius: 4px 4px 0 0;
	align-self: flex-start;
}

/* ── FAQ ─────────────────────────────────────────────────── */
.hp-faq {
	margin-bottom: 2rem;
}

.hp-faq__list {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--color-info-dark);
	margin: 20px auto 0;
}

.hp-faq__item {
	padding: 10px;
	border-bottom: 1px solid #e0e0e0;
}

.hp-faq__item:first-child {
	border-top: none;
}

.hp-faq__item:last-child {
	border-bottom: none;
}

.hp-faq__question {
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	color: #1a1a1a;
	user-select: none;
}

.hp-faq__question::-webkit-details-marker {
	display: none;
}

.hp-faq__icon {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	position: relative;
	margin-left: 16px;
}

.hp-faq__icon::before,
.hp-faq__icon::after {
	content: '';
	position: absolute;
	background: #e8400c;
	border-radius: 2px;
	transition: transform 0.25s;
}

.hp-faq__icon::before {
	width: 12px;
	height: 2px;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.hp-faq__icon::after {
	width: 2px;
	height: 12px;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.hp-faq__item[open] .hp-faq__icon::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

.hp-faq__answer {
	padding: 0 4px 18px;
	color: #444;
	font-size: 0.9375rem;
	line-height: 1.7;
}

.hp-faq__answer p {
	margin: 0;
}

/* ── Reviews ─────────────────────────────────────────────── */
/* ── Reviews slider ──────────────────────────────────────── */
.hp-reviews {
	padding: 60px 0;
	background: #f5f5f5;
}

.hp-reviews__title {
	font-size: 1.6rem;
	line-height: normal;
	font-weight: 600;
	margin-bottom: 0.5rem;
	text-align: center;
}

.hp-reviews__subtitle {
	width: 100%;
	font-size: 1.1125rem;
	line-height: normal;
	color: var(--color-text-light);
	text-align: center;
	margin-bottom: 2.5rem;
}

/* Slick container */
.hp-reviews__slider {
	margin: 0 -12px;
}

.hp-reviews__slider .slick-track {
	display: flex;
}

.hp-reviews__slider .slick-slide {
	padding: 0 12px;
	height: auto;
	display: flex !important;
}

/* ── Review card ─────────────────────────────────────────── */
.hp-review-card {
	display: flex;
	width: 100%;
}

.hp-review-card__inner {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 8px;
	padding: 24px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
	transition: box-shadow 0.2s;
	width: 100%;
}

.hp-review-card__inner:hover {
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}

.hp-review-card__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 14px;
}

.hp-review-card__stars {
	display: flex;
	gap: 3px;
}

.hp-review-card__star {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

.hp-review-card__star--filled {
	fill: #f59e0b;
	stroke: #f59e0b;
}

.hp-review-card__star--empty {
	fill: #e5e7eb;
	stroke: #e5e7eb;
}

.hp-review-card__date {
	font-size: 0.75rem;
	color: #9ca3af;
	white-space: nowrap;
}

.hp-review-card__text {
	font-size: 0.9rem;
	line-height: 1.6;
	color: #374151;
	flex-grow: 1;
	margin-bottom: 20px;
	display: -webkit-box;
	-webkit-line-clamp: 5;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.hp-review-card__footer {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: auto;
}

.hp-review-card__avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.hp-review-card__meta {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.hp-review-card__author {
	font-size: 0.875rem;
	font-weight: 600;
	color: #111827;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.hp-review-card__product {
	font-size: 0.75rem;
	color: #e8400c;
	text-decoration: none;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.hp-review-card__product:hover {
	text-decoration: underline;
}

/* ── Custom nav arrows ───────────────────────────────────── */
.hp-reviews__nav {
	display: flex;
	justify-content: center;
	gap: 12px;
	margin-top: 28px;
}

.hp-reviews__arrow {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 2px solid #e8400c;
	background: transparent;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
	padding: 0;
	color: #e8400c;
}

.hp-reviews__arrow:hover {
	background: #e8400c;
	color: #fff;
}

.hp-reviews__arrow svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 767px) {
	.hp-reviews__slider {
		margin: 0 -8px;
	}

	.hp-reviews__slider .slick-slide {
		padding: 0 8px;
	}
}

/* ── Contact ─────────────────────────────────────────────── */
.hp-contact {
	position: relative;
	padding: 72px 0;
	background-color: #111;
	background-size: cover;
	background-position: center;
}

.hp-contact__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.72);
	z-index: 0;
}

.hp-contact .hp-container {
	position: relative;
	z-index: 1;
}

/* Grid */
.hp-contact__grid {
	display: grid;
	grid-template-columns: 38% 1fr;
	gap: 64px;
	align-items: start;
}

/* Left column */
.hp-contact__left {
	color: #fff;
}

.hp-contact__title {
	font-size: clamp(1.5rem, 3vw, 2.25rem);
	font-weight: 700;
	color: #fff;
	line-height: 1.25;
	margin-bottom: 40px;
}

/* Contact details */
.hp-contact__details {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.hp-contact__detail {
	display: flex;
	align-items: flex-start;
	gap: 14px;
}

.hp-contact__icon {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1.5px solid #e8400c;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #e8400c;
}

.hp-contact__detail-label {
	display: block;
	font-size: 0.9375rem;
	font-weight: 700;
	color: #fff;
	margin-bottom: 2px;
}

.hp-contact__detail-value {
	display: block;
	font-size: 0.875rem;
	color: rgba(255, 255, 255, 0.75);
	text-decoration: none;
}

a.hp-contact__detail-value:hover {
	color: #e8400c;
}

/* Right column — CF7 form */
.hp-contact__form {
	padding-top: 2rem;
}
.hp-contact__form .wpcf7-form {
	display: flex;
	flex-direction: column;
	gap: 0;
	color: #fff;
}

/* Two-column row for name + email */
.hp-contact__form .wpcf7-form > p:first-child,
.hp-contact__form .wpcf7-form > .hp-cf7-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

/* All inputs & textarea */
.hp-contact__form .wpcf7-form input[type="text"],
.hp-contact__form .wpcf7-form input[type="email"],
.hp-contact__form .wpcf7-form textarea {
	width: 100%;
	background: transparent;
	border: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.35);
	color: #fff;
	font-size: 0.9375rem;
	padding: 10px 0;
	outline: none;
	transition: border-color 0.2s;
	box-sizing: border-box;
}

.hp-contact__form .wpcf7-form input[type="text"]::placeholder,
.hp-contact__form .wpcf7-form input[type="email"]::placeholder,
.hp-contact__form .wpcf7-form textarea::placeholder {
	color: rgba(255, 255, 255, 0.5);
}

.hp-contact__form .wpcf7-form input[type="text"]:focus,
.hp-contact__form .wpcf7-form input[type="email"]:focus,
.hp-contact__form .wpcf7-form textarea:focus {
	border-bottom-color: #e8400c;
}

.hp-contact__form .wpcf7-form textarea {
	resize: none;
	min-height: 90px;
}

/* CF7 paragraph wrappers */
.hp-contact__form .wpcf7-form p {
	margin: 0 0 20px;
}

.hp-contact__form .wpcf7-form p:last-of-type {
	margin-bottom: 0;
}

/* SUBMIT button */
.hp-contact__form .wpcf7-form input[type="submit"],
.hp-contact__form .wpcf7-form .wpcf7-submit {
	width: 100%;
	padding: 8px;
	display: flex;
	background: linear-gradient(90deg, #e8400c 0%, #f5611e 100%);
	color: #fff;
	font-size: 0.9375rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	transition: opacity 0.2s, transform 0.15s;
	margin-top: 8px;
	max-width: 240px;
	margin: 0 auto;
}

.hp-contact__form .wpcf7-form input[type="submit"]:hover,
.hp-contact__form .wpcf7-form .wpcf7-submit:hover {
	opacity: 0.9;
	transform: translateY(-1px);
}

/* Validation messages */
.hp-contact__form .wpcf7-not-valid-tip {
	color: #ff6b6b;
	font-size: 0.75rem;
}

.hp-contact__form .wpcf7-response-output {
	margin-top: 12px;
	padding: 10px 14px;
	border-radius: 4px;
	font-size: 0.875rem;
	color: rgba(255, 255, 255, 0.85);
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.hp-contact__form-notice {
	color: rgba(255, 255, 255, 0.5);
	font-style: italic;
	font-size: 0.9rem;
}

/* Mobile */
@media (max-width: 768px) {
	.hp-contact__grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.hp-contact__form .wpcf7-form > p:first-child {
		grid-template-columns: 1fr;
	}
}
