/* PleaseMe Tienda: modal de regalos (oscuro, como el original) y etiquetas en el carro. */
body.pm-regalos-abierto { overflow: hidden; }
.pm-regalos {
	position: fixed; inset: 0; z-index: 100000;
	display: flex; align-items: center; justify-content: center; padding: 16px;
}
.pm-regalos__fondo { position: absolute; inset: 0; background: rgba(0, 0, 0, .72); }
.pm-regalos__caja {
	position: relative; width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto;
	background: #000; color: #fff; border: 1px solid #fff; padding: 0 0 24px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, .5);
}
.pm-regalos__titulo {
	margin: 0; padding: 14px 20px; border-bottom: 1px solid #fff;
	color: #fff; font-size: 15px; font-weight: 600; line-height: 1.3;
	letter-spacing: .06em; text-transform: uppercase; text-align: center;
}
.pm-regalos__grupo { margin: 0; padding: 0; border: 0; min-width: 0; }
.pm-regalos__leyenda {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.pm-regalos__lista {
	list-style: none; margin: 28px 20px 8px; padding: 0;
	display: flex; flex-wrap: wrap; gap: 16px; justify-content: center;
}
.pm-regalos__lista li { margin: 0; padding: 0; }
.pm-regalos__item { position: relative; display: flex; flex-direction: column; width: 130px; cursor: pointer; background: #fff; }
.pm-regalos__input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.pm-regalos__img { position: relative; display: block; width: 130px; height: 130px; border: 3px solid transparent; }
.pm-regalos__img img { display: block; width: 100%; height: 100%; object-fit: contain; }
.pm-regalos__input:checked + .pm-regalos__img { border-color: #fff; outline: 3px solid #c22181; outline-offset: -3px; }
.pm-regalos__input:checked + .pm-regalos__img::after {
	content: ""; position: absolute; inset: 0; margin: auto; width: 46px; height: 46px; border-radius: 50%;
	background: rgba(0, 0, 0, .6) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 26px no-repeat;
}
.pm-regalos__input:focus-visible + .pm-regalos__img { outline: 3px solid #f7418a; outline-offset: 2px; }
.pm-regalos__nombre { display: block; padding: 6px 6px 8px; color: #1f2124; font-size: 12px; line-height: 1.3; text-align: center; }
.pm-regalos__error { min-height: 1.2em; margin: 8px 20px 0; color: #ff9db8; font-size: 13px; text-align: center; }
.pm-regalos__acciones { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 16px; }
.pm-regalos__btn {
	background: transparent; color: #fff; border: 1px solid #fff; border-radius: 0;
	padding: 9px 16px; font: inherit; font-size: 12px; font-weight: 600; line-height: 1.2;
	letter-spacing: .04em; text-transform: uppercase; cursor: pointer;
}
.pm-regalos__btn:hover,
.pm-regalos__btn:focus-visible { background: #fff; color: #000; }
.pm-regalos__btn:focus-visible { outline: 2px solid #f7418a; outline-offset: 2px; }
.pm-regalos__btn[disabled] { opacity: .6; cursor: progress; }

.pm-regalo-etiqueta {
	display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px;
	background: #c22181; color: #fff; font-size: 11px; font-weight: 600; line-height: 1.6; vertical-align: middle;
}
.pm-regalo-gratis { color: #c22181; font-weight: 600; }

@media (prefers-reduced-motion: no-preference) {
	.pm-regalos__caja { animation: pm-regalos-entrada .18s ease-out; }
	@keyframes pm-regalos-entrada { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}
