.hyj-beauty-mobile-page {
	background: #f8f7f2;
	color: #24342c;
}

.hyj-beauty-mobile-page *,
.hyj-beauty-mobile-page *::before,
.hyj-beauty-mobile-page *::after {
	box-sizing: border-box;
}

.hyj-beauty-mobile-hero {
	display: flex;
	min-height: 300px;
	align-items: center;
	padding: 46px 0;
	background:
		linear-gradient(90deg, rgba(250, 248, 241, .98) 0%, rgba(250, 248, 241, .88) 48%, rgba(250, 248, 241, .48) 100%),
		url("../images/category-heroes/beauty-care-hero.webp") center right / cover no-repeat;
}

.hyj-beauty-mobile-hero h1 {
	max-width: 600px;
	margin: 0 0 14px;
	color: #20352a;
	font-size: clamp(30px, 5vw, 44px);
	font-weight: 850;
	letter-spacing: -.035em;
	line-height: 1.2;
}

.hyj-beauty-mobile-hero p {
	max-width: 460px;
	margin: 0;
	color: #5f7167;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.7;
}

.hyj-beauty-mobile-main {
	padding: 22px 0 64px;
}

.hyj-beauty-category-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	margin: 0 0 30px;
}

.hyj-beauty-category-entry {
	display: grid;
	grid-template-columns: 13px minmax(0, 1fr);
	gap: 5px 9px;
	align-items: center;
	width: 100%;
	min-height: 72px;
	padding: 13px 15px;
	-webkit-appearance: none;
	appearance: none;
	border: 1px solid rgba(71, 84, 76, .1);
	border-radius: 14px;
	color: #26372e;
	font: inherit;
	text-align: left;
	box-shadow: 0 7px 20px rgba(47, 61, 52, .05);
	cursor: pointer;
	transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.hyj-beauty-category-entry.is-sage {
	background: #edf3eb;
}

.hyj-beauty-category-entry.is-rose {
	background: #f6eeee;
}

.hyj-beauty-category-entry.is-sand {
	background: #f4f0e5;
}

.hyj-beauty-category-entry.is-mist {
	background: #edf2f2;
}

.hyj-beauty-category-mark {
	grid-row: 1 / span 2;
	width: 10px;
	height: 34px;
	border-radius: 999px;
	background: #8da793;
}

.is-rose .hyj-beauty-category-mark {
	background: #c49b9a;
}

.is-sand .hyj-beauty-category-mark {
	background: #b9a77d;
}

.is-mist .hyj-beauty-category-mark {
	background: #89a4a3;
}

.hyj-beauty-category-entry strong {
	font-size: 15px;
	line-height: 1.25;
	white-space: nowrap;
}

.hyj-beauty-category-entry small {
	grid-column: 2;
	color: #748077;
	font-size: 11px;
	line-height: 1.2;
}

.hyj-beauty-category-entry.is-active {
	border-color: rgba(65, 98, 78, .42);
	box-shadow: 0 8px 22px rgba(47, 61, 52, .09), inset 0 0 0 1px rgba(255, 255, 255, .72);
	transform: translateY(-1px);
}

.hyj-beauty-category-entry:focus-visible,
.hyj-beauty-expand:focus-visible,
.hyj-beauty-product-card > a:focus-visible {
	outline: 2px solid #527963;
	outline-offset: 3px;
}

.hyj-beauty-sections {
	min-height: 72px;
}

.hyj-beauty-product-section {
	padding-top: 20px;
	border-top: 1px solid rgba(74, 91, 81, .13);
}

.hyj-beauty-product-section[hidden] {
	display: none;
}

.hyj-beauty-section-head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
}

.hyj-beauty-section-head h2 {
	margin: 0;
	color: #233a2e;
	font-size: 27px;
	font-weight: 850;
	letter-spacing: -.025em;
	line-height: 1.2;
}

.hyj-beauty-section-head > span {
	flex: 0 0 auto;
	padding-bottom: 2px;
	color: #7b887f;
	font-size: 12px;
}

.hyj-beauty-product-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.hyj-beauty-product-card {
	min-width: 0;
	overflow: hidden;
	border: 1px solid rgba(61, 78, 67, .1);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 7px 22px rgba(43, 58, 49, .055);
}

.hyj-beauty-product-card[hidden] {
	display: none;
}

