/**
 * Vyron Cart — teklif alt barı, teklif/randevu modal kabuğu ve ürün galerisi.
 *
 * Renkler CSS değişkenleri üzerinden gelir. Kök öğelere `vb-ui vb-tema-light`
 * veya `vb-ui vb-tema-dark` sınıfı eklenir (bkz. VB_Cart::ui_class()).
 * Katalog (ürün kartı, hero, sekme) stilleri temada kalır.
 */

/* =====================================================================
 * 0) Renk paletleri
 * ================================================================== */

/* Modal dışında kullanılan bileşenler (shortcode) için varsayılan */
:root {
	--vb-brand: #ff2a1a;
	--vb-brand-hover: #e02012;
	--vb-brand-soft: rgba(255, 42, 26, 0.15);
	--vb-ok: #1f9d4d;
}

.vb-ui {
	--vb-brand: #ff2a1a;
	--vb-brand-hover: #e02012;
	--vb-brand-soft: rgba(255, 42, 26, 0.15);
}

/* --- AÇIK TEMA (varsayılan) --- */
.vb-tema-light {
	--vb-overlay: rgba(22, 22, 26, 0.55);
	--vb-surface: #ffffff;
	--vb-surface-2: #fbfbfc;
	--vb-panel: #f6f6f8;
	--vb-panel-2: #ffffff;
	--vb-input-bg: #ffffff;
	--vb-border: #e4e4e9;
	--vb-border-2: #d2d2da;
	--vb-text: #16161c;
	--vb-muted: #62626d;
	--vb-faint: #9a9aa4;
	--vb-thumb-bg: #ffffff;
	--vb-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
	--vb-scroll: #c9c9d1;
	--vb-ok: #1f9d4d;
	--vb-ok-bg: #edf9f0;
	--vb-ok-border: #bfe6cc;
	--vb-ok-text: #14682a;
	--vb-err-bg: #fdf0ef;
	--vb-err-border: #f4c9c5;
	--vb-err-text: #a3201a;
	--vb-warn-bg: #fdf7e7;
	--vb-warn-border: #efdcac;
	--vb-warn-text: #7a5a05;
	--vb-bar-bg: rgba(255, 255, 255, 0.97);
	--vb-gallery-bg: #ffffff;
	--vb-gallery-overlay: rgba(28, 28, 32, 0.82);
	--vb-nav-bg: #f0f0f3;
}

/* --- KOYU TEMA --- */
.vb-tema-dark {
	--vb-overlay: rgba(10, 10, 10, 0.95);
	--vb-surface: #141414;
	--vb-surface-2: #191919;
	--vb-panel: #171717;
	--vb-panel-2: #1e1e1e;
	--vb-input-bg: #1a1a1a;
	--vb-border: #2a2a2a;
	--vb-border-2: #3a3a3a;
	--vb-text: #ffffff;
	--vb-muted: #9a9a9a;
	--vb-faint: #777777;
	--vb-thumb-bg: #ffffff;
	--vb-shadow: 0 24px 60px rgba(0, 0, 0, 0.85);
	--vb-scroll: #444444;
	--vb-ok: #28a745;
	--vb-ok-bg: #101c12;
	--vb-ok-border: #2c4a33;
	--vb-ok-text: #d8f5de;
	--vb-err-bg: #2a1211;
	--vb-err-border: #5c2320;
	--vb-err-text: #ffc9c4;
	--vb-warn-bg: #2a2411;
	--vb-warn-border: #5c4f20;
	--vb-warn-text: #ffe9b0;
	--vb-bar-bg: rgba(15, 15, 15, 0.97);
	--vb-gallery-bg: #0f0f0f;
	--vb-gallery-overlay: rgba(10, 10, 10, 0.95);
	--vb-nav-bg: #232323;
}

/* =====================================================================
 * 1) Ortak overlay
 * ================================================================== */
