/* UP Makine — AI Canlı Destek */

:root {
  --up-chat-primary: #0047ab;
  --up-chat-primary-dark: #003380;
  --up-chat-primary-light: #0560d4;
  --up-chat-surface: #ffffff;
  --up-chat-bg: #f1f5f9;
  --up-chat-text: #0f172a;
  --up-chat-muted: #64748b;
  --up-chat-border: #e2e8f0;
  --up-chat-shadow: 0 20px 50px rgba(15, 23, 42, 0.18), 0 8px 20px rgba(0, 71, 171, 0.12);
  --up-chat-radius: 18px;
  --up-chat-z: 99990;
}

.up-live-chat {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right, 0px));
  bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
  z-index: var(--up-chat-z);
  font-family: Inter, system-ui, -apple-system, sans-serif;
  pointer-events: none;
}

.up-live-chat:not(.is-ready) .up-live-chat__panel,
.up-live-chat:not(.is-ready) .up-live-chat__preview {
  display: none !important;
}

.up-live-chat:not(.is-ready) .up-live-chat__fab {
  pointer-events: auto;
}

.up-live-chat:not(.is-ready) {
  pointer-events: auto;
}

@media (min-width: 1024px) {
  .up-live-chat {
    bottom: 1.15rem;
  }
}

.up-live-chat.is-ready {
  pointer-events: auto;
}

.up-live-chat.is-open .up-live-chat__fab {
  opacity: 0;
  visibility: hidden;
  transform: scale(0.85) translateY(8px);
  pointer-events: none;
}

/* Desktop hoş geldin önizlemesi (Tawk tarzı) */
.up-live-chat__preview {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.85rem);
  width: min(360px, calc(100vw - 2rem));
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.55rem;
  pointer-events: auto;
  animation: up-chat-preview-in 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes up-chat-preview-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.up-live-chat__preview-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: #fff;
  color: var(--up-chat-muted);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.12);
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.up-live-chat__preview-close:hover {
  color: var(--up-chat-text);
  background: #f8fafc;
}

.up-live-chat__preview-close:focus-visible {
  outline: 2px solid var(--up-chat-primary);
  outline-offset: 2px;
}

.up-live-chat__preview-bubble {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border-bottom-right-radius: 0;
  background: #fff;
  color: var(--up-chat-text);
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.12);
  border: 1px solid var(--up-chat-border);
  cursor: pointer;
  text-align: left;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.up-live-chat__preview-bubble:hover {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.14);
  transform: translateY(-1px);
}

.up-live-chat__preview-bubble:focus-visible {
  outline: 2px solid var(--up-chat-primary);
  outline-offset: 2px;
}

.up-live-chat__preview-text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.45;
  font-weight: 500;
}

.up-live-chat__preview-wave {
  margin-right: 0.15rem;
}

.up-live-chat__preview-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
  width: 100%;
}

.up-live-chat__preview-btn {
  display: block;
  width: 100%;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--up-chat-border);
  border-radius: 10px;
  background: #fff;
  color: var(--up-chat-text);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.up-live-chat__preview-btn:hover {
  border-color: rgba(0, 71, 171, 0.35);
  color: var(--up-chat-primary);
  background: #f8fbff;
}

.up-live-chat__preview-btn:active {
  transform: scale(0.99);
}

.up-live-chat__preview-btn:focus-visible {
  outline: 2px solid var(--up-chat-primary);
  outline-offset: 2px;
}

.up-live-chat.is-open .up-live-chat__preview,
.up-live-chat.is-preview-dismissed .up-live-chat__preview {
  display: none !important;
}

/* FAB */
.up-live-chat__fab {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.15rem 0.85rem 0.95rem;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--up-chat-primary-light), var(--up-chat-primary));
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 71, 171, 0.38);
  transition: transform 0.22s ease, box-shadow 0.22s ease, opacity 0.2s ease, visibility 0.2s ease;
  position: relative;
  overflow: visible;
}

.up-live-chat__fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0, 71, 171, 0.45);
}

.up-live-chat__fab:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.up-live-chat__fab-pulse {
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  border: 2px solid rgba(0, 71, 171, 0.45);
  animation: up-chat-pulse 2.4s ease-out infinite;
  pointer-events: none;
}

@keyframes up-chat-pulse {
  0% { transform: scale(1); opacity: 0.7; }
  70% { transform: scale(1.12); opacity: 0; }
  100% { transform: scale(1.12); opacity: 0; }
}

.up-live-chat__fab-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.up-live-chat__fab-icon-close { display: none; }

