:root {
  --ink: #0f2318;
  --paper: #f4faf6;
  --surface: #ffffff;
  --muted: #4d7a5e;
  --border: #b8d9c4;
  --green: #2e7d52;
  --green-deep: #1a5c38;
  --green-soft: #a8d5b8;
  --green-light: #e8f5ee;
  --charcoal: #0d2218;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: Outfit, Georgia, serif;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.font-display {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(15, 35, 24, 0.04);
}

.header-row {
  max-width: 80rem;
  margin: 0 auto;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0 0.75rem;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.nav-desktop a:hover {
  color: var(--green-deep);
}

.brand {
  text-align: center;
}

.brand-name {
  display: block;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 1.25rem;
  letter-spacing: 0.06em;
}

.brand-sub {
  display: block;
  margin-top: 0.15rem;
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--green);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.header-actions select {
  display: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  outline: none;
}

.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  color: var(--muted);
}

.icon-btn:hover {
  background: var(--green-light);
  color: var(--green-deep);
}

.icon-btn svg {
  width: 1.15rem;
  height: 1.15rem;
}

.badge {
  position: absolute;
  top: 0.1rem;
  right: 0.1rem;
  min-width: 1rem;
  height: 1rem;
  padding: 0 0.2rem;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 10px;
  line-height: 1rem;
  text-align: center;
}

.chat-icon {
  display: none;
}

.nav-mobile {
  border-top: 1px solid rgba(184, 217, 196, 0.7);
  padding: 0.5rem 0.75rem;
}

.nav-mobile-inner {
  max-width: 80rem;
  margin: 0 auto;
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
}

.chip {
  flex: 0 0 auto;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--muted);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.chip:hover,
.chip.active {
  border-color: var(--green);
  color: var(--green-deep);
}

.hero {
  position: relative;
  min-height: 76vh;
  overflow: hidden;
  background: #123;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 92, 56, 0.8), rgba(0, 0, 0, 0.3) 45%, rgba(0, 0, 0, 0.2));
}

.hero-copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3rem 1rem 3rem;
}

.eyebrow {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--green-soft);
}

.hero h1 {
  margin: 0.7rem 0 0;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: clamp(2.4rem, 9vw, 6.5rem);
  font-weight: 500;
  color: #fff;
  line-height: 0.95;
}

