* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #070707;
  color: #f5f0e6;
}

.app {
  max-width: 720px;
  margin: 0 auto;
  padding: 16px;
}

header {
  padding: 18px;
  margin-bottom: 18px;
  border-radius: 22px;
  background: linear-gradient(135deg, #111, #1d1608);
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 10px 30px rgba(0,0,0,0.45);
}

h1 {
  margin: 0;
  font-size: 30px;
  color: #f4d36b;
}

h2 {
  color: #f4d36b;
}

p {
  color: #c9b98c;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

button {
  border: 1px solid rgba(244, 211, 107, 0.55);
  border-radius: 16px;
  padding: 14px;
  background: linear-gradient(135deg, #d4af37, #8f6b13);
  color: #090909;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

button:active {
  transform: scale(0.98);
}

.card {
  background: linear-gradient(145deg, #101010, #18120a);
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 20px;
  padding: 14px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.35);
}

.product {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.product img {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 14px;
  background: #1c1c1c;
  border: 1px solid rgba(244, 211, 107, 0.25);
}

.product h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: #fff7dc;
}

.price {
  font-weight: bold;
  color: #f4d36b;
  margin-bottom: 8px;
}

.hidden {
  display: none;
}

.cart {
  position: sticky;
  bottom: 0;
  background: linear-gradient(145deg, #0e0e0e, #1c1508);
  border: 1px solid rgba(244, 211, 107, 0.35);
  border-radius: 22px 22px 0 0;
  padding: 16px;
  margin-top: 20px;
  box-shadow: 0 -8px 28px rgba(0,0,0,0.55);
}

input,
textarea {
  width: 100%;
  margin-bottom: 10px;
  padding: 13px;
  border-radius: 14px;
  border: 1px solid rgba(244, 211, 107, 0.35);
  background: #090909;
  color: #f5f0e6;
}

input::placeholder,
textarea::placeholder {
  color: #8d8265;
}

textarea {
  min-height: 80px;
  resize: vertical;
}
button {
  position: relative;
  overflow: hidden;
}

button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 80%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.45),
    transparent
  );
  animation: goldShine 3s infinite;
}

@keyframes goldShine {
  0% {
    left: -120%;
  }
  45% {
    left: 120%;
  }
  100% {
    left: 120%;
  }
}
