/* ═══════════════════════════════════════════════════════════════
   Marziotto Salon & Spa — tarifas y visor de galería
   Solo en la página de precios.
   ═══════════════════════════════════════════════════════════════ */

/* ── Price Row ── */
.price-row {
	display: flex;
	align-items: baseline;
	gap: 8px;
	padding: 10px 0;
	border-bottom: 1px solid rgba(22, 53, 49, 0.06);
}
.price-row .dots {
	flex: 1;
	border-bottom: 1px dotted rgba(22, 53, 49, 0.2);
	margin-bottom: 4px;
}

/* ── Pricing items with description ── */
.price-item {
	padding: 13px 0;
	border-bottom: 1px solid rgba(22, 53, 49, 0.07);
}
.price-item:last-child {
	border-bottom: none;
}
.pi-head {
	display: flex;
	align-items: baseline;
	gap: 8px;
}
.pi-name {
	color: #163531;
	font-size: 15px;
	line-height: 1.3;
}
.pi-dots {
	flex: 1 1 auto;
	min-width: 16px;
	border-bottom: 1px dotted rgba(22, 53, 49, 0.22);
	transform: translateY(-4px);
}
.pi-price {
	color: #163531;
	font-weight: 700;
	font-size: 15px;
	white-space: nowrap;
}
.pi-desc {
	color: rgba(22, 53, 49, 0.55);
	font-size: 12.5px;
	line-height: 1.45;
	margin-top: 5px;
	max-width: 92%;
}
.svc-tag {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 9px;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	font-weight: 700;
	padding: 2px 8px;
	border-radius: 999px;
	margin-left: 7px;
	vertical-align: middle;
	white-space: nowrap;
}
.svc-tag i {
	font-size: 8px;
}
.svc-tag--f {
	background: rgba(150, 88, 112, 0.1);
	color: #8a4d63;
}
.svc-tag--m {
	background: rgba(42, 96, 89, 0.1);
	color: #2a6059;
}
.svc-tag--u {
	background: rgba(22, 53, 49, 0.07);
	color: #1f4a45;
}
.group-cta {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-top: 16px;
	font-size: 10px;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	font-weight: 700;
	color: #1f4a45;
	transition: color 0.3s var(--ease-out-quart);
}
.group-cta:hover {
	color: #163531;
}
.group-cta i {
	font-size: 9px;
	transition: transform 0.3s var(--ease-out-quart);
}
.group-cta:hover i {
	transform: translateX(3px);
}

/* ── Botón "Ver referencias" en cada servicio ── */
.pi-gallery-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 9px;
	padding: 5px 12px 5px 10px;
	border: 1px solid rgba(22, 53, 49, 0.18);
	border-radius: 999px;
	background: transparent;
	color: #1f4a45;
	font-size: 10px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	font-weight: 700;
	cursor: pointer;
	transition:
		background 0.3s var(--ease-out-quart),
		border-color 0.3s var(--ease-out-quart),
		color 0.3s var(--ease-out-quart);
}
.pi-gallery-btn i {
	font-size: 11px;
}
.pi-gallery-btn:hover {
	background: #163531;
	border-color: #163531;
	color: #fff;
}
.pi-gallery-btn:focus-visible {
	outline: 2px solid #2a6059;
	outline-offset: 2px;
}

/* ── Lightbox / visor de galería ── */
.lightbox {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right))
		max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
	background: rgba(6, 13, 12, 0.92);
	opacity: 0;
	visibility: hidden;
	transition:
		opacity 0.35s var(--ease-out-quart),
		visibility 0s linear 0.35s;
}
@supports (backdrop-filter: blur(4px)) {
	.lightbox {
		backdrop-filter: blur(6px);
	}
}
.lightbox.open {
	opacity: 1;
	visibility: visible;
	transition:
		opacity 0.35s var(--ease-out-quart),
		visibility 0s;
}
.lb-stage {
	position: relative;
	z-index: 1;
	max-width: min(1100px, 100%);
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
}
.lb-figure {
	position: relative;
	flex: 1 1 auto;
	min-height: 0;
	width: 100%;
	overflow: hidden;
}
.lb-img {
	position: absolute;
	top: 50%;
	left: 50%;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	border-radius: 10px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
	background: rgba(255, 255, 255, 0.04);
	opacity: 0;
	pointer-events: none;
	transform: translate(-50%, -50%);
	transition:
		opacity 0.35s var(--ease-out-quart),
		transform 0.35s var(--ease-out-quart);
	will-change: transform, opacity;
}
.lb-img.is-active {
	opacity: 1;
	pointer-events: auto;
}
.lb-img.no-anim {
	transition: none;
}
.lb-caption {
	color: rgba(242, 242, 242, 0.85);
	font-size: 12px;
	letter-spacing: 0.06em;
	text-align: center;
	min-height: 1em;
}
.lb-counter {
	color: rgba(117, 245, 225, 0.9);
	font-weight: 700;
	margin-right: 8px;
}
/* Controles */
.lb-btn {
	position: absolute;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border: none;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	font-size: 17px;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition:
		background 0.25s var(--ease-out-quart),
		transform 0.25s var(--ease-out-quart);
}
.lb-btn:hover {
	background: rgba(255, 255, 255, 0.22);
}
.lb-btn:focus-visible {
	outline: 2px solid #75f5e1;
	outline-offset: 2px;
}
.lb-close {
	top: max(14px, env(safe-area-inset-top));
	right: max(14px, env(safe-area-inset-right));
	width: 42px;
	height: 42px;
}
.lb-prev {
	left: 8px;
	top: 50%;
	transform: translateY(-50%);
}
.lb-next {
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
}
.lb-prev:hover {
	transform: translateY(-50%) scale(1.06);
}
.lb-next:hover {
	transform: translateY(-50%) scale(1.06);
}
.lightbox[data-single='true'] .lb-prev,
.lightbox[data-single='true'] .lb-next {
	display: none;
}
/* Miniaturas */
.lb-thumbs {
	display: flex;
	gap: 8px;
	justify-content: center;
	flex-wrap: wrap;
	max-width: 100%;
}
.lightbox[data-single='true'] .lb-thumbs {
	display: none;
}
.lb-thumb {
	width: 54px;
	height: 54px;
	padding: 0;
	border: 2px solid transparent;
	border-radius: 7px;
	overflow: hidden;
	cursor: pointer;
	opacity: 0.5;
	background: none;
	transition:
		opacity 0.25s,
		border-color 0.25s;
}
.lb-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.lb-thumb.active,
.lb-thumb:hover {
	opacity: 1;
}
.lb-thumb.active {
	border-color: #75f5e1;
}
@media (max-width: 640px) {
	.lb-btn {
		width: 40px;
		height: 40px;
		font-size: 15px;
	}
	.lb-prev {
		left: 4px;
	}
	.lb-next {
		right: 4px;
	}
	.lb-thumb {
		width: 44px;
		height: 44px;
	}
}
@media (prefers-reduced-motion: reduce) {
	.lightbox,
	.lb-img {
		transition: none;
	}
}