/* Panel */
.up-live-chat__panel {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(400px, calc(100vw - 2rem));
  height: min(620px, calc(100dvh - 7rem));
  max-height: calc(100dvh - 7rem);
  display: flex;
  flex-direction: column;
  background: var(--up-chat-surface);
  border-radius: var(--up-chat-radius);
  box-shadow: var(--up-chat-shadow);
  border: 1px solid var(--up-chat-border);
  overflow: hidden;
  transform-origin: bottom right;
  animation: up-chat-panel-in 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes up-chat-panel-in {
  from { opacity: 0; transform: scale(0.92) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.up-live-chat__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1rem 0.9rem 1.1rem;
  background: var(--up-chat-primary);
  color: #fff;
  flex-shrink: 0;
}

.up-live-chat__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.up-live-chat__avatar {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem;
  overflow: hidden;
}

.up-live-chat__avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.up-live-chat__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
}

.up-live-chat__status {
  margin: 0.15rem 0 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
}

.up-live-chat__status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.35);
  animation: up-chat-dot 2s ease-in-out infinite;
}

@keyframes up-chat-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

.up-live-chat__header-actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
}

.up-live-chat__icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease;
}

.up-live-chat__icon-btn:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* Panel body — mesaj + chip alanı kaydırılabilir */
.up-live-chat__body {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

/* Messages */
.up-live-chat__messages {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  padding: 1rem 1rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.up-live-chat__msg {
  display: flex;
  flex-direction: column;
  max-width: 88%;
  animation: up-chat-msg-in 0.22s ease;
}

.up-live-chat__msg--bot {
  align-self: flex-start;
  max-width: 94%;
  min-width: 0;
}

.up-live-chat__msg-row {
  display: flex;
  align-items: flex-end;
  gap: 0.45rem;
  min-width: 0;
  width: 100%;
}

.up-live-chat__msg-avatar {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--up-chat-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.22rem;
  overflow: hidden;
}

.up-live-chat__msg-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.up-live-chat__msg-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

@keyframes up-chat-msg-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.up-live-chat__msg--user { align-self: flex-end; }

.up-live-chat__bubble {
  padding: 0.7rem 0.9rem;
  border-radius: 14px;
  font-size: 0.9rem;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
}

.up-live-chat__msg--bot .up-live-chat__bubble {
  background: #f8fafc;
  color: var(--up-chat-text);
  border: 1px solid var(--up-chat-border);
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
  white-space: normal;
}

.up-live-chat__sender {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--up-chat-muted);
  margin-bottom: 0.3rem;
  line-height: 1.2;
}

.up-live-chat__text {
  font-size: 0.9rem;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--up-chat-text);
}

.up-live-chat__msg--user .up-live-chat__bubble {
  background: linear-gradient(135deg, var(--up-chat-primary-light), var(--up-chat-primary));
  color: #fff;
  border-bottom-right-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 71, 171, 0.25);
}

.up-live-chat__time {
  font-size: 0.68rem;
  color: var(--up-chat-muted);
  margin-top: 0.25rem;
  padding: 0 0.25rem;
}

.up-live-chat__msg--user .up-live-chat__time {
  text-align: right;
}

/* Typing */
.up-live-chat__typing {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1rem 0.5rem;
  font-size: 0.78rem;
  color: var(--up-chat-muted);
  flex-shrink: 0;
}

.up-live-chat__typing-dots {
  display: inline-flex;
  gap: 3px;
}

.up-live-chat__typing-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--up-chat-primary);
  animation: up-chat-bounce 1.2s ease-in-out infinite;
}

.up-live-chat__typing-dots span:nth-child(2) { animation-delay: 0.15s; }
.up-live-chat__typing-dots span:nth-child(3) { animation-delay: 0.3s; }

@keyframes up-chat-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.45; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* Inline chips — 2 sütun (mobil + masaüstü tutarlı) */
.up-live-chat__inline-chips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 0.4rem;
  margin-top: 0.65rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.up-live-chat__msg--bot .up-live-chat__inline-chips {
  max-width: 100%;
}

.up-live-chat__chip {
  border: 1px solid #bfdbfe;
  background: #fff;
  color: var(--up-chat-primary);
  border-radius: 10px;
  padding: 0.45rem 0.55rem;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
  text-align: center;
  line-height: 1.3;
  word-break: break-word;
  width: 100%;
  min-width: 0;
  white-space: normal;
}

.up-live-chat__chip:hover {
  background: #eff6ff;
  border-color: var(--up-chat-primary);
}

.up-live-chat__chip:active {
  transform: scale(0.97);
}

/* Kiralama formu */
.up-live-chat__rental-form {
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px dashed var(--up-chat-border);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.up-live-chat__rental-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.up-live-chat__field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.72rem;
  color: var(--up-chat-muted);
}

.up-live-chat__field--full {
  grid-column: 1 / -1;
}

.up-live-chat__field span em,
.up-live-chat__fieldset legend em {
  color: #dc2626;
  font-style: normal;
}

