/* The shopping mall shares the realm's palette and type system. */
.page-view:has(.shop-page) { padding-top: 32px; }
.shop-page { --shop-ease: cubic-bezier(.23, 1, .32, 1); width: 100%; max-width: 1120px; margin-inline: auto; font-size: 13px; }
.shop-page button, .shop-page input, .shop-page select, .shop-page textarea { font: inherit; }
.shop-page button:not(:disabled):active { transform: scale(.97); }
.shop-page button { transition: transform 120ms var(--shop-ease), background-color 160ms ease, border-color 160ms ease; }
.shop-page button:disabled { opacity: .45; cursor: not-allowed; }
.shop-page :focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.shop-page .field { font-size: 12px; gap: 9px; min-width: 0; text-align: center; }
.shop-page .field input, .shop-page .field select, .shop-page .field textarea { width: 100%; max-width: 100%; min-width: 0; font-size: 13px; min-height: 45px; border-radius: 5px; }
.shop-page .field textarea { resize: vertical; line-height: 1.6; }
.shop-page .field small { color: var(--muted); font-size: 11px; line-height: 1.6; }
.shop-header { display: flex; flex-direction: column; align-items: center; gap: 25px; padding: 0 0 28px; text-align: center; }
.shop-header > div:first-child { max-width: 700px; }
.shop-header h1 { font: 500 48px/1.05 var(--serif); letter-spacing: -.6px; margin: 14px 0 15px; }
.shop-header h1 em { color: var(--gold); font-weight: 500; }
.shop-header > div > p:last-child { color: var(--muted); font-size: 13px; line-height: 1.8; }
.shop-country { position: relative; width: min(100%, 320px); padding-bottom: 3px; margin-inline: auto; }
.shop-country > span { line-height: 16px; }
.shop-country small { font-size: 11px; color: var(--muted); }
.shop-country-trigger { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 11px 13px; color: var(--text); background: var(--surface); border: 1px solid var(--border); border-radius: 5px; text-align: left; touch-action: manipulation; -webkit-tap-highlight-color: transparent; user-select: none; }
.shop-country-trigger[aria-expanded="true"] { border-color: var(--gold); }
.shop-country-flag { display: grid; place-items: center; flex: 0 0 24px; width: 24px; height: 18px; font: 21px/1.2 "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }
.shop-country-flag img { display: block; width: 24px; height: 18px; object-fit: contain; border-radius: 2px; }
.shop-country-flag-fallback, .shop-country-flag.is-fallback img { display: none; }
.shop-country-flag.is-fallback .shop-country-flag-fallback { display: block; }
.shop-country-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shop-country-trigger .shop-country-name { text-align: center; }
.shop-country-chevron { color: var(--gold); font-size: 18px; line-height: 1; }
.shop-country-menu { position: absolute; z-index: 80; top: 80px; left: 50%; width: 340px; max-width: calc(100vw - 40px); transform: translateX(-50%); overflow: hidden; border: 1px solid var(--border); border-radius: 9px; background: var(--surface); box-shadow: 0 18px 45px #0004; text-align: start; }
.shop-country-menu[hidden] { display: none; }
.shop-country-search-wrap { position: relative; padding: 13px; border-bottom: 1px solid var(--border); }
.shop-country-search-wrap > .icon { position: absolute; left: 25px; top: 28px; width: 17px; height: 17px; color: var(--muted); pointer-events: none; }
.shop-page .shop-country input.shop-country-search { padding-left: 37px; font-size: 16px; min-height: 46px; background: var(--bg); }
.shop-country-list { max-height: min(330px, 45dvh); overflow-y: auto; overscroll-behavior: contain; padding: 6px; scrollbar-width: thin; scrollbar-color: var(--border) transparent; }
.shop-country-group { padding: 10px 10px 7px; color: var(--muted); font-size: 9px; font-weight: 500; letter-spacing: 1.1px; text-transform: uppercase; }
.shop-country-list > [role="group"] + [role="group"] { margin-top: 5px; border-top: 1px solid var(--border); }
.shop-country-option { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 10px; border: 1px solid transparent; border-radius: 5px; cursor: pointer; font-size: 12px; touch-action: manipulation; -webkit-tap-highlight-color: transparent; user-select: none; }
.shop-country-option.is-active { color: var(--gold); border-color: var(--border); background: color-mix(in srgb, var(--gold) 8%, transparent); }
.shop-country-option:active { background: color-mix(in srgb, var(--gold) 14%, transparent); }
.shop-country-code { font-size: 10px; letter-spacing: .4px; color: var(--muted); }
.shop-country-check { width: 12px; color: var(--gold); }
.shop-country-empty { padding: 20px 14px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.shop-country-results { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.shop-country .shop-country-attribution { margin-top: -6px; font-size: 9px; }
.shop-country-attribution a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
@media (hover: hover) and (pointer: fine) {
  .shop-country-trigger:not(:disabled):hover { border-color: var(--gold); }
  .shop-country-option:hover { color: var(--gold); background: color-mix(in srgb, var(--gold) 8%, transparent); }
}
.shop-tabs { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; column-gap: 34px; row-gap: 0; margin-bottom: 28px; border-bottom: 1px solid var(--border); text-align: center; }
.shop-tabs > a, .shop-tabs > button { padding: 17px 0; color: var(--muted); font-size: 12px; font-weight: 500; position: relative; white-space: nowrap; }
.shop-tabs > a.active { color: var(--gold); }
.shop-tabs > a.active::after { content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 2px; background: var(--gold); }
.shop-tabs .shop-admin-link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 11px; }
.shop-tabs .shop-admin-link .icon { width: 14px; height: 14px; }
.shop-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.shop-layout > * { min-width: 0; }
.shop-section-heading { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 12px; margin-bottom: 24px; text-align: center; }
.shop-section-heading .section-label { margin-bottom: 10px; }
.shop-section-heading h2 { font: 500 36px/1.1 var(--serif); }
.shop-section-heading > span { color: var(--muted); font-size: 11px; }
/* Owner 2026-11-21: the Money items section note. */
.shop-section-note { margin-top: 8px; color: var(--muted); font-size: 13px; max-width: 560px; }
.shop-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.shop-product { display: flex; flex-direction: column; overflow: hidden; min-width: 0; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); text-align: center; }
.shop-product-art { position: relative; display: grid; place-items: center; min-height: 120px; background: radial-gradient(ellipse at center, #c8a15c15, #c8a15c00 72%); border-bottom: 1px solid var(--border); }
/* 2026-11-21 (9Pass): the product a #/purchase?sku= link points at (the in-game "Buy 9Pass" button). */
.shop-product-linked { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold), 0 0 24px #c8a15c55; }
/* CPs retain their existing guide artwork; item and VIP PNGs use the uncropped client class below. */
.shop-game-icon { display: block; position: relative; overflow: hidden; flex: none; }
.shop-game-icon img { position: absolute; max-width: none; width: auto; height: auto; }
.shop-game-icon-cp { width: 82px; height: 52px; transform: scale(1.3); border-radius: 6px; }
.shop-game-icon-cp img { width: 235px; height: 132px; left: -77px; top: -27px; }
.shop-game-icon-vip { width: 51px; height: 50px; transform: scale(1.65); border-radius: 50%; }
.shop-game-icon-vip img { width: 232px; height: 66px; left: -135px; top: -8px; }
.shop-game-icon-soul { width: 64px; height: 74px; border-radius: 5px; box-shadow: 0 0 22px #c8a15c13; }
.shop-game-icon-soul img { left: -2px; top: -2px; }
.shop-product-art > .shop-client-art { display: grid; place-items: center; width: 80px; height: 80px; padding: 0; }
.shop-product-art .game-item-icon, .shop-client-fallback { width: 64px; height: 64px; }
.shop-page .game-client-icon { display: block; position: static; inset: auto; width: 100%; height: 100%; max-width: 100%; object-fit: contain; transform: none; }
.shop-page .shop-client-name { color: inherit; font: inherit; text-align: inherit; }
.shop-page .shop-client-art:active, .shop-page .shop-client-name:active, .shop-page .shop-line-icon:active { transform: none; }
.shop-medallion { width: 112px; height: 112px; padding: 7px; }
.shop-medallion svg { width: 100%; height: 100%; stroke: var(--gold); stroke-width: 1.5; fill: #b9944809; }
.shop-medallion .coin-inner { stroke-width: .6; opacity: .7; }
.shop-medallion .coin-spark { stroke-width: 1; opacity: .45; }
.shop-medallion-item svg { stroke: #a9bbaa; fill: #a9bbaa09; }
.shop-product-label { position: absolute; top: 13px; left: 15px; padding: 5px 7px; border: 1px solid var(--border); border-radius: 4px; color: var(--muted); font-size: 9px; background: var(--surface); }
.shop-product-copy { display: flex; flex: 1; flex-direction: column; align-items: center; padding: 22px 21px 21px; }
.shop-product-copy .section-label { font-size: 8px; letter-spacing: 1.5px; margin-bottom: 10px; }
.shop-product h2 { max-width: 100%; font: 500 29px/1.15 var(--serif); margin-bottom: 10px; overflow-wrap: anywhere; }
.shop-product-description { max-width: 290px; font-size: 11px; color: var(--muted); line-height: 1.7; min-height: 38px; }
.shop-product-bottom { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 18px; width: 100%; margin-top: auto; padding-top: 24px; }
.shop-product-price strong { font-size: 17px; color: var(--gold); font-weight: 500; display: block; }
.shop-product-price small { display: block; max-width: 230px; font-size: 10px; line-height: 1.6; color: var(--muted); margin-top: 6px; }
.shop-stepper { display: flex; flex-shrink: 0; width: max-content; border: 1px solid var(--border); border-radius: 5px; height: 44px; overflow: hidden; }
.shop-stepper button { width: 44px; display: grid; place-items: center; font-size: 17px; color: var(--gold); background: #d8b87804; }
.shop-stepper input { width: 42px; border: 0; background: transparent; text-align: center; color: var(--text); font-size: 13px; padding: 0; appearance: textfield; -moz-appearance: textfield; }
.shop-stepper input::-webkit-inner-spin-button, .shop-stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.shop-stepper input:disabled { opacity: .5; }
.shop-cart { position: sticky; top: 112px; padding: 24px; text-align: center; }
.shop-cart-heading { display: flex; align-items: center; justify-content: center; gap: 14px; }
.shop-cart-heading .section-label { font-size: 8px; margin-bottom: 11px; }
.shop-cart-heading h2 { font: 500 29px/1 var(--serif); }
.shop-cart-heading h2 span { font: 500 11px/1 "DM Sans", sans-serif; color: var(--gold); border: 1px solid var(--border); border-radius: 50%; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-left: 5px; vertical-align: middle; }
.shop-cart-heading > .icon { width: 24px; height: 24px; color: var(--gold); opacity: .6; }
.shop-cart-empty { text-align: center; padding: 42px 0 27px; }
.shop-cart-empty .icon { width: 36px; height: 36px; color: var(--gold); opacity: .3; margin-bottom: 18px; }
.shop-cart-empty p { font-size: 13px; }
.shop-cart-empty small { display: block; color: var(--muted); font-size: 11px; margin-top: 9px; }
.shop-cart-lines { list-style: none; margin: 24px 0 0; padding: 0; }
.shop-cart-lines li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.shop-cart-lines li > div { min-width: 0; text-align: start; overflow-wrap: anywhere; }
.shop-cart-lines .shop-line-product { display: flex; align-items: center; flex: 1; gap: 10px; }
.shop-line-copy { min-width: 0; }
.shop-line-icon { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; padding: 0; }
.shop-line-icon .game-item-icon { width: 32px; height: 32px; }
.shop-line-copy .shop-client-name { padding: 0; max-width: 100%; overflow-wrap: anywhere; }
.shop-history-item { display: inline-flex; align-items: center; gap: 7px; vertical-align: middle; }
.shop-history-item .game-item-icon { width: 28px; height: 28px; flex: 0 0 28px; }
.shop-cart-lines strong { font-size: 12px; font-weight: 500; }
.shop-cart-lines small { display: block; color: var(--muted); font-size: 11px; margin-top: 7px; }
.shop-remove { width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center; color: var(--muted); }
.shop-remove .icon { width: 14px; height: 14px; }
.shop-cart-total { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 10px 15px; margin: 24px 0 15px; }
.shop-cart-total > span { color: var(--muted); font-size: 12px; }
.shop-cart-total > strong { font-size: 20px; font-weight: 500; color: var(--gold); white-space: nowrap; }
.shop-local-total { font-size: 10px; color: var(--muted); line-height: 1.6; }
.shop-cart-account { padding-top: 20px; font-size: 11px; color: var(--muted); line-height: 1.6; }
.shop-cart-account strong { color: var(--text); font-weight: 500; }
.shop-wide { width: 100%; justify-content: center; }
.shop-cart .shop-wide { margin-top: 17px; }
.shop-fine-print { color: var(--muted); font-size: 11px; line-height: 1.8; margin: 16px 0; }
.shop-cart .shop-fine-print { margin-bottom: 0; font-size: 10px; }
.shop-notice { color: var(--gold); border: 1px solid var(--border); border-left: 2px solid var(--gold); background: #d8b87806; padding: 15px 18px; font-size: 12px; line-height: 1.8; margin-bottom: 27px; border-radius: 5px; }
.shop-cart .shop-notice { font-size: 10px; margin: 20px 0 0; padding: 12px; }
.shop-error { color: #e5a893; border-color: #e5a89340; }
.shop-reassurance { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 25px; margin-top: 27px; color: var(--muted); font-size: 10px; }
.shop-reassurance span { display: inline-flex; align-items: center; gap: 8px; }
.shop-reassurance .icon { width: 13px; height: 13px; color: var(--gold); opacity: .6; }
.shop-empty { grid-column: 1/-1; width: 100%; max-width: 1000px; margin-inline: auto; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 62px 25px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
.shop-empty > .icon { width: 34px; height: 34px; color: var(--gold); opacity: .6; margin-bottom: 23px; }
.shop-empty h2 { font: 500 34px/1.1 var(--serif); margin-bottom: 15px; }
.shop-empty p { max-width: 430px; margin: 0 auto; color: var(--muted); font-size: 12px; line-height: 1.8; }
.shop-empty .btn { margin-top: 25px; }
.shop-loading { padding: 65px 25px; display: flex; justify-content: center; align-items: center; gap: 14px; color: var(--muted); min-height: 250px; }
.shop-checkout { padding: 34px; text-align: center; }
.shop-back { display: flex; width: fit-content; max-width: 100%; align-items: center; justify-content: center; gap: 8px; color: var(--muted); font-size: 11px; margin: 0 auto 31px; min-height: 44px; }
.shop-checkout > h2 { font: 500 45px/1 var(--serif); margin-bottom: 15px; }
.shop-checkout-account { font-size: 12px; color: var(--muted); margin-bottom: 30px; line-height: 1.7; }
.shop-checkout-account strong { color: var(--text); font-weight: 500; }
.shop-checkout-total { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 10px 15px; margin: 24px 0 18px; padding-top: 22px; border-top: 1px solid var(--border); }
.shop-checkout-total > span { color: var(--muted); font-size: 12px; }
.shop-checkout-total > strong { color: var(--gold); font-size: 23px; font-weight: 500; font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; }
.shop-methods { border: 0; padding: 0; margin: 27px auto 20px; min-width: 0; max-width: 620px; width: 100%; }
.shop-methods legend { width: 100%; text-align: center; font-size: 13px; color: var(--text); margin-bottom: 18px; }
.shop-method { display: flex; align-items: center; gap: 12px; border: 1px solid var(--border); border-radius: 7px; padding: 17px 15px; margin-bottom: 10px; cursor: pointer; text-align: start; }
.shop-method:has(input:checked) { border-color: #d8b87880; background: #d8b87808; }
.shop-method input { accent-color: var(--gold); width: 14px; height: 14px; flex-shrink: 0; }
.shop-method > span:nth-of-type(2) { min-width: 0; flex: 1; }
.shop-method strong { display: block; font-weight: 500; font-size: 13px; }
.shop-method small { display: block; color: var(--muted); font-size: 10px; margin-top: 5px; line-height: 1.5; }
.shop-method.unavailable { cursor: default; opacity: .55; }
.shop-method-mark { width: 34px; height: 34px; flex-shrink: 0; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 6px; font-size: 22px; font-weight: 600; color: var(--gold); }
.shop-method-paypal { color: #8bafdf; font-style: italic; }
.shop-method-usdt { color: #8cc4b0; }
.shop-method-instapay { color: #c6a0cf; }
.shop-method-vodafone { color: #e79f96; font-size: 18px; }
.shop-method-currency { color: var(--muted); font-size: 10px; }
.shop-order-history, .shop-admin-queue { max-width: 1000px; margin-inline: auto; }
.shop-order-list { border: 1px solid var(--border); border-radius: 10px; background: var(--surface); overflow: hidden; }
.shop-order-row { display: flex; align-items: center; gap: 25px; padding: 24px; border-bottom: 1px solid var(--border); }
.shop-order-row:last-child { border-bottom: 0; }
.shop-order-row > div:first-child { flex: 1; min-width: 0; }
.shop-order-row > div:nth-child(2) { min-width: 0; text-align: center; }
.shop-order-row > div:first-child { text-align: start; overflow-wrap: anywhere; }
.shop-order-row strong { display: block; font-weight: 500; font-size: 13px; line-height: 1.6; }
.shop-order-row small { display: block; color: var(--muted); font-size: 11px; margin-top: 8px; line-height: 1.6; }
.shop-order-row .icon { width: 17px; height: 17px; color: var(--gold); flex-shrink: 0; }
.shop-status { display: inline-flex; align-items: center; font-size: 10px; border: 1px solid var(--border); border-radius: 4px; padding: 6px 9px; line-height: 1.2; color: var(--muted); margin-top: 9px; }
.status-awaiting_review, .status-pending_review, .status-delivery_pending, .status-paid, .status-approved { color: var(--gold); background: #d8b87806; }
.status-delivered, .status-fulfilled { color: #9dc1a5; border-color: #9dc1a52b; background: #9dc1a508; }
.status-rejected, .status-delivery_failed { color: #e4ad98; border-color: #e4ad982b; background: #e4ad9808; }
.shop-order-detail { max-width: 1080px; margin-inline: auto; }
.shop-order-state { max-width: 720px; margin-inline: auto; text-align: center; font-size: 13px; color: var(--muted); line-height: 1.8; margin-bottom: 30px; }
.shop-order-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; align-items: start; }
.shop-order-columns > .panel { min-width: 0; padding: 27px; text-align: center; }
.shop-order-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.shop-order-facts dt, .shop-payment-instructions dt { color: var(--muted); font-size: 10px; margin-bottom: 8px; }
.shop-order-facts dd, .shop-payment-instructions dd { margin: 0; color: var(--text); font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.shop-order-facts > div:first-child { grid-column: 1/-1; }
.shop-order-facts > div:first-child dd { font-size: 16px; }
.shop-order-refresh { margin-top: 23px; font-size: 11px; }
.shop-payment-instructions h3, .shop-proof-form h3, .shop-submitted-proof h3, .shop-admin-review h3, .shop-order-columns h3 { font: 500 30px/1.1 var(--serif); margin-bottom: 23px; }
.shop-payment-instructions dl { display: grid; gap: 19px; }
.shop-payment-instructions .shop-recipient { word-break: break-all; font-size: 14px; color: var(--gold); }
.shop-proof-form, .shop-admin-review { border-top: 1px solid var(--border); margin-top: 27px; padding-top: 26px; }
.shop-proof-form .field, .shop-admin-review .field { margin-bottom: 22px; }
.shop-proof-form input[type=file] { font-size: 11px; padding: 10px; }
.shop-proof-form input[type=file]::file-selector-button { font: inherit; border: 1px solid var(--border); background: #d8b8780d; color: var(--gold); padding: 7px; border-radius: 3px; margin-inline-end: 10px; }
.shop-submitted-proof { border-top: 1px solid var(--border); margin-top: 23px; padding-top: 25px; }
.shop-wrap { word-break: break-all; font-weight: 500; }
.shop-paypal-check { display: block; margin: 18px auto 0; color: var(--gold); font-size: 11px; text-decoration: underline; text-underline-offset: 4px; }
.shop-admin-header { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; margin-bottom: 30px; text-align: center; }
.shop-admin-header > div { max-width: 760px; }
.shop-admin-header h1 { font: 500 54px/1.05 var(--serif); margin: 15px 0 17px; letter-spacing: -.6px; }
.shop-admin-header p:last-child { color: var(--muted); font-size: 12px; line-height: 1.8; }
.shop-admin-header > .btn { flex-shrink: 0; }
.shop-admin-refresh { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.shop-review-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.shop-review-actions .btn { font-size: 11px; padding: 12px 15px; }
.shop-settings-form { max-width: 1040px; margin-inline: auto; text-align: center; }
.shop-settings-form > .shop-fine-print { max-width: 760px; margin: 0 auto 27px; }
.shop-settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.shop-setting-card { padding: 27px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); min-width: 0; text-align: center; }
.shop-setting-card legend { max-width: 100%; padding: 0 8px; margin-inline: auto; font: 500 26px/1.25 var(--serif); }
.shop-setting-card .field { margin-top: 22px; }
.shop-switch { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; font-size: 12px; color: var(--muted); cursor: pointer; }
.shop-switch input { accent-color: var(--gold); width: 16px; height: 16px; }
.shop-pricing-settings { margin-top: 29px; }
.shop-pricing-settings h2 { font: 500 34px/1.1 var(--serif); }
.shop-price-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(90px, 125px) minmax(90px, 125px) minmax(90px, 110px); gap: 20px; align-items: center; padding: 20px 0; border-top: 1px solid var(--border); }
.shop-price-row > div { min-width: 0; overflow-wrap: anywhere; }
.shop-price-row strong { font-size: 13px; font-weight: 500; }
.shop-price-row small { display: block; color: var(--muted); font-size: 10px; line-height: 1.7; margin-top: 7px; }
.shop-price-row .field { font-size: 10px; }
.shop-price-row .field input { font-size: 12px; text-align: center; font-variant-numeric: tabular-nums; }
.shop-price-row .shop-switch { font-size: 11px; }
.shop-queue-heading { text-align: center; font: 500 30px/1.1 var(--serif); margin: 34px 0 22px; }
.shop-admin-details { margin-top: 28px; padding: 22px 0; border-top: 1px solid var(--border); }
.shop-admin-details summary { width: fit-content; max-width: 100%; margin-inline: auto; color: var(--gold); cursor: pointer; font-size: 12px; padding: 12px 0; text-align: center; }
.shop-admin-details > div, .shop-admin-details > ol { margin-top: 24px; }
.shop-audit { list-style: none; padding: 0; }
.shop-audit li { color: var(--muted); font-size: 11px; padding: 15px 0; border-bottom: 1px solid var(--border); }
.shop-audit li span { color: var(--text); margin-inline-end: 8px; }
.shop-audit small { display: block; margin-top: 6px; color: var(--muted); font-size: 10px; }
html[data-theme=light] .shop-method input, html[data-theme=light] .shop-switch input { accent-color: var(--gold); }
html[data-theme=light] .shop-page .field textarea, html[data-theme=light] .shop-page .field input { background: #fffaf1; }
html[data-theme=light] .status-delivered, html[data-theme=light] .status-fulfilled { color: #437c51; }
html[data-theme=light] .shop-error, html[data-theme=light] .status-rejected, html[data-theme=light] .status-delivery_failed { color: #994e32; }
@media (hover: hover) and (pointer: fine) {
  .shop-product:hover { border-color: #d8b87850; }
  .shop-stepper button:not(:disabled):hover, .shop-remove:hover { background: #d8b87810; color: var(--gold); }
  .shop-order-row:hover { background: #d8b87805; }
  .shop-tabs > a:hover { color: var(--gold); }
}
@media (max-width: 1150px) {
  .shop-layout { grid-template-columns: minmax(0, 1fr) 295px; gap: 22px; }
  .shop-product-copy { padding-inline: 17px; }
  .shop-product-bottom { gap: 16px; }
  .shop-cart { padding: 21px; }
}
@media (max-width: 980px) {
  .shop-header h1 { font-size: 44px; }
  .shop-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .shop-layout-checkout { max-width: 720px; margin-inline: auto; }
  .shop-products { gap: 18px; }
  .shop-cart-heading h2 { font-size: 27px; }
  .shop-cart { position: static; width: 100%; max-width: 640px; margin-inline: auto; padding: 25px; }
  .shop-checkout { padding: 25px; }
  .shop-order-columns { grid-template-columns: minmax(0, 1fr); max-width: 720px; margin-inline: auto; }
  .shop-price-row { grid-template-columns: minmax(0, 1fr) 110px 110px 100px; gap: 15px; }
}
@media (max-width: 760px) {
  .shop-page .field input, .shop-page .field select, .shop-page .field textarea,
  .shop-page .shop-price-row .field input, .shop-stepper input { font-size: 16px; }
  .shop-cart-empty { padding: 25px 0 17px; }
  .shop-products { gap: 15px; }
  .shop-tabs { column-gap: 25px; }
  .shop-tabs .shop-admin-link { font-size: 10px; }
  .shop-header h1 { font-size: 40px; }
  .shop-order-row { gap: 15px; padding: 21px; }
  .shop-order-row strong { font-size: 12px; }
  .shop-admin-header h1 { font-size: 47px; }
  .shop-settings-grid { grid-template-columns: minmax(0, 1fr); max-width: 620px; margin-inline: auto; gap: 23px; }
  .shop-price-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
  .shop-price-row > div { grid-column: 1/-1; }
  .shop-price-row .shop-switch { grid-column: 1/-1; }
}
@media (max-width: 560px) {
  .shop-header { padding-bottom: 27px; gap: 23px; }
  .shop-header h1 { font-size: 36px; margin: 12px 0 14px; }
  .shop-header > div > p:last-child { font-size: 12px; }
  .shop-country { font-size: 11px; }
  .shop-country-menu { width: 100%; max-width: 100%; }
  .shop-country small { font-size: 10px; }
  .shop-tabs { column-gap: 22px; margin-bottom: 28px; }
  .shop-tabs > a, .shop-tabs > button { font-size: 11px; padding-block: 14px; }
  .shop-section-heading { gap: 12px; margin-bottom: 21px; }
  .shop-section-heading h2 { font-size: 32px; }
  .shop-section-heading .section-label { font-size: 7px; }
  .shop-section-heading > span { font-size: 10px; }
  .shop-products { grid-template-columns: 1fr; gap: 15px; }
  .shop-product-art { min-height: 105px; }
  .shop-medallion { width: 100px; height: 100px; }
  .shop-product-copy { padding: 19px 18px 19px; }
  .shop-product-copy .section-label { font-size: 8px; letter-spacing: 1.2px; }
  .shop-product h2 { font-size: 28px; line-height: 1.1; }
  .shop-product-description { font-size: 12px; min-height: 0; line-height: 1.7; }
  .shop-product-bottom { gap: 18px; padding-top: 20px; }
  .shop-product-price strong { font-size: 17px; }
  .shop-product-price small { font-size: 10px; }
  .shop-product-label { left: 10px; top: 10px; font-size: 8px; }
  .shop-reassurance { gap: 15px; font-size: 9px; }
  .shop-reassurance .icon { width: 11px; }
  .shop-checkout { padding: 23px; }
  .shop-checkout > h2 { font-size: 39px; }
  .shop-method { padding: 16px 11px; gap: 10px; }
  .shop-method strong { font-size: 12px; }
  .shop-method small { font-size: 10px; }
  .shop-method-currency { font-size: 9px; }
  .shop-method-mark { width: 30px; height: 32px; }
  .shop-order-row { position: relative; flex-direction: column; gap: 16px; padding: 22px 38px; text-align: center; }
  .shop-order-row > div:first-child { width: 100%; text-align: center; }
  .shop-order-row > div:nth-child(2) { width: 100%; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; text-align: center; }
  .shop-order-row > .icon { position: absolute; inset-inline-end: 15px; top: 50%; transform: translateY(-50%); }
  .shop-order-row .shop-status { margin-top: 0; }
  .shop-order-row small { font-size: 10px; }
  .shop-order-detail .shop-section-heading { gap: 10px; }
  .shop-order-detail .shop-section-heading .shop-status { margin-top: 0; }
  .shop-order-state { font-size: 12px; }
  .shop-order-columns > .panel { padding: 23px; }
  .shop-setting-card { padding: 23px; }
  .shop-admin-header h1 { font-size: 43px; }
  .shop-price-row { gap: 14px; }
  .shop-pricing-settings { padding: 23px; }
  .shop-review-actions { flex-direction: column; }
  .shop-review-actions .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .shop-page button { transition: none; }
  .shop-page button:not(:disabled):active { transform: none; }
}
html[data-motion=off] .shop-page button { transition: none; }
html[data-motion=off] .shop-page button:not(:disabled):active { transform: none; }

.shop-cancel-order { display: block; margin: 20px auto 0; min-height: 44px; color: var(--muted); font-size: 11px; text-decoration: underline; text-underline-offset: 4px; }
.shop-attached { color: var(--gold); font-size: 12px; padding: 13px; border: 1px solid var(--border); border-radius: 5px; }

.shop-product-cp h2 { font-variant-numeric: tabular-nums; }


/* Vendor logos retain their official colors and readable backgrounds. */
.shop-method { display:grid; grid-template-columns:16px 80px minmax(0,1fr) auto; gap:12px; }
.shop-method-mark { width:80px; height:48px; background:#fff; border-color:#e7e7e7; }
.shop-method-mark > img { width:38px; height:38px; max-width:100%; object-fit:contain; }
.shop-method-instapay { background:#18191c; border-color:var(--border); }
.shop-method-instapay > img { width:70px; height:26px; }
.shop-method-currency { justify-self:end; }
@media(max-width:560px) {
  .shop-method { grid-template-columns:14px 70px minmax(0,1fr); column-gap:10px; row-gap:3px; }
  .shop-method > input,.shop-method-mark { grid-row:1/3; }
  .shop-method-mark { width:70px; }
  .shop-method-instapay > img { width:60px; }
  .shop-method-currency { grid-column:3; justify-self:start; }
}

.shop-offer { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 24px; padding: 20px 24px; margin-bottom: 32px; border: 1px solid var(--border); border-radius: 5px; text-align: center; background: #d8b8780a; }
.shop-offer strong { color: var(--gold); font-size: 18px; font-weight: 500; }
.shop-offer span { color: var(--muted); font-size: 12px; line-height: 1.6; }
.shop-bonus-label { color: var(--gold); }
.shop-cp-bonus { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.shop-cp-bonus-add { display: block; color: var(--gold); }
.shop-catalog-section + .shop-catalog-section { margin-top: 48px; }

/* Owner 2026-11-23: Black Friday sale, 100% extra CPs until 1 December (Cairo). Red on purpose so players notice it. */
.shop-bf { position: relative; display: flex; align-items: center; justify-content: center; gap: 28px; margin: 8px 0 28px; padding: 26px 30px 26px 150px; min-height: 150px; border: 2px solid #ff3b4e; border-radius: 8px; color: #fff; text-align: start; overflow: hidden;
  background: radial-gradient(circle at 12% 50%, #ff2d43 0, transparent 46%), linear-gradient(115deg, #4d0009 0%, #9c0016 42%, #d4001f 72%, #7a0011 100%); box-shadow: 0 0 0 1px #ff6a7840 inset, 0 10px 40px #ff1f3d55; }
.shop-bf::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, #ffffff2e 50%, transparent 65%); transform: translateX(-120%); pointer-events: none; }
.shop-bf-sticker { position: absolute; left: 22px; top: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 112px; height: 112px; margin-top: -56px; color: #fff; text-align: center; line-height: 1.05; transform: rotate(-12deg);
  background: #ff1f3d; clip-path: polygon(50% 0, 61% 12%, 75% 6%, 79% 21%, 94% 22%, 89% 37%, 100% 50%, 89% 63%, 94% 78%, 79% 79%, 75% 94%, 61% 88%, 50% 100%, 39% 88%, 25% 94%, 21% 79%, 6% 78%, 11% 63%, 0 50%, 11% 37%, 6% 22%, 21% 21%, 25% 6%, 39% 12%);
  filter: drop-shadow(0 4px 10px #0008); }
.shop-bf-sticker span { font-size: 10px; font-weight: 800; letter-spacing: .6px; }
.shop-bf-sticker strong { font-size: 25px; font-weight: 900; letter-spacing: 1px; color: #ffe14d; text-shadow: 0 2px 0 #7a0011; }
.shop-bf-copy { display: flex; flex-direction: column; gap: 6px; max-width: 560px; }
.shop-bf-kicker { margin: 0; color: #ffe14d; font-size: 12px; font-weight: 800; letter-spacing: 2.5px; text-transform: uppercase; }
.shop-bf-title { font: 700 40px/1.05 var(--serif); color: #fff; text-shadow: 0 2px 18px #ff4d5e; }
.shop-bf-line { color: #ffe3e6; font-size: 13px; line-height: 1.55; }
.shop-bf-ends { display: inline-flex; flex-wrap: wrap; gap: 5px; align-self: flex-start; margin-top: 4px; padding: 5px 11px; border-radius: 999px; background: #00000059; color: #fff; font-size: 12px; font-weight: 700; }
.shop-bf-ends time { color: #ffe14d; }
.shop-bf-tag { top: 10px; left: 10px; padding: 6px 9px; border: 0; border-radius: 4px; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .3px; background: #e0001f; box-shadow: 0 3px 12px #ff1f3d80; transform: rotate(-4deg); }
.shop-product-cp:has(.shop-bf-tag) { border-color: #ff3b4e80; }
.shop-product-cp:has(.shop-bf-tag) .shop-cp-bonus-add { color: #ff5a6b; font-weight: 700; }
[dir="rtl"] .shop-bf { padding: 26px 150px 26px 30px; }
[dir="rtl"] .shop-bf-sticker { left: auto; right: 22px; transform: rotate(12deg); }
[dir="rtl"] .shop-bf-tag { left: auto; right: 10px; }
@media (prefers-reduced-motion: no-preference) {
  .shop-bf { animation: shop-bf-glow 2.2s ease-in-out infinite; }
  .shop-bf::after { animation: shop-bf-shine 3.6s ease-in-out infinite; }
  .shop-bf-sticker { animation: shop-bf-wobble 1.8s ease-in-out infinite; }
  [dir="rtl"] .shop-bf-sticker { animation-name: shop-bf-wobble-rtl; }
  .shop-bf-tag { animation: shop-bf-pulse 1.6s ease-in-out infinite; }
}
@keyframes shop-bf-glow { 0%, 100% { box-shadow: 0 0 0 1px #ff6a7840 inset, 0 10px 34px #ff1f3d40; } 50% { box-shadow: 0 0 0 1px #ff6a7880 inset, 0 10px 54px #ff1f3d99; } }
@keyframes shop-bf-shine { 0%, 55% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
@keyframes shop-bf-wobble { 0%, 100% { transform: rotate(-12deg) scale(1); } 50% { transform: rotate(-7deg) scale(1.07); } }
@keyframes shop-bf-wobble-rtl { 0%, 100% { transform: rotate(12deg) scale(1); } 50% { transform: rotate(7deg) scale(1.07); } }
@keyframes shop-bf-pulse { 0%, 100% { transform: rotate(-4deg) scale(1); } 50% { transform: rotate(-4deg) scale(1.08); } }
@media (max-width: 640px) {
  .shop-bf { flex-direction: column; padding: 92px 18px 22px; text-align: center; min-height: 0; }
  [dir="rtl"] .shop-bf { padding: 92px 18px 22px; }
  .shop-bf-sticker, [dir="rtl"] .shop-bf-sticker { left: 50%; right: auto; top: 10px; width: 86px; height: 86px; margin: 0 0 0 -43px; }
  .shop-bf-sticker strong { font-size: 19px; }
  .shop-bf-sticker span { font-size: 8px; }
  .shop-bf-copy { align-items: center; }
  .shop-bf-ends { align-self: center; }
  .shop-bf-title { font-size: 30px; }
}
