@media (max-width: 767px) {
  #checkout-shipping-method-load .amcheckout-shipping-methods,
  #checkout-shipping-method-load .amcheckout-shipping-methods .amcheckout-items {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  #checkout-shipping-method-load .amcheckout-shipping-methods .amcheckout-method {
    display: grid !important;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 6px 12px;
    align-items: start;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box;
    padding: 16px !important;
  }

  #checkout-shipping-method-load .amcheckout-shipping-methods .amcheckout-method > td {
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    text-align: left !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
  }

  #checkout-shipping-method-load .amcheckout-shipping-methods .amcheckout-method > td:first-child {
    grid-column: 1;
    grid-row: 1 / span 3;
    align-self: center;
  }

  #checkout-shipping-method-load .amcheckout-shipping-methods .amcheckout-method > td.col-method:nth-child(3) {
    grid-column: 2;
    grid-row: 1;
  }

  #checkout-shipping-method-load .amcheckout-shipping-methods .amcheckout-method > td.col-price {
    grid-column: 2;
    grid-row: 2;
    font-weight: 600;
  }

  #checkout-shipping-method-load .amcheckout-shipping-methods .amcheckout-method > td.col-carrier {
    grid-column: 2;
    grid-row: 3;
    line-height: 1.4;
  }

  #checkout-shipping-method-load .amcheckout-shipping-methods .amcheckout-method > td.col-comment {
    grid-column: 2;
    grid-row: 4;
  }

  .amcheckout-summary-container .product-item .details-qty.amcheckout-qty {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    height: auto !important;
    min-height: 0 !important;
    gap: 4px;
  }

  .amcheckout-summary-container .product-item .details-qty.amcheckout-qty input.qty {
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100%;
  }
}
