:root {
  --bg: #fbf5e9;
  --bg-2: #f3ead8;
  --card: #fffdf8;
  --green: #173a1c;
  --green-2: #2f5b2d;
  --green-3: #78923f;
  --gold: #c79a2f;
  --gold-2: #dfb12a;
  --brown: #71502b;
  --text: #1e2a1e;
  --muted: #695f50;
  --line: rgba(23, 58, 28, .14);
  --shadow: 0 24px 70px rgba(57, 45, 21, .14);
  --radius: 30px;
  --container: 1180px;
  --header-h: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 18px); }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(223, 177, 42, .13), transparent 28rem),
    radial-gradient(circle at 90% 20%, rgba(47, 91, 45, .10), transparent 32rem),
    linear-gradient(180deg, #fffaf1 0%, var(--bg) 45%, #fffaf2 100%);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}
.brand-symbol {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(199, 154, 47, .35);
  box-shadow: 0 8px 22px rgba(23, 58, 28, .10);
}
.brand strong {
  display: block;
  color: var(--green);
  font-size: 1.05rem;
  line-height: 1.1;
  letter-spacing: .02em;
}
.brand small {
  display: block;
  color: var(--brown);
  font-size: .78rem;
  line-height: 1.15;
  font-weight: 800;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 34px);
  font-weight: 800;
  color: #30402c;
}
.nav a {
  position: relative;
  padding: 8px 0;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  background: var(--gold);
  transition: transform .2s ease;
}
.nav a:hover::after { transform: scaleX(1); }

.menu-toggle {
  display: none;
  border: 0;
  border-radius: 14px;
  background: var(--green);
  color: white;
  font-size: 1.3rem;
  width: 44px;
  height: 44px;
}

.cart-button {
  border: 0;
  background: var(--green);
  color: #fff;
  border-radius: 999px;
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 14px 28px rgba(23, 58, 28, .18);
  cursor: pointer;
  min-width: 142px;
  justify-content: center;
}
.cart-count {
  background: var(--gold-2);
  color: var(--green);
  font-weight: 900;
  min-width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  font-size: .86rem;
}

.hero,
.section,
.quality,
.contact {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(60px, 8vw, 110px) clamp(18px, 4vw, 28px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
  min-height: calc(100vh - var(--header-h));
}
.eyebrow {
  margin: 0 0 14px;
  color: #435d4b;
  font-size: .84rem;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-weight: 950;
}
h1, h2, h3 { color: var(--green); line-height: 1.02; margin: 0; }
h1 { font-size: clamp(3rem, 8vw, 6.6rem); letter-spacing: -.06em; }
h2 { font-size: clamp(2.2rem, 5vw, 4.2rem); letter-spacing: -.05em; }
h3 { font-size: 1.25rem; letter-spacing: -.02em; }
.hero-text, .section-heading p, .quality-copy > p, .contact-card > p {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 660px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 950;
  border: 0;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--gold-2); color: var(--green); box-shadow: 0 16px 34px rgba(199,154,47,.24); }
