*,
*::before,
*::after {
  box-sizing: border-box;
}

.lbpromo-overlay {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}

.lbpromo-overlay.show {
  opacity: 1;
  visibility: visible;
}

.lbpromo-modal {
  position: relative;
  width: 100%;
  max-width: 640px;
  background: #f5f5f5;
  border-radius: 28px;
  padding: 34px 34px 30px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.2);
  transform: translateY(16px) scale(.98);
  transition: transform .25s ease;
  overflow: hidden;
}

.lbpromo-overlay.show .lbpromo-modal {
  transform: translateY(0) scale(1);
}

.lbpromo-close {
  position: absolute;
  top: 16px;
  right: 18px;
  border: 0;
  background: transparent;
  color: #111;
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  width: 38px;
  height: 38px;
  z-index: 2;
}

.lbpromo-close:hover {
  transform: scale(1.08);
}

.lbpromo-body {
  text-align: center;
  padding-top: 42px;
  width: 100%;
}

.lbpromo-title {
  margin: 0 0 22px;
  font-size: 48px;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: 1px;
  color: #000;
}

.lbpromo-text {
  margin: 0 auto 26px;
  max-width: 470px;
  font-size: 18px;
  line-height: 1.35;
  color: #111;
}

.lbpromo-field-wrap {
  width: 100%;
  max-width: 100%;
  margin-bottom: 16px;
  text-align: left;
}

.lbpromo-input {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 62px;
  border: 2px solid #1a1a1a;
  border-radius: 4px;
  padding: 0 18px;
  font-size: 18px;
  outline: none;
  background: #fff;
  color: #111;
}

.lbpromo-input:focus {
  border-color: #000;
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.08);
}

.lbpromo-input.lbpromo-invalid {
  border-color: #c62828;
}

.lbpromo-error {
  display: none;
  margin-top: 8px;
  font-size: 14px;
  color: #c62828;
}

.lbpromo-error.show {
  display: block;
}

.lbpromo-submit {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 56px;
  border: 0;
  border-radius: 999px;
  background: #ec008c;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 3px;
  cursor: pointer;
  transition: transform .18s ease, opacity .18s ease;
}

.lbpromo-submit:hover {
  transform: translateY(-1px);
  opacity: .92;
}

.lbpromo-no {
  margin-top: 24px;
  background: transparent;
  border: 0;
  color: #111;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 3px;
  cursor: pointer;
  padding: 8px 10px;
}

.lbpromo-no:hover {
  opacity: .7;
}

/* Mini tray */
.lbpromo-mini {
	font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  position: fixed;
  left: 16px;
  bottom: 16px;
  width: 400px;
  max-width: calc(100vw - 32px);
  z-index: 99998;
  transform: translateY(calc(100% + 30px));
  opacity: 0;
  visibility: hidden;
  transition: transform .28s ease, opacity .25s ease, visibility .25s ease;
}

.lbpromo-mini.show {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.lbpromo-mini-inner {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 18px 18px 20px;
  cursor: pointer;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.24);
  background:
    radial-gradient(circle at 18% 88%, rgba(255,255,255,0.12) 0, rgba(255,255,255,0.12) 44px, transparent 45px),
    radial-gradient(circle at 88% 20%, rgba(255,255,255,0.10) 0, rgba(255,255,255,0.10) 56px, transparent 57px),
    linear-gradient(180deg, #f973c3 0%, #ec4ca8 40%, #e93f9e 100%);
}

.lbpromo-mini-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.lbpromo-mini-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.16);
  backdrop-filter: blur(1px);
}

.lbpromo-mini-pill-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  font-size: 12px;
  line-height: 1;
}

.lbpromo-mini-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.lbpromo-mini-minbtn,
.lbpromo-mini-close {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12);
}

.lbpromo-mini-minbtn:hover,
.lbpromo-mini-close:hover {
  background: rgba(255,255,255,0.26);
}

.lbpromo-mini-body {
  color: #fff;
}

.lbpromo-mini-title {
  max-width: 400px;
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.15;
  font-weight: 800;
}

.lbpromo-mini-text {
  max-width: 320px;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 500;
}

@media (max-width: 767px) {
  .lbpromo-overlay {
    padding: 14px;
    align-items: flex-start;
  }

  .lbpromo-modal {
    max-width: 100%;
    border-radius: 20px;
    padding: 22px 18px 22px;
    margin-top: 20px;
  }

  .lbpromo-close {
    top: 10px;
    right: 12px;
    font-size: 34px;
    width: 32px;
    height: 32px;
  }

  .lbpromo-body {
    padding-top: 24px;
  }

  .lbpromo-title {
    font-size: 28px;
    margin-bottom: 16px;
  }

  .lbpromo-text {
    font-size: 16px;
    margin-bottom: 18px;
    max-width: 100%;
  }

  .lbpromo-field-wrap {
    margin-bottom: 14px;
  }

  .lbpromo-input {
    height: 54px;
    font-size: 16px;
  }

  .lbpromo-submit {
    height: 50px;
    font-size: 15px;
    letter-spacing: 2px;
  }

  .lbpromo-no {
    margin-top: 18px;
    font-size: 14px;
    letter-spacing: 2px;
  }

  .lbpromo-mini {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    max-width: none;
  }

  .lbpromo-mini-inner {
    border-radius: 20px;
    padding: 16px 14px 18px;
  }

  .lbpromo-mini-top {
    gap: 8px;
  }

  .lbpromo-mini-pill {
    min-height: 38px;
    padding: 0 12px;
    font-size: 12px;
    gap: 8px;
  }

  .lbpromo-mini-pill-icon {
    width: 20px;
    height: 20px;
    font-size: 11px;
  }

  .lbpromo-mini-minbtn,
  .lbpromo-mini-close {
    width: 32px;
    height: 32px;
    font-size: 20px;
  }

  .lbpromo-mini-title {
    max-width: 220px;
    font-size: 18px;
  }

  .lbpromo-mini-text {
    max-width: 100%;
    font-size: 14px;
  }
}