.jmb-shop-cover {
  --wash:#fff0e9; --accent:#a54024; --x:0%; --y:0%;
  position:relative; isolation:isolate; overflow:hidden; border-radius:9px; container-type:inline-size;
  aspect-ratio:2.22; background:var(--wash); color:#202c3b;
}
.jmb-shop-cover-hk { --wash:#fff2f2; --accent:#9e233a; }
.jmb-shop-cover-gb { --x:100%; --wash:#f2f3ff; --accent:#24458a; }
.jmb-shop-cover-jp { --y:50%; --wash:#fff6f6; --accent:#9f2448; }
.jmb-shop-cover-us { --x:100%; --y:50%; --wash:#f6f4f9; --accent:#344971; }
.jmb-shop-cover-th { --y:100%; --wash:#f7f2fd; --accent:#593c83; }
.jmb-shop-cover-my { --x:100%; --y:100%; --wash:#fff5e9; --accent:#77501f; }
.jmb-shop-cover-art {
  position:absolute; width:100%; aspect-ratio:1.5; inset:50% 0 auto; transform:translateY(-50%);
  background:url('../shop/regions.webp') var(--x) var(--y) / 200% 300% no-repeat;
}
.jmb-shop-cover-default .jmb-shop-cover-art {
  background:radial-gradient(ellipse at 84% 51%,#ffd18e,transparent 45%),linear-gradient(116deg,#f9f0ff 30%,#efb4ac);
}
.jmb-shop-cover::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,var(--wash),color-mix(in srgb,var(--wash) 75%,transparent) 36%,transparent 72%); }
.jmb-shop-sim {
  position:absolute; display:grid; place-items:center; left:85.4%; top:57%; width:13.6%; aspect-ratio:.84;
  border-radius:22% 22% 16% 16%; border:1px solid #fff9; transform:translate(-50%,-50%) skewX(-14deg) rotate(4deg);
  background:linear-gradient(145deg,#fff7df,#f4d9cd 51%,#d9a998); box-shadow:inset 0 0 0 1px #fff5,2px 4px 9px #40242360;
}
.jmb-shop-cover-hk .jmb-shop-sim,.jmb-shop-cover-gb .jmb-shop-sim { top:62%; }
.jmb-shop-sim i {
  width:69%; height:60%; border-radius:18%; border:1px solid #9b6d39;
  background:repeating-linear-gradient(90deg,transparent 0 30%,#986638 31% 34%),repeating-linear-gradient(0deg,transparent 0 28%,#ad773f 29% 33%),linear-gradient(135deg,#fff2bd,#ecc57e 58%,#b47c45);
}
.jmb-shop-cover-label { position:absolute; z-index:1; inset:0 24% 0 5%; display:grid; grid-auto-rows:max-content; align-content:center; gap:5px; }
.jmb-shop-cover-label small { display:flex; align-items:center; gap:6px; color:var(--accent); font-size:13px; font-weight:700; }
.jmb-shop-cover-label img { border-radius:2px; object-fit:cover; }
.jmb-shop-cover-label strong { font-size:clamp(16px,2vw,33px); letter-spacing:-.035em; line-height:1.12; overflow:hidden; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow-wrap:anywhere; }
.jmb-shop-cover-label .jmb-shop-cover-title-long { font-size:clamp(12px,7cqi,28px); line-height:1.2; }
.jmb-shop-cover-label span { color:#344359; font-size:12px; font-weight:650; }
.jmb-store-layout .jmb-product-art { display:block; height:auto; padding:8px 8px 0; background:none; }
.jmb-store-layout .jmb-product-body { padding:12px 14px 14px; }
.jmb-store-destination { display:grid; gap:6px; margin-bottom:12px; }
.jmb-store-layout .jmb-product-link { display:block; color:inherit; }
.jmb-store-layout .jmb-product-link:focus-visible { outline-offset:-3px; }
.jmb-store-layout .jmb-product-view { color:var(--jmb-orange-dark); font-size:var(--jmb-meta); }
.jmb-store-layout .jmb-product-body .jmb-row-between { margin-top:10px; padding-top:8px; border-top:1px solid #edf0f4; }
.jmb-shop-detail { padding-bottom:50px; }
.jmb-shop-crumb { display:flex; gap:10px; padding:20px 0 16px; font-size:13px; color:#576780; }
.jmb-shop-crumb a,.jmb-shop-jumps a,.jmb-shop-consent a { color:#b63f1b; }
.jmb-shop-detail-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(330px,36%); grid-template-areas:"identity buy" "details buy"; gap:16px 24px; align-items:start; }
.jmb-shop-box { padding:18px; background:white; border:1px solid #e3e8ef; border-radius:15px; box-shadow:0 4px 14px #2c415908; min-width:0; }
.jmb-shop-identity { grid-area:identity; padding:10px; }
.jmb-shop-identity .jmb-shop-cover { aspect-ratio:2.55; }
.jmb-shop-identity .jmb-shop-cover strong:not(.jmb-shop-cover-title-long) { font-size:clamp(26px,3vw,46px); }
.jmb-shop-identity-copy { padding:12px 10px 8px; }
.jmb-shop-kind { display:inline-block; padding:2px 7px; border-radius:5px; background:#fff0e6; color:#9e431e; font-size:12px; font-weight:700; }
.jmb-shop-identity h1 { margin:6px 0 8px; font-size:clamp(22px,2.2vw,32px); line-height:1.32; }
.jmb-shop-box p { margin:5px 0; color:#58677a; line-height:1.55; }
.jmb-shop-jumps { display:flex; flex-wrap:wrap; gap:8px 15px; margin-top:12px; font-size:13px; font-weight:650; }
.jmb-shop-details { grid-area:details; display:grid; gap:15px; }
.jmb-shop-details h2 { display:flex; align-items:center; gap:9px; font-size:20px; margin:0 0 12px; }
.jmb-shop-jumps {flex-wrap:wrap;gap:8px 14px}
.jmb-shop-details > section {scroll-margin-top:100px}
.jmb-plan-features {padding-left:20px;margin:0;display:grid;gap:12px;line-height:1.9}
.jmb-plan-steps {padding:0;list-style:none;counter-reset:purchase;display:grid;gap:14px}
.jmb-plan-steps li {position:relative;padding:0 0 0 39px;counter-increment:purchase}
.jmb-plan-steps li::before {content:counter(purchase,decimal-leading-zero);position:absolute;left:0;top:0;width:28px;height:28px;display:grid;place-items:center;background:#fff0e5;color:#a34522;border-radius:8px;font-size:12px;font-weight:700}
.jmb-plan-steps p {margin:4px 0 0;font-size:13px;line-height:1.9;color:#596b81}
.jmb-shop-details .jmb-faq-row {margin:8px 0}.jmb-shop-details .jmb-faq-row summary {font-size:13px;padding:13px}.jmb-shop-details .jmb-faq-row>div {font-size:13px;line-height:1.9}
.jmb-shop-details h2 svg { width:28px; height:28px; padding:5px; border-radius:7px; color:#aa411f; background:#fff0e5; }
.jmb-shop-details dl { margin:0; border:1px solid #e3e8ef; border-radius:8px; overflow:hidden; }
.jmb-shop-details dl > div { display:grid; grid-template-columns:minmax(95px,22%) minmax(0,1fr); }
.jmb-shop-details dl > div + div { border-top:1px solid #e3e8ef; }
.jmb-shop-details :is(dt,dd) { margin:0; padding:9px 12px; }
.jmb-shop-details dt { background:#f6f8fb; color:#58677a; }
.jmb-shop-buy { grid-area:buy; position:sticky; top:calc(var(--jmb-shop-offset, 92px)); max-height:calc(100dvh - var(--jmb-shop-offset, 92px) - 12px); overflow:auto; scrollbar-width:thin; display:grid; gap:12px; border-color:#f1ddcf; background:linear-gradient(150deg,#fff8f3,#fff 34%); }
.admin-bar .jmb-shop-buy { --jmb-shop-offset:124px; }
.jmb-shop-buy-head { display:grid; grid-template-columns:74px minmax(0,1fr); align-items:center; gap:11px; }
.jmb-shop-buy-head .jmb-shop-cover { width:100%; height:48px; aspect-ratio:auto; }
.jmb-shop-buy-head .jmb-shop-cover-label { display:none; }
.jmb-shop-buy h2 { margin:0; font-size:21px; }
.jmb-shop-buy-head p { margin:3px 0 0; font-size:13px; }
.jmb-shop-price { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:9px 11px; border:1px solid #f2e0d2; border-radius:9px; background:#fff4eb; }
.jmb-shop-price small { color:#734832; }
.jmb-shop-price strong { display:block; color:#b53d18; font-size:29px; line-height:1.2; }
.jmb-shop-price > span { padding:4px 7px; color:#24634b; background:#e8f5ec; border-radius:5px; font-size:11px; font-weight:700; }
.jmb-shop-form { display:grid; gap:10px; font-size:13px; }
.jmb-shop-form label { display:grid; gap:4px; font-weight:650; min-width:0; }
.jmb-shop-form :is(input:not([type=checkbox],[type=radio]),select,textarea) {
  width:100%; min-width:0; min-height:38px; border:1px solid #dce3ed; padding:6px 8px; border-radius:7px;
  font:inherit; font-weight:400; color:#253348; background:#fff;
}
.jmb-shop-form fieldset { margin:0; padding:0; min-width:0; border:0; }
.jmb-shop-form legend { padding:0; margin-bottom:5px; font-weight:700; }
.jmb-shop-options { display:flex; align-items:end; gap:10px; }
.jmb-shop-options > label { flex:1; }
.jmb-shop-qty { display:grid; grid-template-columns:35px 45px 35px; margin-top:4px; }
.jmb-shop-qty button { border:1px solid #dce3ed; border-radius:7px 0 0 7px; background:#f6f8fc; font-size:17px; }
.jmb-shop-qty button:last-child { border-radius:0 7px 7px 0; }
.jmb-shop-qty input[type=number] { text-align:center; padding-inline:2px; appearance:textfield; border-radius:0; border-inline:0; }
.jmb-shop-qty input::-webkit-inner-spin-button { appearance:none; }
.jmb-shop-networks { display:grid; grid-template-columns:repeat(auto-fit,minmax(88px,1fr)); gap:6px; }
.jmb-shop-networks label { position:relative; display:flex; align-items:center; padding:6px; min-height:40px; border:1px solid #dce3ed; border-radius:7px; cursor:pointer; line-height:1.24; background:#fff; }
.jmb-shop-networks label:has(input:checked) { border-color:#f38f6a; background:#fff0e6; }
.jmb-shop-networks label:focus-within { outline:2px solid #cc461e; outline-offset:1px; }
.jmb-shop-networks input { position:absolute; opacity:0; }
.jmb-shop-networks i { display:grid; place-items:center; flex:0 0 18px; height:18px; background:#b83542; border-radius:50%; color:white; font-style:normal; }
.jmb-shop-networks .jmb-net-ethereum { background:#566ba7; }
.jmb-shop-networks .jmb-net-solana { background:#257b65; }
.jmb-shop-password { position:relative; margin-top:-6px; }
.jmb-shop-form .jmb-shop-password input { padding-right:62px; }
.jmb-shop-password button { position:absolute; inset:4px 4px 4px auto; background:#f4f6f9; border:0; border-radius:5px; padding:0 7px; }
.jmb-shop-address { display:grid; gap:7px; }
.jmb-shop-address-row { display:grid; grid-template-columns:1fr 1fr; gap:7px; }
.jmb-shop-form .jmb-shop-consent { display:flex; align-items:start; gap:6px; font-weight:500; }
.jmb-shop-consent input { margin-top:.3em; }
.jmb-shop-buy .jmb-shop-submit { display:flex!important; justify-content:space-between; align-items:center; width:100%; }
.jmb-shop-buy .jmb-shop-due { margin:0; text-align:right; }
.jmb-shop-buy .jmb-shop-error { color:#a72328; }
.jmb-shop-mobile { display:none; }
.jmb-shop-detail :is(section,aside)[id] { scroll-margin-top:120px; }
@media(max-width:760px) {
  .jmb-shop-detail { padding-bottom:85px; }
  .jmb-shop-detail-grid { grid-template-columns:minmax(0,1fr); grid-template-areas:"identity" "buy" "details"; gap:12px; }
  .jmb-shop-buy { position:static; max-height:none; overflow:visible; padding:13px; }
  .jmb-shop-identity .jmb-shop-cover { aspect-ratio:2; }
  .jmb-store-layout .jmb-shop-cover { min-height:60px; }
  .jmb-shop-cover-label { inset-inline-start:8px; gap:2px; }
  .jmb-shop-cover-label small,.jmb-shop-cover-label span { font-size:10px; line-height:1.2; }
  .jmb-shop-cover-label img { width:14px; height:10px; }
  .jmb-shop-form :is(input,select,textarea) { font-size:16px; }
  .jmb-shop-mobile { display:flex; align-items:center; justify-content:space-between; position:fixed; z-index:8; inset:auto 0 0; padding:8px 16px max(8px,env(safe-area-inset-bottom)); background:white; border-top:1px solid #e3e8ef; }
  .jmb-shop-mobile small,.jmb-shop-mobile strong { display:block; }
  .jmb-shop-mobile strong { font-size:21px; color:#b53d18; }
  body:has(.jmb-shop-mobile) .jmb-floating-actions { bottom:calc(76px + env(safe-area-inset-bottom)); }
}
