/* RentEasy Satellite CTA 1.0.4 — all selectors are plugin-prefixed. */
.re-sat-smart,
.re-sat-smart *,
.re-sat-sticky,
.re-sat-sticky *,
.re-sat-reopen,
#re-sat-sticky-spacer {
  box-sizing: border-box;
}

.re-sat-smart {
  display: none;
  width: 100%;
  min-height: 76px;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  color: #24352c;
  background: #ffffff;
  border-bottom: 1px solid #e6e9e5;
  box-shadow: 0 2px 8px rgba(25, 38, 30, 0.08);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.re-sat-smart[hidden],
.re-sat-smart--native-ios,
.re-sat-smart--logged-in,
.re-sat-smart[data-re-sat-native-ios="true"] {
  display: none !important;
}

.re-sat-smart__close,
.re-sat-sticky__close {
  flex: 0 0 44px;
  width: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  color: #405047;
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.re-sat-smart__close:focus-visible,
.re-sat-sticky__close:focus-visible,
.re-sat-button:focus-visible,
.re-sat-smart__download:focus-visible,
.re-sat-reopen:focus-visible {
  outline: 3px solid #24352c;
  outline-offset: 2px;
}

.re-sat-smart__icon {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 12px;
}

.re-sat-smart__copy {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 3px;
  line-height: 1.2;
}

.re-sat-smart__copy strong {
  color: #24352c;
  font-size: 15px;
  font-weight: 700;
}

.re-sat-smart__copy span {
  color: #526158;
  font-size: 12px;
  white-space: nowrap;
}

.re-sat-smart__download,
.re-sat-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.re-sat-smart__download,
.re-sat-button--order {
  color: #ffffff;
  background: #ff6b00;
  border: 1px solid #ff6b00;
}

.re-sat-smart__download:hover,
.re-sat-smart__download:focus,
.re-sat-button--order:hover,
.re-sat-button--order:focus {
  color: #ffffff;
  background: #db5900;
  border-color: #db5900;
}

.re-sat-sticky {
  position: fixed;
  z-index: 9990;
  bottom: 0;
  left: 50%;
  width: calc(100% - 24px);
  max-width: 680px;
  transform: translateX(-50%);
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  color: #ffffff;
  background: #24352c;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 0;
  border-radius: 15px 15px 0 0;
  box-shadow: 0 -3px 18px rgba(18, 27, 21, 0.22);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.re-sat-sticky[data-re-sat-collapsed="true"],
.re-sat-sticky[data-re-sat-keyboard="true"] {
  display: none;
}

.re-sat-sticky__inner {
  display: flex;
  min-height: 56px;
  align-items: center;
  gap: 10px;
}

.re-sat-sticky__brand {
  display: flex;
  min-width: 112px;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.05;
  white-space: nowrap;
}

.re-sat-sticky__brand small {
  color: #dfe8e2;
  font-size: 11px;
  font-weight: 500;
}

.re-sat-sticky__icon {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 10px;
}

.re-sat-sticky__actions {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  gap: 8px;
}

.re-sat-button {
  flex: 1 1 0;
}

.re-sat-button--download {
  color: #ffffff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.re-sat-button--download:hover,
.re-sat-button--download:focus {
  color: #24352c;
  background: #ffffff;
  border-color: #ffffff;
}

.re-sat-sticky__close {
  flex: 0 0 44px;
  color: #ffffff;
}

.re-sat-sticky__close:hover,
.re-sat-sticky__close:focus {
  background: rgba(255, 255, 255, 0.14);
}

.re-sat-reopen {
  position: fixed;
  z-index: 9990;
  left: 12px;
  right: auto;
  bottom: calc(12px + env(safe-area-inset-bottom));
  min-width: 88px;
  min-height: 44px;
  padding: 10px 14px;
  color: #ffffff;
  background: #24352c;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 22px;
  box-shadow: 0 3px 12px rgba(18, 27, 21, 0.24);
  cursor: pointer;
  font: 700 13px/1.2 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.re-sat-reopen[hidden] {
  display: none !important;
}

/*
 * Parent-approved legacy CTA de-duplication only. DOM and href values remain
 * intact; turning off this plugin restores them. Sticky CTA suppression also
 * restores on collapse. No navbar, to-top control, WhatsApp widget, form, or
 * broad selector appears.
 */
body.re-sat-site-scaffoldhk #mobile-smart-app-banner,
body.re-sat-site-hkepallet #mobile-smart-app-banner,
body.re-sat-site-liftshk #mobile-smart-app-banner,
body.re-sat-site-excavatorhk #mobile-smart-app-banner {
  display: none !important;
}

body.re-sat-site-scaffoldhk[data-re-sat-sticky-active="true"] #scaffoldhk-sticky-cta-wrap,
body.re-sat-site-hkepallet[data-re-sat-sticky-active="true"] #scta-epallet {
  display: none !important;
}

body.re-sat-site-scaffoldhk #re-sat-reopen {
  bottom: calc(12px + var(--re-sat-sally-height, 84px) + env(safe-area-inset-bottom));
}

#re-sat-sticky-spacer,
#re-sat-yaulee-navbar-spacer {
  display: block;
  width: 100%;
  height: 0;
  min-height: 0;
  pointer-events: none;
}

@media (max-width: 767px) {
  .re-sat-smart {
    display: flex;
  }

  .re-sat-sticky {
    right: 0;
    left: 0;
    width: 100%;
    max-width: none;
    transform: none;
    border-right: 0;
    border-left: 0;
    border-radius: 14px 14px 0 0;
  }

  .re-sat-sticky__inner {
    min-height: 64px;
    gap: 7px;
  }

  .re-sat-sticky__brand {
    min-width: 77px;
    gap: 6px;
    font-size: 12px;
  }

  .re-sat-sticky__brand small {
    font-size: 10px;
  }

  .re-sat-sticky__icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
  }

  .re-sat-button {
    min-width: 0;
    padding: 10px 8px;
    font-size: 12px;
  }
}

@media (max-width: 359px) {
  .re-sat-smart {
    gap: 7px;
    padding-right: 8px;
    padding-left: 8px;
  }

  .re-sat-smart__close {
    flex-basis: 36px;
    width: 36px;
    min-width: 36px;
  }

  .re-sat-smart__icon {
    flex-basis: 44px;
    width: 44px;
    height: 44px;
  }

  .re-sat-smart__copy strong {
    font-size: 13px;
  }

  .re-sat-smart__copy span {
    font-size: 11px;
  }

  .re-sat-smart__download {
    padding-right: 10px;
    padding-left: 10px;
  }

  .re-sat-sticky__brand {
    min-width: 44px;
  }

  .re-sat-sticky__brand span {
    display: none;
  }

  .re-sat-sticky__close {
    flex-basis: 38px;
    width: 38px;
    min-width: 38px;
  }
}
