.product-page {
  background: linear-gradient(180deg, #fcf8f2 0%, #f3ece2 100%);
}

.product-shell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 4vw, 48px);
  border-radius: 30px;
  border: 1px solid rgba(47, 36, 29, 0.12);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.9), rgba(255, 251, 245, 0.78));
  box-shadow: 0 26px 70px rgba(47, 36, 29, 0.12);
  padding: clamp(18px, 3vw, 34px);
}

.product-media {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(47, 36, 29, 0.12);
  background: rgba(255, 255, 255, 0.7);
  aspect-ratio: 4 / 5;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}

.product-media:hover img {
  transform: scale(1.04);
}

.product-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-category {
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(47, 36, 29, 0.58);
}

.product-title {
  margin-top: 8px;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  line-height: 1.1;
}

.product-description {
  margin-top: 14px;
  color: rgba(47, 36, 29, 0.72);
  line-height: 1.72;
  font-size: 0.98rem;
}

.stock-pill {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid;
}

.stock-pill.in-stock {
  color: #2f6f4c;
  background: rgba(212, 236, 221, 0.72);
  border-color: rgba(47, 111, 76, 0.24);
}

.stock-pill.low-stock {
  color: #8a4e21;
  background: rgba(247, 224, 202, 0.72);
  border-color: rgba(138, 78, 33, 0.24);
}

.product-form {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.product-form label {
  font-family: "Sora", "Segoe UI", sans-serif;
  color: var(--ink);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-form select {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(47, 36, 29, 0.16);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font: inherit;
  padding: 12px 12px;
  outline: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.product-form select:focus {
  border-color: rgba(122, 79, 46, 0.64);
  box-shadow: 0 0 0 4px rgba(216, 176, 130, 0.32);
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 12px;
  border: 1px solid rgba(47, 36, 29, 0.1);
  background: rgba(255, 255, 255, 0.68);
  padding: 10px 12px;
}

.price-row span {
  color: rgba(47, 36, 29, 0.68);
  font-size: 0.9rem;
}

.price-row strong {
  font-family: "Sora", "Segoe UI", sans-serif;
  color: var(--brand-strong);
}

.action-row {
  margin-top: 2px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.not-found-box {
  border-radius: 24px;
  border: 1px solid rgba(47, 36, 29, 0.12);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 48px rgba(47, 36, 29, 0.1);
  padding: clamp(20px, 4vw, 38px);
  text-align: center;
}

.not-found-box p {
  margin-top: 8px;
  color: rgba(47, 36, 29, 0.7);
}

@media (max-width: 900px) {
  .product-shell {
    grid-template-columns: 1fr;
  }

  .product-media {
    aspect-ratio: 4 / 4.4;
  }
}

@media (max-width: 560px) {
  .action-row .btn {
    width: 100%;
  }
}
