:root {
  --ink: #211b18;
  --muted: #6d625c;
  --paper: #fffaf1;
  --panel: #f5efe4;
  --wine: #7d1f2f;
  --wine-dark: #551421;
  --gold: #bd8b35;
  --olive: #53624a;
  --line: rgba(33, 27, 24, 0.14);
  --shadow: 0 24px 60px rgba(33, 27, 24, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, sans-serif;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 250, 241, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: Cinzel, Georgia, serif;
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  background: var(--wine);
  border: 2px solid var(--gold);
  border-radius: 50%;
  font-family: Inter, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 30px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav a,
.footer a,
.back-link {
  text-decoration: none;
}

.nav a:hover,
.footer a:hover,
.back-link:hover {
  color: var(--wine);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 66px));
  display: grid;
  align-items: center;
  padding: clamp(34px, 6vw, 82px) clamp(18px, 5vw, 70px);
  overflow: hidden;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(33, 27, 24, 0.9) 0%, rgba(33, 27, 24, 0.64) 38%, rgba(33, 27, 24, 0.06) 78%);
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  width: min(650px, 100%);
  color: #fffaf1;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Cinzel, Georgia, serif;
  line-height: 1.05;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(42px, 6vw, 76px);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 48px);
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.hero-content p:not(.eyebrow) {
  width: min(540px, 100%);
  color: rgba(255, 250, 241, 0.84);
  font-size: 19px;
  line-height: 1.65;
}

.hero-actions,
.cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.button,
.detail-link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: #fff;
  background: var(--wine);
  border: 1px solid var(--wine);
}

.button.primary:hover {
  background: var(--wine-dark);
}

.button.secondary {
  color: #fffaf1;
  border: 1px solid rgba(255, 250, 241, 0.55);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-strip article {
  padding: 24px clamp(18px, 4vw, 48px);
  background: var(--panel);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip span {
  margin-top: 7px;
  color: var(--muted);
  line-height: 1.5;
}

.section,
.catalog-grid,
.process,
.cta,
.detail-hero,
.detail-section {
  width: min(1180px, calc(100% - 36px));
  margin-inline: auto;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.6fr);
  gap: 36px;
  align-items: end;
  padding: 76px 0 28px;
}

.intro > p,
.cta p,
.product-copy p,
.steps p,
.lead {
  color: var(--muted);
  line-height: 1.65;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding-bottom: 82px;
}

.product-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(33, 27, 24, 0.08);
}

.product-link {
  position: relative;
  display: block;
  text-decoration: none;
}

.product-link img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--panel);
}

.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 7px 10px;
  color: #fff;
  background: var(--olive);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.product-copy {
  padding: 20px 20px 8px;
}

.product-buy {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: end;
  padding: 0 20px 18px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

select {
  width: 100%;
  min-height: 44px;
  padding: 0 38px 0 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
  font-weight: 700;
}

.product-buy strong,
#detailPrice {
  color: var(--wine);
  font-size: 22px;
}

.detail-link {
  width: calc(100% - 40px);
  margin: 0 20px 20px;
  color: var(--wine);
  background: #fbf4e9;
  border: 1px solid rgba(125, 31, 47, 0.2);
}

.process {
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.steps article {
  padding: 26px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.steps span {
  color: var(--gold);
  font-weight: 800;
}

.cta {
  justify-content: space-between;
  padding: 38px;
  margin-bottom: 70px;
  color: #fffaf1;
  background: var(--ink);
  border-radius: 8px;
}

.cta div {
  width: min(720px, 100%);
}

.cta p {
  margin-bottom: 0;
  color: rgba(255, 250, 241, 0.76);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 4vw, 56px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.product-detail {
  padding: 54px 0 76px;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
}

.detail-media {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.detail-media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.back-link {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--muted);
  font-weight: 800;
}

.detail-copy h1 {
  color: var(--ink);
  font-size: clamp(38px, 5vw, 64px);
}

.lead {
  font-size: 18px;
}

.detail-panel {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) auto auto;
  gap: 16px;
  align-items: end;
  padding: 20px;
  margin: 28px 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.detail-panel span,
.specs dt {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 0;
}

.specs div {
  padding: 18px;
  background: var(--panel);
  border-radius: 8px;
}

.specs dd {
  margin: 0;
  line-height: 1.5;
}

.detail-section {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(280px, 1fr);
  gap: 36px;
  align-items: start;
  margin-top: 72px;
}

table {
  width: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-collapse: collapse;
  border-radius: 8px;
}

th,
td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

th {
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
}

tr:last-child td {
  border-bottom: 0;
}

@media (max-width: 860px) {
  .site-header,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: 680px;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(33, 27, 24, 0.88) 0%, rgba(33, 27, 24, 0.66) 58%, rgba(33, 27, 24, 0.2) 100%);
  }

  .hero-image {
    object-position: 62% center;
  }

  .trust-strip,
  .intro,
  .catalog-grid,
  .steps,
  .detail-hero,
  .detail-section {
    grid-template-columns: 1fr;
  }

  .catalog-grid {
    padding-bottom: 52px;
  }

  .cta,
  .detail-panel,
  .specs {
    grid-template-columns: 1fr;
  }

  .detail-panel {
    align-items: stretch;
  }
}

@media (max-width: 520px) {
  .nav {
    gap: 10px;
    font-size: 13px;
  }

  h1 {
    font-size: 38px;
  }

  .product-buy {
    grid-template-columns: 1fr;
  }

  .cta {
    padding: 26px;
  }
}
