/* XPORTAL MOBILE SHOP 2026-10-17 — mobile layout only; loaded by the existing WooCommerce/ACSS integration. */
@media (max-width: 767px), (max-width: 991px) and (orientation: landscape) {
  /* Retain the shared desktop layout and rem scale; give shop content one mobile gutter. */
  body.woocommerce #brx-content > .brxe-section,
  #brxe-hu2sec, #brxe-cpg_sec { padding-inline: 18px !important; }
  body.woocommerce #brx-content > .brxe-section > .brxe-container,
  #brxe-hu2con, #brxe-cpg_con { padding-inline: 0 !important; min-width: 0; }

  /* Hardware introduction: proportional headings and a smaller spacing budget. */
  #brxe-hu2sec { padding-block: 28px !important; }
  #brxe-hu2top { gap: 24px !important; }
  #brxe-hu2tag { font-size: 12px !important; margin-bottom: 12px !important; }
  #brxe-hu2hdg { font-size: clamp(27px, 7.7vw, 32px) !important; line-height: 1.14 !important; margin-bottom: 14px !important; }
  #brxe-hu2sub { font-size: 16px !important; line-height: 1.5 !important; }
  #brxe-hu2btn { margin-top: 18px !important; gap: 10px !important; }
  #brxe-hu2btn > a { min-height: 44px; padding: 12px 16px !important; font-size: 15px !important; line-height: 1.3 !important; }
  #brxe-hu2ico { margin-top: 18px !important; gap: 22px !important; }
  #brxe-hu2rco { padding: 18px !important; }
  #brxe-hu2rli { gap: 10px !important; }
  #brxe-hu2rli > .brxe-block { gap: 10px !important; }
  #brxe-hu2rli .brxe-text-basic { font-size: 14px !important; line-height: 1.45 !important; }

  /* Hardware cards: a compact list with the existing image, title and link. */
  #brxe-cpg_sec { padding-block: 28px !important; }
  #brxe-cpg_con { gap: 20px !important; }
  #brxe-cpg_h2 { font-size: 24px !important; line-height: 1.2 !important; }
  #brxe-cpg_grid { grid-template-columns: minmax(0, 1fr) !important; gap: 12px !important; }
  #brxe-cpg_grid > .brxe-block {
    display: grid !important; grid-template-columns: clamp(88px, 28vw, 112px) minmax(0, 1fr) !important;
    grid-template-areas: "picture title" "picture link"; gap: 4px 14px !important;
    align-items: center !important; padding: 14px !important; min-height: 132px; min-width: 0;
  }
  #brxe-cpg_grid > .brxe-block > :first-child { grid-area: picture; width: 100% !important; height: auto !important; margin: 0 !important; }
  #brxe-cpg_grid > .brxe-block > :first-child img { width: 100% !important; height: 100px !important; object-fit: contain !important; }
  #brxe-cpg_grid > .brxe-block > h3 { grid-area: title; font-size: 18px !important; line-height: 1.3 !important; margin: 0 !important; min-width: 0; }
  #brxe-cpg_grid > .brxe-block > :last-child { grid-area: link; margin: 0 !important; min-height: 44px; font-size: 15px !important; }

  /* Product summary and native gallery. Full resolution remains available in the lightbox. */
  body.single-product .brxe-product-title { font-size: 28px !important; line-height: 1.16 !important; margin-bottom: 8px !important; }
  #brxe-wp1cnt, #brxe-swpcnt { gap: 16px !important; }
  #brxe-wp1mai, #brxe-swpmai { gap: 16px !important; }
  #brxe-wp1rgt, #brxe-swprgt { gap: 10px !important; }
  #brxe-wp1brd, #brxe-swpbrd { font-size: 12px !important; line-height: 1.5 !important; }
  #brxe-wp1lft, #brxe-swplft { padding: 0 !important; }
  body.single-product .brxe-product-gallery .woocommerce-product-gallery { gap: 8px !important; }
  body.single-product .brxe-product-gallery .flex-viewport { height: 160px !important; }
  body.single-product .brxe-product-gallery .woocommerce-product-gallery__image img:not(.zoomImg) {
    width: 100% !important; height: 160px !important; object-fit: contain !important;
  }
  body.single-product .brxe-product-gallery .flex-control-thumbs { gap: 8px !important; }
  body.single-product .brxe-product-gallery .flex-control-thumbs li { width: 56px !important; }
  body.single-product .brxe-product-gallery .flex-control-thumbs img { width: 56px !important; height: 44px !important; object-fit: contain !important; }
  body.single-product .brxe-product-price { margin: 0 !important; }
  body.single-product .brxe-product-price .price { font-size: 24px !important; line-height: 1.2 !important; }
  body.single-product .brxe-product-short-description,
  body.single-product .brxe-product-short-description p { font-size: 16px !important; line-height: 1.5 !important; }
  body.single-product .woocommerce-tabs { margin-top: 20px !important; }
  body.single-product .woocommerce-tabs .panel { padding: 18px 14px !important; }
  body.single-product .woocommerce-tabs .panel p,
  body.single-product .woocommerce-tabs .panel li { font-size: 16px !important; line-height: 1.55 !important; }
  body.single-product .woocommerce-tabs .panel h2 { font-size: 23px !important; line-height: 1.25 !important; }
  body.single-product .woocommerce-tabs .panel h3 { font-size: 19px !important; line-height: 1.3 !important; }
  body.single-product .variations tr { display: block; margin-bottom: 12px; }
  body.single-product .variations th.label,
  body.single-product .variations td.value { display: block !important; width: 100% !important; padding: 0 !important; text-align: left; }
  body.single-product .variations th.label { margin-bottom: 5px; }
  body.single-product .variations select { width: 100% !important; min-height: 44px; font-size: 16px !important; }
  body.single-product .cart .qty { min-height: 44px; font-size: 16px !important; }
  body.single-product .cart .button { min-height: 44px; font-size: 16px !important; }
  body.single-product form.cart:not(.variations_form),
  body.single-product .woocommerce-variation-add-to-cart { display: flex !important; flex-direction: row !important; flex-wrap: wrap; align-items: center; gap: 10px !important; }
  body.single-product .cart .quantity { width: 132px !important; min-width: 132px; flex: 0 0 132px; display: grid !important; grid-template-columns: repeat(3, 44px); align-items: center; }
  body.single-product .cart .quantity input { grid-column: 2; grid-row: 1; width: 44px !important; min-width: 44px !important; padding: 0 !important; }
  body.single-product .cart .quantity .action { position: static !important; width: 44px !important; height: 44px !important; display: flex; align-items: center; justify-content: center; }
  body.single-product .cart .quantity .minus { grid-column: 1; grid-row: 1; }
  body.single-product .cart .quantity .plus { grid-column: 3; grid-row: 1; }
  body.single-product .cart .single_add_to_cart_button { flex: 1 1 170px; margin: 0 !important; }

  /* Recommendations retain complete prices, tax notices and native cart links. */
  body.single-product ul.products li.product { padding: 16px !important; min-height: 0 !important; }
  body.single-product ul.products li.product img { max-height: 140px !important; width: 100% !important; object-fit: contain !important; }
  body.single-product ul.products li.product .woocommerce-loop-product__title { font-size: 19px !important; line-height: 1.3 !important; }
  body.single-product ul.products li.product .button { min-height: 44px; font-size: 16px !important; }

  /* Shop landing is already small: keep its type legible and only reduce whitespace. */
  #brxe-shlsec { padding-block: 24px !important; }
  #brxe-shlcon { gap: 16px !important; }
  #brxe-shltop { margin-bottom: 0 !important; }
  #brxe-shltopp { font-size: 14px !important; line-height: 1.5 !important; }
  #brxe-shlgrid { gap: 12px !important; }
  #brxe-shlgrid > .brxe-block { padding: 14px !important; }
  #brxe-shlgrid > .brxe-block > p { font-size: 14px !important; line-height: 1.45 !important; }
  #brxe-shlgrid > .brxe-block > a { min-height: 44px; display: inline-flex; align-items: center; }
}
/* END XPORTAL MOBILE SHOP 2026-10-17 */
