:root {
  --bg: #f6f0e7;
  --bg-soft: #fffaf3;
  --surface: rgba(255, 252, 247, 0.86);
  --line: #e6d5bc;
  --text: #25170d;
  --muted: #6d5a48;
  --accent: #a26418;
  --accent-dark: #442409;
  --shadow: 0 28px 60px rgba(76, 47, 17, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(214, 163, 88, 0.22), transparent 22%),
    radial-gradient(circle at top right, rgba(181, 119, 69, 0.18), transparent 26%),
    var(--bg);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.shell {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.page-top {
  padding: 32px 0 72px;
}

.page-glow {
  position: fixed;
  z-index: -1;
  width: 340px;
  height: 340px;
  filter: blur(80px);
  opacity: 0.45;
}

.page-glow--left {
  left: -80px;
  top: 60px;
  background: rgba(233, 182, 91, 0.48);
}

.page-glow--right {
  right: -100px;
  top: 280px;
  background: rgba(154, 89, 42, 0.35);
}

.hero {
  padding: 88px 0 54px;
}

.hero__grid,
.detail-layout,
.info-grid {
  display: grid;
  gap: 24px;
}

.hero__grid {
  grid-template-columns: 1.2fr 0.8fr;
  align-items: start;
}

.hero__copy h1,
.section-heading h2,
.lookup-box h1,
.detail-copy h1 {
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero__copy p,
.section-heading p,
.info-card p,
.detail-copy p,
.lookup-box p,
.meta-list,
.form-note,
.status-note {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1rem;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--accent);
}

.hero__actions,
.section-heading,
.card-footer,
.order-actions,
.result-item__footer {
  display: flex;
  gap: 14px;
  align-items: center;
}

.button,
.button--ghost,
.back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  font-weight: 700;
}

.button {
  background: var(--accent-dark);
  color: #fff;
}

.button--ghost,
.back-link {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.45);
}

.hero__panel,
.info-card,
.album-card,
.checkout-card,
.lookup-box,
.support-banner,
.result-box,
.status-box {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  border-radius: 28px;
}

.hero__panel {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.stat-card,
.info-card,
.checkout-card,
.lookup-box,
.support-banner,
.result-box,
.status-box {
  padding: 22px;
}

.support-banner {
  margin: 32px 0 72px;
  text-align: center;
}

.support-banner h2 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.stat-card span {
  display: block;
  color: var(--muted);
  margin-bottom: 8px;
}

.stat-card strong {
  font-size: 1.1rem;
}

.section-heading {
  justify-content: space-between;
  margin: 18px 0 26px;
}

.album-grid,
.gallery-grid,
.info-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.album-grid {
  display: grid;
  gap: 24px;
}

.album-card {
  overflow: hidden;
}

.album-card__image {
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, #f5e4c9, #fff8ef);
}

.album-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.album-card__body {
  padding: 20px;
}

.album-card__body h3,
.info-card h3,
.checkout-card h3 {
  margin: 0 0 10px;
  font-size: 1.6rem;
}

.card-footer {
  justify-content: space-between;
  margin-top: 18px;
}

.detail-layout {
  grid-template-columns: 1.1fr 0.9fr;
}

.gallery-grid {
  display: grid;
  gap: 16px;
}

.gallery-grid img {
  width: 100%;
  min-height: 220px;
  object-fit: cover;
  border-radius: 22px;
}

.detail-copy,
.checkout-card {
  align-self: start;
}

.stack {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  font: inherit;
}

textarea {
  min-height: 104px;
  resize: vertical;
}

.meta-list {
  display: grid;
  gap: 12px;
  margin: 20px 0;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(109, 90, 72, 0.16);
}

.price {
  font-weight: 700;
  font-size: 1.5rem;
}

.result-box img.qr-image {
  width: min(280px, 100%);
  margin: 14px 0;
  border-radius: 22px;
}

.status-pill {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: #f5e5c4;
  color: #5f430f;
  font-size: 0.9rem;
  font-weight: 700;
}

.result-list {
  display: grid;
  gap: 14px;
}

.result-item {
  padding: 16px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
}

.result-item__footer {
  justify-content: space-between;
  margin-top: 14px;
}

.loading {
  color: var(--muted);
}

.error {
  color: #9b2d1d;
}

@media (max-width: 900px) {
  .hero__grid,
  .detail-layout,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .hero__actions,
  .card-footer,
  .result-item__footer {
    flex-direction: column;
    align-items: stretch;
  }
}