.btn.secondary { background: var(--green); color: white; box-shadow: 0 16px 34px rgba(23,58,28,.20); }
.btn.full { width: 100%; }
.trust-strip {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.trust-strip span {
  background: rgba(255,255,255,.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 14px;
  color: var(--green);
  font-weight: 850;
  font-size: .92rem;
}
.hero-card {
  background: linear-gradient(145deg, rgba(255,255,255,.92), rgba(246,238,222,.78));
  border: 1px solid rgba(199,154,47,.20);
  border-radius: 42px;
  padding: clamp(20px, 4vw, 36px);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-card img {
  border-radius: 28px;
  border: 1px solid rgba(23,58,28,.08);
}
.hero-card-footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--green);
  font-weight: 900;
  padding: 18px 4px 0;
}
.hero-card-footer span { color: var(--brown); }

.section-heading { margin-bottom: 34px; }
.section-heading.centered { text-align: center; max-width: 820px; margin-left: auto; margin-right: auto; }
.section-heading.centered p { margin-left: auto; margin-right: auto; }

.products-grid,
.recipes-grid,
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card,
.recipe-card,
.gallery-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  box-shadow: 0 20px 45px rgba(55, 43, 18, .10);
}
.product-image,
.gallery-item img,
.recipe-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  background: var(--bg-2);
}
.product-image-wrap { position: relative; overflow: hidden; }
.product-badge {
  position: absolute;
  left: 16px;
  top: 16px;
  background: rgba(255, 250, 241, .92);
  color: var(--green);
  border-radius: 999px;
  padding: 7px 13px;
  font-size: .76rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.product-body { padding: 24px; }
.product-body p { color: var(--muted); margin: 12px 0 20px; }
.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.price {
  color: #2b1910;
  font-weight: 1000;
  font-size: 1.35rem;
}
.add-button {
  background: var(--gold-2);
  border: 0;
  border-radius: 999px;
  padding: 11px 18px;
  color: var(--green);
  font-weight: 950;
  cursor: pointer;
}
.add-button:hover { filter: brightness(.98); transform: translateY(-1px); }

.quality {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 46px;
  align-items: center;
}
.quality-image {
  min-height: 580px;
  border-radius: 42px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: var(--bg-2);
}
.quality-image img { width: 100%; height: 100%; min-height: 580px; object-fit: cover; }
.quality-list { display: grid; gap: 18px; margin-top: 28px; }
.quality-list article {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  align-items: start;
  background: rgba(255,255,255,.76);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px;
}
.quality-list span {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 950;
}
.quality-list p { margin: 8px 0 0; color: var(--muted); }

.recipe-card { background: #fffdf9; }
.recipe-card img { height: 250px; }
.recipe-card div { padding: 22px; }
.recipe-card span {
  display: inline-flex;
  color: var(--brown);
  background: #f4e8cc;
  font-weight: 950;
  border-radius: 999px;
  padding: 6px 12px;
  margin-bottom: 12px;
  font-size: .8rem;
}
.recipe-card p { color: var(--muted); margin-bottom: 0; }

.gallery-grid { gap: 18px; }
.gallery-item { position: relative; border-radius: 24px; }
.gallery-item img { height: 300px; transition: transform .3s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  background: rgba(255,250,241,.92);
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 18px;
  padding: 12px 14px;
  color: var(--green);
  font-weight: 950;
  box-shadow: 0 10px 25px rgba(0,0,0,.08);
}

.contact {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 28px;
  align-items: start;
}
.contact-card,
.contact-form {
  background: rgba(255,255,255,.78);
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: clamp(24px, 4vw, 38px);
  box-shadow: 0 20px 45px rgba(55, 43, 18, .08);
}
.contact-items {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}
.contact-items a,
.contact-items span {
  display: block;
  padding: 14px 16px;
  border-radius: 18px;
  background: #fffaf1;
  color: var(--green);
  font-weight: 900;
  border: 1px solid var(--line);
}
.contact-form { display: grid; gap: 16px; }
.contact-form label { color: var(--green); font-weight: 900; display: grid; gap: 8px; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(23,58,28,.17);
  border-radius: 18px;
  padding: 14px 16px;
  background: white;
  color: var(--text);
  outline: none;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(223,177,42,.13); }

.footer {
  text-align: center;
  padding: 45px 20px 55px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.footer img { width: 70px; height: 70px; border-radius: 50%; object-fit: cover; margin: 0 auto 12px; }
.footer strong { color: var(--green); }
.footer p { margin: 8px 0 4px; }

.cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(18, 23, 18, .34);
  z-index: 70;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}
.cart-panel {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(430px, 92vw);
  z-index: 80;
  transform: translateX(105%);
  transition: transform .24s ease;
  pointer-events: none;
}
.cart-panel.is-open { transform: translateX(0); pointer-events: auto; }
.cart-backdrop.is-open { opacity: 1; pointer-events: auto; }
.cart-panel-content {
  height: 100%;
  background: #fffaf1;
  box-shadow: -18px 0 70px rgba(0,0,0,.18);
  padding: 26px;
  display: flex;
  flex-direction: column;
}
.cart-header { display: flex; align-items: start; justify-content: space-between; gap: 14px; }
.cart-header h2 { font-size: 2rem; }
.icon-button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: white;
  color: var(--green);
  font-size: 1.8rem;
  cursor: pointer;
}
.cart-items { flex: 1; overflow: auto; display: grid; align-content: start; gap: 12px; padding: 20px 0; }
.cart-item {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 12px;
  align-items: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 10px;
}
.cart-item img { width: 70px; height: 70px; object-fit: cover; border-radius: 14px; }
.cart-item h4 { margin: 0; color: var(--green); line-height: 1.1; }
.cart-item p { margin: 5px 0 0; color: var(--brown); font-weight: 900; }
.qty-controls { display: inline-flex; align-items: center; gap: 8px; }
.qty-controls button {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 0;
  background: var(--green);
  color: white;
  font-weight: 900;
  cursor: pointer;
}
.cart-total {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  color: var(--green);
  font-weight: 950;
  font-size: 1.1rem;
}
.cart-total strong { font-size: 1.45rem; }
.cart-note { color: var(--muted); font-size: .92rem; margin-bottom: 0; }
.empty-cart { color: var(--muted); background: white; border: 1px dashed var(--line); padding: 18px; border-radius: 18px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .site-header { height: auto; min-height: var(--header-h); flex-wrap: wrap; }
  .brand { min-width: auto; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .nav {
    order: 5;
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 8px 0 4px;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px; border-radius: 14px; background: rgba(255,255,255,.5); }
  .cart-button { min-width: auto; padding: 10px 14px; }
  .hero, .quality, .contact { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .products-grid, .recipes-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .quality-image, .quality-image img { min-height: 430px; }
}

@media (max-width: 640px) {
  :root { --header-h: 70px; }
  .site-header { padding: 8px 14px; }
  .brand small { display: none; }
  .brand-symbol { width: 48px; height: 48px; }
  .hero, .section, .quality, .contact { padding-left: 16px; padding-right: 16px; }
  h1 { font-size: clamp(2.6rem, 14vw, 4rem); }
  h2 { font-size: clamp(2rem, 10vw, 3rem); }
  .products-grid, .recipes-grid, .gallery-grid { grid-template-columns: 1fr; }
  .product-image, .gallery-item img, .recipe-card img { height: 240px; }
  .hero-card-footer { flex-direction: column; }
  .cart-button strong { display: none; }
}
