@layer components {
/* LuniArt Showcase v1.7.82 - component layer overrides */
/* stylelint-disable declaration-no-important -- Product/lightbox layer. */
/* stylelint-disable no-duplicate-selectors -- Product/lightbox layer. */

.product-info a.product-back,
.product-info a.product-back.btn,
.product-info a.btn.product-back,
.product-info a.btn-catalog.product-back {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	padding: 10px 14px !important;
	border-radius: 14px !important;
	border: 1px solid var(--luniart-button-border, rgb(35 134 173 / 22%)) !important;
	border-bottom: 1px solid var(--luniart-button-border, rgb(35 134 173 / 22%)) !important;
	background: rgb(255 255 255 / 88%) !important;
	color: #135e96 !important;
	text-decoration: none !important;
	box-shadow: none !important;
	text-shadow: none !important;
	transition: none !important;
	animation: none !important;
	filter: none !important;
	transform: none !important;
	opacity: 1 !important;
}

.product-info a.product-back:hover,
.product-info a.product-back:active,
.product-info a.product-back:focus,
.product-info a.product-back:focus-visible {
	border: 1px solid var(--luniart-button-border, rgb(35 134 173 / 22%)) !important;
	border-bottom: 1px solid var(--luniart-button-border, rgb(35 134 173 / 22%)) !important;
	background: rgb(255 255 255 / 94%) !important;
	color: #135e96 !important;
	box-shadow: none !important;
	text-shadow: none !important;
	filter: none !important;
	transform: none !important;
	opacity: 1 !important;
}

.product-info a.product-back::before,
.product-info a.product-back::after {
	content: none !important;
	display: none !important;
}

/* LuniArt Showcase v1.7.81 - product gallery swipe + lightbox */
.product-media [data-slider] {
	touch-action: pan-y;
}

.product-media .slide {
	display: none;
}

.product-media .slide:first-child {
	display: block;
}

.product-zoom {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: zoom-in;
}

.product-image {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.product-zoom-hint {
	display: none !important;
}

.slider-controls {
	align-items: center;
	justify-content: space-between;
}

.slider-counter {
	min-width: 72px;
	text-align: center;
	font-size: 13px;
	font-weight: 700;
	color: rgb(15 23 42 / 72%);
}

.product-thumbs {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 0 12px 12px;
	overflow-x: auto;
	scrollbar-width: thin;
}

.product-thumb {
	position: relative;
	flex: 0 0 72px;
	width: 72px;
	padding: 0;
	border: 1px solid rgb(15 23 42 / 10%);
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
	cursor: pointer;
}

.product-thumb img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.product-thumb.is-active {
	border-color: rgb(37 99 235 / 38%);
	box-shadow: 0 0 0 2px rgb(37 99 235 / 10%);
}

.product-thumb:focus-visible,
.product-zoom:focus-visible,
.luniart-lightbox__close:focus-visible,
.luniart-lightbox__nav:focus-visible {
	outline: 2px solid rgb(37 99 235 / 45%);
	outline-offset: 2px;
}

.product-swipe-hint {
	display: none;
	padding: 0 12px 12px;
	font-size: 12px;
	color: rgb(15 23 42 / 58%);
}

.product-swipe-hint.is-hidden {
	display: none !important;
}

.luniart-lightbox {
	position: fixed;
	inset: 0;
	z-index: 1100;
}

.luniart-lightbox[hidden] {
	display: none !important;
}

.luniart-lightbox__backdrop {
	position: absolute;
	inset: 0;
	background: rgb(15 23 42 / 84%);
	backdrop-filter: blur(8px);
}

.luniart-lightbox__dialog {
	position: relative;
	z-index: 1;
	min-height: 100%;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 12px;
	align-items: center;
	padding: 24px;
}

.luniart-lightbox__figure {
	margin: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
}

.luniart-lightbox__image {
	display: block;
	max-width: min(92vw, 1180px);
	max-height: 82vh;
	width: auto;
	height: auto;
	border-radius: 18px;
	box-shadow: 0 18px 48px rgb(0 0 0 / 32%);
	background: #fff;
}

.luniart-lightbox__caption {
	max-width: min(92vw, 920px);
	color: #fff;
	text-align: center;
	line-height: 1.5;
	font-size: 14px;
}

.luniart-lightbox__close,
.luniart-lightbox__nav {
	width: 48px;
	height: 48px;
	border: 0;
	border-radius: 999px;
	background: rgb(255 255 255 / 14%);
	color: #fff;
	font-size: 22px;
	font-weight: 700;
	cursor: pointer;
	backdrop-filter: blur(10px);
}

.luniart-lightbox__close {
	position: absolute;
	top: 18px;
	right: 18px;
}

html.lightbox-open,
body.lightbox-open {
	overflow: hidden;
}

@media (width <= 720px) {
	.product-thumb {
		flex-basis: 56px;
		width: 56px;
	}

	.product-swipe-hint {
		display: block;
	}

	.product-zoom-hint {
		display: none !important;
	}

	.luniart-lightbox__dialog {
		grid-template-columns: 1fr;
		padding: 16px 12px 18px;
	}

	.luniart-lightbox__nav {
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
	}

	.luniart-lightbox__nav--prev {
		left: 10px;
	}

	.luniart-lightbox__nav--next {
		right: 10px;
	}

	.luniart-lightbox__close {
		top: 10px;
		right: 10px;
	}

	.luniart-lightbox__image {
		max-width: 94vw;
		max-height: 74vh;
	}
}

/* LuniArt Showcase v1.7.85 - cleaner gallery arrows */
.slider-controls [data-prev],
.slider-controls [data-next] {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 42px !important;
	height: 42px !important;
	min-width: 42px !important;
	padding: 0 !important;
	border-radius: 999px !important;
	border: 1px solid rgb(15 23 42 / 12%) !important;
	background: #fff !important;
	box-shadow: none !important;
	color: rgb(15 23 42 / 78%) !important;
	font-size: 0 !important;
	line-height: 0 !important;
}

.slider-controls [data-prev]::before,
.slider-controls [data-next]::before,
.luniart-lightbox__nav::before {
	content: "";
	display: block;
	width: 11px;
	height: 11px;
	border-top: 2.2px solid currentcolor;
	border-right: 2.2px solid currentcolor;
}

.slider-controls [data-prev]::before,
.luniart-lightbox__nav--prev::before {
	transform: rotate(-135deg);
	margin-left: 4px;
}

.slider-controls [data-next]::before,
.luniart-lightbox__nav--next::before {
	transform: rotate(45deg);
	margin-right: 4px;
}

.slider-controls [data-prev]:hover,
.slider-controls [data-next]:hover,
.slider-controls [data-prev]:active,
.slider-controls [data-next]:active {
	background: #fff !important;
	border-color: rgb(15 23 42 / 16%) !important;
	box-shadow: none !important;
	transform: none !important;
}

.luniart-lightbox__nav {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border: 1px solid rgb(255 255 255 / 14%);
	background: rgb(15 23 42 / 42%);
	color: #fff;
	font-size: 0;
	line-height: 0;
	box-shadow: none;
}

.luniart-lightbox__nav:hover,
.luniart-lightbox__nav:active {
	background: rgb(15 23 42 / 56%);
	border-color: rgb(255 255 255 / 20%);
}

/* LuniArt Showcase v1.7.86 - right info card alignment cleanup */
.product {
	align-items: start !important;
}

.product-media,
.product-info {
	height: auto !important;
	align-self: start !important;
}

.product-info {
	display: flex;
	flex-direction: column;
}

.specs {
	gap: 8px;
	margin: 12px 0;
}

.spec {
	grid-template-columns: 118px minmax(0, 1fr);
	align-items: center;
	min-height: 54px;
	padding: 11px 14px;
}

.spec .k,
.spec .v,
.meta-k,
.meta-v {
	display: flex;
	align-items: center;
	min-height: 20px;
}

.spec .k,
.meta-k {
	padding-right: 10px;
	line-height: 1.25;
}

.spec .v,
.meta-v {
	justify-content: flex-start;
	text-align: left;
	line-height: 1.35;
}

.content {
	margin-top: 10px;
}

.product-meta {
	display: grid;
	gap: 8px;
	margin: 0;
}

.meta-pill {
	display: grid;
	grid-template-columns: 118px minmax(0, 1fr);
	gap: 12px;
	align-items: center;
	padding: 11px 14px;
	border-radius: 14px;
	border: 1px solid rgb(15 23 42 / 6%);
	background: rgb(15 23 42 / 3%);
	font-size: 14px;
}

.meta-k {
	font-size: 12px;
	font-weight: 600;
	color: rgb(15 23 42 / 65%);
}

.meta-v {
	font-size: 14px;
	font-weight: 700;
	color: rgb(15 23 42 / 92%);
}

@media (width <= 720px) {
	.spec,
	.meta-pill {
		grid-template-columns: 1fr;
		gap: 6px;
		align-items: start;
	}

	.spec .k,
	.meta-k,
	.spec .v,
	.meta-v {
		min-height: 0;
		padding-right: 0;
	}
}

/* LuniArt Showcase v1.7.87 - compact product characteristics */
.product-info {
	gap: 8px;
}

.specs {
	gap: 6px;
	margin: 10px 0 8px;
}

.spec {
	grid-template-columns: 92px minmax(0, 1fr);
	min-height: 42px;
	padding: 8px 12px;
	border-radius: 12px;
}

.spec .k,
.meta-k {
	font-size: 11px;
	line-height: 1.15;
}

.spec .v,
.meta-v {
	font-size: 13px;
	line-height: 1.22;
}

.product-actions {
	margin-top: 4px;
}

.content {
	margin-top: 6px;
}

.meta-pill {
	grid-template-columns: 92px minmax(0, 1fr);
	padding: 8px 12px;
	border-radius: 12px;
}

@media (width <= 720px) {
	.spec {
		grid-template-columns: 82px minmax(0, 1fr);
		gap: 6px;
		min-height: 0;
		padding: 7px 10px;
	}

	.meta-pill {
		grid-template-columns: 82px minmax(0, 1fr);
		gap: 6px;
		padding: 7px 10px;
	}

	.spec .k,
	.meta-k {
		font-size: 10px;
	}

	.spec .v,
	.meta-v {
		font-size: 12px;
	}
}

/* LuniArt Showcase v1.7.88 - centered arrows + lighter product specs */
.product-swipe-hint {
	display: none !important;
}

.slider-controls [data-prev],
.slider-controls [data-next],
.luniart-lightbox__nav {
	position: relative;
}

.slider-controls [data-prev]::before,
.slider-controls [data-next]::before,
.luniart-lightbox__nav::before {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 10px;
	height: 10px;
	margin: 0 !important;
	border-top: 2px solid currentcolor;
	border-right: 2px solid currentcolor;
	transform-origin: center;
}

.slider-controls [data-prev]::before,
.luniart-lightbox__nav--prev::before {
	transform: translate(-42%, -50%) rotate(-135deg);
}

.slider-controls [data-next]::before,
.luniart-lightbox__nav--next::before {
	transform: translate(-58%, -50%) rotate(45deg);
}

.slider-controls [data-prev],
.slider-controls [data-next] {
	width: 40px !important;
	height: 40px !important;
	min-width: 40px !important;
	box-shadow: none !important;
}

.luniart-lightbox__nav {
	width: 48px;
	height: 48px;
}

.product-info {
	gap: 6px;
}

.specs,
.product-meta {
	gap: 5px;
}

.spec,
.meta-pill {
	grid-template-columns: 72px minmax(0, 1fr);
	gap: 10px;
	min-height: 0;
	padding: 0;
	border: none;
	border-radius: 0;
	background: transparent;
}

.spec .k,
.meta-k {
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	align-self: center;
	width: max-content;
	min-height: 0;
	padding: 5px 8px;
	border-radius: 999px;
	background: rgb(15 23 42 / 3.5%);
	border: 1px solid rgb(15 23 42 / 6%);
	color: rgb(15 23 42 / 58%);
	font-size: 11px;
	font-weight: 700;
	line-height: 1.15;
}

.spec .v,
.meta-v {
	min-height: 0;
	color: rgb(15 23 42 / 90%);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.25;
}

.spec .v a,
.meta-v a {
	border-bottom-color: rgb(15 23 42 / 18%);
}

@media (width <= 720px) {
	.spec,
	.meta-pill {
		grid-template-columns: 64px minmax(0, 1fr);
		gap: 8px;
	}

	.spec .k,
	.meta-k {
		padding: 4px 7px;
		font-size: 10px;
	}

	.spec .v,
	.meta-v {
		font-size: 12px;
	}

	.slider-controls [data-prev],
	.slider-controls [data-next] {
		width: 38px !important;
		height: 38px !important;
		min-width: 38px !important;
	}
}

/* LuniArt Showcase v1.7.89: compact specs and mobile arrows. */
.slider-controls [data-prev]::before,
.slider-controls [data-next]::before,
.luniart-lightbox__nav::before {
	width: 9px;
	height: 9px;
	border-top: 2px solid currentcolor;
	border-right: 2px solid currentcolor;
}

.slider-controls [data-prev]::before,
.luniart-lightbox__nav--prev::before {
	transform: translate(-48%, -50%) rotate(-135deg);
}

.slider-controls [data-next]::before,
.luniart-lightbox__nav--next::before {
	transform: translate(-52%, -50%) rotate(45deg);
}

.product-info {
	gap: 8px;
}

.specs,
.product-meta {
	gap: 7px;
}

.spec,
.meta-pill {
	display: grid;
	grid-template-columns: 86px minmax(0, 1fr);
	align-items: center;
	gap: 12px;
	min-height: 40px;
	padding: 8px 12px;
	border: 1px solid rgb(15 23 42 / 7%);
	border-radius: 12px;
	background: rgb(15 23 42 / 3.5%);
	box-sizing: border-box;
}

.spec .k,
.meta-k {
	display: block;
	min-height: 0;
	width: auto;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: rgb(15 23 42 / 58%);
	font-size: 11px;
	font-weight: 700;
	line-height: 1.2;
}

.spec .v,
.meta-v {
	min-height: 0;
	color: rgb(15 23 42 / 92%);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.25;
}

@media (width <= 720px) {
	.spec,
	.meta-pill {
		grid-template-columns: 74px minmax(0, 1fr);
		gap: 10px;
		min-height: 36px;
		padding: 7px 10px;
	}

	.spec .k,
	.meta-k {
		font-size: 10px;
	}

	.spec .v,
	.meta-v {
		font-size: 12px;
	}

	.luniart-lightbox__dialog {
		padding: 16px 12px 18px;
	}

	.luniart-lightbox__nav {
		position: fixed;
		top: 50%;
		margin-top: -22px;
		width: 44px;
		height: 44px;
		z-index: 3;
	}

	.luniart-lightbox__nav--prev {
		left: 8px;
	}

	.luniart-lightbox__nav--next {
		right: 8px;
	}

	.luniart-lightbox__close {
		position: fixed;
		top: 10px;
		right: 10px;
		z-index: 4;
	}
}

/* LuniArt Showcase v1.7.90: desktop specs typography. */
@media (width >= 721px) {
	.product-info {
		gap: 10px;
	}

	.spec,
	.meta-pill {
		grid-template-columns: 110px minmax(0, 1fr);
		gap: 14px;
		min-height: 38px;
		padding: 8px 14px;
		border-radius: 12px;
	}

	.spec .k,
	.meta-k {
		font-size: 12px;
		font-weight: 600;
		line-height: 1.25;
		color: rgb(15 23 42 / 62%);
		letter-spacing: 0;
	}

	.spec .v,
	.meta-v {
		font-size: 12.5px;
		font-weight: 700;
		line-height: 1.25;
		color: rgb(15 23 42 / 90%);
	}
}

/* LuniArt Showcase v1.7.91 - desktop specs mirror mobile appearance */
@media (width >= 721px) {
	.product-info {
		gap: 8px;
	}

	.spec,
	.meta-pill {
		grid-template-columns: 74px minmax(0, 1fr);
		gap: 10px;
		min-height: 36px;
		padding: 7px 10px;
		border: 1px solid rgb(15 23 42 / 7%);
		border-radius: 12px;
		background: rgb(15 23 42 / 3.5%);
	}

	.spec .k,
	.meta-k {
		font-size: 10px;
		font-weight: 700;
		line-height: 1.15;
		color: rgb(15 23 42 / 58%);
	}

	.spec .v,
	.meta-v {
		font-size: 12px;
		font-weight: 600;
		line-height: 1.2;
		color: rgb(15 23 42 / 92%);
	}
}

@media (width <= 520px) {
	.product-top {
		display: block !important;
	}

	.product-top .badge {
		display: inline-flex !important;
		margin-top: 8px !important;
		vertical-align: top;
	}
}

/* Product price presentation selected in the theme settings. */
.product-info .pricebox.pricebox--accent,
.product-info .pricebox.pricebox--status,
.product-info .pricebox.pricebox--soft {
	display: grid;
	gap: 5px;
	width: 100%;
	margin: 12px 0 16px;
	padding: 14px 16px;
	border-radius: 12px;
}

.product-info .pricebox--accent {
	border: 1px solid rgb(15 23 42 / 9%);
	border-left: 4px solid #2271b1;
	background: #fff;
	box-shadow: 0 8px 22px rgb(15 23 42 / 6%);
}

.product-info .pricebox--accent .product-price,
.product-info .pricebox--status .product-price,
.product-info .pricebox--soft .product-price {
	margin-top: 0;
	font-size: 24px;
	line-height: 1.1;
}

.product-info .pricebox--accent .price-note,
.product-info .pricebox--status .price-note,
.product-info .pricebox--soft .price-note {
	margin-top: 1px;
	font-size: 12px;
	line-height: 1.35;
	color: rgb(15 23 42 / 56%);
}

.product-info .pricebox--status {
	border: 1px solid rgb(34 113 177 / 20%);
	background: #fff;
}

.product-info .pricebox-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	min-width: 0;
}

.product-info .pricebox .badge,
.product-info .pricebox-head .badge {
	flex: 0 0 auto;
	margin: 0;
	white-space: nowrap;
}

.product-info .pricebox--soft {
	border: 1px solid rgb(34 113 177 / 18%);
	background: #eef7ff;
}

.product-info .pricebox--soft .product-price {
	color: #135e96;
}

@media (width >= 721px) {
	.product-info .pricebox.pricebox--accent,
	.product-info .pricebox.pricebox--status,
	.product-info .pricebox.pricebox--soft {
		gap: 3px;
		margin: 8px 0 14px;
		padding: 10px 12px;
		border-radius: 14px;
	}

	.product-info .price-label {
		margin-bottom: 0;
		font-size: 10px;
		line-height: 1.1;
		letter-spacing: 0.1em;
	}

	.product-info .pricebox--accent .product-price,
	.product-info .pricebox--status .product-price,
	.product-info .pricebox--soft .product-price {
		font-size: 20px;
		line-height: 1.08;
	}

	.product-info .pricebox--accent .price-note,
	.product-info .pricebox--status .price-note,
	.product-info .pricebox--soft .price-note {
		margin-top: 1px;
		font-size: 11px;
		line-height: 1.25;
	}
}

@media (width <= 520px) {
	.product-info .pricebox.pricebox--accent,
	.product-info .pricebox.pricebox--status,
	.product-info .pricebox.pricebox--soft {
		padding: 12px 14px;
	}

	.product-info .pricebox-head {
		align-items: center;
		gap: 10px;
	}

	.product-info .pricebox .badge,
	.product-info .pricebox-head .badge {
		align-self: center;
		margin-left: auto;
	}

	.product-info .pricebox--accent .product-price,
	.product-info .pricebox--status .product-price,
	.product-info .pricebox--soft .product-price {
		font-size: 22px;
	}
}

/* LuniArt Showcase v1.7.96: mobile lightbox controls. */
.luniart-lightbox__dialog {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.luniart-lightbox__stage {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	max-width: min(92vw, 1180px);
}

.luniart-lightbox__figure {
	position: relative;
	z-index: 1;
}

.luniart-lightbox__image {
	max-width: min(92vw, 1180px);
}

.luniart-lightbox__nav {
	position: absolute !important;
	top: 50% !important;
	margin-top: 0 !important;
	transform: translateY(-50%) !important;
	z-index: 3;
	width: 44px;
	height: 44px;
}

.luniart-lightbox__nav--prev {
	left: 10px !important;
	right: auto !important;
}

.luniart-lightbox__nav--next {
	right: 10px !important;
	left: auto !important;
}

.luniart-lightbox__nav::before {
	width: 8px;
	height: 8px;
}

.luniart-lightbox__nav--prev::before {
	transform: translate(-44%, -50%) rotate(-135deg);
}

.luniart-lightbox__nav--next::before {
	transform: translate(-56%, -50%) rotate(45deg);
}

@media (width <= 720px) {
	.luniart-lightbox__dialog {
		padding: 14px 10px 16px !important;
	}

	.luniart-lightbox__stage {
		max-width: 94vw;
	}

	.luniart-lightbox__image {
		max-width: 94vw !important;
		max-height: 74vh;
		border-radius: 16px;
	}

	.luniart-lightbox__nav {
		width: 38px;
		height: 38px;
	}

	.luniart-lightbox__nav--prev {
		left: 6px !important;
	}

	.luniart-lightbox__nav--next {
		right: 6px !important;
	}

	.luniart-lightbox__close {
		position: absolute !important;
		top: 8px !important;
		right: 8px !important;
	}
}

/* LuniArt Showcase v1.7.97 - straighter inline gallery arrows only */
.slider-controls [data-prev],
.slider-controls [data-next] {
	position: relative !important;
	overflow: hidden;
}

.slider-controls [data-prev]::before,
.slider-controls [data-next]::before {
	position: absolute;
	top: 50%;
	left: 50%;
	margin: 0 !important;
	width: 10px !important;
	height: 10px !important;
	border-top: 2px solid currentcolor !important;
	border-right: 2px solid currentcolor !important;
	transform-origin: center center;
}

.slider-controls [data-prev]::before {
	transform: translate(-42%, -50%) rotate(-135deg) !important;
}

.slider-controls [data-next]::before {
	transform: translate(-58%, -50%) rotate(45deg) !important;
}

/* Desktop gallery arrows. */
@media (width >= 769px) {
	.slider-controls [data-prev],
	.slider-controls [data-next] {
		position: relative !important;
		overflow: hidden !important;
		font-size: 0 !important;
		line-height: 0 !important;
		text-indent: -9999px !important;
	}

	.slider-controls [data-prev]::before,
	.slider-controls [data-next]::before {
		content: "" !important;
		position: absolute !important;
		top: 50% !important;
		left: 50% !important;
		width: 11px !important;
		height: 11px !important;
		margin: 0 !important;
		border-top: 2px solid rgb(15 23 42 / 78%) !important;
		border-right: 2px solid rgb(15 23 42 / 78%) !important;
		border-bottom: 0 !important;
		border-left: 0 !important;
		border-radius: 1px;
		box-sizing: border-box;
		transform-origin: center center !important;
	}

	.slider-controls [data-prev]::before {
		transform: translate(-38%, -50%) rotate(-135deg) !important;
	}

	.slider-controls [data-next]::before {
		transform: translate(-62%, -50%) rotate(45deg) !important;
	}
}

/* Desktop gallery arrows: circular controls. */
@media (width >= 769px) {
	.slider-controls [data-prev],
	.slider-controls [data-next] {
		width: 42px !important;
		min-width: 42px !important;
		max-width: 42px !important;
		height: 42px !important;
		min-height: 42px !important;
		max-height: 42px !important;
		padding: 0 !important;
		border-radius: 50% !important;
		aspect-ratio: 1 / 1 !important;
		flex: 0 0 42px !important;
		box-sizing: border-box !important;
	}
}

/* Mobile inline gallery arrows. */
@media (width <= 768px) {
	.slider-controls [data-prev],
	.slider-controls [data-next] {
		width: 42px !important;
		min-width: 42px !important;
		max-width: 42px !important;
		height: 42px !important;
		min-height: 42px !important;
		max-height: 42px !important;
		padding: 0 !important;
		border-radius: 50% !important;
		aspect-ratio: 1 / 1 !important;
		flex: 0 0 42px !important;
		box-sizing: border-box !important;
		align-self: center !important;
	}
}

/* Mobile close control and single-image navigation. */
.luniart-lightbox--single .luniart-lightbox__nav {
	display: none !important;
}

@media (width <= 360px) {
	.spec,
	.meta-pill {
		grid-template-columns: 1fr;
		gap: 4px;
	}
}

/*
 * LuniArt Showcase v1.9.54: keep product gallery arrows on image sides on
 * mobile.
 */
@media (width <= 768px) {
	.product-media {
		position: relative;
	}

	.product-media .slider-controls {
		position: absolute;
		inset: 0;
		z-index: 4;
		display: block;
		padding: 0;
		pointer-events: none;
	}

	.product-media .slider-controls [data-prev],
	.product-media .slider-controls [data-next] {
		position: absolute !important;
		top: 50% !important;
		background: rgb(255 255 255 / 88%);
		box-shadow: 0 12px 28px rgb(15 23 42 / 18%);
		color: rgb(15 23 42 / 78%);
		pointer-events: auto;
		transform: translateY(-50%) !important;
	}

	.product-media .slider-controls [data-prev] {
		left: 10px;
	}

	.product-media .slider-controls [data-next] {
		right: 10px;
	}

	.product-media .slider-counter {
		position: absolute;
		left: 50%;
		bottom: 12px;
		padding: 6px 12px;
		border-radius: 999px;
		background: rgb(255 255 255 / 84%);
		box-shadow: 0 10px 24px rgb(15 23 42 / 14%);
		pointer-events: none;
		transform: translateX(-50%);
	}
}

@media (width <= 420px) {
	.product-media .slider-controls [data-prev] {
		left: 8px;
	}

	.product-media .slider-controls [data-next] {
		right: 8px;
	}

	.product-media .slider-counter {
		bottom: 10px;
	}
}

/*
 * LuniArt Showcase v1.9.54: keep enlarged gallery arrows beside the image on
 * mobile.
 */
@media (width <= 520px) {
	.luniart-lightbox__stage {
		position: relative;
		padding-bottom: 0 !important;
	}

	.luniart-lightbox__nav {
		position: absolute !important;
		top: 50% !important;
		bottom: auto !important;
		z-index: 3;
		transform: translateY(-50%) !important;
	}

	.luniart-lightbox__nav--prev {
		left: 6px !important;
		right: auto !important;
	}

	.luniart-lightbox__nav--next {
		right: 6px !important;
		left: auto !important;
	}
}
}

/* Product lightbox must sit above the site chrome, including sticky headers. */
.luniart-lightbox {
	z-index: 2147483000;
}

.luniart-lightbox__backdrop {
	background: rgb(18 29 38 / 86%);
	backdrop-filter: blur(8px);
}

.luniart-lightbox__close {
	position: fixed !important;
	top: max(16px, env(safe-area-inset-top)) !important;
	right: max(16px, env(safe-area-inset-right)) !important;
	z-index: 4 !important;
	width: 44px !important;
	height: 44px !important;
	border-radius: 50% !important;
	background: rgb(255 255 255 / 94%) !important;
	color: #163f5b !important;
	font-size: 28px !important;
	line-height: 1 !important;
}
