/* Become Taller Chat Widget — iOS tarzı "liquid glass": buzlu cam, kenar ışığı, yaylı hareket.
   Site renkleri: turkuaz #27a1a3 / koyu #196d6f, font siteden (Proxima Nova). */

.btc-cw {
  --btc-cw-teal: #27a1a3;
  --btc-cw-teal-dark: #196d6f;
  --btc-cw-ink: #10262e;
  --btc-cw-muted: #5f6f76;
  --btc-cw-fill: rgba(118, 118, 128, 0.12);
  --btc-cw-line: rgba(16, 38, 46, 0.08);
  --btc-cw-wa: #25d366;
  --btc-cw-wechat: #07c160;
  --btc-cw-linegreen: #06c755;
  --btc-cw-glass: rgba(255, 255, 255, 0.58);
  --btc-cw-glass-strong: rgba(250, 252, 252, 0.8);
  --btc-cw-blur: blur(22px) saturate(185%);
  --btc-cw-side: 20px;
  --btc-cw-bottom: 20px;
  --btc-cw-lift: 0px;
  --btc-cw-fab: 60px;
  --btc-cw-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --btc-cw-spring: cubic-bezier(0.34, 1.4, 0.64, 1);

  position: fixed;
  right: var(--btc-cw-side);
  bottom: calc(var(--btc-cw-bottom) + var(--btc-cw-lift));
  z-index: 99990;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.45;
  color: var(--btc-cw-ink);
  -webkit-font-smoothing: antialiased;
  transition: bottom 0.35s var(--btc-cw-ease);
}

/* Tema (Flatsome) buton/link stillerinden yalıtım */
.btc-cw *,
.btc-cw *::before,
.btc-cw *::after {
  box-sizing: border-box;
}

.btc-cw button {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  min-height: 0;
  min-width: 0;
  line-height: inherit;
  letter-spacing: normal;
  text-transform: none;
  text-shadow: none;
  box-shadow: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.btc-cw a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.btc-cw p {
  margin: 0;
  padding: 0;
}

.btc-cw img {
  max-width: none;
  border: 0;
}

.btc-cw svg {
  display: block;
  flex-shrink: 0;
}

.btc-cw button:focus-visible,
.btc-cw a:focus-visible {
  outline: 2px solid var(--btc-cw-teal);
  outline-offset: 3px;
}

/* ---------- Cam malzeme ---------- */

.btc-cw .btc-cw__glass {
  position: relative;
  background: var(--btc-cw-glass);
  -webkit-backdrop-filter: var(--btc-cw-blur);
  backdrop-filter: var(--btc-cw-blur);
  box-shadow: 0 10px 34px rgba(16, 38, 46, 0.16), 0 1px 3px rgba(16, 38, 46, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

/* Kenar ışığı: üst-sol ve alt-sağda parlayan ince çerçeve */
.btc-cw .btc-cw__glass::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    140deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.25) 30%,
    rgba(255, 255, 255, 0.08) 55%,
    rgba(255, 255, 255, 0.55) 100%
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
  z-index: 3;
}

/* ---------- Ana buton ---------- */

.btc-cw .btc-cw__launcher {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(22px) scale(0.85);
  transition: opacity 0.4s var(--btc-cw-ease), transform 0.7s var(--btc-cw-spring);
}

.btc-cw--ready .btc-cw__launcher {
  opacity: 1;
  transform: none;
}

.btc-cw .btc-cw__label {
  display: inline-flex;
  align-items: center;
  max-width: 280px;
  padding: 10px 17px;
  border-radius: 999px;
  color: var(--btc-cw-ink);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  transition: max-width 0.5s var(--btc-cw-ease), padding 0.5s var(--btc-cw-ease), opacity 0.3s ease,
    color 0.35s ease, transform 0.5s var(--btc-cw-spring);
}

.btc-cw .btc-cw__label-text {
  position: relative;
  z-index: 1;
}

.btc-cw--compact .btc-cw__label,
.btc-cw--open .btc-cw__label,
.btc-cw--teaser .btc-cw__label {
  max-width: 0;
  padding-left: 0;
  padding-right: 0;
  opacity: 0;
  pointer-events: none;
}

/* Düz turkuaz düğme */
.btc-cw .btc-cw__fab {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: var(--btc-cw-fab);
  height: var(--btc-cw-fab);
  border-radius: 50%;
  color: #fff;
  background: var(--btc-cw-teal);
  box-shadow: 0 8px 22px rgba(25, 109, 111, 0.28);
  transition: transform 0.5s var(--btc-cw-spring), background 0.25s ease, box-shadow 0.3s ease;
}

.btc-cw .btc-cw__launcher:hover .btc-cw__fab {
  transform: scale(1.06);
  background: #2297a0;
  box-shadow: 0 10px 26px rgba(25, 109, 111, 0.32);
}

/* Hale: düğmenin arkasında her yöne eşit nefes alan bulanık turkuaz parıltı. Dönmez, düğme hep daire görünür.
   Sürekli; panel açıkken söner. */
.btc-cw .btc-cw__aura {
  position: absolute;
  right: 0;
  top: 50%;
  z-index: 0;
  width: var(--btc-cw-fab);
  height: var(--btc-cw-fab);
  margin-top: calc(var(--btc-cw-fab) / -2);
  border-radius: 50%;
  background: rgba(39, 161, 163, 0.75);
  filter: blur(12px);
  pointer-events: none;
  animation: btcCwBreathe 3.4s ease-in-out infinite;
  transition: opacity 0.35s ease;
}

/* Parıltı: birkaç saniyede bir düğme yüzeyinden çapraz geçen ince ışık */
.btc-cw .btc-cw__sheen {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  pointer-events: none;
}

.btc-cw .btc-cw__sheen::before {
  content: "";
  position: absolute;
  top: -30%;
  left: -70%;
  width: 45%;
  height: 160%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0));
  transform: rotate(22deg);
  animation: btcCwSheen 4.4s ease-in-out infinite;
}

