/* MYMA Shop – edler Auftritt in Schwarz, Weiß und Rot */
.shop-hero { position: relative; overflow: hidden; isolation: isolate; background: radial-gradient(120% 140% at 85% 30%, #2a0d10 0%, #0b0d10 55%, #050607 100%); color: #c9ced6; padding: clamp(48px, 7vw, 96px) 0; border-bottom: 1px solid #1f252d; }
.shop-hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px); background-size: 48px 48px; z-index: -1; mask-image: linear-gradient(90deg, transparent, #000 40%, #000 70%, transparent); }
.shop-hero-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.shop-kicker { display: inline-flex; align-items: center; gap: 10px; color: #e8c37a; font-size: .78rem; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; margin-bottom: 14px; }
.shop-kicker::before { content: ''; width: 34px; height: 1px; background: #e8c37a; }
.shop-hero h1 { color: #fff; font-size: clamp(3rem, 7vw, 5.6rem); letter-spacing: .04em; margin-bottom: .2em; }
.shop-hero h1 span { color: var(--red); }
.shop-hero .lead { color: #aeb5bf; max-width: 560px; }
.shop-trust { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; font-size: .95rem; }
.shop-trust li { display: flex; align-items: center; gap: 10px; }
.shop-trust .icon { color: var(--red); }
.shop-emblem { justify-self: center; width: min(360px, 80%); position: relative; }
.shop-emblem::before { content: ''; position: absolute; inset: -8%; border-radius: 50%; background: radial-gradient(circle, rgba(208, 32, 46, .35), transparent 65%); z-index: -1; animation: shopPulse 5s ease-in-out infinite; }
.shop-emblem img { filter: drop-shadow(0 24px 60px rgba(0, 0, 0, .6)); animation: heroFloat 7s ease-in-out infinite; }
@keyframes shopPulse { 0%, 100% { opacity: .7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
@media (max-width: 860px) { .shop-hero-inner { grid-template-columns: 1fr; } .shop-emblem { display: none; } }

.shop-cats { position: sticky; top: 74px; z-index: 50; background: rgba(11, 13, 16, .96); backdrop-filter: blur(8px); border-bottom: 2px solid var(--red); }
.shop-cats .container { display: flex; gap: 6px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; }
.shop-cats a { color: #d5d9df; text-decoration: none; font-weight: 600; font-size: .92rem; letter-spacing: .04em; text-transform: uppercase; padding: 7px 14px; border-radius: 99px; white-space: nowrap; border: 1px solid transparent; }
.shop-cats a:hover { color: #fff; border-color: #2b323c; }
.shop-cats .shop-cart-link { margin-left: auto; background: var(--red); color: #fff; display: inline-flex; align-items: center; gap: 6px; }
.shop-cats .shop-cart-link span { background: #fff; color: var(--red); border-radius: 99px; min-width: 20px; height: 20px; display: inline-grid; place-items: center; font-size: .75rem; padding: 0 6px; }
@media (max-width: 1260px) { .shop-cats { top: 0; position: relative; } }

.shop-section { background: #f6f6f4; }
.shop-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
@media (max-width: 1000px) { .shop-layout { grid-template-columns: 1fr; } }
.shop-block { margin-bottom: 44px; scroll-margin-top: 140px; }
.shop-block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-bottom: 1px solid #dcdcd6; padding-bottom: 10px; margin-bottom: 20px; }
.shop-block-head h2 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.3rem); letter-spacing: .05em; }
.shop-block-head p { margin: 0; color: var(--muted); max-width: 520px; }
.shop-block-dark { background: #0b0d10; color: #c9ced6; border-radius: 22px; padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow-lg); }
.shop-block-dark .shop-block-head { border-color: #262c35; }
.shop-block-dark .shop-block-head h2 { color: #fff; }
.shop-block-dark .shop-block-head p { color: #9aa2ad; }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.shop-product { background: #fff; border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); transition: transform .25s var(--ease), box-shadow .25s; }
.shop-product:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(20, 24, 31, .14); }
.shop-img { position: relative; aspect-ratio: 1 / .92; background: radial-gradient(110% 90% at 50% 20%, #1d232b 0%, #0b0d10 70%); display: grid; place-items: center; overflow: hidden; }
.shop-img img { width: 100%; height: 100%; object-fit: cover; }
.shop-img .shop-img-logo { width: 46%; height: auto; object-fit: contain; opacity: .9; transition: transform .5s var(--ease); }
.shop-product:hover .shop-img-logo { transform: scale(1.08) rotate(-3deg); }
.shop-img::after { content: ''; position: absolute; inset: auto 0 0; height: 4px; background: linear-gradient(90deg, var(--red), #e8c37a); }
.shop-img-note { position: absolute; bottom: 12px; left: 0; right: 0; text-align: center; font-size: .72rem; color: #6b7480; letter-spacing: .08em; text-transform: uppercase; }
.shop-badge { position: absolute; top: 12px; left: 12px; background: #e8c37a; color: #0b0d10; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px; border-radius: 99px; }
.shop-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.shop-body h3 { font-size: 1.25rem; margin: 0 0 4px; text-transform: uppercase; letter-spacing: .02em; }
.shop-body p { color: var(--muted); font-size: .92rem; flex: 1; margin-bottom: 10px; }
.shop-price { font-family: var(--font-display); font-size: 1.75rem; font-weight: 800; color: var(--ink); margin-bottom: 12px; line-height: 1.05; }
.shop-price small { display: block; font-family: var(--font-body); font-size: .76rem; font-weight: 600; color: #b27a1f; }
.shop-actions { display: flex; gap: 8px; }
.shop-actions select { width: auto; flex: 1; padding: .45em .6em; font-size: .9rem; }
.shop-cart { position: sticky; top: 140px; border-radius: 18px; border-top: 4px solid var(--red); }
@media (max-width: 1260px) { .shop-cart { top: 90px; } }
@media (max-width: 1000px) { .shop-cart { position: static; } }
.shop-cart h2 { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.cart-items { list-style: none; padding: 0; margin: 0 0 12px; }
.cart-items li { display: flex; gap: 8px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.cart-items li .ci-name { flex: 1; }
.cart-items li .ci-name small { display: block; color: var(--muted); }
.cart-items input { width: 56px; padding: .3em .4em; text-align: center; }
.cart-items button { border: 0; background: transparent; color: var(--muted); cursor: pointer; padding: 4px; border-radius: 6px; }
.cart-items button:hover { color: var(--red); background: var(--red-soft); }
.cart-total { font-size: 1.1rem; padding: 6px 0 14px; }
.cart-total strong { font-family: var(--font-display); font-size: 1.7rem; color: var(--ink); }
.pay-methods { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 12px 0 0; }
.pay-methods span { border: 1px solid var(--line-strong); border-radius: 6px; padding: 2px 8px; font-size: .74rem; font-weight: 700; color: var(--ink-2); background: #fff; }

/* Bestellübersicht */
.order-card .ledger { list-style: none; padding: 0; margin: 18px 0 0; }
.order-card .ledger li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.order-card .ledger small { display: block; color: var(--muted); }
.ticket-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0; }
.ticket-details > div { padding: 10px 14px; border-bottom: 1px solid var(--line); }
.ticket-details dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.ticket-details dd { margin: 4px 0 0; font-weight: 600; color: var(--ink); }

/* Produktfotos, Vorschaubilder und Farbauswahl */
.shop-img.has-photo { background: #fff; }
.shop-img.has-photo img { object-fit: contain; padding: 6px; transition: opacity .2s; }
.shop-badge-colors { left: auto; right: 12px; background: #0b0d10; color: #fff; }
.pm-thumbs { display: flex; gap: 6px; padding: 10px 18px 0; overflow-x: auto; scrollbar-width: thin; }
.pm-thumb { flex: none; width: 52px; height: 52px; padding: 2px; border: 2px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; transition: border-color .15s; }
.pm-thumb img { width: 100%; height: 100%; object-fit: contain; border-radius: 6px; }
.pm-thumb:hover { border-color: var(--line-strong); }
.pm-thumb.is-active { border-color: var(--red); }
.pm-variants { border: 0; padding: 0; margin: 0 0 10px; min-width: 0; }
.pm-legend { font-size: .82rem; color: var(--muted); padding: 0; margin-bottom: 6px; }
.pm-legend strong { color: var(--ink); }
.pm-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.pm-swatch { position: relative; cursor: pointer; display: inline-flex; }
.pm-swatch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pm-dot { position: relative; width: 30px; height: 30px; border-radius: 50%; background: var(--sw-base); border: 1px solid rgba(0, 0, 0, .25); box-shadow: 0 0 0 2px #fff, 0 0 0 3px transparent; transition: box-shadow .15s, transform .15s; }
.pm-dot::after { content: ''; position: absolute; inset: 9px; border-radius: 50%; background: var(--sw-accent); border: 1px solid rgba(0, 0, 0, .15); }
.pm-swatch:hover .pm-dot { transform: scale(1.08); }
.pm-swatch input:checked + .pm-dot { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--red); }
.pm-swatch input:focus-visible + .pm-dot { outline: 2px solid var(--ink); outline-offset: 4px; }
.pm-sizes { font-size: .82rem !important; color: var(--muted); margin: 0 0 8px !important; flex: 0 !important; }
.pm-thumbs[hidden] { display: none; }

/* Rechnungsanschrift beim Bestellen */
.billing-details { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin-bottom: 14px; background: #fff; }
.billing-details summary { cursor: pointer; font-weight: 600; font-size: .92rem; }
.billing-details[open] summary { margin-bottom: 8px; }
.order-invoices { display: flex; flex-wrap: wrap; gap: 8px; }

/* Gürtel/Schärpen: Farben, die laut Schülerpass noch nicht erreicht sind */
.pm-swatch.is-locked { cursor: not-allowed; opacity: .35; position: relative; }
.pm-swatch.is-locked .pm-dot { filter: grayscale(.6); }
.pm-swatch.is-locked::after { content: ''; position: absolute; left: 50%; top: 50%; width: 120%; height: 2px; background: var(--ink); transform: translate(-50%, -50%) rotate(-45deg); }
.belt-gate-hint { margin: 6px 0 0; }
.belt-gate-note { display: flex; gap: 6px; align-items: flex-start; padding: 8px 10px; border-radius: 8px; background: var(--bg-soft); }
.belt-gate-note .icon { flex: none; margin-top: 2px; }
