/* Çilingir Pro — base + docked float CTA (pack CSS loaded separately per site) */

/* Float is mobile-only — reserve dock space only below desktop */
body.cilingir-pro-has-float {
  padding-bottom: 5.25rem;
}

.cp-float {
  position: fixed;
  z-index: 9999;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0;
  padding: 0 0.75rem 0.75rem;
  box-sizing: border-box;
  pointer-events: none;
}

.cp-float--dock {
  flex-direction: row;
  align-items: stretch;
}

.cp-float__shell {
  pointer-events: auto;
  display: flex;
  width: 100%;
  max-width: 36rem;
  margin: 0 auto;
  padding: 0.4rem;
  gap: 0;
  border-radius: 1rem;
  background: #2a2d31;
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.38),
    0 2px 6px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.cp-float__btn {
  pointer-events: auto;
  flex: 1 1 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.15rem;
  padding: 0.8rem 1rem;
  margin: 0;
  border: 0;
  border-radius: 0;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none !important;
  color: #fff !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -2px 5px rgba(0, 0, 0, 0.28),
    0 1px 2px rgba(0, 0, 0, 0.18);
  transition: filter 0.15s ease, transform 0.15s ease;
}

.cp-float__btn:active {
  transform: translateY(1px);
  filter: brightness(0.96);
}

.cp-float__btn--call {
  background: var(--cp-primary, #5d8500);
  border-radius: 0.7rem 0 0 0.7rem;
}

.cp-float__btn--wa {
  background: #1faa55;
  border-radius: 0 0.7rem 0.7rem 0;
}

.cp-float__btn:only-child {
  border-radius: 0.7rem;
}

.cp-float__icon {
  flex-shrink: 0;
  display: block;
}

.cp-float__btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -4px;
  z-index: 1;
}

/* Inline CTAs that would sit under the float — hidden while colliding */
.cp-hero__cta.is-near-float,
.cp-page-hero__cta.is-near-float {
  display: none !important;
}

@media (min-width: 768px) {
  /* Desktop: no float dock — use in-page Tıkla Ara / WhatsApp only */
  body.cilingir-pro-has-float {
    padding-bottom: 0;
  }
  .cp-float {
    display: none !important;
  }
}
