.shop-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0 24px;
  margin-top: 24px;
  padding: 20px;
  border: 1px solid #dce5d9;
  border-radius: 13px;
  background: #fff;
  color: #203d32;
}

.shop-control h2 {
  margin: 0;
  font-size: 18px;
}

.shop-control-info > p {
  margin: 5px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: #526757;
}

.shop-control-info .shop-control-state {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 9px;
  border-radius: 6px;
  background: #eef1eb;
  color: #405546;
  font-weight: 700;
}

.shop-control-state[data-state="open"] {
  background: #e6f3e9;
  color: #205a38;
}

.shop-control-state[data-state="closed"] {
  background: #faeee1;
  color: #75451f;
}

.shop-control-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shop-control button {
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid #bfcec1;
  border-radius: 10px;
  background: #fff;
  color: #254f3b;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.shop-control button[data-shop-open]:enabled {
  border-color: #245a42;
  background: #245a42;
  color: #fff;
}

.shop-control button:hover:enabled {
  border-color: #34734f;
  box-shadow: 0 2px 6px #1b412f14;
}

.shop-control button:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.shop-control button:focus-visible {
  outline: 3px solid #62876e;
  outline-offset: 3px;
}

.shop-control [data-shop-message] {
  grid-column: 1 / -1;
  margin: 0;
  line-height: 1.5;
}

.shop-control [data-shop-message]:not(:empty) {
  margin-top: 12px;
}

@media (max-width: 760px) {
  .shop-control {
    grid-template-columns: minmax(0, 1fr);
    padding: 18px;
  }

  .shop-control-actions {
    margin-top: 14px;
  }
}
