/* Ask Bobs: Zimbo's chat widget styles. All selectors are scoped under .zima-root.
   Palette and type follow the live zimbosoakflooring.co.za site: black header, Zimbo's green
   (#92BE53) with dark type on it, as the site's own buttons do, and Roboto. Every text pair
   below meets AAA contrast. The brand green is never used for text on white (2.2:1); the deep
   green (#365314, 8.7:1) is. */

.zima-root {
  --zima-dark: #141414;          /* Zimbo's black */
  --zima-header: #0E0E0E;        /* header black */
  --zima-blue: #365314;          /* deep green: labels and text accents on white */
  --zima-primary: #365314;       /* deep green: links */
  --zima-sky: #5D8A2A;           /* mid green: focus rings and hover borders (4.1:1 on white) */
  --zima-leaf: #92BE53;          /* Zimbo's green: fills with dark type on them */
  --zima-leaf-hover: #A3CB69;
  --zima-border: #D6D9D2;        /* light type on black */
  --zima-tint: #F4F5F1;          /* warm light grey */
  --zima-text: #1A1A1A;
  --zima-ink: #1A1A1A;
  --zima-muted: #4B5049;         /* 7.5:1 on the tint, 8.3:1 on white */
  --zima-faint: #8A9085;
  --zima-line: #E2E5DE;
  --zima-alert: #DC2626;
  --zima-alert-ink: #991B1B;
  --zima-grad: linear-gradient(90deg, #0E0E0E 0%, #1B220F 62%, #2B3D15 100%);
  --zima-font: Roboto, system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --zima-head: Roboto, system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --zima-ease: cubic-bezier(.2, .8, .2, 1);
  --zima-ring: 0 0 0 3px rgba(93, 138, 42, .4);
}

/* ---------- Reset (defend against theme and Elementor globals) ---------- */
.zima-root,
.zima-root *,
.zima-root *::before,
.zima-root *::after {
  box-sizing: border-box;
}
.zima-root * {
  font-family: var(--zima-font);
  letter-spacing: normal;
  text-transform: none;
  text-shadow: none;
  word-spacing: normal;
}
.zima-root p,
.zima-root h2,
.zima-root h3,
.zima-root ul,
.zima-root ol,
.zima-root li,
.zima-root form,
.zima-root label {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  font-weight: inherit;
}
.zima-root button,
.zima-root input,
.zima-root textarea {
  margin: 0;
  padding: 0;
  border-radius: 0;
  max-width: none;
  font: inherit;
  font-family: var(--zima-font);
  color: inherit;
  text-transform: none;
  letter-spacing: normal;
  box-shadow: none;
  min-height: 0;
  min-width: 0;
  width: auto;
  height: auto;
  line-height: inherit;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.zima-root button {
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
  white-space: normal;
}
.zima-root button:hover,
.zima-root button:focus {
  background-color: transparent;
  color: inherit;
}
.zima-root a {
  text-decoration: none;
  box-shadow: none;
  border: 0;
}
.zima-root img {
  max-width: none;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}
.zima-root [hidden] { display: none !important; }

.zima-root .zima-sr {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.zima-root .zima-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  line-height: 0;
}
.zima-root .zima-icon svg { display: block; }

/* Green focus ring on every control */
.zima-root a:focus-visible,
.zima-root button:focus-visible,
.zima-root input:focus-visible,
.zima-root textarea:focus-visible,
.zima-root .zima-log:focus-visible {
  outline: 2px solid var(--zima-sky);
  outline-offset: 2px;
}

/* ---------- Launcher ---------- */
.zima-root .zima-launcher {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 99990;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 52px;
  padding: 0 22px 0 18px;
  border-radius: 999px;
  background: var(--zima-grad);
  background-size: 100% 100%;
  background-position: 0% 50%;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 10px 28px -8px rgba(20, 20, 20, .55), 0 2px 6px rgba(20, 20, 20, .18), inset 0 1px 0 rgba(255, 255, 255, .22);
  opacity: 0;
  transform: translateY(16px) scale(.96);
  transition: background-position .5s var(--zima-ease), box-shadow .25s ease, transform .25s var(--zima-ease), padding .25s var(--zima-ease), width .25s var(--zima-ease);
}
.zima-root.zima-ready .zima-launcher {
  opacity: 1;
  transform: none;
  animation: zima-rise .6s var(--zima-ease) .5s backwards;
}
.zima-root .zima-launcher:hover {
  background: var(--zima-grad);
  background-size: 100% 100%;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -8px rgba(20, 20, 20, .6), 0 3px 8px rgba(20, 20, 20, .2), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.zima-root .zima-launcher:focus { background: var(--zima-grad); background-size: 100% 100%; color: #fff; }
.zima-root .zima-launcher:focus-visible { outline: 0; box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--zima-sky), 0 10px 28px -8px rgba(20, 20, 20, .55); }
.zima-root .zima-launcher:active { transform: scale(.97); }
.zima-root .zima-launcher-spark svg { width: 20px; height: 20px; }
.zima-root .zima-launcher-spark { animation: zima-twinkle 4.5s ease-in-out 1.4s infinite; }
.zima-root .zima-launcher-close { display: none; }
.zima-root .zima-launcher-label { font-size: 15px; font-weight: 600; color: #fff; line-height: 1; }

/* Launcher when the panel is open: compact round close control */
.zima-root.zima-is-open .zima-launcher {
  width: 52px;
  padding: 0;
  justify-content: center;
  background: var(--zima-dark);
}
.zima-root.zima-is-open .zima-launcher:hover,
.zima-root.zima-is-open .zima-launcher:focus { background: var(--zima-header); }
.zima-root.zima-is-open .zima-launcher-label,
.zima-root.zima-is-open .zima-launcher-spark { display: none; }
.zima-root.zima-is-open .zima-launcher-close { display: inline-flex; }

@keyframes zima-rise {
  from { opacity: 0; transform: translateY(16px) scale(.96); }
  to { opacity: 1; transform: none; }
}
@keyframes zima-twinkle {
  0%, 86%, 100% { transform: rotate(0) scale(1); }
  92% { transform: rotate(18deg) scale(1.15); }
}

/* ---------- Panel ---------- */
.zima-root .zima-panel {
  position: fixed;
  right: 24px;
  bottom: 92px;
  z-index: 99991;
  display: flex;
  flex-direction: column;
  width: var(--zima-width, 440px);
  max-width: calc(100vw - 32px);
  height: var(--zima-height, 700px);
  max-height: calc(100vh - 112px);
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  color: var(--zima-text);
  font-family: var(--zima-font);
  font-size: 16px;
  line-height: 1.6;
  text-align: left;
  box-shadow: 0 30px 70px -20px rgba(20, 20, 20, .45), 0 10px 24px -12px rgba(20, 20, 20, .25), 0 0 0 1px rgba(20, 20, 20, .06);
  visibility: hidden;
  opacity: 0;
  transform: translateY(14px) scale(.985);
  transform-origin: bottom right;
  transition: opacity .22s ease, transform .28s var(--zima-ease), visibility 0s linear .28s;
}
.zima-root.zima-is-open .zima-panel {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity .22s ease, transform .28s var(--zima-ease), visibility 0s;
}

/* Header */
.zima-root .zima-header {
  position: relative;
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 12px 16px 18px;
  background:
    radial-gradient(130% 170% at 100% 0%, rgba(146, 190, 83, .34) 0%, rgba(146, 190, 83, 0) 48%),
    radial-gradient(90% 140% at 0% 100%, rgba(54, 83, 20, .6) 0%, rgba(54, 83, 20, 0) 62%),
    var(--zima-header);
  color: #fff;
}
.zima-root .zima-header--nologo { padding-top: 16px; padding-bottom: 16px; }
.zima-root .zima-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--zima-grad);
  opacity: .9;
}
.zima-root .zima-htop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 34px;
}
.zima-root .zima-brand {
  display: flex;
  align-items: center;
  min-width: 0;
}
.zima-root .zima-logo {
  display: block;
  height: 22px;
  width: auto;
  max-width: 200px;
  flex: none;
}
.zima-root .zima-titles { min-width: 0; padding-right: 8px; }
.zima-root .zima-title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.01em;
  color: #fff;
}
.zima-root .zima-title-spark { color: var(--zima-sky); }
.zima-root .zima-title-spark svg { width: 17px; height: 17px; }
.zima-root .zima-subtitle {
  margin-top: 3px;
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--zima-border);
}
.zima-root .zima-hactions {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: none;
}
.zima-root .zima-hbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 34px;
  min-width: 34px;
  padding: 0 8px;
  border-radius: 10px;
  color: var(--zima-border);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.zima-root .zima-hbtn:hover,
