/* AN TOBA Katalog — ön yüz */
.atk {
	--atk-brand: #1f3a5f;
	--atk-ink: #1b1f24;
	--atk-muted: #5c6670;
	--atk-line: #e3e6ea;
	--atk-soft: #f5f7f9;
	--atk-flag: #ffe699;
	--atk-radius: 8px;
	color: var(--atk-ink);
	font-variant-numeric: tabular-nums;
	line-height: 1.5;
}
.atk *, .atk *::before, .atk *::after { box-sizing: border-box; }
.atk [hidden] { display: none !important; }
.atk .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Seçici */
.atk-picker { margin: 0 0 24px; }
.atk-picker-label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95em; }
.atk-select { width: 100%; max-width: 420px; padding: 10px 12px; border: 1px solid #c7ccd1; border-radius: var(--atk-radius); background: #fff; font: inherit; color: inherit; }
.atk-select:focus { outline: 2px solid var(--atk-brand); outline-offset: 1px; }

/* Genel bakış kartları */
.atk-ov-group { margin: 0 0 28px; }
.atk-ov-group h3 { font-size: 1.05em; margin: 0 0 10px; color: var(--atk-muted); font-weight: 600; letter-spacing: .01em; }
.atk-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.atk-card { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border: 1px solid var(--atk-line); border-radius: var(--atk-radius); text-decoration: none; color: inherit; background: #fff; transition: border-color .15s, box-shadow .15s; }
.atk-card:hover, .atk-card:focus-visible { border-color: var(--atk-brand); box-shadow: 0 2px 10px rgba(0, 0, 0, .06); }
.atk-card-model { font-weight: 700; font-size: 1.1em; color: var(--atk-brand); }
.atk-card-spec { font-size: .85em; color: var(--atk-muted); }

/* Ürün */
.atk-product { border-top: 3px solid var(--atk-brand); padding-top: 20px; }
.atk-product-slot.is-loading { opacity: .45; transition: opacity .15s; pointer-events: none; }
.atk-p-head { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; }
.atk-eyebrow { margin: 0; font-size: .82em; text-transform: uppercase; letter-spacing: .08em; color: var(--atk-muted); font-weight: 600; }
.atk-p-title h2 { margin: 2px 0 4px; font-size: clamp(1.8em, 4vw, 2.4em); line-height: 1.1; color: var(--atk-brand); }
.atk-variants { margin: 0; font-size: .9em; color: var(--atk-muted); }
.atk-variants a { color: var(--atk-brand); }

.atk-btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 20px; border-radius: var(--atk-radius); background: var(--atk-brand); color: #fff; border: 0; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; }
.atk-btn:hover, .atk-btn:focus-visible { filter: brightness(1.12); color: #fff; }
.atk-btn[disabled] { opacity: .6; cursor: wait; }
.atk-link-btn { background: none; border: 0; padding: 4px 0; color: var(--atk-brand); font: inherit; font-size: .9em; font-weight: 600; cursor: pointer; white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; }

.atk-specs { display: flex; flex-wrap: wrap; margin: 20px 0; border: 1px solid var(--atk-line); border-radius: var(--atk-radius); overflow: hidden; background: #fff; }
.atk-specs > div { flex: 1 1 150px; padding: 12px 16px; box-shadow: 1px 0 0 var(--atk-line), 0 1px 0 var(--atk-line); }
.atk-specs dt { font-size: .8em; color: var(--atk-muted); margin: 0; }
.atk-specs dd { margin: 2px 0 0; font-size: 1.2em; font-weight: 700; }

/* Sekmeler */
.atk-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--atk-line); margin: 24px 0 0; overflow-x: auto; scrollbar-width: thin; }
.atk-tabs button { flex: 0 0 auto; background: none; border: 0; border-bottom: 3px solid transparent; padding: 10px 14px; font: inherit; font-weight: 600; color: var(--atk-muted); cursor: pointer; margin-bottom: -1px; }
.atk-tabs button[aria-selected="true"] { color: var(--atk-brand); border-bottom-color: var(--atk-brand); }
.atk-tabs button:focus:not(:focus-visible) { outline: none; }
.atk-tabs button:focus-visible { outline: 2px solid var(--atk-brand); outline-offset: -2px; }
.atk-panel { padding: 20px 0 8px; }
.atk-panel h4 { margin: 24px 0 10px; font-size: 1.05em; }
.atk-panel > h4:first-child, .atk-panel > .atk-lead + h4 { margin-top: 4px; }
.atk-lead { color: var(--atk-muted); margin: 0 0 14px; max-width: 70ch; }
.atk-note { font-size: .88em; color: var(--atk-muted); margin: 8px 0 0; max-width: 80ch; }
.atk-sub { font-weight: 600; margin: 12px 0 6px; }
.atk-facts { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0 0 14px; padding: 10px 14px; background: var(--atk-soft); border-radius: var(--atk-radius); font-size: .95em; }

/* Tablolar */
.atk-table-wrap { overflow-x: auto; border: 1px solid var(--atk-line); border-radius: var(--atk-radius); -webkit-overflow-scrolling: touch; }
.atk-table { width: 100%; border-collapse: collapse; font-size: .92em; margin: 0; border: 0; }
.atk-table caption { text-align: left; padding: 8px 12px; font-weight: 600; }
.atk-table th, .atk-table td { padding: 8px 12px; border: 0; border-bottom: 1px solid var(--atk-line); text-align: left; vertical-align: top; background: transparent; }
.atk-table thead th { background: var(--atk-soft); font-size: .85em; font-weight: 600; color: var(--atk-muted); white-space: nowrap; position: sticky; top: 0; }
.atk-table tbody tr:last-child > * { border-bottom: 0; }
.atk-table tbody th { font-weight: 600; }
.atk-table tbody tr:hover > * { background: #fafbfc; }
.atk-num { text-align: right !important; white-space: nowrap; }
.atk-empty { color: #a7aeb5; }
.atk-act { text-align: right; width: 1%; }
.atk-dims th, .atk-dims td { padding: 7px 9px; }
.atk-dims tbody th { position: sticky; left: 0; background: #fff; white-space: nowrap; box-shadow: 1px 0 0 var(--atk-line); }
.atk-dims thead th:first-child { left: 0; z-index: 1; }
.atk-motor td:nth-child(2) { white-space: nowrap; }
.atk-motor .atk-kw { display: block; font-weight: 700; }
.atk-motor .atk-hp { display: block; font-size: .82em; color: var(--atk-muted); font-weight: 400; }
.atk-n2 { min-width: 260px; }

.atk-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.atk-chips li { padding: 1px 8px; border-radius: 20px; background: var(--atk-soft); border: 1px solid var(--atk-line); font-size: .86em; line-height: 1.6; margin: 0; }

.atk-cizim { margin: 0 0 12px; padding: 16px; border: 1px solid var(--atk-line); border-radius: var(--atk-radius); background: #fff; }
.atk-cizim-zoom { display: block; cursor: zoom-in; }
.atk-cizim img { display: block; width: 100%; height: auto; max-width: none; margin: 0 auto; }
.atk-cizim figcaption { margin-top: 10px; font-size: .85em; color: var(--atk-muted); text-align: center; }
.atk-zoom-hint { white-space: nowrap; }
@media (max-width: 700px) {
	.atk-cizim { overflow-x: auto; padding: 10px; }
	.atk-cizim img { width: 760px; }
}

/* Harf açıklaması */
.atk-legend { margin: 0 0 16px; border: 1px solid var(--atk-line); border-radius: var(--atk-radius); background: var(--atk-soft); }
.atk-legend summary { cursor: pointer; padding: 10px 14px; font-weight: 600; color: var(--atk-brand); list-style: none; }
.atk-legend summary::-webkit-details-marker { display: none; }
.atk-legend summary::before { content: '+'; display: inline-block; width: 1.1em; font-weight: 700; }
.atk-legend[open] summary::before { content: '–'; }
.atk-legend-body { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 4px 28px; padding: 4px 16px 14px; }
.atk-legend-title { margin: 8px 0 4px; font-size: .78em; text-transform: uppercase; letter-spacing: .06em; color: var(--atk-muted); font-weight: 700; }
.atk-legend dl { margin: 0; }
.atk-legend dl > div { display: grid; grid-template-columns: 2.6em 1fr; gap: 8px; padding: 3px 0; font-size: .9em; border-bottom: 1px dashed var(--atk-line); }
.atk-legend dt { font-weight: 700; color: var(--atk-brand); margin: 0; }
.atk-legend dd { margin: 0; }

/* Gruplu ölçü tablosu */
.atk-dims thead tr:first-child th.atk-grp { text-align: center; font-size: .78em; text-transform: uppercase; letter-spacing: .05em; color: var(--atk-ink); border-bottom: 2px solid var(--atk-grp-c, var(--atk-line)); }
.atk-dims .atk-grp-start { box-shadow: inset 1px 0 0 var(--atk-line); }
.atk-dims th.atk-grp { box-shadow: inset 1px 0 0 var(--atk-line); }
.atk-dims th.atk-letter { text-align: center !important; font-size: .9em; color: var(--atk-ink); }
.atk-dims abbr { text-decoration: none; border-bottom: 1px dotted currentColor; cursor: help; }
.atk-dims .atk-dims-corner { vertical-align: bottom; position: sticky; left: 0; z-index: 2; }
.atk-dims td { text-align: center !important; }
.atk-grp-ayak  { --atk-grp-c: #00818a; }
.atk-grp-flans { --atk-grp-c: #7a5af8; }
.atk-grp-govde { --atk-grp-c: var(--atk-brand); }
.atk-grp-cikis { --atk-grp-c: #d97706; }
.atk-grp-giris { --atk-grp-c: #059669; }
.atk-grp-boy   { --atk-grp-c: var(--atk-brand); }
.atk-grp-gobek { --atk-grp-c: #059669; }
.atk-grp-mflan { --atk-grp-c: #7a5af8; }
.atk-dims .is-col-hover { background: #eef5fc !important; }
.atk-dims th.is-col-hover { color: var(--atk-brand); }
.atk-flans th { white-space: normal !important; text-align: left; }

/* Doğrulama işaretleri (yalnızca yöneticiler) */
.atk .atk-flag { background: var(--atk-flag) !important; }
.atk-flag-box { background: var(--atk-flag); padding: 6px; border-radius: 6px; }
.atk-admin-note { font-size: .88em; background: #fff8e1; border-left: 3px solid #d9a400; padding: 8px 12px; margin: 0 0 8px; }

/* Teklif formu */
.atk-teklif { margin: 28px 0 0; padding: 20px; border: 1px solid var(--atk-line); border-radius: var(--atk-radius); background: var(--atk-soft); scroll-margin-top: 90px; }
.atk-teklif h3 { margin: 0 0 14px; font-size: 1.15em; }
.atk-grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 16px; }
.atk-teklif p { margin: 0 0 12px; }
.atk-teklif label { display: block; font-size: .88em; font-weight: 600; }
.atk-teklif input, .atk-teklif select, .atk-teklif textarea { display: block; width: 100%; margin-top: 4px; padding: 9px 11px; border: 1px solid #c7ccd1; border-radius: 6px; font: inherit; font-weight: 400; background: #fff; color: inherit; }
.atk-teklif input:focus, .atk-teklif select:focus, .atk-teklif textarea:focus { outline: 2px solid var(--atk-brand); outline-offset: 0; }
.atk-hp { position: absolute !important; left: -9999px !important; }
.atk-form-foot { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.atk-form-msg { font-size: .92em; }
.atk-form-msg.is-ok { color: #1a7f37; } .atk-form-msg.is-bad { color: #b42318; }

@media (max-width: 600px) {
	.atk-specs > div { flex-basis: 45%; }
	.atk-specs dd { font-size: 1.05em; }
	.atk-table th, .atk-table td { padding: 7px 9px; }
	.atk-n2 { min-width: 200px; }
}
@media print {
	.atk-picker, .atk-overview, .atk-tabs, .atk-teklif, .atk-btn, .atk-link-btn, .atk-act { display: none !important; }
	.atk-panel[hidden] { display: block !important; }
}

/* Antoba teması: sayfa şablonu içeriği 820 px ile sınırlar; geniş tablolar için katalog sayfasında tam konteyner genişliği kullan. */
.container.narrow:has(> .atk) { max-width: var(--container, 1200px); }
.entry-content > .atk .atk-table { margin: 0; }
.entry-content > .atk .atk-table th, .entry-content > .atk .atk-table td { border-left: 0; border-right: 0; }
