/* Try On in the product-page kit (Dasha, 29 Oct: every product page in Playground's UI): the stacked hero with the film in the
   glass plate, the three steps, the live try-on, the feature cards, the FAQ and the end plate. The page's own CSS is the live
   section only: the demo's frame, its loader and its link. The demo is iJewel's own app in a frame: its look is its own. */
/* the live section: the points and the button on the left, the demo on the right, as the page had them (Dasha, 22 Oct) */
.k-live-top { text-align: center; }
.rc-bar { flex: none; display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 8px 0 14px; border-bottom: 1px solid rgba(25, 24, 38, .07); background: #fafafc; }
.rc-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(25, 24, 38, .12); }
.rc-bar .url { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-left: 6px; padding: 5px 12px; border-radius: 8px; background: #fff; border: 1px solid rgba(25, 24, 38, .07);
  font: 400 12px/1.2 var(--sans); color: var(--ink2); }
.rc-bar a { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 8px; font: 500 12.5px/1 var(--sans); color: #5053D0; text-decoration: none; }
.rc-bar a:hover { background: rgba(110, 114, 242, .08); }
.rc-bar a:focus-visible { outline: 2px solid #6E72F2; outline-offset: 1px; }
.rc-frame { display: flex; flex-direction: column; border-radius: 19px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(25, 24, 38, .05); }
.rc-frame .k-media { border-radius: 0; box-shadow: none; }
.k-live-pts { margin-top: 28px; text-align: center; }
.k-live-pts .k-bul { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin: 0; }
@media (max-width: 860px) { .k-live-pts .k-bul { display: inline-grid; justify-items: start; text-align: left; } }

.k-live-top .k-bul { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin: 0; }
.k-live-top .k-cta { justify-content: center; margin-top: 0; }
.k-live-vis { max-width: 1180px; margin: 40px auto 0; }
.k-live-media { aspect-ratio: 16 / 9; }
/* The Try On demo loads in the frame as soon as the section comes near (Dasha, 22 Oct: no 'Allow camera' step); its own Start
   asks for the camera. A calm loader holds the frame until the demo is up. */
.vto-pane { position: absolute; inset: 0; }
.vto-box { position: relative; height: 100%; overflow: hidden; background: #f4f4f8; }
.vto-box iframe { position: absolute; inset: 0; display: block; width: 100% !important; height: 100% !important; max-height: none !important; border: 0; opacity: 0; transition: opacity .5s var(--k-ease); }  /* site.css caps a frame's height; the demo fills its frame */
.vto-pane.is-up iframe { opacity: 1; }
.vto-wait { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; transition: opacity .4s var(--k-ease); pointer-events: none; }
.vto-pane.is-up .vto-wait { opacity: 0; }
.vto-wait svg { width: 104px; height: 104px; display: block; }
.vto-wait path { fill: none; stroke-width: .5; stroke-linejoin: bevel; stroke-miterlimit: 10; }
.vto-wait .lines path { stroke: rgba(25, 24, 38, .16); }
.vto-wait .ink path { stroke: #191826; }
.vto-wait .fill { transform-box: view-box; transform-origin: 50% 100%; animation: vto-fill 1.8s cubic-bezier(.45, 0, .55, 1) infinite; }
@keyframes vto-fill { 0% { transform: scaleY(0); } 60%, 100% { transform: scaleY(1); } }
.vto-wait span { margin-top: -10px; font: 500 12px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink3); }
/* the link to the demo in its own tab, under the plate, at its right edge */
.vto-out-row { display: flex; justify-content: flex-end; margin: 14px 10px 0; }
.vto-out { display: inline-flex; align-items: center; gap: 6px; font: 500 14px/1 var(--sans); color: var(--k-blue); text-decoration: none; }
.vto-out:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 860px) {
  .k-live-top .k-bul { display: inline-grid; justify-items: start; text-align: left; }
  .k-live-vis { width: 100%; }
  .k-live-media { aspect-ratio: 1 / 1; }  /* a phone's frame shows the demo's own phone layout (/site/assets/demo-phone.css), so it is as tall as it is wide */
  .vto-out { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) { .vto-wait .fill { animation: none; transform: scaleY(.6); } .vto-box iframe, .vto-wait { transition: none; } }
/* a phone: the frame fills the width, so a swipe on it would stay in the demo; a clear layer lets a swipe scroll the page and a tap
   hands the frame the finger (as the store frames, /site/assets/store-tap.css) */
.frame-cover { position: absolute; inset: 0; z-index: 3; display: grid; place-items: end center; padding-bottom: 18px; border: 0; margin: 0; background: transparent; cursor: pointer; }
.frame-cover span { padding: 12px 16px; border-radius: 999px; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 8px 22px -12px rgba(25, 24, 38, .4); font: 500 13px/1 var(--sans); color: #5053D0; }
.frame-cover[hidden] { display: none; }
/* the end plate: the hand and the pill of settings and stones from the Figma (Dasha, 29 Oct) under the buttons; no faded ring behind */
.vto-end { display: block; width: min(100%, 760px); height: auto; margin: clamp(28px, 4vw, 44px) auto 0; }
.k-end-plate::before { display: none; }
