body.renew-widget-enabled {
  --renew-widget-olive: #8ea476;
  --renew-widget-olive-dark: #46592e;
  --renew-widget-ink: #2b2b2b;
  --renew-widget-muted: #777;
  --renew-widget-line: #ecece6;
  --renew-widget-soft: #eff2e7;
}

.renew-widget,
.renew-widget * {
  box-sizing: border-box;
}

.renew-widget {
  position: fixed;
  right: 32px;
  bottom: 30px;
  z-index: 900;
  color: var(--renew-widget-ink, #2b2b2b);
  font-family: "Onest Regular", Onest, Arial, sans-serif;
}

.renew-widget button,
.renew-widget a {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

.renew-widget button:focus-visible,
.renew-widget a:focus-visible {
  outline: 3px solid #536d37;
  outline-offset: 3px;
}

.renew-widget [hidden] {
  display: none !important;
}

.renew-widget__fab {
  position: relative;
  display: flex;
  width: 68px;
  height: 68px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 50%;
  background: var(--renew-widget-olive-dark, #46592e);
  color: #fff;
  box-shadow: 0 4px 18px rgba(35, 44, 23, .22);
  cursor: pointer;
  transition: background-color .18s ease, transform .18s ease;
}

.renew-widget__fab:hover {
  background: var(--renew-widget-olive, #8ea476);
  transform: translateY(-2px);
}

.renew-widget__fab svg {
  width: 29px;
  height: 29px;
  stroke-width: 1.55;
}

.renew-widget__fab-dot {
  position: absolute;
  top: 3px;
  right: 2px;
  width: 13px;
  height: 13px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #dce5ce;
}

.renew-widget__card {
  position: absolute;
  right: -10px;
  bottom: 82px;
  width: min(352px, calc(100vw - 32px));
  max-height: calc(100vh - 112px);
  overflow-y: auto;
  padding: 44px 20px 14px;
  border: 1px solid rgba(43, 43, 43, .06);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 42px rgba(30, 35, 26, .2);
}

.renew-widget__close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 1;
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--renew-widget-muted, #777);
  cursor: pointer;
}

.renew-widget__close:hover {
  background: var(--renew-widget-soft, #eff2e7);
  color: var(--renew-widget-ink, #2b2b2b);
}

.renew-widget__close svg {
  width: 18px;
  height: 18px;
}

.renew-widget__card-actions {
  display: flex;
  flex-direction: column;
}

.renew-widget__row {
  display: flex;
  width: 100%;
  min-height: 68px;
  align-items: center;
  gap: 14px;
  padding: 9px 2px;
  border: 0;
  border-bottom: 1px solid var(--renew-widget-line, #ecece6);
  background: transparent;
  color: var(--renew-widget-ink, #2b2b2b);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.renew-widget__card-actions > :last-child {
  border-bottom: 0;
}

.renew-widget__row:hover .renew-widget__row-label {
  color: var(--renew-widget-olive-dark, #46592e);
}

.renew-widget__icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--renew-widget-soft, #eff2e7);
  color: var(--renew-widget-olive-dark, #46592e);
}

.renew-widget__icon svg {
  display: block;
}

.renew-widget__row-label {
  flex: 1 1 auto;
  font-size: 15px;
  line-height: 1.35;
  transition: color .18s ease;
}

.renew-widget__row-chevron {
  display: inline-flex;
  flex: 0 0 20px;
  align-items: center;
  justify-content: center;
  color: #777;
}

.renew-widget__row-chevron svg {
  width: 18px;
  height: 18px;
}

.renew-widget__row-chevron--toggle {
  transition: transform .18s ease;
}

.renew-widget__message-row [aria-expanded="true"] .renew-widget__row-chevron--toggle {
  transform: rotate(180deg);
}

.renew-widget__messengers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 8px 0 12px 61px;
  border-bottom: 1px solid var(--renew-widget-line, #ecece6);
}

.renew-widget__messenger {
  display: inline-flex;
  max-width: 100%;
  min-height: 36px;
  align-items: center;
  gap: 6px;
  padding: 2px 3px;
  border-radius: 18px;
  color: var(--renew-widget-ink, #2b2b2b);
  font-size: 11px !important;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.renew-widget__messenger:hover {
  background: var(--renew-widget-soft, #eff2e7);
}

.renew-widget__messenger-icon {
  display: inline-grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  place-items: center;
  border-radius: 50%;
  background: #e6e8df;
  color: var(--renew-widget-olive-dark, #46592e);
  font-family: "Onest Medium", Arial, sans-serif;
  font-size: 13px;
}

.renew-widget__messenger--whatsapp .renew-widget__messenger-icon {
  background: #20c76a;
  color: #fff;
}

.renew-widget__messenger--telegram .renew-widget__messenger-icon {
  background: #27a7e7;
  color: #fff;
}

.renew-widget__messenger--max .renew-widget__messenger-icon {
  background: #6554f0;
  color: #fff;
}

.renew-widget__mobile-bar {
  display: none;
}

@media (max-width: 1235px) {
  body.renew-widget-enabled {
    padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px));
  }

  .renew-widget {
    position: static;
    z-index: 900;
  }

  .renew-widget__fab,
  .renew-widget__card {
    display: none !important;
  }

  .renew-widget__mobile-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 900;
    display: flex;
    min-height: calc(78px + env(safe-area-inset-bottom, 0px));
    align-items: flex-start;
    justify-content: space-around;
    gap: 0;
    padding: 7px 4px calc(7px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(43, 43, 43, .07);
    border-radius: 20px 20px 0 0;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 -5px 24px rgba(30, 35, 26, .12);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }

  .renew-widget__mobile-action {
    display: flex;
    width: 25%;
    min-width: 0;
    min-height: 62px;
    flex: 1 1 25%;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    padding: 0 2px;
    border: 0;
    background: transparent;
    color: var(--renew-widget-ink, #2b2b2b);
    text-decoration: none;
    cursor: pointer;
  }

  .renew-widget__mobile-action .renew-widget__icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
  }

  .renew-widget__mobile-action .renew-widget__icon svg {
    width: 21px;
    height: 21px;
  }

  .renew-widget__label {
    display: block;
    max-width: 100%;
    overflow: hidden;
    color: var(--renew-widget-ink, #2b2b2b);
    font-size: 11px;
    line-height: 1.25;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .renew-widget__mobile-action:hover .renew-widget__icon,
  .renew-widget__mobile-action[aria-expanded="true"] .renew-widget__icon {
    background: #e4ead9;
  }

  .renew-widget__mobile-action:disabled {
    cursor: not-allowed;
    opacity: .48;
  }

  .renew-widget__mobile-bar > .renew-widget__messengers {
    position: absolute;
    right: 50%;
    bottom: calc(100% + 9px + env(safe-area-inset-bottom, 0px));
    display: flex;
    width: max-content;
    max-width: calc(100vw - 24px);
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 2px;
    padding: 8px;
    transform: translateX(50%);
    border: 1px solid rgba(43, 43, 43, .06);
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(30, 35, 26, .18);
  }

  .renew-widget__mobile-bar > .renew-widget__messengers[hidden] {
    display: none !important;
  }

  .renew-widget__mobile-bar .renew-widget__messenger {
    min-height: 44px;
    gap: 10px;
    padding: 5px 10px;
    font-size: 14px !important;
  }
}

@media (max-width: 360px) {
  .renew-widget__mobile-bar {
    padding-right: 2px;
    padding-left: 2px;
  }

  .renew-widget__mobile-action .renew-widget__label {
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .renew-widget *,
  .renew-widget *::before,
  .renew-widget *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}
