* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #0f0f0f;
  color: #fff;
}

.hero {
  min-height: 100vh;
  padding: 24px;
  background:
    linear-gradient(rgba(0,0,0,.65), rgba(0,0,0,.8)),
    radial-gradient(circle at top right, #4a2d00, #0f0f0f 55%);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1150px;
  margin: 0 auto 60px;
}

.logo {
  font-weight: 800;
  letter-spacing: 1px;
}

.nav-btn,
.buy-btn,
button {
  background: #d6a84f;
  color: #111;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 800;
  cursor: pointer;
}

.hero-content {
  max-width: 1150px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px;
  align-items: center;
}

.tag {
  color: #d6a84f;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 2px;
}

h1 {
  font-size: clamp(42px, 8vw, 82px);
  line-height: .95;
  margin: 0;
}

.subtitle {
  color: #ddd;
  font-size: 20px;
  line-height: 1.5;
}

.price {
  font-size: 34px;
  font-weight: 900;
  margin: 24px 0;
  color: #d6a84f;
}

.main-photo img,
.gallery img,
.review-card img {
  width: 100%;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.15);
}

.main-photo img {
  min-height: 420px;
  object-fit: cover;
  background: #222;
}

main {
  max-width: 1150px;
  margin: auto;
  padding: 60px 24px;
}

section {
  margin-bottom: 70px;
}

h2 {
  font-size: 38px;
  margin-bottom: 10px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 25px;
}

.gallery img {
  height: 220px;
  object-fit: cover;
  background: #222;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.detail-grid div,
form,
.review-card {
  background: #181818;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 22px;
  padding: 22px;
}

.detail-grid h3 {
  color: #d6a84f;
}

form {
  display: grid;
  gap: 14px;
  margin: 25px 0;
}

input,
select,
textarea {
  width: 100%;
  padding: 15px;
  background: #0f0f0f;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  color: #fff;
  font-size: 16px;
}

textarea {
  min-height: 130px;
}

.upload {
  display: grid;
  gap: 8px;
  color: #d6a84f;
  font-weight: 700;
}

.review-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.stars {
  color: #d6a84f;
  font-size: 22px;
}

footer {
  text-align: center;
  padding: 30px;
  color: #aaa;
  border-top: 1px solid rgba(255,255,255,.12);
}

@media (max-width: 850px) {
  .hero-content,
  .gallery,
  .detail-grid,
  .review-list {
    grid-template-columns: 1fr;
  }

  .main-photo img {
    min-height: 280px;
  }
}


.checkout-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.apple-pay-btn {
  background: #000;
  color: #fff;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  padding: 13px 26px;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
}

.apple-pay-btn.large {
  width: 100%;
  margin-top: 18px;
  padding: 16px;
  font-size: 22px;
}

.shop-card {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 24px;
  background: #181818;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  padding: 24px;
  align-items: center;
}

.shop-card img {
  width: 100%;
  border-radius: 20px;
  background: #222;
}

.shop-card h3 {
  font-size: 34px;
  margin: 8px 0;
}

.shop-desc,
.payment-note {
  color: #ccc;
  line-height: 1.6;
}

.cart-total {
  margin: 18px 0 8px;
  font-size: 22px;
}

.secondary {
  display: block;
  text-align: center;
  margin-top: 12px;
  background: transparent;
  color: #d6a84f;
  border: 1px solid #d6a84f;
}

@media (max-width: 850px) {
  .shop-card {
    grid-template-columns: 1fr;
  }
}
