:root {
  --bg: #f6f2ea;
  --paper: #fffaf1;
  --ink: #202018;
  --muted: #696454;
  --line: rgba(32, 32, 24, .13);
  --sage: #78866b;
  --sage-dark: #46533d;
  --clay: #c58b65;
  --sand: #ead9bd;
  --cream: #fff7e8;
  --rose: #d8a29b;
  --shadow: 0 24px 70px rgba(57, 48, 36, .14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 10% 10%, rgba(197,139,101,.18), transparent 25rem),
    radial-gradient(circle at 88% 4%, rgba(120,134,107,.16), transparent 27rem),
    linear-gradient(180deg, #f6f2ea 0%, #fffaf1 52%, #eee2d0 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .42;
  background-image:
    linear-gradient(rgba(32,32,24,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32,32,24,.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.72), transparent 80%);
}

a,
button {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
}

.soft-glow {
  position: fixed;
  z-index: -1;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(42px);
  opacity: .35;
  pointer-events: none;
}

.glow-a {
  left: -140px;
  top: -130px;
  background: rgba(197,139,101,.42);
}

.glow-b {
  right: -160px;
  top: 180px;
  background: rgba(120,134,107,.34);
}

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

.header {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: var(--cream);
  background: linear-gradient(135deg, var(--sage-dark), var(--sage));
  font-weight: 950;
  letter-spacing: -.08em;
  box-shadow: 0 14px 34px rgba(70,83,61,.22);
}

.brand strong {
  display: block;
  font-size: 18px;
  letter-spacing: -.04em;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,250,241,.7);
  backdrop-filter: blur(16px);
}

.nav a {
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
}

.nav a:hover {
  color: var(--ink);
  background: rgba(120,134,107,.12);
}

.hero {
  min-height: 660px;
  display: grid;
  grid-template-columns: 1.03fr .97fr;
  gap: 52px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--sage-dark);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  font-weight: 850;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6vw, 76px);
  line-height: .96;
  letter-spacing: -.05em;
}

h2 {
  margin-bottom: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -.04em;
}

h3 {
  margin-bottom: 9px;
  font-size: 21px;
  letter-spacing: -.035em;
}

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255,250,241,.74);
  font-weight: 850;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: rgba(32,32,24,.25);
}

.button.primary {
  color: var(--cream);
  background: var(--ink);
}

.hero-panel,
.details-card,
.collection,
.collection-panel,
.cart-card,
.note-card,
.story-card,
.product-card,
.footer {
  border: 1px solid var(--line);
  background: rgba(255,250,241,.76);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-panel {
  padding: 24px;
  border-radius: 36px;
}

.product-visual {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(circle at 18% 22%, rgba(255,255,255,.58), transparent 14rem),
    linear-gradient(135deg, #ead9bd, #d6b08d);
}

.vase {
  position: absolute;
  left: 32%;
  top: 70px;
  width: 150px;
  height: 220px;
  border-radius: 48% 52% 42% 44%;
  background: linear-gradient(135deg, #f6efe0, #cdb99b);
  box-shadow: inset -18px -20px 40px rgba(60,40,24,.12), 0 28px 50px rgba(57,48,36,.18);
}

.plate {
  position: absolute;
  right: 62px;
  bottom: 68px;
  width: 170px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f8ead2, #c58b65);
  box-shadow: 0 24px 40px rgba(57,48,36,.18);
}

.candle {
  position: absolute;
  left: 70px;
  bottom: 82px;
  width: 80px;
  height: 108px;
  border-radius: 28px 28px 18px 18px;
  background: linear-gradient(135deg, #fff7e8, #d8a29b);
  box-shadow: 0 24px 40px rgba(57,48,36,.14);
}

.hero-product {
  padding-top: 20px;
}

.hero-product p {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 14px;
}

.hero-product h2 {
  margin-bottom: 8px;
  font-size: 34px;
}

.hero-product span {
  color: var(--sage-dark);
  font-weight: 800;
}

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

.section-head {
  max-width: 780px;
  margin-bottom: 30px;
}

.section-head p {
  color: var(--muted);
  line-height: 1.7;
}

.catalog-layout,
.cart-layout {
  display: grid;
  grid-template-columns: 1fr .88fr;
  gap: 18px;
  align-items: start;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.product-card {
  min-height: 230px;
  padding: 22px;
  border-radius: 30px;
  color: var(--ink);
  text-align: left;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.product-card:hover,
.product-card.is-active {
  transform: translateY(-3px);
  border-color: rgba(120,134,107,.38);
  background:
    radial-gradient(circle at 12% 12%, rgba(120,134,107,.12), transparent 12rem),
    rgba(255,250,241,.92);
}

.product-code {
  display: inline-flex;
  margin-bottom: 34px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--cream);
  background: var(--sage-dark);
  font-size: 12px;
  font-weight: 900;
}

.product-card p,
.details-card p,
.collection-panel p,
.cart-card p,
.note-card p,
.story-card p {
  color: var(--muted);
  line-height: 1.65;
}

.product-card strong {
  display: inline-block;
  margin-top: 16px;
}

.details-card,
.collection-panel,
.cart-card,
.note-card,
.story-card {
  padding: 26px;
  border-radius: 32px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.tag-row span {
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--sage-dark);
  background: rgba(120,134,107,.14);
  font-size: 13px;
  font-weight: 760;
}

.add-button {
  margin-top: 24px;
}

.collection-switcher {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.collection {
  padding: 22px;
  border-radius: 30px;
  color: var(--ink);
  text-align: left;
  transition: transform .18s ease, background .18s ease;
}

.collection:hover,
.collection.is-active {
  transform: translateY(-3px);
  background:
    radial-gradient(circle at 12% 12%, rgba(197,139,101,.14), transparent 12rem),
    rgba(255,250,241,.94);
}

.collection span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--sage-dark);
  font-weight: 950;
}

.collection strong {
  display: block;
  margin-bottom: 8px;
  font-size: 21px;
}

.collection small {
  color: var(--muted);
  line-height: 1.5;
}

.cart-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.cart-top p {
  margin-bottom: 5px;
}

.cart-top strong {
  font-size: 26px;
}

.cart-list {
  display: grid;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.cart-list li {
  padding: 11px 12px;
  border-radius: 16px;
  color: var(--muted);
  background: rgba(120,134,107,.1);
}

.cart-list .empty {
  background: rgba(32,32,24,.055);
}

.story-card {
  max-width: 860px;
}

.footer {
  margin: 34px auto 48px;
  padding: 22px;
  border-radius: 24px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.footer p {
  margin-bottom: 0;
}

@media (max-width: 1040px) {
  .hero,
  .catalog-layout,
  .cart-layout {
    grid-template-columns: 1fr;
  }

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

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

  .nav {
    width: 100%;
    overflow-x: auto;
  }

  .hero {
    min-height: auto;
    padding: 56px 0 78px;
  }

  .product-grid,
  .collection-switcher {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 40px;
  }

  .hero-panel,
  .product-card,
  .details-card,
  .collection-panel,
  .cart-card,
  .note-card,
  .story-card {
    border-radius: 24px;
  }
}
