/* merch.css — Merch-Shop (/merch, /en/merch): Raster, Produkt-Detail, Warenkorb, Kasse, Status- und Rechtstexte */
.mx-hero { text-align: center; padding: 56px 0 22px; }
.mx-hero .eyebrow { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .25em; color: var(--accent-bright); margin-bottom: 14px; }
.mx-hero h1 { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(32px, 6vw, 56px); margin: 0 0 14px; line-height: 1; }
.mx-hero p { color: var(--text-soft); max-width: 640px; margin: 0 auto; font-size: 15px; line-height: 1.65; }

.mx-preview { margin: 0 0 18px; padding: 12px 16px; border-radius: var(--r-md); background: repeating-linear-gradient(135deg, rgba(238,126,44,.22) 0 14px, rgba(238,126,44,.12) 14px 28px); border: 2px solid var(--accent); color: var(--text); font-weight: 700; text-align: center; }

.mx-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.mx-link { background: none; border: 0; padding: 0; color: var(--accent-bright); cursor: pointer; font: inherit; text-decoration: none; }
.mx-link:hover { text-decoration: underline; }
.mx-cart-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-elev); color: var(--text); cursor: pointer; font: inherit; font-weight: 600; }
.mx-cart-btn:hover { border-color: var(--accent); }
.mx-cart-btn b { display: inline-block; min-width: 22px; padding: 1px 7px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 12px; text-align: center; }

.mx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.mx-card { display: flex; flex-direction: column; border-radius: var(--r-lg); background: var(--bg-elev); border: 1px solid var(--line); overflow: hidden; cursor: pointer; text-align: left; padding: 0; color: var(--text); font: inherit; transition: border-color .15s, transform .15s; }
.mx-card:hover, .mx-card:focus-visible { border-color: var(--accent); transform: translateY(-2px); }
.mx-card .mx-img { aspect-ratio: 1 / 1; width: 100%; object-fit: cover; background: rgba(255,255,255,.04); display: block; }
.mx-card .mx-card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; }
.mx-card .mx-card-title { font-weight: 700; font-size: 15px; line-height: 1.3; }
.mx-card .mx-card-price { color: var(--accent-bright); font-weight: 600; font-size: 14px; }

.mx-panel { border-radius: var(--r-lg); background: var(--bg-elev); border: 1px solid var(--line); padding: 18px 20px; margin-bottom: 18px; min-width: 0; }
.mx-panel h2, .mx-panel h3 { font-family: var(--font-display); text-transform: uppercase; margin: 0 0 12px; }
.mx-panel h2 { font-size: 22px; } .mx-panel h3 { font-size: 17px; }

.mx-detail { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; }
@media (max-width: 820px) { .mx-detail { grid-template-columns: 1fr; } }
.mx-main-img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; border-radius: var(--r-md); background: rgba(255,255,255,.04); display: block; }
.mx-thumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.mx-thumbs button { width: 64px; height: 64px; padding: 0; border-radius: 8px; border: 2px solid transparent; background: rgba(255,255,255,.04); cursor: pointer; overflow: hidden; }
.mx-thumbs button.on { border-color: var(--accent); }
.mx-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mx-title { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(22px, 4vw, 32px); line-height: 1.05; margin: 0 0 8px; }
.mx-price { font-size: 26px; font-weight: 800; color: var(--accent-bright); margin: 6px 0 2px; }
.mx-desc { color: var(--text-soft); line-height: 1.6; font-size: 14px; white-space: pre-line; margin-top: 16px; }
.mx-opt { margin: 14px 0; }
.mx-opt-label { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--text-soft); margin-bottom: 7px; font-family: var(--font-mono); }
.mx-vals { display: flex; flex-wrap: wrap; gap: 7px; }
.mx-val { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; min-width: 44px; justify-content: center; border-radius: 9px; border: 1px solid var(--line); background: rgba(0,0,0,.18); color: var(--text); cursor: pointer; font: inherit; font-size: 14px; }
.mx-val:hover:not(:disabled) { border-color: var(--accent); }
.mx-val.on { border-color: var(--accent-bright); background: rgba(238,126,44,.16); color: var(--accent-bright); font-weight: 700; }
.mx-val.dim { opacity: .55; }
.mx-val:disabled { opacity: .3; cursor: not-allowed; text-decoration: line-through; }
.mx-swatch { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); flex: 0 0 16px; }