.zima-root .zima-hbtn:focus-visible {
  background-color: rgba(255, 255, 255, .1);
  color: #fff;
}
.zima-root .zima-newchat {
  height: 30px;
  padding: 0 11px 0 9px;
  margin-right: 4px;
  border: 1px solid rgba(214, 217, 210, .55);
  border-radius: 999px;
}
.zima-root .zima-newchat:hover { border-color: rgba(255, 255, 255, .5); }

/* Scroll area */
.zima-root .zima-scroll {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background:
    radial-gradient(140% 60% at 50% 0%, rgba(244, 246, 249, .9) 0%, rgba(255, 255, 255, 0) 70%),
    #fff;
  scrollbar-width: thin;
  scrollbar-color: #C9CDC4 transparent;
}
.zima-root .zima-scroll::-webkit-scrollbar { width: 8px; }
.zima-root .zima-scroll::-webkit-scrollbar-thumb { background: #C9CDC4; border-radius: 8px; border: 2px solid #fff; }
.zima-root .zima-log {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px 18px 18px;
  outline: none;
}

/* Empty state */
.zima-root .zima-empty {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.zima-root .zima-starters-label {
  margin: 6px 0 -4px 2px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--zima-blue);
}
.zima-root .zima-starters {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 2px;
}
.zima-root .zima-starter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--zima-line);
  border-radius: 12px;
  background: #fff;
  color: var(--zima-dark);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  text-align: left;
  transition: border-color .15s ease, background-color .15s ease, transform .15s var(--zima-ease), box-shadow .15s ease;
}
.zima-root .zima-starter:hover,
.zima-root .zima-starter:focus-visible {
  border-color: var(--zima-sky);
  background-color: #fff;
  color: var(--zima-dark);
  box-shadow: 0 6px 16px -10px rgba(20, 20, 20, .45);
  transform: translateY(-1px);
}
.zima-root .zima-starter-arrow { color: var(--zima-primary); opacity: .55; transition: opacity .15s ease, transform .15s var(--zima-ease); }
.zima-root .zima-starter:hover .zima-starter-arrow { opacity: 1; transform: translateX(2px); }

/* Messages */
.zima-root .zima-msg {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 100%;
  animation: zima-in .28s var(--zima-ease) both;
}
.zima-root .zima-msg--user { align-items: flex-end; }
.zima-root .zima-bubble {
  position: relative;
  max-width: 90%;
  padding: 11px 15px;
  border-radius: 16px;
  overflow-wrap: anywhere;
  word-break: normal;
}
.zima-root .zima-msg--user .zima-bubble {
  max-width: 84%;
  background: var(--zima-dark);
  color: #fff;
  border-bottom-right-radius: 6px;
  white-space: pre-wrap;
  box-shadow: 0 6px 16px -10px rgba(20, 20, 20, .7);
}
.zima-root .zima-msg--assistant .zima-bubble {
  background: var(--zima-tint);
  color: var(--zima-ink);
  border-bottom-left-radius: 6px;
}
.zima-root .zima-msg--error .zima-bubble {
  background: #FFF7ED;
  color: #92400E;
  box-shadow: inset 3px 0 0 #D97706;
}
.zima-root .zima-msg--confirm .zima-bubble {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: linear-gradient(135deg, rgba(146, 190, 83, .14), rgba(54, 83, 20, .08));
  box-shadow: inset 0 0 0 1px rgba(146, 190, 83, .4);
}
.zima-root .zima-confirm-icon {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--zima-sky);
  color: #fff;
  margin-top: 1px;
}
.zima-root .zima-confirm-icon svg { width: 15px; height: 15px; }

@keyframes zima-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

