/* ORBJT · Shop */

/* ---------- Hero ---------- */
.s-hero { position: relative; min-height: 92vh; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px; padding: 140px 0 60px; }
.s-hero .display { font-size: clamp(3rem, 8vw, 7.4rem); margin: 22px 0 26px; }
.bal-card { display: inline-flex; align-items: center; gap: 16px; padding: 14px 20px 14px 14px; margin: 28px 0 0; border-radius: 20px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line2); }
.bal-card .orb-ico { width: 40px; height: 40px; }
.bal-card .orb-ico::after { inset: 13px -7px; }
.bal-card small { display: block; font: 500 11px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }
.bal-card b { font: 700 28px/1.1 var(--font-d); }
.ring-stage { position: relative; height: 520px; perspective: 1400px; }
.ring3d { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; transform: rotateX(-14deg) rotateY(calc(var(--spin, 0deg) + var(--p, 0) * 200deg)); }
.ring3d .ri { position: absolute; left: -60px; top: -60px; width: 120px; height: 120px; border-radius: 30px; display: grid; place-items: center; font-size: 60px; transform: rotateY(calc(var(--i) * 30deg)) translateZ(300px); background: radial-gradient(circle at 50% 35%, hsl(var(--h) 90% 60% / .35), rgba(12, 14, 30, .75) 70%); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(6px); box-shadow: 0 20px 50px -20px hsl(var(--h) 90% 50% / .6); }
.ring-core { position: absolute; left: 50%; top: 50%; width: 200px; height: 200px; margin: -100px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, var(--a1) 25%, var(--a2) 60%, transparent 72%); filter: blur(2px); box-shadow: 0 0 120px var(--a2); animation: pulse 4s ease-in-out infinite; }
.ring-core::after { content: "◎"; position: absolute; inset: 0; display: grid; place-items: center; font: 800 70px var(--font-d); color: #fff; mix-blend-mode: overlay; }
.ring-floor { position: absolute; left: 50%; top: 72%; width: 620px; height: 120px; margin-left: -310px; border-radius: 50%; background: radial-gradient(ellipse, color-mix(in srgb, var(--a2) 30%, transparent), transparent 70%); filter: blur(10px); }

/* ---------- Deal ---------- */
.deal { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; padding: 26px 30px; border-radius: 26px; overflow: hidden; background: linear-gradient(110deg, color-mix(in srgb, var(--a3) 22%, transparent), color-mix(in srgb, var(--a2) 18%, transparent) 50%, transparent), rgba(255, 255, 255, .03); border: 1px solid color-mix(in srgb, var(--a3) 45%, transparent); }
.deal::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, transparent 0 18px, rgba(255, 255, 255, .025) 18px 36px); pointer-events: none; }
.deal-ic { width: 96px; height: 96px; border-radius: 26px; display: grid; place-items: center; font-size: 56px; background: rgba(0, 0, 0, .3); animation: float 4s ease-in-out infinite; }
.deal h3 { font-size: clamp(1.4rem, 2.6vw, 2.1rem); margin: 6px 0; }
.deal .old { text-decoration: line-through; color: var(--dim); margin-right: 8px; font-family: var(--mono); }
.deal .new { font: 700 22px var(--mono); color: var(--a4); }
.deal-timer { text-align: right; font-family: var(--mono); }
.deal-timer b { display: block; font-size: 30px; letter-spacing: .06em; }
.deal-timer small { font-size: 11px; letter-spacing: .2em; color: var(--dim); text-transform: uppercase; }
.badge-hot { display: inline-block; padding: 4px 10px; border-radius: 8px; background: var(--a3); color: #000; font: 800 11px var(--mono); letter-spacing: .15em; }

/* ---------- Werkzeugleiste ---------- */
.toolbar { position: sticky; top: 86px; z-index: 50; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 12px; margin-bottom: 30px; border-radius: 20px; background: rgba(8, 10, 22, .72); border: 1px solid var(--line); backdrop-filter: blur(16px); }
.toolbar .pill-row { gap: 8px; }
.tb-right { display: flex; gap: 10px; flex: 1; justify-content: flex-end; min-width: 260px; }
.tb-right .input { max-width: 280px; padding: 11px 16px; border-radius: 999px; }
.tb-right select.input { max-width: 190px; }
.result-info { font: 500 12px var(--mono); color: var(--dim); letter-spacing: .1em; margin: -14px 0 20px 6px; }

/* ---------- Produkte ---------- */
.grid-p { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.pc { display: flex; flex-direction: column; cursor: pointer; transition: transform .5s var(--ease-o), box-shadow .5s; }
.pc:hover { box-shadow: 0 30px 70px -30px hsl(var(--h) 90% 55% / .6); }
.pc-stage { position: relative; height: 210px; display: grid; place-items: center; overflow: hidden; background: radial-gradient(60% 70% at 50% 45%, hsl(var(--h) 90% 60% / .32), transparent 70%); }
.pc-stage::before { content: ""; position: absolute; width: 170px; height: 44px; bottom: 34px; border-radius: 50%; background: radial-gradient(ellipse, hsl(var(--h) 90% 60% / .5), transparent 70%); filter: blur(6px); }
.pc-stage .orbit { position: absolute; width: 190px; height: 190px; border: 1px dashed rgba(255, 255, 255, .14); border-radius: 50%; animation: orbit 20s linear infinite; }
.pc-stage .orbit::after { content: ""; position: absolute; top: 50%; left: -4px; width: 8px; height: 8px; border-radius: 50%; background: hsl(var(--h) 90% 65%); box-shadow: 0 0 12px hsl(var(--h) 90% 65%); }
.pc-ic { position: relative; font-size: 88px; line-height: 1; filter: drop-shadow(0 18px 20px rgba(0, 0, 0, .5)); animation: pfloat 5s ease-in-out infinite; transition: transform .6s var(--ease-b); }
.pc:hover .pc-ic { transform: scale(1.18) rotate(-8deg); }
@keyframes pfloat { 50% { translate: 0 -12px; rotate: 4deg; } }
.pc-badges { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; gap: 6px; z-index: 2; }
.pc-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pc-body h3 { font-size: 19px; line-height: 1.2; }
.pc-body p { font-size: 13.5px; color: var(--muted); margin: 0; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pc-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.price { display: flex; align-items: center; gap: 8px; font: 700 18px var(--mono); }
.price .orb-ico { width: 18px; height: 18px; }
.price .orb-ico::after { inset: 6px -3px; }
.price s { color: var(--dim); font-size: 13px; font-weight: 500; }
.add-btn { padding: 10px 14px; font-size: 13px; }
.add-btn.done { background: var(--good); color: #000; border-color: var(--good); }
.tag.fx { color: #000; background: var(--a1); border-color: var(--a1); }
.tag.own { color: #000; background: var(--a4); border-color: var(--a4); }
.tag.deal { color: #000; background: var(--a3); border-color: var(--a3); }
.empty-res { grid-column: 1 / -1; text-align: center; padding: 60px 20px; color: var(--dim); }
.empty-res b { display: block; font-size: 60px; margin-bottom: 10px; }
.fly-ic { position: fixed; left: 0; top: 0; z-index: 9950; font-size: 40px; pointer-events: none; }

/* ---------- Produkt-Modal ---------- */
.pm .modal-box { width: min(980px, 100%); padding: 0; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; }
.pm-stage { position: relative; min-height: 480px; display: grid; place-items: center; perspective: 900px; overflow: hidden; background: radial-gradient(60% 60% at 50% 50%, hsl(var(--h) 90% 60% / .35), transparent 70%), #07081a; }
.pm-stage .rings { position: absolute; inset: 0; display: grid; place-items: center; transform-style: preserve-3d; }
.pm-stage .rings i { position: absolute; width: var(--s); height: var(--s); border-radius: 50%; border: 1.5px solid hsl(var(--h) 90% 65% / .45); transform: rotateX(70deg) rotateZ(0); animation: ringspin var(--d) linear infinite; }
@keyframes ringspin { to { transform: rotateX(70deg) rotateZ(360deg); } }
.pm-ic { position: relative; font-size: 170px; line-height: 1; filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .6)); animation: pmfloat 6s ease-in-out infinite; z-index: 2; }
@keyframes pmfloat { 0%, 100% { transform: translateY(0) rotateY(-14deg) rotateZ(-4deg); } 50% { transform: translateY(-20px) rotateY(14deg) rotateZ(4deg); } }
.pm-sparks i { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px hsl(var(--h) 90% 70%); animation: spark 3s ease-in-out infinite; }
@keyframes spark { 0%, 100% { opacity: 0; transform: translateY(10px) scale(.5); } 50% { opacity: 1; transform: translateY(-20px) scale(1); } }
.pm-info { padding: 36px; display: flex; flex-direction: column; gap: 14px; max-height: calc(100vh - 40px); overflow: auto; }
.pm-info h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.pm-info .price { font-size: 26px; }
.specs { list-style: none; margin: 4px 0; padding: 0; display: grid; gap: 6px; }
.specs li { display: flex; gap: 10px; font-size: 14px; color: var(--muted); padding: 8px 12px; border-radius: 10px; background: rgba(255, 255, 255, .03); }
.specs li::before { content: "◆"; color: hsl(var(--h) 90% 65%); font-size: 10px; margin-top: 4px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line2); border-radius: 999px; overflow: hidden; }
.qty button { width: 40px; height: 40px; font-size: 18px; color: var(--muted); }
.qty button:hover { background: rgba(255, 255, 255, .08); color: var(--text); }
.qty span { min-width: 34px; text-align: center; font: 700 15px var(--mono); }
.reviews { display: grid; gap: 10px; margin-top: 6px; }
.rev { padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); font-size: 14px; }
.rev-h { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.rev-h b { font-size: 13px; }
.rev-h .stars-row { margin-left: auto; }
.rev p { margin: 0; color: var(--muted); }

/* ---------- Warenkorb ---------- */
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 9400; width: min(440px, 100%); display: flex; flex-direction: column; background: linear-gradient(180deg, #10132a, #080a18); border-left: 1px solid var(--line2); box-shadow: -40px 0 100px -20px #000; transform: translateX(105%); transition: transform .6s var(--ease-o); }
.drawer.open { transform: none; }
.drawer-bg { position: fixed; inset: 0; z-index: 9390; background: rgba(2, 3, 8, .6); backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity .4s; }
.drawer-bg.open { opacity: 1; pointer-events: auto; }
.dr-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.dr-head h3 { font-size: 24px; }
.dr-list { flex: 1; overflow: auto; padding: 14px 18px; display: flex; flex-direction: column; gap: 10px; }
.ci-row { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 12px; border-radius: 16px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); animation: lbin .5s var(--ease-o) both; }
.ci-row .ic { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; font-size: 30px; background: radial-gradient(circle, hsl(var(--h) 90% 60% / .3), transparent 70%), rgba(0, 0, 0, .25); }
.ci-row b { display: block; font-size: 14px; line-height: 1.3; }
.ci-row small { font: 600 12px var(--mono); color: var(--muted); }
.ci-row .qty button { width: 30px; height: 30px; font-size: 15px; }
.ci-row .qty span { min-width: 26px; font-size: 13px; }
.ci-rm { color: var(--dim); font-size: 12px; margin-top: 4px; text-decoration: underline; }
.ci-rm:hover { color: var(--bad); }
.dr-empty { flex: 1; display: grid; place-items: center; text-align: center; color: var(--dim); padding: 40px; }
.dr-empty b { display: block; font-size: 64px; margin-bottom: 10px; animation: float 4s ease-in-out infinite; }
.dr-foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.dr-line { display: flex; justify-content: space-between; font: 500 14px var(--mono); color: var(--muted); }
.dr-line b { color: var(--text); }
.dr-line.total { font-size: 18px; color: var(--text); padding-top: 8px; border-top: 1px dashed var(--line2); }
.dr-line.neg b { color: var(--bad); }
.dr-warn { font-size: 13px; color: var(--warn); text-align: center; }
.shake { animation: shakex .45s; }
@keyframes shakex { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }

/* ---------- Beleg ---------- */
.rc .modal-box { width: min(420px, 100%); background: none; border: 0; box-shadow: none; padding: 0; overflow: visible; }
.printer { height: 26px; border-radius: 14px 14px 6px 6px; background: linear-gradient(#2a2f55, #161933); box-shadow: 0 10px 30px -10px #000; position: relative; z-index: 2; }
.printer::after { content: ""; position: absolute; left: 20px; right: 20px; bottom: 6px; height: 4px; border-radius: 3px; background: #05060f; }
.receipt { margin: -8px 18px 0; padding: 30px 24px 26px; background: #f4f1ea; color: #1a1a2a; font: 500 13px/1.6 var(--mono); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), 95% 100%, 90% calc(100% - 10px), 85% 100%, 80% calc(100% - 10px), 75% 100%, 70% calc(100% - 10px), 65% 100%, 60% calc(100% - 10px), 55% 100%, 50% calc(100% - 10px), 45% 100%, 40% calc(100% - 10px), 35% 100%, 30% calc(100% - 10px), 25% 100%, 20% calc(100% - 10px), 15% 100%, 10% calc(100% - 10px), 5% 100%, 0 calc(100% - 10px)); transform-origin: 50% 0; animation: print 1.4s steps(14) both; }
@keyframes print { from { clip-path: inset(0 0 100% 0); } }
.receipt h4 { font: 800 20px var(--font-d); text-align: center; letter-spacing: .2em; margin-bottom: 4px; }
.receipt .c { text-align: center; }
.receipt hr { border: 0; border-top: 1.5px dashed #999; margin: 12px 0; }
.receipt .r { display: flex; justify-content: space-between; gap: 10px; }
.receipt .big { font-size: 17px; font-weight: 800; }
.rc-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }

/* ---------- Info ---------- */
.pay-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pay-info .card { padding: 28px; }
.pay-info .n { font: 800 44px/1 var(--font-d); color: transparent; -webkit-text-stroke: 1px var(--a1); }
.pay-info h3 { font-size: 20px; margin: 14px 0 8px; }
.pay-info p { margin: 0; font-size: 14px; color: var(--muted); }

@media (max-width: 960px) {
  .s-hero { grid-template-columns: 1fr; padding-top: 120px; min-height: 0; }
  .ring-stage { height: 380px; }
  .ring3d .ri { transform: rotateY(calc(var(--i) * 30deg)) translateZ(210px); width: 90px; height: 90px; left: -45px; top: -45px; font-size: 44px; }
  .pm .modal-box { grid-template-columns: 1fr; }
  .pm-stage { min-height: 260px; }
  .pm-ic { font-size: 120px; }
  .pay-info { grid-template-columns: 1fr; }
  .deal { grid-template-columns: auto 1fr; }
  .deal-timer { grid-column: 1 / -1; text-align: left; }
  .toolbar { top: 76px; }
}
@media (max-width: 560px) {
  .deal-ic { width: 70px; height: 70px; font-size: 40px; }
  .tb-right { min-width: 100%; }
  .tb-right .input { max-width: none; }
  .toolbar .pill-row { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; width: 100%; }
  .grid-p { grid-template-columns: 1fr 1fr; gap: 12px; }
  .pc-stage { height: 150px; }
  .pc-ic { font-size: 62px; }
  .pc-body { padding: 14px; }
  .pc-body h3 { font-size: 15px; }
  .pc-body p { display: none; }
  .pc-foot { flex-direction: column; align-items: stretch; }
  .price { font-size: 15px; }
}

/* ---------- Astronauten-Outfits ---------- */
.pc-ic.av { width: 170px; height: 170px; font-size: 0; display: block; }
.pm-ic.av { width: 320px; height: 320px; font-size: 0; display: block; }
.pc-ic.av svg, .pm-ic.av svg { width: 100%; height: 100%; }
@media (max-width: 700px) { .pc-ic.av { width: 120px; height: 120px; } .pm-ic.av { width: 220px; height: 220px; } }
