/*
 * DigFair — site and Mini App stylesheet
 * Base look comes from shared classes (Bootstrap 5 + DigFair dg-*); page-only styling sits under a scoped page or component root.
 * The admin panel uses assets/css/admin.css.
 * Ortak görünüm ortak sınıflardan gelir; sayfaya özel giydirme sayfa kök sınıfı altındadır. Admin paneli admin.css kullanır.
 */

/* ---------- 1. Tokens ---------- */
:root {
	--dg-bg: #fff8e9;
	--dg-bg-2: #f6e8cf;
	--dg-surface: #fffdf8;
	--dg-surface-2: #fbf1df;
	--dg-surface-3: #f2e3c8;
	--dg-line: rgba(107, 91, 75, .14);
	--dg-line-2: rgba(107, 91, 75, .24);
	--dg-text: #3a2a1c;
	--dg-text-2: #6b5b4b;
	--dg-text-3: #9a8a77;
	--dg-crystal: #2ec4b6;
	--dg-crystal-edge: #1f9a8f;
	--dg-success: #4e7f52;
	--dg-success-soft: #e3efdf;
	--dg-go: #4e7f52;
	--dg-go-edge: #355c39;
	--dg-danger: #d0413f;
	--dg-danger-soft: #fbe6e3;
	--dg-info: #2f7cf6;
	--dg-info-soft: #e5efff;
	--dg-warn-soft: #fdf1d8;

	/* Accent: changed by the theme setting - Vurgu: tema ayarı değiştirir */
	--dg-accent: #d07f3f;
	--dg-accent-edge: #a55e27;
	--dg-accent-soft: #f7e2cd;
	--dg-accent-ink: #9a5520;
	--dg-on-accent: #ffffff;
	--dg-accent-rgb: 208, 127, 63;

	--dg-font: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Arabic", Tahoma, Arial, sans-serif;
	--dg-fs-xs: .75rem;
	--dg-fs-sm: .8125rem;
	--dg-fs: .9375rem;
	--dg-fs-md: 1.0625rem;
	--dg-fs-lg: 1.25rem;
	--dg-fs-xl: 1.5rem;
	--dg-fs-2xl: 2rem;

	--dg-radius-xl: 26px;
	--dg-radius-lg: 20px;
	--dg-radius: 16px;
	--dg-radius-sm: 12px;
	--dg-radius-xs: 8px;
	--dg-gap: 12px;
	--dg-shadow: 0 1px 0 rgba(74, 52, 22, .05), 0 8px 22px rgba(74, 52, 22, .07);
	--dg-shadow-lg: 0 18px 44px rgba(74, 52, 22, .16);
	--dg-tabbar-h: 68px;

	/* Bootstrap bridge - Bootstrap köprüsü */
	--bs-body-font-family: var(--dg-font);
	--bs-body-bg: var(--dg-bg);
	--bs-body-color: var(--dg-text);
	--bs-emphasis-color: var(--dg-text);
	--bs-secondary-color: var(--dg-text-2);
	--bs-tertiary-color: var(--dg-text-3);
	--bs-border-color: var(--dg-line);
	--bs-link-color: var(--dg-accent-ink);
	--bs-link-color-rgb: 154, 93, 0;
	--bs-link-hover-color: var(--dg-text);
	--bs-heading-color: var(--dg-text);
	--bs-secondary-bg: var(--dg-surface-3);
	--bs-tertiary-bg: var(--dg-surface-2);
	--bs-success-rgb: 22, 148, 90;
	--bs-danger-rgb: 208, 65, 63;
	--bs-warning-rgb: 244, 167, 43;
	--bs-info-rgb: 47, 124, 246;
}

html.dg-theme-emerald {
	--dg-accent: #1fb877;
	--dg-accent-edge: #12865a;
	--dg-accent-soft: #dcf5e9;
	--dg-accent-ink: #0f7a4d;
	--dg-on-accent: #ffffff;
	--dg-accent-rgb: 31, 184, 119;
	--bs-link-color-rgb: 15, 122, 77;
}
html.dg-theme-sapphire {
	--dg-accent: #2f7cf6;
	--dg-accent-edge: #1b58c2;
	--dg-accent-soft: #e2edff;
	--dg-accent-ink: #1b58c2;
	--dg-on-accent: #ffffff;
	--dg-accent-rgb: 47, 124, 246;
	--bs-link-color-rgb: 27, 88, 194;
}
html.dg-theme-amethyst {
	--dg-accent: #8b5cf6;
	--dg-accent-edge: #6433d0;
	--dg-accent-soft: #eee6ff;
	--dg-accent-ink: #6433d0;
	--dg-on-accent: #ffffff;
	--dg-accent-rgb: 139, 92, 246;
	--bs-link-color-rgb: 100, 51, 208;
}
html.dg-theme-ruby {
	--dg-accent: #e5484d;
	--dg-accent-edge: #b12a31;
	--dg-accent-soft: #fde4e4;
	--dg-accent-ink: #b12a31;
	--dg-on-accent: #ffffff;
	--dg-accent-rgb: 229, 72, 77;
	--bs-link-color-rgb: 177, 42, 49;
}

/* ---------- 2. Base ---------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	background: var(--dg-bg);
	-webkit-text-size-adjust: 100%;
}

body {
	min-height: 100vh;
	margin: 0;
	color: var(--dg-text);
	font-family: var(--dg-font);
	font-size: var(--dg-fs);
	font-weight: 600;
	line-height: 1.5;
	background:
		radial-gradient(900px 420px at 50% -120px, rgba(var(--dg-accent-rgb), .16), transparent 70%),
		var(--dg-bg);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
	color: var(--dg-text);
	font-family: var(--dg-font);
	font-weight: 900;
	line-height: 1.2;
	letter-spacing: -.01em;
}
h1, .h1 { font-size: var(--dg-fs-xl); }
h2, .h2 { font-size: var(--dg-fs-lg); }
h3, .h3 { font-size: var(--dg-fs-md); }
h4, .h4, h5, .h5 { font-size: var(--dg-fs-md); }
h6, .h6 { font-size: var(--dg-fs); }

p { margin-bottom: .75rem; }
small, .small { font-size: var(--dg-fs-sm); font-weight: 600; }
b, strong { font-weight: 800; }
em, i:not([class]) { font-style: normal; }

a {
	color: var(--dg-accent-ink);
	font-weight: 800;
	text-decoration: none;
}
a:hover { color: var(--dg-text); }

img { max-width: 100%; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
.btn:focus-visible {
	outline: 3px solid rgba(var(--dg-accent-rgb), .55);
	outline-offset: 2px;
	box-shadow: none;
}

::selection { background: rgba(var(--dg-accent-rgb), .3); }

.text-muted { color: var(--dg-text-2) !important; }
.text-success { color: var(--dg-success) !important; }
.text-danger { color: var(--dg-danger) !important; }
.text-warning { color: var(--dg-accent-ink) !important; }
.text-dark { color: var(--dg-text) !important; }
.bg-dark { background: var(--dg-surface-2) !important; color: var(--dg-text) !important; }

/* ---------- 3. Bootstrap components (shared dictionary) ---------- */
.card {
	--bs-card-bg: var(--dg-surface);
	--bs-card-color: var(--dg-text);
	--bs-card-border-color: var(--dg-line);
	--bs-card-border-radius: var(--dg-radius-lg);
	--bs-card-inner-border-radius: calc(var(--dg-radius-lg) - 1px);
	--bs-card-cap-bg: transparent;
	--bs-card-spacer-y: 14px;
	--bs-card-spacer-x: 16px;
	color: var(--dg-text);
	background: var(--dg-surface);
	border: 1px solid var(--dg-line);
	border-radius: var(--dg-radius-lg);
	box-shadow: var(--dg-shadow);
}
a.card { text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
a.card:hover { transform: translateY(-1px); box-shadow: var(--dg-shadow-lg); color: var(--dg-text); }
.card-header {
	padding: 14px 16px 10px;
	color: var(--dg-text);
	font-size: var(--dg-fs-md);
	font-weight: 900;
	background: transparent;
	border-bottom: 1px solid var(--dg-line);
}
.card-header b, .card-header strong { font-weight: 900; }
.card-footer { background: transparent; border-top: 1px solid var(--dg-line); }

.btn {
	--bs-btn-font-family: var(--dg-font);
	--bs-btn-font-weight: 800;
	--bs-btn-font-size: var(--dg-fs);
	--bs-btn-border-radius: var(--dg-radius-sm);
	--bs-btn-padding-y: .6rem;
	--bs-btn-padding-x: 1.1rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	line-height: 1.2;
	transition: transform .08s ease, box-shadow .08s ease, filter .15s ease;
}
.btn-sm {
	--bs-btn-font-size: var(--dg-fs-sm);
	--bs-btn-padding-y: .4rem;
	--bs-btn-padding-x: .8rem;
	--bs-btn-border-radius: 10px;
	min-height: 36px;
}
.btn-warning,
.btn-primary {
	--bs-btn-color: var(--dg-on-accent);
	--bs-btn-bg: var(--dg-accent);
	--bs-btn-border-color: var(--dg-accent);
	--bs-btn-hover-color: var(--dg-on-accent);
	--bs-btn-hover-bg: var(--dg-accent);
	--bs-btn-hover-border-color: var(--dg-accent);
	--bs-btn-active-color: var(--dg-on-accent);
	--bs-btn-active-bg: var(--dg-accent-edge);
	--bs-btn-active-border-color: var(--dg-accent-edge);
	--bs-btn-disabled-color: var(--dg-on-accent);
	--bs-btn-disabled-bg: var(--dg-accent);
	--bs-btn-disabled-border-color: var(--dg-accent);
	box-shadow: 0 4px 0 var(--dg-accent-edge);
}
.btn-warning:hover, .btn-primary:hover { filter: brightness(1.05); }
.btn-warning:active, .btn-primary:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--dg-accent-edge); }
.btn-success {
	--bs-btn-bg: var(--dg-success);
	--bs-btn-border-color: var(--dg-success);
	--bs-btn-hover-bg: var(--dg-success);
	--bs-btn-hover-border-color: var(--dg-success);
	box-shadow: 0 4px 0 #0e6b40;
}
.btn-danger {
	--bs-btn-bg: var(--dg-danger);
	--bs-btn-border-color: var(--dg-danger);
	--bs-btn-hover-bg: var(--dg-danger);
	--bs-btn-hover-border-color: var(--dg-danger);
	box-shadow: 0 4px 0 #962b2a;
}
.btn-secondary,
.btn-outline-secondary {
	--bs-btn-color: var(--dg-text);
	--bs-btn-bg: var(--dg-surface);
	--bs-btn-border-color: var(--dg-line-2);
	--bs-btn-hover-color: var(--dg-text);
	--bs-btn-hover-bg: var(--dg-surface-2);
	--bs-btn-hover-border-color: var(--dg-line-2);
	--bs-btn-active-color: var(--dg-text);
	--bs-btn-active-bg: var(--dg-surface-3);
	--bs-btn-active-border-color: var(--dg-line-2);
	--bs-btn-disabled-color: var(--dg-text-3);
	--bs-btn-disabled-bg: var(--dg-surface-2);
	--bs-btn-disabled-border-color: var(--dg-line);
	box-shadow: 0 3px 0 var(--dg-line-2);
}
.btn-outline-warning,
.btn-outline-primary {
	--bs-btn-color: var(--dg-accent-ink);
	--bs-btn-bg: var(--dg-surface);
	--bs-btn-border-color: rgba(var(--dg-accent-rgb), .55);
	--bs-btn-hover-color: var(--dg-accent-ink);
	--bs-btn-hover-bg: var(--dg-accent-soft);
	--bs-btn-hover-border-color: var(--dg-accent);
	--bs-btn-active-color: var(--dg-accent-ink);
	--bs-btn-active-bg: var(--dg-accent-soft);
	--bs-btn-active-border-color: var(--dg-accent);
	border-width: 2px;
}
.btn-outline-danger {
	--bs-btn-color: var(--dg-danger);
	--bs-btn-border-color: rgba(208, 65, 63, .5);
	--bs-btn-hover-bg: var(--dg-danger-soft);
	--bs-btn-hover-color: var(--dg-danger);
	--bs-btn-hover-border-color: var(--dg-danger);
	border-width: 2px;
}
.btn:disabled,
.btn.disabled {
	opacity: .5;
	box-shadow: none;
	transform: none;
}
.btn-close { filter: none; opacity: .6; }
.btn-close-white { filter: none; }