/* Markdown inside assistant bubbles */
.zima-root .zima-bubble p + p,
.zima-root .zima-bubble p + .zima-md-list,
.zima-root .zima-bubble .zima-md-list + p,
.zima-root .zima-bubble .zima-md-list + .zima-md-list { margin-top: 9px; }
.zima-root .zima-bubble strong { font-weight: 650; color: var(--zima-dark); }
.zima-root .zima-title,
.zima-root .zima-md-h,
.zima-root .zima-btn,
.zima-root .zima-launcher-label,
.zima-root .zima-card-title { font-family: var(--zima-head); font-weight: 700; }
.zima-root .zima-msg--user .zima-bubble strong { color: #fff; }
.zima-root .zima-md-h { font-weight: 650; color: var(--zima-dark); }
.zima-root .zima-md-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.zima-root .zima-md-list li {
  position: relative;
  padding-left: 18px;
  margin: 0;
  list-style: none;
}
.zima-root .zima-md-list li + li { margin-top: 5px; }
.zima-root .zima-md-list li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: .62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--zima-sky);
}
.zima-root .zima-md-ol { counter-reset: zima-ol; }
.zima-root .zima-md-ol li { counter-increment: zima-ol; padding-left: 22px; }
.zima-root .zima-md-ol li::before {
  content: counter(zima-ol) ".";
  top: 0;
  left: 0;
  width: auto;
  height: auto;
  background: none;
  border-radius: 0;
  font-weight: 650;
  color: var(--zima-primary);
}
.zima-root .zima-link {
  color: var(--zima-primary);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgba(54, 83, 20, .35);
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
  transition: text-decoration-color .15s ease, color .15s ease;
}
.zima-root .zima-link:hover { color: var(--zima-dark); text-decoration-color: var(--zima-sky); }
.zima-root .zima-msg--error .zima-link { color: #92400E; }

/* Page cards */
.zima-root .zima-cards-label {
  margin: 12px 0 6px 2px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--zima-blue);
}
.zima-root .zima-cards {
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 90%;
}
.zima-root .zima-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px 11px 14px;
  border: 1px solid var(--zima-line);
  border-radius: 12px;
  background: #fff;
  color: var(--zima-ink);
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(20, 20, 20, .04);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s var(--zima-ease);
}
.zima-root .zima-card:hover,
.zima-root .zima-card:focus-visible {
  border-color: var(--zima-sky);
  box-shadow: 0 8px 20px -12px rgba(20, 20, 20, .45);
  transform: translateY(-1px);
  color: var(--zima-ink);
}
.zima-root .zima-card-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1 1 auto;
}
.zima-root .zima-card-title {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--zima-dark);
}
.zima-root .zima-card-why {
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--zima-muted);
}
.zima-root .zima-card-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--zima-tint);
  color: var(--zima-primary);
  transition: background .15s ease, color .15s ease, transform .15s var(--zima-ease);
}
.zima-root .zima-card:hover .zima-card-arrow,
.zima-root .zima-card:focus-visible .zima-card-arrow {
  background: var(--zima-grad);
  color: #fff;
  transform: translateX(2px);
}

/* CTA row and buttons */
.zima-root .zima-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}
.zima-root .zima-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  transition: background-position .4s var(--zima-ease), box-shadow .2s ease, border-color .15s ease, color .15s ease, transform .15s var(--zima-ease);
}
.zima-root .zima-btn--primary,
.zima-root .zima-btn--primary:focus,
.zima-root button.zima-btn--primary:hover {
  background: var(--zima-grad);
  background-size: 100% 100%;
  background-position: 0% 50%;
  color: #fff;
  box-shadow: 0 8px 18px -10px rgba(54, 83, 20, .8);
}
.zima-root .zima-btn--primary:hover,
.zima-root button.zima-btn--primary:hover {
  color: #fff;
  filter: saturate(1.12) brightness(1.03);
  box-shadow: 0 10px 22px -10px rgba(54, 83, 20, .9);
}
.zima-root .zima-btn--primary[disabled] { opacity: .7; cursor: progress; }
.zima-root .zima-btn--ghost {
  border: 1px solid var(--zima-line);
  background: #fff;
  color: var(--zima-primary);
}
.zima-root .zima-btn--ghost:hover,
.zima-root .zima-btn--ghost:focus-visible {
  border-color: var(--zima-primary);
  background: #fff;
  color: var(--zima-primary);
}
.zima-root .zima-btn--text {
  height: 40px;
  padding: 0 12px;
  color: var(--zima-muted);
  font-weight: 500;
}
.zima-root .zima-btn--text:hover { color: var(--zima-dark); }

/* Suggestions */
.zima-root .zima-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: -2px;
  animation: zima-in .3s var(--zima-ease) .08s both;
}
.zima-root .zima-chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid #E2E5DE;
  border-radius: 999px;
  background: #fff;
  color: var(--zima-primary);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.3;
  text-align: left;
  transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
.zima-root .zima-chip:hover,
.zima-root .zima-chip:focus-visible {
  border-color: var(--zima-sky);
  background-color: #EEF5E3;
  color: var(--zima-dark);
}

/* Typing indicator */
.zima-root .zima-typing .zima-bubble {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 14px 16px;
}
.zima-root .zima-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--zima-primary);
  opacity: .35;
  animation: zima-bounce 1.2s ease-in-out infinite;
}
.zima-root .zima-dot:nth-child(3) { animation-delay: .15s; }
.zima-root .zima-dot:nth-child(4) { animation-delay: .3s; }
@keyframes zima-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: .35; }
  30% { transform: translateY(-4px); opacity: .9; }
}

