:root {
	--hl-primary: #d77233;
	--hl-primary-dark: #bf5d21;
	--hl-text: #1b1f24;
	--hl-muted: #667085;
	--hl-line: #e4e7ec;
	--hl-bg: #f5f6f8;
	--hl-card: #ffffff;
	--hl-dark: #111827;
	--hl-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
	--hl-radius-lg: 24px;
	--hl-radius-md: 16px;
}

.hl-product-banner {
	position: relative;
	overflow: hidden;
	background:
		linear-gradient(110deg, rgba(16, 18, 24, 0.86), rgba(16, 18, 24, 0.52)),
		url("../../pic/title-bg.png") center center / cover no-repeat;
	min-height: 320px;
	display: flex;
	align-items: center;
	margin-top: 80px;
}

.hl-product-banner::before {
	content: "";
	position: absolute;
	right: -120px;
	bottom: -120px;
	width: 360px;
	height: 360px;
	border-radius: 50%;
	background: radial-gradient(
		circle,
		rgba(215, 114, 51, 0.22),
		transparent 68%
	);
}

.hl-product-banner__inner {
	position: relative;
	z-index: 2;
	padding: 72px 0;
}

.hl-product-banner__tag {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	margin-bottom: 18px;
}

.hl-product-banner__title {
	margin: 0 0 14px;
	font-size: clamp(32px, 4vw, 56px);
	font-weight: 900;
	line-height: 1.1;
	color: #fff;
}

.hl-product-banner__desc {
	max-width: 720px;
	margin: 0;
	font-size: 16px;
	line-height: 1.9;
	color: rgba(255, 255, 255, 0.82);
}

.hl-product-page {
	background: var(--hl-bg);
	padding: 56px 0 72px;
}

.hl-product-layout {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	gap: 24px;
	align-items: start;
}

.hl-product-sidebar {
	position: sticky;
	top: 110px;
}

.hl-product-sidebar__card {
	background: var(--hl-card);
	border: 1px solid var(--hl-line);
	border-radius: var(--hl-radius-lg);
	padding: 18px;
	box-shadow: var(--hl-shadow);
}

.hl-product-sidebar__title {
	margin: 0 0 18px;
	padding-bottom: 14px;
	font-size: 24px;
	font-weight: 900;
	border-bottom: 1px solid var(--hl-line);
}

.hl-product-menu + .hl-product-menu {
	margin-top: 12px;
}

.hl-product-menu__toggle {
	width: 100%;
	border: 0;
	background: #f2f4f7;
	color: var(--hl-text);
	padding: 16px 18px;
	border-radius: 16px;
	font-size: 16px;
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: space-between;
	cursor: pointer;
	transition: 0.25s ease;
}

.hl-product-menu__toggle::after {
	content: "+";
	font-size: 22px;
	font-weight: 700;
	line-height: 1;
}

.hl-product-menu.is-open .hl-product-menu__toggle {
	background: rgba(215, 114, 51, 0.14);
	color: var(--hl-primary-dark);
}

.hl-product-menu.is-open .hl-product-menu__toggle::after {
	content: "−";
}

.hl-product-menu__submenu {
	list-style: none;
	margin: 0;
	padding: 0 6px;
	max-height: 0;
	overflow: hidden;
	transition:
		max-height 0.3s ease,
		padding-top 0.3s ease;
}

.hl-product-menu.is-open .hl-product-menu__submenu {
	max-height: 240px;
	padding-top: 10px;
}

.hl-product-menu__submenu li {
	margin: 0;
	padding: 0;
}

.hl-product-menu__submenu li + li {
	margin-top: 6px;
}

.hl-product-menu__submenu a {
	display: block;
	padding: 11px 12px;
	border-radius: 12px;
	color: #475467;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	transition: 0.25s ease;
}

.hl-product-menu__submenu a:hover {
	background: #f7f8fa;
	color: var(--hl-primary-dark);
	transform: translateX(4px);
}

.hl-product-main {
	min-width: 0;
}

