/* v17.9.27 — Pawn Services: actual mobile fixes for the original Gutenberg page.
   Only the Pawn Services context; desktop, Shop, auctions and product pages unchanged. */
@media (max-width:767px) {
  /* Native emoji, WordPress Twemoji fallback and SVG pictograms can all appear.
     Earlier global image rules used width:auto!important, expanding emoji to
     intrinsic bitmap dimensions. These precise overrides restore icon sizing. */
  body.dpr-v1792-live.dpr-v1792-pawn .dpr-v1792-original-content img:is(.emoji,.wp-smiley,[alt="📍"],[alt="🕒"],[alt="📞"],[alt="💬"]),
  body.dpr-v1792-live.dpr-v1792-pawn .dpr-v1792-original-content :is(p,li) > svg {
    display:inline-block!important;
    box-sizing:content-box!important;
    width:1.22em!important;
    height:1.22em!important;
    min-width:0!important;
    min-height:0!important;
    max-width:1.22em!important;
    max-height:1.22em!important;
    object-fit:contain!important;
    vertical-align:-.16em!important;
    margin:0 .12em 0 0!important;
    padding:0!important;
    border:0!important;
    float:none!important;
  }
  body.dpr-v1792-live.dpr-v1792-pawn .dpr-v1792-original-content .dpr-pawn-fact-emoji {
    display:inline!important;
    font-size:21px!important;
    font-weight:400!important;
    line-height:1!important;
    letter-spacing:normal!important;
    vertical-align:-.08em!important;
    white-space:nowrap!important;
  }
  /* Reset a legacy wrapper's giant font (often on the emoji's span/paragraph)
     so it cannot reserve hundreds of pixels of otherwise empty line height. */
  body.dpr-v1792-live.dpr-v1792-pawn .dpr-v1792-original-content :is(p,span,strong,div):has(> .dpr-pawn-fact-emoji),
  body.dpr-v1792-live.dpr-v1792-pawn .dpr-v1792-original-content :is(p,span,strong,div):has(> img:is(.emoji,.wp-smiley)) {
    font-size:16px!important;
    line-height:1.6!important;
    min-height:0!important;
  }
  body.dpr-v1792-live.dpr-v1792-pawn .dpr-v1792-original-content p:has(> .dpr-pawn-fact-emoji:only-child),
  body.dpr-v1792-live.dpr-v1792-pawn .dpr-v1792-original-content p:has(> img.emoji:only-child) {
    margin:8px auto!important;
    padding:0!important;
    max-height:42px!important;
  }

  /* The old process/card blocks use both CSS grid and flex-based layouts.
     Stack ALL their grid tracks to one column on a phone. These properties
     do not affect ordinary block layout and leave desktop alone. */
  body.dpr-v1792-live.dpr-v1792-pawn .dpr-v1792-original-content :is(div,section,article,ol,ul,figure) {
    grid-template-columns:minmax(0,1fr)!important;
    grid-auto-flow:row!important;
  }
  body.dpr-v1792-live.dpr-v1792-pawn .dpr-v1792-original-content :is(ol,ul) {
    column-count:1!important;
    columns:auto!important;
    flex-direction:column!important;
  }
  body.dpr-v1792-live.dpr-v1792-pawn .dpr-v1792-original-content :is(.wp-block-columns,.wp-block-group.is-layout-flex) {
    flex-direction:column!important;
    align-items:stretch!important;
  }
  body.dpr-v1792-live.dpr-v1792-pawn .dpr-v1792-original-content :is(ol,ul,.wp-block-columns,.is-layout-grid) > :is(li,div,.wp-block-column) {
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    flex-basis:auto!important;
    box-sizing:border-box!important;
  }
  body.dpr-v1792-live.dpr-v1792-pawn .dpr-v1792-original-content li {
    break-inside:avoid;
    overflow-wrap:break-word!important;
  }

  /* Gutenberg uses a shrink-to-fit flex child for .wp-block-button. Set the
     containing button width as well or the anchor's 100% is only ~110px. */
  body.dpr-v1792-live.dpr-v1792-pawn .dpr-v1792-original-content .wp-block-buttons {
    width:100%!important;
    max-width:100%!important;
    display:flex!important;
    justify-content:center!important;
    align-items:center!important;
  }
  body.dpr-v1792-live.dpr-v1792-pawn .dpr-v1792-original-content .wp-block-buttons .wp-block-button {
    box-sizing:border-box!important;
    display:block!important;
    flex:0 1 285px!important;
    width:min(285px,100%)!important;
    min-width:0!important;
    max-width:100%!important;
  }
  /* Replace the undersized bottom CTA with a proper touch target, whether
     the saved Gutenberg block uses wp-block-button or an ordinary WhatsApp link. */
  body.dpr-v1792-live.dpr-v1792-pawn .dpr-v1792-original-content :is(a[href*="wa.me/"],a[href*="whatsapp.com/"],.wp-block-buttons .wp-block-button__link) {
    box-sizing:border-box!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:min(285px,100%)!important;
    min-width:min(260px,100%)!important;
    max-width:100%!important;
    min-height:55px!important;
    height:auto!important;
    padding:14px 22px!important;
    font-size:17px!important;
    font-weight:800!important;
    line-height:1.3!important;
    text-align:center!important;
    white-space:normal!important;
    border-radius:12px!important;
    transform:none!important;
  }
  body.dpr-v1792-live.dpr-v1792-pawn .dpr-v1792-original-content :is(a[href*="wa.me/"],a[href*="whatsapp.com/"]) :is(span,strong) {
    font-size:inherit!important;
    line-height:inherit!important;
  }
}
