/* Efekt Yap: sitenin içinde gömülü gösterilirken sitenin tasarımına uyar.
 * Renkler, yazı ve köşeler ../assets/tasarim.css değişkenlerinden gelir.
 * Doğrudan açılan sayfa zaten siteye yönlendiği için kurallar .gomulu ile sınırlı. */

html.gomulu, .gomulu body {
	height: auto !important;
	min-height: 0 !important;
	width: 100%;
	background: transparent;
	font-family: var(--f-arayuz, system-ui, sans-serif);
	font-size: 14px;
	color: var(--c-yazi);
	overflow-x: hidden;
}
.gomulu *, .gomulu *::before, .gomulu *::after { box-sizing: border-box; }
.gomulu .ey-ust { display: none; }

/* ---------- şablon listesi ---------- */
.gomulu .ey-sablonlar { max-width: none; margin: 0; padding: 20px 20px 0; gap: 6px; }
.gomulu .ey-grup {
	flex-basis: 100%;
	margin: 8px 0 2px;
	font-size: 12px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase;
	color: var(--c-soluk);
}
.gomulu .ey-grup:first-child { margin-top: 0; }
.gomulu .ey-sablonlar a {
	padding: 6px 12px;
	font-size: 13px; font-weight: 550; line-height: 1.3;
	color: var(--c-yazi-2); background: var(--c-yuzey);
	border: 1px solid var(--c-cizgi); border-radius: 999px;
	transition: border-color .15s, background-color .15s, color .15s;
}
.gomulu .ey-sablonlar a:hover { border-color: var(--c-cizgi-2); background: var(--c-yuzey-2); }
.gomulu .ey-sablonlar a.aktif { color: #fff; background: var(--c-vurgu); border-color: var(--c-vurgu); }
.gomulu .ey-sablonlar a:focus-visible { outline: 2px solid var(--c-vurgu); outline-offset: 2px; }

/* ---------- yerleşim: solda resim, sağda ayarlar ---------- */
.gomulu .main-container {
	display: grid !important;
	grid-template-columns: minmax(0, 1.18fr) minmax(320px, 1fr);
	gap: 20px;
	align-items: start;
	max-width: none;
	padding: 20px !important;
}
.gomulu .canvas {
	position: static; left: auto; top: auto; right: auto; bottom: auto;
	width: 100%; min-width: 0; min-height: 0 !important; margin: 0; padding: 14px;
	font-size: 0; white-space: normal; overflow: visible; transform: none;
	background: #17141d;
	border-radius: var(--r-3, 16px);
}
.gomulu .canvas::before { display: none; }
.gomulu .canvas canvas {
	display: block; width: 100% !important; max-width: 100%; height: auto !important; min-height: 0;
	margin: 0 auto; border: 0; border-radius: var(--r-2, 12px); box-shadow: none;
}
.gomulu .sidebar {
	position: static; display: block; width: 100%; height: auto;
	background: var(--c-yuzey);
	border: 1px solid var(--c-cizgi); border-radius: var(--r-3, 16px);
	overflow: visible;
}
.gomulu .sidebar .ps__rail-x, .gomulu .sidebar > .ps__rail-y { display: none !important; }
.gomulu .sidebar_content { height: auto; padding: 16px; }
.gomulu .sidebar_content .sub_content { height: auto; }

/* ---------- sekmeler ---------- */
.gomulu .tabs > label[for="tab_0"] { display: none; }
.gomulu .tabs > label {
	display: inline-flex; flex-direction: column; align-items: center; gap: 4px;
	min-width: 62px; margin: 0 6px 14px 0; padding: 9px 12px 8px;
	font-size: 12px; font-weight: 600; line-height: 1.2;
	color: var(--c-yazi-2); background: var(--c-yuzey);
	border: 1px solid var(--c-cizgi); border-radius: var(--r-2, 12px);
	cursor: pointer; transition: border-color .15s, background-color .15s, color .15s;
}
.gomulu .tabs > label svg { width: 20px; height: 20px; stroke: currentColor; }
.gomulu .tabs > label:hover { border-color: var(--c-cizgi-2); }
.gomulu .tabs > input:checked + label {
	color: var(--c-vurgu); background: var(--c-vurgu-acik);
	border: 1px solid var(--c-vurgu); border-bottom: 1px solid var(--c-vurgu);
}
.gomulu .tabs > input:focus-visible + label { outline: 2px solid var(--c-vurgu); outline-offset: 2px; }
.gomulu .tabs > div { top: 0; background: transparent; }
.gomulu .ey-sekme-ad { display: block; }

/* ---------- yazı, etiket, giriş alanları ---------- */
.gomulu .label, .gomulu .tabs .label {
	height: auto; margin: 12px 0 6px; line-height: 1.4;
	font-size: 13px; font-weight: 600; color: var(--c-yazi-2);
}
.gomulu .label.small { height: auto; margin: 10px 0 4px; font-size: 12px; font-weight: 550; color: var(--c-soluk); }
.gomulu .upload .label { width: auto; max-width: 100%; height: auto; line-height: 1.4; margin: 6px 0 0; font-weight: 450; color: var(--c-soluk); white-space: normal; }
.gomulu input[type=text], .gomulu textarea {
	height: 38px; line-height: 1.4; padding: 0 12px;
	font: inherit; font-size: 14px; color: var(--c-yazi);
	background: var(--c-yuzey); border: 1px solid var(--c-cizgi); border-radius: var(--r-2, 12px); box-shadow: none;
	transition: border-color .15s, box-shadow .15s;
}
.gomulu textarea { height: 86px; padding: 10px 12px; line-height: 1.5; resize: vertical; margin-bottom: 12px; }
.gomulu input[type=text]:focus, .gomulu textarea:focus {
	border-color: var(--c-vurgu); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-vurgu) 16%, transparent); outline: 0;
}
.gomulu input[type=text].small { width: 72px; margin-top: 0; text-align: center; padding: 0 6px; }
.gomulu input[type=text][readonly] { color: var(--c-yazi-2); background: var(--c-yuzey-2, var(--c-yuzey)); }
.gomulu .input_range { position: relative; height: 38px; line-height: 38px; padding-right: 84px; margin-bottom: 4px; }
.gomulu .input_units { height: 38px; line-height: 38px; color: var(--c-yazi-2); }
.gomulu .input_units span { line-height: 38px; right: 28px; font-size: 13px; color: var(--c-soluk); }

