.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 20px;
}
.store-fields {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  align-items: end;
  margin: 20px 0;
}
.store-fields label {
  display: grid;
  gap: 8px;
}
.store-catalogue-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid #e2e9f2;
}
#online-stores small {
  display: block;
  color: #61748b;
}
#online-stores input[type="checkbox"] {
  width: auto;
}
#online-stores [role="alert"] {
  color: #aa2536;
}
#online-stores select {
  min-width: 140px;
}
#online-stores code {
  overflow-wrap: anywhere;
}
#online-stores input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 0 8px 0 0;
  vertical-align: middle;
}
#online-stores td label:has([data-enabled]) {
  display: flex;
  align-items: center;
  gap: 8px;
}

#online-stores {
  max-width: 1500px;
  margin: auto;
  color: #18324d;
}
#online-stores .driver-page-heading {
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}
#online-stores h1 {
  letter-spacing: -0.03em;
}
#online-stores h2 {
  font-size: 20px;
  margin: 0 0 8px;
}
#online-stores p {
  color: #60738a;
  line-height: 1.7;
  font-size: 13px;
}
#online-stores button,
#online-stores input,
#online-stores select {
  min-height: 42px;
  border-radius: 9px;
}
#online-stores .driver-card {
  border-radius: 14px;
  border: 1px solid #dfe7f0;
  box-shadow: 0 3px 12px #18324d04;
  margin-bottom: 20px;
  padding: 24px;
  min-width: 0;
}
#online-stores .driver-toolbar {
  flex-wrap: wrap;
  gap: 10px;
}
#online-stores .store-status {
  display: inline-flex;
  background: #f0f3f8;
  color: #52677f;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 20px;
}
#online-stores .store-status-active {
  background: #eaf7f0;
  color: #15704c;
}
#online-stores .store-status-paused {
  background: #fff4dc;
  color: #8b6515;
}
#online-stores .store-kicker {
  font-size: 11px;
  letter-spacing: 0.08em;
  margin-top: 0;
}
#online-stores .store-overview h2 {
  font-size: 25px;
  letter-spacing: -0.02em;
}
#online-stores .store-address {
  overflow-wrap: anywhere;
}
#online-stores .store-address span {
  display: block;
  margin-top: 4px;
}
#online-stores .store-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 20px 0;
  margin: 20px 0;
  border-top: 1px solid #e4eaf2;
  border-bottom: 1px solid #e4eaf2;
  list-style: none;
}
#online-stores .store-steps li {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 13px;
}
#online-stores .store-steps li > span {
  border: 1px solid #dfe7f0;
  background: #f5f7fb;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
