:root {
  --mauve: #8b6f6f;
  --mauve-dark: #6f5757;
  --mauve-deep: #5c4545;
  --cream: #f4efe6;
  --cream-dark: #e8dfd0;
  --ink: #2c2422;
  --muted: #6b5c57;
  --gold: #c4a574;
  --white: #fbf8f3;
  --banner: #f3d6d8;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.sans { font-family: "Nunito Sans", "Helvetica Neue", sans-serif; }

.banner {
  background: var(--banner);
  color: var(--mauve-deep);
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  padding: 0.5rem 1rem;
  font-family: "Nunito Sans", sans-serif;
  text-transform: uppercase;
}

header {
  background: var(--mauve);
  color: var(--cream);
  position: sticky;
  top: 0;
  z-index: 40;
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.95rem 1.5rem 1.05rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}
nav.left, .header-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.35rem;
  font-family: "Nunito Sans", sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
}
nav.left a, .header-tools a { opacity: 0.9; }
nav.left a:hover, .header-tools a:hover { opacity: 1; }
nav.left a.current { opacity: 1; border-bottom: 1px solid var(--cream); padding-bottom: 0.1rem; }
nav.left { justify-content: flex-start; }
.header-tools { justify-content: flex-end; align-items: center; }
.logo { text-align: center; }
.logo img {
  height: 52px;
  margin: 0 auto;
  filter: brightness(0) invert(0.93);
}
.logo .wordmark {
  font-family: "Cormorant Garamond", serif;
  letter-spacing: 0.46em;
  font-size: 0.92rem;
  margin-top: 0.1rem;
}

.hero {
  position: relative;
  min-height: 68vh;
  background: #2a2420 center/cover no-repeat;
  display: flex;
  align-items: flex-end;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(44,36,34,0.62), rgba(44,36,34,0.08) 50%);
}
.hero-copy {
  position: relative;
  z-index: 1;
  color: var(--cream);
  padding: 3.2rem 1.5rem 3.6rem;
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
}
.hero-copy h1 {
  font-size: clamp(2.5rem, 5.2vw, 4.4rem);
  font-weight: 500;
  letter-spacing: 0.03em;
  max-width: 14ch;
  line-height: 1.05;
}
.hero-copy .rule {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 1rem 0 0.85rem;
}
.hero-copy p {
  font-family: "Nunito Sans", sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  opacity: 0.92;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 4.25rem 1.5rem;
}
.section-kicker {
  font-family: "Nunito Sans", sans-serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--gold);
  margin-bottom: 0.45rem;
}
.section h2 {
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 500;
  margin-bottom: 1.6rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.9rem 1.5rem;
}
.card { background: transparent; }
.card-photo {
  display: block;
  background: var(--cream);
  overflow: hidden;
}
.card img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  background: var(--cream-dark);
  transition: transform 0.45s ease;
}
.card:hover img { transform: scale(1.03); }
.card-body { padding: 0.95rem 0.1rem 0.2rem; }
.card h3 {
  font-size: 1.28rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.price {
  font-family: "Nunito Sans", sans-serif;
  font-size: 0.86rem;
  color: var(--muted);
  margin-top: 0.18rem;
}
.price-inquire { font-style: italic; }
.cat-tag {
  font-family: "Nunito Sans", sans-serif;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mauve);
  margin-bottom: 0.15rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 2rem;
}
.filters button {
  background: transparent;
  border: 1px solid var(--mauve);
  color: var(--mauve-dark);
  padding: 0.38rem 0.95rem;
  font-family: "Nunito Sans", sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 99px;
}
.filters button.active, .filters button:hover {
  background: var(--mauve);
  color: var(--cream);
}

.story {
  background: var(--mauve);
  color: var(--cream);
}
.story .section { padding-top: 4.6rem; padding-bottom: 4.6rem; }
.story h2 { color: var(--cream); }
.story p {
  max-width: 640px;
  font-size: 1.22rem;
  opacity: 0.94;
  margin-bottom: 1rem;
}
.story .section-kicker { color: var(--gold); }

