/* MessageCard Boutique v4.5.0 — Mobile PDP usability only.
   CSS-only add-on for v4.4.9. Does not alter prices, scripts, forms,
   cart/checkout requests, proof approval, or order-progress features.
   The mobile-only rules intentionally do not make image-submit buttons
   full-width, because stretching a native Zen Cart button image can distort it.
*/
@media screen and (max-width:700px) {
  /* Contain the product options and images within narrow screens. */
  body.tpl_messagecard #productGeneral #cart-box,
  body.tpl_messagecard #productGeneral #productAttributes,
  body.tpl_messagecard #productGeneral #cartAdd,
  body.tpl_messagecard #productGeneral .wrapperAttribsOptions,
  body.tpl_messagecard #productGeneral #pinfo-left,
  body.tpl_messagecard #productGeneral #productDescription {
    min-width:0!important;
    max-width:100%!important;
  }
  /* Safari generally avoids zooming focused form fields at 16px+. */
  body.tpl_messagecard #productGeneral #productAttributes select,
  body.tpl_messagecard #productGeneral #productAttributes textarea,
  body.tpl_messagecard #productGeneral #productAttributes input[type="text"],
  body.tpl_messagecard #productGeneral #productAttributes input[type="number"],
  body.tpl_messagecard #productGeneral #productAttributes input[type="email"],
  body.tpl_messagecard #productGeneral #productAttributes input[type="tel"],
  body.tpl_messagecard #productGeneral #productAttributes input[type="date"] {
    box-sizing:border-box!important;
    max-width:100%!important;
    min-height:48px!important;
    font-size:16px!important;
    line-height:1.5!important;
  }
  body.tpl_messagecard #productGeneral #productAttributes textarea {
    height:auto;
    min-height:100px!important;
    resize:vertical;
  }
  body.tpl_messagecard #productGeneral #cartAdd input[name="cart_quantity"] {
    font-size:18px!important;
    min-height:48px!important;
    height:48px!important;
    width:82px!important;
    text-align:center!important;
  }
  body.tpl_messagecard #productGeneral #cartAdd input[type="submit"],
  body.tpl_messagecard #productGeneral #cartAdd button[type="submit"],
  body.tpl_messagecard #productGeneral #cartAdd .cssButton {
    min-height:48px!important;
    font-size:15px!important;
    line-height:1.4!important;
  }
  /* Never scale a Zen Cart input[type=image] horizontally. */
  body.tpl_messagecard #productGeneral #cartAdd input[type="image"] {
    max-width:100%!important;
    min-height:46px!important;
  }
  /* Improve readability of the v4.4.9 buying guidance without hiding it. */
  body.tpl_messagecard #productGeneral .mc-pdp-buying-line p,
  body.tpl_messagecard #productGeneral .mc-pdp-buying-free,
  body.tpl_messagecard #productGeneral .mc-pdp-after-order-note {
    font-size:13px!important;
    line-height:1.75!important;
    overflow-wrap:anywhere;
  }
  body.tpl_messagecard #productGeneral .mc-pdp-buying-link {
    min-height:44px;
    display:inline-flex!important;
    align-items:center;
    max-width:calc(100% - 53px);
  }
  body.tpl_messagecard #productGeneral #productAdditionalImages a {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:44px;
    max-width:100%;
  }
  body.tpl_messagecard #productGeneral #productAttributes :is(input,select,textarea):focus-visible,
  body.tpl_messagecard #productGeneral #cartAdd :is(input,button):focus-visible {
    outline:3px solid #80594c!important;
    outline-offset:3px!important;
  }
}