.urun-lightbox-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--vb-overlay);
	z-index: 999999;
	justify-content: center;
	align-items: center;
	padding: 20px;
	box-sizing: border-box;
}

.urun-lightbox-overlay.aktif {
	display: flex;
}

/* Galeri her zaman randevu modalının üstünde açılır */
#urunLightboxModal {
	z-index: 1000001;
	background: var(--vb-gallery-overlay);
}

/* =====================================================================
 * 2) Randevu butonu (shortcode)
 * ================================================================== */
.vb-randevu-btn-wrap {
	display: block;
}

.vb-randevu-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	border: 1px solid transparent;
	padding: 14px 28px;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 1px;
	text-transform: uppercase;
	border-radius: 6px;
	cursor: pointer;
	transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
	font-family: inherit;
	line-height: 1.2;
	text-decoration: none;
}

.vb-randevu-btn-primary {
	background: var(--vb-brand);
	color: #fff;
}

.vb-randevu-btn-primary:hover {
	background: var(--vb-brand-hover);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 8px 18px rgba(255, 42, 26, 0.28);
}

.vb-randevu-btn-ghost {
	background: transparent;
	border-color: var(--vb-brand);
	color: var(--vb-brand);
}

.vb-randevu-btn-ghost:hover {
	background: var(--vb-brand);
	color: #fff;
}

.vb-randevu-btn-blok {
	display: flex;
	width: 100%;
}

.vb-randevu-btn-ikon {
	flex: 0 0 17px;
}

.vb-randevu-btn:focus-visible {
	outline: 2px solid var(--vb-brand);
	outline-offset: 3px;
}

/* =====================================================================
 * 3) Teklif sepeti alt barı
 * ================================================================== */
.teklif-sepeti-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9999;
	background: var(--vb-bar-bg);
	backdrop-filter: blur(10px);
	border-top: 1px solid var(--vb-border);
	box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.14);
	color: var(--vb-text);
	cursor: pointer;

	/* Ürün eklenmeden görünmez. visibility sayesinde içindeki buton
	   gizliyken odaklanamaz ve ekran okuyucuya görünmez. */
	transform: translateY(105%);
	visibility: hidden;
	opacity: 0;
	transition: transform 0.35s cubic-bezier(0.2, 0.85, 0.3, 1), opacity 0.25s ease, visibility 0.35s;
}

.vb-tema-dark.teklif-sepeti-bar {
	box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.45);
}

.teklif-sepeti-bar.aktif {
	transform: translateY(0);
	visibility: visible;
	opacity: 1;
}

/* Bar açıkken sayfa içeriği barın altında kalmasın */
body.teklif-bar-aktif {
	padding-bottom: 76px;
}

.teklif-sepeti-bar .tsb-inner {
	max-width: 1400px;
	margin: 0 auto;
	padding: 12px 30px;
	display: flex;
	align-items: center;
	gap: 20px;
}

.teklif-sepeti-bar .tsb-sol {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.teklif-sepeti-bar .tsb-ikon {
	position: relative;
	width: 44px;
	height: 44px;
	flex: 0 0 44px;
	background: var(--vb-brand);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
}

.teklif-sepeti-bar .sepet-sayac {
	position: absolute;
	top: -4px;
	right: -4px;
	background: var(--vb-text);
	color: var(--vb-surface);
	font-size: 11px;
	font-weight: 800;
	min-width: 20px;
	height: 20px;
	padding: 0 4px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 2px solid var(--vb-brand);
	box-sizing: border-box;
}

.teklif-sepeti-bar .tsb-metin {
	display: flex;
	flex-direction: column;
	line-height: 1.3;
	min-width: 0;
}

.teklif-sepeti-bar .tsb-baslik {
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--vb-text);
	white-space: nowrap;
}

.teklif-sepeti-bar .tsb-alt {
	font-size: 11px;
	color: var(--vb-muted);
	white-space: nowrap;
}

