/* TheNirvaa Virtual Try-On */
.nirvaa-tryon-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  width: 100%; margin: 12px 0; padding: 14px 20px;
  border: 1.5px solid #b8925a; border-radius: 999px;
  background: #fff; color: #7a5a2b;
  font: 600 15px/1.2 inherit; letter-spacing: .03em; cursor: pointer;
  transition: background .2s, color .2s;
}
.nirvaa-tryon-btn:hover, .nirvaa-tryon-btn:focus-visible { background: #b8925a; color: #fff; }

html.ntry-lock, html.ntry-lock body { overflow: hidden !important; }

.ntry-overlay { position: fixed; inset: 0; z-index: 2147483000; display: none; background: #000; color: #fff;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }
.ntry-overlay.ntry-open { display: block; }
.ntry-overlay [hidden] { display: none !important; }

.ntry-stage { position: absolute; inset: 0; max-width: 560px; margin: 0 auto; overflow: hidden; background: #111; }
.ntry-video, .ntry-canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ntry-mirror .ntry-video { transform: scaleX(-1); }

.ntry-top { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between;
  padding: max(14px, env(safe-area-inset-top)) 16px 24px; background: linear-gradient(rgba(0,0,0,.55), transparent); }
.ntry-title { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 12px; }
.ntry-close { width: 40px; height: 40px; flex: none; border: 0; border-radius: 50%; background: rgba(255,255,255,.18);
  color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }

.ntry-status { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 14px; align-items: center; justify-content: center;
  padding: 32px; text-align: center; font-size: 15px; background: rgba(0,0,0,.6); }
.ntry-spinner { width: 34px; height: 34px; border: 3px solid rgba(255,255,255,.25); border-top-color: #d8b77c; border-radius: 50%;
  animation: ntry-spin .9s linear infinite; }
@keyframes ntry-spin { to { transform: rotate(360deg); } }

.ntry-hint { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); max-width: 80%;
  padding: 10px 16px; border-radius: 12px; background: rgba(0,0,0,.6); font-size: 14px; text-align: center;
  opacity: 0; transition: opacity .3s; pointer-events: none; }
.ntry-hint.ntry-hint-show { opacity: 1; }

.ntry-bottom { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 20px max(16px, env(safe-area-inset-bottom));
  background: linear-gradient(transparent, rgba(0,0,0,.65)); text-align: center; }
.ntry-size { display: flex; align-items: center; gap: 12px; justify-content: center; font-size: 13px; margin-bottom: 14px; }
.ntry-size input { width: 60%; accent-color: #d8b77c; }
.ntry-actions { display: flex; align-items: center; justify-content: space-between; max-width: 280px; margin: 0 auto; }
.ntry-icon, .ntry-icon-spacer { width: 46px; height: 46px; }
.ntry-icon { border: 0; border-radius: 50%; background: rgba(255,255,255,.18); color: #fff; font-size: 22px; cursor: pointer; }
.ntry-capture { width: 72px; height: 72px; border-radius: 50%; border: 4px solid #fff; background: #d8b77c; cursor: pointer;
  box-shadow: 0 0 0 4px rgba(0,0,0,.25); }
.ntry-capture:active { transform: scale(.94); }
.ntry-privacy { margin-top: 12px; font-size: 11px; opacity: .7; }

.ntry-shot { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; background: #000; }
.ntry-shot img { flex: 1; min-height: 0; width: 100%; object-fit: contain; }
.ntry-shot-actions { display: flex; flex-wrap: wrap; gap: 10px; padding: 16px 16px max(16px, env(safe-area-inset-bottom)); }
.ntry-btn { flex: 1 1 40%; padding: 14px; border: 0; border-radius: 999px; background: #d8b77c; color: #1a1205;
  font-weight: 700; font-size: 15px; cursor: pointer; }
.ntry-wa { background: #25d366; color: #fff; }
.ntry-ghost { flex-basis: 100%; background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4); }

.nirvaa-tryon-floating { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 9999; max-width: 420px; margin: 0 auto; }
.nirvaa-tryon-floating .nirvaa-tryon-btn { margin: 0; box-shadow: 0 6px 20px rgba(0,0,0,.18); }