.btc-cw--open .btc-cw__aura,
.btc-cw--open .btc-cw__sheen {
  opacity: 0;
}

/* Düğmedeki sohbet balonunun noktaları birkaç saniyede bir "yazıyor" gibi zıplar */
.btc-cw .btc-cw__dots circle {
  transform-box: fill-box;
  transform-origin: center;
  animation: btcCwDot 4.2s ease-in-out infinite;
}

.btc-cw .btc-cw__dots circle:nth-child(2) {
  animation-delay: 0.14s;
}

.btc-cw .btc-cw__dots circle:nth-child(3) {
  animation-delay: 0.28s;
}

/* Basınca sıvı gibi esner */
.btc-cw .btc-cw__launcher:active .btc-cw__fab {
  transform: scale(0.9, 0.94);
  transition-duration: 0.12s;
}

.btc-cw .btc-cw__launcher:hover .btc-cw__label {
  transform: translateX(-2px);
}

.btc-cw .btc-cw__icon {
  position: absolute;
  display: grid;
  place-items: center;
  transition: transform 0.55s var(--btc-cw-spring), opacity 0.25s ease;
}

.btc-cw .btc-cw__icon--close {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
}

.btc-cw--open .btc-cw__icon--chat {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}

.btc-cw--open .btc-cw__icon--close {
  opacity: 1;
  transform: none;
}

.btc-cw .btc-cw__badge {
  position: absolute;
  top: -3px;
  right: -3px;
  z-index: 4;
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: #ff3b30;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 0 0 2px #fff;
  opacity: 0;
  transform: scale(0);
  transition: opacity 0.2s ease, transform 0.45s var(--btc-cw-spring);
}

.btc-cw--badge .btc-cw__badge {
  opacity: 1;
  transform: scale(1);
}

/* Fiyat sayfası: etiket turkuaz cama döner, büyür, bir kez parlar; sonra panel açılır */
.btc-cw--grow .btc-cw__label {
  max-width: 340px;
  padding: 13px 21px;
  opacity: 1;
  color: #fff;
  font-size: 15px;
  background: var(--btc-cw-teal);
  box-shadow: 0 10px 26px rgba(25, 109, 111, 0.3);
  transform: translateX(-4px) scale(1.05);
}