/* Seçilen ürünlerin mini görselleri */
.teklif-sepeti-bar .tsb-thumbs {
	display: flex;
	align-items: center;
	gap: 6px;
	flex: 1;
	min-width: 0;
	overflow: hidden;
}

.teklif-sepeti-bar .tsb-thumb {
	position: relative;
	width: 40px;
	height: 40px;
	flex: 0 0 40px;
	border-radius: 4px;
	overflow: visible;
	background: var(--vb-thumb-bg);
	border: 1px solid var(--vb-border-2);
}

.teklif-sepeti-bar .tsb-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 3px;
}

.teklif-sepeti-bar .tsb-thumb-sil {
	position: absolute;
	top: -6px;
	right: -6px;
	width: 19px;
	height: 19px;
	padding: 0;
	background: var(--vb-text);
	border: 1px solid var(--vb-surface);
	border-radius: 50%;
	color: var(--vb-surface);
	font-size: 13px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transform: scale(0.7);
	transition: opacity 0.15s, transform 0.15s, background 0.15s;
}

.teklif-sepeti-bar .tsb-thumb:hover .tsb-thumb-sil,
.teklif-sepeti-bar .tsb-thumb-sil:focus-visible {
	opacity: 1;
	transform: scale(1);
}

.teklif-sepeti-bar .tsb-thumb-sil:hover {
	background: var(--vb-brand);
	border-color: var(--vb-brand);
	color: #fff;
}

/* Dokunmatik cihazlarda hover yok: butonlar hep görünür */
@media (hover: none) {
	.teklif-sepeti-bar .tsb-thumb-sil {
		opacity: 1;
		transform: scale(1);
	}
}

.teklif-sepeti-bar .tsb-thumb-fazla {
	width: 40px;
	height: 40px;
	flex: 0 0 40px;
	border-radius: 4px;
	background: var(--vb-panel);
	border: 1px solid var(--vb-border);
	color: var(--vb-muted);
	font-size: 12px;
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: center;
}

.teklif-sepeti-bar .tsb-btn {
	flex: 0 0 auto;
	background: var(--vb-brand);
	color: #fff;
	border: none;
	padding: 14px 30px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 1px;
	text-transform: uppercase;
	border-radius: 4px;
	cursor: pointer;
	transition: background 0.2s, transform 0.2s;
}

.teklif-sepeti-bar .tsb-btn:hover {
	background: var(--vb-brand-hover);
	transform: translateY(-2px);
}

.teklif-sepeti-bar .tsb-btn:focus-visible {
	outline: 2px solid var(--vb-text);
	outline-offset: 2px;
}

/* =====================================================================
 * 4) Katalog butonunun "eklendi" durumu
 * ================================================================== */
