:root {
	--bg: #efe8de;
	--ink: #1c1915;
	--card: #fffdfb;
	--line: #e4d9cc;
	--brand: #0e6b56;
	--brand-ink: #0c3d32;
	--muted: #6e675f;
	--danger: #9f1239;
	--shadow: 0 1px 2px rgba(48, 36, 22, 0.04), 0 16px 40px rgba(48, 36, 22, 0.06);
	--radius: 18px;
	color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
	font-family: Manrope, "Segoe UI", sans-serif;
	background:
		radial-gradient(900px 420px at 0% -10%, #f8f1e6 0%, transparent 60%),
		radial-gradient(800px 380px at 100% 0%, #e5f3ee 0%, transparent 55%),
		var(--bg);
	color: var(--ink);
	min-height: 100vh;
	line-height: 1.45;
}
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--brand-ink); }
h1, h2, h3, .logo {
	font-family: Fraunces, Georgia, "Times New Roman", serif;
	font-weight: 600;
	letter-spacing: -0.03em;
}
h1 { font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.12; margin: 0; }
h2 { font-size: 1.45rem; margin: 0; }
.top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 16px;
	background: rgba(244, 239, 232, 0.88);
	color: var(--ink);
	position: sticky;
	top: 0;
	z-index: 20;
	border-bottom: 1px solid rgba(28, 25, 21, 0.08);
	backdrop-filter: blur(16px);
}
.logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 1.35rem;
	color: var(--ink);
	text-decoration: none;
}
.mark {
	width: 32px;
	height: 32px;
	border-radius: 10px;
	background: var(--brand);
	display: inline-grid;
	place-items: center;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.mark::after {
	content: "D";
	color: #f6f1e8;
	font-family: Fraunces, Georgia, serif;
	font-size: 1.05rem;
	font-weight: 650;
	line-height: 1;
}
.desktop-nav { display: flex; gap: 4px; align-items: center; }
.navlink, .linkish {
	color: var(--ink);
	text-decoration: none;
	font-family: Manrope, sans-serif;
	font-size: 0.92rem;
	font-weight: 650;
	letter-spacing: 0;
	background: transparent;
	border: 0;
	border-radius: 999px;
	padding: 8px 12px;
	min-height: 40px;
	cursor: pointer;
}
.navlink.active { background: white; box-shadow: 0 1px 2px rgba(48, 36, 22, 0.08); }
.linkish { color: var(--muted); }
.wrap { width: min(1160px, calc(100% - 28px)); margin: 0 auto; padding: 22px 0 112px; }
.kicker {
	margin: 0;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--brand);
}
.hero {
	background: linear-gradient(180deg, rgba(255, 253, 251, 0.96), #fffdfb 70%);
	border: 1px solid var(--line);
	border-radius: 28px;
	padding: 32px 24px 22px;
	box-shadow: var(--shadow);
}
.hero h1 { max-width: 16ch; margin: 8px 0 12px; }
.lede { font-size: 1.05rem; color: var(--muted); margin: 0 0 18px; max-width: 40rem; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.btn, .btn-ghost, .btn-danger {
	border: 0;
	border-radius: 999px;
	padding: 12px 18px;
	min-height: 46px;
	cursor: pointer;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-weight: 700;
}
.btn {
	background: linear-gradient(180deg, #1b816b, #0e6b56);
	color: white;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 8px 18px rgba(14, 107, 86, 0.22);
}
.btn:hover { filter: brightness(1.05); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; filter: none; }
.btn-ghost { background: white; border: 1px solid var(--line); color: var(--ink); }
.btn-danger { background: #fff1f2; color: var(--danger); }
.grid { display: grid; gap: 14px; }
.stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 16px; }
.stat, .card, .sheet {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}
.stat { padding: 14px; display: grid; gap: 6px; align-content: start; }
.stat b { display: block; font-size: 1.35rem; font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }
.stat span, .muted { color: var(--muted); }
.steps { margin-top: 16px; grid-template-columns: 1fr; }
.step { padding: 16px; display: grid; gap: 6px; align-content: start; }
.step-no { font-family: Fraunces, Georgia, serif; font-size: 1.35rem; color: var(--brand); line-height: 1; }
.catalog-head { display: grid; gap: 6px; margin-bottom: 14px; }
.catalog-head p { margin: 0; }
.filters { display: grid; gap: 10px; margin-bottom: 14px; padding: 12px; align-items: end; }
input, select, textarea {
	width: 100%;
	border: 1px solid var(--line);
	background: #fff;
	border-radius: 12px;
	padding: 12px;
	min-height: 46px;
	font-size: 16px;
}
input:focus, select:focus, textarea:focus {
	outline: 2px solid rgba(14, 107, 86, 0.28);
	border-color: #8fcec0;
}
textarea { min-height: 88px; resize: vertical; }
label { display: grid; gap: 6px; font-size: 0.82rem; font-weight: 700; }
.products { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
.product {
	overflow: hidden;
	display: flex;
	flex-direction: column;
	height: 100%;
	text-decoration: none;
	color: inherit;
	transition: transform .16s ease, box-shadow .16s ease;
}
.photo-well {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: radial-gradient(circle at 50% 42%, #fff 0%, #f3ece3 72%);
	flex: none;
}
.product .photo-well { border-bottom: 1px solid var(--line); }
.photo-well img, .product .photo, .gallery .photo-well img {
	position: absolute;
	inset: 12px;
	width: calc(100% - 24px);
	height: calc(100% - 24px);
	max-width: none;
	object-fit: contain;
	object-position: center;
}
.product .body, .pad { padding: 12px 12px 14px; }
.product .body { display: grid; gap: 8px; align-content: start; flex: 1; }
.product h2, .title {
	font-family: Manrope, sans-serif;
	font-size: 0.92rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.35;
	margin: 0;
}
.product h2 {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 2.5em;
}
.price { font-variant-numeric: tabular-nums; font-size: 1.08rem; font-weight: 800; color: var(--brand-ink); }
.pill {
	display: inline-flex;
	align-items: center;
	border-radius: 999px;
	padding: 4px 8px;
	font-size: 0.72rem;
	font-weight: 750;
	width: fit-content;
}
.cargo-kolay { background: #e7f6f2; color: #115e59; }
.cargo-aras { background: #fde8e8; color: #9f1239; }
.cargo-yurtici { background: #e7f0fb; color: #1e3a8a; }
.cargo-surat { background: #fff4e5; color: #9a3412; }
.cargo-ptt { background: #fef9c3; color: #854d0e; }
.marks { display: flex; flex-wrap: wrap; gap: 4px; }
.cargo-mark { gap: 5px; padding: 2px 7px 2px 3px; }
.cargo-mark img, .choice img, .logo-strip img {
	width: 20px; height: 20px; object-fit: contain; background: white; border-radius: 6px;
}
.logo-strip { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.logo-strip span {
	display: inline-flex; align-items: center; gap: 6px;
	background: #fff; border: 1px solid var(--line); border-radius: 999px;
	padding: 5px 10px 5px 5px; font-size: 0.78rem; font-weight: 700;
}
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.choice {
	display: flex; align-items: center; gap: 8px; width: 100%;
	border: 1px solid var(--line); background: white; border-radius: 14px;
	min-height: 52px; padding: 8px 10px; text-align: left; cursor: pointer;
	font-weight: 700; font-size: 0.86rem;
}
.choice.on { border-color: var(--brand); background: #eef8f5; box-shadow: inset 0 0 0 1px var(--brand); }
.choice img { width: 28px; height: 28px; }
.group-label { margin: 6px 0 0; font-size: 0.82rem; font-weight: 800; }
.xml-grid { display: grid; gap: 14px; }
.xml-card { align-content: start; }
.xml-grid .xml-card:last-child .kicker { color: #8a5a12; }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 16px; }
.detail { display: grid; gap: 16px; }
.gallery { display: grid; gap: 10px; align-content: start; }
.gallery .photo-well {
	border: 1px solid var(--line);
	border-radius: 24px;
	box-shadow: var(--shadow);
	width: min(100%, 520px);
	aspect-ratio: 1 / 1;
}
.thumbs { display: flex; gap: 8px; overflow: auto; padding-bottom: 2px; }
.thumbs button {
	width: 68px; height: 68px; padding: 6px; border-radius: 12px;
	border: 1px solid var(--line); background: white; cursor: pointer;
}
.thumbs button.on { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.sheet { padding: 18px; display: grid; gap: 12px; }
.buybox { align-content: start; }
.checkout { margin-top: 4px; }
.pay-actions { display: grid; gap: 8px; }
.bankbox {
	display: grid;
	gap: 6px;
	background: #f7f3ec;
	border: 1px dashed var(--line);
	border-radius: 14px;
	padding: 12px;
}
.bankbox b { font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
#iyzico { min-height: 460px; }
.checkout .price { font-size: 1.45rem; }
.ok { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; padding: 12px; border-radius: 12px; margin: 0; }
.error { color: var(--danger); font-size: 0.92rem; margin: 0; }
.tabbar {
	position: fixed;
	left: 10px; right: 10px; bottom: calc(8px + env(safe-area-inset-bottom));
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	background: rgba(255, 253, 251, 0.94);
	border: 1px solid var(--line);
	border-radius: 20px;
	padding: 6px;
	z-index: 30;
	backdrop-filter: blur(16px);
	box-shadow: 0 10px 30px rgba(48, 36, 22, 0.12);
}
.tabbar a {
	text-decoration: none;
	color: var(--muted);
	text-align: center;
	font-size: 0.68rem;
	font-weight: 700;
	padding: 4px 2px;
	min-height: 48px;
	display: grid;
	justify-items: center;
	align-content: center;
	gap: 2px;
	border-radius: 14px;
}
.tabbar a svg {
	width: 20px; height: 20px; fill: none; stroke: currentColor;
	stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.tabbar a.active { color: var(--brand-ink); background: #e7f6f2; }
.badge {
	display: inline-block;
	min-width: 16px;
	padding: 0 5px;
	border-radius: 99px;
	background: var(--brand);
	color: white;
	font-size: 0.68rem;
	font-family: Manrope, sans-serif;
	letter-spacing: 0;
}
.line { display: grid; gap: 8px; padding: 14px; }
.line h3 { margin: 0; font-size: 1.05rem; }
.split { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.desc {
	white-space: pre-wrap;
	color: #3f3a34;
	line-height: 1.55;
	padding-top: 8px;
	border-top: 1px solid var(--line);
}
.xmlbox {
	word-break: break-all;
	background: #1c1915;
	color: #f6f1e8;
	padding: 14px;
	border-radius: 14px;
	font-size: 0.82rem;
	line-height: 1.45;
}
@media (min-width: 800px) {
	.wrap { padding-bottom: 48px; }
	.stats { grid-template-columns: repeat(5, minmax(0, 1fr)); }
	.steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.filters { grid-template-columns: 1.5fr 0.8fr 0.9fr auto; }
	.products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.product:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(48, 36, 22, 0.1); }
	.detail { grid-template-columns: 1.05fr 0.95fr; align-items: start; }
	.buybox { position: sticky; top: 84px; }
	.choice-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.xml-grid { grid-template-columns: 1fr 1fr; align-items: stretch; }
	.tabbar { display: none; }
}
@media (max-width: 799px) {
	.desktop-nav { display: none; }
	.hero h1 { max-width: none; }
}