.alert {
	--bs-alert-border-radius: var(--dg-radius);
	--bs-alert-padding-y: 12px;
	--bs-alert-padding-x: 14px;
	color: var(--dg-text);
	font-size: var(--dg-fs-sm);
	font-weight: 700;
	border-width: 1px;
}
.alert-warning { background: var(--dg-warn-soft); border-color: rgba(244, 167, 43, .4); color: #6d4300; }
.alert-info { background: var(--dg-info-soft); border-color: rgba(47, 124, 246, .3); color: #173f84; }
.alert-success { background: var(--dg-success-soft); border-color: rgba(22, 148, 90, .3); color: #0e5c38; }
.alert-danger { background: var(--dg-danger-soft); border-color: rgba(208, 65, 63, .3); color: #8a2522; }
.alert a { color: inherit; text-decoration: underline; }

.badge {
	--bs-badge-font-weight: 800;
	--bs-badge-font-size: .6875rem;
	--bs-badge-padding-y: .35em;
	--bs-badge-padding-x: .6em;
	--bs-badge-border-radius: 999px;
	letter-spacing: .01em;
}
.badge.bg-secondary { background: var(--dg-surface-3) !important; color: var(--dg-text-2) !important; }
.badge.bg-warning { background: var(--dg-accent) !important; color: var(--dg-on-accent) !important; }
.badge.bg-success { background: var(--dg-success) !important; }
.badge.bg-info { background: var(--dg-info) !important; color: #fff !important; }
.badge.bg-danger { background: var(--dg-danger) !important; }
.badge.bg-dark { background: var(--dg-text) !important; color: #fff !important; }

.form-control,
.form-select {
	min-height: 44px;
	color: var(--dg-text);
	font-weight: 700;
	background-color: var(--dg-surface-2);
	border: 2px solid var(--dg-line);
	border-radius: var(--dg-radius-sm);
}
.form-select-sm,
.form-control-sm { min-height: 36px; font-size: var(--dg-fs-sm); border-radius: 10px; }
.form-control::placeholder { color: var(--dg-text-3); font-weight: 600; }
.form-control:focus,
.form-select:focus {
	color: var(--dg-text);
	background-color: var(--dg-surface);
	border-color: var(--dg-accent);
	box-shadow: 0 0 0 4px rgba(var(--dg-accent-rgb), .18);
}
.form-control:disabled, .form-control[readonly] { background-color: var(--dg-surface-3); }
.form-label { margin-bottom: 6px; color: var(--dg-text-2); font-size: var(--dg-fs-sm); font-weight: 800; }
.form-check-input:checked { background-color: var(--dg-accent); border-color: var(--dg-accent); }
.form-check-input:focus { border-color: var(--dg-accent); box-shadow: 0 0 0 4px rgba(var(--dg-accent-rgb), .18); }
.input-group-text { color: var(--dg-text-2); font-weight: 800; background: var(--dg-surface-3); border: 2px solid var(--dg-line); }
.input-group > .form-control { border-radius: var(--dg-radius-sm); }

.table {
	--bs-table-bg: transparent;
	--bs-table-color: var(--dg-text);
	--bs-table-border-color: var(--dg-line);
	--bs-table-striped-bg: var(--dg-surface-2);
	--bs-table-striped-color: var(--dg-text);
	--bs-table-hover-bg: var(--dg-surface-2);
	margin-bottom: 0;
	font-size: var(--dg-fs-sm);
	font-variant-numeric: tabular-nums;
}
.table > thead th {
	color: var(--dg-text-3);
	font-size: var(--dg-fs-xs);
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
	border-bottom-width: 1px;
}
.table > :not(caption) > * > * { padding: 10px 8px; }
.table-bordered > :not(caption) > * > * { border-color: var(--dg-line); }

.pagination {
	--bs-pagination-color: var(--dg-text-2);
	--bs-pagination-bg: var(--dg-surface);
	--bs-pagination-border-color: var(--dg-line);
	--bs-pagination-hover-color: var(--dg-text);
	--bs-pagination-hover-bg: var(--dg-surface-2);
	--bs-pagination-hover-border-color: var(--dg-line-2);
	--bs-pagination-active-color: var(--dg-on-accent);
	--bs-pagination-active-bg: var(--dg-accent);
	--bs-pagination-active-border-color: var(--dg-accent);
	--bs-pagination-disabled-color: var(--dg-text-3);
	--bs-pagination-disabled-bg: var(--dg-surface-2);
	--bs-pagination-border-radius: 10px;
	--bs-pagination-font-size: var(--dg-fs-sm);
	flex-wrap: wrap;
	gap: 4px;
	font-weight: 800;
}
.pagination .page-link { min-width: 36px; min-height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 10px !important; }
.pagination .page-item { margin: 0; }

.modal {
	--bs-modal-bg: var(--dg-surface);
	--bs-modal-color: var(--dg-text);
	--bs-modal-border-color: var(--dg-line);
	--bs-modal-border-radius: var(--dg-radius-xl);
	--bs-modal-inner-border-radius: calc(var(--dg-radius-xl) - 1px);
	--bs-modal-header-border-color: var(--dg-line);
	--bs-modal-footer-border-color: var(--dg-line);
	--bs-modal-padding: 20px;
}
.modal-backdrop { --bs-backdrop-bg: #2b2118; --bs-backdrop-opacity: .45; }
.modal-title { font-weight: 900; }

.nav-link { font-weight: 800; }
.progress { --bs-progress-bg: var(--dg-surface-3); --bs-progress-bar-bg: var(--dg-accent); --bs-progress-border-radius: 999px; height: 10px; }

/* Bootstrap 5.1 has no component variables: direct properties - Bootstrap 5.1 bileşen değişkeni tanımaz; doğrudan özellikler */
.btn {
	padding: .6rem 1.1rem;
	font-family: var(--dg-font);
	font-size: var(--dg-fs);
	font-weight: 800;
	border-radius: var(--dg-radius-sm);
}
.btn-sm { padding: .4rem .8rem; font-size: var(--dg-fs-sm); border-radius: 10px; }
.btn-warning, .btn-primary,
.btn-warning:hover, .btn-primary:hover,
.btn-warning:focus, .btn-primary:focus,
.btn-warning:disabled, .btn-primary:disabled {
	color: #fff;
	background: linear-gradient(135deg, var(--dg-go-edge) 0%, var(--dg-go) 45%, #79b07b 100%);
	border-color: var(--dg-go);
	box-shadow: 0 4px 0 var(--dg-go-edge), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.btn-warning:hover, .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--dg-go-edge), 0 12px 22px rgba(78, 127, 82, .3); }
.btn-warning:active, .btn-primary:active { color: var(--dg-on-accent); background-color: var(--dg-accent-edge); border-color: var(--dg-accent-edge); }
.btn-success, .btn-success:hover, .btn-success:focus { color: #fff; background-color: var(--dg-success); border-color: var(--dg-success); }
.btn-danger, .btn-danger:hover, .btn-danger:focus { color: #fff; background-color: var(--dg-danger); border-color: var(--dg-danger); }
.btn-secondary, .btn-outline-secondary {
	color: var(--dg-text);
	background-color: var(--dg-surface);
	border-color: var(--dg-line-2);
}
.btn-secondary:hover, .btn-outline-secondary:hover, .btn-secondary:focus, .btn-outline-secondary:focus { color: var(--dg-text); background-color: var(--dg-surface-2); border-color: var(--dg-line-2); }
.btn-outline-warning, .btn-outline-primary { color: var(--dg-accent-ink); background-color: var(--dg-surface); border-color: rgba(var(--dg-accent-rgb), .55); }
.btn-outline-warning:hover, .btn-outline-primary:hover,
.btn-outline-warning:focus, .btn-outline-primary:focus,
.btn-outline-warning:active, .btn-outline-primary:active { color: var(--dg-accent-ink); background-color: var(--dg-accent-soft); border-color: var(--dg-accent); }
.btn-outline-danger { color: var(--dg-danger); border-color: rgba(208, 65, 63, .5); }
.btn-outline-danger:hover, .btn-outline-danger:focus { color: var(--dg-danger); background-color: var(--dg-danger-soft); border-color: var(--dg-danger); }
.btn:focus { box-shadow: none; }
.badge { padding: .35em .6em; font-size: .6875rem; font-weight: 800; border-radius: 999px; }
.page-link { color: var(--dg-text-2); font-weight: 800; background-color: var(--dg-surface); border-color: var(--dg-line); }
.page-link:hover, .page-link:focus { color: var(--dg-text); background-color: var(--dg-surface-2); border-color: var(--dg-line-2); box-shadow: none; }
.page-item.active .page-link { color: var(--dg-on-accent); background-color: var(--dg-accent); border-color: var(--dg-accent); }
.page-item.disabled .page-link { color: var(--dg-text-3); background-color: var(--dg-surface-2); border-color: var(--dg-line); }
.modal-content { color: var(--dg-text); background-color: var(--dg-surface); border: 1px solid var(--dg-line); border-radius: var(--dg-radius-xl); }
.modal-header, .modal-footer { border-color: var(--dg-line); }
.modal-backdrop.show { opacity: .45; }
.modal-backdrop { background-color: #2b2118; }
.progress { height: 10px; background-color: var(--dg-surface-3); border-radius: 999px; }
.table { color: var(--dg-text); border-color: var(--dg-line); }
.table-striped > tbody > tr:nth-of-type(odd) > * { --bs-table-accent-bg: var(--dg-surface-2); color: var(--dg-text); }
.alert { padding: 12px 14px; border-radius: var(--dg-radius); }
.card-body { padding: 14px 16px; }

/* ---------- 4. DigFair shared components ---------- */
.dg-page { display: flex; flex-direction: column; min-width: 0; }
.dg-page > *:not(:last-child):not(script):not(form[hidden]) { margin-bottom: var(--dg-gap) !important; }
.dg-page > script, .dg-page > form[hidden] { margin: 0 !important; }

.page-title { margin: 4px 2px 2px; }
.page-title h1 { margin: 0; font-size: var(--dg-fs-2xl); }

.dg-card {
	position: relative;
	display: block;
	min-width: 0;
	padding: 14px 16px;
	color: var(--dg-text);
	background: var(--dg-surface);
	border: 1px solid var(--dg-line);
	border-radius: var(--dg-radius-lg);
	box-shadow: var(--dg-shadow);
}
a.dg-card, button.dg-card { color: var(--dg-text); text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
a.dg-card:hover, button.dg-card:hover { color: var(--dg-text); border-color: rgba(var(--dg-accent-rgb), .45); box-shadow: var(--dg-shadow-lg); }
a.dg-card:active, button.dg-card:active { transform: scale(.985); }
.dg-card > strong,
.dg-card > div > strong { display: block; font-size: var(--dg-fs-md); font-weight: 900; line-height: 1.25; }
.dg-card small { display: block; color: var(--dg-text-2); font-size: var(--dg-fs-sm); line-height: 1.4; }
.dg-card .dg-row small { display: inline; }

.dg-kicker {
	display: block;
	margin-bottom: 4px;
	color: var(--dg-accent-ink);
	font-size: var(--dg-fs-xs);
	font-weight: 900;
	letter-spacing: .06em;
	line-height: 1.3;
	text-transform: uppercase;
}
.dg-muted { color: var(--dg-text-3); }

.dg-bar {
	position: relative;
	height: 10px;
	margin: 8px 0 6px;
	overflow: hidden;
	background: var(--dg-surface-3);
	border-radius: 999px;
	box-shadow: inset 0 1px 2px rgba(74, 52, 22, .12);
}
.dg-bar > span {
	display: block;
	height: 100%;
	min-width: 6px;
	background: linear-gradient(90deg, var(--dg-accent), color-mix(in srgb, var(--dg-accent) 70%, #fff));
	border-radius: inherit;
	transition: width .3s ease;
}
.dg-bar.is-blue > span { background: linear-gradient(90deg, var(--dg-crystal), #55dccf); }

.dg-btn {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	min-height: 46px;
	padding: 10px 18px;
	overflow: hidden;
	color: #fff;
	font-family: var(--dg-font);
	font-size: var(--dg-fs);
	font-weight: 900;
	line-height: 1.2;
	letter-spacing: .01em;
	text-align: center;
	text-decoration: none;
	text-shadow: 0 1px 0 rgba(0, 0, 0, .18);
	background: linear-gradient(135deg, var(--dg-go-edge) 0%, var(--dg-go) 45%, #79b07b 100%);
	border: 0;
	border-radius: var(--dg-radius);
	box-shadow: 0 4px 0 var(--dg-go-edge), 0 8px 18px rgba(78, 127, 82, .28), inset 0 1px 0 rgba(255, 255, 255, .35);
	cursor: pointer;
	user-select: none;
	isolation: isolate;
	-webkit-tap-highlight-color: transparent;
	transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
/* Light sweep on hover - Üzerine gelince ışık süpürmesi */
.dg-btn::after {
	position: absolute;
	top: 0;
	bottom: 0;
	left: -60%;
	z-index: -1;
	width: 45%;
	content: '';
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .38), transparent);
	transform: skewX(-18deg);
	transition: left .55s ease;
	pointer-events: none;
}
a.dg-btn, .dg-btn:hover { color: #fff; }
.dg-btn:hover {
	transform: translateY(-2px);
	filter: saturate(1.08) brightness(1.04);
	box-shadow: 0 6px 0 var(--dg-go-edge), 0 14px 26px rgba(78, 127, 82, .34), inset 0 1px 0 rgba(255, 255, 255, .4);
}
.dg-btn:hover::after { left: 115%; }
.dg-btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--dg-go-edge), 0 4px 10px rgba(78, 127, 82, .2), inset 0 1px 0 rgba(255, 255, 255, .25); }
.dg-btn.w-auto { display: inline-flex; width: auto; white-space: nowrap; }
.dg-btn-lg { min-height: 54px; padding-inline: 24px; font-size: var(--dg-fs-md); border-radius: var(--dg-radius-lg); }
.dg-btn.is-ghost {
	color: var(--dg-text);
	text-shadow: none;
	background: linear-gradient(180deg, var(--dg-surface) 0%, var(--dg-surface-2) 100%);
	border: 1px solid var(--dg-line-2);
	box-shadow: 0 3px 0 var(--dg-line-2), inset 0 1px 0 rgba(255, 255, 255, .8);
}
.dg-btn.is-ghost::after { background: linear-gradient(100deg, transparent, rgba(var(--dg-accent-rgb), .16), transparent); }
a.dg-btn.is-ghost, .dg-btn.is-ghost:hover { color: var(--dg-text); }
.dg-btn.is-ghost:hover { border-color: rgba(var(--dg-accent-rgb), .45); box-shadow: 0 5px 0 var(--dg-line-2), 0 10px 18px rgba(107, 91, 75, .14), inset 0 1px 0 rgba(255, 255, 255, .8); }
.dg-btn.is-ghost:active { box-shadow: 0 1px 0 var(--dg-line-2); }
.dg-btn.is-blue {
	background: linear-gradient(135deg, var(--dg-crystal-edge) 0%, var(--dg-crystal) 50%, #7fe3d8 100%);
	box-shadow: 0 4px 0 var(--dg-crystal-edge), 0 8px 18px rgba(46, 196, 182, .28), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.dg-btn.is-blue:hover { box-shadow: 0 6px 0 var(--dg-crystal-edge), 0 14px 26px rgba(46, 196, 182, .34), inset 0 1px 0 rgba(255, 255, 255, .4); }
.dg-btn.is-blue:active { box-shadow: 0 1px 0 var(--dg-crystal-edge); }
.dg-btn:disabled,
.dg-btn[disabled] {
	color: var(--dg-text-2);
	text-shadow: none;
	background: var(--dg-surface-3);
	border-color: transparent;
	box-shadow: none;
	transform: none;
	filter: none;
	cursor: not-allowed;
}
.dg-btn:disabled::after, .dg-btn[disabled]::after { display: none; }
.dg-btn .dg-icon { flex: 0 0 auto; }

.dg-actions { display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; gap: 10px; }

.dg-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.dg-head strong { display: inline-flex; align-items: center; gap: 8px; font-size: var(--dg-fs-md); font-weight: 900; }
.dg-head span { color: var(--dg-accent-ink); font-size: var(--dg-fs-sm); font-weight: 900; white-space: nowrap; }

.dg-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	padding: 9px 0;
	font-size: var(--dg-fs-sm);
	border-top: 1px dashed var(--dg-line-2);
}
.dg-head + .dg-row, .dg-row:first-child { border-top: 0; }
.dg-row > span:first-child { min-width: 0; color: var(--dg-text-2); font-weight: 700; }
.dg-row > strong, .dg-row > span:last-child { font-weight: 900; font-variant-numeric: tabular-nums; text-align: end; }
.dg-row small { color: var(--dg-text-3); }

.dg-list { margin: 0; padding: 0; list-style: none; }
.dg-list > li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px dashed var(--dg-line-2); font-size: var(--dg-fs-sm); }
.dg-list > li:first-child { border-top: 0; }

.dg-icon { flex: 0 0 auto; vertical-align: -.2em; }
.dg-art { flex: 0 0 auto; object-fit: contain; }
.dg-card-art { flex: 0 0 auto; object-fit: cover; border-radius: var(--dg-radius); box-shadow: 0 3px 0 var(--dg-line-2); }

.dg-task-head { display: flex; align-items: center; gap: 14px; }
.dg-task-head > div { min-width: 0; }
.dg-task-head > img { flex: 0 0 auto; object-fit: contain; }
.dg-task-head strong { display: block; font-size: var(--dg-fs-md); font-weight: 900; }
.dg-task-head small { display: block; color: var(--dg-text-2); }

/* Picture cards: art on the right, text on a clean panel - Görselli kart */
.dg-scene {
	overflow: hidden;
	min-height: 132px;
	padding: 14px 16px;
	background-color: var(--dg-surface);
	background-repeat: no-repeat;
	background-position: right center;
	background-size: cover;
	isolation: isolate;
}
.dg-scene::before {
	position: absolute;
	inset: 0;
	z-index: -1;
	content: '';
	background: linear-gradient(90deg, var(--dg-surface) 0%, var(--dg-surface) 45%, rgba(255, 255, 255, .6) 72%, rgba(255, 255, 255, .3) 100%);
}
.dg-scene > * { position: relative; }
.dg-scene small { max-width: 30ch; }
[dir="rtl"] .dg-scene { background-position: left center; }
[dir="rtl"] .dg-scene::before { background: linear-gradient(270deg, var(--dg-surface) 0%, var(--dg-surface) 45%, rgba(255, 255, 255, .6) 72%, rgba(255, 255, 255, .3) 100%); }

.dg-quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.dg-quick > .dg-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 92px;
	padding: 12px 6px;
	font-size: var(--dg-fs-sm);
	font-weight: 900;
	text-align: center;
	cursor: pointer;
}

details.dg-card > summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 28px;
	font-size: var(--dg-fs-md);
	font-weight: 900;
	list-style: none;
	cursor: pointer;
}
details.dg-card > summary::-webkit-details-marker { display: none; }
details.dg-card > summary::after {
	width: 28px;
	height: 28px;
	content: '+';
	color: var(--dg-accent-ink);
	font-size: 1.1rem;
	line-height: 26px;
	text-align: center;
	background: var(--dg-accent-soft);
	border-radius: 50%;
}
details.dg-card[open] > summary { margin-bottom: 8px; }
details.dg-card[open] > summary::after { content: '−'; }

.dg-section { margin-top: 6px; }
.dg-section-title,
.dg-section > h2 {
	margin: 8px 2px 8px;
	color: var(--dg-text-2);
	font-size: var(--dg-fs-sm);
	font-weight: 900;
	letter-spacing: .06em;
	text-transform: uppercase;
}

/* Page header with picture - Görselli sayfa başlığı */
.dg-page-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 150px;
	padding: 18px;
	overflow: hidden;
	background-color: var(--dg-surface);
	background-position: right center;
	background-repeat: no-repeat;
	background-size: cover;
	border: 1px solid var(--dg-line);
	border-radius: var(--dg-radius-xl);
	box-shadow: var(--dg-shadow);
	isolation: isolate;
}
.dg-page-hero::before {
	position: absolute;
	inset: 0;
	z-index: -1;
	content: '';
	background: linear-gradient(90deg, var(--dg-surface) 0%, rgba(255, 255, 255, .92) 45%, rgba(255, 255, 255, .3) 100%);
}
.dg-page-hero > div { max-width: 64%; }
.dg-page-hero h1 { margin: 0 0 4px; font-size: var(--dg-fs-2xl); }
.dg-page-hero p { margin: 0; color: var(--dg-text-2); font-size: var(--dg-fs-sm); font-weight: 700; }
[dir="rtl"] .dg-page-hero { background-position: left center; }
[dir="rtl"] .dg-page-hero::before { background: linear-gradient(270deg, var(--dg-surface) 0%, rgba(255, 255, 255, .92) 45%, rgba(255, 255, 255, .3) 100%); }

.dg-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 8px; }
.dg-stats > * {
	padding: 12px 8px;
	text-align: center;
	background: var(--dg-surface-2);
	border: 1px solid var(--dg-line);
	border-radius: var(--dg-radius);
}
.dg-stats strong { display: block; font-size: var(--dg-fs-lg); font-weight: 900; font-variant-numeric: tabular-nums; }
.dg-stats small { display: block; color: var(--dg-text-2); font-size: var(--dg-fs-xs); }

.dg-steps,
.dg-rules { margin: 0; padding: 0; list-style: none; counter-reset: dg-step; }
.dg-steps > li,
.dg-rules > li {
	position: relative;
	min-height: 32px;
	padding: 4px 0 10px;
	padding-inline-start: 44px;
	counter-increment: dg-step;
	font-size: var(--dg-fs-sm);
	font-weight: 700;
}
.dg-steps > li::before,
.dg-rules > li::before {
	position: absolute;
	top: 0;
	inset-inline-start: 0;
	width: 30px;
	height: 30px;
	content: counter(dg-step);
	color: var(--dg-on-accent);
	font-size: var(--dg-fs-sm);
	font-weight: 900;
	line-height: 30px;
	text-align: center;
	background: var(--dg-accent);
	border-radius: 50%;
	box-shadow: 0 2px 0 var(--dg-accent-edge);
}
.dg-rules > li strong, .dg-steps > li strong { display: block; font-size: var(--dg-fs); }

.dg-ref-steps { display: inline-flex; gap: 4px; }
.dg-ref-steps > b {
	display: inline-grid;
	place-items: center;
	min-width: 28px;
	height: 28px;
	padding: 0 4px;
	color: var(--dg-text-3);
	font-size: var(--dg-fs-xs);
	background: var(--dg-surface-3);
	border-radius: 999px;
}
.dg-ref-steps > b.is-done { color: #fff; background: var(--dg-success); }

.dg-copy { display: flex; gap: 8px; }
.dg-copy .form-control {
	flex: 1 1 auto;
	min-width: 0;
	font-size: var(--dg-fs-sm);
	unicode-bidi: plaintext;
	text-align: start;
}
.dg-copy .btn, .dg-copy .dg-btn { flex: 0 0 auto; width: auto; }

.dg-rank {
	display: inline-block;
	min-width: 44px;
	padding: 2px 8px;
	color: var(--dg-accent-ink);
	font-size: var(--dg-fs-xs);
	font-weight: 900;
	text-align: center;
	background: var(--dg-accent-soft);
	border-radius: 999px;
}
tr.dg-me > * { background: var(--dg-accent-soft) !important; font-weight: 900; }

.dg-tabs { font-family: var(--dg-font); }
.dg-provider-frame {
	display: block;
	width: 100%;
	height: 72vh;
	min-height: 520px;
	background: #fff;
	border: 1px solid var(--dg-line);
	border-radius: var(--dg-radius-lg);
}
.dg-provider-frame.is-tall { height: 86vh; }

.dg-horizontal-ad,
.ad-slot { overflow: hidden; text-align: center; }

.orespark-language { display: inline-block; margin: 0; }
.orespark-language .form-select { min-width: 132px; font-weight: 800; }
body.public-page .public-nav-actions {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 8px;
}
body.public-page .public-nav-actions .orespark-language .form-select { min-width: 132px; padding-inline-end: 2rem; }
body.public-page .public-nav-actions .dg-btn { width: auto; min-height: 40px; padding: 8px 14px; font-size: var(--dg-fs-sm); white-space: nowrap; }

/* Theme picker (Settings) - Tema seçici */
.dg-theme-picker { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.dg-theme-choice {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	min-height: 76px;
	padding: 10px 4px;
	color: var(--dg-text);
	font-family: var(--dg-font);
	font-size: var(--dg-fs-xs);
	font-weight: 800;
	background: var(--dg-surface-2);
	border: 2px solid var(--dg-line);
	border-radius: var(--dg-radius);
	cursor: pointer;
}
.dg-theme-choice > span { width: 30px; height: 30px; border-radius: 50%; box-shadow: 0 3px 0 rgba(0, 0, 0, .18); }
.dg-theme-choice[aria-pressed="true"] { background: var(--dg-surface); border-color: var(--dg-text); }
.dg-theme-choice.is-amber > span { background: #d07f3f; }
.dg-theme-choice.is-emerald > span { background: #1fb877; }
.dg-theme-choice.is-sapphire > span { background: #2f7cf6; }
.dg-theme-choice.is-amethyst > span { background: #8b5cf6; }
.dg-theme-choice.is-ruby > span { background: #e5484d; }

/* FAQ - SSS */
.dg-faq details {
	margin-bottom: 8px;
	background: var(--dg-surface);
	border: 1px solid var(--dg-line);
	border-radius: var(--dg-radius);
}
.dg-faq summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 48px;
	padding: 12px 14px;
	font-weight: 900;
	list-style: none;
	cursor: pointer;
}
.dg-faq summary::-webkit-details-marker { display: none; }
.dg-faq summary::after { flex: 0 0 auto; content: '+'; color: var(--dg-accent-ink); font-size: 1.2rem; }
.dg-faq details[open] summary::after { content: '−'; }
.dg-faq details > :not(summary) { padding: 0 14px 12px; color: var(--dg-text-2); font-size: var(--dg-fs-sm); font-weight: 700; }

/* Bootstrap 5.1 directional utilities are physical in the bundled LTR build.
   Keep semantic start/end spacing and alignment correct when the document is RTL. */
[dir="rtl"] .text-end { text-align: left !important; }
[dir="rtl"] .ms-1 { margin-right: .25rem !important; margin-left: 0 !important; }
[dir="rtl"] .ms-2 { margin-right: .5rem !important; margin-left: 0 !important; }
[dir="rtl"] .me-1 { margin-right: 0 !important; margin-left: .25rem !important; }
[dir="rtl"] .me-2 { margin-right: 0 !important; margin-left: .5rem !important; }

/* ---------- 5. Shell ---------- */
.site-shell { width: 100%; max-width: 1180px; min-height: 100vh; margin: 0 auto; padding-top: 12px; padding-bottom: 24px; }

/* Public header - Genel üst çubuk */
body.public-page > .site-shell > header { margin-bottom: 16px; }
body.public-page .navbar {
	flex-wrap: nowrap;
	gap: 10px;
	padding: 8px 10px !important;
	background: var(--dg-surface);
	border: 1px solid var(--dg-line);
	border-radius: var(--dg-radius-lg);
	box-shadow: var(--dg-shadow);
}
body.public-page .navbar-brand { flex: 0 0 auto; margin: 0; padding: 0; }
body.public-page .navbar-brand img { width: auto; height: 44px; }
body.public-page #publicNavigation {
	position: relative;
	display: flex;
	flex: 1 1 0;
	min-width: 0;
	justify-content: flex-end;
	padding: 2px;
	overflow-x: auto;
	scrollbar-width: none;
}
body.public-page #publicNavigation::-webkit-scrollbar { display: none; }
body.public-page #publicNavigation .nav-link img { width: 22px; height: 22px; object-fit: contain; }
body.public-page #publicNavigation .navbar-nav { flex-direction: row; flex-wrap: nowrap; align-items: center; gap: 4px; }
body.public-page #publicNavigation .nav-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px 6px 8px;
	color: var(--dg-text-2);
	font-size: var(--dg-fs-sm);
	white-space: nowrap;
	border-radius: 999px;
}
body.public-page #publicNavigation .nav-link:hover,
body.public-page #publicNavigation .nav-link[aria-current="page"] { color: var(--dg-text); background: var(--dg-surface-3); }
body.public-page #publicNavigation .dg-btn { min-height: 40px; padding: 8px 14px; font-size: var(--dg-fs-sm); white-space: nowrap; }

.site-footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: 24px;
	padding: 16px 4px 8px;
	color: var(--dg-text-3);
	font-size: var(--dg-fs-sm);
	border-top: 1px solid var(--dg-line-2);
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.site-footer a { color: var(--dg-text-2); }
.site-footer a:hover { color: var(--dg-text); }
.brand-network { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 7px; }
.brand-network strong { margin-right: 2px; color: var(--dg-accent); font-size: var(--dg-fs-xs); letter-spacing: .08em; text-transform: uppercase; }
.site-footer .brand-network a { padding: 6px 10px; border: 1px solid var(--dg-line-2); border-radius: 999px; color: var(--dg-text); background: var(--dg-accent-soft); font-weight: 750; }
.site-footer .brand-network a:hover, .site-footer .brand-network a:focus-visible { border-color: var(--dg-accent); color: #fff; background: var(--dg-accent); }

/* User shell: one app layout on the web and in Telegram - Oyuncu kabuğu: web ve Telegram'da tek uygulama düzeni */
body.user-page > .site-shell { max-width: none; padding: 0; }
.wrapper { min-height: 100vh; }

.dg-appbar {
	position: sticky;
	top: 0;
	z-index: 1020;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	height: 56px;
	padding: 0 max(12px, calc((100% - 596px) / 2));
	background: var(--dg-surface);
	border-bottom: 1px solid var(--dg-line);
}
.dg-appbar-brand { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.dg-appbar-brand img { border-radius: 12px; box-shadow: 0 2px 0 var(--dg-line-2); }
.dg-appbar-brand span { color: var(--dg-go); font-size: 1.35rem; font-weight: 900; letter-spacing: -.02em; line-height: 1; }
.dg-appbar-brand span b { color: var(--dg-accent); font-weight: 900; }
.dg-appbar-actions { display: flex; flex: 0 0 auto; gap: 2px; }
.dg-appbar-btn {
	position: relative;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	color: var(--dg-text-2);
	border-radius: 50%;
}
.dg-appbar-btn:hover { color: var(--dg-text); background: var(--dg-surface-2); }
.dg-appbar-btn.is-active { color: var(--dg-accent-ink); background: var(--dg-accent-soft); }
.dg-appbar-badge {
	position: absolute;
	top: 2px;
	inset-inline-end: 2px;
	min-width: 16px;
	height: 16px;
	padding: 0 4px;
	color: #fff;
	font-size: 10px;
	font-weight: 900;
	line-height: 16px;
	text-align: center;
	background: var(--dg-danger);
	border-radius: 999px;
}
/* Live feed - Canlı akış */
.dg-live {
	display: flex;
	align-items: center;
	gap: 8px;
	max-width: 596px;
	margin: 8px auto 0;
	padding: 6px;
	overflow: hidden;
	background: var(--dg-surface);
	border: 1px solid var(--dg-line);
	border-radius: 999px;
	box-shadow: var(--dg-shadow);
}
.dg-live-tag {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex: 0 0 auto;
	padding: 4px 10px;
	color: var(--dg-danger);
	font-size: var(--dg-fs-xs);
	font-weight: 900;
	letter-spacing: .08em;
	text-transform: uppercase;
	background: var(--dg-danger-soft);
	border-radius: 999px;
}
.dg-live-tag::before { width: 8px; height: 8px; content: ''; background: var(--dg-danger); border-radius: 50%; animation: dg-pulse 1.4s ease-in-out infinite; }
.dg-live-window { flex: 1 1 auto; min-width: 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 16px), transparent); }
.dg-live-track { display: flex; gap: 8px; width: max-content; animation: dg-live 45s linear infinite; }
.dg-live:hover .dg-live-track { animation-play-state: paused; }
.dg-live-item {
	display: inline-flex;
	align-items: baseline;
	gap: 6px;
	padding: 4px 10px;
	font-size: var(--dg-fs-xs);
	white-space: nowrap;
	background: var(--dg-surface-2);
	border-radius: 999px;
}
.dg-live-item b { font-weight: 900; }
.dg-live-item small { color: var(--dg-text-3); font-size: var(--dg-fs-xs); }
.dg-live-item em { color: var(--dg-success); font-style: normal; font-weight: 900; }
.dg-live-item.is-out em { color: var(--dg-accent-ink); }
@keyframes dg-live { from { transform: translateX(0); } to { transform: translateX(-50%); } }
[dir="rtl"] .dg-live-track { animation-name: dg-live-rtl; }
@keyframes dg-live-rtl { from { transform: translateX(0); } to { transform: translateX(50%); } }
@keyframes dg-pulse { 50% { opacity: .35; } }

.user-shell-body { width: 100%; max-width: 620px; margin: 0 auto; padding: 8px 10px calc(var(--dg-tabbar-h) + 24px + env(safe-area-inset-bottom, 0px)); }
.content { min-width: 0; }

/* Bottom tabs - Alt sekmeler */
.mobile-navigation.dg-tabs {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1030;
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 2px;
	max-width: 620px;
	margin: 0 auto;
	padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
	background: rgba(255, 255, 255, .96);
	border-top: 1px solid var(--dg-line);
	box-shadow: 0 -8px 24px rgba(74, 52, 22, .08);
	backdrop-filter: blur(10px);
}
@media (min-width: 621px) { .mobile-navigation.dg-tabs { bottom: 10px; border: 1px solid var(--dg-line); border-radius: var(--dg-radius-xl); } }
.mobile-navigation.dg-tabs a {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	min-width: 0;
	min-height: 52px;
	color: var(--dg-text-3);
	font-size: .6875rem;
	font-weight: 900;
	text-decoration: none;
	border-radius: var(--dg-radius);
	-webkit-tap-highlight-color: transparent;
}
.mobile-navigation.dg-tabs a > span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mobile-navigation.dg-tabs a img { width: 30px; height: 30px; object-fit: contain; transition: transform .15s ease; }
.mobile-navigation.dg-tabs a.is-active { color: #fff; background: linear-gradient(180deg, #5f9463, var(--dg-go)); box-shadow: 0 3px 0 var(--dg-go-edge); }
.mobile-navigation.dg-tabs a.is-active img { transform: translateY(-1px) scale(1.06); }
.mobile-navigation.dg-tabs a.is-shop { color: var(--dg-accent-ink); }
.mobile-navigation.dg-tabs a.is-shop.is-active { color: #fff; }

body.is-tg .site-footer, body.is-tg .page-title { display: none !important; }

/* Auth modal - Giriş penceresi */
.auth-modal .modal-content { padding: 22px 18px 18px; }
.auth-modal-close {
	position: absolute;
	top: 10px;
	inset-inline-end: 10px;
	width: 40px;
	height: 40px;
	color: var(--dg-text-2);
	font-size: 1.5rem;
	line-height: 1;
	background: var(--dg-surface-2);
	border: 0;
	border-radius: 50%;
}
.auth-telegram { padding: 8px 0 14px; border-bottom: 1px dashed var(--dg-line-2); }
.auth-form label img { border-radius: 10px; }
.auth-form input[type="radio"]:checked + img,
.auth-form input[type="radio"]:checked + label img { outline: 3px solid var(--dg-accent); }
.auth-form-error { margin-top: 8px; color: var(--dg-danger); font-size: var(--dg-fs-sm); font-weight: 800; }

/* ---------- 6. Pages ---------- */

/* Support helper */
.dg-note { margin: -4px 2px 0; color: var(--dg-text-3); font-size: var(--dg-fs-xs); font-weight: 700; }

/* Support tickets - Destek */
.dg-support-toolbar { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--dg-surface); border: 1px solid var(--dg-line); border-radius: var(--dg-radius-lg); box-shadow: var(--dg-shadow); }
.dg-support-toolbar-copy { flex: 1 1 auto; min-width: 0; }
.dg-support-icon { width: 48px; height: 48px; flex: 0 0 auto; }
.dg-ticket-thread { display: flex; flex-direction: column; gap: 10px; }
.dg-ticket-thread-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dg-ticket-messages { display: flex; flex-direction: column; gap: 10px; }
.dg-ticket-message { max-width: 88%; padding: 10px 14px; border-radius: var(--dg-radius-lg); }
.dg-ticket-message.is-user { align-self: flex-end; background: var(--dg-accent-soft); border-end-end-radius: 6px; }
.dg-ticket-message.is-support { align-self: flex-start; background: var(--dg-surface); border: 1px solid var(--dg-line); border-end-start-radius: 6px; }
.dg-ticket-message-meta { color: var(--dg-text-3); font-size: var(--dg-fs-xs); font-weight: 800; }
.dg-ticket-message-text { font-size: var(--dg-fs-sm); font-weight: 700; overflow-wrap: anywhere; }
.dg-ticket-compose, .dg-ticket-composer { display: flex; flex-direction: column; gap: 8px; }

/* Home (web) - Ana sayfa */
.dg-home { display: flex; flex-direction: column; gap: 28px; }
.dg-home-hero {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr);
	gap: 20px;
	align-items: end;
	min-height: 520px;
	padding: 28px;
	overflow: hidden;
	background-position: center;
	background-size: cover;
	border: 4px solid var(--dg-surface);
	border-radius: 32px;
	box-shadow: var(--dg-shadow-lg);
	isolation: isolate;
}
.dg-home-hero::before {
	position: absolute;
	inset: 0;
	z-index: -1;
	content: '';
	background: linear-gradient(0deg, rgba(20, 12, 4, .6), rgba(20, 12, 4, 0) 70%);
}
.dg-home-copy {
	padding: 22px;
	background: rgba(255, 255, 255, .95);
	border-radius: var(--dg-radius-xl);
	box-shadow: var(--dg-shadow-lg);
}
.dg-home-copy h1 { margin-bottom: 10px; font-size: clamp(1.75rem, 4vw, 2.6rem); }
.dg-home-copy h1 span { display: block; color: var(--dg-accent-ink); }
.dg-home-copy p { color: var(--dg-text-2); font-size: var(--dg-fs-md); font-weight: 700; }
.dg-home-cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.dg-home-cta .dg-btn { width: auto; }
.dg-home-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.dg-home-chips li { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px 4px 4px; font-size: var(--dg-fs-sm); font-weight: 800; background: var(--dg-surface-2); border: 1px solid var(--dg-line); border-radius: 999px; }
.dg-home-chips img { width: 32px; height: 32px; }
.dg-home-side { display: flex; flex-direction: column; gap: 12px; }
.dg-home-section h2 { margin: 0 0 14px; font-size: var(--dg-fs-xl); text-align: center; }
.dg-home-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.dg-home-steps .dg-scene { min-height: 190px; }
.dg-home-steps .dg-scene { padding-top: 120px; background-position: center top; background-size: 100% auto; }
.dg-home-steps .dg-scene::before { background: linear-gradient(180deg, rgba(255, 255, 255, .25) 0, rgba(255, 255, 255, .25) 80px, var(--dg-surface) 120px); }

/* Public page hero (news, 404) - Genel sayfa başlığı */
.dg-public-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 16px;
	align-items: center;
	margin-bottom: 16px;
	padding: 22px;
	background: var(--dg-surface);
	border: 1px solid var(--dg-line);
	border-radius: var(--dg-radius-xl);
	box-shadow: var(--dg-shadow);
}
.dg-public-hero-copy h1 { margin: 0 0 6px; font-size: var(--dg-fs-2xl); }
.dg-public-hero-copy p { margin: 0; color: var(--dg-text-2); font-weight: 700; }
.dg-public-hero-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.dg-public-hero-art img, .dg-not-found-art img { width: 140px; height: auto; }

.dg-legal-grid { display: grid; gap: 12px; }
.dg-legal-card { padding: 18px; background: var(--dg-surface); border: 1px solid var(--dg-line); border-radius: var(--dg-radius-lg); box-shadow: var(--dg-shadow); }
.dg-legal-card h2 { font-size: var(--dg-fs-md); }
.dg-legal-card p, .dg-legal-card li { color: var(--dg-text-2); font-size: var(--dg-fs-sm); font-weight: 700; }

.site-concept > h1:first-child, .site-concept > header h1 { margin-bottom: 12px; }

/* Promo banners - Tanıtım görselleri */

/* ---------- 7. Small screens ---------- */
@media (max-width: 767.98px) {
	.site-shell { padding-inline: 10px; }
	body.public-page .navbar {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr);
		gap: 8px 10px;
		align-items: center;
	}
	body.public-page .navbar-brand { min-width: 0; }
	body.public-page .navbar-brand img { height: 34px; }
	body.public-page #publicNavigation .nav-link { gap: 4px; padding: 6px 8px 6px 4px; font-size: var(--dg-fs-xs); }
	body.public-page #publicNavigation .nav-link img { width: 18px; height: 18px; }
	body.public-page #publicNavigation .navbar-nav.navbar-nav { flex-wrap: wrap; width: auto; row-gap: 2px; }
	body.public-page .public-nav-actions {
		justify-self: end;
		gap: 6px;
		min-width: 0;
	}
	body.public-page .public-nav-actions .orespark-language .form-select {
		width: 96px;
		min-width: 96px;
		min-height: 38px;
		padding-inline: 8px 1.75rem;
		font-size: var(--dg-fs-xs);
	}
	body.public-page .public-nav-actions .dg-btn {
		min-height: 38px;
		padding: 7px 10px;
		font-size: var(--dg-fs-xs);
	}
	body.public-page #publicNavigation {
		grid-column: 1 / -1;
		justify-content: flex-start;
		width: 100%;
		padding: 0 0 2px;
	}
	body.public-page #publicNavigation .navbar-nav {
		width: max-content;
		gap: 2px;
	}
	body.public-page #publicNavigation .nav-link {
		padding: 6px 9px;
		font-size: var(--dg-fs-xs);
	}
	.dg-home-hero { grid-template-columns: 1fr; min-height: 0; padding: 12px; padding-top: 220px; border-radius: var(--dg-radius-xl); }
	.dg-home-copy { padding: 18px; }
	.dg-home-steps { grid-template-columns: 1fr; }
	.dg-home-steps .dg-scene { min-height: 140px; }
	.dg-public-hero { grid-template-columns: 1fr; }
	.dg-public-hero-art { display: none; }
}
@media (max-width: 380px) {
	:root { --dg-gap: 10px; }
	.dg-card { padding: 12px 14px; }
	.dg-quick > .dg-card { min-height: 84px; }
	.dg-theme-picker { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* RTL select arrow (Bootstrap 5.1 LTR build) - RTL açılır liste oku */
[dir="rtl"] .form-select { padding-right: .75rem; padding-left: 2.25rem; background-position: left .75rem center; }

/* Account navigation */
.dg-user-navigation { min-width: 0; }
.dg-account-menu { margin-bottom: 10px; padding: 10px; background: var(--dg-surface); border: 1px solid var(--dg-line); border-radius: var(--dg-radius-xl); box-shadow: var(--dg-shadow); }
.dg-account-menu > .dg-kicker { display: block; margin: 0 4px 8px; }
.dg-account-navigation { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.dg-account-navigation > a,
.dg-account-navigation > span { position: relative; display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 58px; padding: 7px 8px; color: var(--dg-text); text-decoration: none; background: var(--dg-surface-2); border: 1px solid var(--dg-line); border-radius: var(--dg-radius); }
.dg-account-navigation > a:hover { color: var(--dg-text); border-color: rgba(var(--dg-accent-rgb), .48); box-shadow: var(--dg-shadow); }
.dg-account-navigation > .is-active { color: #fff; background: linear-gradient(145deg, var(--dg-go), #356a46); border-color: transparent; box-shadow: 0 4px 0 var(--dg-go-edge); }
.dg-account-navigation > .is-active:hover { color: #fff; }
.dg-account-navigation img { flex: 0 0 auto; width: 40px; height: 40px; object-fit: contain; }
.dg-account-navigation > * > span { min-width: 0; }
.dg-account-navigation strong,
.dg-account-navigation small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dg-account-navigation strong { font-size: var(--dg-fs-sm); font-weight: 900; }
.dg-account-navigation small { color: var(--dg-text-3); font-size: 10px; }
.dg-account-navigation > .is-active small { color: rgba(255,255,255,.76); }
.dg-account-navigation > .is-locked { opacity: .68; }
.dg-account-navigation em { position: absolute; top: 4px; inset-inline-end: 4px; padding: 2px 5px; color: var(--dg-accent-ink); font-size: 9px; font-style: normal; font-weight: 900; line-height: 1.2; background: var(--dg-accent-soft); border-radius: 999px; }

@media (max-width: 620px) {
	.dg-account-menu { margin-inline: -2px; }
	.dg-account-navigation > a,
	.dg-account-navigation > span { flex-direction: column; justify-content: center; gap: 2px; padding: 6px 4px; text-align: center; }
	.dg-account-navigation img { width: 34px; height: 34px; }
	.dg-account-navigation small { display: none; }
}

@media (min-width: 900px) {
	body.public-page > .site-shell { max-width: 1480px; padding-inline: clamp(24px, 4vw, 64px) !important; }
	body.public-page .navbar { min-height: 70px; padding-inline: 0 !important; }
	.dg-home { gap: 42px; }
	.dg-home-hero { grid-template-columns: minmax(0, 1.45fr) minmax(320px, .65fr); align-items: end; min-height: 680px; padding: clamp(32px, 4vw, 64px); background-position: center; }
	.dg-home-copy { max-width: 720px; padding: clamp(30px, 3vw, 44px); }
	.dg-home-copy h1 { font-size: clamp(2.6rem, 4.2vw, 4.7rem); line-height: .98; }
	.dg-home-copy p { max-width: 58ch; font-size: 1.1rem; }
	.dg-home-side { align-self: stretch; justify-content: flex-end; }
	.dg-home-side .dg-card { padding: 22px; }
	.dg-home-section h2 { font-size: 2rem; text-align: left; }
	.dg-home-steps { gap: 22px; }
	.dg-home-steps .dg-scene { min-height: 250px; padding-top: 158px; }

	body.user-page:not(.is-tg) .dg-appbar { height: 68px; padding-inline: max(24px, calc((100% - 1440px) / 2)); }
	body.user-page:not(.is-tg) .dg-stats-bar,
	body.user-page:not(.is-tg) .dg-live { max-width: 920px; }
	body.user-page:not(.is-tg) .user-shell-body { display: grid; grid-template-columns: 250px minmax(0, 1fr); align-items: start; gap: 24px; max-width: 1440px; padding: 20px 24px 48px; }
	body.user-page:not(.is-tg) .dg-user-navigation { position: sticky; top: 88px; }
	body.user-page:not(.is-tg) .dg-account-navigation { grid-template-columns: 1fr; }
	body.user-page:not(.is-tg) .dg-account-navigation > a,
	body.user-page:not(.is-tg) .dg-account-navigation > span { min-height: 64px; padding: 9px 10px; }
	body.user-page:not(.is-tg) .mobile-navigation.dg-tabs { position: static; grid-template-columns: 1fr; gap: 4px; max-width: none; padding: 10px; background: var(--dg-surface); border: 1px solid var(--dg-line); border-radius: var(--dg-radius-xl); box-shadow: var(--dg-shadow); backdrop-filter: none; }
	body.user-page:not(.is-tg) .mobile-navigation.dg-tabs a { flex-direction: row; justify-content: flex-start; gap: 10px; min-height: 48px; padding: 7px 10px; font-size: var(--dg-fs-sm); }
	body.user-page:not(.is-tg) .mobile-navigation.dg-tabs a img { width: 30px; height: 30px; }
	body.user-page:not(.is-tg) .content { width: 100%; max-width: 1080px; margin: 0 auto; }
	body.user-page:not(.is-tg) .dg-page-hero { min-height: 230px; padding: 32px; background-size: cover; }
	body.user-page:not(.is-tg) .dg-page-hero > div { max-width: 52%; }
	body.user-page:not(.is-tg) .dg-page-hero h1 { font-size: clamp(2rem, 3vw, 3.2rem); }
}


/* Commerce surface (merged from commerce.css 04.10.2026; scoped to body.commerce-surface) */
:where(.commerce-surface),:where(.commerce-surface) *{box-sizing:border-box}
html:where(:has(body.commerce-surface)){scroll-behavior:smooth}
.commerce-surface{margin:0;background:var(--dg-bg);color:var(--dg-text);font-family:var(--dg-font);font-size:16px;line-height:1.55}
.commerce-surface a{color:inherit;text-decoration:none}
.commerce-surface img{max-width:100%}
:where(.commerce-surface) .shell{width:min(1180px,calc(100% - 40px));margin-inline:auto}
:where(.commerce-surface) .button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 21px;border:1px solid var(--dg-go-edge);border-radius:var(--dg-radius-sm);background:var(--dg-go);color:#fff;font:900 15px var(--dg-font);cursor:pointer;transition:.18s ease;box-shadow:0 4px 0 var(--dg-go-edge)}
:where(.commerce-surface) .button:hover{transform:translateY(-2px);box-shadow:0 7px 0 var(--dg-go-edge),var(--dg-shadow);color:#fff}
:where(.commerce-surface) .button-small{min-height:40px;padding:0 16px}
:where(.commerce-surface) .button-light,:where(.commerce-surface) .button-line{background:var(--dg-surface);color:var(--dg-text);border-color:var(--dg-line-2)}
:where(.commerce-surface) .button-lime{background:var(--dg-accent);border-color:var(--dg-accent-edge);box-shadow:0 4px 0 var(--dg-accent-edge)}
:where(.commerce-surface) .button-coral{background:var(--dg-danger);border-color:var(--dg-danger)}
:where(.commerce-surface) .text-link{font-weight:900;text-decoration:underline;text-underline-offset:4px}
:where(.commerce-surface) .eyebrow{display:inline-flex;align-items:center;gap:9px;margin:0 0 14px;color:var(--dg-accent-ink);font-weight:900;font-size:12px;letter-spacing:.12em;text-transform:uppercase}
:where(.commerce-surface) .eyebrow:before{content:"";width:28px;height:5px;border-radius:5px;background:var(--dg-accent)}
.commerce-surface h1,.commerce-surface h2,.commerce-surface h3,.commerce-surface h4{font-family:var(--dg-font);line-height:1.08;margin:0 0 14px;letter-spacing:-.025em}
.commerce-surface h1{font-size:clamp(42px,6.7vw,82px)}
.commerce-surface h2{font-size:clamp(30px,4.2vw,52px)}
.commerce-surface h3{font-size:22px}
.commerce-surface p{margin:0 0 18px}
:where(.commerce-surface) .lead{font-size:clamp(18px,2vw,22px);color:var(--dg-text-2);max-width:680px}
:where(.commerce-surface) .hero{padding:78px 0 60px;overflow:hidden}
:where(.commerce-surface) .hero-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:55px;align-items:center}
:where(.commerce-surface) .hero-copy h1 span{color:var(--dg-success)}
:where(.commerce-surface) .hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}
:where(.commerce-surface) .hero-proof{display:flex;flex-wrap:wrap;gap:18px;margin-top:34px;color:var(--dg-text-2);font-size:14px;font-weight:800}
:where(.commerce-surface) .hero-proof span:before{content:"✓";margin-right:7px;color:var(--dg-success)}
:where(.commerce-surface) .hero-board{position:relative;min-height:480px;padding:27px;border:1px solid var(--dg-line);border-radius:var(--dg-radius-xl);background:var(--dg-surface);color:var(--dg-text);box-shadow:var(--dg-shadow-lg);overflow:hidden}
:where(.commerce-surface) .hero-board:before,:where(.commerce-surface) .hero-board:after{content:"";position:absolute;border-radius:50%;filter:blur(2px)}
:where(.commerce-surface) .hero-board:before{width:260px;height:260px;right:-100px;top:-90px;background:rgba(var(--dg-accent-rgb),.18)}
:where(.commerce-surface) .hero-board:after{width:230px;height:230px;left:-110px;bottom:-110px;background:rgba(46,196,182,.16)}
:where(.commerce-surface) .board-label{color:var(--dg-accent-ink);font-size:12px;font-weight:900;letter-spacing:.14em;text-transform:uppercase}
:where(.commerce-surface) .board-stack{position:relative;display:grid;gap:14px;margin-top:24px}
:where(.commerce-surface) .board-card{display:flex;align-items:center;gap:15px;padding:17px;border:1px solid var(--dg-line);border-radius:var(--dg-radius);background:var(--dg-surface);animation:drift 6s ease-in-out infinite}
:where(.commerce-surface) .board-card:nth-child(2){margin-left:35px;animation-delay:-2s}
:where(.commerce-surface) .board-card:nth-child(3){margin-right:28px;animation-delay:-4s}
:where(.commerce-surface) .board-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:14px;background:var(--dg-accent-soft);color:var(--dg-text);font-family:var(--dg-font);font-weight:900}
:where(.commerce-surface) .board-card:nth-child(2) .board-icon{background:var(--dg-success-soft)}
:where(.commerce-surface) .board-card:nth-child(3) .board-icon{background:var(--dg-info-soft)}
:where(.commerce-surface) .board-card b{display:block}
:where(.commerce-surface) .board-card small{color:var(--dg-text-2)}
:where(.commerce-surface) .board-total{position:relative;margin-top:26px;padding-top:22px;border-top:1px solid var(--dg-line);display:flex;justify-content:space-between}
:where(.commerce-surface) .board-total strong{font-size:30px;color:var(--dg-accent-ink)}
@keyframes drift{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}
:where(.commerce-surface) .section{padding:76px 0}
:where(.commerce-surface) .section-white{background:var(--dg-surface)}
:where(.commerce-surface) .section-night{background:var(--dg-success);color:#fff}
:where(.commerce-surface) .section-head{display:flex;justify-content:space-between;gap:30px;align-items:end;margin-bottom:30px}
:where(.commerce-surface) .section-head p{max-width:560px;color:var(--dg-text-2)}
:where(.commerce-surface) .section-night .section-head p{color:#e3efdf}
:where(.commerce-surface) .category-grid,:where(.commerce-surface) .feature-grid,:where(.commerce-surface) .product-grid,:where(.commerce-surface) .plan-grid,:where(.commerce-surface) .directory-grid,:where(.commerce-surface) .stat-grid{display:grid;gap:18px}
:where(.commerce-surface) .category-grid{grid-template-columns:repeat(3,1fr)}
:where(.commerce-surface) .category-card,:where(.commerce-surface) .feature-card,:where(.commerce-surface) .product-card,:where(.commerce-surface) .plan-card,:where(.commerce-surface) .listing-card,:where(.commerce-surface) .panel,:where(.commerce-surface) .stat-card{border:1px solid var(--dg-line);border-radius:var(--dg-radius-lg);background:var(--dg-surface)}
:where(.commerce-surface) .category-card{min-height:170px;padding:25px;position:relative;overflow:hidden}
:where(.commerce-surface) .category-card:after{content:"↗";position:absolute;right:22px;bottom:16px;font-size:28px}
:where(.commerce-surface) .category-card small{color:var(--dg-text-2)}
:where(.commerce-surface) .category-card:hover{border-color:var(--dg-line-2);box-shadow:var(--dg-shadow-lg)}
:where(.commerce-surface) .category-card:nth-child(2n) .mini-orb{background:var(--dg-crystal)}
:where(.commerce-surface) .category-card:nth-child(3n) .mini-orb{background:var(--dg-accent)}
:where(.commerce-surface) .mini-orb{width:34px;height:34px;margin-bottom:23px;border-radius:50%;background:var(--dg-accent);box-shadow:8px 0 0 var(--dg-line)}
:where(.commerce-surface) .feature-grid{grid-template-columns:repeat(3,1fr)}
:where(.commerce-surface) .feature-card{padding:27px}
:where(.commerce-surface) .feature-card b{display:inline-grid;place-items:center;width:36px;height:36px;margin-bottom:22px;border-radius:10px;background:var(--dg-accent-soft);color:var(--dg-accent-ink)}
:where(.commerce-surface) .page-hero{padding:60px 0 34px}
:where(.commerce-surface) .page-hero h1{font-size:clamp(40px,5.4vw,68px);max-width:850px}
:where(.commerce-surface) .filters{display:flex;gap:9px;flex-wrap:wrap;margin:22px 0 30px}
:where(.commerce-surface) .filter{padding:9px 14px;border:1px solid var(--dg-line-2);border-radius:100px;background:var(--dg-surface);font-weight:900;font-size:14px}
:where(.commerce-surface) .filter.active,:where(.commerce-surface) .filter:hover{background:var(--dg-success);border-color:var(--dg-go-edge);color:#fff}
:where(.commerce-surface) .product-grid{grid-template-columns:repeat(3,1fr)}
:where(.commerce-surface) .product-card{display:flex;flex-direction:column;overflow:hidden}
:where(.commerce-surface) .product-visual{height:180px;padding:22px;display:flex;align-items:flex-end;background:var(--dg-success);color:#fff;font:900 26px var(--dg-font)}
:where(.commerce-surface) .product-card:nth-child(3n+2) .product-visual{background:var(--dg-accent);color:#fff}
:where(.commerce-surface) .product-card:nth-child(3n+3) .product-visual{background:var(--dg-info);color:#fff}
:where(.commerce-surface) .product-body{display:flex;flex-direction:column;flex:1;padding:22px}
:where(.commerce-surface) .product-body small,:where(.commerce-surface) .muted{color:var(--dg-text-2)}
:where(.commerce-surface) .product-price{display:flex;align-items:center;justify-content:space-between;margin-top:auto;padding-top:18px}
:where(.commerce-surface) .price{font:900 25px var(--dg-font)}
:where(.commerce-surface) .badge{display:inline-flex;width:max-content;padding:6px 10px;border-radius:100px;background:var(--dg-success-soft);color:var(--dg-go-edge);font-size:12px;font-weight:900}
:where(.commerce-surface) .badge-pending{background:var(--dg-warn-soft);color:#8b5b00}
:where(.commerce-surface) .badge-active,:where(.commerce-surface) .badge-fulfilled,:where(.commerce-surface) .badge-paid{background:var(--dg-success-soft);color:var(--dg-go-edge)}
:where(.commerce-surface) .badge-rejected,:where(.commerce-surface) .badge-cancelled{background:var(--dg-danger-soft);color:var(--dg-danger)}
:where(.commerce-surface) .empty{padding:45px;border:1px dashed var(--dg-line-2);border-radius:var(--dg-radius-lg);text-align:center;color:var(--dg-text-2)}
:where(.commerce-surface) .product-detail{display:grid;grid-template-columns:1fr .85fr;gap:48px;padding:60px 0}
:where(.commerce-surface) .product-stage{min-height:430px;display:flex;align-items:flex-end;padding:38px;border-radius:var(--dg-radius-xl);background:var(--dg-success);color:#fff;font:900 clamp(32px,5vw,58px) var(--dg-font)}
:where(.commerce-surface) .product-info{padding-top:18px}
:where(.commerce-surface) .product-info .price{display:block;margin:24px 0}
:where(.commerce-surface) .rich{color:var(--dg-text)}
:where(.commerce-surface) .rich ul{padding-left:22px}
:where(.commerce-surface) .notice{padding:15px 17px;border-radius:var(--dg-radius-sm);background:var(--dg-info-soft);color:var(--dg-info)}
:where(.commerce-surface) .notice-error{background:var(--dg-danger-soft);color:var(--dg-danger)}
:where(.commerce-surface) .notice-success{background:var(--dg-success-soft);color:var(--dg-success)}
:where(.commerce-surface) .form-card,:where(.commerce-surface) .auth-card{padding:28px;border:1px solid var(--dg-line);border-radius:var(--dg-radius-lg);background:var(--dg-surface);box-shadow:var(--dg-shadow)}
:where(.commerce-surface) .form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
:where(.commerce-surface) .field{display:grid;gap:7px}
:where(.commerce-surface) .field-full{grid-column:1/-1}
:where(.commerce-surface) .field label{font-weight:800;font-size:14px}
:where(.commerce-surface) .field input,:where(.commerce-surface) .field select,:where(.commerce-surface) .field textarea{width:100%;min-height:48px;padding:12px 14px;border:2px solid var(--dg-line);border-radius:var(--dg-radius-sm);background:var(--dg-surface-2);color:var(--dg-text);font:inherit}
:where(.commerce-surface) .field textarea{min-height:120px;resize:vertical}
:where(.commerce-surface) .field input:focus,:where(.commerce-surface) .field select:focus,:where(.commerce-surface) .field textarea:focus{outline:3px solid rgba(var(--dg-accent-rgb),.18);border-color:var(--dg-accent)}
:where(.commerce-surface) .form-actions{display:flex;align-items:center;gap:12px;margin-top:20px}
:where(.commerce-surface) .plan-grid{grid-template-columns:repeat(3,1fr)}
:where(.commerce-surface) .plan-card{padding:27px}
:where(.commerce-surface) .plan-card .price{margin:20px 0}
:where(.commerce-surface) .plan-card ul{padding-left:19px;color:var(--dg-text-2)}
:where(.commerce-surface) .split{display:grid;grid-template-columns:1fr 1fr;gap:34px;align-items:start}
:where(.commerce-surface) .steps{counter-reset:step;display:grid;gap:14px}
:where(.commerce-surface) .step{position:relative;padding:20px 20px 20px 68px;border-radius:var(--dg-radius);background:var(--dg-surface);color:var(--dg-text)}
:where(.commerce-surface) .step:before{counter-increment:step;content:counter(step);position:absolute;left:19px;top:19px;width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:var(--dg-accent);color:#fff;font-weight:900}
:where(.commerce-surface) .directory-grid{grid-template-columns:repeat(2,1fr)}
:where(.commerce-surface) .listing-card{padding:25px}
:where(.commerce-surface) .listing-card .listing-url{display:block;margin-top:17px;color:var(--dg-info);font-weight:900}
:where(.commerce-surface) .auth-wrap{display:grid;grid-template-columns:1fr 1fr;gap:22px;padding:65px 0}
:where(.commerce-surface) .auth-card h2{font-size:34px}
:where(.commerce-surface) .auth-card .field{margin-bottom:14px}
:where(.commerce-surface) .cart-layout{display:grid;grid-template-columns:1fr 350px;gap:28px;padding-bottom:70px}
:where(.commerce-surface) .cart-items{display:grid;gap:12px}
:where(.commerce-surface) .cart-item{display:grid;grid-template-columns:1fr auto auto;gap:20px;align-items:center;padding:20px;border:1px solid var(--dg-line);border-radius:var(--dg-radius);background:var(--dg-surface)}
:where(.commerce-surface) .order-summary{padding:24px;border-radius:var(--dg-radius-lg);background:var(--dg-text);color:#fff;position:sticky;top:100px}
:where(.commerce-surface) .summary-line{display:flex;justify-content:space-between;padding:9px 0;color:#e3d7c8}
:where(.commerce-surface) .summary-total{margin-top:10px;padding-top:17px;border-top:1px solid rgba(255,255,255,.15);color:#fff;font-size:20px}
:where(.commerce-surface) .site-footer{padding:54px 0 22px;background:var(--dg-surface);border-top:1px solid var(--dg-line)}
:where(.commerce-surface) .footer-grid{display:grid;grid-template-columns:1.6fr repeat(3,1fr);gap:40px}
:where(.commerce-surface) .brand-footer{margin-bottom:20px}
:where(.commerce-surface) .footer-grid p{max-width:330px;color:var(--dg-text-2)}
:where(.commerce-surface) .footer-grid nav{display:grid;align-content:start;gap:10px}
:where(.commerce-surface) .footer-grid nav b{margin-bottom:6px}
:where(.commerce-surface) .footer-grid nav a{color:var(--dg-text-2)}
:where(.commerce-surface) .footer-bottom{display:flex;justify-content:space-between;margin-top:42px;padding-top:18px;border-top:1px solid var(--dg-line);color:var(--dg-text-2);font-size:13px}
:where(.commerce-surface) .account-layout{display:grid;grid-template-columns:235px 1fr;gap:35px;padding:42px 0 75px}
:where(.commerce-surface) .account-sidebar{position:sticky;top:105px;height:max-content;padding:18px;border:1px solid var(--dg-line);border-radius:var(--dg-radius-lg);background:var(--dg-surface)}
:where(.commerce-surface) .account-person{display:flex;align-items:center;gap:11px;padding:5px 5px 18px;border-bottom:1px solid var(--dg-line)}
:where(.commerce-surface) .account-person>span{width:39px;height:39px;display:grid;place-items:center;border-radius:12px;background:var(--dg-accent-soft);color:var(--dg-accent-ink);font-weight:900}
:where(.commerce-surface) .account-person b,:where(.commerce-surface) .account-person small{display:block;max-width:135px;overflow:hidden;text-overflow:ellipsis}
:where(.commerce-surface) .account-person small{font-size:11px;color:var(--dg-text-2)}
:where(.commerce-surface) .account-sidebar nav{display:grid;gap:4px;padding:15px 0}
:where(.commerce-surface) .account-sidebar nav a{display:flex;align-items:center;gap:10px;padding:10px;border-radius:10px;font-weight:800;color:var(--dg-text-2)}
:where(.commerce-surface) .account-sidebar nav a:hover,:where(.commerce-surface) .account-sidebar nav a.active{background:var(--dg-accent-soft);color:var(--dg-accent-ink)}
:where(.commerce-surface) .account-sidebar nav i{width:27px;height:27px;display:grid;place-items:center;border-radius:8px;background:var(--dg-surface);border:1px solid var(--dg-line);font-style:normal;font-size:11px}
:where(.commerce-surface) .account-logout{display:block;padding:11px 10px;border-top:1px solid var(--dg-line);color:var(--dg-danger);font-weight:900}
:where(.commerce-surface) .account-main{min-width:0}
:where(.commerce-surface) .account-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:27px}
:where(.commerce-surface) .account-head h1{font-size:42px}
:where(.commerce-surface) .stat-grid{grid-template-columns:repeat(4,1fr);margin-bottom:28px}
:where(.commerce-surface) .stat-card{padding:20px}
:where(.commerce-surface) .stat-card small{display:block;color:var(--dg-text-2)}
:where(.commerce-surface) .stat-card b{display:block;margin-top:7px;font:900 30px var(--dg-font)}
:where(.commerce-surface) .panel{padding:25px;margin-bottom:22px}
:where(.commerce-surface) .panel-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:18px}
:where(.commerce-surface) .table-wrap{overflow-x:auto}
:where(.commerce-surface) .data-table{width:100%;border-collapse:collapse}
:where(.commerce-surface) .data-table th,:where(.commerce-surface) .data-table td{padding:13px 11px;border-bottom:1px solid var(--dg-line);text-align:left;white-space:nowrap}
:where(.commerce-surface) .data-table th{color:var(--dg-text-2);font-size:12px;text-transform:uppercase;letter-spacing:.06em}
:where(.commerce-surface) .data-table td{font-size:14px}
:where(.commerce-surface) .quick-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}
:where(.commerce-surface) .quick-card{padding:20px;border-radius:var(--dg-radius);background:var(--dg-success);color:#fff}
:where(.commerce-surface) .quick-card:nth-child(2){background:var(--dg-accent)}
:where(.commerce-surface) .quick-card:nth-child(3){background:#514673}
:where(.commerce-surface) .quick-card small{display:block;color:#f6efe5}
:where(.commerce-surface) .quick-card b{display:block;margin:8px 0 18px;font:900 21px var(--dg-font)}
:where(.commerce-surface) .content-page{padding:60px 0}
:where(.commerce-surface) .content-page article{max-width:780px}
:where(.commerce-surface) .content-page h2{font-size:30px;margin-top:36px}
:where(.commerce-surface) .content-page li{margin-bottom:9px}
@media(max-width:900px){:where(.commerce-surface) .site-nav{position:absolute;left:20px;right:20px;top:72px;display:none;padding:14px;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:var(--shadow)}
:where(.commerce-surface) .site-nav.open{display:grid}
:where(.commerce-surface) .nav-toggle{display:block;margin-left:auto}
:where(.commerce-surface) .header-actions{gap:8px}
:where(.commerce-surface) .header-row{gap:13px}
:where(.commerce-surface) .hero-grid,:where(.commerce-surface) .product-detail,:where(.commerce-surface) .split{grid-template-columns:1fr}
:where(.commerce-surface) .hero-board{min-height:390px}
:where(.commerce-surface) .category-grid,:where(.commerce-surface) .product-grid,:where(.commerce-surface) .plan-grid,:where(.commerce-surface) .feature-grid{grid-template-columns:repeat(2,1fr)}
:where(.commerce-surface) .cart-layout{grid-template-columns:1fr}
:where(.commerce-surface) .order-summary{position:static}
:where(.commerce-surface) .account-layout{grid-template-columns:1fr}
:where(.commerce-surface) .account-sidebar{position:static}
:where(.commerce-surface) .account-sidebar nav{grid-template-columns:repeat(4,1fr)}
:where(.commerce-surface) .account-sidebar nav a{display:grid;justify-items:center;font-size:12px}
:where(.commerce-surface) .account-logout{text-align:center}
:where(.commerce-surface) .stat-grid{grid-template-columns:repeat(2,1fr)}
:where(.commerce-surface) .footer-grid{grid-template-columns:1.5fr 1fr 1fr}
:where(.commerce-surface) .footer-grid nav:last-child{grid-column:2}
:where(.commerce-surface) .auth-wrap{grid-template-columns:1fr}
}
@media(max-width:600px){:where(.commerce-surface) .shell{width:min(100% - 24px,1180px)}
:where(.commerce-surface) .header-row{height:68px}
:where(.commerce-surface) .brand{font-size:19px}
:where(.commerce-surface) .brand-mark{width:35px;height:35px;box-shadow:4px 4px 0 var(--lime)}
:where(.commerce-surface) .brand small{font-size:8px}
:where(.commerce-surface) .header-actions .button{display:none}
:where(.commerce-surface) .cart-link{font-size:14px}
:where(.commerce-surface) .hero{padding:48px 0 42px}
:where(.commerce-surface) .hero-grid{gap:32px}
:where(.commerce-surface) .hero-board{min-height:350px;padding:20px}
:where(.commerce-surface) .board-card:nth-child(2){margin-left:14px}
:where(.commerce-surface) .category-grid,:where(.commerce-surface) .product-grid,:where(.commerce-surface) .plan-grid,:where(.commerce-surface) .feature-grid,:where(.commerce-surface) .directory-grid{grid-template-columns:1fr}
:where(.commerce-surface) .section{padding:52px 0}
:where(.commerce-surface) .section-head{display:block}
:where(.commerce-surface) .section-head .button{margin-top:10px}
:where(.commerce-surface) .page-hero{padding:42px 0 25px}
:where(.commerce-surface) .product-detail{padding:35px 0;gap:28px}
:where(.commerce-surface) .product-stage{min-height:280px;padding:25px}
:where(.commerce-surface) .form-grid{grid-template-columns:1fr}
:where(.commerce-surface) .field-full{grid-column:auto}
:where(.commerce-surface) .cart-item{grid-template-columns:1fr auto}
:where(.commerce-surface) .cart-item .button{grid-column:1/-1}
:where(.commerce-surface) .footer-grid{grid-template-columns:1fr 1fr;gap:28px}
:where(.commerce-surface) .footer-grid>div{grid-column:1/-1}
:where(.commerce-surface) .footer-grid nav:last-child{grid-column:auto}
:where(.commerce-surface) .footer-bottom{display:grid;gap:5px}
:where(.commerce-surface) .account-layout{padding:18px 0 50px}
:where(.commerce-surface) .account-sidebar{padding:10px;overflow-x:auto}
:where(.commerce-surface) .account-person,:where(.commerce-surface) .account-logout{display:none}
:where(.commerce-surface) .account-sidebar nav{display:flex;min-width:max-content;padding:0}
:where(.commerce-surface) .account-sidebar nav a{min-width:76px}
:where(.commerce-surface) .account-main{padding-top:10px}
:where(.commerce-surface) .account-head{align-items:start}
:where(.commerce-surface) .account-head h1{font-size:34px}
:where(.commerce-surface) .stat-grid{grid-template-columns:1fr 1fr}
:where(.commerce-surface) .stat-card b{font-size:23px}
:where(.commerce-surface) .quick-grid{grid-template-columns:1fr}
:where(.commerce-surface) .auth-wrap{padding:35px 0}
:where(.commerce-surface) .auth-card{padding:22px}
}
:where(.commerce-surface) .auth-card h1{font-size:34px}
.commerce-surface{--ink:var(--dg-text,#3a2a1c);--muted:var(--dg-text-2,#6b5b4b);--line:var(--dg-line-2,rgba(107,91,75,.24));
  --paper:var(--dg-surface,#fffdf8);--wash:var(--dg-bg,#fff8e9);--night:#315f3e;
  --lime:var(--dg-accent,#d07f3f);--coral:#d76256;--sky:#65b9c1;
  --shadow:var(--dg-shadow-lg,0 18px 44px rgba(74,52,22,.16));
  background:linear-gradient(180deg,var(--dg-bg,#fff8e9),var(--dg-bg-2,#f6e8cf));
  color:var(--ink);font-family:var(--dg-font,"Nunito",sans-serif)}
.commerce-surface h1,.commerce-surface h2,.commerce-surface h3,.commerce-surface h4{font-family:var(--dg-font,"Nunito",sans-serif);color:var(--ink);font-weight:900;letter-spacing:-.025em}
.commerce-surface .lead{color:var(--muted);font-weight:700}
.commerce-surface .eyebrow{color:var(--dg-accent-ink,#9a5520);font-weight:900}
.commerce-surface .eyebrow:before{height:6px;border-radius:5px;background:var(--dg-accent,#d07f3f);box-shadow:0 2px 0 var(--dg-accent-edge,#a55e27)}
.commerce-surface .button{border-color:var(--dg-go-edge,#355c39);border-radius:14px;background:linear-gradient(180deg,#628f65,var(--dg-go,#4e7f52));color:#fff;font-family:var(--dg-font,"Nunito",sans-serif);font-weight:900;box-shadow:0 5px 0 var(--dg-go-edge,#355c39),0 10px 20px rgba(53,92,57,.18)}
.commerce-surface .button:hover{box-shadow:0 7px 0 var(--dg-go-edge,#355c39),0 13px 24px rgba(53,92,57,.22)}
.commerce-surface .button-lime{border-color:var(--dg-accent-edge,#a55e27);background:linear-gradient(180deg,#e3a054,var(--dg-accent,#d07f3f));color:#fff;box-shadow:0 5px 0 var(--dg-accent-edge,#a55e27),0 10px 20px rgba(165,94,39,.2)}
.commerce-surface .button-line{border-color:#caa579;background:rgba(255,253,248,.92);color:var(--ink);box-shadow:0 4px 0 #d5b489}
.commerce-surface .button-light{border-color:#d6b98f;background:var(--paper);color:var(--ink);box-shadow:0 4px 0 #cba879}
.commerce-surface .text-link{color:var(--dg-go-edge,#355c39);font-weight:900;text-decoration-color:#89aa82;text-decoration-thickness:2px}
.commerce-surface .hero{padding:22px 0 62px}
.commerce-surface .hero-scene{position:relative;min-height:610px;display:grid;grid-template-columns:1.08fr .82fr;gap:46px;align-items:center;padding:58px;border:1px solid #c89456;border-radius:30px;background:linear-gradient(90deg,rgba(255,249,232,.97) 0%,rgba(255,249,232,.84) 42%,rgba(255,249,232,.14) 72%),url('/img/commerce/fair-hero.webp') center/cover no-repeat;box-shadow:var(--shadow);overflow:hidden}
.commerce-surface .hero-scene:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,255,255,.12),transparent 48%,rgba(47,95,62,.15));pointer-events:none}
.commerce-surface .hero-copy,.commerce-surface .hero-board{position:relative;z-index:1}
.commerce-surface .hero-copy{max-width:620px}
.commerce-surface .hero-copy h1{text-shadow:0 3px 0 rgba(255,255,255,.65)}
.commerce-surface .hero-copy h1 span{color:var(--dg-success,#4e7f52)}
.commerce-surface .hero-proof{color:var(--muted);font-weight:900}
.commerce-surface .hero-proof span:before{display:inline-grid;place-items:center;width:20px;height:20px;margin-right:6px;border-radius:50%;background:var(--dg-success-soft,#e3efdf);color:var(--dg-success,#4e7f52)}
.commerce-surface .hero-board{min-height:0;padding:23px;border:1px solid rgba(165,94,39,.3);border-radius:24px;background:rgba(255,250,237,.9);color:var(--ink);box-shadow:0 18px 38px rgba(74,52,22,.2);backdrop-filter:blur(9px)}
.commerce-surface .hero-board:before,.commerce-surface .hero-board:after{display:none}
.commerce-surface .board-label{display:inline-flex;padding:6px 10px;border-radius:20px;background:var(--dg-success-soft,#e3efdf);color:var(--dg-go-edge,#355c39)}
.commerce-surface .board-stack{gap:11px;margin-top:15px}
.commerce-surface .board-card{padding:13px 14px;border:1px solid rgba(165,94,39,.22);border-radius:17px;background:rgba(255,253,248,.95);color:var(--ink);box-shadow:var(--dg-shadow,0 8px 22px rgba(74,52,22,.07));animation:dgCommerceDrift 6s ease-in-out infinite}
.commerce-surface .board-card:nth-child(2){margin-left:22px}
.commerce-surface .board-card:nth-child(3){margin-right:16px}
.commerce-surface .board-icon{overflow:hidden;background:linear-gradient(145deg,#f5ddb0,#e5aa5c);box-shadow:0 4px 0 #b66e32}
.commerce-surface .board-icon img{width:44px;height:44px;object-fit:contain}
.commerce-surface .board-card:nth-child(2) .board-icon{background:linear-gradient(145deg,#d5f3e6,#8fd0b4);box-shadow:0 4px 0 #4e9a78}
.commerce-surface .board-card:nth-child(3) .board-icon{background:linear-gradient(145deg,#d9edf7,#91bedc);box-shadow:0 4px 0 #5485a5}
.commerce-surface .board-card b{color:var(--ink)}
.commerce-surface .board-card small{color:var(--muted)}
.commerce-surface .board-total{border-color:var(--line);color:var(--muted)}
.commerce-surface .board-total strong{color:var(--dg-accent-ink,#9a5520);font-size:21px}
@keyframes dgCommerceGem{0%,100%{transform:translateY(0) rotate(-4deg)}50%{transform:translateY(-10px) rotate(4deg)}}
@keyframes dgCommerceDrift{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
.commerce-surface .section-white{border-block:1px solid rgba(165,94,39,.16);background:linear-gradient(180deg,var(--dg-surface,#fffdf8),#fff6e5)}
.commerce-surface .section-night{position:relative;background:linear-gradient(135deg,#3f7150,#28513a);color:#fff;overflow:hidden}
.commerce-surface .section-night:before{content:"";position:absolute;width:380px;height:380px;right:-130px;top:-170px;border-radius:50%;background:radial-gradient(circle,rgba(46,196,182,.34),transparent 68%)}
.commerce-surface .section-night h2,.commerce-surface .section-night h3{color:#fff}
.commerce-surface .section-night .eyebrow{color:#ffe1ad}
.commerce-surface .section-night .section-head>p{color:#d9ead9}
.commerce-surface .category-card,.commerce-surface .feature-card,.commerce-surface .product-card,.commerce-surface .plan-card,.commerce-surface .listing-card,.commerce-surface .panel,.commerce-surface .stat-card,.commerce-surface .form-card,.commerce-surface .auth-card{border-color:var(--line);background:var(--paper);box-shadow:var(--dg-shadow,0 8px 22px rgba(74,52,22,.07))}
.commerce-surface .category-card,.commerce-surface .feature-card,.commerce-surface .product-card{transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.commerce-surface .category-card:hover,.commerce-surface .feature-card:hover,.commerce-surface .product-card:hover{transform:translateY(-5px);border-color:#c58b4b;box-shadow:var(--shadow)}
.commerce-surface .mini-orb{display:block;width:30px;height:30px;margin-bottom:14px;border:4px solid #bc7b42;border-radius:45% 55% 55% 45%;background:linear-gradient(145deg,#ffeab2,var(--dg-accent,#d07f3f));box-shadow:7px 3px 0 rgba(128,76,30,.13);transform:rotate(8deg)}
.commerce-surface .category-card:nth-child(2n) .mini-orb{border-color:var(--dg-crystal-edge,#1f9a8f);background:linear-gradient(145deg,#d8fff7,var(--dg-crystal,#2ec4b6))}
.commerce-surface .category-card:nth-child(3n) .mini-orb{border-color:#75549d;background:linear-gradient(145deg,#f0e1ff,#8b67b2)}
.commerce-surface .feature-card{color:var(--ink)}
.commerce-surface .feature-card p{color:var(--muted)}
.commerce-surface .section-night .feature-card h3{color:var(--ink)}
.commerce-surface .feature-card b{width:58px;height:58px;border-radius:17px;background:#f5d39f;box-shadow:0 5px 0 #b97336}
.commerce-surface .feature-card b img{width:50px;height:50px;object-fit:contain}
.commerce-surface .page-hero{padding:46px 0 30px}
.commerce-surface .page-hero>.shell{position:relative;padding:38px 40px;border:1px solid var(--line);border-radius:27px;background:linear-gradient(104deg,rgba(255,253,248,.98),rgba(255,248,232,.84)),url('/img/commerce/fair-header.webp') right center/auto 100% no-repeat;box-shadow:var(--dg-shadow,0 8px 22px rgba(74,52,22,.07));overflow:hidden}
.commerce-surface .filter{border-color:#d5b589;background:var(--paper);color:var(--muted);font-weight:900}
.commerce-surface .filter.active,.commerce-surface .filter:hover{border-color:var(--dg-go-edge,#355c39);background:var(--dg-success,#4e7f52);color:#fff}
.commerce-surface .product-visual{position:relative;background:linear-gradient(180deg,rgba(47,81,58,.03),rgba(47,81,58,.75)),url('/img/commerce/fair-header.webp') center/cover;color:#fff;font-family:var(--dg-font,"Nunito",sans-serif);font-weight:900;text-shadow:0 2px 4px rgba(42,28,15,.5)}
.commerce-surface .product-card:nth-child(3n+2) .product-visual{background:linear-gradient(180deg,rgba(95,53,25,.02),rgba(95,53,25,.76)),url('/img/commerce/fair-hero.webp') center/cover;color:#fff}
.commerce-surface .product-card:nth-child(3n+3) .product-visual{background:linear-gradient(180deg,rgba(68,50,90,.02),rgba(68,50,90,.76)),url('/img/commerce/fair-hero.webp') right center/cover;color:#fff}
.commerce-surface .price{color:var(--dg-go-edge,#355c39);font-family:var(--dg-font,"Nunito",sans-serif);font-weight:900}
.commerce-surface .badge{border:1px solid #c8d9bd;background:#edf5e8;color:var(--dg-go-edge,#355c39)}
.commerce-surface .badge-pending{border-color:#e7c882;background:#fff2d8;color:#8b5b00}
.commerce-surface .badge-active,.commerce-surface .badge-fulfilled,.commerce-surface .badge-paid{border-color:#b9dabd;background:#e5f4e4;color:#285f35}
.commerce-surface .badge-rejected,.commerce-surface .badge-cancelled{border-color:#edbbb5;background:#fee9e5;color:#a33e37}
.commerce-surface .product-stage{position:relative;border:1px solid #bd8146;background:linear-gradient(180deg,rgba(35,52,34,.03),rgba(42,62,40,.72)),url('/img/commerce/fair-header.webp') center/cover;color:#fff;font-family:var(--dg-font,"Nunito",sans-serif);font-weight:900;text-shadow:0 3px 5px rgba(44,28,12,.55);box-shadow:var(--shadow);overflow:hidden}
.commerce-surface .product-stage:after{content:"";position:absolute;right:34px;top:30px;width:48px;height:74px;background:linear-gradient(145deg,#e2fffb,var(--dg-crystal,#2ec4b6));clip-path:polygon(50% 0,100% 35%,74% 100%,20% 86%,0 34%);filter:drop-shadow(0 8px 8px rgba(22,91,84,.4));animation:dgCommerceGem 4s ease-in-out infinite}
.commerce-surface .field input,.commerce-surface .field select,.commerce-surface .field textarea{border-color:#d7bd98;background:#fffefa;color:var(--ink)}
.commerce-surface .field input:focus,.commerce-surface .field select:focus,.commerce-surface .field textarea:focus{outline-color:rgba(46,196,182,.22);border-color:var(--dg-crystal-edge,#1f9a8f)}
.commerce-surface .step{border:1px solid var(--line);background:var(--paper);box-shadow:var(--dg-shadow,0 8px 22px rgba(74,52,22,.07))}
.commerce-surface .step:before{border-radius:11px;background:#f5d39f;color:var(--dg-accent-ink,#9a5520);box-shadow:0 3px 0 #c18448}
.commerce-surface .order-summary{border:1px solid #a66431;background:linear-gradient(150deg,#74492d,#493323);box-shadow:var(--shadow)}
.commerce-surface .quick-card{background:linear-gradient(145deg,#8c5a34,#67442c);box-shadow:0 6px 0 #4f321f}
.commerce-surface .quick-card:nth-child(2){background:linear-gradient(145deg,#4f7c56,#315f3e);box-shadow:0 6px 0 #254a31}
.commerce-surface .quick-card:nth-child(3){background:linear-gradient(145deg,#79669a,#514673);box-shadow:0 6px 0 #3e3659}
.commerce-surface .site-footer{background:var(--dg-surface-2,#fbf1df);border-color:var(--line)}
.commerce-surface .dg-header-cart{position:relative;display:inline-grid;place-items:center;width:42px;height:42px;border-radius:12px;background:var(--dg-surface-2,#fbf1df)}
.commerce-surface .dg-header-cart span{position:absolute;right:-4px;top:-5px;display:grid;place-items:center;min-width:19px;height:19px;padding:0 4px;border:2px solid var(--paper);border-radius:12px;background:var(--dg-danger,#d0413f);color:#fff;font-size:10px;font-weight:900}
.commerce-surface .commerce-content{min-width:0}
.commerce-surface .commerce-menu .dg-account-navigation a img{object-fit:contain}
@media(max-width:900px){.commerce-surface .hero-scene{grid-template-columns:1fr;min-height:auto;padding:42px;background-position:58% center}
.commerce-surface .hero-board{max-width:600px}
.commerce-surface .hero-copy h1{font-size:58px}
}
@media(max-width:600px){.commerce-surface .hero{padding:12px 0 42px}
.commerce-surface .hero-scene{display:block;padding:30px 22px 24px;border-radius:23px;background:linear-gradient(180deg,rgba(255,249,232,.97) 0%,rgba(255,249,232,.89) 48%,rgba(255,249,232,.3) 100%),url('/img/commerce/fair-hero.webp') 69% center/cover}
.commerce-surface .hero-scene:after{display:none}
.commerce-surface .hero-copy h1{font-size:47px}
.commerce-surface .hero-copy .lead{font-size:17px}
.commerce-surface .hero-actions{display:grid}
.commerce-surface .hero-actions .button{width:100%}
.commerce-surface .hero-board{margin-top:140px;padding:16px;border-radius:19px}
.commerce-surface .board-card:nth-child(2),.commerce-surface .board-card:nth-child(3){margin-inline:0}
.commerce-surface .board-total strong{font-size:16px}
.commerce-surface .page-hero>.shell{padding:28px 22px;border-radius:22px;background:linear-gradient(104deg,rgba(255,253,248,.97),rgba(255,248,232,.91)),url('/img/commerce/fair-header.webp') center/cover}
.commerce-surface .page-hero h1{font-size:40px}
}
@media(prefers-reduced-motion:reduce){.commerce-surface .hero-scene:after,.commerce-surface .board-card,.commerce-surface .product-stage:after{animation:none}
}
:where(.commerce-surface) .product-visual.has-image,:where(.commerce-surface) .product-stage.has-image,.commerce-surface .product-visual.has-image,.commerce-surface .product-card .product-visual.has-image,.commerce-surface .product-stage.has-image{padding:0;background:#f3e3c0;text-shadow:none}
:where(.commerce-surface) .product-visual.has-image img,:where(.commerce-surface) .product-stage.has-image img{display:block;width:100%;height:100%;object-fit:cover}
:where(.commerce-surface) .product-stage.has-image{min-height:0;aspect-ratio:16/9}
.commerce-surface .product-stage.has-image:after{display:none}
.commerce-surface .hero-copy .lead{max-width:34ch}
.commerce-surface .site-footer{padding-inline:clamp(16px,3vw,28px)}
.commerce-surface .dg-horizontal-ad{background:transparent;border:0;box-shadow:none}
.commerce-surface .blog-article{max-width:820px;padding-block:28px 10px}
.commerce-surface .blog-crumbs{font-size:.9rem;color:var(--muted);margin-bottom:14px}
.commerce-surface .blog-crumbs a{color:var(--dg-accent,#d07f3f);font-weight:800}
.commerce-surface .blog-head h1{margin:6px 0 10px;font-size:clamp(1.9rem,4vw,2.8rem);line-height:1.12}
.commerce-surface .blog-cover{display:block;width:100%;height:auto;border-radius:22px;border:1px solid rgba(165,94,39,.2);margin:18px 0 8px;box-shadow:var(--shadow)}
.commerce-surface .blog-prose{font-size:1.06rem;line-height:1.75;color:var(--dg-text)}
.commerce-surface .blog-prose h2{font-size:1.5rem;margin:30px 0 10px}
.commerce-surface .blog-prose h3{font-size:1.2rem;margin:22px 0 8px}
.commerce-surface .blog-prose p,.commerce-surface .blog-prose ul,.commerce-surface .blog-prose ol{margin:0 0 16px}
.commerce-surface .blog-prose a{color:var(--dg-accent,#d07f3f);font-weight:800;text-decoration:underline}
.commerce-surface .blog-prose blockquote{margin:18px 0;padding:14px 18px;border-left:4px solid var(--dg-accent,#d07f3f);background:var(--dg-surface-2,#fbf1df);border-radius:0 14px 14px 0}
.commerce-surface .blog-prose img{max-width:100%;height:auto;border-radius:14px}
.commerce-surface .blog-prose table{width:100%;border-collapse:collapse;margin:0 0 16px}
.commerce-surface .blog-prose :is(th,:where(.commerce-surface) td){border:1px solid rgba(165,94,39,.2);padding:8px 10px;text-align:left}
.commerce-surface .blog-pages{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}
.commerce-surface .blog-card .product-visual:not(.has-image){display:grid;place-items:center;padding:18px;text-align:center;font-weight:900}
.commerce-surface .product-gallery{padding-block:10px 40px}
.commerce-surface .product-gallery h2{margin:0 0 14px}
.commerce-surface .gallery-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}
.commerce-surface .gallery-grid figure{margin:0;background:var(--dg-surface,#fffdf8);border:1px solid rgba(165,94,39,.18);border-radius:18px;overflow:hidden;box-shadow:var(--shadow)}
.commerce-surface .gallery-grid img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;object-position:top}
.commerce-surface .gallery-grid figcaption{padding:10px 14px;font-weight:800;font-size:.92rem}
.commerce-surface .quick-card,.commerce-surface .quick-card b,.commerce-surface .quick-card span{color:#fff}
.commerce-surface .quick-card small{color:#f6efe5}
@media (min-width:900px){:where(.commerce-surface) .commerce-shell-body .dg-user-navigation .mobile-navigation.dg-tabs{display:none}
}

