/* Ver en mi pared – botón y ventana. Usa la paleta de Arte & Cristal; se puede
   cambiar con las variables de abajo si el tema define otras. */
:root {
	--ac-vemp-ink: #1A1A1A;
	--ac-vemp-charcoal: #332932;
	--ac-vemp-gold: #C9AC5E;
	--ac-vemp-soft: #F6F4EE;
	--ac-vemp-muted: #5E5E5A;
	--ac-vemp-line: #DEDDD7;
	--ac-vemp-font: 'Jost', 'Helvetica Neue', system-ui, sans-serif;
}

.ac-vemp-slot { margin-top: 14px; }

.ac-vemp-slot .ac-vemp-open,
button.ac-vemp-open {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	min-height: 52px;
	padding: 0 18px;
	border: 1px solid var(--ac-vemp-gold);
	border-radius: 14px;
	background: #FFFFFF;
	color: var(--ac-vemp-charcoal);
	font-family: var(--ac-vemp-font);
	font-size: 16px;
	font-weight: 400;
	cursor: pointer;
	transition: background-color 0.2s ease;
}
button.ac-vemp-open:hover { background: var(--ac-vemp-soft); }

html.ac-vemp-is-open { overflow: hidden; }

.ac-vemp { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: flex-end; justify-content: center; font-family: var(--ac-vemp-font); color: var(--ac-vemp-ink); }
.ac-vemp[hidden] { display: none; }
.ac-vemp__backdrop { position: absolute; inset: 0; background: rgba(26, 26, 26, 0.55); }
.ac-vemp__panel {
	position: relative;
	width: 100%;
	max-width: 560px;
	max-height: 92vh;
	overflow-y: auto;
	background: #FFFFFF;
	border-radius: 20px 20px 0 0;
	padding: 28px 20px calc(24px + env(safe-area-inset-bottom));
	box-sizing: border-box;
}
.ac-vemp__close {
	position: absolute; top: 10px; right: 10px;
	width: 44px; height: 44px;
	border: 0; background: transparent; color: var(--ac-vemp-ink);
	display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.ac-vemp__kicker { font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ac-vemp-muted); }
.ac-vemp__title { margin: 6px 44px 0 0; font-size: 24px; font-weight: 300; text-transform: uppercase; letter-spacing: 0.08em; line-height: 1.15; }
.ac-vemp__text { margin: 12px 0 0; color: var(--ac-vemp-muted); line-height: 1.55; font-size: 15px; }
.ac-vemp__art { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 10px; border-radius: 12px; background: var(--ac-vemp-soft); }
.ac-vemp__art-img { width: 96px; height: 56px; object-fit: cover; border-radius: 6px; opacity: 1 !important; visibility: visible !important; }
.ac-vemp__art-img[hidden] { display: none; }
.ac-vemp__art-name { color: var(--ac-vemp-ink, #1A1A1A); }
.ac-vemp__art-name { margin: 0; font-weight: 500; font-size: 15px; }

.ac-vemp__upload {
	position: relative;
	overflow: hidden;
	display: flex; align-items: center; justify-content: center; gap: 10px;
	height: 56px; margin-top: 20px;
	border-radius: 14px;
	background: var(--ac-vemp-charcoal); color: #FFFFFF;
	font-size: 16px; font-weight: 500; cursor: pointer;
}
.ac-vemp__upload > svg, .ac-vemp__upload > span { pointer-events: none; }
/* El campo de archivo cubre todo el botón: el toque cae directo sobre él (más confiable en celulares). */
.ac-vemp__upload input {
	position: absolute !important; inset: 0 !important; z-index: 2;
	display: block !important; width: 100% !important; height: 100% !important;
	margin: 0 !important; padding: 0 !important; border: 0 !important;
	opacity: 0 !important; cursor: pointer; font-size: 200px; /* toda el área recibe el toque */
	-webkit-appearance: none; appearance: none; background: transparent !important;
}
.ac-vemp__upload:focus-within { outline: 2px solid var(--ac-vemp-gold); outline-offset: 2px; }

.ac-vemp__tips { margin: 16px 0 0; padding-left: 18px; color: var(--ac-vemp-muted); font-size: 14px; line-height: 1.5; }
.ac-vemp__privacy { margin: 14px 0 0; font-size: 12px; color: var(--ac-vemp-muted); line-height: 1.5; }

.ac-vemp__preview { position: relative; border-radius: 14px; overflow: hidden; background: var(--ac-vemp-soft); }
.ac-vemp__room-img { display: block; width: 100%; height: auto; opacity: 0.6; }
.ac-vemp__shimmer {
	position: absolute; inset: 0;
	background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
	background-size: 200% 100%;
	animation: ac-vemp-shimmer 1.6s linear infinite;
}
@keyframes ac-vemp-shimmer { from { background-position: 150% 0; } to { background-position: -50% 0; } }
@media (prefers-reduced-motion: reduce) { .ac-vemp__shimmer { animation: none; } }
.ac-vemp__status { margin: 16px 0 0; font-size: 17px; font-weight: 500; text-align: center; }
.ac-vemp__sub { margin: 4px 0 0; font-size: 14px; color: var(--ac-vemp-muted); text-align: center; }

.ac-vemp__result-img { display: block; width: 100%; height: auto; margin-top: 16px; border-radius: 14px; }
.ac-vemp__note { margin: 10px 0 0; font-size: 13px; color: var(--ac-vemp-muted); line-height: 1.5; }
.ac-vemp__actions { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.ac-vemp__primary,
.ac-vemp__secondary {
	display: flex; align-items: center; justify-content: center;
	min-height: 52px; border-radius: 14px;
	font-family: var(--ac-vemp-font); font-size: 16px; cursor: pointer; text-decoration: none;
}
.ac-vemp__primary { border: 0; background: var(--ac-vemp-charcoal); color: #FFFFFF; font-weight: 500; }
.ac-vemp__secondary { border: 1px solid var(--ac-vemp-line); background: #FFFFFF; color: var(--ac-vemp-ink); }

@media (min-width: 640px) {
	.ac-vemp { align-items: center; }
	.ac-vemp__panel { border-radius: 20px; padding: 32px; }
	.ac-vemp__actions { flex-direction: row; flex-wrap: wrap; }
	.ac-vemp__actions > * { flex: 1 1 160px; }
}
