/* Accessories archive — standalone native styles (archive-accessories-native.css) */

.an-page {
	text-align: center;
	letter-spacing: 0;
	font-family: HarmonyOS Sans, sans-serif;
	word-wrap: break-word;
}

.an-page h1,
.an-page h2,
.an-page h3,
.an-page h4,
.an-page h5,
.an-page h6,
.an-page p {
	margin-bottom: 0;
}

.an-page .container {
	width: auto !important;
	max-width: 1200px;
	padding-left: 0;
	padding-right: 0;
}

.an-page .container .row {
	margin-left: 0;
	margin-right: 0;
}

.an-page .container .row > * {
	padding-left: 0;
	padding-right: 0;
}

/* Breadcrumb */
.an-page .breadcrumb {
	font-size: 14px;
	line-height: normal;
	padding-top: 50px;
	--bs-breadcrumb-margin-bottom: 0;
	--bs-breadcrumb-item-padding-x: 3px;
	--bs-breadcrumb-item-active-color: #bbb;
	--bs-breadcrumb-divider-color: #bbb;
}

.an-page .breadcrumb a {
	color: #bbb;
	text-decoration: none;
}

/* Intro */
.an-page__intro {
	margin: 0 auto;
	padding-top: 34px;
	padding-bottom: 100px;
}

.an-page__intro h2 {
	color: #262629;
	font-size: 48px;
	font-weight: 500;
	line-height: normal;
	letter-spacing: -0.96px;
}

.an-page__intro p {
	color: #4b4d50;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: -0.16px;
	margin-top: 26px;
}

/* Content area */
.an-page__content {
	background: #f8f9fd;
	border-top: 1px solid #edeff2;
	padding-bottom: 150px;
	position: relative;
}

.an-page__content > .container > .an-page__row {
	align-items: stretch;
}

.an-page__mask {
	display: none;
}

/* Sidebar / filter shell */
.an-page__sidebar {
	padding-left: 40px;
	padding-right: 40px;
	padding-bottom: 2px;
	margin-top: 37px;
	border-radius: 8px;
	background: #fff;
	max-width: 345px;
	width: 100%;
	box-sizing: border-box;
}

.an-filter {
	position: relative;
	width: 100%;
}

.an-filter__form {
	width: 100%;
	text-align: left;
}

.an-filter ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Search */
.an-filter__search {
	padding-top: 37px;
	margin-bottom: 20px;
}

.an-filter__search-input {
	border-radius: 4px;
	border: 0;
	background-color: #f6f8f9;
	background-image: url("https://www.hollyland.com/wp-content/uploads/2024/02/Frame.svg");
	background-repeat: no-repeat;
	background-position: 10px center;
	background-size: 16px 16px;
	padding: 10px 30px;
	width: 100%;
	height: 43px;
	font-size: 14px;
	font-weight: 400;
	line-height: normal;
	letter-spacing: -0.14px;
	color: #4b4d50;
	outline: none;
	box-sizing: border-box;
}

/* Desktop toolbar */
.an-filter__toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 30px;
}

.an-filter__toolbar-label {
	border: 0;
	background: transparent;
	color: rgba(0, 0, 0, 0.85);
	font-size: 18px;
	font-weight: 500;
	line-height: 24px;
	letter-spacing: -0.18px;
	padding: 0;
}

.an-filter__reset {
	border: 0;
	background: transparent;
	color: #02a1f9;
	font-size: 14px;
	font-weight: 500;
	line-height: 24px;
	letter-spacing: -0.14px;
	padding: 0;
	cursor: pointer;
	font-family: inherit;
}

.an-filter__reset--mobile {
	display: none;
}

/* Mobile tab bar (section headers become tabs on small screens) */
.an-filter__tabbar {
	display: none;
}

/* Filter sections */
.an-filter__section {
	margin-bottom: 30px;
}

.an-filter__section:last-child {
	padding-top: 30px;
	border-top: 1px solid #edeff2;
	margin-bottom: 0;
}

