/* PSOne 1.8.1 mobile reliability and responsive-width repair. */

@media (max-width: 781px) {
  /*
   * Twenty Twenty-Five supplies 30px global padding to full-width groups.
   * The homepage alignwide wrapper already owns the intended 20px gutter;
   * removing the duplicate layer restores 350px of usable width at 390px.
   */
  .psone-home-v4 > .wp-block-group.has-global-padding {
    padding-inline: 0;
  }

  .psone-home-v4 .alignwide {
    width: calc(100% - 40px);
    max-width: 1200px;
    margin-inline: auto;
  }

  .psone-home-v4 .wp-block-image,
  .psone-category-card-v4,
  .psone-product-card,
  .psone-capability-image {
    width: 100%;
    min-width: 0;
  }

  .psone-home-v4 img {
    max-width: 100%;
  }
}

@media (max-width: 420px) {
  .psone-home-v4 .alignwide {
    width: calc(100% - 32px);
  }

  .psone-buyer-info-wrap {
    padding: 16px;
  }
}
