:root {
  --pcta-navy: #102943;
  --pcta-navy-deep: #071b36;
  --pcta-navy-soft: #173b5e;
  --pcta-gold: #d9bd72;
  --pcta-gold-hover: #f0d58a;
}

.pcta-root,
.pcta-root * { box-sizing: border-box; }

.pcta-root {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 24px;
  z-index: 2147483600;
  font-family: -apple-system, BlinkMacSystemFont, "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  pointer-events: none;
  opacity: 0;
  transform: translateY(18px);
  visibility: hidden;
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.pcta-root.is-visible {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.pcta-bar {
  width: min(1120px, 100%);
  min-height: 72px;
  margin: 0 auto;
  padding: 12px 14px 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid rgba(217, 189, 114, .4);
  border-radius: 18px;
  background: linear-gradient(135deg, var(--pcta-navy-deep) 0%, var(--pcta-navy) 64%, var(--pcta-navy-soft) 100%);
  box-shadow: 0 18px 46px rgba(7, 27, 54, .3);
  pointer-events: auto;
}

.pcta-copy { min-width: 0; }
.pcta-title {
  margin: 0 !important;
  color: #fff !important;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -.035em;
}
.pcta-description {
  margin: 4px 0 0 !important;
  color: rgba(255, 255, 255, .78) !important;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
  letter-spacing: -.015em;
}

.pcta-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pcta-button {
  min-width: 132px;
  min-height: 46px;
  padding: 11px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none !important;
  white-space: nowrap;
  transition: transform .16s ease, background .16s ease, box-shadow .16s ease;
}
.pcta-button:hover { transform: translateY(-1px); }
.pcta-button:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.pcta-button-primary {
  background: linear-gradient(135deg, var(--pcta-gold) 0%, #ecd18a 100%);
  color: var(--pcta-navy-deep) !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .18);
}
.pcta-button-primary:hover { background: var(--pcta-gold-hover); }
.pcta-button-secondary {
  border-color: rgba(255, 255, 255, .58);
  background: rgba(255, 255, 255, .08);
  color: #fff !important;
}
.pcta-button-secondary:hover { background: rgba(255, 255, 255, .16); }

/* Known Prestige-owned inline CTA families. Hidden only on a page whose rule enables replacement. */
body.pcta-replace-legacy .plg2-final,
body.pcta-replace-legacy .psd-cta,
body.pcta-replace-legacy .pcr-builder-cta,
body.pcta-replace-legacy .fair-final,
body.pcta-replace-legacy .pu-final,
body.pcta-replace-legacy .pmh-final,
body.pcta-replace-legacy .pa-final,
body.page-id-22051.pcta-replace-legacy .pgov-final {
  display: none !important;
}

/* Testimonials page legacy Enfold promo bar. */
body.page-id-17841.pcta-replace-legacy .av_promobox {
  display: none !important;
}

/* COEX page embeds unusually high-specificity ID rules for this CTA. */
html body#top#top.pcta-replace-legacy #main#main .pu-fair-2026 .fair-final {
  display: none !important;
}

/* The consultation bot used to hide this legacy plugin globally. Keep the
   replacement scoped to pages that explicitly use the contextual CTA. */
body.pcta-active .cosmosfarm-floating-menu {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

body.pcta-active #scroll-top-link { bottom: 116px !important; }

@media (max-width: 760px) {
  .pcta-root { left: 0; right: 0; bottom: 0; }
  .pcta-bar {
    width: 100%;
    min-height: 70px;
    padding: 9px 10px calc(9px + env(safe-area-inset-bottom));
    gap: 8px;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 16px 16px 0 0;
  }
  .pcta-copy { flex: 1 1 auto; }
  .pcta-title {
    overflow: hidden;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .pcta-description { display: none; }
  .pcta-actions { flex: 0 0 auto; }
  .pcta-button { min-width: 112px; min-height: 48px; padding: 10px 12px; font-size: 13px; }
  .pcta-actions.has-secondary { flex: 1 1 58%; }
  .pcta-actions.has-secondary .pcta-button { flex: 1 1 0; min-width: 0; }
  body.pcta-active #scroll-top-link { right: 18px !important; bottom: 104px !important; }
}

@media (max-width: 460px) {
  .pcta-bar.has-secondary .pcta-copy { display: none; }
  .pcta-actions.has-secondary { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .pcta-root, .pcta-button { transition: none; }
}