.hl-product-toolbar {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 24px;
	flex-wrap: wrap;
}

.hl-product-toolbar__text h2 {
	margin: 0;
	font-size: clamp(28px, 2.4vw, 40px);
	font-weight: 900;
	line-height: 1.15;
	color: var(--hl-text);
}

.hl-product-toolbar__text p {
	margin: 8px 0 0;
	font-size: 15px;
	line-height: 1.8;
	color: var(--hl-muted);
}

.hl-product-search {
	display: flex;
	align-items: center;
	width: 100%;
	max-width: 360px;
	background: #fff;
	border: 1px solid var(--hl-line);
	border-radius: 16px;
	padding: 6px;
	box-shadow: var(--hl-shadow);
}

.hl-product-search input {
	flex: 1;
	min-width: 0;
	border: 0;
	outline: none;
	background: transparent;
	padding: 12px 14px;
	font-size: 15px;
	color: var(--hl-text);
}

.hl-product-search button {
	border: 0;
	background: var(--hl-primary);
	color: #fff;
	padding: 12px 18px;
	border-radius: 12px;
	font-size: 14px;
	font-weight: 800;
	cursor: pointer;
	transition: 0.25s ease;
}

.hl-product-search button:hover {
	background: var(--hl-primary-dark);
}

.hl-product-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

.hl-product-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #fff;
	border: 1px solid var(--hl-line);
	border-radius: 24px;
	overflow: hidden;
	box-shadow: var(--hl-shadow);
	transition:
		transform 0.28s ease,
		box-shadow 0.28s ease,
		border-color 0.28s ease;
}

.hl-product-card:hover {
	transform: translateY(-8px);
	border-color: rgba(215, 114, 51, 0.28);
	box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
}

.hl-product-card__image {
	aspect-ratio: 1 / 1;
	background: linear-gradient(180deg, #f8f9fb 0%, #eef1f4 100%);
	padding: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hl-product-card__image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.hl-product-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 18px;
}

.hl-product-card__badge {
	display: inline-block;
	align-self: flex-start;
	padding: 6px 12px;
	border-radius: 999px;
	background: #f2f4f7;
	color: #475467;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	margin-bottom: 12px;
}

.hl-product-card__body h3 {
	margin: 0 0 10px;
	font-size: 23px;
	font-weight: 900;
	line-height: 1.4;
	color: var(--hl-text);
}

.hl-product-card__body p {
	margin: 0 0 18px;
	font-size: 15px;
	line-height: 1.85;
	color: var(--hl-muted);
	flex: 1;
}

.hl-product-card__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 14px 18px;
	background: var(--hl-dark);
	color: #fff;
	text-decoration: none;
	border-radius: 14px;
	font-size: 15px;
	font-weight: 800;
	transition: 0.25s ease;
}

.hl-product-card__btn:hover {
	background: var(--hl-primary);
	color: #fff;
}

.hl-pagination {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 32px;
	flex-wrap: wrap;
}

.hl-pagination a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 46px;
	height: 46px;
	padding: 0 16px;
	border: 1px solid var(--hl-line);
	border-radius: 12px;
	background: #fff;
	color: var(--hl-text);
	text-decoration: none;
	font-size: 15px;
	font-weight: 800;
	transition: 0.25s ease;
}

.hl-pagination a:hover,
.hl-pagination a.is-active {
	background: var(--hl-primary);
	border-color: var(--hl-primary);
	color: #fff;
}

@media (max-width: 1399.98px) {
	.hl-product-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 991.98px) {
	.hl-product-layout {
		grid-template-columns: 1fr;
	}

	.hl-product-sidebar {
		position: static;
	}

	.hl-product-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767.98px) {
	.hl-product-banner {
		min-height: 260px;
	}

	.hl-product-banner__inner {
		padding: 56px 0;
	}

	.hl-product-toolbar {
		align-items: stretch;
	}

	.hl-product-search {
		max-width: 100%;
	}

	.hl-product-grid {
		grid-template-columns: 1fr;
	}
}