.an-filter__section-title {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0 0 14px;
	border: 0;
	background: transparent;
	text-align: left;
	color: rgba(0, 0, 0, 0.85);
	font-family: HarmonyOS Sans, sans-serif;
	font-size: 14px;
	font-weight: 500;
	line-height: 24px;
	letter-spacing: -0.14px;
	cursor: default;
	pointer-events: none;
}

.an-filter__panel {
	display: block;
}

/* Product tree parent rows */
.an-filter__parent {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 8px;
	width: 100%;
	padding: 0;
	margin: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	text-align: left;
	font-family: inherit;
}

.an-filter__parent-name {
	flex: 1;
	min-width: 0;
	color: rgba(0, 0, 0, 0.8);
	font-size: 14px;
	font-weight: 400;
	line-height: 24px;
	letter-spacing: -0.14px;
}

.an-filter__chevron {
	display: block;
	flex-shrink: 0;
	width: 16px;
	min-width: 16px;
	height: 16px;
	margin-top: 4px;
	background: transparent url("https://www.hollyland.com/wp-content/uploads/2024/02/down.svg") no-repeat center center;
	background-size: cover;
	transition: transform 0.3s ease-in-out;
}

.an-filter__item--parent.is-open > .an-filter__parent .an-filter__chevron {
	transform: rotate(180deg);
}

.an-filter__item--parent.is-closed > .an-filter__children {
	display: none;
}

.an-filter__list--roots > .an-filter__item--parent {
	margin-bottom: 12px;
}

.an-filter__list--roots > .an-filter__item--parent:last-child {
	margin-bottom: 0;
}

.an-filter__children {
	padding-left: 0;
	padding-top: 14px;
	margin-top: 0;
}

.an-filter__children > .an-filter__item--leaf {
	margin-bottom: 8px;
}

.an-filter__children > .an-filter__item--leaf:last-child {
	margin-bottom: 0;
}

.an-filter__children > .an-filter__item--parent {
	margin-bottom: 8px;
}

.an-filter__children > .an-filter__item--parent:last-child {
	margin-bottom: 0;
}

/* Mobile / desktop section tab chevron (hidden on desktop) */
.an-filter__section-chevron {
	display: none;
	flex-shrink: 0;
	width: 12px;
	height: 12px;
	background: url("https://www.hollyland.com/wp-content/uploads/2024/02/down-1.png") no-repeat center center;
	background-size: cover;
	transition: transform 0.3s ease-in-out;
}

.an-filter__section-title-text {
	flex: 0 1 auto;
}

/* Checkbox rows */
.an-filter__label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 0;
	padding-left: 0;
	cursor: pointer;
}

.an-filter__section--accessory .an-filter__item--leaf {
	margin-bottom: 10px;
}

.an-filter__section--accessory .an-filter__item--leaf:last-child {
	margin-bottom: 0;
}

.an-filter__label span {
	color: #bbb;
	font-size: 14px;
	font-weight: 400;
	line-height: 24px;
	letter-spacing: -0.14px;
}

.an-filter__label:hover span,
.an-filter__label input:checked + span {
	color: rgba(0, 0, 0, 0.8);
}

.an-filter__label input[type="checkbox"] {
	flex-shrink: 0;
	cursor: pointer;
	position: relative;
	width: 16px;
	height: 16px;
	margin: 4px 0 0;
	font-size: 10px;
	appearance: none;
}

.an-filter__label input[type="checkbox"]::after {
	position: absolute;
	top: 0;
	left: 0;
	color: #333;
	width: 16px;
	height: 16px;
	display: inline-block;
	visibility: visible;
	text-align: center;
	content: " ";
	border-radius: 3px;
	border: 1px solid #bbb;
}

.an-filter__label input[type="checkbox"]:checked::after {
	content: "\2713";
	color: #333;
	font-size: 10px;
	font-weight: bold;
	background-color: #fff;
	border: 1px solid #333;
}

/* Results column */
.an-page__main {
	padding-top: 25px;
	padding-left: 12px;
	height: 100%;
	text-align: left;
}

