/* Probador de pestañas · Albri Lashes */
:root {
	--rosa: #e8b2a5;
	--rosa-claro: #f6e3dd;
	--oro-rosa: #b9735f;
	--carbon: #2b2220;
	--texto: #2b2220;
	--suave: #7a6a66;
	--oro-g: linear-gradient(90deg, #9c5a47, #f0c2b4 45%, #b9735f);
	--fondo: #fffaf8;
	--fondo-2: #fbefeb;
	--wa: #25d366;
	--radio: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body {
	background: var(--fondo);
	color: var(--texto);
	font: 400 16px/1.5 'Jost', system-ui, sans-serif;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
button, input, textarea { font: inherit; color: inherit; }

.pt {
	max-width: 520px;
	margin: 0 auto;
	padding: 28px 16px 32px;
	min-height: 100%;
}
.pt-pant {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 14px;
	animation: pt-entra .45s cubic-bezier(.2, .7, .2, 1);
}
@keyframes pt-entra { from { opacity: 0; transform: translateY(14px); } }

.pt-logo { width: 120px; height: 120px; margin-bottom: 4px; filter: drop-shadow(0 10px 18px rgba(185, 115, 95, .25)); }
.pt-eyebrow {
	font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--oro-rosa); font-weight: 500;
	display: inline-flex; align-items: center; gap: 10px;
}
.pt-eyebrow::before, .pt-eyebrow::after { content: ''; width: 28px; height: 2px; border-radius: 2px; background: var(--oro-g); }
.pt-h1, .pt-h2 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 500; color: var(--carbon); margin: 0; line-height: 1.15; }
.pt-h1 { font-size: clamp(34px, 9vw, 46px); font-weight: 600; }
.pt-h1 em { color: var(--oro-rosa); }
.pt-h2 { font-size: 28px; font-weight: 600; }
.pt-lead { margin: 0; color: var(--suave); font-size: 17px; max-width: 380px; }
.pt-nota, .pt-aviso { margin: 0; color: var(--suave); font-size: 13px; }
.pt-aviso { font-size: 12px; opacity: .85; max-width: 380px; }

/* Botones */
.pt-acciones { display: flex; flex-direction: column; gap: 10px; width: 100%; margin-top: 6px; }
.pt-acciones--fila { flex-direction: row; align-items: center; justify-content: space-between; }
.pt-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	width: 100%; min-height: 54px; padding: 12px 22px;
	border: 0; border-radius: 999px; cursor: pointer;
	background: var(--carbon); color: #fff; font-weight: 500; font-size: 16px; letter-spacing: .02em;
	box-shadow: 0 10px 24px -12px rgba(43, 34, 32, .7);
	transition: background-color .2s, box-shadow .2s, opacity .2s;
}
.pt-btn:hover { background: #45352f; }
.pt-btn:focus-visible { outline: 3px solid var(--rosa); outline-offset: 3px; }
.pt-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pt-btn--linea { background: transparent; color: var(--carbon); box-shadow: inset 0 0 0 1.5px var(--rosa); }
.pt-btn--linea:hover { background: var(--fondo-2); }
.pt-btn--texto { background: none; color: var(--suave); box-shadow: none; min-height: 40px; text-decoration: underline; text-underline-offset: 4px; }
.pt-btn--texto:hover { background: none; color: var(--carbon); }
.pt-btn--wa { background: var(--wa); color: #fff; box-shadow: 0 10px 24px -12px rgba(37, 211, 102, .9); }
.pt-btn--wa:hover { background: #1ebe5b; }
.pt-btn--wa svg { fill: currentColor; stroke: none; }
.pt-acciones--fila .pt-btn { width: auto; min-height: 46px; padding: 8px 18px; }
.pt-espacio { width: 92px; }

.pt-tips { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 8px; width: 100%; }
.pt-tips li {
	display: flex; align-items: center; gap: 10px; padding: 10px 14px;
	background: var(--fondo-2); border-radius: 12px; font-size: 15px; text-align: left;
}
.pt-error { margin: 0; color: #b3261e; background: #fdecea; padding: 10px 14px; border-radius: 12px; font-size: 14px; width: 100%; }

/* Cámara */
.pt-video {
	position: relative; width: 100%; aspect-ratio: 3 / 4; border-radius: var(--radio); overflow: hidden; background: #111;
}
.pt-video video { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); display: block; }
.pt-guia { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.pt-guia ellipse { fill: none; stroke: rgba(255, 255, 255, .75); stroke-width: .6; stroke-dasharray: 2 1.6; vector-effect: non-scaling-stroke; }
.pt-video.is-listo .pt-guia ellipse { stroke: #8ee6a8; stroke-dasharray: none; stroke-width: 3; }
.pt-pista {
	position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); margin: 0;
	background: rgba(0, 0, 0, .6); color: #fff; padding: 8px 16px; border-radius: 999px; font-size: 15px; white-space: nowrap;
	backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.pt-disparo {
	width: 76px; height: 76px; border-radius: 50%; border: 4px solid var(--rosa); background: #fff; padding: 5px; cursor: pointer;
	transition: border-color .2s;
}
.pt-disparo span { display: block; width: 100%; height: 100%; border-radius: 50%; background: var(--carbon); transition: background-color .2s; }
.pt-disparo.is-listo { border-color: #25d366; }
.pt-disparo.is-listo span { background: #25d366; }
.pt-disparo:disabled { opacity: .45; cursor: default; }

/* Procesando */
.pt-procesando { min-height: 360px; justify-content: center; }
.pt-loader { position: relative; width: 120px; height: 120px; display: grid; place-items: center; }
.pt-loader img { border-radius: 50%; }
.pt-loader::before {
	content: ''; position: absolute; inset: 0; border-radius: 50%;
	border: 3px solid var(--rosa-claro); border-top-color: var(--oro-rosa); animation: pt-gira 1s linear infinite;
}
@keyframes pt-gira { to { transform: rotate(360deg); } }

/* Resultado */
.pt-comparar {
	position: relative; width: 100%; border-radius: var(--radio); overflow: hidden; background: var(--fondo-2);
	touch-action: none; cursor: ew-resize; user-select: none; -webkit-user-select: none;
	box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .5);
}
.pt-comparar canvas { display: block; width: 100%; height: auto; }
.pt-etq {
	position: absolute; top: 12px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
	background: rgba(0, 0, 0, .55); color: #fff; padding: 4px 10px; border-radius: 999px; pointer-events: none;
}
.pt-etq--antes { left: 12px; }
.pt-etq--despues { right: 12px; }
.pt-divisor { position: absolute; top: 0; bottom: 0; width: 2px; background: #fff; transform: translateX(-1px); pointer-events: none; box-shadow: 0 0 8px rgba(0, 0, 0, .35); }
.pt-divisor span {
	position: absolute; top: 50%; left: 50%; width: 42px; height: 42px; margin: -21px 0 0 -21px; border-radius: 50%;
	background: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .3);
}
.pt-divisor span::before {
	content: '‹ ›'; position: absolute; inset: 0; display: grid; place-items: center; font-size: 20px; color: var(--carbon); letter-spacing: 2px;
}
.pt-zoom {
	position: absolute; right: 12px; bottom: 12px; border: 0; border-radius: 999px; padding: 6px 12px; font-size: 13px;
	background: rgba(255, 255, 255, .9); color: var(--carbon); cursor: pointer;
}

.pt-grupo { width: 100%; text-align: left; }
.pt-grupo__t { display: block; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--suave); margin: 2px 2px 6px; }
.pt-volumenes, .pt-disenos {
	display: flex; gap: 10px; width: 100%; overflow-x: auto; padding: 4px 2px 6px; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.pt-volumenes::-webkit-scrollbar, .pt-disenos::-webkit-scrollbar { display: none; }
.pt-vol { flex: 0 0 auto; width: 92px; scroll-snap-align: start; border: 0; background: none; padding: 0; cursor: pointer; text-align: center; }
.pt-vol canvas {
	display: block; width: 92px; height: 52px; border-radius: 12px; background: var(--fondo-2);
	box-shadow: inset 0 0 0 2px transparent; transition: box-shadow .2s;
}
.pt-vol span { display: block; margin-top: 6px; font-size: 12px; line-height: 1.25; color: var(--suave); }
.pt-vol.is-on canvas { box-shadow: 0 0 0 3px var(--oro-rosa); }
.pt-vol.is-on span { color: var(--carbon); font-weight: 600; }
.pt-dis {
	flex: 0 0 auto; border: 0; cursor: pointer; padding: 9px 16px; border-radius: 999px; font-size: 14px;
	background: var(--fondo-2); color: var(--carbon); box-shadow: inset 0 0 0 1.5px var(--rosa-claro); transition: background-color .2s, color .2s;
}
.pt-dis.is-on { background: var(--carbon); color: #fff; box-shadow: none; }
.pt-vol:focus-visible, .pt-dis:focus-visible { outline: 2px solid var(--oro-rosa); outline-offset: 3px; }
.pt-info p { margin: 6px 0 0; color: var(--suave); }

/* Solicitar */
.pt-mini {
	display: flex; align-items: center; gap: 14px; width: 100%; padding: 10px; background: var(--fondo-2); border-radius: var(--radio); text-align: left;
}
.pt-mini canvas { width: 110px; height: 72px; border-radius: 12px; flex: none; }
.pt-mini small { display: block; color: var(--suave); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.pt-mini strong { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600; font-size: 22px; color: var(--carbon); }
.pt-form { display: grid; gap: 12px; width: 100%; text-align: left; }
.pt-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; color: var(--carbon); }
.pt-form small { font-weight: 400; color: var(--suave); }
.pt-form input:not([type=checkbox]), .pt-form textarea {
	width: 100%; padding: 13px 14px; border: 1.5px solid var(--rosa-claro); border-radius: 12px; background: #fff; font-size: 16px; resize: vertical;
	transition: border-color .2s;
}
.pt-form input:focus, .pt-form textarea:focus { outline: none; border-color: var(--rosa); }
.pt-form .is-mal { border-color: #d93025 !important; }
.pt-check { display: flex !important; grid-template-columns: none; align-items: flex-start; gap: 10px !important; font-weight: 400 !important; color: var(--suave) !important; }
.pt-check input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--carbon); }

.pt-enviado { min-height: 360px; justify-content: center; }
.pt-ok {
	width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; font-size: 36px; color: #fff;
	background: var(--wa); box-shadow: 0 14px 30px -14px rgba(37, 211, 102, .9);
}
.pt-sin-js { text-align: center; color: var(--suave); }

@media (min-width: 720px) {
	.pt { padding-top: 40px; }
}
