:root {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #231f1b;
  background: #f5f1e9;
  --ink: #231f1b;
  --paper: #f5f1e9;
  --cream: #ebe4d7;
  --forest: #25362b;
  --muted: #756e65;
  --line: rgba(35, 31, 27, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); }
a { color: inherit; text-decoration: none; }

.site-header {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  padding: 0 clamp(22px, 6vw, 88px);
  border-bottom: 1px solid var(--line);
}
.site-logo { font-size: 20px; font-weight: 900; letter-spacing: .22em; }
.site-header nav { display: flex; gap: 30px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.site-header nav a:hover { opacity: .55; }

.hero {
  min-height: min(720px, calc(100vh - 82px));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px clamp(22px, 9vw, 140px);
  background:
    radial-gradient(circle at 75% 42%, rgba(98, 117, 86, .23), transparent 25%),
    radial-gradient(circle at 80% 50%, rgba(255,255,255,.55), transparent 2%),
    linear-gradient(115deg, #eee7dc 0%, #f7f3ec 50%, #d9d7c8 100%);
}
.kicker { margin: 0 0 18px; color: #5e685b; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .18em; }
.hero h1 { max-width: 920px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(48px, 8vw, 112px); font-weight: 400; line-height: .95; letter-spacing: -.045em; }
.hero-copy { max-width: 520px; margin: 34px 0; color: var(--muted); font-size: 18px; line-height: 1.65; }
.hero-link { width: fit-content; padding-bottom: 5px; border-bottom: 1px solid; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }

.collection, .product-page { padding: clamp(70px, 10vw, 150px) clamp(20px, 6vw, 88px); }
.collection { max-width: 1920px; margin-inline: auto; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 48px; }
.section-heading h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(42px, 6vw, 76px); font-weight: 400; }
.section-heading > p { color: var(--muted); font-size: 13px; }
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
}
.product-card { min-width: 0; }
.card-image { aspect-ratio: 3 / 4; display: grid; place-items: center; overflow: hidden; background: var(--cream); }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card-image:hover img { transform: scale(1.025); }
.card-image span { font-size: 14px; font-weight: 900; letter-spacing: .2em; }
.card-copy { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.card-copy h3 { margin: 5px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: 20px; font-weight: 400; line-height: 1.1; }
.variant { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.availability { margin: 0; color: #8e4a42; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.availability.available { color: #47634f; }
.price-row { display: flex; align-items: baseline; gap: 10px; white-space: nowrap; }
.price-row strong { font-size: 14px; }
.price-row del { color: var(--muted); font-size: 12px; }
.store-empty { padding: 100px 20px; text-align: center; border: 1px solid var(--line); }

.product-page { padding-top: 42px; }
.breadcrumbs { display: flex; gap: 10px; margin-bottom: 36px; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.breadcrumbs a { color: var(--ink); }
.product-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr); gap: clamp(36px, 7vw, 110px); align-items: start; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.gallery figure { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--cream); }
.gallery .primary-photo { grid-column: 1 / -1; aspect-ratio: 1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.photo-placeholder { aspect-ratio: 1; display: grid; place-items: center; background: var(--cream); font-weight: 900; letter-spacing: .2em; }
.product-info { position: sticky; top: 34px; padding-top: clamp(10px, 4vw, 70px); }
.product-info h1 { max-width: 650px; margin: 0 0 24px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(48px, 6vw, 82px); font-weight: 400; line-height: 1; letter-spacing: -.035em; }
.product-price { margin-bottom: 18px; }
.product-price strong { font-size: 24px; }
.description { margin-top: 42px; color: #554f48; font-size: 16px; line-height: 1.8; }
.details { margin-top: 48px; border-top: 1px solid var(--line); }
.details h2 { margin: 0; padding: 22px 0; font-family: Georgia, "Times New Roman", serif; font-size: 28px; font-weight: 400; border-bottom: 1px solid var(--line); }
.details dl { margin: 0; }
.details dl div { display: grid; grid-template-columns: minmax(130px, .8fr) 1.2fr; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 13px; line-height: 1.5; }
.details dt { color: var(--muted); }
.details dd { margin: 0; }

.store-error {
  min-height: calc(100vh - 82px);
  display: grid;
  place-items: center;
  padding: clamp(54px, 10vw, 130px) 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at 25% 20%, rgba(98, 117, 86, .2), transparent 28%),
    linear-gradient(135deg, #f7f3ec, #e7e1d5);
}
.store-error-card {
  width: min(720px, 100%);
  text-align: center;
}
.store-error-code {
  margin: 0 0 22px;
  color: rgba(37, 54, 43, .14);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(120px, 25vw, 260px);
  line-height: .65;
  letter-spacing: -.08em;
}
.store-error-card h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 8vw, 82px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.04em;
}
.store-error-message {
  max-width: 530px;
  margin: 26px auto 32px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}
.store-error-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
.store-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.store-button.primary {
  color: var(--paper);
  background: var(--forest);
  border-color: var(--forest);
}
.store-button:hover { opacity: .72; }

footer { display: flex; align-items: end; justify-content: space-between; gap: 20px; min-height: 240px; padding: 60px clamp(22px, 6vw, 88px); color: #f4f0e7; background: var(--forest); }
footer p { max-width: 380px; margin: 0; color: rgba(244,240,231,.65); line-height: 1.6; }

@media (max-width: 1600px) {
  .catalog-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .product-layout { grid-template-columns: 1fr; }
  .product-info { position: static; padding-top: 20px; }
}
@media (max-width: 600px) {
  .site-header { min-height: 70px; }
  .site-header nav { gap: 14px; }
  .site-header nav a:last-child { display: none; }
  .hero { min-height: 620px; padding-top: 70px; padding-bottom: 70px; }
  .hero h1 { font-size: clamp(46px, 15vw, 72px); }
  .section-heading { align-items: start; flex-direction: column; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .gallery { gap: 7px; }
  .card-copy { flex-direction: column; gap: 9px; }
  .card-copy h3 { font-size: 17px; }
  .product-page { padding-top: 26px; }
  .details dl div { grid-template-columns: 1fr; gap: 5px; }
  footer { align-items: start; flex-direction: column; }
}
