/* Orikuo — videos animados (src/mg.js). Todo escala con el ancho del reproductor (unidades cqw). */
.orikuo-shop .mg { container-type: inline-size; border-radius: 18px; overflow: hidden; background: #0f1630; color: #fff; box-shadow: 0 18px 40px -26px rgba(10, 16, 32, .6); }
.orikuo-shop .mg-stage { position: relative; display: grid; grid-template-columns: 42% 1fr; align-items: center; gap: 4cqw; aspect-ratio: 16 / 10; padding: 0 6cqw 0 5cqw; background: radial-gradient(90% 80% at 20% 30%, #26357a 0%, #141c40 60%, #0c1230 100%); overflow: hidden; }
.orikuo-shop .mg-phone { justify-self: center; position: relative; height: 88%; aspect-ratio: 9 / 18.5; padding: 1.1cqw; border-radius: 5.4cqw; background: linear-gradient(150deg, #3a3d45, #0c0e12 40%, #1b1d22); box-shadow: 0 3cqw 5cqw -2cqw rgba(0, 0, 0, .6); transform: translateY(1.5cqw); }
.orikuo-shop .mg-phone::before { content: ""; position: absolute; z-index: 5; top: 2.2cqw; left: 50%; width: 30%; height: 1.3cqw; transform: translateX(-50%); border-radius: 99px; background: #0b0c10; }
.orikuo-shop .mg-screen { position: relative; height: 100%; overflow: hidden; border-radius: 4.4cqw; background: #f7f8fb; color: #0b0d12; font-size: 1.95cqw; }
.orikuo-shop .mg-copy { display: grid; gap: 1.4cqw; }
.orikuo-shop .mg-step { justify-self: start; padding: .5cqw 1.6cqw; border-radius: 99px; background: rgba(255, 197, 61, .16); color: #ffd36b; font-size: 1.9cqw; font-weight: 700; letter-spacing: .04em; }
.orikuo-shop .mg-cap { font-size: 4.6cqw; font-weight: 700; line-height: 1.04; letter-spacing: -.04em; }
.orikuo-shop .mg-sub { color: #b9c4e6; font-size: 2.4cqw; line-height: 1.35; }
.orikuo-shop .mg-copy.is-in > * { animation: shop-mg-up .55s cubic-bezier(.16, 1, .3, 1) both; }
.orikuo-shop .mg-copy.is-in .mg-cap { animation-delay: .06s; }
.orikuo-shop .mg-copy.is-in .mg-sub { animation-delay: .12s; }
@keyframes shop-mg-up { from { transform: translateY(1.6cqw); } }

/* Portada con play */
.orikuo-shop .mg-poster { position: absolute; inset: 0; z-index: 6; display: grid; place-content: center; justify-items: center; gap: 1.4cqw; background: rgba(8, 12, 30, .72); color: #fff; text-align: center; backdrop-filter: blur(2px); transition: opacity .3s; }
.orikuo-shop .mg-poster b { font-size: 3.6cqw; letter-spacing: -.03em; }
.orikuo-shop .mg-poster small { color: #b9c4e6; font-size: 2.2cqw; }
.orikuo-shop .mg-big { display: grid; place-items: center; width: 11cqw; height: 11cqw; border-radius: 50%; background: #ffc53d; color: #3b2a00; box-shadow: 0 0 0 1.4cqw rgba(255, 197, 61, .22); transition: transform .2s; }
.orikuo-shop .mg-big svg { width: 45%; height: 45%; margin-left: 8%; }
.orikuo-shop .mg-poster:hover .mg-big { transform: scale(1.06); }
.orikuo-shop .mg.is-on .mg-poster { display: none; }

/* Controles */
.orikuo-shop .mg-ctrl { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #0c1230; }
.orikuo-shop .mg-pp { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; }
.orikuo-shop .mg-pp svg { width: 16px; height: 16px; }
.orikuo-shop .mg-track { flex: 1; display: flex; gap: 4px; cursor: pointer; padding: 8px 0; }
.orikuo-shop .mg-track i { flex: 1; height: 4px; border-radius: 99px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.orikuo-shop .mg-track b { display: block; width: 0; height: 100%; background: #ffc53d; }
.orikuo-shop .mg-time { color: #b9c4e6; font-size: 12.5px; font-variant-numeric: tabular-nums; }

/* ---------- Pantallas ---------- */
.orikuo-shop .mg-screen svg { display: block; }
.orikuo-shop .mg-tap { position: absolute; z-index: 4; width: 5cqw; height: 5cqw; margin: -2.5cqw 0 0 -2.5cqw; border-radius: 50%; background: rgba(20, 87, 255, .35); box-shadow: 0 0 0 .5cqw rgba(255, 255, 255, .9); opacity: 0; animation: shop-mg-tap 1s ease-out both; }
@keyframes shop-mg-tap { 0% { opacity: 0; transform: scale(1.8); } 35% { opacity: 1; transform: scale(1); } 60% { transform: scale(.82); } 100% { opacity: 0; transform: scale(1.3); } }
.orikuo-shop .mg-screen.is-paused *, .orikuo-shop .mg-screen.is-paused { animation-play-state: paused !important; }
.orikuo-shop .mg-home { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.2cqw; padding: 30% 10% 0; background: linear-gradient(180deg, #dfe7fb, #f3e9f7); height: 100%; align-content: start; }
.orikuo-shop .mg-home span { display: grid; place-items: center; aspect-ratio: 1; border-radius: 1.8cqw; }
.orikuo-shop .mg-maps { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 1.8cqw; background: #fff; color: #ea4335; box-shadow: 0 .6cqw 1.4cqw -.6cqw rgba(0, 0, 0, .3); }
.orikuo-shop .mg-maps svg { width: 55%; height: 55%; }
.orikuo-shop .mg-home p { grid-column: 3; margin-top: -1.6cqw; text-align: center; font-size: 1.6cqw; font-weight: 600; color: #39415a; }
.orikuo-shop .mg-map { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 255, 255, .7) 2px, transparent 2px) 0 0 / 22% 22%, linear-gradient(0deg, rgba(255, 255, 255, .7) 2px, transparent 2px) 0 0 / 22% 22%, #e4e9ef; }
.orikuo-shop .mg-map i { position: absolute; left: 0; right: 0; height: 1.3cqw; background: #fff; }
.orikuo-shop .mg-map i.v { top: 0; bottom: 0; left: 0; right: auto; width: 1.3cqw; height: auto; }
.orikuo-shop .mg-mpin { position: absolute; width: 4cqw; height: 4cqw; color: #ea4335; filter: drop-shadow(0 .4cqw .6cqw rgba(0, 0, 0, .25)); }
.orikuo-shop .mg-mpin svg { width: 100%; height: 100%; }
.orikuo-shop .mg-bar { position: absolute; left: 6%; right: 6%; top: 16%; display: flex; align-items: center; gap: 1cqw; padding: 1.3cqw 1.6cqw; border-radius: 99px; background: #fff; box-shadow: 0 .6cqw 1.6cqw -.8cqw rgba(0, 0, 0, .35); font-weight: 600; min-height: 4.6cqw; }
.orikuo-shop .mg-bar svg { width: 2.3cqw; height: 2.3cqw; flex: none; color: #62676f; }
.orikuo-shop [data-type]::after, .orikuo-shop [data-type2]::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 1px; vertical-align: -.15em; background: #1457ff; animation: shop-mg-caret .8s steps(1) infinite; }
.orikuo-shop .is-done [data-type]::after, .orikuo-shop .is-done [data-type2]::after { display: none; }
@keyframes shop-mg-caret { 50% { opacity: 0; } }
.orikuo-shop .mg-sheet { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: .6cqw; padding: 2.2cqw 2.2cqw 3cqw; border-radius: 3cqw 3cqw 0 0; background: #fff; box-shadow: 0 -1cqw 2cqw -1cqw rgba(0, 0, 0, .25); animation: shop-mg-sheet .5s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes shop-mg-sheet { from { transform: translateY(100%); } }
.orikuo-shop .mg-sheet b { font-size: 1.25em; letter-spacing: -.02em; }
.orikuo-shop .mg-sheet p { display: flex; align-items: center; gap: .5cqw; color: #62676f; font-size: .9em; }
.orikuo-shop .mg-stars { display: inline-flex; color: #fbbc05; }
.orikuo-shop .mg-stars svg { width: 1.6cqw; height: 1.6cqw; }
.orikuo-shop .mg-btns { display: flex; flex-wrap: wrap; gap: .6cqw; margin-top: .6cqw; }
.orikuo-shop .mg-btns span { display: flex; align-items: center; gap: .4cqw; padding: .7cqw 1cqw; border-radius: 99px; background: #eef2fb; color: #1a56c8; font-size: .74em; font-weight: 700; white-space: nowrap; }
.orikuo-shop .mg-btns .hi { background: #1a73e8; color: #fff; animation: shop-mg-pulse 1.2s ease-in-out .6s 2; }
.orikuo-shop .mg-btns svg { width: 1.7cqw; height: 1.7cqw; }
@keyframes shop-mg-pulse { 50% { box-shadow: 0 0 0 .9cqw rgba(26, 115, 232, .25); } }
.orikuo-shop .mg-share { position: absolute; inset: 0; display: grid; align-content: start; gap: .9cqw; padding: 26% 6% 0; background: rgba(15, 22, 48, .25); }
.orikuo-shop .mg-share::before { content: ""; position: absolute; inset: 20% 0 0; border-radius: 3cqw 3cqw 0 0; background: #fff; }
.orikuo-shop .mg-share > * { position: relative; }
.orikuo-shop .mg-share p { font-weight: 700; font-size: 1.2em; margin-bottom: .6cqw; }
.orikuo-shop .mg-share span { display: flex; align-items: center; gap: 1cqw; padding: 1.3cqw 1.4cqw; border-radius: 1.6cqw; background: #f3f5f9; font-weight: 600; }
.orikuo-shop .mg-share .hi { background: #e8f0fe; color: #1a56c8; box-shadow: inset 0 0 0 2px #1a73e8; }
.orikuo-shop .mg-share svg { width: 2.2cqw; height: 2.2cqw; }
.orikuo-shop .mg-toast { position: absolute; z-index: 3; left: 50%; bottom: 7%; padding: 1cqw 2cqw; border-radius: 99px; background: #202124; color: #fff; font-size: .82em; font-weight: 600; white-space: nowrap; transform: translateX(-50%); animation: shop-mg-toast .5s ease both 1.8s; }
@keyframes shop-mg-toast { from { transform: translateX(-50%) translateY(3cqw); } }
.orikuo-shop .mg-ork, .orikuo-shop .mg-form, .orikuo-shop .mg-web { position: absolute; inset: 0; display: grid; align-content: start; gap: 1cqw; padding: 30% 7% 0; background: #f6f7fb; }
.orikuo-shop .mg-ork-h { display: flex; align-items: center; gap: .8cqw; font-size: 1.3em; font-weight: 700; letter-spacing: -.02em; margin-bottom: .6cqw; }
.orikuo-shop .mg-ork-h svg { width: 2.6cqw; height: 2.6cqw; color: #1a73e8; }
.orikuo-shop .mg-ork label, .orikuo-shop .mg-form label { color: #62676f; font-size: .78em; font-weight: 600; }
.orikuo-shop .mg-field { display: block; min-height: 4.6cqw; padding: 1.2cqw 1.4cqw; border-radius: 1.4cqw; background: #fff; box-shadow: inset 0 0 0 1.5px #d6dbe6; font-weight: 600; white-space: nowrap; overflow: hidden; }
.orikuo-shop .mg-search { padding-left: 1.4cqw; }
.orikuo-shop .mg-ok { display: flex; align-items: center; gap: 1.2cqw; margin-top: 1cqw; padding: 1.4cqw; border-radius: 1.6cqw; background: #e8f7ee; color: #1d4d33; font-size: .85em; display: none; }
.orikuo-shop .mg-ok svg { width: 3.6cqw; height: 3.6cqw; padding: .7cqw; border-radius: 50%; background: #1f9d55; color: #fff; flex: none; }
.orikuo-shop .mg-ok b { display: block; font-size: 1.12em; color: #0f3a24; }
.orikuo-shop .is-done .mg-ok { display: flex; animation: shop-mg-up .5s both; }
.orikuo-shop .mg-empty { position: absolute; left: 10%; right: 10%; top: 42%; padding: 2cqw; border-radius: 2cqw; background: #fff; color: #62676f; text-align: center; font-weight: 600; box-shadow: 0 .8cqw 2cqw -1cqw rgba(0, 0, 0, .3); animation: shop-mg-up .5s both .5s; }
.orikuo-shop .mg-web { padding-top: 22%; }
.orikuo-shop .mg-url { display: block; padding: 1cqw 1.6cqw; border-radius: 99px; background: #e9ecf2; font-size: .9em; font-weight: 600; min-height: 4cqw; }
.orikuo-shop .mg-gbp { display: grid; gap: 1cqw; margin-top: 2cqw; padding: 2.4cqw 2cqw; border-radius: 2cqw; background: #fff; box-shadow: 0 0 0 1px #e1e5ee; visibility: hidden; }
.orikuo-shop .is-done .mg-gbp { visibility: visible; animation: shop-mg-up .5s both; }
.orikuo-shop .mg-gbp b { font-size: 1.15em; letter-spacing: -.02em; }
.orikuo-shop .mg-gbp p { color: #62676f; font-size: .85em; line-height: 1.35; }
.orikuo-shop .mg-cta { justify-self: start; padding: 1cqw 2cqw; border-radius: 99px; background: #1a73e8; color: #fff; font-weight: 700; font-size: .85em; }
.orikuo-shop .mg-map-big { bottom: 30%; }
.orikuo-shop .mg-drop { position: absolute; left: 40%; top: 46%; width: 6cqw; height: 6cqw; margin: -6cqw 0 0 -3cqw; color: #ea4335; filter: drop-shadow(0 .6cqw .8cqw rgba(0, 0, 0, .3)); animation: shop-mg-drop .8s cubic-bezier(.3, 1.6, .5, 1) both .4s; }
.orikuo-shop .mg-drop svg { width: 100%; height: 100%; }
@keyframes shop-mg-drop { from { transform: translateY(-12cqw); } }
.orikuo-shop .mg-opt { display: flex; align-items: center; gap: 1.2cqw; padding: 1.6cqw; border-radius: 1.6cqw; background: #fff; box-shadow: inset 0 0 0 1.5px #d6dbe6; font-weight: 600; animation: shop-mg-up .5s both .4s; }
.orikuo-shop .mg-opt + .mg-opt { animation-delay: .7s; }
.orikuo-shop .mg-opt svg { width: 2.6cqw; height: 2.6cqw; color: #1a73e8; }
.orikuo-shop .mg-small { margin-top: 1cqw; color: #62676f; font-size: .8em; line-height: 1.35; }

@container (max-width: 520px) {
  .orikuo-shop .mg-stage { grid-template-columns: 1fr; grid-template-rows: 1fr auto; aspect-ratio: 4 / 5.3; padding: 6cqw 6cqw 8cqw; gap: 4cqw; }
  .orikuo-shop .mg-phone { height: auto; width: 40cqw; transform: none; padding: 1.8cqw; border-radius: 8cqw; }
  .orikuo-shop .mg-phone::before { top: 3.4cqw; height: 2cqw; }
  .orikuo-shop .mg-screen { border-radius: 6.6cqw; font-size: 3.3cqw; }
  .orikuo-shop .mg-copy { text-align: center; justify-items: center; gap: 2cqw; }
  .orikuo-shop .mg-step { justify-self: center; font-size: 3cqw; }
  .orikuo-shop .mg-cap { font-size: 6.6cqw; }
  .orikuo-shop .mg-sub { font-size: 3.7cqw; }
  .orikuo-shop .mg-poster b { font-size: 6cqw; }
  .orikuo-shop .mg-poster small { font-size: 3.6cqw; }
  .orikuo-shop .mg-big { width: 18cqw; height: 18cqw; }
  .orikuo-shop .mg-tap { width: 8cqw; height: 8cqw; margin: -4cqw 0 0 -4cqw; }
  .orikuo-shop .mg-stars svg, .orikuo-shop .mg-btns svg, .orikuo-shop .mg-share svg { width: 2.6cqw; height: 2.6cqw; }
  .orikuo-shop .mg-ok svg { width: 5.6cqw; height: 5.6cqw; }
  .orikuo-shop .mg-mpin { width: 6cqw; height: 6cqw; }
  .orikuo-shop .mg-bar svg { width: 3.4cqw; height: 3.4cqw; }
}
@media (prefers-reduced-motion: reduce) { .orikuo-shop .mg *, .orikuo-shop .mg *::after { animation: none !important; transition: none !important; }  }

.orikuo-shop .mg-snd { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; }
.orikuo-shop .mg-snd svg { width: 17px; height: 17px; }