.btc-cw--grow .btc-cw__label::after {
  display: none;
}

.btc-cw--grow .btc-cw__fab {
  animation: btcCwJelly 0.9s var(--btc-cw-ease);
}

/* ---------- Balon (teaser) ---------- */

.btc-cw .btc-cw__teaser {
  position: absolute;
  right: 0;
  bottom: calc(var(--btc-cw-fab) + 14px);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 292px;
  max-width: calc(100vw - 2 * var(--btc-cw-side));
  padding: 13px 36px 13px 13px;
  border-radius: 22px 22px 8px 22px;
  background: var(--btc-cw-glass-strong);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(0.9);
  transform-origin: bottom right;
  transition: opacity 0.3s var(--btc-cw-ease), transform 0.6s var(--btc-cw-spring), visibility 0s linear 0.6s;
}

.btc-cw--teaser .btc-cw__teaser {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.3s var(--btc-cw-ease), transform 0.6s var(--btc-cw-spring), visibility 0s;
}

.btc-cw .btc-cw__teaser-close {
  position: absolute;
  top: 9px;
  right: 9px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: var(--btc-cw-muted);
  background: var(--btc-cw-fill);
  transition: background 0.2s ease;
}

.btc-cw .btc-cw__teaser-close:hover {
  background: rgba(118, 118, 128, 0.22);
}

.btc-cw .btc-cw__teaser-text {
  font-size: 14px;
  font-weight: 500;
  color: var(--btc-cw-ink);
  padding-top: 2px;
}

/* ---------- Avatar ---------- */

.btc-cw .btc-cw__avatar {
  position: relative;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(16, 38, 46, 0.06), 0 2px 6px rgba(16, 38, 46, 0.1);
}

.btc-cw .btc-cw__avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.btc-cw .btc-cw__avatar::after {
  content: "";
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #34c759;
  border: 2px solid #fff;
}

/* ---------- Yazıyor animasyonu ---------- */

.btc-cw .btc-cw__typing {
  display: inline-flex;
  gap: 4px;
  padding: 6px 2px;
}

.btc-cw .btc-cw__typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a3b3b8;
  animation: btcCwTyping 1s ease-in-out infinite;
}

.btc-cw .btc-cw__typing i:nth-child(2) {
  animation-delay: 0.15s;
}

.btc-cw .btc-cw__typing i:nth-child(3) {
  animation-delay: 0.3s;
}

.btc-cw .is-typing .btc-cw__typed,
.btc-cw :not(.is-typing) > .btc-cw__typing {
  display: none;
}

.btc-cw .btc-cw__typed {
  animation: btcCwFadeIn 0.35s ease;
}

/* ---------- Panel ---------- */

.btc-cw .btc-cw__panel {
  position: absolute;
  right: 0;
  bottom: calc(var(--btc-cw-fab) + 14px);
  width: 372px;
  max-width: calc(100vw - 2 * var(--btc-cw-side));
  max-height: calc(100vh - var(--btc-cw-fab) - var(--btc-cw-bottom) - 40px);
  display: flex;
  flex-direction: column;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.74) 0%, rgba(243, 249, 249, 0.66) 100%);
  -webkit-backdrop-filter: blur(36px) saturate(200%);
  backdrop-filter: blur(36px) saturate(200%);
  box-shadow: 0 30px 80px rgba(16, 38, 46, 0.26), 0 4px 14px rgba(16, 38, 46, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.88);
  transform-origin: bottom right;
  transition: opacity 0.25s var(--btc-cw-ease), transform 0.6s var(--btc-cw-spring), visibility 0s linear 0.6s;
}

.btc-cw--open .btc-cw__panel {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.25s var(--btc-cw-ease), transform 0.6s var(--btc-cw-spring), visibility 0s;
}

.btc-cw .btc-cw__head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 16px 16px 18px;
  flex-shrink: 0;
}

