/* Aydın köməkçi — üzən düymə + panel (techbar-aydin-komekci, YALNIZ staging).
   Rəng yalnız token: öz tokenlərimiz .tbak kökündə techbar-ui (--tb-*) və staging dizayn qatı (--tbd-*) tokenlərindən qurulur;
   sərt rəng yalnız var() ehtiyatında və token tərifindədir. Sayt yalnız işıqlı rejimdədir.
   Prefiks tbak-. Aydının mövcud sinifləri (ayds-, ayd- …) işlədilmir — aydin-fx.js onları tutub animasiya edir.
   Woodmart-ın ümumi button / input / a üslubları içəri sızmasın deyə hər element sinif seçicisi ilə tam yazılıb. */

/* ═══════════ 1. Tokenlər ═══════════ */
.tbak {
	--tbak-ink: var(--tb-ink, #0B1220);
	--tbak-ink-2: var(--tb-ink-2, #3A4353);
	--tbak-muted: var(--tb-muted, #5B6475);
	--tbak-line: var(--tb-line, #ECEEF2);
	--tbak-field: var(--tb-field, #C9CED6);
	--tbak-btn-line: var(--tb-btn-line, #DCE0E8);
	--tbak-blue: var(--tb-blue, #1550E0);
	--tbak-blue-d: var(--tb-blue-d, #0F3BAA);
	--tbak-soft: var(--tb-blue-soft, #EEF3FF);
	--tbak-soft-line: #DCE6FB;                                /* baloncuq kənarı (aydin-sifaris hover tonu) */
	--tbak-green: var(--tb-green, #12805C);
	--tbak-green-soft: var(--tb-green-soft, #E7F5EE);
	--tbak-red: var(--tb-red, #C2362F);
	--tbak-red-soft: var(--tb-red-soft, #FDEDEC);
	--tbak-amber: var(--tb-amber, #A15C07);
	--tbak-amber-soft: var(--tb-amber-soft, #FDF3E3);
	--tbak-page: var(--tbd-page, var(--tb-well, #F4F5F7));    /* panel gövdəsi — boz-mavi ayrılma */
	--tbak-card: var(--tbd-card, #FFFFFF);
	--tbak-card-line: var(--tbd-card-line, var(--tb-line, #ECEEF2));
	--tbak-card-line-h: var(--tbd-card-line-h, #B6C1D6);
	--tbak-navy: var(--tbd-navy, var(--tb-blue-d, #0F3BAA));  /* başlıq zolağı — sayt header-i ilə eyni */
	--tbak-on-dark: var(--tbd-on-dark, #FFFFFF);
	--tbak-on-dark-soft: var(--tbd-on-dark-soft, rgba(255, 255, 255, .14));
	--tbak-on-dark-mute: rgba(255, 255, 255, .74);
	--tbak-sun: var(--tbd-sun, #FFD43B);
	--tbak-sun-ink: var(--tbd-sun-ink, #2A2000);
	--tbak-focus: var(--tb-focus, 0 0 0 3px rgba(21, 80, 224, .18));
	--tbak-sh: var(--tbd-sh, 0 8px 24px rgba(11, 26, 61, .08));
	--tbak-sh-fab: 0 6px 18px rgba(11, 26, 61, .22);
	--tbak-sh-pop: 0 24px 56px -14px rgba(11, 26, 61, .34), 0 0 0 1px rgba(11, 26, 61, .07);
	--tbak-backdrop: rgba(11, 20, 40, .48);
	/* ölçü */
	--tbak-r: var(--tb-r, 18px);
	--tbak-r-sm: var(--tb-r-sm, 12px);
	--tbak-r-md: 14px;
	--tbak-pill: var(--tb-r-pill, 999px);
	--tbak-btn: var(--tb-btn-h, 48px);
	--tbak-btn-sm: var(--tb-btn-h-sm, 44px);
	--tbak-font: var(--tb-font, Nunito, Arial, Helvetica, sans-serif);
	--tbak-fs-12: var(--tb-fs-12, 12px);
	--tbak-fs-13: var(--tb-fs-13, 13px);
	--tbak-fs-14: var(--tb-fs-14, 14px);
	--tbak-fs-16: var(--tb-fs-16, 16px);
	--tbak-fs-20: var(--tb-fs-20, 20px);
	--tbak-fs-bub: calc(var(--tbak-fs-14) + 1px);             /* salam baloncuğu — 15 px (spesifikasiya) */
	/* düymənin alt məsafəsi — JS görünən alt zolağa görə dəyişir (bottom = innerHeight − zolağın top + 12) */
	--tbak-b: calc(16px + env(safe-area-inset-bottom, 0px));
	font-family: var(--tbak-font);
	color: var(--tbak-ink);
}
.tbak *, .tbak *::before, .tbak *::after { box-sizing: border-box; }
.tbak [hidden] { display: none !important; }

/* ═══════════ 2. Üzən düymə ═══════════ */
.tbak .tbak-fab {
	position: fixed; right: 16px; bottom: var(--tbak-b); z-index: 380; /* Woodmart header 390, yan panellər 500 — toqquşmur */
	display: flex; align-items: center;
	width: auto; height: auto; min-width: 0; min-height: 0; margin: 0; padding: 0;
	border: 0; border-radius: var(--tbak-pill); background: transparent; box-shadow: none;
	font-family: var(--tbak-font); font-size: var(--tbak-fs-14); line-height: 1; letter-spacing: 0; text-transform: none;
	color: var(--tbak-navy); cursor: pointer; -webkit-tap-highlight-color: transparent;
	transition: bottom .2s ease;
}
.tbak .tbak-fab-t {
	display: flex; align-items: center; height: 40px; margin-right: -14px; padding: 0 24px 0 16px;
	border: 1px solid var(--tbak-card-line); border-radius: var(--tbak-pill);
	background: var(--tbak-card); box-shadow: var(--tbak-sh);
	font-size: var(--tbak-fs-14); font-weight: 800; white-space: nowrap; color: var(--tbak-navy);
	transition: border-color .15s ease, color .15s ease;
}
.tbak .tbak-fab .tbak-av { z-index: 1; width: 56px; height: 56px; box-shadow: 0 0 0 2px var(--tbak-blue), var(--tbak-sh-fab); }
.tbak .tbak-fab:hover .tbak-fab-t { border-color: var(--tbak-card-line-h); color: var(--tbak-blue); }
.tbak .tbak-fab:hover, .tbak .tbak-fab:focus { background: transparent; color: var(--tbak-navy); box-shadow: none; outline: 0; }
.tbak .tbak-fab:focus-visible .tbak-av { box-shadow: 0 0 0 2px var(--tbak-blue), 0 0 0 6px var(--tbak-soft-line), var(--tbak-sh-fab); }
.tbak.is-open .tbak-fab-t { display: none; }
/* telefon klaviaturası açıqdır (techbar-ui html.tb-kbd) — düymə sahələrin üstünə düşməsin */
html.tb-kbd .tbak .tbak-fab { display: none; }

/* Aydının üzü: dairəvi kəsim, şəkil ölçüsü JS-dən faizlə (POZ cədvəli) */
.tbak .tbak-av { position: relative; display: block; flex: none; overflow: hidden; border-radius: 50%; background: var(--tbak-soft); }
.tbak .tbak-av img { position: absolute; display: block; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; object-fit: cover; } /* object-fit: JS ölçünü şəklin öz nisbəti ilə verir — görünüş dəyişmir; PageSpeed «image-aspect-ratio» (width/height=56 atributu) bunu səhv sayırdı (02.12) */
.tbak .tbak-av.is-txt { display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--tbak-blue); }

/* ═══════════ 3. Panel ═══════════ */
.tbak .tbak-pn {
	position: fixed; z-index: 395; /* açıq panel yapışqan header-in (390) üstündədir */
	right: 16px; bottom: calc(var(--tbak-b) + 68px);
	width: 400px; max-width: calc(100vw - 32px);
	max-height: calc(100vh - var(--tbak-b) - 84px);
	max-height: min(640px, calc(100vh - var(--tbak-b) - 84px));
	display: flex; flex-direction: column; overflow: visible; /* fiqur paneldən çıxır — künclər başlıq / sahə zolağında */
	background: var(--tbak-card); color: var(--tbak-ink);
	border-radius: var(--tbak-r); box-shadow: var(--tbak-sh-pop);
	font-family: var(--tbak-font); font-size: var(--tbak-fs-14); line-height: 1.45; text-align: left;
	opacity: 0; transform: translateY(10px) scale(.98); transform-origin: 100% 100%;
	transition: opacity .16s ease, transform .2s cubic-bezier(.2, .8, .2, 1);
}
.tbak .tbak-pn.is-on { opacity: 1; transform: none; }
.tbak .tbak-pn:focus { outline: 0; }

/* başlıq zolağı */
.tbak .tbak-hd {
	flex: none; display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 8px 6px 8px 12px;
	border-radius: var(--tbak-r) var(--tbak-r) 0 0;
	background: var(--tbak-navy); color: var(--tbak-on-dark);
}
.tbak .tbak-hd .tbak-av { width: 40px; height: 40px; box-shadow: 0 0 0 2px var(--tbak-on-dark-soft); }
.tbak .tbak-hd-t { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; line-height: 1.2; }
.tbak .tbak-hd-t b { font-size: var(--tbak-fs-16); font-weight: 800; color: var(--tbak-on-dark); }
.tbak .tbak-hd-t span { font-size: var(--tbak-fs-12); font-weight: 600; color: var(--tbak-on-dark-mute); }
.tbak .tbak-x {
	flex: none; display: flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; min-width: 0; min-height: 0; margin: 0; padding: 0;
	border: 0; border-radius: var(--tbak-r-sm); background: transparent; box-shadow: none;
	color: var(--tbak-on-dark); cursor: pointer; text-transform: none;
}
.tbak .tbak-x:hover, .tbak .tbak-x:focus-visible { background: var(--tbak-on-dark-soft); color: var(--tbak-on-dark); }
.tbak .tbak-x:focus { outline: 0; }
.tbak .tbak-x:focus-visible { box-shadow: 0 0 0 2px var(--tbak-on-dark); }

/* gövdə */
.tbak .tbak-bdy {
	position: relative; flex: 1 1 auto; min-height: 0; overflow-x: hidden; overflow-y: auto;
	-webkit-overflow-scrolling: touch; overscroll-behavior: contain;
	padding: 12px; background: var(--tbak-page);
}

/* ═══════════ 4. Baloncuqlar ═══════════ */
.tbak .tbak-m { margin: 0 0 10px; max-width: 100%; overflow-wrap: break-word; word-wrap: break-word; animation: tbakGir .2s ease-out; }
/* bərpa olunan əvvəlki söhbətin başlığı (20.11) */
.tbak .tbak-m-sep { margin: 4px 0 10px; text-align: center; font-size: var(--tbak-fs-12); font-weight: 600; color: var(--tbak-muted); animation: none; }
.tbak .tbak-m-a {
	padding: 10px 12px; border: 1px solid var(--tbak-soft-line); border-radius: var(--tbak-r-md) var(--tbak-r-md) var(--tbak-r-md) 4px;
	background: var(--tbak-soft); color: var(--tbak-ink);
	font-size: var(--tbak-fs-14); font-weight: 600; line-height: 1.45;
}
.tbak .tbak-hi { font-size: var(--tbak-fs-bub); font-weight: 700; }
.tbak .tbak-m-a b { font-weight: 800; color: var(--tbak-ink); }
.tbak .tbak-m-a ul { margin: 6px 0 0; padding: 0 0 0 18px; list-style: disc; }
.tbak .tbak-m-a li { margin: 3px 0 0; padding: 0; font-size: var(--tbak-fs-14); font-weight: 500; line-height: 1.4; color: var(--tbak-ink-2); list-style: disc; }
.tbak .tbak-m-a li::marker { color: var(--tbak-blue); }
.tbak .tbak-m-u {
	display: table; margin-left: auto; max-width: 85%; padding: 8px 12px;
	border-radius: var(--tbak-r-md) var(--tbak-r-md) 4px var(--tbak-r-md);
	background: var(--tbak-navy); color: var(--tbak-on-dark); font-size: var(--tbak-fs-14); font-weight: 600; line-height: 1.4;
}
@keyframes tbakGir { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* «yazır…» */
.tbak .tbak-typing { display: table; padding: 12px 14px; }
.tbak .tbak-dots { display: flex; gap: 5px; align-items: center; height: 10px; }
.tbak .tbak-slot > .tbak-dots { margin: 4px 0 12px 6px; }
.tbak .tbak-dots i { display: block; width: 7px; height: 7px; border-radius: 50%; background: var(--tbak-blue); opacity: .35; animation: tbakDot 1s infinite ease-in-out; }
.tbak .tbak-dots i:nth-child(2) { animation-delay: .15s; }
.tbak .tbak-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes tbakDot { 0%, 80%, 100% { opacity: .35; transform: none; } 40% { opacity: 1; transform: translateY(-3px); } }

/* ═══════════ 5. Xülasə kartı ═══════════ */
.tbak .tbak-card {
	margin: 0 0 10px; padding: 12px;
	border: 1px solid var(--tbak-card-line); border-radius: var(--tbak-r-md);
	background: var(--tbak-card); color: var(--tbak-ink);
}
.tbak .tbak-m p, .tbak .tbak-err p { margin: 0; }
.tbak .tbak-err p { font-weight: 700; }

/* məhsul: qiymət + stok */
.tbak .tbak-pr { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.tbak .tbak-pr-now { font-size: var(--tbak-fs-20); font-weight: 800; line-height: 1.15; letter-spacing: -.3px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbak .tbak-pr-was { font-size: var(--tbak-fs-13); font-weight: 600; color: var(--tbak-muted); text-decoration: line-through; white-space: nowrap; }
.tbak .tbak-pr-na { font-size: var(--tbak-fs-14); font-weight: 700; color: var(--tbak-ink-2); }
.tbak .tbak-off { padding: 3px 7px; border-radius: var(--tbak-pill); background: var(--tbak-sun); color: var(--tbak-sun-ink); font-size: var(--tbak-fs-12); font-weight: 800; line-height: 1.2; white-space: nowrap; }
.tbak .tbak-st {
	margin-left: auto; padding: 4px 9px; border-radius: var(--tbak-pill);
	background: var(--tbak-page); color: var(--tbak-ink-2); font-size: var(--tbak-fs-12); font-weight: 800; line-height: 1.2; white-space: nowrap;
}
.tbak .tbak-st.is-in { background: var(--tbak-green-soft); color: var(--tbak-green); }
.tbak .tbak-st.is-low { background: var(--tbak-amber); color: var(--tbak-on-dark); }
.tbak .tbak-st.is-order { background: var(--tbak-amber-soft); color: var(--tbak-amber); }
.tbak .tbak-st.is-out { background: var(--tbak-red-soft); color: var(--tbak-red); }

/* sətirlər: ad solda, dəyər sağda */
.tbak .tbak-pr + .tbak-rows { margin-top: 8px; }
.tbak .tbak-rw { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid var(--tbak-line); }
.tbak .tbak-gc .tbak-rw:first-child { padding-top: 0; border-top: 0; }
.tbak .tbak-gc .tbak-rw:last-child { padding-bottom: 0; }
.tbak .tbak-rw-k { flex: none; font-size: var(--tbak-fs-13); font-weight: 600; color: var(--tbak-muted); }
.tbak .tbak-rw-v { min-width: 0; text-align: right; font-size: var(--tbak-fs-14); font-weight: 800; line-height: 1.3; color: var(--tbak-ink); }
.tbak .tbak-rw-v small { display: block; margin-top: 1px; font-size: var(--tbak-fs-12); font-weight: 600; color: var(--tbak-muted); }

/* göstəricilər — 2 sütun */
.tbak .tbak-sp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px; margin-top: 8px; }
.tbak .tbak-sp > div { min-width: 0; padding: 5px 9px; border-radius: 10px; background: var(--tbak-page); line-height: 1.25; }
.tbak .tbak-sp span { display: block; font-size: var(--tbak-fs-12); font-weight: 600; color: var(--tbak-muted); }
.tbak .tbak-sp b { display: block; margin-top: 1px; font-size: var(--tbak-fs-13); font-weight: 800; color: var(--tbak-ink); overflow-wrap: break-word; }

/* FPS sətri */
.tbak .tbak-fps { display: flex; align-items: flex-start; gap: 8px; margin: 8px 0 0; padding: 7px 10px; border-radius: 10px; background: var(--tbak-soft); font-size: var(--tbak-fs-13); font-weight: 600; line-height: 1.35; color: var(--tbak-ink-2); }
.tbak .tbak-fps svg { flex: none; margin-top: 1px; color: var(--tbak-blue); }
.tbak .tbak-fps b { font-weight: 800; color: var(--tbak-ink); }

/* kateqoriya: 4 kafel */
.tbak .tbak-tiles { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px; }
.tbak .tbak-tile { min-width: 0; padding: 7px 10px; border-radius: 10px; background: var(--tbak-page); line-height: 1.2; }
.tbak .tbak-tile b { display: block; font-size: var(--tbak-fs-16); font-weight: 800; color: var(--tbak-ink); font-variant-numeric: tabular-nums; overflow-wrap: break-word; }
.tbak .tbak-tile span { display: block; margin-top: 2px; font-size: var(--tbak-fs-12); font-weight: 600; color: var(--tbak-muted); }
.tbak .tbak-lbl { margin: 10px 0 6px; font-size: var(--tbak-fs-12); font-weight: 800; color: var(--tbak-muted); }
.tbak .tbak-lcs { display: flex; flex-wrap: wrap; gap: 8px; }
.tbak .tbak-lc,
.tbak .tbak-chip {
	position: relative; display: inline-flex; align-items: center; gap: 6px;
	height: 36px; min-height: 0; min-width: 0; margin: 0; padding: 0 12px;
	border: 1px solid var(--tbak-btn-line); border-radius: var(--tbak-pill);
	background: var(--tbak-card); box-shadow: none;
	font-family: var(--tbak-font); font-size: var(--tbak-fs-13); font-weight: 700; line-height: 1; letter-spacing: 0; text-transform: none;
	color: var(--tbak-ink); text-decoration: none; white-space: nowrap; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
/* görünüş 36 px, toxunma sahəsi 44 px (sətirlər arası 8 px boşluğa görünməz haşiyə) */
.tbak .tbak-lc::after,
.tbak .tbak-chip::after { content: ""; position: absolute; left: 0; right: 0; top: -4px; bottom: -4px; }
.tbak .tbak-lc span { font-weight: 700; color: var(--tbak-muted); }
.tbak .tbak-lc:hover,
.tbak .tbak-chip:hover { border-color: var(--tbak-blue); background: var(--tbak-card); color: var(--tbak-blue); }
.tbak .tbak-lc:focus,
.tbak .tbak-chip:focus { outline: 0; }
.tbak .tbak-lc:focus-visible,
.tbak .tbak-chip:focus-visible { border-color: var(--tbak-blue); box-shadow: var(--tbak-focus); }
.tbak .tbak-top a {
	display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 4px 0;
	border-top: 1px solid var(--tbak-line); color: var(--tbak-ink); text-decoration: none;
}
.tbak .tbak-top a:first-child { border-top: 0; }
.tbak .tbak-top a:hover .tbak-top-n { color: var(--tbak-blue); }
.tbak .tbak-top-n { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--tbak-fs-13); font-weight: 700; color: var(--tbak-ink); }
.tbak .tbak-top-p { flex: none; font-size: var(--tbak-fs-13); font-weight: 800; color: var(--tbak-ink); white-space: nowrap; }

/* sürətli suallar */
.tbak .tbak-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.tbak .tbak-chips:empty { display: none; }

/* cavabda aylıq cədvəl (3 sütun) */
.tbak .tbak-mo { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 8px 0 2px; }
.tbak .tbak-mo span { min-width: 0; padding: 5px 8px; border-radius: 10px; background: var(--tbak-card); font-size: var(--tbak-fs-12); font-weight: 600; line-height: 1.3; color: var(--tbak-muted); }
.tbak .tbak-mo b { display: block; font-size: var(--tbak-fs-13); font-weight: 800; color: var(--tbak-ink); white-space: nowrap; }

/* provider cavabı (gələcək D21 chatbot): mətn, ≤3 məhsul kartı, sürətli cavablar */
.tbak .tbak-m .tbak-pv p { margin: 0 0 4px; }
.tbak .tbak-m .tbak-pv p:last-of-type { margin-bottom: 0; }
.tbak .tbak-pcs { display: grid; gap: 6px; margin-top: 8px; }
.tbak .tbak-m .tbak-pv .tbak-pcs + p { margin-top: 10px; } /* kartlardan sonrakı sətir (D155) */
.tbak .tbak-pcard {
	display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 10px 6px 6px;
	border: 1px solid var(--tbak-card-line); border-radius: var(--tbak-r-sm); background: var(--tbak-card);
	color: var(--tbak-ink); text-decoration: none;
}
.tbak .tbak-pcard:hover { border-color: var(--tbak-blue); color: var(--tbak-ink); }
.tbak .tbak-pcard:focus { outline: 0; }
.tbak .tbak-pcard:focus-visible { border-color: var(--tbak-blue); box-shadow: var(--tbak-focus); }
.tbak .tbak-pcard-im { flex: none; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; overflow: hidden; border-radius: 8px; background: var(--tbak-page); }
.tbak .tbak-pcard-im img { display: block; width: 100%; height: 100%; max-width: none; margin: 0; object-fit: contain; }
.tbak .tbak-pcard-t { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.tbak .tbak-pcard-n {
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
	font-size: var(--tbak-fs-13); font-weight: 700; line-height: 1.3; color: var(--tbak-ink);
}
.tbak .tbak-pcard:hover .tbak-pcard-n { color: var(--tbak-blue); }
.tbak .tbak-pcard-p { font-size: var(--tbak-fs-14); font-weight: 800; color: var(--tbak-ink); white-space: nowrap; }
/* D155: chatbotun «niyə» sətri (✓ 16 GB · Core i5 …) — 2 sətrə qədər, uzun model kodu da sığır */
.tbak .tbak-pcard-d {
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere;
	font-size: var(--tbak-fs-12); font-weight: 600; line-height: 1.35; color: var(--tbak-muted);
}
.tbak .tbak-pv-chips { margin: 10px 0 0; }

/* ═══════════ 6. Düymələr ═══════════ */
.tbak .tbak-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.tbak .tbak-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	height: var(--tbak-btn-sm); min-height: 0; margin: 0; padding: 0 12px;
	border: 1px solid transparent; border-radius: var(--tbak-r-sm); box-shadow: none;
	font-family: var(--tbak-font); font-size: var(--tbak-fs-14); font-weight: 800; line-height: 1; letter-spacing: 0; text-transform: none;
	text-decoration: none; white-space: nowrap; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.tbak .tbak-btn svg { flex: none; }
.tbak .tbak-btn-pri, .tbak .tbak-btn-pri:visited { background: var(--tbak-blue); color: var(--tbak-on-dark); }
.tbak .tbak-btn-pri:hover { background: var(--tbak-blue-d); color: var(--tbak-on-dark); }
.tbak .tbak-btn-wa, .tbak .tbak-btn-wa:visited { background: var(--tbak-green); color: var(--tbak-on-dark); }
.tbak .tbak-btn-wa:hover { background: var(--tbak-green); color: var(--tbak-on-dark); filter: brightness(.92); }
.tbak .tbak-btn-gh, .tbak .tbak-btn-gh:visited { border-color: var(--tbak-btn-line); background: var(--tbak-card); color: var(--tbak-ink); }
.tbak .tbak-btn-gh:hover { border-color: var(--tbak-blue); background: var(--tbak-card); color: var(--tbak-blue); }
.tbak .tbak-btn:focus { outline: 0; }
.tbak .tbak-btn:focus-visible { box-shadow: var(--tbak-focus); }
.tbak .tbak-btn-k { width: 100%; height: var(--tbak-btn); margin-top: 8px; font-size: var(--tbak-fs-16); }
.tbak .tbak-lnk {
	display: inline-flex; align-items: center; min-height: 44px; margin: 2px 0 -8px; padding: 0; border: 0; background: transparent; box-shadow: none;
	font-family: var(--tbak-font); font-size: var(--tbak-fs-13); font-weight: 800; text-transform: none; letter-spacing: 0;
	color: var(--tbak-blue); text-decoration: underline; cursor: pointer;
}
.tbak .tbak-lnk:hover { background: transparent; color: var(--tbak-blue-d); }

/* ═══════════ 7. Sual sahəsi ═══════════ */
.tbak .tbak-ft { flex: none; margin: 0; padding: 10px 12px 8px; border-top: 1px solid var(--tbak-line); border-radius: 0 0 var(--tbak-r) var(--tbak-r); background: var(--tbak-card); }
.tbak .tbak-ask { display: flex; gap: 8px; }
.tbak .tbak-in {
	flex: 1 1 auto; width: auto; min-width: 0; max-width: none; height: var(--tbak-btn); margin: 0; padding: 0 14px;
	border: 1px solid var(--tbak-field); border-radius: var(--tbak-r-sm); background: var(--tbak-card); box-shadow: none;
	font-family: var(--tbak-font); font-size: var(--tbak-fs-16); font-weight: 600; line-height: normal; color: var(--tbak-ink);
	-webkit-appearance: none; appearance: none;
}
.tbak .tbak-in::placeholder { color: var(--tbak-muted); opacity: 1; font-weight: 500; }
.tbak .tbak-in:focus { border-color: var(--tbak-blue); box-shadow: var(--tbak-focus); outline: 0; }
.tbak .tbak-send {
	flex: none; display: flex; align-items: center; justify-content: center;
	width: var(--tbak-btn); height: var(--tbak-btn); min-width: 0; min-height: 0; margin: 0; padding: 0;
	border: 0; border-radius: var(--tbak-r-sm); background: var(--tbak-blue); box-shadow: none; color: var(--tbak-on-dark); cursor: pointer;
}
.tbak .tbak-send:hover { background: var(--tbak-blue-d); color: var(--tbak-on-dark); }
.tbak .tbak-send:focus { outline: 0; }
.tbak .tbak-send:focus-visible { box-shadow: var(--tbak-focus); }
.tbak .tbak-note { margin: 6px 2px 0; font-size: var(--tbak-fs-12); font-weight: 500; line-height: 1.35; color: var(--tbak-muted); }

/* ═══════════ 7a. Müştərinin əlaqəsi (İlkin 16.11) ═══════════
   Alt sətir «Nömrən — operator zəng etsin» (həmişə görünür) + 2-ci cavabdan sonra əlaqə kartı (ad soyad / nömrə / e-poçt).
   Sahələrdə 16 px — iPhone fokusda səhifəni böyütməsin. */
.tbak .tbak-cb {
	display: flex; align-items: center; gap: 6px; margin-top: 8px; padding: 0 4px 0 10px;
	border: 1px solid var(--tbak-soft-line); border-radius: var(--tbak-r-sm); background: var(--tbak-soft);
}
.tbak .tbak-cb[hidden] { display: none; }
.tbak .tbak-cb-ic { flex: none; display: flex; color: var(--tbak-blue); }
.tbak .tbak-cb-in {
	flex: 1 1 auto; width: auto; min-width: 0; max-width: none; height: 42px; margin: 0; padding: 0 4px;
	border: 0; border-radius: 0; background: transparent; box-shadow: none;
	font-family: var(--tbak-font); font-size: var(--tbak-fs-16); font-weight: 600; line-height: normal; color: var(--tbak-ink);
	-webkit-appearance: none; appearance: none;
}
.tbak .tbak-cb-in::placeholder { color: var(--tbak-muted); opacity: 1; font-weight: 600; font-size: var(--tbak-fs-14); }
.tbak .tbak-cb-in:focus { outline: 0; }
.tbak .tbak-cb:focus-within { border-color: var(--tbak-blue); box-shadow: var(--tbak-focus); }
.tbak .tbak-cb-go {
	flex: none; height: 34px; min-height: 0; margin: 0; padding: 0 12px;
	border: 0; border-radius: 9px; background: var(--tbak-blue); box-shadow: none; color: var(--tbak-on-dark);
	font-family: var(--tbak-font); font-size: var(--tbak-fs-13); font-weight: 800; line-height: 1; letter-spacing: 0; text-transform: none;
	white-space: nowrap; cursor: pointer;
}
.tbak .tbak-cb-go { position: relative; }
.tbak .tbak-cb-go::after { content: ""; position: absolute; inset: -5px -4px; } /* toxunma sahəsi ≥ 44 px (görünüş 34 px) */
.tbak .tbak-cb-go:hover { background: var(--tbak-blue-d); color: var(--tbak-on-dark); }
.tbak .tbak-cb-go:disabled { opacity: .6; cursor: default; }
.tbak .tbak-cb-go:focus { outline: 0; }
.tbak .tbak-cb-go:focus-visible { box-shadow: var(--tbak-focus); }
.tbak .tbak-cb-msg { margin: 6px 2px 0; font-size: var(--tbak-fs-13); font-weight: 700; line-height: 1.35; }
.tbak .tbak-cb-msg.is-ok { color: var(--tbak-green); }
.tbak .tbak-cb-msg.is-bad { color: var(--tbak-red); }
.tbak .tbak-cb-msg a, .tbak .tbak-err a, .tbak .tbak-cons a { color: var(--tbak-blue); font-weight: 800; text-decoration: underline; }
/* bot üçün gizli sahə (honeypot) — ekranda və oxuyucuda yoxdur */
.tbak .tbak-hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }

.tbak .tbak-m-lead { position: relative; }
.tbak .tbak-lead { display: flex; flex-direction: column; gap: 8px; margin: 10px 0 0; }
.tbak .tbak-lf {
	display: block; width: 100%; max-width: none; height: var(--tbak-btn-sm); margin: 0; padding: 0 12px;
	border: 1px solid var(--tbak-field); border-radius: var(--tbak-r-sm); background: var(--tbak-card); box-shadow: none;
	font-family: var(--tbak-font); font-size: var(--tbak-fs-16); font-weight: 600; line-height: normal; color: var(--tbak-ink);
	-webkit-appearance: none; appearance: none;
}
.tbak .tbak-lf::placeholder { color: var(--tbak-muted); opacity: 1; font-weight: 500; }
.tbak .tbak-lf:focus { border-color: var(--tbak-blue); box-shadow: var(--tbak-focus); outline: 0; }
.tbak .tbak-lead .tbak-acts { margin-top: 2px; }
.tbak .tbak-lead .tbak-btn:disabled { opacity: .6; cursor: default; }
.tbak .tbak-err { margin: 0; font-size: var(--tbak-fs-13); font-weight: 700; line-height: 1.35; color: var(--tbak-red); }
.tbak .tbak-err[hidden], .tbak .tbak-cb-msg[hidden] { display: none; }
.tbak .tbak-cons { margin: 0; font-size: var(--tbak-fs-12); font-weight: 500; line-height: 1.35; color: var(--tbak-muted); }

/* ═══════════ 8a. Tam boy fiqur (bəzək; aria-hidden, kliklər keçir) ═══════════ */
.tbak .tbak-fig, .tbak .tbak-fig * { pointer-events: none; }
.tbak .tbak-fig { position: absolute; z-index: 2; }
.tbak .tbak-fig.is-off { display: none; }
.tbak .tbak-fig-in {
	position: absolute; left: 0; bottom: 0; width: 0; height: 100%;
	opacity: 0; transform: translateY(calc(100% + 120px));
	transition: transform .25s ease-in, opacity .2s ease-in;               /* bağlananda: aşağı enir, əriyir */
}
.tbak .tbak-fig.is-up .tbak-fig-in {
	opacity: 1; transform: none;
	transition: transform .55s cubic-bezier(.3, 1.35, .5, 1), opacity .12s ease-out; /* açılanda: kiçik sıçrayışla qalxır */
}
.tbak .tbak-fig-i {
	position: absolute; left: 0; bottom: 0; display: block;
	width: auto; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none;
	transform: translateX(calc(var(--d2, .5) * -100%));                     /* gövdənin ortası lövbər nöqtəsindədir */
	opacity: 0; transition: opacity .3s ease;
}
.tbak .tbak-fig-i.is-in { opacity: 1; }
.tbak .tbak-fig-i.is-out { opacity: 0; }                                   /* köhnə poza 0,3 s-yə əriyir */
/* masaüstü: panelin solunda, «yerdə» — alt zolağın üst kənarında və ya ekranın altında */
.tbak .tbak-fig.is-side {
	z-index: -1; /* panelin arxasında: qolu yana açılan pozada (p8, p7) əl panelin mətnini örtməsin — gövdə / başlıq fonu üstdədir */
	right: calc(100% + 14px + var(--tbak-fh) * .17);
	bottom: calc(var(--tbak-fb, 0px) - var(--tbak-b) - 68px);
	width: 0; height: var(--tbak-fh);
}
/* telefon / planşet: başlığın üstündən bel yuxarı; kəsik xətti başlığın alt kənarı, × (sağ 56 px) açıq qalır */
.tbak .tbak-fig.is-top {
	top: calc(var(--tbak-fa) * -1); right: 56px;
	width: calc(var(--tbak-fh) * .42); height: calc(var(--tbak-fa) + 56px);
	overflow: hidden;
}
.tbak .tbak-fig.is-top .tbak-fig-in { left: 50%; top: 0; bottom: auto; height: var(--tbak-fh); opacity: 1; transform: translateY(calc(var(--tbak-fa) + 60px)); }
.tbak .tbak-fig.is-top.is-up .tbak-fig-in { transform: none; transition-delay: .12s; }
.tbak .tbak-fig.is-top .tbak-fig-i { top: 0; bottom: auto; }

/* ═══════════ 8. Telefon: alt vərəq ═══════════ */
.tbak .tbak-bd { display: none; }
@media (max-width: 767px) {
	.tbak .tbak-fab { right: 12px; }
	.tbak .tbak-fab-t { display: none; }
	.tbak .tbak-fab .tbak-av { width: 52px; height: 52px; }
	/* vərəq və arxa fon bütün alt zolaqların (bnav 10001, #mobile-bottom-bar 999999) üstündədir */
	.tbak .tbak-bd {
		display: block; position: fixed; left: 0; top: 0; right: 0; bottom: 0; z-index: 1000000;
		background: var(--tbak-backdrop); opacity: 0; transition: opacity .2s ease;
	}
	.tbak .tbak-bd.is-on { opacity: 1; }
	.tbak .tbak-pn {
		left: 0; right: 0; bottom: 0; z-index: 1000001;
		width: auto; max-width: none;
		max-height: 88vh; max-height: 88dvh;
		border-radius: 18px 18px 0 0;
		opacity: 1; transform: translateY(100%); transition: transform .24s cubic-bezier(.2, .8, .2, 1);
	}
	.tbak .tbak-pn.is-on { transform: none; }
	.tbak .tbak-ft { padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px)); border-radius: 0; }
	.tbak .tbak-pr-now { font-size: var(--tbak-fs-20); }
	html.tbak-lock, html.tbak-lock body { overflow: hidden !important; }
}

/* ═══════════ 9. Hərəkəti azalt, çap ═══════════ */
@media (prefers-reduced-motion: reduce) {
	.tbak .tbak-fab, .tbak .tbak-fab-t, .tbak .tbak-pn, .tbak .tbak-bd { transition: none !important; }
	.tbak .tbak-m, .tbak .tbak-dots i { animation: none !important; }
	.tbak .tbak-fig-in, .tbak .tbak-fig-i { transition: none !important; }
	.tbak .tbak-dots i { opacity: .7; }
}
@media print { .tbak { display: none !important; } }

/* ═══════════ 10. WhatsApp düyməsi solda (İlkin 16.11) ═══════════
   wp-whatsapp-chat «bottom-right» qoyur; techbar-ui onu !important ilə sağ 16px / alt 24px-ə çəkir — Aydının (sağ 16px) üstünə düşür.
   Bu fayl yalnız Aydın yüklənən səhifədə qoşulur, ona görə qayda da yalnız orada işləyir: WA solda, hündürlüyü komekci.js-dən
   (--tbak-wa-b — WA-nın mərkəzi Aydının avatarı ilə eyni xətdə). Plugin ayarlarına toxunulmur. Seçici techbar-ui-nin
   «body.tb-ui .qlwapp__container»-indən güclüdür. (Əvvəl techbar-home-v2 design.css-də yalnız body.tbd üçün idi.) */
html body.tb-ui .qlwapp__container.qlwapp__container--bottom-right {
	inset: auto auto var(--tbak-wa-b, calc(20px + env(safe-area-inset-bottom, 0px))) 16px !important;
	transition: bottom .2s ease;
}
html body.tb-ui .qlwapp__container.qlwapp__container--bottom-right .qlwapp__button .qlwapp__label,
html body.tb-ui .qlwapp__container.qlwapp__container--bottom-right .qlwapp__button .qlwapp__time { left: 0; right: auto; }
html body.tb-ui .qlwapp__container.qlwapp__container--bottom-right .qlwapp__button--bubble .qlwapp__text { right: auto; left: var(--qlwapp-scheme-icon-size); }
html body.tb-ui .qlwapp__container.qlwapp__container--bottom-right .qlwapp__modal::before { right: auto; left: 20px; }
@media (max-width: 767px) {
	html body.tb-ui .qlwapp__container.qlwapp__container--bottom-right { left: 12px !important; }
}
@media (prefers-reduced-motion: reduce) {
	html body.tb-ui .qlwapp__container.qlwapp__container--bottom-right { transition: none; }
}