.hero p {
  max-width: 28rem;
  margin: 0.8rem 0 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.6;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  padding: 0.8rem 1.4rem;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.btn-green {
  background: var(--green);
  color: #fff;
}

.btn-green:hover {
  background: var(--green-deep);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-ink {
  background: var(--ink);
  color: #fff;
}

.btn-ink:hover {
  background: var(--green-deep);
}

.section {
  max-width: 80rem;
  margin: 0 auto;
  padding: 3.2rem 1rem;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.kicker {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
}

h2,
.display {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-weight: 500;
}

.section-head h2,
.page-title {
  margin: 0.4rem 0 0;
  font-size: clamp(1.8rem, 5vw, 3rem);
}

.link-green {
  color: var(--green);
  font-size: 0.9rem;
}

.link-green:hover {
  color: var(--green-deep);
  text-decoration: underline;
}

.grid-products {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

.product-card .thumb {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--green-light);
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.product-card:hover img {
  transform: scale(1.04);
}

.product-card .meta {
  margin-top: 0.75rem;
}

.product-card .type {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.product-card h3 {
  margin: 0.25rem 0 0;
  font-size: 1.2rem;
  line-height: 1.2;
}

.product-card:hover h3 {
  color: var(--green);
}

.product-card .price {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--green-light);
}

.band.white {
  background: #fff;
}

.service-grid,
.form-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.service-card,
.panel {
  border: 1px solid var(--border);
  background: #fff;
  padding: 1.2rem;
}

.service-card:hover {
  border-color: var(--green);
}

.service-card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.service-card p,
.muted {
  color: var(--muted);
}

.collection-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.collection-tile {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--border);
}

.collection-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.collection-tile:hover img {
  transform: scale(1.05);
}

.collection-tile .shade {
  position: absolute;
  inset: 0;
  background: rgba(26, 92, 56, 0.4);
}

.collection-tile span {
  position: absolute;
  left: 1.2rem;
  bottom: 1.2rem;
  color: #fff;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 1.8rem;
}

.story {
  max-width: 48rem;
  margin: 0 auto;
  padding: 3.5rem 1rem 4rem;
  text-align: center;
}

.story .kicker {
  color: var(--green);
}

.story h2 {
  margin: 1rem 0 0;
  font-size: clamp(1.8rem, 5vw, 3rem);
}

.story p {
  margin: 1.3rem auto 0;
  max-width: 38rem;
  color: var(--muted);
  line-height: 1.7;
}

.story a {
  display: inline-block;
  margin-top: 1.6rem;
  border-bottom: 2px solid var(--green);
  padding-bottom: 0.15rem;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-deep);
}

.page {
  max-width: 80rem;
  margin: 0 auto;
  padding: 2.5rem 1rem 4rem;
}

.narrow {
  max-width: 42rem;
}

.product-layout {
  display: grid;
  gap: 1.5rem;
}

.product-media {
  position: relative;
  overflow: hidden;
  background: var(--green-light);
  min-height: 22rem;
}

.product-media img {
  width: 100%;
  height: 100%;
  min-height: 22rem;
  object-fit: cover;
}

.qty {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.qty input,
.field {
  width: 100%;
  border: 1px solid var(--border);
  background: #fff;
  padding: 0.7rem 0.8rem;
}

.qty input {
  width: 4.5rem;
}

.form-stack {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.cart-line {
  display: grid;
  grid-template-columns: 5rem 1fr auto;
  gap: 0.9rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--border);
}

.cart-line img {
  width: 5rem;
  height: 6.2rem;
  object-fit: cover;
  background: var(--green-light);
}

.totals {
  margin-top: 1.5rem;
  text-align: right;
}

.site-footer {
  margin-top: 4rem;
  border-top: 1px solid var(--border);
  background: var(--charcoal);
  color: var(--green-soft);
}

.footer-grid {
  max-width: 80rem;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  padding: 3rem 1rem;
}

.site-footer h3 {
  margin: 0;
  color: #fff;
  font-size: 1.8rem;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.site-footer a:hover {
  color: var(--green-soft);
}

.accent {
  width: 3rem;
  height: 0.2rem;
  margin-top: 1.1rem;
  border-radius: 999px;
  background: var(--green);
}

.footer-copy {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.75rem;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.2rem;
  transform: translateX(-50%);
  background: var(--ink);
  color: #fff;
  padding: 0.7rem 1.1rem;
  font-size: 0.8rem;
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.toast.show {
  opacity: 1;
}

.chat-launcher {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 0;
  cursor: pointer;
  background: var(--ink);
  color: #fff;
  padding: 0.85rem 1.1rem;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  box-shadow: 0 12px 28px rgba(13, 34, 24, 0.28);
}

.chat-launcher:hover {
  background: var(--green-deep);
}

.chat-launcher-icon {
  display: inline-flex;
  width: 1rem;
  height: 1rem;
}

.chat-launcher-icon svg {
  width: 1rem;
  height: 1rem;
}

.chat-widget {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 70;
  width: min(380px, calc(100vw - 2rem));
  height: min(480px, 70vh);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  background: var(--paper);
  box-shadow: 0 20px 50px rgba(13, 34, 24, 0.28);
}

.chat-widget[hidden] {
  display: none;
}

.chat-widget-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 1rem;
  background: #fff;
}

.chat-widget-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
}

.chat-widget-sub {
  margin: 0.15rem 0 0;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.chat-close {
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.chat-bubble {
  max-width: 85%;
  padding: 0.65rem 0.8rem;
  border-radius: 0.6rem;
  font-size: 0.9rem;
  line-height: 1.45;
}

.chat-bubble.user {
  margin-left: auto;
  background: var(--ink);
  color: #fff;
}

.chat-bubble.expert {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 4px rgba(13, 34, 24, 0.08);
}

.chat-form {
  display: flex;
  gap: 0.5rem;
  border-top: 1px solid var(--border);
  padding: 0.75rem;
  background: #fff;
}

.chat-form input {
  flex: 1;
  border: 1px solid var(--border);
  background: #fff;
  padding: 0.65rem 0.75rem;
  outline: none;
}

.chat-form button {
  border: 0;
  background: var(--green);
  color: #fff;
  padding: 0.65rem 0.85rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.chat-form button:hover {
  background: var(--green-deep);
}

.chat-wa-note {
  margin: 0;
  padding: 0 0.85rem 0.75rem;
  font-size: 10px;
  line-height: 1.4;
  color: var(--muted);
  background: #fff;
}

@media (max-width: 639px) {
  .chat-launcher-label {
    display: none;
  }

  .chat-launcher {
    width: 3.2rem;
    height: 3.2rem;
    padding: 0;
    border-radius: 999px;
    justify-content: center;
  }
}

.empty {
  text-align: center;
  padding: 4rem 1rem;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-rise { animation: rise 0.8s ease-out both; }
.animate-fade { animation: fade 1s ease-out both; }
.animate-rise-delay { animation: rise 0.9s ease-out 0.15s both; }
.animate-rise-delay-2 { animation: rise 0.9s ease-out 0.3s both; }

@media (min-width: 640px) {
  .header-row,
  .hero-copy,
  .section,
  .page,
  .story,
  .footer-grid {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .brand-name { font-size: 1.85rem; }
  .brand-sub { font-size: 10px; letter-spacing: 0.35em; }
  .header-actions select { display: block; }
  .chat-icon { display: inline-flex; }
  .hero { min-height: 88vh; }
  .hero p { font-size: 1.1rem; }
  .btn { padding: 0.9rem 2rem; font-size: 0.75rem; letter-spacing: 0.22em; }
  .grid-products { grid-template-columns: 1fr 1fr; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .collection-grid { grid-template-columns: 1fr 1fr; }
  .product-layout { grid-template-columns: 1.05fr 0.95fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
  .nav-mobile { display: none; }
  .header-row,
  .hero-copy,
  .section,
  .page,
  .footer-grid {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  .grid-products { grid-template-columns: repeat(4, 1fr); }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .collection-grid { grid-template-columns: repeat(4, 1fr); }
}
