.cart {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.cart.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.cart-button {
  position: relative;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 7px;
  background: var(--coral);
  box-shadow: 5px 5px 0 var(--ink);
  color: var(--ink);
  cursor: pointer;
}

.cart-icon {
  position: relative;
  display: block;
  width: 25px;
  height: 21px;
  border: 3px solid currentColor;
  border-radius: 3px;
  font-size: 0;
}

.cart-icon::before {
  position: absolute;
  top: -10px;
  left: 5px;
  width: 10px;
  height: 8px;
  border: 3px solid currentColor;
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
  content: "";
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  display: grid;
  min-width: 25px;
  height: 25px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 4px;
  background: var(--lemon);
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
  font-weight: 900;
}

.cart-panel {
  position: absolute;
  right: 0;
  bottom: 78px;
  width: min(380px, calc(100vw - 48px));
  max-height: 460px;
  padding: 14px;
  overflow: auto;
  border: 2px solid var(--ink);
  border-radius: 7px;
  background: rgba(255, 254, 249, 0.94);
  box-shadow: 7px 7px 0 var(--ink);
  backdrop-filter: blur(18px);
}

.cart-panel-head,
.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cart-panel-head {
  margin-bottom: 10px;
}

.cart-close,
.dialog-close {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 5px;
  background: var(--lemon);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.3rem;
}

.cart-items {
  display: grid;
  gap: 8px;
}

.cart-item {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
}

.cart-item span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.cart-item strong {
  display: block;
  color: var(--ink);
}

.cart-item em {
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.cart-empty {
  margin: 14px 0 4px;
  color: var(--muted);
}

.cart-submit {
  width: 100%;
  min-height: 46px;
  margin-top: 12px;
  border: 2px solid var(--ink);
  border-radius: 5px;
  background: var(--cobalt);
  color: var(--paper-bright);
  cursor: pointer;
  font: inherit;
  font-weight: 850;
}

.lead-dialog {
  width: min(560px, calc(100% - 32px));
  max-height: calc(100svh - 32px);
  padding: 0;
  border: 2px solid var(--ink);
  border-radius: 7px;
  background: var(--paper-bright);
  box-shadow: 10px 10px 0 var(--ink);
  color: var(--ink);
}

.lead-dialog::backdrop {
  background: rgba(21, 24, 33, 0.66);
  backdrop-filter: blur(4px);
}

.lead-form {
  display: grid;
  gap: 13px;
  padding: clamp(22px, 4vw, 32px);
}

.lead-dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.lead-dialog-head .eyebrow {
  margin-bottom: 8px;
}

.lead-dialog h2 {
  margin: 0;
  font-size: clamp(2.2rem, 7vw, 3.3rem);
}

.lead-intro,
.lead-legal {
  margin: 0;
  color: var(--muted);
}

.lead-form label {
  display: grid;
  gap: 7px;
  font-size: 0.88rem;
  font-weight: 850;
}

.lead-form input:not([type="checkbox"]),
.lead-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 2px solid var(--ink);
  border-radius: 5px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}

.lead-form textarea {
  min-height: 78px;
  padding-block: 12px;
  resize: vertical;
}

.field-optional {
  color: var(--muted);
  font-weight: 650;
}

.consent-field {
  position: relative;
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: start;
  gap: 12px !important;
  color: var(--muted);
  font-size: 0.78rem !important;
  font-weight: 650 !important;
  line-height: 1.35;
}

.consent-field input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.lead-form .consent-toggle {
  position: relative;
  display: block;
  align-self: start;
  width: 46px;
  height: 26px;
  margin-top: 2px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: #d9dbe0;
  box-shadow: 2px 2px 0 rgba(21, 24, 33, 0.2);
  cursor: pointer;
  transition: background 160ms ease, box-shadow 160ms ease;
}

.lead-form .consent-copy {
  display: block;
  gap: 0;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.35;
}

.consent-toggle::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--paper-bright);
  content: "";
  transition: transform 160ms ease;
}

.consent-field input:checked + .consent-toggle {
  background: var(--cobalt);
  box-shadow: 2px 2px 0 var(--lemon);
}

.consent-field input:checked + .consent-toggle::after {
  transform: translateX(20px);
}

.consent-field input:focus-visible + .consent-toggle {
  outline: 3px solid var(--lemon);
  outline-offset: 4px;
}

.consent-copy a,
.cookie-copy a {
  color: var(--cobalt);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.lead-selection {
  padding: 13px 14px;
  border: 2px solid var(--cobalt);
  border-radius: 5px;
  background: var(--cobalt-soft);
  color: #41495b;
  font-size: 0.9rem;
}

.lead-selection strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.lead-status {
  min-height: 1.5em;
  margin: 0;
  color: #23725e;
  font-weight: 850;
}

.lead-status.error {
  color: #b83b29;
}

.lead-submit:disabled {
  cursor: wait;
  opacity: 0.72;
}

.lead-legal {
  font-size: 0.74rem;
  line-height: 1.35;
}

.cookie-banner {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 70;
  display: grid;
  width: min(760px, calc(100% - 48px));
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  padding: 20px;
  border: 2px solid var(--ink);
  border-radius: 7px;
  background: rgba(255, 254, 249, 0.96);
  box-shadow: 8px 8px 0 var(--ink);
  backdrop-filter: blur(18px);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-copy strong {
  display: block;
  margin-bottom: 6px;
  font-family: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 900;
}

.cookie-copy p {
  max-width: 500px;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.cookie-actions {
  display: grid;
  min-width: 210px;
  gap: 8px;
}

.cookie-button {
  min-height: 42px;
  padding: 0 14px;
  border: 2px solid var(--ink);
  border-radius: 5px;
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 850;
}

.cookie-button.necessary {
  background: var(--paper-bright);
  color: var(--ink);
}

.cookie-button.analytics {
  background: var(--cobalt);
  color: var(--paper-bright);
}

