:root {
  --cream: #FFF9F4;
  --surface: #FFF3EA;
  --card: #FFFCF9;
  --gold: #D6A84B;
  --dark-gold: #B7862D;
  --rose: #D98A7A;
  --text: #2D2926;
  --muted: #74675F;
  --line: #ECD9C8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 72px);
  background: rgba(255, 249, 244, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--card);
  color: var(--dark-gold);
  font-size: 13px;
}

.main-nav,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
}

.main-nav a,
.footer-links a,
.detail-link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.main-nav a:hover,
.footer-links a:hover,
.detail-link:hover {
  color: var(--dark-gold);
}

.hero {
  min-height: 520px;
  display: grid;
  align-items: center;
  padding: clamp(54px, 9vw, 96px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(110deg, rgba(255, 249, 244, 0.96), rgba(255, 243, 234, 0.84)),
    radial-gradient(circle at 75% 35%, rgba(217, 138, 122, 0.18), transparent 34%),
    linear-gradient(135deg, var(--surface), var(--cream));
}

.hero-copy {
  max-width: 760px;
}

.eyebrow,
.category {
  margin: 0 0 8px;
  color: var(--dark-gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

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

h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
}

h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
}

.hero p:not(.eyebrow),
.page-hero p,
.legal-page p,
.detail-description {
  color: var(--muted);
  font-size: 17px;
}

.primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 22px;
  padding: 0 22px;
  border-radius: 8px;
  background: var(--text);
  color: var(--cream);
  font-weight: 800;
  text-decoration: none;
}

.section,
.page-hero,
.legal-page,
.product-detail {
  padding: clamp(36px, 6vw, 76px) clamp(18px, 5vw, 72px);
}

.surface-band {
  background: var(--surface);
}

.section-heading {
  margin-bottom: 22px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}

.product-grid.compact {
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
}

.product-image-link {
  display: block;
  aspect-ratio: 4 / 5;
  background: var(--surface);
}

.product-image-link img,
.gallery img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 250px;
  display: grid;
  place-items: center;
  background: var(--surface);
  color: var(--dark-gold);
  font-weight: 800;
}

.image-placeholder.large {
  min-height: 460px;
}

.product-card-body {
  display: grid;
  gap: 18px;
  min-height: 166px;
  padding: 16px;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.price,
.detail-price {
  color: var(--text);
  font-size: 20px;
}

.detail-link {
  padding: 8px 12px;
  border: 1px solid var(--gold);
  border-radius: 8px;
  color: var(--dark-gold);
}

.page-hero {
  background: var(--surface);
}

.page-hero h1,
.legal-page h1,
.product-detail h1 {
  font-size: clamp(34px, 5vw, 58px);
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: start;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.gallery img {
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.gallery .primary-image {
  grid-column: 1 / -1;
  aspect-ratio: 4 / 5;
}

.detail-panel {
  position: sticky;
  top: 92px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
}

.detail-price {
  display: block;
  margin-top: 20px;
  font-size: 28px;
}

.brand-note,
.payment-note,
.notice,
.empty-state {
  margin-top: 20px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.brand-note {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.legal-page {
  max-width: 920px;
}

.legal-page p {
  margin: 18px 0;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
}

.contact-list div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
}

.contact-list dt {
  color: var(--dark-gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-list dd {
  margin: 4px 0 0;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: 26px;
  padding: 34px clamp(18px, 5vw, 72px);
  background: var(--text);
  color: var(--cream);
}

.site-footer p,
.site-footer a {
  color: rgba(255, 249, 244, 0.78);
}

@media (max-width: 760px) {
  .site-header {
    display: grid;
    gap: 14px;
  }

  .site-footer,
  .product-detail {
    grid-template-columns: 1fr;
  }

  .main-nav {
    width: 100%;
    gap: 10px 16px;
  }

  .hero {
    min-height: 480px;
  }

  .product-detail {
    display: grid;
  }

  .detail-panel {
    position: static;
  }

  .gallery {
    grid-template-columns: 1fr;
  }
}