/* Başlığın arkasında yumuşak turkuaz ışık */
.btc-cw .btc-cw__head::before {
  content: "";
  position: absolute;
  inset: -40px -30px -10px -30px;
  background: radial-gradient(70% 90% at 15% 0%, rgba(39, 161, 163, 0.28), rgba(39, 161, 163, 0) 70%),
    radial-gradient(50% 80% at 100% 0%, rgba(120, 214, 216, 0.22), rgba(120, 214, 216, 0) 70%);
  pointer-events: none;
}

.btc-cw .btc-cw__head .btc-cw__avatar {
  width: 46px;
  height: 46px;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.85), 0 4px 12px rgba(25, 109, 111, 0.22);
}

/* Panelde çevrimiçi göstergesi yalnız "Online" yazısının yanında */
.btc-cw .btc-cw__head .btc-cw__avatar::after {
  display: none;
}

.btc-cw .btc-cw__head-text {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
}

.btc-cw .btc-cw__brand {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--btc-cw-ink);
}

/* WhatsApp'taki gibi doğrulanmış işletme rozeti */
.btc-cw .btc-cw__verified {
  display: inline-grid;
  place-items: center;
  color: #3897f0;
  flex-shrink: 0;
}

.btc-cw .btc-cw__status {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  font-size: 13px;
  color: var(--btc-cw-muted);
}

.btc-cw .btc-cw__status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34c759;
}

.btc-cw .btc-cw__close {
  position: relative;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--btc-cw-fill);
  color: rgba(16, 38, 46, 0.6);
  transition: background 0.2s ease, transform 0.4s var(--btc-cw-spring);
}

.btc-cw .btc-cw__close:hover {
  background: rgba(118, 118, 128, 0.22);
  transform: scale(1.08);
}

.btc-cw .btc-cw__body {
  position: relative;
  padding: 2px 16px 18px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.btc-cw .btc-cw__msg {
  position: relative;
  padding: 13px 16px;
  border-radius: 8px 22px 22px 22px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 10px rgba(16, 38, 46, 0.06), inset 0 0 0 1px rgba(255, 255, 255, 0.7);
  font-size: 15px;
  color: var(--btc-cw-ink);
}

.btc-cw .btc-cw__hello {
  display: block;
  margin-bottom: 3px;
  font-weight: 700;
}

/* Sıvı cam CTA */
.btc-cw .btc-cw__cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 54px;
  margin-top: 14px;
  padding: 12px 20px;
  border-radius: 999px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  background: var(--btc-cw-wa);
  overflow: hidden;
  transition: transform 0.45s var(--btc-cw-spring), background 0.2s ease;
}

.btc-cw .btc-cw__cta--wechat {
  background: var(--btc-cw-wechat);
}

.btc-cw .btc-cw__cta--line {
  background: var(--btc-cw-linegreen);
}

.btc-cw .btc-cw__cta:hover {
  transform: translateY(-1px);
  filter: brightness(0.96);
  color: #fff;
}

.btc-cw .btc-cw__cta:active {
  transform: scale(0.97, 0.94);
  transition-duration: 0.12s;
}

.btc-cw .btc-cw__cta-arrow {
  transition: transform 0.4s var(--btc-cw-spring);
}

.btc-cw .btc-cw__cta:hover .btc-cw__cta-arrow {
  transform: translateX(4px);
}

.btc-cw .btc-cw__note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 9px;
  font-size: 12.5px;
  color: var(--btc-cw-muted);
}

.btc-cw .btc-cw__note svg {
  color: var(--btc-cw-teal);
}

.btc-cw .btc-cw__or {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--btc-cw-muted);
  white-space: nowrap;
}

.btc-cw .btc-cw__or::before,
.btc-cw .btc-cw__or::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: var(--btc-cw-line);
}

.btc-cw .btc-cw__channels {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.btc-cw .btc-cw__channel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  flex: 1 1 0;
  max-width: 80px;
  padding: 2px;
  font-size: 12px;
  font-weight: 500;
  color: var(--btc-cw-muted);
  text-align: center;
  line-height: 1.2;
}