.an-results.is-loading {
	opacity: 0.55;
	pointer-events: none;
	transition: opacity 0.2s ease;
}

/* Chips */
.an-chips {
	padding-top: 12px;
}

.an-chips__list {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	margin: 0;
	padding: 0;
}

.an-chips__item {
	margin-bottom: 10px;
	margin-right: 10px;
}

.an-chips__btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex-direction: row-reverse;
	padding: 1.5px 15px 3.5px;
	border: 0;
	border-radius: 40px;
	background: #fff;
	text-decoration: none;
	cursor: pointer;
	font: inherit;
}

.an-chips__remove,
.an-chips__label {
	color: #c10016;
	font-size: 14px;
	font-weight: 500;
	line-height: normal;
}

/* Product cards */
.an-card-grid a {
	display: block;
	text-decoration: none;
}

.an-card-grid .an-card {
	border-radius: 8px;
	background: #fff;
	margin-top: 12px;
	overflow: hidden;
}

.an-card-grid .an-card__body {
	height: 80px;
	overflow: hidden;
	padding: 0 30px;
	text-align: center;
}

.an-card-grid .an-card__body p {
	color: #000;
	font-size: 12px;
	font-weight: 400;
	line-height: 20px;
	letter-spacing: -0.14px;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	text-overflow: ellipsis;
}

.an-card-grid .an-card__body p:last-child {
	-webkit-line-clamp: 1;
}

.an-card-grid .row > *:nth-child(3n+1) .an-card {
	margin-left: 0;
	margin-right: 8px;
}

.an-card-grid .row > *:nth-child(3n+2) .an-card {
	margin-left: 4px;
	margin-right: 4px;
}

.an-card-grid .row > *:nth-child(3n+3) .an-card {
	margin-left: 8px;
	margin-right: 0;
}

.an-pagination {
	margin-top: 20px;
	width: 100%;
}

.an-page nav .pagination {
	--bs-pagination-focus-color: #fff;
	--bs-pagination-focus-bg: transparent;
	--bs-pagination-hover-bg: transparent;
	--bs-pagination-disabled-bg: transparent;
	--bs-pagination-hover-color: #fff;
	--bs-pagination-disabled-color: #fff;
	--bs-pagination-border-width: 0;
	--bs-pagination-focus-box-shadow: none;
	--bs-pagination-bg: transparent;
	margin-bottom: 0;
	justify-content: center;
}

