/* Dikmen Kampanya — ust serit, rozet, kargo cubugu, popup */
:root {
	--dk-honey: #f2b01e;
	--dk-honey-dark: #4a2c00;
	--dk-green: #116735;
	--dk-green-dark: #0a3b1e;
}

/* Ust duyuru seridi */
.dk-topbar {
	position: relative;
	z-index: 1000;
	padding: 8px 16px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	text-align: center;
}
.dk-topbar a,
.dk-topbar a:hover,
.dk-topbar a:focus {
	display: inline-block;
	text-decoration: none;
}
.dk-topbar a:hover,
.dk-topbar a:focus-visible {
	text-decoration: underline;
}
@media (max-width: 767px) {
	.dk-topbar { font-size: 12px; padding: 6px 12px; }
	.dk-popup__box { padding: 28px 18px 22px; }
	.dk-popup__title { font-size: 20px; }
}

/* Mobil sablon (So Mobile): ust cubuk position:fixed; serit onu ortmesin */
body[class*="mobilelayout"] .dk-topbar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 12;
	padding: 5px 10px;
	font-size: 12px;
}
body[class*="mobilelayout"] .bar-nav { top: var(--dk-top, 0px); }
body[class*="mobilelayout"] .content { top: var(--dk-top, 0px); }
body[class*="mobilelayout"] .panel-menu,
body[class*="mobilelayout"] .panel-left,
body[class*="mobilelayout"] .panel-right { top: var(--dk-top, 0px); }

/* Urun rozeti (temanin indirim etiketi yerine) */
.label-product.dk-badge {
	width: auto !important;
	min-width: 0 !important;
	height: auto !important;
	padding: 4px 9px !important;
	border-radius: 999px !important;
	background: var(--dk-honey) !important;
	color: var(--dk-honey-dark) !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	white-space: nowrap;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
}
.label-product.dk-badge::before,
.label-product.dk-badge::after { display: none !important; }

.dk-badge-inline {
	display: inline-block;
	margin-left: 6px;
	padding: 2px 8px;
	border-radius: 999px;
	background: var(--dk-honey);
	color: var(--dk-honey-dark);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.5;
	vertical-align: middle;
	white-space: nowrap;
}

/* Ucretsiz kargo cubugu */
.dk-progress {
	margin: 12px 0 18px;
	padding: 12px 14px;
	border: 1px solid #f3dca0;
	border-radius: 8px;
	background: #fff9e8;
	color: #3d2b00;
	font-size: 14px;
}
.dk-progress__text { margin-bottom: 8px; }
.dk-progress__track {
	height: 8px;
	overflow: hidden;
	border-radius: 999px;
	background: #efe3c2;
}
.dk-progress__track span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: var(--dk-honey);
	transition: width .4s ease;
}
.dk-progress--done {
	border-color: #b7dfc5;
	background: #edf8f1;
	color: var(--dk-green-dark);
}
.dk-progress--done .dk-progress__track span { background: var(--dk-green); }
.dk-progress--compact { margin: 0 0 8px; padding: 8px 10px; font-size: 12px; }
.dk-mini { padding: 10px 10px 0; list-style: none; }

