/* AUTOERA MOBILE CHECKOUT v1 */
@media (max-width: 768px) {
  body.ae-cart-or-checkout-page .ae-cart-top-links-hidden,
  body.ae-cart-or-checkout-page .ae-cart-add-button-hidden,
  body.ae-cart-or-checkout-page .ae-mobile-sticky-buy,
  body.ae-cart-or-checkout-page [class*="sticky-buy"] {
    display: none !important;
  }

  body.ae-mobile-checkout-page {
    overflow-x: hidden !important;
    background: #f6f7f9 !important;
  }

  body.ae-mobile-checkout-page .ae-checkout-shell {
    position: fixed;
    z-index: 9750;
    top: 108px;
    right: 0;
    bottom: 72px;
    left: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 18px 14px 36px;
    background: #f6f7f9;
    box-sizing: border-box;
  }

  body.ae-mobile-checkout-page .ae-checkout-title {
    margin: 0 0 16px;
    font-size: 29px;
    line-height: 1.15;
    color: #17191c;
  }

  body.ae-mobile-checkout-page .ae-checkout-progress {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 7px;
    margin-bottom: 15px;
  }

  body.ae-mobile-checkout-page .ae-checkout-progress span {
    padding: 9px 5px;
    border-radius: 10px;
    background: #e9edf2;
    color: #59616c;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
  }

  body.ae-mobile-checkout-page .ae-checkout-progress span.ae-active {
    background: #eaf3ff;
    color: #1261b5;
  }

  body.ae-mobile-checkout-page .ae-checkout-original {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
  }

  body.ae-mobile-checkout-page .ae-checkout-original table,
  body.ae-mobile-checkout-page .ae-checkout-original tbody,
  body.ae-mobile-checkout-page .ae-checkout-original tr,
  body.ae-mobile-checkout-page .ae-checkout-original td,
  body.ae-mobile-checkout-page .ae-checkout-original th {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  body.ae-mobile-checkout-page .ae-checkout-original form,
  body.ae-mobile-checkout-page .ae-checkout-original .ae-checkout-card,
  body.ae-mobile-checkout-page .ae-checkout-original fieldset {
    margin: 0 0 14px !important;
    padding: 16px !important;
    border: 1px solid #dfe3e8 !important;
    border-radius: 17px !important;
    background: #fff !important;
    box-shadow: 0 4px 14px rgba(0,0,0,.04) !important;
    box-sizing: border-box !important;
  }

  body.ae-mobile-checkout-page .ae-checkout-original h1,
  body.ae-mobile-checkout-page .ae-checkout-original h2,
  body.ae-mobile-checkout-page .ae-checkout-original h3,
  body.ae-mobile-checkout-page .ae-checkout-original h4,
  body.ae-mobile-checkout-page .ae-checkout-original legend {
    margin: 0 0 13px !important;
    color: #17191c !important;
    font-weight: 800 !important;
  }

  body.ae-mobile-checkout-page .ae-checkout-original label {
    display: block !important;
    margin: 0 0 6px !important;
    color: #343a43 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
  }

  body.ae-mobile-checkout-page .ae-checkout-original input[type="text"],
  body.ae-mobile-checkout-page .ae-checkout-original input[type="email"],
  body.ae-mobile-checkout-page .ae-checkout-original input[type="tel"],
  body.ae-mobile-checkout-page .ae-checkout-original input[type="number"],
  body.ae-mobile-checkout-page .ae-checkout-original input[type="password"],
  body.ae-mobile-checkout-page .ae-checkout-original select,
  body.ae-mobile-checkout-page .ae-checkout-original textarea {
    display: block !important;
    width: 100% !important;
    min-height: 48px !important;
    margin: 0 0 12px !important;
    padding: 11px 13px !important;
    border: 1px solid #d7dce2 !important;
    border-radius: 12px !important;
    background: #fff !important;
    color: #17191c !important;
    font-size: 16px !important;
    box-sizing: border-box !important;
  }

  body.ae-mobile-checkout-page .ae-checkout-original textarea {
    min-height: 100px !important;
  }

  body.ae-mobile-checkout-page .ae-checkout-original input[type="radio"],
  body.ae-mobile-checkout-page .ae-checkout-original input[type="checkbox"] {
    width: 22px !important;
    height: 22px !important;
    margin-right: 9px !important;
    vertical-align: middle !important;
  }

  body.ae-mobile-checkout-page .ae-checkout-original .ae-option-row {
    display: block !important;
    margin: 0 0 10px !important;
    padding: 13px !important;
    border: 1px solid #dfe3e8 !important;
    border-radius: 13px !important;
    background: #fff !important;
  }

  body.ae-mobile-checkout-page .ae-checkout-original input[type="submit"],
  body.ae-mobile-checkout-page .ae-checkout-original button[type="submit"],
  body.ae-mobile-checkout-page .ae-checkout-original .ae-final-submit {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 56px !important;
    margin: 14px 0 0 !important;
    padding: 12px 16px !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: linear-gradient(#54a4ee,#0866c7) !important;
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }

  body.ae-mobile-checkout-page .ae-checkout-original img {
    max-width: 100% !important;
    height: auto !important;
  }

  body.ae-mobile-checkout-page .ae-checkout-original .ae-hide-on-mobile-checkout {
    display: none !important;
  }

  /* Keep the language dropdown available above the overlay. */
  body.ae-cart-or-checkout-page .ae-mobile-language-menu,
  body.ae-cart-or-checkout-page [class*="language-menu"],
  body.ae-cart-or-checkout-page [class*="lang-menu"] {
    z-index: 99999 !important;
  }
}
