.commerce-shell {
  width: min(100% - 32px, 1080px);
  margin: 36px auto 64px;
}

.commerce-panel {
  padding: 26px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .06);
}

.commerce-panel h1,
.commerce-panel h2 {
  margin-top: 0;
  color: #14384a;
}

.commerce-form {
  display: grid;
  gap: 14px;
}

.commerce-form label {
  display: grid;
  gap: 6px;
  font-weight: 650;
}

.commerce-form input,
.commerce-form textarea,
.commerce-form select {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid #cfd7dc;
  border-radius: 6px;
  font: inherit;
  box-sizing: border-box;
}

.commerce-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 42px;
  padding: 10px 16px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: #00a6d8;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.commerce-button.secondary {
  color: #14384a;
  background: #e9f5f9;
}

.commerce-alert {
  margin: 12px 0;
  padding: 12px 14px;
  border-radius: 6px;
  color: #173c2b;
  background: #e8f5ee;
}

.commerce-alert.error {
  color: #7b1d1d;
  background: #fff0f0;
}

.commerce-table-wrap {
  overflow-x: auto;
}

.commerce-table {
  width: 100%;
  border-collapse: collapse;
}

.commerce-table th,
.commerce-table td {
  padding: 12px;
  border-bottom: 1px solid #e6e9eb;
  text-align: left;
  vertical-align: top;
}

.commerce-table img {
  width: 68px;
  height: 58px;
  object-fit: cover;
  border-radius: 5px;
}

.commerce-summary {
  width: min(100%, 400px);
  margin: 22px 0 0 auto;
}

.commerce-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
}

.commerce-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.commerce-grid > .full-width {
  grid-column: 1 / -1;
}

.commerce-google {
  margin-top: 18px;
}

@media (max-width: 640px) {
  .commerce-panel {
    padding: 18px;
  }

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

  .commerce-grid > .full-width {
    grid-column: auto;
  }
}
