@font-face {
  font-family: "Peyda";
  src: url("/assets/PeydaWebFaNum-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Peyda";
  src: url("/assets/PeydaWebFaNum-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  font-family: "Peyda", Tahoma, "Segoe UI", sans-serif;
  color: #070707;
  background: #f6f6f6;
  --green: #006738;
  --green-bright: #8cc63f;
  --orange: #db9211;
  --ink: #070707;
  --muted: #545454;
  --surface: #ffffff;
  --surface-soft: #f6f6f6;
  --line: #e3e3e3;
  --danger: #a12f2f;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: linear-gradient(145deg, #f8faf7 0%, #f1f3ef 58%, #e9eee9 100%); }
button, textarea { font: inherit; }
.skip-link { position: fixed; top: 8px; right: 8px; z-index: 10; transform: translateY(-150%); padding: 8px 12px; border-radius: 8px; background: white; color: var(--green); }
.skip-link:focus { transform: none; }
.page-shell { min-height: 100vh; display: grid; place-items: center; padding: 28px 16px; }
.chatbot { width: min(860px, 100%); height: min(850px, calc(100vh - 56px)); min-height: 620px; display: grid; grid-template-rows: auto 1fr auto auto; overflow: hidden; border: 1px solid var(--line); border-top: 5px solid var(--green); border-radius: 24px; background: var(--surface); box-shadow: 0 24px 70px rgba(0, 70, 38, .12); }
.hero { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding: 22px 26px; color: var(--ink); background: var(--surface); border-bottom: 1px solid var(--line); }
.brand-lockup { min-width: 74px; display: grid; justify-items: center; padding-left: 18px; border-left: 1px solid var(--line); color: var(--green); }
.brand-wordmark { font-size: 28px; font-weight: 900; line-height: 1; letter-spacing: -.04em; }
.brand-caption { margin-top: 4px; font-size: 9px; font-weight: 700; letter-spacing: .22em; direction: ltr; }
.hero-copy { min-width: 0; }
h1 { margin: 0; color: var(--green); font-size: clamp(21px, 4vw, 29px); font-weight: 800; }
.hero-copy > p:last-child { margin: 5px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.runtime-badge { align-self: start; border: 1px solid rgba(0,103,56,.2); border-radius: 999px; padding: 7px 11px; color: var(--green); background: #f1f8ef; font-size: 11px; white-space: nowrap; }
.messages { display: flex; flex-direction: column; gap: 13px; overflow-y: auto; padding: 24px; }
.message { max-width: 82%; padding: 12px 15px; border-radius: 16px; line-height: 1.9; font-size: 15px; overflow-wrap: anywhere; }
.message p { margin: 0; }
.assistant { align-self: flex-start; border: 1px solid var(--line); border-bottom-right-radius: 5px; background: var(--surface-soft); }
.customer { align-self: flex-end; border-bottom-left-radius: 5px; background: var(--green); color: white; }
.section-handoff, .section-safe_limit { padding-right: 11px; border-right: 3px solid var(--orange); }
.next-action { margin-top: 10px !important; padding-top: 9px; border-top: 1px solid rgba(23,59,45,.16); color: #4d6157; font-size: 12px; }
.product-list { display: grid; gap: 10px; margin: 13px 0 0; padding: 0; list-style: none; }
.product-card { position: relative; display: grid; gap: 6px; overflow: hidden; padding: 14px 16px 14px 22px; border: 1px solid #dfe7df; border-radius: 12px; background: var(--surface); box-shadow: 0 5px 16px rgba(0,103,56,.07); }
.product-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: var(--green-bright); }
.product-card a, .product-card strong { color: var(--green); font-weight: 800; text-decoration: none; }
.product-card a:hover { text-decoration: underline; text-decoration-color: var(--green-bright); text-underline-offset: 4px; }
.product-card p { color: var(--muted); font-size: 12px; }
.basket-closing { margin-top: 12px !important; }
.basket-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.basket-actions button, .basket-selection button { border: 1px solid rgba(0,103,56,.32); border-radius: 999px; padding: 8px 12px; background: #f8fbf7; color: var(--green); cursor: pointer; }
.basket-selection { display: grid; gap: 7px; margin-top: 10px; }
.basket-selection[hidden] { display: none; }
.basket-selection label { display: flex; align-items: center; gap: 7px; }
.suggestions { display: flex; gap: 8px; overflow-x: auto; padding: 0 22px 15px; }
.suggestions button { flex: 0 0 auto; border: 1px solid rgba(0,103,56,.32); border-radius: 999px; padding: 8px 12px; background: #f8fbf7; color: var(--green); cursor: pointer; }
.suggestions button:hover { border-color: var(--green); background: #eff7ec; }
.composer { padding: 16px 20px 17px; border-top: 1px solid var(--line); background: var(--surface); }
.composer label { display: block; margin-bottom: 7px; color: #4f6259; font-size: 13px; }
.input-row { display: grid; grid-template-columns: 1fr auto; gap: 9px; align-items: end; }
textarea { min-height: 48px; max-height: 150px; resize: vertical; border: 1px solid #cfd8cf; border-radius: 12px; padding: 11px 13px; color: var(--ink); background: #fbfcfb; line-height: 1.6; }
textarea:focus, button:focus-visible, a:focus-visible { outline: 3px solid rgba(140,198,63,.35); outline-offset: 2px; }
.send { min-height: 48px; border: 0; border-radius: 13px; padding: 0 21px; background: var(--green); color: white; cursor: pointer; }
.send:hover { background: #00542e; }
button:disabled { opacity: .55; cursor: wait; }
.composer-meta { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-top: 8px; }
.status { margin: 0; color: var(--muted); font-size: 12px; }
.status.error { color: var(--danger); }
.reset { border: 0; padding: 3px; background: transparent; color: var(--green); font-size: 12px; cursor: pointer; }

@media (max-width: 560px) {
  .page-shell { padding: 0; }
  .chatbot { width: 100%; height: 100vh; min-height: 100vh; border: 0; border-radius: 0; }
  .hero { grid-template-columns: auto 1fr; padding: 16px; }
  .runtime-badge { display: none; }
  .messages { padding: 16px; }
  .message { max-width: 93%; }
  .suggestions { padding: 0 16px 13px; }
  .composer { padding: 13px; }
  .send { padding: 0 17px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