.up-live-chat__field input,
.up-live-chat__field textarea,
.up-live-chat__field select,
.up-live-chat__period-row input,
.up-live-chat__period-row select {
  border: 1px solid var(--up-chat-border);
  border-radius: 8px;
  padding: 0.45rem 0.55rem;
  font-size: 0.82rem;
  font-family: inherit;
  color: var(--up-chat-text);
  background: #fff;
  width: 100%;
  box-sizing: border-box;
}

.up-live-chat__field input:focus,
.up-live-chat__field textarea:focus,
.up-live-chat__period-row input:focus,
.up-live-chat__period-row select:focus {
  outline: none;
  border-color: #93c5fd;
  box-shadow: 0 0 0 2px rgba(0, 71, 171, 0.1);
}

.up-live-chat__fieldset {
  border: none;
  margin: 0;
  padding: 0;
}

.up-live-chat__fieldset legend {
  font-size: 0.72rem;
  color: var(--up-chat-muted);
  margin-bottom: 0.35rem;
  padding: 0;
}

.up-live-chat__radio {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--up-chat-text);
  margin-bottom: 0.3rem;
  cursor: pointer;
}

.up-live-chat__variants {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}

.up-live-chat__variant {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0.45rem 0.55rem;
  border: 1px solid var(--up-chat-border);
  border-radius: 10px;
  background: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--up-chat-text);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.up-live-chat__variant input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.up-live-chat__variant.is-active {
  border-color: var(--up-chat-primary);
  background: rgba(0, 71, 171, 0.08);
  color: var(--up-chat-primary);
  box-shadow: 0 0 0 1px rgba(0, 71, 171, 0.12);
}

.up-live-chat__variant:focus-within {
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 71, 171, 0.18);
}

.up-live-chat__period-row {
  display: flex;
  gap: 0.45rem;
}

.up-live-chat__period-row input {
  width: 4.5rem;
  flex-shrink: 0;
}

.up-live-chat__rental-submit {
  border: none;
  border-radius: 10px;
  padding: 0.6rem 0.85rem;
  background: linear-gradient(135deg, var(--up-chat-primary-light), var(--up-chat-primary));
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.1s ease;
}

.up-live-chat__rental-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.up-live-chat__rental-submit:not(:disabled):hover {
  transform: translateY(-1px);
}

.up-live-chat__inline-chips .up-live-chat__chip:only-child {
  grid-column: 1 / -1;
}

.up-live-chat__inline-chips .up-live-chat__chip:last-child:nth-child(odd):not(:only-child) {
  grid-column: 1 / -1;
}

@media (max-width: 380px) {
  .up-live-chat__rental-grid {
    grid-template-columns: 1fr;
  }
}

/* Ürün carousel */
.up-live-chat__carousel-wrap {
  margin-top: 0.5rem;
  margin-left: -0.15rem;
  margin-right: -0.15rem;
}

.up-live-chat__carousel {
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.15rem 0.15rem 0.35rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
}

.up-live-chat__carousel::-webkit-scrollbar {
  height: 5px;
}

.up-live-chat__carousel::-webkit-scrollbar-thumb {
  background: rgba(0, 71, 171, 0.28);
  border-radius: 4px;
}

.up-live-chat__product-card {
  flex: 0 0 8.5rem;
  width: 8.5rem;
  scroll-snap-align: start;
  border: 1px solid var(--up-chat-border);
  border-radius: 12px;
  background: #fff;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
  transition: border-color 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
}

.up-live-chat__product-card:hover {
  border-color: #93c5fd;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 71, 171, 0.12);
}

.up-live-chat__product-card:active {
  transform: scale(0.98);
}

.up-live-chat__product-img {
  display: block;
  width: 100%;
  height: 5.25rem;
  object-fit: contain;
  background: #f8fafc;
  padding: 0.35rem;
  box-sizing: border-box;
}

.up-live-chat__product-card--parts .up-live-chat__product-img {
  background: #fff;
}

.up-live-chat__product-title {
  display: block;
  padding: 0.4rem 0.45rem 0.15rem;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--up-chat-text);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.up-live-chat__product-sub {
  display: block;
  padding: 0 0.45rem;
  font-size: 0.62rem;
  color: var(--up-chat-muted);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.up-live-chat__product-meta {
  display: block;
  padding: 0.15rem 0.45rem 0.45rem;
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--up-chat-primary);
}

.up-live-chat__product-spec {
  display: block;
  padding: 0.1rem 0.45rem 0;
  font-size: 0.6rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--up-chat-primary);
}

.up-live-chat__product-spec--capacity {
  padding-bottom: 0.4rem;
  color: #0f766e;
}

/* Composer */
.up-live-chat__composer {
  flex-shrink: 0;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
  background: #fff;
  border-top: 1px solid var(--up-chat-border);
}