/* Acilis popup'i */
.dk-popup {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	box-sizing: border-box;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(10, 30, 15, .55);
	opacity: 0;
	transition: opacity .25s ease;
}
.dk-popup.is-open { opacity: 1; }
.dk-popup__box {
	position: relative;
	box-sizing: border-box;
	width: 100%;
	max-width: min(440px, calc(100vw - 32px));
	max-height: calc(100vh - 32px);
	overflow-y: auto;
	padding: 32px 28px 26px;
	border-top: 6px solid var(--dk-honey);
	border-radius: 14px;
	background: #fff;
	color: #2b2b2b;
	text-align: center;
	box-shadow: 0 20px 50px rgba(0, 0, 0, .3);
	transform: translateY(12px);
	transition: transform .25s ease;
}
.dk-popup.is-open .dk-popup__box { transform: none; }
.dk-popup__badge {
	display: inline-block;
	margin-bottom: 12px;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--dk-honey);
	color: var(--dk-honey-dark);
	font-size: 13px;
	font-weight: 700;
}
.dk-popup__title {
	margin: 0 0 10px;
	color: var(--dk-green-dark);
	font-size: 24px;
	font-weight: 700;
	line-height: 1.25;
}
.dk-popup__text { margin: 0 0 20px; font-size: 15px; line-height: 1.55; }
.dk-popup__button {
	display: inline-block;
	padding: 11px 24px;
	border-radius: 8px;
	background: var(--dk-green);
	color: #fff !important;
	font-weight: 700;
	text-decoration: none !important;
}
.dk-popup__button:hover,
.dk-popup__button:focus-visible { background: var(--dk-green-dark); }
.dk-popup__close {
	position: absolute;
	top: 8px;
	right: 10px;
	width: 36px;
	height: 36px;
	border: 0;
	background: none;
	color: #666;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
}
.dk-popup__close:hover,
.dk-popup__close:focus-visible { color: #000; }
@media (prefers-reduced-motion: reduce) {
	.dk-popup, .dk-popup__box, .dk-progress__track span { transition: none; }
}

/* ---------- Sepete ekleme sonrasi ucretsiz kargo tesvik bildirimi ---------- */
.dk-fs {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 100001;
	box-sizing: border-box;
	width: 380px;
	max-width: calc(100vw - 24px);
	max-height: calc(100vh - 40px);
	overflow-y: auto;
	padding: 14px 16px 12px;
	border: 1px solid #e6e9e4;
	border-radius: 14px;
	background: #fff;
	color: #1f2a22;
	box-shadow: 0 18px 40px rgba(16, 40, 24, .22);
	opacity: 0;
	transform: translateY(16px);
	pointer-events: none;
	transition: opacity .2s ease, transform .2s ease;
}
.dk-fs.is-open { opacity: 1; transform: none; pointer-events: auto; }
.dk-fs__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.dk-fs__title { color: #116735; font-size: 15px; font-weight: 700; }
.dk-fs__close {
	width: 32px;
	height: 32px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: #5b6660;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}
.dk-fs__close:hover, .dk-fs__close:focus-visible { background: #f1f3f0; color: #1f2a22; }
.dk-fs__progress {
	padding: 10px 12px;
	border: 1px solid #f3dca0;
	border-radius: 10px;
	background: #fff9e8;
	color: #3d2b00;
	font-size: 14px;
}
.dk-fs__progress.is-done { border-color: #b7dfc5; background: #edf8f1; color: #0a3b1e; }
.dk-fs__msg { margin-bottom: 8px; line-height: 1.4; }
.dk-fs__track { height: 8px; overflow: hidden; border-radius: 999px; background: #efe3c2; }
.dk-fs__track span { display: block; height: 100%; border-radius: inherit; background: var(--dk-honey, #f2b01e); transition: width .5s ease; }
.dk-fs__progress.is-done .dk-fs__track span { background: #116735; }
.dk-fs__suggest { margin-top: 12px; }
.dk-fs__suggest-title { margin-bottom: 6px; color: #3b4540; font-size: 13px; font-weight: 600; }
.dk-fs__list { margin: 0; padding: 0; list-style: none; }
.dk-fs__item { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid #eef0ec; }
.dk-fs__item:first-child { border-top: 0; }
.dk-fs__link { display: flex; flex: 1 1 auto; align-items: center; gap: 10px; min-width: 0; color: inherit !important; text-decoration: none !important; }
.dk-fs__link img { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 8px; background: #faf7f0; object-fit: contain; }
.dk-fs__info { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.dk-fs__name { overflow: hidden; font-size: 14px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.dk-fs__price { color: #116735; font-size: 14px; font-weight: 700; }
.dk-fs__old { color: #5b6660; font-size: 12px; font-weight: 400; }
.dk-fs__tag {
	align-self: flex-start;
	margin-top: 2px;
	padding: 1px 7px;
	border-radius: 999px;
	background: #edf8f1;
	color: #0a3b1e;
	font-size: 11px;
	font-weight: 600;
}
.dk-fs__add {
	flex: 0 0 auto;
	min-width: 64px;
	min-height: 40px;
	padding: 0 14px;
	border: 0;
	border-radius: 8px;
	background: #116735;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
}
.dk-fs__add:hover, .dk-fs__add:focus-visible { background: #0a3b1e; }
.dk-fs__add[disabled] { opacity: .7; cursor: default; }
.dk-fs__cart { display: inline-block; margin-top: 10px; color: #116735 !important; font-size: 14px; font-weight: 600; }

/* Sepet sayfasinda ilerleme kutusunun icinde */
.dk-fs__suggest--page { margin-top: 12px; padding-top: 10px; border-top: 1px dashed #efd79a; }
.dk-fs__suggest--page .dk-fs__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 20px; }
.dk-fs__suggest--page .dk-fs__item { border-top: 0; }

/* Mobil: alt menunun (ve varsa sabit sepet cubugunun) ustunde, tam genislik */
@media (max-width: 767px) {
	.dk-fs { left: 8px; right: 8px; bottom: 58px; width: auto; max-height: calc(100vh - 140px); }
	body.dk-sticky-on .dk-fs { bottom: 124px; }
}
@media (prefers-reduced-motion: reduce) {
	.dk-fs, .dk-fs__track span { transition: none; }
}

/* Masaustu tema penceresi (#previewModal) icinde */
.dk-fs-inmodal { clear: both; margin-top: 16px; padding-top: 14px; border-top: 1px solid #eef0ec; }
.dk-fs-inmodal .dk-fs__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 16px; }
.dk-fs-inmodal .dk-fs__item { border-top: 0; flex-wrap: wrap; }
.dk-fs-inmodal .dk-fs__add { width: 100%; }

/* Odeme sayfasi (Quick Checkout) bandi */
.dk-fs-checkout { margin: 0 0 18px; }
.dk-fs-checkout .dk-fs__progress { padding: 14px 16px; font-size: 15px; }
.dk-fs-checkout .dk-fs__suggest--page { margin-top: 0; padding: 12px 16px 4px; border: 1px solid #f3dca0; border-top: 0; border-radius: 0 0 10px 10px; background: #fffdf6; }
.dk-fs-checkout .dk-fs__progress:not(:last-child) { border-radius: 10px 10px 0 0; }

/* Oneri kartlari: etiket tek satir, masaustunde esit 3 sutun */
.dk-fs__tag { white-space: nowrap; }
.dk-fs__price { white-space: nowrap; }
@media (min-width: 768px) {
	.dk-fs__suggest--page .dk-fs__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 28px; }
	.dk-fs__suggest--page .dk-fs__item { gap: 12px; }
	.dk-fs__suggest--page .dk-fs__add { min-width: 72px; }
}
