/* 2.123.0 — mobile/desktop QA fixes requested 6 Oct 2026. */

/* WooCommerce notices: keep the message and icon, remove coloured rule/outline artefacts
   after AJAX add/remove actions on product, cart and checkout screens. */
body.woocommerce-page .woocommerce-notices-wrapper,
body.woocommerce-page .woocommerce-notices-wrapper > *,
body.woocommerce-page .woocommerce-message,
body.woocommerce-page .woocommerce-info,
body.woocommerce-page .woocommerce-error,
body.single-product .woocommerce-message,
body.single-product .woocommerce-info,
body.single-product .woocommerce-error {
  border:0!important;
  border-top:0!important;
  border-right:0!important;
  border-bottom:0!important;
  border-left:0!important;
  outline:0!important;
  box-shadow:none!important;
  background-image:none!important;
}
body.woocommerce-page .woocommerce-notices-wrapper:focus,
body.woocommerce-page .woocommerce-message:focus,
body.woocommerce-page .woocommerce-info:focus,
body.woocommerce-page .woocommerce-error:focus,
body.woocommerce-page .woocommerce-notices-wrapper > *:focus {
  outline:0!important;
  box-shadow:none!important;
}
body.single-product .woocommerce-notices-wrapper {
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
}

/* Every product page must finish cleanly at the shared footer. */
body.single-product { overflow-x:clip; }
body.single-product .site-footer {
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  clear:both!important;
  width:100%!important;
  max-width:none!important;
  position:relative!important;
  z-index:1!important;
}
body.single-product #screen,
body.single-product .product-below-content { min-width:0!important; max-width:100%!important; }

/* Checkout containment. Prevent pasted/autofilled content, Select2 and order totals from
   pushing the mobile page/frame beyond the viewport. */
.alexs-checkout-page,
.alexs-checkout-shell,
.alexs-live-checkout,
.alexs-live-checkout form.checkout,
.alexs-live-checkout #customer_details,
.alexs-live-checkout .col2-set,
.alexs-live-checkout .col-1,
.alexs-live-checkout .col-2,
.alexs-live-checkout .alex98-order-card,
.alexs-live-checkout #order_review,
.alexs-live-checkout .woocommerce-checkout-review-order {
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
.alexs-checkout-page { overflow-x:clip!important; }
.alexs-live-checkout form.checkout { width:100%!important; }
.alexs-live-checkout .col2-set,
.alexs-live-checkout .col-1,
.alexs-live-checkout .col-2 { width:100%!important; }
.alexs-live-checkout .form-row,
.alexs-live-checkout .woocommerce-input-wrapper,
.alexs-live-checkout .select2-container,
.alexs-live-checkout .select2-selection,
.alexs-live-checkout input.input-text,
.alexs-live-checkout input[type="text"],
.alexs-live-checkout input[type="email"],
.alexs-live-checkout input[type="tel"],
.alexs-live-checkout input[type="search"],
.alexs-live-checkout textarea,
.alexs-live-checkout select {
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
.alexs-live-checkout input.input-text,
.alexs-live-checkout input[type="text"],
.alexs-live-checkout input[type="email"],
.alexs-live-checkout input[type="tel"],
.alexs-live-checkout input[type="search"],
.alexs-live-checkout textarea,
.alexs-live-checkout select,
.alexs-live-checkout .select2-container { width:100%!important; }
.alexs-live-checkout .alex98-order-card { overflow:hidden!important; }
.alexs-live-checkout #order_review table.shop_table,
.alexs-live-checkout .woocommerce-checkout-review-order-table {
  width:100%!important;
  max-width:100%!important;
  table-layout:fixed!important;
}
.alexs-live-checkout #order_review table.shop_table th,
.alexs-live-checkout #order_review table.shop_table td {
  min-width:0!important;
  max-width:100%!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
}
.alexs-live-checkout #order_review table.shop_table tfoot th { width:44%!important; }
.alexs-live-checkout #order_review table.shop_table tfoot td { width:56%!important; text-align:right!important; }
.alexs-live-checkout #alexs-egift-panel,
.alexs-live-checkout .alex101-website-gift,
.alexs-live-checkout .alex101-website-host,
.alexs-live-checkout #payment,
.alexs-live-checkout #payment ul.payment_methods,
.alexs-live-checkout #payment .payment_box { min-width:0!important; max-width:100%!important; box-sizing:border-box!important; }

@media(max-width:980px){
  html,body { max-width:100%; overflow-x:clip; }
  .alexs-checkout-page {
    width:100%!important;
    max-width:100%!important;
    padding-left:clamp(16px,4vw,28px)!important;
    padding-right:clamp(16px,4vw,28px)!important;
  }
  .alexs-live-checkout form.checkout { display:block!important; }
  .alexs-live-checkout #customer_details,
  .alexs-live-checkout .alex98-order-card { width:100%!important; max-width:100%!important; margin-left:0!important; margin-right:0!important; }
  .alexs-live-checkout .form-row-first,
  .alexs-live-checkout .form-row-last,
  .woocommerce-checkout #billing_city_field,
  .woocommerce-checkout #billing_phone_field,
  .woocommerce-checkout #shipping_city_field,
  .woocommerce-checkout #billing_state_field,
  .woocommerce-checkout #billing_email_field,
  .woocommerce-checkout #shipping_state_field {
    width:100%!important;
    float:none!important;
    clear:both!important;
  }
  .alexs-live-checkout .alex98-order-card { padding:clamp(18px,4vw,28px)!important; }
}

@media(max-width:520px){
  .alexs-checkout-page h1 { font-size:34px!important; }
  .alexs-live-checkout #customer_details h3,
  .alexs-live-checkout #order_review_heading { font-size:27px!important; }
  .alexs-live-checkout #order_review table.shop_table th,
  .alexs-live-checkout #order_review table.shop_table td { font-size:13px!important; }
}
