:root {
  --green: #1f3a2b;
  --green-2: #2f5a40;
  --leaf: #7da35a;
  --rust: #b5532f;
  --rust-2: #9a4224;
  --sun: #f2b33d;
  --cream: #fbf6ec;
  --paper: #ffffff;
  --ink: #23201b;
  --muted: #6c655a;
  --line: #e8dfcd;
  --danger: #b3261e;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(40, 30, 10, .06), 0 8px 24px rgba(40, 30, 10, .06);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --te: "Noto Sans Telugu", var(--sans);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--cream); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: var(--rust-2); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; margin: 0 0 .5rem; color: var(--green); }
h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); letter-spacing: -.01em; }
h1 em { color: var(--rust); font-style: normal; }
h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 .75rem; }
.te { font-family: var(--te); }
.muted { color: var(--muted); }
.center { text-align: center; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(640px, 100% - 32px); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 600; color: var(--rust); margin-bottom: .4rem; }
.section { padding: clamp(48px, 8vw, 88px) 0; }
.section.alt { background: #f3ecdc; }
.section-head { margin-bottom: 28px; }
.section-head.center { text-align: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; background: var(--rust); color: #fff; border: 0; border-radius: 999px; padding: .85rem 1.4rem; font: 600 1rem var(--sans); text-decoration: none; cursor: pointer; transition: background .15s, transform .1s; min-height: 44px; }
.btn:hover { background: var(--rust-2); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-sm { padding: .5rem 1rem; font-size: .92rem; min-height: 38px; }
.btn-ghost { background: transparent; color: var(--green); box-shadow: inset 0 0 0 1.5px var(--green); }
.btn-ghost:hover { background: var(--green); color: #fff; }
.btn-block { width: 100%; }
.btn-quiet { background: #efe7d6; color: var(--ink); }
.btn-quiet:hover { background: #e4d9c2; }

/* Nav */
.announce { background: var(--sun); color: #3b2a05; text-align: center; padding: .5rem 16px; font-weight: 600; font-size: .92rem; }
.nav { position: sticky; top: 0; z-index: 20; background: rgba(251, 246, 236, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--green); font-family: var(--serif); font-weight: 700; font-size: 1.15rem; }
.brand small { display: block; font-size: .78rem; font-weight: 500; color: var(--rust); line-height: 1; }
.brand span { line-height: 1.1; }
.nav-links { display: flex; align-items: center; gap: 1.25rem; }
.nav-links a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav-links a:not(.btn):hover { color: var(--rust); }
@media (max-width: 640px) { .nav-links a:not(.btn) { display: none; } }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 85% 0%, #f7e4bb 0%, transparent 60%), var(--cream); padding: clamp(32px, 6vw, 72px) 0 clamp(40px, 6vw, 64px); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; }
.hero-te { font-size: 1.15rem; color: var(--green-2); font-weight: 600; }
.lead { font-size: 1.1rem; color: #4a443b; max-width: 34em; }
.hero-cta { display: flex; gap: .75rem; flex-wrap: wrap; margin: 1.5rem 0; }
.trust { list-style: none; padding: 0; margin: 0; display: flex; gap: 1.5rem; flex-wrap: wrap; color: var(--muted); font-size: .92rem; }
.trust strong { color: var(--green); display: block; font-family: var(--serif); font-size: 1.2rem; }
.farm-svg { width: 100%; height: auto; filter: drop-shadow(0 20px 30px rgba(60, 40, 10, .12)); border-radius: 28px; background: linear-gradient(#fdf1d6, #f6e3b8); }
.hen { animation: peck 3.2s ease-in-out infinite; transform-origin: 270px 330px; }
@keyframes peck { 0%, 80%, 100% { transform: translate(210px, 200px) rotate(0); } 88% { transform: translate(214px, 206px) rotate(6deg); } }
@media (prefers-reduced-motion: reduce) { .hen { animation: none; } html { scroll-behavior: auto; } }
@media (max-width: 820px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 360px; margin-inline: auto; width: 100%; }
}

/* Products */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.product { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; display: flex; flex-direction: column; gap: 12px; border: 1px solid var(--line); }
.product.skeleton { min-height: 220px; background: linear-gradient(90deg, #f4ede0, #fbf6ec, #f4ede0); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.product.soldout { opacity: .65; }
.p-emoji { font-size: 2.2rem; width: 60px; height: 60px; display: grid; place-items: center; background: #f6ecd6; border-radius: 14px; }
.p-body { display: flex; flex-direction: column; flex: 1; }
.p-te { color: var(--green-2); font-size: .92rem; margin-bottom: .4rem; }
.p-desc { color: var(--muted); font-size: .93rem; flex: 1; }
.p-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; flex-wrap: wrap; }
.price { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; color: var(--green); margin: 0; }
.price small { font-family: var(--sans); font-size: .85rem; font-weight: 500; color: var(--muted); }
.stepper { display: inline-flex; align-items: center; background: #f3ecdc; border-radius: 999px; padding: 4px; }
.stepper button { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--paper); color: var(--green); font-size: 1.3rem; font-weight: 600; cursor: pointer; box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.stepper button:hover { background: var(--green); color: #fff; }
.stepper output { min-width: 72px; text-align: center; font-weight: 600; font-size: .92rem; }
.badge { background: #efe7d6; color: var(--muted); border-radius: 999px; padding: .3rem .8rem; font-size: .85rem; font-weight: 600; }

/* Steps */
.steps-section { background: var(--green); color: #e9efe6; }
.steps-section h2, .steps-section h3 { color: #fff; }
.steps-section .eyebrow { color: var(--sun); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); padding: 24px; }
.steps span { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--sun); color: var(--green); font-weight: 700; margin-bottom: 12px; }
.steps p { margin: 0; color: #c9d6c4; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* Booking */
.card { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); padding: 24px; }
.book-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; }
.summary { position: sticky; top: 84px; margin-top: 76px; }
@media (max-width: 860px) { .book-grid { grid-template-columns: 1fr; } .summary { position: static; margin-top: 0; order: -1; } }
.form { display: grid; gap: 16px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, .field > legend { font-weight: 600; font-size: .92rem; padding: 0; margin-bottom: 6px; }
input, select, textarea { font: inherit; color: inherit; width: 100%; padding: .75rem .9rem; border: 1.5px solid var(--line); border-radius: 12px; background: #fffdf8; min-height: 46px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--leaf); box-shadow: 0 0 0 3px rgba(125, 163, 90, .25); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg label { cursor: pointer; position: relative; }
.seg input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; min-height: 0; padding: 0; }
.seg span { display: block; text-align: center; padding: .8rem; border: 1.5px solid var(--line); border-radius: 12px; font-weight: 600; background: #fffdf8; }
.seg input:checked + span { border-color: var(--green); background: #eef4e8; color: var(--green); }
.seg input:focus-visible + span { box-shadow: 0 0 0 3px rgba(125, 163, 90, .35); }
.hint { font-size: .86rem; color: var(--muted); margin: 0; }
.form-error { color: var(--danger); background: #fcebea; border-radius: 10px; padding: .6rem .8rem; margin: 0; font-weight: 500; }
.closed-note { background: #fff4d6; border: 1px solid #f2d68a; padding: .8rem 1rem; border-radius: 12px; font-weight: 500; }
.summary h3 { margin-bottom: 12px; }
.summary-items { display: grid; gap: 8px; margin-bottom: 12px; }
.line { display: flex; justify-content: space-between; gap: 12px; font-size: .95rem; }
.totals { margin: 0; border-top: 1px dashed var(--line); padding-top: 12px; display: grid; gap: 6px; }
.totals div { display: flex; justify-content: space-between; }
.totals dt { color: var(--muted); }
.totals dd { margin: 0; font-weight: 600; }
.totals .grand dt { color: var(--ink); font-weight: 600; }
.totals .grand dd { font-family: var(--serif); font-size: 1.4rem; color: var(--green); }

/* Success */
.success-card { max-width: 560px; margin-inline: auto; text-align: center; }
.success-card .summary-items { text-align: left; margin-top: 16px; }
.tick { width: 64px; height: 64px; border-radius: 50%; background: var(--leaf); color: #fff; font-size: 2rem; display: grid; place-items: center; margin: 0 auto 12px; }
.ref { font-family: var(--serif); font-size: 2rem; font-weight: 700; color: var(--rust); letter-spacing: .04em; margin: 0; }
.grand-line { font-size: 1.1rem; }
.success-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 16px 0 8px; }

/* Track */
.track-form { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 10px; padding: 14px; }
@media (max-width: 600px) { .track-form { grid-template-columns: 1fr; } }
.track-result { margin-top: 16px; }
.status { display: inline-block; padding: .2rem .7rem; border-radius: 999px; font-size: .82rem; font-weight: 700; background: #eee; }
.status-new { background: #fff1cc; color: #7a5600; }
.status-confirmed { background: #e2efff; color: #1d4f91; }
.status-ready { background: #efe3ff; color: #5b2c99; }
.status-delivered { background: #e3f3dc; color: #2d6a1f; }
.status-cancelled { background: #f6e1df; color: #8f2b22; }
.status-paid { background: #dff3ec; color: #136048; }

/* Farm */
.farm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
@media (max-width: 860px) { .farm-grid { grid-template-columns: 1fr; } }
.ticks { list-style: none; padding: 0; margin: 1rem 0 1.5rem; display: grid; gap: .5rem; }
.ticks li::before { content: "✓"; color: var(--leaf); font-weight: 700; margin-right: .6rem; }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }

.contact { display: flex; gap: .7rem; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: .8rem; text-decoration: none; color: var(--ink); }
.contact:hover { border-color: var(--leaf); }
.contact span { font-size: 1.4rem; }
.contact small { color: var(--muted); display: block; font-size: .78rem; }
.contact strong { font-size: .92rem; white-space: nowrap; }
.map { padding: 0; overflow: hidden; }
.map iframe { width: 100%; height: 340px; border: 0; display: block; background: #e9e2d2; }
.map-caption { padding: 12px 16px; margin: 0; font-size: .92rem; color: var(--muted); }

/* Footer + cart bar */
.footer { background: var(--green); color: #d7e1d2; padding: 28px 0 96px; }
.footer a { color: var(--sun); }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: end; }
.cart-bar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--green); color: #fff; padding: 10px 10px 10px 18px; border-radius: 999px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); max-width: 520px; margin-inline: auto; }
.cart-bar div { display: flex; gap: .8rem; align-items: baseline; }
.cart-bar span { color: var(--sun); font-weight: 700; }
.cart-bar .btn { background: var(--sun); color: var(--green); }
[hidden] { display: none !important; }
input, select, textarea { font-size: max(16px, 1em); -webkit-appearance: none; appearance: none; }
select { background-image: linear-gradient(45deg, transparent 50%, #6c655a 50%), linear-gradient(135deg, #6c655a 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2rem; }
input[type="checkbox"], input[type="radio"] { -webkit-appearance: auto; appearance: auto; }
.welcome { background: #eef4e8; color: var(--green); border-radius: 12px; padding: .7rem 1rem; margin: 0; font-weight: 600; }
