#customBtnChat {
  border-radius: 10px;
}

#customBtnTel {
  color: #000000;
  border: 2px solid #929296;
  border-radius: 10px;
  background: #ffffff;
}

div.card {
  position: fixed !important;
  z-index: 2147483640 !important;
}

#overlayCurtain {
  background: transparent !important;
  z-index: 2147483645 !important;
}

.magat.cmp-overlay.magat.cmp-overlay--overlay-size-s {
  width: 420px !important;
  min-height: auto !important;
  max-width: calc(100vw - 32px) !important;
}

.magat.cmp-overlay,
.magat.cmp-overlay.show {
  position: fixed !important;
  right: 24px !important;
  bottom: 24px !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  width: 420px !important;
  max-width: calc(100vw - 32px) !important;
  height: auto !important;
  min-height: unset !important;
  max-height: 80vh !important;
  padding: 32px !important;
  border-radius: 24px !important;
  background-color: #ffffff !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18), 0 4px 12px rgba(0, 0, 0, 0.08) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  z-index: 2147483646 !important;
}

.no-consent-panel {
  background: #f3f3f3;
  box-sizing: border-box;
  display: flex;
  gap: 12px;
  border-radius: 0 0 24px 24px;
  padding: 20px;
  align-items: flex-start;
  justify-content: space-between;
  flex-direction: row;
  width: calc(100% + 64px);
  margin: 24px -32px -32px -32px;
}

.no-consent-panel__text {
  font-size: 14px;
  line-height: 1.3;
}

.no-consent-panel__button {
  margin: 0 !important;
  align-self: flex-start;
  border-radius: 14px !important;
  min-height: 48px;
  padding: 0 20px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: visible !important;
}

#customBtnChat,
#customBtnTel {
  float: none !important;
  min-width: 160px;
  height: 48px;
  margin-right: 0 !important;
  border-radius: 14px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}

#customBtnChat {
  margin-left: 12px;
}

#customBtnTel {
  margin-left: 0;
}

.button-row {
  display: flex;
  gap: 10px;
}


@media (max-width: 767px) {
  .magat.cmp-overlay.magat.cmp-overlay--overlay-size-s {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
  }

  .magat.cmp-overlay,
  .magat.cmp-overlay.show {
    left: 12px !important;
    right: 12px !important;
    bottom: 12px !important;
    top: auto !important;
    width: auto !important;
    max-width: calc(100vw - 24px) !important;
    height: auto !important;
    min-height: unset !important;
    max-height: 80vh !important;
    padding: 16px !important;
    border-radius: 20px !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    overflow-y: auto !important;
    z-index: 2147483646 !important;
  }

  .no-consent-panel {
    width: calc(100% + 32px);
    margin: 16px -16px -16px -16px;
    padding: 16px;
    border-radius: 0 0 20px 20px;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 12px;
  }

  .no-consent-panel__text {
    width: 100%;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .no-consent-panel__button {
    width: 100% !important;
    max-width: 100% !important;
    align-self: stretch;
    white-space: normal;
    word-break: break-word;
    box-sizing: border-box;
  }

 .button-row {
    display: flex;
    gap: 8px;
    margin-top: 12px;
  }


#customBtnChat,
#customBtnTel {
  flex: 1 1 0;
  width: 100% !important;
  min-width: 0 !important;
  height: 48px;
  margin: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}


  #customBtnChat {
    margin-top: 0px !important;
  }
}