/* ---------- Lead form ---------- */
.zima-root .zima-lead {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 16px 16px;
  border: 1px solid var(--zima-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 30px -20px rgba(20, 20, 20, .5);
  animation: zima-in .3s var(--zima-ease) both;
  position: relative;
  overflow: hidden;
}
.zima-root .zima-lead::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--zima-grad);
}
.zima-root .zima-lead-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--zima-dark);
}
.zima-root .zima-lead-intro {
  margin-top: 2px;
  font-size: 12.5px;
  color: var(--zima-muted);
}
.zima-root .zima-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.zima-root .zima-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1 1 100%;
  min-width: 0;
}
.zima-root .zima-field--half { flex: 1 1 calc(50% - 5px); }
.zima-root .zima-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--zima-dark);
}
.zima-root .zima-req { color: var(--zima-primary); }
.zima-root .zima-field-input {
  display: block;
  width: 100%;
  height: 38px;
  padding: 8px 11px;
  border: 1px solid var(--zima-line);
  border-radius: 10px;
  background: var(--zima-tint);
  color: var(--zima-ink);
  font-size: 14px;
  line-height: 1.4;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.zima-root textarea.zima-field-input {
  height: auto;
  min-height: 70px;
  resize: vertical;
}
.zima-root .zima-field-input:hover { border-color: var(--zima-sky); }
.zima-root .zima-field-input:focus,
.zima-root .zima-field-input:focus-visible {
  outline: 0;
  border-color: var(--zima-sky);
  background: #fff;
  box-shadow: var(--zima-ring);
}
.zima-root .zima-field-input[aria-invalid="true"] { border-color: var(--zima-alert); }
.zima-root .zima-field-error {
  font-size: 12px;
  line-height: 1.3;
  color: var(--zima-alert-ink);
}
.zima-root .zima-field-error:empty { display: none; }
.zima-root .zima-consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 4px 10px;
  align-items: start;
}
.zima-root .zima-check {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border: 1.5px solid #9AA095;
  border-radius: 5px;
  background: #fff;
  cursor: pointer;
  display: inline-grid;
  place-content: center;
  transition: background-color .15s ease, border-color .15s ease;
}
.zima-root .zima-check::after {
  content: "";
  width: 9px;
  height: 5px;
  border: 2px solid #fff;
  border-top: 0;
  border-right: 0;
  transform: rotate(-45deg) translate(1px, -1px);
  opacity: 0;
}
.zima-root .zima-check:checked { background: var(--zima-primary); border-color: var(--zima-primary); }
.zima-root .zima-check:checked::after { opacity: 1; }
.zima-root .zima-check[aria-invalid="true"] { border-color: var(--zima-alert); }
.zima-root .zima-check:focus-visible { outline: 2px solid var(--zima-sky); outline-offset: 2px; }
.zima-root .zima-consent-label {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--zima-text);
  cursor: pointer;
}
.zima-root .zima-consent .zima-field-error { grid-column: 2; }
.zima-root .zima-hp {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.zima-root .zima-lead-status:empty { display: none; }
.zima-root .zima-lead-status--error {
  padding: 10px 12px;
  border-radius: 10px;
  background: #FEF2F2;
  color: #B91C1C;
  font-size: 13px;
  line-height: 1.45;
}
.zima-root .zima-lead-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ---------- Footer / composer ---------- */
.zima-root .zima-footer {
  flex: none;
  padding: 12px 14px 10px;
  border-top: 1px solid var(--zima-line);
  background: #fff;
}
.zima-root .zima-composer { position: relative; }
.zima-root .zima-inputwrap {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 6px 6px 6px 14px;
  border: 1px solid var(--zima-line);
  border-radius: 16px;
  background: var(--zima-tint);
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.zima-root .zima-inputwrap:focus-within {
  border-color: var(--zima-sky);
  background: #fff;
  box-shadow: var(--zima-ring);
}
.zima-root .zima-input {
  display: block;
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  height: 22px;
  max-height: 120px;
  padding: 7px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--zima-ink);
  font-size: 14.5px;
  line-height: 22px;
  resize: none;
  overflow-y: hidden;
  box-sizing: content-box;
}
.zima-root .zima-input:focus,
.zima-root .zima-input:focus-visible { outline: 0; border: 0; box-shadow: none; background: transparent; }
.zima-root .zima-input::placeholder { color: #6B7166; opacity: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zima-root .zima-send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--zima-blue);
  color: #fff;
  box-shadow: 0 6px 14px -8px rgba(54, 83, 20, .9);
  transition: opacity .15s ease, transform .15s var(--zima-ease), filter .15s ease;
}
.zima-root .zima-send:hover,
.zima-root .zima-send:focus { background: var(--zima-grad); color: #fff; }
.zima-root .zima-send:hover:not([disabled]) { transform: translateY(-1px); filter: saturate(1.15); }
.zima-root .zima-send[disabled] {
  background: #E7E9E3;
  color: #6B7166;
  box-shadow: none;
  cursor: default;
  opacity: 1;
}
.zima-root .zima-busy .zima-send[disabled] { cursor: progress; }
.zima-root .zima-counter {
  display: none;
  position: absolute;
  right: 54px;
  top: -20px;
  padding: 1px 7px;
  border-radius: 999px;
  background: #fff;
  font-size: 11px;
  font-weight: 500;
  line-height: 16px;
  color: var(--zima-muted);
  font-variant-numeric: tabular-nums;
}
.zima-root .zima-counter--show { display: block; }
.zima-root .zima-counter--max { color: var(--zima-alert-ink); }
.zima-root .zima-note {
  margin-top: 8px;
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--zima-muted);
  text-align: center;
}
.zima-root .zima-note .zima-link { font-weight: 500; color: var(--zima-primary); }
.zima-root .zima-notebtn { all: unset; cursor: pointer; font: inherit; font-weight: 600; color: var(--zima-primary); text-decoration: underline; text-underline-offset: 2px; }
.zima-root .zima-notebtn:hover { color: var(--zima-dark, #141414); }
.zima-root .zima-notebtn:focus-visible { outline: 2px solid #5D8A2A; outline-offset: 2px; border-radius: 3px; }

/* ---------- Mobile ---------- */
@media (max-width: 599.98px) {
  .zima-root .zima-launcher {
    right: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;
    padding: 0;
    justify-content: center;
  }
  .zima-root .zima-launcher-label { display: none; }
  .zima-root .zima-launcher-spark svg { width: 24px; height: 24px; }
  .zima-root.zima-is-open .zima-launcher { display: none; }

  .zima-root .zima-panel {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    height: 100dvh;
    max-height: none;
    border-radius: 0;
    transform: translateY(24px);
    transform-origin: bottom center;
  }
  .zima-root .zima-header {
    gap: 10px;
    padding: 10px 8px 14px 16px;
    padding-top: calc(10px + env(safe-area-inset-top, 0px));
  }
  .zima-root .zima-close { width: 44px; height: 44px; }
  .zima-root .zima-newchat { height: 32px; }
  .zima-root .zima-log { padding: 18px 14px 16px; }
  .zima-root .zima-footer { padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); }
  .zima-root .zima-panel { font-size: 17px; }
  .zima-root .zima-input { font-size: 17px; }
  .zima-root .zima-field--half { flex-basis: 100%; }   /* never side by side on mobile */
  .zima-root .zima-field-input {
    font-size: 17px;
    height: 54px;
    padding: 12px 14px;
  }
  .zima-root textarea.zima-field-input { height: auto; min-height: 96px; }
  .zima-root .zima-label { font-size: 13px; }
  .zima-root .zima-consent-label { font-size: 15px; }
  .zima-root .zima-check { width: 22px; height: 22px; }
  .zima-root .zima-consent { grid-template-columns: 24px 1fr; }
  .zima-root .zima-cards { width: 100%; }
  .zima-root .zima-bubble { max-width: 94%; }
}
@media (max-width: 380px) {
  .zima-root .zima-field--half { flex-basis: 100%; }
  .zima-root .zima-logo { max-width: 150px; }
}
html.zima-lock,
html.zima-lock body {
  overflow: hidden !important;
}

/* Short desktop viewports */
@media (min-width: 600px) and (max-height: 520px) {
  .zima-root .zima-panel { bottom: 84px; max-height: calc(100vh - 100px); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .zima-root *,
  .zima-root *::before,
  .zima-root *::after {
    animation-duration: .001ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
  .zima-root .zima-launcher { opacity: 1; transform: none; }
  .zima-root .zima-launcher-spark { animation: none !important; }
}

/* ---------- Print ---------- */
@media print {
  .zima-root { display: none !important; }
}


/* ---------- Design pass: avatar, WhatsApp, feedback, cards ---------- */

/* Bobs gets a face: an initial in a Zimbo's green disc, in the header and on the launcher. */
.zima-root .zima-avatar {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-grid;
  place-content: center;
  background: var(--zima-leaf);
  color: var(--zima-dark);
  font-family: var(--zima-head);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .14), 0 8px 18px -10px rgba(0, 0, 0, .6);
}
.zima-root .zima-brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.zima-root .zima-title { font-size: 19px; line-height: 1.15; letter-spacing: -.01em; }
.zima-root .zima-title .zima-title-spark { display: none; }
.zima-root .zima-subtitle { display: flex; align-items: center; gap: 7px; font-size: 13px; opacity: .92; }
.zima-root .zima-subtitle::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, .22);
  flex: none;
}
.zima-root .zima-launcher-avatar {
  width: 30px; height: 30px; font-size: 14px;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .25);
  margin-left: -6px;
}
.zima-root.zima-is-open .zima-launcher-avatar { display: none; }

/* WhatsApp: filled in WhatsApp green with black type, AAA against the green. */
.zima-root .zima-btn--wa {
  background: #25D366;
  color: #141414;
  border: 0;
}
.zima-root .zima-btn--wa:hover,
.zima-root .zima-btn--wa:focus-visible { background: #1EBE5A; color: #141414; transform: translateY(-1px); }
.zima-root .zima-btn--wa .zima-icon { color: #141414; }
.zima-root .zima-notebtn--wa {
  display: inline;
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.zima-root .zima-notebtn--wa .zima-icon { display: inline-block; vertical-align: -3px; margin-right: 3px; color: #128C7E; }
.zima-root .zima-notebtn--wa .zima-icon svg { width: 14px; height: 14px; }

/* Was this helpful? Quiet, right-aligned, out of the way until it is wanted. */
.zima-root .zima-feedback {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  margin: -2px 2px 0 0;
  font-size: 12.5px;
  color: var(--zima-muted);
}
.zima-root .zima-feedback-label { margin-right: 4px; }
.zima-root .zima-thumb {
  all: unset;
  cursor: pointer;
  display: inline-grid;
  place-content: center;
  width: 28px; height: 28px;
  border-radius: 8px;
  color: var(--zima-muted);
  transition: background-color .15s ease, color .15s ease, transform .15s var(--zima-ease);
}
.zima-root .zima-thumb:hover { background: var(--zima-tint); color: var(--zima-blue); transform: translateY(-1px); }
.zima-root .zima-thumb:focus-visible { outline: 0; box-shadow: var(--zima-ring); }
.zima-root .zima-feedback-thanks { font-size: 12.5px; color: var(--zima-muted); }

/* Related page cards: a green accent bar and a lift on hover. */
.zima-root .zima-card {
  position: relative;
  overflow: hidden;
  transition: border-color .15s ease, box-shadow .2s ease, transform .18s var(--zima-ease);
}
.zima-root .zima-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--zima-grad);
  opacity: 0;
  transition: opacity .15s ease;
}
.zima-root .zima-card:hover,
.zima-root .zima-card:focus-visible {
  border-color: var(--zima-sky);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px -16px rgba(20, 20, 20, .5);
}
.zima-root .zima-card:hover::before,
.zima-root .zima-card:focus-visible::before { opacity: 1; }

/* The site's own Click to Chat WhatsApp bubble shares the bottom edge; hide it while the panel is open. */
html.zima-open .ht-ctc,
html.zima-open .ht-ctc-chat { display: none !important; }

@media (max-width: 599.98px) {
  .zima-root .zima-avatar { width: 36px; height: 36px; font-size: 16px; }
  .zima-root .zima-feedback { font-size: 13px; }
  .zima-root .zima-thumb { width: 34px; height: 34px; }
}

/* The avatar replaces the sparkle on the launcher. */
.zima-root .zima-launcher .zima-launcher-spark { display: none; }
.zima-root .zima-launcher { padding-left: 12px; }
@media (max-width: 599.98px) {
  .zima-root .zima-launcher .zima-launcher-avatar { margin: 0; width: 32px; height: 32px; font-size: 15px; }
}
.zima-root .zima-launcher .zima-launcher-avatar {
  background: #fff;
  color: var(--zima-blue);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .35);
}


/* ---------- Corner: the default is bottom left (zima-root--left) ---------- */
.zima-root.zima-root--left .zima-launcher { right: auto; left: 24px; }
.zima-root.zima-root--left .zima-panel { right: auto; left: 24px; transform-origin: bottom left; }
@media (max-width: 599.98px) {
  .zima-root.zima-root--left .zima-launcher { right: auto; left: 16px; }
  .zima-root.zima-root--left .zima-panel { left: 0; }
}

/* ---------- Quote wizard ---------- */
.zima-root .zima-quote {
  border: 1px solid var(--zima-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 34px -24px rgba(20, 20, 20, .45);
  overflow: hidden;
}
.zima-root .zima-quote-head { padding: 12px 14px 0; }
.zima-root .zima-quote-top { display: flex; align-items: center; gap: 10px; }
.zima-root .zima-quote-eyebrow {
  font-family: var(--zima-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--zima-blue);
}
.zima-root .zima-quote-count { margin-left: auto; font-size: 12.5px; color: var(--zima-muted); white-space: nowrap; }
.zima-root .zima-quote-close { width: 30px; height: 30px; color: var(--zima-muted); background: transparent; border: 0; border-radius: 8px; display: inline-grid; place-content: center; cursor: pointer; }
.zima-root .zima-quote-close:hover { background: var(--zima-tint); color: var(--zima-dark); }
.zima-root .zima-quote-bar { height: 4px; margin: 10px 0 0; border-radius: 999px; background: var(--zima-tint); overflow: hidden; }
.zima-root .zima-quote-bar span { display: block; height: 100%; background: var(--zima-grad); border-radius: 999px; transition: width .35s var(--zima-ease); }
.zima-root .zima-quote-crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.zima-root .zima-crumb {
  all: unset;
  cursor: pointer;
  font-size: 12.5px;
  line-height: 1;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--zima-tint);
  color: var(--zima-dark);
  border: 1px solid transparent;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.zima-root .zima-crumb:hover,
.zima-root .zima-crumb:focus-visible { border-color: var(--zima-sky); color: var(--zima-blue); }
.zima-root .zima-quote-body { padding: 14px 14px 6px; }
.zima-root .zima-quote-q {
  font-family: var(--zima-head);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.3;
  color: var(--zima-dark);
  margin: 0 0 4px;
}
.zima-root .zima-quote-desc { font-size: 14px; color: var(--zima-muted); margin: 0 0 10px; line-height: 1.5; }
.zima-root .zima-quote-controls { margin-top: 10px; }
.zima-root .zima-opts { display: grid; grid-template-columns: 1fr; gap: 8px; }
.zima-root .zima-opt {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 46px;
  padding: 10px 12px 10px 14px;
  border: 1px solid var(--zima-line);
  border-radius: 12px;
  background: #fff;
  color: var(--zima-dark);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  transition: border-color .15s ease, background-color .15s ease, transform .15s var(--zima-ease);
}
.zima-root .zima-opt span:first-child { flex: 1 1 auto; }
.zima-root .zima-opt .zima-opt-arrow { color: var(--zima-sky); opacity: 0; transition: opacity .15s ease, transform .15s var(--zima-ease); }
.zima-root .zima-opt:hover,
.zima-root .zima-opt:focus-visible { border-color: var(--zima-sky); background: #F7F9F3; transform: translateY(-1px); }
.zima-root .zima-opt:hover .zima-opt-arrow,
.zima-root .zima-opt:focus-visible .zima-opt-arrow { opacity: 1; transform: translateX(2px); }
.zima-root .zima-opt:focus-visible { box-shadow: var(--zima-ring); }
.zima-root .zima-opt--on { border-color: var(--zima-blue); background: #EEF5E3; }
.zima-root .zima-opt--on .zima-opt-arrow { opacity: 1; color: var(--zima-blue); }
.zima-root .zima-measure { display: flex; gap: 8px; align-items: stretch; }
.zima-root .zima-measure .zima-field-input { flex: 1 1 auto; height: 46px; font-size: 16px; }
.zima-root textarea.zima-quote-input { height: auto; min-height: 84px; }
.zima-root .zima-units { display: inline-flex; border: 1px solid var(--zima-line); border-radius: 10px; overflow: hidden; background: var(--zima-tint); flex: none; }
.zima-root .zima-unit {
  all: unset;
  cursor: pointer;
  padding: 0 12px;
  display: inline-grid;
  place-content: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--zima-muted);
  min-width: 44px;
  transition: background-color .15s ease, color .15s ease;
}
.zima-root .zima-unit + .zima-unit { border-left: 1px solid var(--zima-line); }
.zima-root .zima-unit--on { background: var(--zima-blue); color: #fff; }
.zima-root .zima-unit:focus-visible { box-shadow: inset 0 0 0 2px var(--zima-sky); }
.zima-root .zima-unit--static { cursor: default; border: 1px solid var(--zima-line); border-radius: 10px; background: var(--zima-tint); }
.zima-root .zima-quote-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.zima-root .zima-quote-back { margin-left: auto; }
.zima-root .zima-quote-foot { padding: 8px 14px 12px; font-size: 12.5px; color: var(--zima-muted); border-top: 1px solid var(--zima-tint); margin-top: 6px; }
.zima-root .zima-quote-form .zima-fields { margin-bottom: 10px; }
.zima-root .zima-starter--quote {
  flex-wrap: wrap;
  background: linear-gradient(135deg, #141414 0%, #365314 100%);
  border-color: transparent;
  color: #fff;
}
.zima-root .zima-starter--quote:hover,
.zima-root .zima-starter--quote:focus-visible { border-color: var(--zima-sky); color: #fff; }
.zima-root .zima-starter--quote .zima-starter-sub { flex-basis: 100%; order: 3; font-size: 12.5px; font-weight: 400; opacity: .85; margin-top: 2px; }
.zima-root .zima-starter--quote .zima-starter-arrow { color: #fff; }
@media (max-width: 599.98px) {
  .zima-root .zima-opt { min-height: 54px; font-size: 17px; }
  .zima-root .zima-measure { flex-wrap: wrap; }
  .zima-root .zima-measure .zima-field-input { height: 54px; font-size: 17px; flex-basis: 100%; }
  .zima-root .zima-units { width: 100%; }
  .zima-root .zima-unit { flex: 1 1 0; height: 48px; }
  .zima-root .zima-quote-q { font-size: 19px; }
}


/* ---------- Phones: close label, page hint, compact header ---------- */
.zima-root .zima-close .zima-close-label { display: none; }
.zima-root .zima-cards-hint { display: none; margin: 6px 0 0; font-size: 12px; color: var(--zima-muted); }
@media (max-width: 599.98px) {
  .zima-root .zima-close { width: auto; padding: 0 12px; gap: 6px; border-radius: 999px; }
  .zima-root .zima-close .zima-close-label { display: inline; font-size: 14px; font-weight: 600; }
  .zima-root .zima-cards-hint { display: block; font-size: 13px; }
  .zima-root .zima-newchat { height: 36px; width: 36px; padding: 0; justify-content: center; border-radius: 50%; }
  .zima-root .zima-newchat span:not(.zima-icon) { display: none; }
  .zima-root .zima-title { font-size: 17px; }
  .zima-root .zima-subtitle { font-size: 12px; }
}


/* ---------- Zimbo's design pass ---------- */
/* Primary actions in Zimbo's green with black type, like the buttons on the site. */
.zima-root .zima-btn--primary,
.zima-root .zima-btn--primary:focus,
.zima-root button.zima-btn--primary:hover,
.zima-root .zima-btn--primary:hover {
  background: var(--zima-leaf);
  color: var(--zima-dark);
  filter: none;
  box-shadow: 0 8px 18px -12px rgba(54, 83, 20, .9);
}
.zima-root .zima-btn--primary:hover,
.zima-root button.zima-btn--primary:hover { background: var(--zima-leaf-hover); color: var(--zima-dark); }
.zima-root .zima-send { background: var(--zima-dark); }
.zima-root .zima-send:hover,
.zima-root .zima-send:focus { background: var(--zima-leaf); color: var(--zima-dark); }
.zima-root .zima-card:hover .zima-card-arrow,
.zima-root .zima-card:focus-visible .zima-card-arrow { background: var(--zima-leaf); color: var(--zima-dark); }
.zima-root .zima-header::after,
.zima-root .zima-lead::before,
.zima-root .zima-card::before,
.zima-root .zima-quote-bar span { background: var(--zima-leaf); }
.zima-root .zima-header {
  background:
    radial-gradient(120% 160% at 100% 0%, rgba(146, 190, 83, .16) 0%, rgba(146, 190, 83, 0) 46%),
    var(--zima-header);
}
.zima-root .zima-subtitle::before { background: var(--zima-leaf); box-shadow: 0 0 0 3px rgba(146, 190, 83, .25); }
.zima-root .zima-md-list li::before { background: var(--zima-leaf); }
.zima-root .zima-confirm-icon { background: var(--zima-leaf); color: var(--zima-dark); }
.zima-root .zima-msg--confirm .zima-bubble { background: #EEF5E3; box-shadow: inset 0 0 0 1px rgba(93, 138, 42, .45); }
.zima-root .zima-launcher .zima-launcher-avatar { background: var(--zima-leaf); color: var(--zima-dark); box-shadow: 0 0 0 2px rgba(146, 190, 83, .3); }
.zima-root .zima-launcher { box-shadow: 0 10px 28px -8px rgba(0, 0, 0, .55), 0 2px 6px rgba(0, 0, 0, .2), inset 0 0 0 1px rgba(146, 190, 83, .28); }
.zima-root .zima-launcher:focus-visible { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--zima-sky), 0 10px 28px -8px rgba(0, 0, 0, .55); }
.zima-root .zima-starter--quote { background: var(--zima-grad); }
.zima-root .zima-title { font-weight: 700; letter-spacing: 0; }
.zima-root .zima-logo { height: 26px; max-width: 220px; }

/* ---------- Wider view (desktop) ---------- */
.zima-root .zima-widen .zima-widen-off { display: none; }
.zima-root.zima-is-wide .zima-widen .zima-widen-on { display: none; }
.zima-root.zima-is-wide .zima-widen .zima-widen-off { display: inline-flex; }
.zima-root .zima-widen[aria-pressed="true"] { background-color: rgba(146, 190, 83, .16); color: #fff; }
@media (min-width: 600px) {
  .zima-root.zima-is-open .zima-panel {
    transition: opacity .22s ease, transform .28s var(--zima-ease), visibility 0s, width .3s var(--zima-ease), height .3s var(--zima-ease);
  }
  .zima-root.zima-is-wide .zima-panel {
    width: min(var(--zima-wide-width, 760px), calc(100vw - 48px));
    height: min(var(--zima-wide-height, 820px), calc(100vh - 112px));
    max-width: none;
  }
  /* More room: answers keep a readable line length, page cards and starters sit side by side. */
  .zima-root.zima-is-wide .zima-log { padding-left: 26px; padding-right: 26px; }
  .zima-root.zima-is-wide .zima-msg--assistant .zima-bubble { max-width: min(86%, 680px); }
  .zima-root.zima-is-wide .zima-msg--user .zima-bubble { max-width: min(70%, 560px); }
  .zima-root.zima-is-wide .zima-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    width: 100%;
  }
  .zima-root.zima-is-wide .zima-starters { display: grid; grid-template-columns: 1fr 1fr; }
  .zima-root.zima-is-wide .zima-lead,
  .zima-root.zima-is-wide .zima-quote { max-width: 620px; }
}
@media (max-width: 599.98px) {
  .zima-root .zima-widen { display: none; }
}

/* ---------- Continue prompt (phones) ---------- */
.zima-root .zima-resume {
  position: fixed;
  left: 16px;
  bottom: 86px;
  z-index: 99989;
  width: min(344px, calc(100vw - 32px));
  padding: 14px 14px 12px;
  border-radius: 18px;
  background: #fff;
  color: var(--zima-ink);
  font-family: var(--zima-font);
  font-size: 16px;
  line-height: 1.45;
  box-shadow: 0 22px 46px -18px rgba(0, 0, 0, .45), 0 4px 12px -6px rgba(0, 0, 0, .18), 0 0 0 1px rgba(20, 20, 20, .07);
  opacity: 0;
  transform: translateY(10px) scale(.98);
  transform-origin: bottom left;
  transition: opacity .24s ease, transform .3s var(--zima-ease), width .3s var(--zima-ease), padding .3s var(--zima-ease), bottom .3s var(--zima-ease), left .3s var(--zima-ease), border-radius .3s var(--zima-ease);
}
/* a small tail pointing at the chat button */
.zima-root .zima-resume::after {
  content: "";
  position: absolute;
  left: 22px;
  bottom: -6px;
  width: 14px;
  height: 14px;
  background: #fff;
  transform: rotate(45deg);
  border-radius: 0 0 4px 0;
  box-shadow: 3px 3px 4px -2px rgba(0, 0, 0, .08);
}
.zima-root .zima-resume::before {
  content: "";
  position: absolute;
  left: 0; top: 14px; bottom: 14px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--zima-leaf);
}
.zima-root .zima-resume--in { opacity: 1; transform: none; }
.zima-root .zima-resume--out { opacity: 0; transform: translateY(8px) scale(.98); }
.zima-root .zima-resume-card {
  display: grid;
  grid-template-columns: 34px 1fr 34px;
  gap: 10px;
  align-items: start;
}
.zima-root .zima-resume-avatar { width: 34px; height: 34px; font-size: 15px; box-shadow: none; }
.zima-root .zima-resume-lead { font-weight: 700; font-size: 16px; line-height: 1.35; color: var(--zima-dark); }
.zima-root .zima-resume-body { margin-top: 3px; font-size: 15px; color: var(--zima-muted); }
.zima-root .zima-resume-x {
  display: inline-grid;
  place-content: center;
  width: 34px;
  height: 34px;
  margin: -6px -6px 0 0;
  border-radius: 50%;
  color: var(--zima-muted);
}
.zima-root .zima-resume-x:hover,
.zima-root .zima-resume-x:focus-visible { background-color: var(--zima-tint); color: var(--zima-dark); }
.zima-root .zima-resume-x svg { width: 16px; height: 16px; }
.zima-root .zima-resume-go {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 48px;
  margin-top: 12px;
  border-radius: 999px;
  background: var(--zima-leaf);
  color: var(--zima-dark);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 8px 18px -12px rgba(54, 83, 20, .9);
}
.zima-root .zima-resume-go:hover,
.zima-root .zima-resume-go:focus { background: var(--zima-leaf-hover); color: var(--zima-dark); }
.zima-root .zima-resume-go:focus-visible { outline: 2px solid var(--zima-dark); outline-offset: 2px; }

/* Folded: a slim pill beside the chat button, clear of the page and of the WhatsApp bubble. */
.zima-root .zima-resume--mini {
  left: 84px;
  bottom: 22px;
  width: auto;
  padding: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
}
.zima-root .zima-resume--mini::after,
.zima-root .zima-resume--mini::before,
.zima-root .zima-resume--mini .zima-resume-card { display: none; }
.zima-root .zima-resume--mini .zima-resume-go {
  width: auto;
  height: 44px;
  margin: 0;
  padding: 0 16px 0 18px;
  font-size: 15px;
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5), 0 0 0 1px rgba(20, 20, 20, .06);
  animation: zima-in .3s var(--zima-ease) both;
}
.zima-root.zima-root--right .zima-resume { left: auto; right: 16px; transform-origin: bottom right; }
.zima-root.zima-root--right .zima-resume::after { left: auto; right: 22px; }
.zima-root.zima-root--right .zima-resume--mini { right: 84px; }

/* The chat button breathes while the prompt is up, so the link between the two is obvious. */
.zima-root .zima-launcher--nudge::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 999px;
  border: 2px solid var(--zima-leaf);
  opacity: 0;
  animation: zima-nudge 2.4s ease-out .4s 3;
  pointer-events: none;
}
@keyframes zima-nudge {
  0% { opacity: .9; transform: scale(.94); }
  100% { opacity: 0; transform: scale(1.22); }
}
@media (min-width: 600px) {
  .zima-root .zima-resume { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .zima-root .zima-launcher--nudge::after { animation: none; opacity: 1; transform: none; }
}

/* WhatsApp sits beside the green "Get a quote", so it steps back to a white button with the
   WhatsApp icon: one green action per row, and no clash between two different greens. */
.zima-root .zima-btn--wa {
  background: #fff;
  border: 1px solid var(--zima-line);
  color: var(--zima-dark);
}
.zima-root .zima-btn--wa .zima-icon { color: #128C7E; }
.zima-root .zima-btn--wa:hover,
.zima-root .zima-btn--wa:focus-visible { background: #fff; border-color: #25D366; color: var(--zima-dark); transform: translateY(-1px); }
.zima-root .zima-btn--wa:hover .zima-icon { color: #128C7E; }

/* Small phones: keep the folded pill clear of the Click to Chat bubble (which starts 65 px from the right). */
.zima-root .zima-resume--mini .zima-resume-go { max-width: calc(100vw - 84px - 76px); overflow: hidden; }
@media (max-width: 359.98px) {
  .zima-root .zima-resume--mini .zima-resume-go { padding: 0 14px; font-size: 14px; }
  .zima-root .zima-resume--mini .zima-resume-go .zima-icon { display: none; }
}

/* Nearest showroom: a native select (reliable on every phone), styled like the other fields. */
.zima-root select.zima-field-input {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
  max-width: none;
  padding-right: 38px;
  font: inherit;
  font-family: var(--zima-font);
  font-size: 14px;
  color: var(--zima-ink);
  cursor: pointer;
  background-color: var(--zima-tint);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='16' height='16'%3E%3Cpath fill='none' stroke='%23365314' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M6 9.5l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px 16px;
  box-shadow: none;
}
.zima-root select.zima-field-input:focus { background-color: #fff; }
.zima-root select.zima-field-input[aria-invalid="true"] { border-color: var(--zima-alert); }
@media (max-width: 599.98px) {
  .zima-root select.zima-field-input { font-size: 17px; height: 54px; }
}