.teklif-ekle-btn.eklendi {
	background: var(--vb-ok, #28a745) !important;
	cursor: default;
}

/* =====================================================================
 * 5) Teklif / randevu modalı
 * ================================================================== */
.teklif-listesi-icerik {
	position: relative;
	background: var(--vb-surface);
	border: 1px solid var(--vb-border);
	width: 100%;
	max-width: 720px;
	max-height: 90vh;
	max-height: 90dvh;
	border-radius: 12px;
	box-shadow: var(--vb-shadow);
	padding: 0;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	color: var(--vb-text);
}

.teklif-modal-header {
	flex: 0 0 auto;
	padding: 18px 26px 14px;
	background: var(--vb-surface-2);
	border-bottom: 1px solid var(--vb-border);
}

.teklif-modal-header .tmh-ust {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 14px;
}

.teklif-listesi-baslik {
	color: var(--vb-text) !important;
	font-size: 24px !important;
	line-height: 1.15 !important;
	font-weight: 800;
	letter-spacing: 1px;
	margin: 0 !important;
	padding: 0;
	border: none;
	text-transform: uppercase;
}

/* Modal kapatma butonu: başlığın içinde (kırpılmaz) */
.teklif-kapat {
	position: relative;
	flex: 0 0 36px;
	width: 36px;
	height: 36px;
	background: var(--vb-nav-bg);
	border: 1px solid var(--vb-border);
	border-radius: 50%;
	color: var(--vb-muted);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	transition: 0.2s;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

.teklif-kapat:hover {
	background: var(--vb-brand);
	border-color: var(--vb-brand);
	color: #fff;
	transform: rotate(90deg);
}

.teklif-kapat:focus-visible {
	outline: 2px solid var(--vb-brand);
	outline-offset: 2px;
}

.teklif-modal-body {
	flex: 1 1 auto;
	overflow-y: auto;
	overflow-x: hidden;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	padding: 20px 26px 0;
	scrollbar-width: thin;
	scrollbar-color: var(--vb-scroll) transparent;
}

.teklif-modal-body::-webkit-scrollbar {
	width: 6px;
}

.teklif-modal-body::-webkit-scrollbar-thumb {
	background-color: var(--vb-scroll);
	border-radius: 10px;
}

/* =====================================================================
 * 6) Seçilen ürünler bloğu
 * ================================================================== */
.secilen-urunler-blok {
	background: var(--vb-panel);
	border: 1px solid var(--vb-border);
	border-radius: 8px;
	margin-bottom: 18px;
	overflow: hidden;
}

/* Sepet boşken blok hiç görünmez (ürünsüz randevu mümkün) */
.secilen-urunler-blok[hidden] {
	display: none !important;
}

.sub-toggle {
	width: 100%;
	background: transparent;
	border: none;
	padding: 12px 14px;
	display: flex;
	align-items: center;
	gap: 12px;
	cursor: pointer;
	color: var(--vb-text);
	text-align: left;
	font-family: inherit;
}

.sub-toggle:hover {
	background: var(--vb-panel-2);
}

.sub-toggle:focus-visible {
	outline: 2px solid var(--vb-brand);
	outline-offset: -2px;
}

.sub-sol {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 0 0 auto;
}

.sub-baslik {
	font-size: 10.5px;
	font-weight: 800;
	letter-spacing: 1.5px;
	color: var(--vb-brand);
	text-transform: uppercase;
	white-space: nowrap;
}

.sub-sayi {
	background: var(--vb-brand);
	color: #fff;
	font-size: 10px;
	font-weight: 800;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 9px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.sub-strip {
	display: flex;
	align-items: center;
	gap: 4px;
	flex: 1;
	min-width: 0;
	overflow: hidden;
	justify-content: flex-end;
}

.sub-strip img {
	width: 26px;
	height: 26px;
	object-fit: cover;
	border-radius: 3px;
	background: var(--vb-thumb-bg);
	flex: 0 0 26px;
	border: 1px solid var(--vb-border);
}

.sub-strip .sub-strip-fazla {
	font-size: 10px;
	font-weight: 800;
	color: var(--vb-faint);
	flex: 0 0 auto;
	padding-left: 2px;
}

.sub-ok {
	flex: 0 0 auto;
	color: var(--vb-faint);
	display: flex;
	transition: transform 0.25s ease;
}

.sub-toggle[aria-expanded="true"] .sub-ok {
	transform: rotate(180deg);
}

.sub-toggle[aria-expanded="true"] .sub-strip {
	display: none;
}

/* Liste: kendi scroll'u YOK, modal gövdesi kaydırılır */
.secilen-urunler-listesi {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 0 10px 12px;
}

.secilen-urunler-listesi[hidden] {
	display: none !important;
}

.sepet-urun-item {
	background: var(--vb-panel-2);
	border: 1px solid var(--vb-border);
	padding: 8px;
	border-radius: 6px;
	display: flex;
	align-items: center;
	gap: 12px;
	transition: border-color 0.2s, background 0.2s;
	animation: sui-gir 0.25s ease-out;
}

.sepet-urun-item:hover {
	border-color: var(--vb-border-2);
}

@keyframes sui-gir {
	from {
		opacity: 0;
		transform: translateY(-4px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Ürün görseli = galeriyi açan buton */
.sui-gorsel {
	position: relative;
	flex: 0 0 52px;
	width: 52px;
	height: 52px;
	padding: 0;
	border: 1px solid var(--vb-border);
	border-radius: 5px;
	background: var(--vb-thumb-bg);
	overflow: hidden;
	cursor: zoom-in;
	display: block;
}

.sui-gorsel img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.25s ease;
}

.sui-gorsel:hover img {
	transform: scale(1.08);
}

.sui-gorsel:focus-visible {
	outline: 2px solid var(--vb-brand);
	outline-offset: 2px;
}

.sui-gorsel .sui-zoom {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.2s;
}

.sui-gorsel:hover .sui-zoom,
.sui-gorsel:focus-visible .sui-zoom {
	opacity: 1;
}

.sui-gorsel .sui-foto-sayi {
	position: absolute;
	bottom: 2px;
	right: 2px;
	background: rgba(0, 0, 0, 0.78);
	color: #fff;
	font-size: 9px;
	font-weight: 800;
	padding: 1px 4px;
	border-radius: 3px;
	line-height: 1.4;
	pointer-events: none;
}

.sui-detay {
	flex: 1;
	min-width: 0;
}

.sui-detay strong {
	display: block;
	color: var(--vb-text);
	font-size: 12.5px;
	line-height: 1.3;
	margin-bottom: 3px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.sui-detay span {
	color: var(--vb-muted);
	font-size: 11px;
}

.sui-sil-btn {
	flex: 0 0 30px;
	width: 30px;
	height: 30px;
	background: transparent;
	border: 1px solid transparent;
	border-radius: 50%;
	color: var(--vb-faint);
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	transition: 0.2s;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

.sui-sil-btn:hover {
	color: #fff;
	background: var(--vb-brand);
	border-color: var(--vb-brand);
}

.sui-sil-btn:focus-visible {
	outline: 2px solid var(--vb-brand);
	outline-offset: 2px;
}

.sepet-bos-mesaj {
	color: var(--vb-faint);
	font-size: 12px;
	text-align: center;
	padding: 14px 0;
}

/* =====================================================================
 * 7) Form
 * ================================================================== */
.teklif-form .form-satir {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.teklif-form .form-grup {
	margin-bottom: 12px;
	min-width: 0;
}

.teklif-form label {
	display: block;
	font-size: 11px;
	margin-bottom: 5px;
	color: var(--vb-muted);
	font-weight: 600;
}

.teklif-form input,
.teklif-form textarea {
	width: 100%;
	background: var(--vb-input-bg);
	border: 1px solid var(--vb-border-2);
	padding: 11px 12px;
	color: var(--vb-text);
	font-size: 14px;
	box-sizing: border-box;
	border-radius: 5px;
	transition: 0.2s;
	font-family: inherit;
}

.teklif-form textarea {
	resize: vertical;
	min-height: 62px;
}

.teklif-form input:focus,
.teklif-form textarea:focus {
	border-color: var(--vb-brand);
	outline: none;
	box-shadow: 0 0 0 3px var(--vb-brand-soft);
}

.teklif-form input::placeholder,
.teklif-form textarea::placeholder {
	color: var(--vb-faint);
}

/* =====================================================================
 * 8) Ürün galerisi (lightbox)
 * ================================================================== */
.urun-lightbox-icerik-kompakt {
	position: relative;
	background: var(--vb-gallery-bg);
	border: 1px solid var(--vb-border);
	width: 100%;
	max-width: 1250px;
	max-height: 90vh;
	border-radius: 10px;
	box-shadow: var(--vb-shadow);
	padding: 20px 20px 15px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.urun-lightbox-baslik {
	color: var(--vb-text);
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	text-align: center;
	margin-bottom: 15px;
	width: 100%;
}

.lightbox-carousel-wrap {
	position: relative;
	width: 100%;
	height: auto;
	max-height: 75vh;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: transparent;
	border-radius: 6px;
	cursor: zoom-in;
}

#lightboxGorsel {
	width: 100%;
	height: 100%;
	max-height: 73vh;
	object-fit: contain;
	transition: transform 0.15s ease-out;
	transform-origin: center center;
}

.lightbox-prev,
.lightbox-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: var(--vb-nav-bg);
	color: var(--vb-text);
	border: 1px solid var(--vb-border-2);
	width: 44px;
	height: 44px;
	font-size: 20px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: 0.2s;
	z-index: 10;
	border-radius: 50%;
}

.lightbox-prev[hidden],
.lightbox-next[hidden] {
	display: none !important;
}

.lightbox-prev:hover,
.lightbox-next:hover {
	background: var(--vb-brand);
	border-color: var(--vb-brand);
	color: #fff;
}

.lightbox-prev {
	left: 15px;
}

.lightbox-next {
	right: 15px;
}

.lightbox-thumbnails-wrap {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 15px;
	max-width: 100%;
	overflow-x: auto;
	padding-bottom: 5px;
	z-index: 5;
}

.lb-thumb-item {
	width: 60px;
	height: 60px;
	background: var(--vb-thumb-bg);
	border: 2px solid var(--vb-border);
	border-radius: 4px;
	cursor: pointer;
	overflow: hidden;
	transition: 0.2s;
	flex-shrink: 0;
}

.lb-thumb-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.lb-thumb-item:hover,
.lb-thumb-item.aktif {
	border-color: var(--vb-brand);
}

.lb-thumb-item:focus-visible {
	outline: 2px solid var(--vb-brand);
	outline-offset: 2px;
}

.lightbox-kapat {
	position: absolute;
	top: -12px;
	right: -12px;
	background: var(--vb-brand);
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: none;
	color: #fff;
	font-size: 20px;
	line-height: 20px;
	cursor: pointer;
	transition: 0.2s;
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}

.lightbox-kapat:hover {
	background: var(--vb-text);
	color: var(--vb-surface);
}

/* =====================================================================
 * 9) Mobil
 * ================================================================== */
@media (max-width: 768px) {
	.teklif-sepeti-bar .tsb-inner {
		padding: 10px 14px;
		gap: 12px;
	}

	.teklif-sepeti-bar .tsb-thumbs {
		display: none;
	}

	.teklif-sepeti-bar .tsb-metin {
		flex: 1;
	}

	.teklif-sepeti-bar .tsb-ikon {
		width: 38px;
		height: 38px;
		flex: 0 0 38px;
	}

	.teklif-sepeti-bar .tsb-btn {
		padding: 12px 18px;
		font-size: 11px;
	}

	body.teklif-bar-aktif {
		padding-bottom: 66px;
	}

	/* Modal alta yapışan panel gibi açılır */
	#teklifListesiModal {
		padding: 0;
		align-items: flex-end;
	}

	.teklif-listesi-icerik {
		max-width: 100%;
		width: 100%;
		max-height: 94vh;
		max-height: 94dvh;
		border-radius: 14px 14px 0 0;
		border-left: none;
		border-right: none;
		border-bottom: none;
	}

	.teklif-modal-header {
		padding: 14px 16px 12px;
	}

	.teklif-listesi-baslik {
		font-size: 19px !important;
	}

	.teklif-modal-body {
		padding: 16px 16px 0;
	}

	.teklif-form .form-satir {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.teklif-form input,
	.teklif-form textarea {
		font-size: 16px; /* iOS odakta otomatik yakınlaştırmayı engeller */
	}

	.sub-strip img {
		width: 22px;
		height: 22px;
		flex: 0 0 22px;
	}

	.urun-lightbox-icerik-kompakt {
		padding: 15px;
		max-width: 95%;
	}

	.lightbox-kapat {
		top: -5px;
		right: -5px;
	}

	.vb-randevu-btn {
		padding: 13px 22px;
		font-size: 12px;
	}
}

@media (max-width: 420px) {
	.teklif-sepeti-bar .tsb-baslik {
		font-size: 11px;
		letter-spacing: 0.5px;
	}

	.teklif-sepeti-bar .tsb-btn {
		padding: 11px 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.teklif-sepeti-bar,
	.sepet-urun-item {
		transition: none;
		animation: none;
	}

	.teklif-sepeti-bar .tsb-btn:hover,
	.vb-randevu-btn:hover {
		transform: none;
	}

	.teklif-kapat:hover {
		transform: none;
	}
}

/* =====================================================================
 * 10) Yüzen "Görüşme Ayarla" butonu
 *
 * Sepet boşken sağ altta görünür; ürün eklenince alt bar devralır.
 * ================================================================== */
.vb-float-btn {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 9998;

	display: inline-flex;
	align-items: center;
	gap: 10px;

	background: var(--vb-brand);
	color: #fff;
	border: none;
	padding: 15px 24px;
	border-radius: 40px;
	font-family: inherit;
	font-size: 12.5px;
	font-weight: 800;
	letter-spacing: 1px;
	text-transform: uppercase;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 10px 26px rgba(255, 42, 26, 0.34), 0 2px 6px rgba(0, 0, 0, 0.14);

	/* Başlangıçta gizli; JS `.aktif` ile açar */
	opacity: 0;
	visibility: hidden;
	transform: translateY(18px) scale(0.94);
	transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.2, 0.85, 0.3, 1),
		visibility 0.35s, background 0.2s, box-shadow 0.25s;
}

.vb-float-btn.aktif {
	opacity: 1;
	visibility: visible;
	transform: translateY(0) scale(1);
}

.vb-float-btn:hover {
	background: var(--vb-brand-hover);
	box-shadow: 0 14px 32px rgba(255, 42, 26, 0.42), 0 3px 8px rgba(0, 0, 0, 0.18);
	transform: translateY(-3px) scale(1.02);
}

.vb-float-btn:active {
	transform: translateY(-1px) scale(0.99);
}

.vb-float-btn:focus-visible {
	outline: 3px solid var(--vb-text);
	outline-offset: 3px;
}

.vb-float-btn .vb-float-ikon {
	display: flex;
	flex: 0 0 20px;
}

/* Dikkat çekmek için bir kez nazikçe nabız atar */
.vb-float-btn.aktif .vb-float-ikon {
	animation: vb-fab-nabiz 2.6s ease-in-out 0.6s 3;
}

@keyframes vb-fab-nabiz {
	0%,
	100% {
		transform: scale(1);
	}
	12% {
		transform: scale(1.18);
	}
	24% {
		transform: scale(1);
	}
}

/* Mobil: yalnızca ikon (dairesel) */
@media (max-width: 560px) {
	.vb-float-btn {
		right: 16px;
		bottom: 16px;
		width: 56px;
		height: 56px;
		padding: 0;
		border-radius: 50%;
		justify-content: center;
		gap: 0;
	}

	.vb-float-btn .vb-float-metin {
		display: none;
	}

	.vb-float-btn .vb-float-ikon {
		flex: 0 0 22px;
	}

	.vb-float-btn .vb-float-ikon svg {
		width: 22px;
		height: 22px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.vb-float-btn {
		transition: opacity 0.2s ease, visibility 0.2s;
		transform: none;
	}

	.vb-float-btn.aktif {
		transform: none;
	}

	.vb-float-btn:hover,
	.vb-float-btn:active {
		transform: none;
	}

	.vb-float-btn.aktif .vb-float-ikon {
		animation: none;
	}
}