.btn {
  display: inline-block;
  margin-top: 1rem;
  border: 1px solid var(--cream);
  padding: 0.68rem 1.35rem;
  font-family: "Nunito Sans", sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
}
.btn.solid {
  background: var(--mauve);
  color: var(--cream);
  border-color: var(--mauve);
}
.btn.dark { border-color: var(--ink); }
.btn:hover { opacity: 0.88; }

.product-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.2rem;
  align-items: start;
}
.product-layout > div:first-child img { width: 100%; background: var(--cream); }
.product-info h1 { font-size: 2.5rem; font-weight: 500; letter-spacing: 0.01em; }
.product-info .price { font-size: 1.1rem; margin: 0.55rem 0 1.15rem; color: var(--ink); }
.product-info p { margin-bottom: 1rem; font-size: 1.14rem; }
.meta { font-family: "Nunito Sans", sans-serif; font-size: 0.82rem; color: var(--muted); margin: 1rem 0 1.3rem; letter-spacing: 0.04em; }
.qty-row { display: flex; gap: 0.75rem; align-items: center; margin: 1.1rem 0; }
.qty-row input {
  width: 64px;
  padding: 0.55rem;
  border: 1px solid #cbb;
  font-family: "Nunito Sans", sans-serif;
}

.form {
  display: grid;
  gap: 0.8rem;
  max-width: 540px;
}
.form input, .form textarea, .form select {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid #cbb9b3;
  background: #fff;
  font-family: "Nunito Sans", sans-serif;
  font-size: 0.95rem;
}
.form label {
  font-family: "Nunito Sans", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.notice {
  background: var(--cream);
  padding: 1.05rem 1.15rem;
  font-family: "Nunito Sans", sans-serif;
  font-size: 0.92rem;
  margin-bottom: 1.6rem;
  max-width: 640px;
}

footer {
  background: var(--mauve-deep);
  color: var(--cream);
  padding: 3.1rem 1.5rem 1.8rem;
  font-family: "Nunito Sans", sans-serif;
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
}
footer h4 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.28rem;
  font-weight: 500;
  margin-bottom: 0.65rem;
}
footer p { font-size: 0.9rem; opacity: 0.88; line-height: 1.7; }
footer a { opacity: 0.88; }
footer a:hover { opacity: 1; text-decoration: underline; }
.copyright {
  max-width: 1180px;
  margin: 2rem auto 0;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(244,239,230,0.18);
  font-size: 0.76rem;
  opacity: 0.65;
}

.cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(380px, 92vw);
  background: var(--white);
  box-shadow: -8px 0 30px rgba(0,0,0,0.15);
  transform: translateX(110%);
  transition: transform 0.25s ease;
  z-index: 80;
  padding: 1.35rem;
  overflow: auto;
}
.cart-drawer.open { transform: none; }
.cart-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--cream-dark);
  font-family: "Nunito Sans", sans-serif;
  font-size: 0.9rem;
}
#cartCount {
  background: var(--cream);
  color: var(--mauve-deep);
  border-radius: 99px;
  padding: 0 0.4rem;
  font-size: 0.72rem;
  margin-left: 0.15rem;
}

.thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.75rem;
}
.thumbs button {
  border: 1px solid #d5c8be;
  padding: 0;
  width: 74px;
  height: 74px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
}
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button.active { outline: 2px solid var(--mauve); }
.strip { width: 100%; display: block; max-height: 280px; object-fit: cover; }

.page-intro { max-width: 640px; }
.page-intro p {
  font-size: 1.18rem;
  margin: -0.6rem 0 1.8rem;
  color: var(--muted);
}

@media (max-width: 800px) {
  .header-inner { grid-template-columns: 1fr; text-align: center; }
  nav.left, .header-tools { justify-content: center; }
  .product-layout, .footer-inner { grid-template-columns: 1fr; }
  .hero { min-height: 54vh; }
  .card img { height: 280px; }
}
