/* DG Bildirimler — Canlı Akış satırlarıyla aynı görsel dil. */
.dgsn {
	--dgsn-ink: var(--cartify_color_text_body, #222);
	--dgsn-muted: var(--cartify_color_text_body_1, #777);
	--dgsn-line: #ebe8e5;
	--dgsn-dot: #9e2f4a;
	position: fixed;
	z-index: 9990;
	bottom: calc(20px + env(safe-area-inset-bottom, 0px));
	left: 20px;
	width: min(360px, calc(100vw - 24px));
	pointer-events: none;
	font-family: inherit;
	letter-spacing: var(--cartify_letter_spacing_regular_2, 0.01em);
}
.dgsn--right { left: auto; right: 20px; }

.dgsn__toast {
	pointer-events: auto;
	position: relative;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	padding: 10px 8px 10px 10px;
	background: #fff;
	border: 1px solid var(--dgsn-line);
	border-radius: 10px;
	box-shadow: 0 8px 28px rgba(34, 34, 34, .08);
	color: #444;
	font-size: 13.5px;
	line-height: 1.4;
	opacity: 0;
	transform: translateY(12px);
	transition: opacity .3s ease, transform .3s ease, border-color .2s;
	touch-action: pan-y;
}
.dgsn__toast.is-in { opacity: 1; transform: none; }
.dgsn__toast.is-out { opacity: 0; transform: translateY(8px); }
.dgsn__toast.is-link { cursor: pointer; }
.dgsn__toast.is-link:hover { border-color: #d6d0ca; }

.dgsn__img { display: block; width: 44px; height: 44px; border-radius: 6px; object-fit: cover; background: #f5f0eb; }
.dgsn__dot { width: 6px; height: 6px; margin: 0 4px 0 6px; border-radius: 50%; background: var(--dgsn-dot); }
.dgsn__body { min-width: 0; }
.dgsn .dgsn__text { margin: 0; color: #444; font-size: inherit; line-height: inherit; overflow-wrap: anywhere; }
.dgsn__text strong { color: var(--dgsn-ink); font-weight: 600; }
.dgsn__product { color: var(--dgsn-ink); }
.dgsn__time { display: block; margin-top: 2px; font-size: 12px; color: var(--dgsn-muted); font-variant-numeric: tabular-nums; }
.dgsn__cta { display: inline-block; margin-top: 4px; font-size: 12.5px; font-weight: 600; color: var(--dgsn-ink); }
.dgsn__badge { display: inline-block; margin-left: 4px; padding: 0 6px; border-radius: 4px; background: #fff2e7; color: var(--dgsn-ink); font-size: 12px; font-weight: 600; }

.dgsn .dgsn__close {
	appearance: none;
	align-self: start;
	width: 32px;
	height: 32px;
	margin: -4px -2px 0 0;
	padding: 0;
	border: 0;
	border-radius: 6px;
	background: transparent;
	color: #999;
	font: inherit;
	font-size: 20px;
	line-height: 32px;
	text-align: center;
	cursor: pointer;
}
.dgsn .dgsn__close:hover { color: var(--dgsn-ink); background: #f6f4f2; }
.dgsn .dgsn__close:focus-visible, .dgsn__toast:focus-visible { outline: 2px solid #f97e81; outline-offset: 2px; }

@media (max-width: 640px) {
	.dgsn, .dgsn--right {
		left: 12px;
		right: 12px;
		width: auto;
		bottom: calc(var(--dgsn-m-offset, 72px) + 8px + env(safe-area-inset-bottom, 0px));
	}
	.dgsn__toast { font-size: 13px; padding: 8px 6px 8px 8px; gap: 10px; }
	.dgsn__img { width: 40px; height: 40px; }
}

/* Ürün sayfası satır içi kanıt */
.dgsh-proof {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 12px 0 16px;
	font-size: 14px;
	line-height: 1.45;
	color: #555;
}
.dgsh-proof[hidden] { display: none; }
.dgsh-proof__row { position: relative; padding-left: 14px; }
.dgsh-proof__row[hidden] { display: none; }
.dgsh-proof__row::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: #9e2f4a; }
.dgsh-proof__row strong { color: var(--cartify_color_text_body, #222); font-weight: 600; }
.dgsh-proof__link { margin-left: 4px; color: inherit; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.dgsh-proof__viewers::before { background: var(--cartify_color_text_success, #11dd55); }

/* Bildirim varken yüzen düğmeler (Davetiye Bul, AI sohbet) yumuşakça çekilir. */
.dgsn-yield {
	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
	transition: opacity .25s ease, visibility 0s linear .25s !important;
}
.dgsn-yield-back { transition: opacity .3s ease, visibility 0s linear 0s !important; }

@media (prefers-reduced-motion: reduce) {
	.dgsn__toast { transition: opacity .2s; transform: none !important; }
}
@media print { .dgsn { display: none; } }