.hyj-beauty-product-card > a {
	display: flex;
	height: 100%;
	min-width: 0;
	flex-direction: column;
	color: inherit;
	text-decoration: none;
}

.hyj-beauty-product-image {
	position: relative;
	display: flex;
	width: 100%;
	aspect-ratio: 1 / 1;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	padding: 11px;
	background: #fcfcfa;
	color: #9aa39d;
	font-size: 12px;
}

.hyj-beauty-product-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
}

.hyj-beauty-product-content {
	display: flex;
	min-height: 116px;
	flex: 1;
	flex-direction: column;
	padding: 12px 13px 13px;
}

.hyj-beauty-product-content h3 {
	display: -webkit-box;
	min-height: 2.9em;
	margin: 0;
	overflow: hidden;
	color: #293a31;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.45;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.hyj-beauty-product-summary {
	min-height: 1.5em;
	margin: 7px 0 0;
	overflow: hidden;
	color: #79867f;
	font-size: 12px;
	line-height: 1.5;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hyj-beauty-product-summary[hidden] {
	display: block;
	visibility: hidden;
}

.hyj-beauty-product-price {
	min-height: 1.55em;
	margin: auto 0 0;
	padding-top: 9px;
	color: #9a5d48;
	font-size: 13px;
	font-weight: 850;
	line-height: 1.55;
}

.hyj-beauty-expand {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-width: 120px;
	min-height: 40px;
	margin: 18px auto 0;
	padding: 8px 18px;
	border: 1px solid #cdd8d1;
	border-radius: 999px;
	background: rgba(255, 255, 255, .78);
	color: #52655a;
	font: inherit;
	font-size: 13px;
	font-weight: 750;
	cursor: pointer;
}

.hyj-beauty-expand > span:last-child {
	transition: transform .18s ease;
}

.hyj-beauty-expand[aria-expanded="true"] > span:last-child {
	transform: rotate(180deg);
}

.hyj-beauty-empty {
	margin: 0;
	padding: 2px 0;
	color: #7b8880;
	font-size: 13px;
}

@media (max-width: 900px) {
	.hyj-beauty-product-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.hyj-beauty-mobile-hero {
		min-height: 230px;
		padding: 34px 0;
		background-position: 62% center;
	}

	.hyj-beauty-mobile-hero h1 {
		max-width: 10em;
		margin-bottom: 11px;
		font-size: 28px;
	}

	.hyj-beauty-mobile-hero p {
		max-width: 14em;
		font-size: 15px;
		line-height: 1.6;
	}

	.hyj-beauty-mobile-main {
		padding: 14px 0 34px;
	}

	.hyj-beauty-category-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
		margin-bottom: 14px;
	}

	.hyj-beauty-category-entry {
		grid-template-columns: 10px minmax(0, 1fr);
		min-height: 64px;
		padding: 10px 11px;
		border-radius: 12px;
	}

	.hyj-beauty-category-mark {
		width: 7px;
		height: 28px;
	}

	.hyj-beauty-category-entry strong {
		font-size: 14px;
	}

	.hyj-beauty-product-section {
		padding-top: 14px;
	}

	.hyj-beauty-section-head {
		margin-bottom: 12px;
	}

	.hyj-beauty-section-head h2 {
		font-size: 22px;
	}

	.hyj-beauty-product-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 9px;
	}

	.hyj-beauty-product-card {
		border-radius: 11px;
	}

	.hyj-beauty-product-image {
		padding: 8px;
	}

	.hyj-beauty-product-content {
		min-height: 108px;
		padding: 9px 10px 11px;
	}

	.hyj-beauty-product-content h3 {
		font-size: 13px;
	}

	.hyj-beauty-product-summary {
		margin-top: 5px;
		font-size: 11px;
	}

	.hyj-beauty-product-price {
		padding-top: 7px;
		font-size: 12px;
	}

	.hyj-beauty-mobile-page .hyj-selection-side-nav {
		width: 30px !important;
		min-width: 30px !important;
		height: 44px !important;
		min-height: 44px !important;
		opacity: .2 !important;
	}

	.hyj-beauty-mobile-page .hyj-selection-side-nav-left {
		left: 3px !important;
	}

	.hyj-beauty-mobile-page .hyj-selection-side-nav-right {
		right: 3px !important;
	}

	.hyj-beauty-mobile-page .hyj-selection-side-nav-text {
		display: none !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hyj-beauty-mobile-page {
		scroll-behavior: auto;
	}
}