/* iOS uygulama ikonu gibi renkli kareler */
.btc-cw .btc-cw__channel-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  color: #fff;
  background: var(--btc-cw-teal);
  transition: transform 0.45s var(--btc-cw-spring);
}

.btc-cw .btc-cw__channel:hover .btc-cw__channel-icon {
  transform: translateY(-3px) scale(1.05);
}

.btc-cw .btc-cw__channel:active .btc-cw__channel-icon {
  transform: scale(0.92);
  transition-duration: 0.12s;
}

.btc-cw .btc-cw__channel--whatsapp .btc-cw__channel-icon {
  background: var(--btc-cw-wa);
}

.btc-cw .btc-cw__channel--wechat .btc-cw__channel-icon {
  background: var(--btc-cw-wechat);
}

.btc-cw .btc-cw__channel--line .btc-cw__channel-icon {
  background: var(--btc-cw-linegreen);
}

.btc-cw .btc-cw__channel--email .btc-cw__channel-icon {
  background: #1e88e5;
}

.btc-cw .btc-cw__channel--instagram .btc-cw__channel-icon {
  background: #e1306c;
}

/* Panel içeriği açılışta sırayla, hafif bulanıklıktan netleşerek gelir */
.btc-cw--open .btc-cw__body > *,
.btc-cw--open .btc-cw__head > * {
  animation: btcCwRise 0.55s var(--btc-cw-ease) both;
}

.btc-cw--open .btc-cw__body > *:nth-child(2) {
  animation-delay: 0.06s;
}

.btc-cw--open .btc-cw__body > *:nth-child(3) {
  animation-delay: 0.11s;
}

.btc-cw--open .btc-cw__body > *:nth-child(4) {
  animation-delay: 0.16s;
}

.btc-cw--open .btc-cw__body > *:nth-child(5) {
  animation-delay: 0.21s;
}

/* ---------- QR görünümü (WeChat / LINE) ---------- */

.btc-cw .btc-cw__qrview {
  display: none;
  padding: 0 16px 18px;
  text-align: center;
}

.btc-cw--qr-view .btc-cw__body {
  display: none;
}

.btc-cw--qr-view .btc-cw__qrview {
  display: block;
  animation: btcCwRise 0.45s var(--btc-cw-ease) both;
}

.btc-cw .btc-cw__back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 2px 0 8px;
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
  background: var(--btc-cw-fill);
  font-size: 13px;
  font-weight: 600;
  color: var(--btc-cw-teal-dark);
}

.btc-cw .btc-cw__qr-card {
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 10px rgba(16, 38, 46, 0.06);
}

.btc-cw .btc-cw__qr {
  display: block;
  width: 176px;
  height: 176px;
  margin: 0 auto 10px;
  border-radius: 12px;
  object-fit: contain;
}

.btc-cw .btc-cw__qr-hint {
  font-size: 13.5px;
  color: var(--btc-cw-muted);
}

.btc-cw .btc-cw__qr-id {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  padding: 7px 7px 7px 14px;
  border-radius: 999px;
  background: var(--btc-cw-fill);
  text-align: left;
}

.btc-cw .btc-cw__qr-id small {
  display: block;
  font-size: 11px;
  color: var(--btc-cw-muted);
}

.btc-cw .btc-cw__qr-id strong {
  font-size: 15px;
  font-weight: 700;
  word-break: break-all;
}

.btc-cw .btc-cw__copy {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--btc-cw-teal);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.4s var(--btc-cw-spring);
}

.btc-cw .btc-cw__copy:active {
  transform: scale(0.94);
}

.btc-cw .btc-cw__copy.is-done {
  background: #34c759;
}

.btc-cw .btc-cw__qrview .btc-cw__cta {
  min-height: 50px;
  font-size: 15px;
}

/* ---------- Sağdan sola (Arapça) ---------- */

/* Buton sağ kenarda kalır; etiket yine butonun solunda */
.btc-cw[dir="rtl"] .btc-cw__launcher {
  flex-direction: row-reverse;
}

