/* GKT Commerce Engine mobile hardening */
.gktce-store,
.gktce-store *,
.gktce-product-page,
.gktce-product-page *,
.gktce-cart-page,
.gktce-cart-page *,
.gktce-checkout-page,
.gktce-checkout-page *,
.gktce-account-page,
.gktce-account-page * { box-sizing: border-box; }

.gktce-store img,
.gktce-product-page img,
.gktce-cart-page img,
.gktce-checkout-page img,
.gktce-account-page img { max-width: 100%; height: auto; }

.gktce-store input,
.gktce-store select,
.gktce-store textarea,
.gktce-store button,
.gktce-product-page input,
.gktce-product-page select,
.gktce-product-page textarea,
.gktce-product-page button,
.gktce-cart-page input,
.gktce-cart-page select,
.gktce-cart-page textarea,
.gktce-cart-page button,
.gktce-checkout-page input,
.gktce-checkout-page select,
.gktce-checkout-page textarea,
.gktce-checkout-page button,
.gktce-account-page input,
.gktce-account-page select,
.gktce-account-page textarea,
.gktce-account-page button { max-width: 100%; }

@media (max-width: 782px) {
  html { overflow-x: hidden; }
  body { overflow-x: clip; }
  .gktce-store,
  .gktce-product-page,
  .gktce-cart-page,
  .gktce-checkout-page,
  .gktce-account-page { width: 100%; max-width: 100%; overflow-x: clip; }
  .gktce-store input,
  .gktce-store select,
  .gktce-store textarea,
  .gktce-product-page input,
  .gktce-product-page select,
  .gktce-product-page textarea,
  .gktce-cart-page input,
  .gktce-cart-page select,
  .gktce-cart-page textarea,
  .gktce-checkout-page input,
  .gktce-checkout-page select,
  .gktce-checkout-page textarea,
  .gktce-account-page input,
  .gktce-account-page select,
  .gktce-account-page textarea { font-size: 16px !important; }
  .gktce-store button,
  .gktce-store .button,
  .gktce-product-page button,
  .gktce-product-page .button,
  .gktce-cart-page button,
  .gktce-cart-page .button,
  .gktce-checkout-page button,
  .gktce-checkout-page .button,
  .gktce-account-page button,
  .gktce-account-page .button { min-height: 44px; touch-action: manipulation; }
  .gktce-checkout-summary,
  .gktce-product-summary { position: static !important; top: auto !important; }
  .gktce-product-grid,
  .gktce-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; }
  .gktce-checkout-page,
  .gktce-cart-page,
  .gktce-account-page { padding-bottom: calc(18px + env(safe-area-inset-bottom)); }
}

@media (max-width: 390px) {
  .gktce-product-grid,
  .gktce-products-grid { gap: 7px !important; }
}
