.frucafe-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 24px;
  align-items: start;
}

@media only screen and (min-width: 1200px) {
  .frucafe-contact-header .main-menu-wrap #menu > ul {
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
  }

  .frucafe-contact-header .main-menu-wrap #menu > ul > li {
    flex: 0 0 auto;
  }

  .frucafe-contact-header .main-menu-wrap.style1 #menu > ul > li > a {
    padding-left: 16px;
    padding-right: 16px;
    white-space: nowrap;
  }
}

.frucafe-chat,
.frucafe-contact-card,
.frucafe-map-card {
  border: 1px solid #dfe6da;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(19, 52, 38, 0.12);
  overflow: hidden;
}

.frucafe-chat {
  min-height: 680px;
  display: flex;
  flex-direction: column;
}

.frucafe-chat--float {
  position: fixed;
  right: 22px;
  bottom: 92px;
  z-index: 9998;
  width: min(390px, calc(100vw - 28px));
  height: min(620px, calc(100vh - 130px));
  min-height: 0;
  transform-origin: bottom right;
}

.frucafe-chat[hidden],
.frucafe-chat-launcher[hidden] {
  display: none !important;
}

.frucafe-chat__head {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 76px;
  padding: 16px 18px;
  border-bottom: 1px solid #dfe6da;
  background: #fbfcf8;
}

.frucafe-chat__avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #133426;
  color: #fff;
  font-size: 22px;
  flex: 0 0 auto;
}

.frucafe-chat__title {
  min-width: 0;
  flex: 1;
}

.frucafe-chat__title strong {
  display: block;
  color: #133426;
  font-size: 18px;
  line-height: 1.2;
}

.frucafe-chat__title span {
  display: block;
  margin-top: 3px;
  color: #66746b;
  font-size: 13px;
  line-height: 1.3;
}

.frucafe-chat__close {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #66746b;
  font-size: 22px;
}

.frucafe-chat__body {
  min-height: 0;
  flex: 1;
  overflow-y: auto;
  padding: 22px;
  background: #fff;
}

.frucafe-chat__msg {
  display: flex;
  gap: 9px;
  margin-bottom: 14px;
  align-items: flex-end;
}

.frucafe-chat__msg--user {
  justify-content: flex-end;
}

.frucafe-chat__bubble {
  max-width: min(78%, 560px);
  padding: 12px 14px;
  border-radius: 16px;
  color: #1e2a22;
  font-size: 15px;
  line-height: 1.45;
  white-space: pre-wrap;
}

.frucafe-chat__bubble--bot {
  border: 1px solid #dfe6da;
  border-bottom-left-radius: 5px;
  background: #fff;
}

.frucafe-chat__bubble--user {
  border-bottom-right-radius: 5px;
  background: #245640;
  color: #fff;
}

.frucafe-chat__gate {
  margin: 10px 0 18px;
  padding: 16px;
  border: 1px solid rgba(63, 122, 56, 0.2);
  border-radius: 8px;
  background: #f8fbf2;
}

.frucafe-chat__gate .row {
  row-gap: 10px;
}

.frucafe-chat__gate input {
  width: 100%;
  height: 46px;
  border: 1px solid #dfe6da;
  border-radius: 8px;
  padding: 0 12px;
  color: #1e2a22;
  outline: none;
}

.frucafe-chat__gate small {
  display: block;
  margin-top: 8px;
  color: #66746b;
  font-size: 12px;
  line-height: 1.35;
}

.frucafe-chat__quick {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 8px 0 18px;
}

.frucafe-chat__quick button {
  min-height: 44px;
  border: 1px solid rgba(63, 122, 56, 0.25);
  border-radius: 8px;
  background: #f8fbf2;
  color: #133426;
  font-size: 14px;
  font-weight: 800;
  text-align: left;
  padding: 9px 11px;
}

.frucafe-chat__input {
  display: flex;
  gap: 10px;
  padding: 14px;
  border-top: 1px solid #dfe6da;
  background: #fbfcf8;
}

.frucafe-chat__input input {
  min-width: 0;
  flex: 1;
  height: 48px;
  border: 1px solid #dfe6da;
  border-radius: 8px;
  padding: 0 14px;
  color: #1e2a22;
  font-size: 15px;
  outline: none;
}

.frucafe-chat__send,
.frucafe-chat__gate button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  background: #245640;
  color: #fff;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.frucafe-chat__send:disabled,
.frucafe-chat__gate button:disabled {
  opacity: 0.6;
}

.frucafe-chat-launcher {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  max-width: calc(100vw - 44px);
  padding: 10px 16px 10px 10px;
  border: 0;
  border-radius: 999px;
  background: #133426;
  color: #fff;
  box-shadow: 0 16px 40px rgba(19, 52, 38, 0.35);
  font-weight: 900;
  font-size: 14px;
}

.frucafe-chat-launcher i {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #79a342;
  font-size: 20px;
}

.frucafe-contact-card {
  padding: 22px;
}

.frucafe-contact-card h3 {
  margin: 0 0 14px;
  color: #133426;
  font-size: 22px;
  font-weight: 900;
}

.frucafe-contact-item {
  display: flex;
  gap: 11px;
  padding: 13px 0;
  border-top: 1px solid #dfe6da;
}

.frucafe-contact-item:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.frucafe-contact-item i {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(63, 122, 56, 0.11);
  color: #245640;
  font-size: 18px;
  flex: 0 0 auto;
}

.frucafe-contact-item strong {
  display: block;
  margin-bottom: 2px;
  color: #133426;
  font-size: 13px;
}

.frucafe-contact-item span {
  display: block;
  color: #66746b;
  font-size: 14px;
  line-height: 1.35;
}

.frucafe-contact-note {
  margin-top: 16px;
  border-radius: 8px;
  background: #133426;
  color: #fff;
  padding: 16px;
}

.frucafe-contact-note strong {
  display: block;
  font-size: 15px;
}

.frucafe-contact-note span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.45;
}

.frucafe-map-card iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: 0;
}

.frucafe-chat-fallback {
  display: none;
  margin-top: 20px;
}

.frucafe-chat-fallback.is-visible {
  display: block;
}

@media (max-width: 991px) {
  .frucafe-contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .frucafe-chat {
    min-height: 620px;
  }

  .frucafe-chat--float {
    right: 10px;
    bottom: 78px;
    width: calc(100vw - 20px);
  }

  .frucafe-chat__body {
    padding: 16px;
  }

  .frucafe-chat__quick {
    grid-template-columns: 1fr;
  }

  .frucafe-chat__bubble {
    max-width: 88%;
    font-size: 14px;
  }

  .frucafe-chat-launcher span {
    display: none;
  }
}