.btc-cw[dir="rtl"] .btc-cw__msg {
  border-radius: 22px 8px 22px 22px;
}

.btc-cw[dir="rtl"] .btc-cw__cta-arrow,
.btc-cw[dir="rtl"] .btc-cw__back svg {
  transform: scaleX(-1);
}

.btc-cw[dir="rtl"] .btc-cw__cta:hover .btc-cw__cta-arrow {
  transform: scaleX(-1) translateX(4px);
}

.btc-cw[dir="rtl"] .btc-cw__teaser {
  padding: 13px 13px 13px 36px;
}

.btc-cw[dir="rtl"] .btc-cw__teaser-close {
  right: auto;
  left: 9px;
}

.btc-cw[dir="rtl"] .btc-cw__qr-id {
  text-align: right;
}

/* ---------- Mobil ---------- */

@media (max-width: 600px) {
  .btc-cw {
    --btc-cw-side: 14px;
    --btc-cw-bottom: 14px;
    --btc-cw-fab: 56px;
  }

  .btc-cw .btc-cw__label {
    font-size: 13.5px;
    padding: 9px 15px;
  }

  .btc-cw .btc-cw__panel {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: calc(var(--btc-cw-bottom) + var(--btc-cw-lift) + var(--btc-cw-fab) + 12px);
    width: auto;
    max-width: none;
    max-height: calc(100vh - var(--btc-cw-fab) - var(--btc-cw-bottom) - var(--btc-cw-lift) - 40px);
    max-height: calc(100dvh - var(--btc-cw-fab) - var(--btc-cw-bottom) - var(--btc-cw-lift) - 40px);
    border-radius: 28px;
  }

  .btc-cw .btc-cw__teaser {
    width: 272px;
  }

  .btc-cw .btc-cw__channel {
    font-size: 11.5px;
  }
}

/* Cam bulanıklığı desteklenmiyorsa ya da kullanıcı şeffaflığı azalttıysa opak yüzeyler */
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .btc-cw .btc-cw__glass,
  .btc-cw .btc-cw__teaser {
    background: rgba(255, 255, 255, 0.97);
  }

  .btc-cw .btc-cw__panel {
    background: #f6fafa;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .btc-cw .btc-cw__glass,
  .btc-cw .btc-cw__teaser {
    background: #fff;
  }

  .btc-cw .btc-cw__panel {
    background: #f6fafa;
  }
}

/* Chaty önizleme/geçiş sırasında gizlenir (Chaty'nin kendi !important kurallarını geçecek özgüllükte) */
html.btc-cw-hide-chaty body [id^="chaty-widget"].chaty,
html.btc-cw-hide-chaty body div.chaty-chat-view,
html.btc-cw-hide-chaty body div.chaty-outer-forms {
  display: none !important;
}

@media print {
  .btc-cw {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btc-cw,
  .btc-cw *,
  .btc-cw *::before,
  .btc-cw *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Animasyonlar ---------- */

@keyframes btcCwJelly {
  0% {
    transform: scale(1);
  }
  30% {
    transform: scale(1.16, 0.9);
  }
  45% {
    transform: scale(0.92, 1.1);
  }
  60% {
    transform: scale(1.06, 0.96);
  }
  75% {
    transform: scale(0.98, 1.02);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes btcCwBreathe {
  0%, 100% {
    opacity: 0.35;
    transform: scale(1.08);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.42);
  }
}

@keyframes btcCwSheen {
  0%, 55% {
    left: -70%;
  }
  80%, 100% {
    left: 130%;
  }
}

@keyframes btcCwDot {
  0%, 30%, 100% {
    transform: translateY(0);
  }
  8% {
    transform: translateY(-2.2px);
  }
  16% {
    transform: translateY(0);
  }
}

@keyframes btcCwTyping {
  0%, 60%, 100% {
    transform: translateY(0);
    opacity: 0.55;
  }
  30% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

@keyframes btcCwFadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes btcCwRise {
  from {
    opacity: 0;
    transform: translateY(10px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
}
