* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100dvh;
  color: #071226;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f4f5f7;
}

button,
input,
textarea {
  font: inherit;
}

.shop-page {
  width: min(100%, 920px);
  margin: 0 auto;
  padding: 28px 16px 44px;
}

.shop-back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-bottom: 18px;
  padding: 0 16px;
  border-radius: 8px;
  color: #071226;
  background: #fff;
  text-decoration: none;
  font-weight: 850;
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.08);
}

.shop-product {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.shop-media,
.shop-info,
.shop-order,
.shop-state {
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(17, 24, 39, 0.08);
}

.shop-media {
  overflow: hidden;
}

.shop-media img,
.shop-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: block;
}

.shop-media img {
  object-fit: cover;
}

.shop-placeholder {
  display: grid;
  place-items: center;
  color: #667085;
  background: #e9eef5;
  font-size: 22px;
  font-weight: 950;
}

.shop-info,
.shop-order,
.shop-state {
  padding: 22px;
}

.shop-info h1,
.shop-info p,
.shop-price,
.shop-order h2 {
  margin: 0;
}

.shop-info h1 {
  color: #071226;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.02;
  font-weight: 950;
}

.shop-info p {
  margin-top: 14px;
  color: #26344d;
  font-size: 18px;
  line-height: 1.5;
}

.shop-price {
  margin-top: 22px;
  font-size: 28px;
  line-height: 1;
  font-weight: 950;
}

.shop-order {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.shop-order h2 {
  font-size: 22px;
  line-height: 1.1;
  font-weight: 950;
}

.shop-order label {
  display: grid;
  gap: 7px;
  color: #667085;
  font-size: 13px;
  font-weight: 850;
}

.shop-order input,
.shop-order textarea {
  width: 100%;
  border: 1px solid #d8dee8;
  border-radius: 8px;
  color: #071226;
  background: #fff;
  outline: none;
}

.shop-order input {
  min-height: 46px;
  padding: 0 13px;
}

.shop-order textarea {
  min-height: 88px;
  resize: vertical;
  padding: 13px;
}

.shop-submit {
  min-height: 52px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: #ec4899;
  font-size: 17px;
  font-weight: 950;
  cursor: pointer;
}

.shop-submit:disabled {
  opacity: 0.62;
  cursor: wait;
}

.shop-status {
  min-height: 20px;
  color: #667085;
  font-size: 14px;
  font-weight: 800;
}

.shop-status.is-success {
  color: #16a34a;
}

.shop-status.is-error {
  color: #e11d48;
}

.shop-state {
  grid-column: 1 / -1;
  color: #667085;
  font-weight: 850;
  text-align: center;
}

@media (max-width: 760px) {
  .shop-page {
    padding: 14px 10px 32px;
  }

  .shop-product {
    grid-template-columns: 1fr;
  }

  .shop-info h1 {
    font-size: 34px;
  }
}