.mx-qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.mx-qty button { width: 34px; height: 36px; border: 0; background: rgba(0,0,0,.2); color: var(--text); cursor: pointer; font-size: 17px; }
.mx-qty button:hover { background: rgba(238,126,44,.18); }
.mx-qty span { min-width: 34px; text-align: center; font-weight: 700; }
.mx-buy { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 18px; }

.mx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 10px; border: 0; background: linear-gradient(135deg, var(--accent), var(--accent-bright)); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.mx-btn:disabled { opacity: .45; cursor: not-allowed; }
.mx-btn.ghost { background: transparent; border: 1px solid var(--line); color: var(--text); }
.mx-btn.ghost:hover:not(:disabled) { border-color: var(--accent); }
.mx-btn.test { background: #3a6bd6; }

.mx-cart-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mx-cart-row img { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; background: rgba(255,255,255,.04); }
.mx-cart-row .mx-cr-name { font-weight: 700; overflow-wrap: anywhere; }
.mx-cart-row .mx-cr-var { color: var(--text-soft); font-size: 13px; }
.mx-cart-row .mx-cr-side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.mx-sum { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; font-size: 15px; }
.mx-sum.total { font-size: 19px; font-weight: 800; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; }
.mx-sum.total span:last-child { color: var(--accent-bright); }
.mx-note { color: var(--text-soft); font-size: 13px; line-height: 1.55; }

.mx-checkout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 18px; align-items: start; }
@media (max-width: 860px) { .mx-checkout { grid-template-columns: 1fr; } }
.mx-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mx-form .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .mx-form { grid-template-columns: 1fr; } }
.mx-field { display: flex; flex-direction: column; gap: 5px; font-size: 13px; color: var(--text-soft); min-width: 0; }
.mx-field input, .mx-field select { width: 100%; min-width: 0; box-sizing: border-box; padding: 10px 12px; font: inherit; font-size: 15px; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 9px; }
.mx-field input:focus, .mx-field select:focus { outline: none; border-color: var(--accent); }
.mx-field.bad input, .mx-field.bad select { border-color: #e0605a; }
.mx-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; margin: 14px 0; cursor: pointer; }
.mx-check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--accent); flex: 0 0 18px; }
.mx-pay { margin-top: 14px; min-height: 10px; }
.mx-test { margin-top: 16px; padding: 12px 14px; border-radius: var(--r-md); border: 1px dashed #3a6bd6; background: rgba(58,107,214,.08); }
.mx-err { color: #ff8a7a; font-size: 14px; margin-top: 8px; }

.mx-success { text-align: center; padding: 34px 20px; }
.mx-success .big { font-size: 46px; line-height: 1; margin-bottom: 10px; }
.mx-success .num { font-family: var(--font-mono); font-size: 22px; color: var(--accent-bright); margin: 8px 0 16px; overflow-wrap: anywhere; }

.mx-status-pill { display: inline-block; padding: 4px 12px; border-radius: 999px; background: rgba(238,126,44,.14); color: var(--accent-bright); font-weight: 700; font-size: 14px; }
.mx-status-pill.ok { background: rgba(123,209,127,.14); color: #7bd17f; }
.mx-status-pill.bad { background: rgba(224,96,90,.14); color: #ff8a7a; }
.mx-steps { display: flex; gap: 6px; margin: 16px 0; flex-wrap: wrap; }
.mx-steps span { flex: 1 1 100px; padding: 8px 10px; border-radius: 8px; background: rgba(0,0,0,.2); font-size: 13px; text-align: center; color: var(--text-soft); }
.mx-steps span.on { background: rgba(238,126,44,.18); color: var(--accent-bright); font-weight: 700; }

.mx-legal { line-height: 1.7; font-size: 15px; color: var(--text); overflow-wrap: anywhere; }
.mx-legal h2, .mx-legal h3, .mx-legal h4 { font-family: var(--font-display); text-transform: uppercase; margin: 22px 0 8px; }
.mx-legal p { margin: 0 0 12px; white-space: pre-line; }
.mx-legal ul { margin: 0 0 12px 20px; padding: 0; }

.mx-foot { margin-top: 30px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--text-soft); font-size: 13px; line-height: 1.6; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
.mx-foot a { color: var(--accent-bright); }
.mx-soon { text-align: center; padding: 50px 20px; }
.mx-soon .big { font-size: 52px; margin-bottom: 12px; }
.mx-note a, .mx-check a { color: var(--accent-bright); }
.mx-panel a:not(.mx-btn), .mx-foot a { color: var(--accent-bright); }