.an-page nav .pagination .page-link {
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	font-size: 14px;
	font-weight: 500;
	color: #959595;
	line-height: normal;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

.an-page nav .pagination .page-item.active .page-link {
	background: #c10016;
	color: #fff;
}

.an-page nav .pagination .next,
.an-page nav .pagination .prev {
	text-indent: -9999px;
	background-size: cover;
}

.an-page nav .pagination .next {
	background: url("https://www.hollyland.com/wp-content/uploads/2024/02/pagination-right.svg") no-repeat center center;
}

.an-page nav .pagination .prev {
	background: url("https://www.hollyland.com/wp-content/uploads/2024/02/pagination-left.svg") no-repeat center center;
}

/* ─── Desktop (≥992px) ─── */
@media screen and (min-width: 992px) {
	.an-page__row {
		--bs-gutter-x: 0;
		margin-left: 0;
		margin-right: 0;
		display: flex;
		flex-wrap: nowrap;
		align-items: stretch;
		gap: 12px;
	}

	.an-page__sidebar-col {
		flex: 0 0 345px;
		width: 345px;
		max-width: 345px;
		padding-left: 0;
		padding-right: 0;
	}

	.an-page__main-col {
		flex: 1 1 0;
		min-width: 0;
		width: auto;
		max-width: none;
		padding-left: 0;
		padding-right: 0;
	}

	.an-page__main {
		padding-left: 0;
	}

	/* Mirror Accessory section-title padding-bottom (14px) below expanded parent row. */
	.an-filter__section--product .an-filter__item--parent.is-open > .an-filter__parent {
		padding-bottom: 14px;
	}

	.an-filter__section--product .an-filter__item--parent.is-open > .an-filter__children {
		padding-top: 0;
	}

	.an-filter__panel {
		display: block !important;
	}
}

/* ─── Mobile (≤991px) ─── */
@media screen and (max-width: 991px) {
	.an-page .breadcrumb {
		display: none;
	}

	.an-page__intro {
		padding: 50px 25px 35px;
	}

	.an-page__intro h2 {
		font-size: 24px;
	}

	.an-page__intro p {
		font-size: 12px;
		line-height: 15px;
		margin-top: 15px;
	}

	.an-page__content {
		border-top: none;
		padding-top: 0;
		padding-bottom: 50px;
	}

	.an-page__sidebar {
		max-width: none;
		padding: 0;
		margin-top: 0;
		border-radius: 0;
		background: #fff;
	}

	.an-page__sidebar-col {
		position: relative;
		z-index: 20;
	}

	.an-page__mask {
		position: absolute;
		bottom: 0;
		left: 0;
		width: 100%;
		height: calc(100% - 180px);
		background: rgba(0, 0, 0, 0.6);
		z-index: 10;
	}

	.an-page.is-filter-open .an-page__mask {
		display: block;
	}

	.an-filter__search {
		padding: 0 25px;
		margin-bottom: 15px;
	}

	.an-filter__search-input {
		height: 30px;
		font-size: 12px;
		background-size: 15px 15px;
	}

	.an-filter__toolbar {
		display: none;
	}

	.an-filter__reset--mobile {
		display: block;
		position: absolute;
		top: 45px;
		right: 12.5px;
		z-index: 25;
		height: 45px;
		padding: 0 0 0 8px;
		margin: 0;
		border: 0;
		background: transparent;
		color: #0071e3;
		font-size: 12px;
		font-weight: 400;
		line-height: 45px;
	}

	.an-filter {
		z-index: 21;
	}

	.an-filter__sections {
		display: flex;
		flex-wrap: nowrap;
		justify-content: flex-start;
		align-items: stretch;
		border-top: 1px solid #edeff2;
		border-bottom: 1px solid #edeff2;
		position: relative;
		z-index: 22;
		padding-right: 52px;
	}

	.an-filter__section {
		flex: 0 0 auto;
		width: auto;
		margin-bottom: 0;
		padding: 0;
		border: 0;
		position: static;
	}

	.an-filter__section--accessory {
		margin-left: 30px;
	}

	.an-filter__section:last-child {
		padding-top: 0;
		border-top: 0;
	}

	.an-filter__section-title {
		position: relative;
		display: inline-flex;
		align-items: center;
		justify-content: flex-start;
		gap: 4px;
		width: auto;
		padding: 15px 4px 15px 0;
		margin-bottom: 0;
		font-size: 12px;
		font-weight: 500;
		line-height: 15px;
		color: rgba(0, 0, 0, 0.85);
		cursor: pointer;
		pointer-events: auto;
		box-sizing: border-box;
		text-align: left;
		white-space: nowrap;
	}

	.an-filter__section--product .an-filter__section-title {
		padding-left: 12.5px;
		padding-right: 0;
	}

	.an-filter__section--accessory .an-filter__section-title {
		padding-left: 0;
		padding-right: 0;
		font-size: 12px;
		line-height: 15px;
		letter-spacing: -0.14px;
	}

	.an-filter__section-chevron {
		display: block;
	}

	.an-filter__section.is-active .an-filter__section-chevron {
		transform: rotate(180deg);
	}

	.an-filter__panel {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		width: 100%;
		background: #fff;
		z-index: 22;
		padding: 10px 12.5px 20px;
		box-sizing: border-box;
		border-top: 1px solid #edeff2;
		text-align: left;
	}

	.an-filter__section--accessory .an-filter__panel {
		left: 0;
		right: 0;
	}

	.an-filter__section.is-active .an-filter__panel {
		display: block;
	}

	.an-filter__section--product .an-filter__panel {
		padding: 0 12.5px 16px;
	}

	.an-filter__section--product .an-filter__list--roots > .an-filter__item--parent {
		padding: 20px 0;
		margin: 0;
		border-bottom: 1px solid #edeff2;
	}

	.an-filter__section--product .an-filter__list--roots > .an-filter__item--parent.is-open > .an-filter__children {
		padding-top: 14px;
		padding-bottom: 6px;
	}

	.an-filter__section--product .an-filter__parent {
		justify-content: space-between;
		gap: 8px;
	}

	.an-filter__section--product .an-filter__parent-name {
		flex: 1;
		min-width: 0;
		font-size: 12px;
		font-weight: 500;
		line-height: 15px;
		color: rgba(0, 0, 0, 0.85);
	}

	.an-filter__section--product .an-filter__children > .an-filter__item--leaf {
		margin-bottom: 12px;
	}

	.an-filter__section--product .an-filter__children > .an-filter__item--leaf:last-child {
		margin-bottom: 0;
	}

	.an-filter__section--product .an-filter__label,
	.an-filter__section--accessory .an-filter__label {
		align-items: center;
		min-height: 15px;
		line-height: 15px;
		gap: 10px;
	}

	.an-filter__section--product .an-filter__label span,
	.an-filter__section--accessory .an-filter__label span {
		font-size: 12px;
		line-height: 15px;
	}

	.an-filter__section--product .an-filter__label input[type="checkbox"],
	.an-filter__section--accessory .an-filter__label input[type="checkbox"] {
		width: 15px;
		height: 15px;
		margin: 0;
	}

	.an-filter__section--product .an-filter__label input[type="checkbox"]::after,
	.an-filter__section--accessory .an-filter__label input[type="checkbox"]::after {
		width: 15px;
		height: 15px;
	}

	.an-filter__section--product .an-filter__list--roots > .an-filter__item--parent:last-child {
		border-bottom: none;
	}

	.an-filter__section--product .an-filter__chevron {
		width: 15px;
		min-width: 15px;
		height: 15px;
		margin-top: 0;
	}

	.an-filter__section--accessory .an-filter__item--leaf {
		margin-bottom: 12px;
	}

	.an-filter__section--accessory .an-filter__item--leaf:last-child {
		margin-bottom: 0;
	}

	.an-page__main {
		margin-top: 15px;
		padding: 0 12.5px;
		min-height: 0;
	}

	.an-chips {
		padding-top: 0;
		padding-bottom: 0;
	}

	.an-chips__list {
		-ms-overflow-style: none;
		scrollbar-width: none;
	}

	.an-chips__list::-webkit-scrollbar {
		display: none;
	}

	.an-chips__remove,
	.an-chips__label {
		font-size: 12px;
	}

	.an-card-grid {
		padding-top: 10px;
	}

	.an-card-grid .row > *:nth-child(3n+1) .an-card,
	.an-card-grid .row > *:nth-child(3n+2) .an-card,
	.an-card-grid .row > *:nth-child(3n+3) .an-card {
		margin-left: 0;
		margin-right: 0;
	}

	.an-card-grid .row > *:nth-child(2n+1) .an-card {
		margin-left: 0;
		margin-right: 2.5px;
	}

	.an-card-grid .row > *:nth-child(2n+2) .an-card {
		margin-left: 2.5px;
		margin-right: 0;
	}

	.an-card-grid .an-card {
		margin-top: 5px;
	}

	.an-card-grid .an-card__body {
		height: 54px;
		padding: 0 15px;
	}

	.an-card-grid .an-card__body p {
		font-size: 10px;
		line-height: 12px;
		letter-spacing: -0.12px;
	}

	.an-page nav .pagination {
		margin-top: 20px;
	}

	.an-page nav .pagination .page-link {
		width: 25px;
		height: 25px;
		font-size: 12px;
		letter-spacing: -0.28px;
	}
}