/* kaydırıcılar */
.gomulu input[type=range] { height: 38px; background: transparent; }
.gomulu input[type=range]::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: var(--c-cizgi-2); }
.gomulu input[type=range]::-webkit-slider-thumb { width: 18px; height: 18px; margin-top: -7px; border-radius: 50%; background: var(--c-vurgu); border: 2px solid var(--c-yuzey); box-shadow: 0 1px 4px rgba(0, 0, 0, .3); }
.gomulu input[type=range]::-moz-range-track { height: 4px; border-radius: 2px; background: var(--c-cizgi-2); }
.gomulu input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--c-vurgu); border: 2px solid var(--c-yuzey); box-shadow: 0 1px 4px rgba(0, 0, 0, .3); }
.gomulu input[type=range]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-vurgu) 25%, transparent); }

/* ---------- düğmeler ---------- */
.gomulu .btn {
	display: inline-flex; align-items: center; justify-content: center;
	height: 38px; margin-top: 0; padding: 0 16px; line-height: 1;
	font-size: 14px; font-weight: 600; font-family: inherit;
	color: var(--c-yazi); background: var(--c-yuzey);
	border: 1px solid var(--c-cizgi); border-radius: var(--r-2, 12px); box-shadow: none;
	cursor: pointer; transition: border-color .15s, background-color .15s, color .15s;
}
.gomulu .btn:hover { background: var(--c-yuzey-2, var(--c-yuzey)); border-color: var(--c-cizgi-2); }
.gomulu .btn.file { position: relative; overflow: hidden; }
.gomulu .btn.file input { height: 100%; }
.gomulu .btn.fontello { height: 28px; padding: 0 9px; }
.gomulu .btn.smallui { height: 30px; padding: 0 10px; font-size: 13px; }
.gomulu .btn.save, .gomulu #save {
	color: #fff; background: var(--c-vurgu); border-color: var(--c-vurgu); padding: 0 22px;
}
.gomulu .btn.save:hover, .gomulu #save:hover { background: var(--c-vurgu-koyu); border-color: var(--c-vurgu-koyu); }
.gomulu .text-size-aply { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.gomulu .text-size-aply > div { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.gomulu .text-size-aply .label { margin: 0; white-space: nowrap; }
.gomulu .controls {
	display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px;
	margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--c-cizgi);
	position: static; text-align: right; line-height: 1; font-size: 14px;
}
.gomulu .controls .btn { margin: 0; }
.gomulu .controls .btn.fontello { width: 38px; height: 38px; padding: 0; font-size: 18px; }
.gomulu .controls .input_units { height: auto; }
.gomulu .controls input[type=text].small { width: 64px; }

/* ---------- açılır listeler ---------- */
.gomulu .myselect {
	height: 38px; padding: 0 32px 0 12px; line-height: 36px;
	font-size: 14px; color: var(--c-yazi); background: var(--c-yuzey);
	border: 1px solid var(--c-cizgi); border-radius: var(--r-2, 12px); box-shadow: none;
}
.gomulu .myselect:hover { background: var(--c-yuzey-2, var(--c-yuzey)); border-color: var(--c-cizgi-2); }
.gomulu .myselect b { height: 36px; line-height: 36px; font-weight: 450; }
.gomulu .myselect::after { top: 15px; border-top-color: var(--c-soluk); }
.gomulu .myselect .drop {
	top: 40px; max-height: 260px !important; background: var(--c-yuzey);
	border: 1px solid var(--c-cizgi); border-radius: var(--r-2, 12px); box-shadow: var(--g-3);
}
.gomulu .myselect .drop span { line-height: 34px; padding: 0 12px; font-size: 14px; color: var(--c-yazi); background: var(--c-yuzey); }
.gomulu .myselect .drop span:not(.cur):hover { background: var(--c-yuzey-2, var(--c-yuzey)); }
.gomulu .myselect .drop span.cur { color: var(--c-vurgu); background: var(--c-vurgu-acik); }
.gomulu .ps__thumb-y { background-color: var(--c-cizgi-2); }
.gomulu .cols .col { width: 48%; }
.gomulu .cols .col.first { margin-right: 4%; }

/* ---------- küçük ekran ---------- */
@media (max-width: 960px) {
	.gomulu .main-container { grid-template-columns: minmax(0, 1fr); padding: 14px !important; gap: 14px; }
	.gomulu .ey-sablonlar { padding: 14px 14px 0; }
	.gomulu .canvas { padding: 10px; }
}
@media (max-width: 520px) {
	.gomulu .sidebar_content { padding: 12px; }
	.gomulu .text-size-aply { flex-direction: column; align-items: stretch; }
	.gomulu .tabs > label { min-width: 0; flex: 1 1 56px; margin-right: 4px; padding: 8px 6px; }
	.gomulu .controls { justify-content: space-between; }
	.gomulu .ey-sablonlar a { font-size: 12px; padding: 5px 10px; }
}

@media (max-width: 520px) {
}
.gomulu .myselect { position: relative; }
.gomulu .input_range { min-width: 0; }
.gomulu .input_range input[type=range] { flex: 1 1 auto; min-width: 70px; }
.gomulu .text-size-aply > div:last-child { min-width: 0; }

/* düzen ayarı (satır genişliği, boyut sığdırma) */
.gomulu .ey-duzen { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: -4px 0 14px; }
.gomulu .ey-duzen-s { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 550; color: var(--c-yazi-2); }
.gomulu .ey-duzen select {
	height: 34px; padding: 0 28px 0 10px; font: inherit; font-size: 13px; color: var(--c-yazi);
	background: var(--c-yuzey); border: 1px solid var(--c-cizgi); border-radius: var(--r-2, 12px);
}
.gomulu .ey-duzen select:focus-visible, .gomulu .ey-duzen input:focus-visible { outline: 2px solid var(--c-vurgu); outline-offset: 2px; }
.gomulu .ey-duzen-c { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 550; color: var(--c-yazi-2); cursor: pointer; }
.gomulu .ey-duzen-c input { width: 16px; height: 16px; margin: 0; accent-color: var(--c-vurgu); }
.gomulu textarea { margin-bottom: 14px; }
.gomulu .text-size-aply > .btn { display: none; }

.gomulu .ey-harf { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 13px; color: var(--c-yazi-2); }
.gomulu .ey-harf[hidden] { display: none; }
.gomulu .ey-harf-d { height: 30px; padding: 0 12px; font: inherit; font-size: 13px; font-weight: 600; color: var(--c-vurgu); background: var(--c-vurgu-acik); border: 1px solid var(--c-vurgu); border-radius: var(--r-2, 12px); cursor: pointer; }
.gomulu .ey-harf-d:hover { background: var(--c-yuzey-2, var(--c-yuzey)); }
.gomulu .ey-harf-d:focus-visible { outline: 2px solid var(--c-vurgu); outline-offset: 2px; }
