:root { --agrolc-shadow: 0 24px 70px rgba(16,24,40,.20); }

#agrolc-root {
  --agrolc-accent: #0f9d68;
  --agrolc-site-font: inherit;
  --agrolc-button-font: var(--agrolc-site-font);
  --agrolc-heading-font: var(--agrolc-site-font);
  --agrolc-button-weight: 600;
  --agrolc-button-transform: none;
  --agrolc-button-letter: normal;
  --agrolc-heading-weight: 700;
  --agrolc-heading-letter: normal;
  --agrolc-site-radius: 12px;
  position: fixed;
  z-index: 2147483000;
  bottom: max(22px, env(safe-area-inset-bottom));
  font-family: var(--agrolc-site-font);
  color: var(--agrolc-site-color, #17211c);
}
#agrolc-root button,
#agrolc-root input,
#agrolc-root select,
#agrolc-root textarea {
  font-family: var(--agrolc-site-font);
}
#agrolc-root button,
#agrolc-root .agrolc-quick a {
  font-family: var(--agrolc-button-font);
  font-weight: var(--agrolc-button-weight);
  text-transform: var(--agrolc-button-transform);
  letter-spacing: var(--agrolc-button-letter);
}

#agrolc-root.agrolc-right { right: 22px; }
#agrolc-root.agrolc-left { left: 22px; }

.agrolc-launcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 8px 20px 8px 10px;
  border: 0;
  border-radius: 999px;
  background: #111b16;
  color: #fff;
  box-shadow: 0 12px 34px rgba(0,0,0,.22);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.agrolc-launcher:hover { transform: translateY(-2px); box-shadow: 0 16px 42px rgba(0,0,0,.28); }
.agrolc-launcher__icon {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--agrolc-accent);
  color: #fff; font-size: 18px; font-weight: 800;
}
.agrolc-launcher__icon-img {
  width: 22px;
  height: 22px;
  display: block;
  filter: brightness(0) invert(1);
}

