.penna-elegance-products {
	--penna-elegance-columns: 4;
	--penna-elegance-column-gap: 16px;
	--penna-elegance-row-gap: 42px;
	--penna-elegance-header-spacing: 28px;
	--penna-elegance-title-nav-gap: 32px;
	--penna-elegance-parent-gap: 13px;
	--penna-elegance-child-gap: 13px;
	--penna-elegance-product-gap: 13px;
	width: 100%;
	font-family: "Instrument Sans", sans-serif;
}

.penna-elegance-products__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: var(--penna-elegance-title-nav-gap);
	margin-bottom: var(--penna-elegance-header-spacing);
}

.penna-elegance-products__title {
	flex: 0 1 auto;
	margin: 8px 0 0;
	color: #0a0a0a;
	font-family: "Instrument Sans", sans-serif;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0;
}

.penna-elegance-products__navigation {
	display: flex;
	flex: 0 1 auto;
	flex-direction: column;
	align-items: stretch;
	width: max-content;
	max-width: 68%;
	gap: 10px;
}

.penna-elegance-products__parents,
.penna-elegance-products__children {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	max-width: 100%;
}

.penna-elegance-products__parents { gap: var(--penna-elegance-parent-gap); margin: 0; }
.penna-elegance-products__children { gap: var(--penna-elegance-child-gap); }
.penna-elegance-products__children {
	flex-wrap: wrap;
	justify-content: flex-start;
	margin: 0;
	padding-top: 10px;
	border-top: 1px solid #e4e4e7;
}
.penna-elegance-products__children.is-hidden { display: none; }

.penna-elegance-products__parent,
.penna-elegance-products__child {
	appearance: none;
	display: inline-flex !important;
	flex: 0 0 auto !important;
	align-items: center;
	justify-content: center;
	width: auto !important;
	min-width: 0 !important;
	max-width: none !important;
	margin: 0;
	padding: 5px 0 7px !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: #a1a1aa !important;
	font-family: "Instrument Sans", sans-serif !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	line-height: 1.25;
	letter-spacing: 0 !important;
	text-transform: none !important;
	white-space: nowrap;
	cursor: pointer;
}

.penna-elegance-products__parent {
	position: relative;
	color: #a1a1aa !important;
}

.penna-elegance-products__parent::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 1px;
	left: 0;
	height: 1px;
	background: #111;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 160ms ease;
}

.penna-elegance-products__parent.is-selected {
	color: #000 !important;
}

.penna-elegance-products__parent.is-selected::after { transform: scaleX(1); }

.penna-elegance-products__child {
	color: #a1a1aa !important;
}

.penna-elegance-products__child.is-selected {
	color: #000 !important;
}

.penna-elegance-products__parent:focus-visible,
.penna-elegance-products__child:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

.penna-elegance-products__parent:disabled,
.penna-elegance-products__child:disabled { cursor: wait; opacity: .55; }

.penna-elegance-products__slider {
	width: 100%;
	overflow: hidden;
}

.penna-elegance-products__grid {
	display: flex;
	transition: opacity 160ms ease;
}

.penna-elegance-products__card { height: auto; }

.penna-elegance-products__grid .penna-shop-product__title { margin-top: var(--penna-elegance-product-gap); }

.penna-elegance-products__empty {
	width: 100% !important;
	margin: 0;
	padding: 42px 20px;
	background: #f7f7f7;
	color: #555;
	font-size: 14px;
	text-align: center;
}

.penna-elegance-products__pagination.swiper-pagination {
	position: relative;
	top: auto;
	right: auto;
	bottom: auto;
	left: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 24px;
	transform: none;
}

.penna-elegance-products__pagination .swiper-pagination-bullet {
	position: relative;
	width: 7px !important;
	height: 7px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	background: #d4d4d8 !important;
	box-shadow: none !important;
	opacity: 1 !important;
	transform: none !important;
}

.penna-elegance-products__pagination .swiper-pagination-bullet-active {
	background: #000 !important;
}

.penna-elegance-products__pagination .swiper-pagination-bullet::before,
.penna-elegance-products__pagination .swiper-pagination-bullet::after {
	display: none !important;
	content: none !important;
}

.penna-elegance-products__pagination.swiper-pagination-lock { display: none; }

.penna-elegance-products.is-loading .penna-elegance-products__grid {
	opacity: .5;
	pointer-events: none;
}

@media (max-width: 1024px) {
	.penna-elegance-products { --penna-elegance-columns: 2; }
	.penna-elegance-products__navigation { max-width: 62%; }
}

@media (max-width: 767px) {
	.penna-elegance-products {
		--penna-elegance-columns: 2;
		--penna-elegance-column-gap: 10px;
		--penna-elegance-row-gap: 28px;
		--penna-elegance-header-spacing: 22px;
	}

	.penna-elegance-products__header {
		flex-direction: column;
		align-items: stretch;
		gap: 18px;
	}

	.penna-elegance-products__title { width: 100%; }

	.penna-elegance-products__navigation {
		align-items: stretch;
		width: 100%;
		min-width: 0;
		max-width: 100%;
		gap: 9px;
	}

	.penna-elegance-products__parents {
		flex-wrap: nowrap;
		justify-content: flex-start;
		width: calc(100% + 24px);
		max-width: none;
		margin-inline: -12px;
		padding: 2px 12px 7px;
		overflow-x: auto;
		overflow-y: hidden;
		white-space: nowrap;
		scroll-padding-inline: 12px;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}

	.penna-elegance-products__children {
		display: block !important;
		width: 100% !important;
		min-width: 0 !important;
		max-width: 100% !important;
		margin-inline: 0;
		padding-top: 10px;
		padding-right: 0;
		padding-bottom: 0;
		padding-left: 0;
		overflow: hidden;
		box-sizing: border-box;
		font-size: 0;
		white-space: normal;
	}

	.penna-elegance-products__children .penna-elegance-products__child {
		display: inline-flex !important;
		justify-content: flex-start;
		max-width: 100% !important;
		margin: 0 var(--penna-elegance-child-gap) 8px 0 !important;
	}

	.penna-elegance-products__parents::-webkit-scrollbar { display: none; }

	.penna-elegance-products__parent,
	.penna-elegance-products__child { min-height: 40px; }

	.penna-elegance-products .penna-shop-product__title {
		display: -webkit-box;
		overflow: hidden;
		font-size: 12px;
		line-height: 1.35;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
	}

	.penna-elegance-products .penna-shop-product__price { font-size: 12px; }
	.penna-elegance-products .penna-shop-product__cta { left: 6px; right: 6px; bottom: 6px; min-height: 34px; padding-inline: 8px; font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
	.penna-elegance-products__parent::after,
	.penna-elegance-products__grid { transition: none; }
}