.up-live-chat__form {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  padding: 0.35rem;
  border: 1px solid var(--up-chat-border);
  border-radius: 14px;
  background: #f8fafc;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.up-live-chat__form:focus-within {
  border-color: #93c5fd;
  box-shadow: 0 0 0 3px rgba(0, 71, 171, 0.1);
  background: #fff;
}

.up-live-chat__input {
  flex: 1 1 auto;
  border: none;
  background: transparent;
  resize: none;
  min-height: 1.5rem;
  max-height: 6rem;
  padding: 0.45rem 0.5rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--up-chat-text);
  font-family: inherit;
}

.up-live-chat__input:focus {
  outline: none;
}

.up-live-chat__send {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--up-chat-primary-light), var(--up-chat-primary));
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.15s ease, transform 0.1s ease;
}

.up-live-chat__send:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.up-live-chat__send:not(:disabled):hover {
  transform: scale(1.04);
}

.up-live-chat__footer-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.55rem;
  font-size: 0.72rem;
  color: var(--up-chat-muted);
}

.up-live-chat__meta-link {
  border: none;
  background: none;
  padding: 0;
  color: var(--up-chat-primary);
  font-weight: 600;
  cursor: pointer;
  font-size: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.up-live-chat__meta-link:hover {
  color: var(--up-chat-primary-dark);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Mobile — alt bar Canlı Destek kullanılır, yüzen FAB gizli */
.up-live-chat__contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 0.65rem;
  padding-top: 0.55rem;
  border-top: 1px dashed var(--up-chat-border);
}

.up-live-chat__contact-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--up-chat-primary);
  text-decoration: none;
}

.up-live-chat__contact-link:hover {
  text-decoration: underline;
}

@media (max-width: 1023.98px) {
  .up-live-chat__preview {
    display: none !important;
  }

  .up-live-chat:not(.is-open) {
    pointer-events: none;
  }

  .up-live-chat {
    bottom: 0;
  }

  .up-live-chat__fab {
    display: none !important;
  }

  .up-live-chat__fab-label {
    display: none;
  }

  .up-live-chat__scrim {
    position: fixed;
    inset: 0;
    width: 100%;
    min-height: 100dvh;
    min-height: -webkit-fill-available;
    background: #ffffff;
    z-index: 0;
    pointer-events: auto;
  }

  .up-live-chat.is-open {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    pointer-events: none;
    z-index: var(--up-chat-z);
  }

  .up-live-chat.is-open .up-live-chat__panel {
    position: fixed;
    z-index: 1;
    display: flex;
    flex-direction: column;
    max-height: none;
    border-radius: 0;
    border: none;
    background: var(--up-chat-surface);
    box-shadow: none;
    pointer-events: auto;
    overflow: hidden;
  }

  .up-live-chat__body {
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
  }

  .up-live-chat__rental-form {
    max-height: none;
  }

  .up-live-chat__inline-chips {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    justify-items: stretch;
    gap: 0.4rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: visible;
    padding-bottom: 0;
    touch-action: auto;
  }

  .up-live-chat__inline-chips .up-live-chat__chip {
    flex: none;
    width: 100%;
    min-width: 0;
    max-width: none;
    white-space: normal;
  }

  /* Tek buton tam genişlik; 3/5 gibi tek kalan alt satır ortalanmış tam satır */
  .up-live-chat__inline-chips .up-live-chat__chip:only-child {
    grid-column: 1 / -1;
  }

  .up-live-chat__inline-chips .up-live-chat__chip:last-child:nth-child(odd):not(:only-child) {
    grid-column: 1 / -1;
  }

  /* iOS: 16px altı input odaklanınca otomatik zoom yapar */
  .up-live-chat__input,
  .up-live-chat__field input,
  .up-live-chat__field textarea,
  .up-live-chat__field select,
  .up-live-chat__period-row input,
  .up-live-chat__period-row select {
    font-size: 16px;
  }

  .up-live-chat__rental-form .up-live-chat__field,
  .up-live-chat__rental-form .up-live-chat__fieldset,
  .up-live-chat__rental-form .up-live-chat__period-row {
    scroll-margin-top: 4.5rem;
    scroll-margin-bottom: 5.5rem;
  }

  html.up-live-chat-open,
  body.up-live-chat-open {
    overflow: hidden;
    background: #ffffff !important;
  }

  .up-live-chat.is-keyboard-open .up-live-chat__composer {
    padding-bottom: 0.75rem;
  }

  .up-live-chat.is-keyboard-open .up-live-chat__scrim {
    background: #ffffff;
  }
}

@media (min-width: 1024px) {
  body.up-live-chat-open {
    overflow: hidden;
  }
}

/* Mobile bar chat — ek stiller ai-chat.css içinde; ana stiller app.css'te */