.agrolc-launcher__label {
  display: inline-flex;
  align-items: center;
  font-family: var(--agrolc-button-font);
  font-size: 15px;
  line-height: 1;
  font-weight: var(--agrolc-button-weight);
  white-space: nowrap;
  text-transform: var(--agrolc-button-transform);
  letter-spacing: var(--agrolc-button-letter);
}
.agrolc-launcher__pulse {
  position: absolute; left: 30px; top: 29px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--agrolc-accent);
  animation: agrolcPulse 2.2s infinite;
}
@keyframes agrolcPulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--agrolc-accent) 50%, transparent); }
  70% { box-shadow: 0 0 0 18px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.agrolc-panel {
  position: fixed; inset: 0;
  display: flex; align-items: flex-end; justify-content: flex-end;
  padding: 22px;
  background: rgba(13, 22, 17, 0);
  pointer-events: none;
  transition: background .25s ease;
}
.agrolc-left .agrolc-panel { justify-content: flex-start; }
.agrolc-panel.is-open { pointer-events: auto; background: rgba(13, 22, 17, .16); backdrop-filter: blur(4px); }

.agrolc-card {
  width: min(430px, calc(100vw - 28px));
  max-height: min(720px, calc(100vh - 44px));
  overflow: auto;
  border-radius: 28px;
  background: rgba(255,255,255,.98);
  box-shadow: var(--agrolc-shadow);
  border: 1px solid rgba(18, 30, 23, .08);
  transform: translateY(24px) scale(.98);
  opacity: 0;
  transition: transform .28s cubic-bezier(.2,.8,.2,1), opacity .22s ease;
}
.agrolc-panel.is-open .agrolc-card { transform: translateY(0) scale(1); opacity: 1; }

.agrolc-topbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 24px 14px;
}
.agrolc-eyebrow { color: #6c786f; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.agrolc-online { display: flex; gap: 6px; align-items: center; margin-top: 4px; font-size: 12px; color: #728078; }
.agrolc-online i { width: 7px; height: 7px; border-radius: 50%; background: var(--agrolc-accent); }
.agrolc-close {
  width: 38px; height: 38px; border: 0; border-radius: 50%;
  background: #f1f4f2; color: #26342c; cursor: pointer; font-size: 24px; line-height: 1;
}
.agrolc-progress { height: 3px; background: #eef2ef; margin: 0 24px; overflow: hidden; border-radius: 99px; }
.agrolc-progress span { display: block; height: 100%; width: 34%; background: var(--agrolc-accent); transition: width .3s ease; }

.agrolc-step { display: none; padding: 22px 24px 18px; }
.agrolc-step.is-active { display: block; animation: agrolcStep .25s ease both; }
@keyframes agrolcStep { from { opacity: 0; transform: translateY(8px); } to { opacity:1; transform:none; } }

.agrolc-step h3 { margin: 0; font-family: var(--agrolc-heading-font); font-size: 26px; line-height: 1.14; font-weight: var(--agrolc-heading-weight); letter-spacing: var(--agrolc-heading-letter); color: #15231a; }
.agrolc-step > p { margin: 9px 0 20px; color: #6a776f; font-size: 14px; line-height: 1.5; }

.agrolc-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.agrolc-category {
  min-height: 78px;
  display: flex; align-items: center; gap: 11px; text-align: left;
  border: 1px solid #e7ece8; border-radius: var(--agrolc-site-radius);
  background: #fbfcfb; color: #223129; padding: 12px;
  cursor: pointer;
  font-family: var(--agrolc-button-font);
  font-weight: var(--agrolc-button-weight);
  text-transform: var(--agrolc-button-transform);
  letter-spacing: var(--agrolc-button-letter);
  font-size: 13px;
  line-height: 1.2;
  transition: border-color .18s ease, transform .18s ease, background .18s ease;
}
.agrolc-category:hover { border-color: color-mix(in srgb, var(--agrolc-accent) 45%, #dfe7e1); background: #fff; transform: translateY(-1px); }
.agrolc-category__icon {
  width: 40px; height: 40px; flex: 0 0 40px; border-radius: 12px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--agrolc-accent) 12%, white);
  color: var(--agrolc-accent); font-size: 17px;
}
.agrolc-category__icon-img {
  width: 22px;
  height: 22px;
  display: block;
}


.agrolc-back {
  padding: 0; margin: 0 0 16px; border: 0; background: none;
  color: var(--agrolc-accent); cursor: pointer; font-size: 13px; font-weight: 800;
}
.agrolc-selected {
  display: flex; align-items: center; gap: 8px; padding: 11px 13px;
  margin-bottom: 16px; border-radius: 14px;
  background: color-mix(in srgb, var(--agrolc-accent) 9%, white);
  color: #24362c; font-size: 13px;
}
.agrolc-selected span { color: var(--agrolc-accent); }

.agrolc-form label > span, .agrolc-form legend {
  display: block; margin-bottom: 7px; font-size: 12px; font-weight: 800; color: #4a5b51;
}
.agrolc-form > label { display: block; margin-bottom: 13px; }
.agrolc-form input[type="text"], .agrolc-form input[type="tel"] {
  width: 100%; height: 48px; box-sizing: border-box;
  border: 1px solid #dfe6e1; border-radius: var(--agrolc-site-radius);
  padding: 0 14px; background: #fff; color: #17211c; outline: none;
  font: inherit; font-size: 15px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.agrolc-form input:focus { border-color: var(--agrolc-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--agrolc-accent) 12%, transparent); }
.agrolc-form fieldset { border: 0; padding: 0; margin: 3px 0 15px; }
.agrolc-messengers { display: flex; flex-wrap: wrap; gap: 7px; }
.agrolc-chip { cursor: pointer; }
.agrolc-chip input { position: absolute; opacity: 0; pointer-events: none; }
.agrolc-chip span {
  display: inline-flex; align-items: center; min-height: 34px;
  padding: 0 11px; border: 1px solid #dfe6e1; border-radius: 999px;
  font-family: var(--agrolc-button-font); font-size: 12px; font-weight: var(--agrolc-button-weight);
  text-transform: var(--agrolc-button-transform); letter-spacing: var(--agrolc-button-letter);
  color: #44534b; background: #fff;
}
.agrolc-chip input:checked + span {
  color: #fff; background: var(--agrolc-accent); border-color: var(--agrolc-accent);
}


.agrolc-consent {
  position: relative;
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 2px 14px !important;
  cursor: pointer;
}
.agrolc-consent input {
  position: absolute !important;
  opacity: 0 !important;
  width: 1px !important;
  height: 1px !important;
  pointer-events: none;
}
.agrolc-consent__box {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 1px;
  border: 1.5px solid #b8c5be;
  border-radius: 5px;
  background: #fff;
  box-sizing: border-box;
}
.agrolc-consent input:checked + .agrolc-consent__box {
  border-color: var(--agrolc-accent);
  background: var(--agrolc-accent);
}
.agrolc-consent input:checked + .agrolc-consent__box::after {
  content: "";
  display: block;
  width: 8px;
  height: 4px;
  margin: 4px 0 0 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}
.agrolc-consent__text {
  color: #69776f;
  font-family: var(--agrolc-site-font);
  font-size: 11px;
  line-height: 1.45;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
}
.agrolc-consent__text a {
  color: var(--agrolc-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  font: inherit;
}
.agrolc-consent.is-error .agrolc-consent__box {
  border-color: #b42318;
  box-shadow: 0 0 0 3px rgba(180,35,24,.08);
}

.agrolc-submit, .agrolc-done {
  width: 100%; min-height: 49px; border: 0; border-radius: var(--agrolc-site-radius);
  background: var(--agrolc-accent); color: #fff; cursor: pointer;
  font-family: var(--agrolc-button-font);
  font-weight: var(--agrolc-button-weight);
  text-transform: var(--agrolc-button-transform);
  letter-spacing: var(--agrolc-button-letter);
  font-size: 14px; box-shadow: 0 10px 24px color-mix(in srgb, var(--agrolc-accent) 24%, transparent);
}
.agrolc-submit:disabled { opacity: .65; cursor: wait; }
.agrolc-error { min-height: 16px; margin-top: 8px; color: #b42318; font-size: 12px; }
.agrolc-hp { position: absolute !important; left: -99999px !important; opacity: 0 !important; }

.agrolc-step--success { text-align: center; padding-top: 36px; padding-bottom: 30px; }
.agrolc-step--success p { max-width: 300px; margin-left: auto; margin-right: auto; }
.agrolc-success-icon {
  width: 64px; height: 64px; display: grid; place-items: center;
  margin: 0 auto 16px; border-radius: 50%;
  background: color-mix(in srgb, var(--agrolc-accent) 12%, white);
  color: var(--agrolc-accent); font-size: 28px; font-weight: 900;
}
.agrolc-done { max-width: 180px; margin-top: 6px; }

.agrolc-quick {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 14px 24px 18px; border-top: 1px solid #eef1ef;
}
.agrolc-quick > span { color: #7c8981; font-size: 12px; }
.agrolc-quick div { display: flex; gap: 8px; }
.agrolc-quick a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  color: #3f5147;
  text-decoration: none;
  font-family: var(--agrolc-button-font);
  font-weight: var(--agrolc-button-weight);
  text-transform: var(--agrolc-button-transform);
  letter-spacing: var(--agrolc-button-letter);
  font-size: 12px;
  padding: 8px 12px;
  border-radius: var(--agrolc-site-radius);
  background: #f3f6f4;
}
.agrolc-quick__icon {
  width: 16px;
  height: 16px;
  display: block;
}
.agrolc-shake { animation: agrolcShake .35s ease; }
@keyframes agrolcShake { 0%,100%{transform:none} 25%{transform:translateX(-5px)} 75%{transform:translateX(5px)} }

@media (max-width: 640px) {
  #agrolc-root.agrolc-right { right: 14px; }
  #agrolc-root.agrolc-left { left: 14px; }
  .agrolc-launcher { min-height: 56px; padding-right: 16px; }
  .agrolc-launcher__icon { width: 38px; height: 38px; }
  .agrolc-panel { padding: 0; align-items: flex-end; }
  .agrolc-card {
    width: 100%; max-height: min(88vh, 760px);
    border-radius: 25px 25px 0 0;
    border-bottom: 0;
  }
  .agrolc-grid { gap: 8px; }
  .agrolc-category { min-height: 70px; padding: 10px; }
  .agrolc-step h3 { font-size: 24px; }
  body.agrolc-open { overflow: hidden; }
}
@media (max-width: 390px) {
  .agrolc-launcher__label { display: none; }
  .agrolc-launcher { padding-right: 10px; }
  .agrolc-grid { grid-template-columns: 1fr; }
  .agrolc-category { min-height: 58px; }
}
