/* Mobile storefront: scoped overrides, payment and order logic unchanged. */
@media (max-width: 980px) {
  .shop-page .shop-masthead { min-width:0; }
  .shop-page .shop-header-actions { min-width:0; }
  .shop-page .promotion-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .shop-page .shop-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width: 700px) {
  .shop-page { margin:0; padding-bottom:20px; }
  .shop-page *, .shop-page *::before, .shop-page *::after { box-sizing:border-box; }
  .shop-page .shop-masthead,
  .shop-page .shop-masthead.is-pinned {
    display:grid; grid-template-columns:minmax(0,1fr);
    gap:6px; padding:8px 14px; min-height:0;
  }
  .shop-page .shop-masthead.is-pinned { padding-top:max(8px,env(safe-area-inset-top)); }
  .shop-page .shop-brand { grid-column:1; grid-row:1; justify-content:center; }
  .shop-page .shop-brand .diggicardz-shop-logo { width:104px; height:50px; object-fit:contain; }
  .shop-page .shop-masthead .shop-header-actions {
    display:grid; grid-template-columns:repeat(3,minmax(0,1fr));
    width:100%; grid-row:2; grid-column:1; gap:6px;
  }
  .shop-page .shop-header-actions .shop-icon-link,
  .shop-page .shop-header-actions .shop-cart-link {
    display:flex; min-width:0; min-height:40px; padding:7px 5px;
    font-size:11px; line-height:1.2; border-radius:8px; gap:4px;
  }
  .shop-page .shop-header-actions .shop-cart-link b { min-width:18px; height:18px; flex-shrink:0; }
  .shop-page .shop-navlinks { grid-row:3; grid-column:1; width:100%; min-width:0; gap:4px; padding:2px 0; }
  .shop-page .shop-navlinks button { min-height:40px; padding:10px; font-size:12px; }
  .shop-page .shop-payment-announcement { padding:12px 14px; gap:8px; }
  .shop-page .shop-payment-options { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); width:100%; max-width:420px; gap:6px; }
  .shop-page .shop-payment-options>strong { grid-column:1/-1; margin:0; font-size:12px; }
  .shop-page .shop-payment-options span.payment-logo-tile {
    display:flex; width:100%; min-width:0; min-height:36px; margin:0;
    padding:5px 7px; gap:6px; white-space:normal;
  }
  .shop-page .shop-payment-options span.payment-logo-tile:last-child { grid-column:1/-1; width:calc(50% - 3px); justify-self:center; }
  .shop-page .shop-payment-options .payment-logo-tile b { font-size:10px; }
  .shop-page .shop-payment-announcement>small { max-width:420px; font-size:10px; line-height:1.5; }
  .shop-page .shop-shell { padding-bottom:20px; }
  .shop-page .shop-shell>section,
  .shop-page .shop-shell>.shop-result-count,
  .shop-page .shop-shell>.price-hint { width:calc(100% - 28px); }
  .shop-page .shop-hero { grid-template-columns:minmax(0,1fr); gap:20px; min-height:0; padding:24px 14px!important; margin-bottom:24px!important; }
  .shop-page .shop-hero-copy { width:100%; max-width:520px; margin:auto; padding:0; text-align:center; }
  .shop-page .shop-hero .eyebrow { font-size:10px; letter-spacing:.12em; }
  .shop-page .shop-hero h1.shop-illustrated-title { margin:14px auto 20px; width:100%; padding:0; }
  .shop-page .shop-illustrated-title img { width:100%; height:auto; display:block; }
  .shop-page .tcg-brand-row { grid-template-columns:repeat(2,minmax(0,1fr)); max-width:360px; gap:8px; margin:0 auto; }
  .shop-page .tcg-brand-tile { width:100%; height:64px; padding:10px; border-radius:10px; }
  .shop-page .shop-hero-art { position:relative; display:flex; align-items:center; justify-content:center; gap:18px; width:100%; max-width:320px; min-height:0; margin:4px auto 8px; padding:10px; }
  .shop-page .shop-hero-art .hero-card {
    position:relative; inset:auto; flex:0 1 130px; width:130px; height:176px;
    min-width:0; border-width:5px; border-radius:10px; transform:none;
    box-shadow:0 6px 18px #03102b66;
  }
  .shop-page .shop-hero-art .hero-spark { display:none; }
  .shop-page .shop-promotions { margin-top:24px!important; margin-bottom:24px!important; }
  .shop-page .promotion-heading { align-items:flex-start; flex-direction:column; gap:8px; margin-bottom:14px; }
  .shop-page .promotion-heading h2,.shop-page .shop-section-heading h2 { font-size:24px; line-height:1.2; }
  .shop-page .promotion-grid,.shop-page .shop-grid { gap:16px; align-items:stretch; }
  .shop-page .promotion-card,.shop-page .shop-card { border-radius:12px; transform:none; }
  .shop-page .promotion-card>div {
    width:100%; height:auto; min-height:0; flex:0 0 auto; aspect-ratio:4/3; padding:14px;
  }
  .shop-page .promotion-card>div img { width:100%; height:100%; object-fit:contain; padding:0; }
  .shop-page .promotion-card>strong { margin:0 14px; min-height:0; font-size:17px; line-height:1.4; overflow-wrap:anywhere; }
  .shop-page .promotion-card>small { margin:14px 14px 6px; }
  .shop-page .promotion-card>p { flex-direction:row; flex-wrap:wrap; align-items:center; gap:8px 12px; margin: auto 14px 14px; padding-top:16px; }
  .shop-page .promotion-card>p>b { font-size:36px; line-height:1.25; white-space:nowrap; }
  .shop-page .promotion-card>span.availability-callout { max-width:calc(100% - 28px); margin:12px 14px; }
  .shop-page .promotion-card .card-condition { margin:8px 14px; align-self:flex-start; }
  .shop-page .shop-categories { margin-bottom:24px!important; gap:8px; grid-template-columns:repeat(8,124px); }
  .shop-page .shop-categories>button { min-height:132px; padding-bottom:12px; }
  .shop-page .shop-categories>button strong { font-size:14px; }
  .shop-page .shop-trustbar { display:flex; flex-wrap:wrap; gap:8px 16px; padding:12px; }
  .shop-page .shop-filterbar { display:grid; grid-template-columns:minmax(0,1fr); gap:12px; padding:14px; }
  .shop-page .shop-search,.shop-page .shop-sort-label { width:100%; min-width:0; }
  .shop-page .shop-search input,.shop-page .shop-sort-label select { min-width:0; width:100%; min-height:44px; font-size:16px; }
  .shop-page .shop-card .shop-main-image { display:block; width:100%; aspect-ratio:4/3; }
  .shop-page .shop-card .shop-main-image img { width:100%; height:100%; max-height:none; padding:14px; object-fit:contain; }
  .shop-page .shop-thumbnails { flex-wrap:wrap; }
  .shop-page .shop-card-body { min-width:0; padding:14px; }
  .shop-page .shop-card h2 { font-size:18px; line-height:1.4; overflow-wrap:anywhere; }
  .shop-page .shop-buy-form { display:flex; flex-wrap:wrap; gap:10px; align-items:end; }
  .shop-page .shop-buy-form .primary-btn { min-height:44px; flex:1 1 170px; white-space:normal; }
  .shop-page .slab-grading { height:auto; min-height:0; gap:10px; padding:10px; }
  .shop-page .price-hint { line-height:1.9; overflow-wrap:anywhere; }
  .shop-page .shop-inquiry-button { position:static; display:flex; width:fit-content; max-width:calc(100% - 28px); margin:0 auto 16px; min-height:44px; padding:12px 18px; font-size:14px; }
}
@media (max-width:540px) {
  .shop-page .promotion-grid,.shop-page .shop-grid { grid-template-columns:minmax(0,1fr); }
}
