@font-face {
  font-family: "Manrope UC";
  src: url("./fonts/manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --widget-ink: #17322d;
  --widget-ink-strong: #0c2924;
  --widget-green: #176d5b;
  --widget-green-pale: #dfece6;
  --widget-orange: #dc7242;
  --widget-orange-dark: #b8522b;
  --widget-line: #cbd8d1;
  --widget-muted: #60736c;
  --widget-paper: #fffdf8;
}

* { box-sizing: border-box; }
html, body { min-width: 0; margin: 0; background: transparent; }
body {
  padding: 3px;
  color: var(--widget-ink);
  font-family: "Manrope UC", "Avenir Next", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }

.widget-shell {
  position: relative;
  min-height: 286px;
  padding: 20px 22px 22px;
  overflow: hidden;
  border: 1px solid var(--widget-line);
  border-radius: 18px;
  background:
    radial-gradient(circle at 92% 10%, rgba(255, 255, 255, .92) 0 7%, transparent 23%),
    linear-gradient(118deg, #f5f1e8 0 57%, #e3eee7 57% 100%);
  box-shadow: 0 8px 24px rgba(18, 59, 52, .10);
}
.widget-shell::before,
.widget-shell::after {
  content: "";
  position: absolute;
  pointer-events: none;
  transform: rotate(24deg) skewY(-7deg);
}
.widget-shell::before {
  right: 8%;
  bottom: -50px;
  width: 118px;
  height: 104px;
  border: 1px solid rgba(23, 109, 91, .15);
  background: rgba(184, 216, 202, .2);
}
.widget-shell::after {
  right: -40px;
  top: 70px;
  width: 104px;
  height: 82px;
  border: 1px solid rgba(220, 114, 66, .15);
  background: rgba(247, 201, 171, .18);
}

.widget-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(23, 109, 91, .12);
}
.widget-brand { display: inline-flex; align-items: center; gap: 9px; color: inherit; text-decoration: none; }
.widget-brand-mark { position: relative; width: 28px; height: 28px; display: block; transform: rotate(-2deg); }
.widget-brand-mark i { position: absolute; display: block; border: 1.5px solid var(--widget-green); background: var(--widget-green-pale); transform: rotate(30deg) skewY(-8deg); }
.widget-brand-mark i:nth-child(1) { inset: 3px 10px 12px 1px; }
.widget-brand-mark i:nth-child(2) { inset: 10px 3px 5px 10px; border-color: var(--widget-orange); background: #f7c9ab; }
.widget-brand-mark i:nth-child(3) { inset: 12px 12px 1px 1px; background: #b8d8ca; }
.widget-brand-copy { display: grid; line-height: 1; }
.widget-brand-copy strong { display: inline-flex; align-items: baseline; color: var(--widget-ink-strong); font-size: 18px; font-weight: 650; letter-spacing: -.04em; }
.widget-brand-copy strong span:last-child { color: var(--widget-green); font-weight: 800; }
.widget-brand-copy small { margin-top: 4px; color: #657a73; font-size: 7px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.widget-partner { padding: 5px 8px; border: 1px solid rgba(23, 109, 91, .18); border-radius: 999px; color: var(--widget-green); background: rgba(255, 255, 255, .58); font-size: 8px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }

.widget-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(280px, .94fr);
  gap: clamp(22px, 5vw, 52px);
  align-items: center;
  padding-top: 19px;
}
.widget-kicker { margin: 0 0 7px; color: var(--widget-green); font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.widget-kicker span { display: inline-block; width: 20px; height: 2px; margin: 0 7px 3px 0; background: var(--widget-orange); }
.widget-copy h1,
.widget-unavailable h1 { margin: 0; color: var(--widget-ink-strong); font-family: Georgia, "Times New Roman", serif; font-size: clamp(23px, 3.2vw, 32px); font-weight: 500; letter-spacing: -.035em; line-height: 1.04; }
.widget-copy > p:not(.widget-kicker),
.widget-unavailable > p:not(.widget-kicker) { margin: 9px 0 0; color: #486058; font-size: 11px; line-height: 1.5; }
.widget-copy ul { margin: 13px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 7px; list-style: none; }
.widget-copy li { padding: 5px 7px; border: 1px solid rgba(23, 109, 91, .15); border-radius: 5px; color: #405b53; background: rgba(255, 255, 255, .55); font-size: 8px; font-weight: 800; }
.widget-copy li::before { content: "✓"; margin-right: 4px; color: var(--widget-green); }

.widget-form { padding: 13px; border: 1px solid rgba(23, 109, 91, .15); border-radius: 12px; background: rgba(255, 255, 255, .88); box-shadow: 0 10px 28px rgba(18, 59, 52, .10); }
.widget-address { min-width: 0; margin-bottom: 10px; display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 9px; align-items: center; }
.widget-address > span:last-child { min-width: 0; display: grid; }
.widget-address strong { overflow: hidden; color: var(--widget-ink-strong); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.widget-address small { margin-top: 2px; color: var(--widget-muted); font-size: 8px; }
.widget-pin { position: relative; width: 14px; height: 17px; border: 2px solid var(--widget-green); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.widget-pin::after { content: ""; position: absolute; left: 3px; top: 3px; width: 4px; height: 4px; border-radius: 50%; background: var(--widget-green); }
.widget-form label { display: block; margin: 0 0 5px; color: var(--widget-ink-strong); font-size: 8px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.widget-search-row { display: grid; grid-template-columns: minmax(88px, .55fr) minmax(145px, 1fr); gap: 6px; }
.widget-search-row input { min-width: 0; width: 100%; height: 39px; padding: 0 10px; border: 1px solid #c5d2cb; border-radius: 7px; outline: 0; color: var(--widget-ink-strong); background: #fff; font-size: 11px; }
.widget-search-row input::placeholder { color: #84928d; }
.widget-search-row input:focus { border-color: var(--widget-green); box-shadow: 0 0 0 3px rgba(23, 109, 91, .1); }
.widget-search-row button { min-height: 39px; padding: 0 10px; border: 0; border-radius: 7px; color: #fff; background: var(--widget-orange); cursor: pointer; font-size: 9px; font-weight: 800; transition: background .16s ease, transform .16s ease; }
.widget-search-row button:hover { background: var(--widget-orange-dark); transform: translateY(-1px); }
.widget-search-row button:focus-visible { outline: 3px solid rgba(220, 114, 66, .28); outline-offset: 2px; }
.widget-search-row button span { margin-left: 3px; }
.widget-note,
.widget-error { margin: 7px 0 0; font-size: 7.5px; line-height: 1.35; }
.widget-note { color: var(--widget-muted); }
.widget-error { color: #9c2f20; font-weight: 800; }

.widget-unavailable { position: relative; z-index: 2; max-width: 560px; padding: 28px 0 12px; }
.widget-unavailable a { display: inline-flex; margin-top: 16px; padding: 11px 15px; border-radius: 7px; color: #fff; background: var(--widget-orange); font-size: 10px; font-weight: 800; text-decoration: none; }

@media (max-width: 620px) {
  body { padding: 2px; }
  .widget-shell { min-height: 390px; padding: 17px; border-radius: 14px; }
  .widget-header { padding-bottom: 12px; }
  .widget-content { grid-template-columns: 1fr; gap: 17px; padding-top: 16px; }
  .widget-copy h1 { font-size: 27px; }
  .widget-copy > p:not(.widget-kicker) { max-width: 440px; }
  .widget-copy ul { margin-top: 10px; }
  .widget-form { padding: 12px; }
}

@media (max-width: 300px) {
  .widget-shell { min-height: 414px; padding: 15px 13px; }
  .widget-partner { display: none; }
  .widget-search-row { grid-template-columns: 1fr; }
  .widget-search-row button { min-height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .widget-search-row button { transition: none; }
}
