@media (max-width: 600px) {

  .pageHeader {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
  }

  .formTitle {
    text-align: left;
  }

  .fieldGroup {
    grid-template-columns: 1fr;
  }

  .field.wide {
    grid-column: span 1;
  }

  .wrapper {
    padding: 20px 12px 50px;
  }

  .formActions {
    flex-direction: column-reverse;
    gap: 10px;
  }

  .btn-submit,
  .btn-clear {
    width: 100%;
    text-align: center;
    padding: 14px;
    font-size: 15px;
  }

  button[title="Adauga rand"],
  button[title="Sterge rand"] {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .productTable input[type="text"] {
    font-size: 14px;
    padding: 8px 6px;
  }

  .productTable .cant-input {
    width: 44px;
  }

  .tableWrap {
    overflow-x: visible;
  }

  .productTable thead {
    display: none;
  }

  .productTable,
  .productTable tbody,
  .productTable tr,
  .productTable td {
    display: block;
    width: 100%;
  }

  .productTable tr {
    background: #ffffff;
    border: 1px solid #d8d8d8;
    border-radius: 4px;
    margin-bottom: 12px;
    padding: 10px 56px 10px 36px;
    position: relative;
  }

  .productTable tr:nth-child(even) td {
    background: transparent;
  }

  .productTable td:first-child {
    position: absolute;
    top: 12px;
    left: 10px;
    width: 20px;
    font-size: 11px;
    color: #DB4327;
    font-weight: bold;
    text-align: center;
    border: none;
    background: transparent;
    padding: 0;
  }

  .productTable td:first-child::before {
    display: none;
  }

  .productTable td {
    padding: 3px 0;
    border-bottom: none;
    background: transparent;
  }

  .productTable td::before {
    content: attr(data-label);
    display: block;
    font-size: 10px;
    font-weight: bold;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 2px;
  }

  .productTable input[type="text"] {
    border: 1px solid #d8d8d8 !important;
    background: #fafafa !important;
    width: 100% !important;
    font-size: 15px;
    padding: 9px 10px;
    border-radius: 2px;
  }

  .productTable input[type="text"]:focus {
    background: #fff !important;
    border-color: #DB4327 !important;
  }

  .productTable .cant-input {
    width: 100% !important;
  }

  .productTable td:last-child {
    position: absolute;
    top: 8px;
    right: 6px;
    width: auto;
    padding: 0;
    border: none;
    background: transparent;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .productTable td:last-child::before {
    display: none;
  }

  button[title="Adauga rand"],
  button[title="Sterge rand"] {
    width: 40px;
    height: 40px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

}