#online-stores .store-steps .complete > span {
  color: #15704c;
  background: #eaf7f0;
  border-color: #bde0cb;
}
#online-stores .store-steps small {
  font-size: 11px;
  margin-top: 3px;
}
#online-stores .store-next {
  background: #f0f5ff;
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 20px;
}
#online-stores .store-next strong {
  font-size: 14px;
}
#online-stores .store-next p {
  margin: 6px 0;
  color: #365477;
}
#online-stores .store-next small {
  font-size: 11px;
}
#online-stores .store-settings {
  border-top: 1px solid #e4eaf2;
  margin-top: 20px;
  padding-top: 16px;
}
#online-stores summary {
  cursor: pointer;
  color: #365477;
  font-size: 13px;
  padding: 6px 0;
}
#online-stores .store-visit {
  padding: 10px 0;
  font-size: 13px;
}
#online-stores .store-intro {
  border-radius: 12px;
  background: #edf3ff;
  padding: 18px 22px;
  margin-bottom: 24px;
}
#online-stores .store-intro p {
  margin-bottom: 0;
}
#online-stores .store-summary {
  display: flex;
  flex-direction: column;
}
#online-stores .store-summary > button {
  align-self: flex-start;
  margin-top: auto;
}
#online-stores .store-card-counts {
  display: flex;
  gap: 32px;
  padding: 16px 0;
  border-top: 1px solid #e4eaf2;
  border-bottom: 1px solid #e4eaf2;
}
#online-stores .store-card-counts strong {
  font-size: 24px;
}
#online-stores .store-card-counts small {
  margin-top: 6px;
  font-size: 11px;
}
#online-stores .store-count {
  font-size: 12px;
  color: #365477;
  background: #edf3ff;
  border-radius: 20px;
  padding: 8px 12px;
  white-space: nowrap;
}
#online-stores .store-fields small {
  font-weight: 400;
  font-size: 11px;
  line-height: 1.5;
}
#online-stores .store-fields input,
#online-stores .store-fields select {
  margin: 0;
  min-width: 0;
  width: 100%;
}
#online-stores .store-fields {
  align-items: start;
}
#online-stores .store-fields > button {
  align-self: start;
  margin-top: 24px;
}
#online-stores .store-save-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  border-top: 1px solid #e4eaf2;
  padding-top: 16px;
  font-size: 12px;
  color: #60738a;
}
#online-stores .store-empty-products {
  border: 1px dashed #cdd9e8;
  border-radius: 10px;
  padding: 22px;
  text-align: center;
  margin-top: 16px;
}
#online-stores .store-empty-products strong {
  font-size: 14px;
}
#online-stores table {
  width: 100%;
  white-space: normal;
}
#online-stores th {
  background: #f8fafd;
  font-size: 11px;
  color: #60738a;
  text-transform: uppercase;
}
#online-stores td {
  font-size: 13px;
  vertical-align: top;
}
#online-stores .store-catalogue-row small {
  font-size: 11px;
  margin: 6px 0;
}
#online-stores .store-catalogue-row p {
  margin: 4px 0;
}
#online-stores .store-catalogue-row button {
  flex-shrink: 0;
}
#online-stores [data-store-search-form] input {
  min-width: 0;
  flex: 1;
  margin: 0;
}
#online-stores .store-pagination {
  justify-content: flex-end;
  font-size: 12px;
  margin-top: 16px;
}
@media (max-width: 700px) {
  #online-stores .driver-card {
    padding: 18px;
  }
  #online-stores .store-steps {
    grid-template-columns: 1fr 1fr;
    gap: 18px 10px;
  }
  #online-stores .driver-section-heading {
    flex-wrap: wrap;
    gap: 10px;
  }
  #online-stores .store-save-bar {
    align-items: stretch;
    flex-direction: column;
  }
  #online-stores .store-fields {
    grid-template-columns: 1fr;
  }
  #online-stores .store-fields > button {
    margin-top: 0;
  }
  #online-stores button {
    min-height: 44px;
  }
  #online-stores table,
  #online-stores tbody {
    display: block;
  }
  #online-stores thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  #online-stores tbody tr {
    display: grid;
    grid-template-columns: 1fr;
    border: 1px solid #dfe7f0;
    padding: 16px;
    border-radius: 12px;
    margin-top: 14px;
    gap: 12px;
  }
  #online-stores td {
    display: block;
    padding: 0;
    border: 0;
    min-width: 0;
    overflow-wrap: anywhere;
  }
  #online-stores td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 5px;
    font-size: 10px;
    text-transform: uppercase;
    color: #60738a;
  }
  #online-stores select {
    width: 100%;
    min-width: 0;
  }
  #online-stores .store-catalogue-row {
    gap: 12px;
    align-items: flex-start;
  }
  #online-stores .store-catalogue-row > div {
    min-width: 0;
    overflow-wrap: anywhere;
  }
}
#online-stores .store-bulk {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #e4eaf2;
  font-size: 12px;
}
#online-stores .store-bulk label {
  display: flex;
  align-items: center;
  gap: 8px;
}
#online-stores .store-bulk p {
  flex-basis: 100%;
  margin: 0;
}
#online-stores .store-product-select {
  display: inline-flex;
  margin-right: 8px;
}
#online-stores .store-fulfillment-note {
  color: #8b6515;
  line-height: 1.6;
  margin-top: 8px;
}
#online-stores .store-catalogue-row > div {
  flex: 1;
}
@media (max-width: 700px) {
  #online-stores .store-bulk {
    align-items: flex-start;
  }
  #online-stores .store-bulk button {
    width: 100%;
  }
}
