:root {
  color-scheme: dark;
  --bg: #000;
  --card: #09090b;
  --surface: #101013;
  --text: #f0f0f2;
  --muted: #929299;
  --line: #252529;
  --accent: #f4b64d;
  --font: "Inter", "Segoe UI Variable Text", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: #000; }
body { margin: 0; background: var(--bg); color: var(--text); font: 14px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
body.modal-open { overflow: hidden; }
button, input { font-family: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
header { border-bottom: 1px solid #1b1b1e; background: #000; }
.header-inner { max-width: 1416px; margin: auto; display: flex; gap: 14px; align-items: center; padding: 21px 40px; }
.logo { width: 40px; height: 40px; border-radius: 11px; border: 1px solid #333037; background: #121215; font: bold 30px Georgia; text-align: center; line-height: 34px; position: relative; }
.logo span { color: var(--accent); position: absolute; font: 17px var(--font); right: 3px; bottom: -1px; }
h1 { font-size: 18px; font-weight: 650; margin: 0; letter-spacing: -.55px; }
.brand-dot { color: var(--accent); }
header p { margin: 0; color: #7f7f88; font-size: 11px; letter-spacing: .2px; }
.badge { margin-left: auto; display: flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid #252529; border-radius: 6px; font-size: 11px; color: #a6a6af; }
.badge > span { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
main { max-width: 1416px; margin: auto; padding: 39px 40px 24px; }
.page-intro { margin-bottom: 28px; }
.eyebrow { display: block; font-size: 10px; letter-spacing: 1.55px; font-weight: 600; color: #909098; }
.page-intro > .eyebrow { color: #b59460; margin-bottom: 9px; }
.page-intro h2 { font-size: clamp(26px, 3.1vw, 37px); letter-spacing: -1.35px; font-weight: 600; line-height: 1.2; }
.page-intro p { margin-top: 11px; font-size: 14px; color: #85858d; }
h2, h3, p { margin: 0; }
h2 { font-size: 19px; line-height: 1.45; letter-spacing: -.55px; font-weight: 600; }
h3 { font-size: 14px; font-weight: 600; margin: 24px 0 12px; }
.muted { color: var(--muted); }
.search-card, .product-card, .json-card { border: 1px solid var(--line); background: var(--card); border-radius: 14px; }
.search-card { padding: 22px 25px 19px; margin-bottom: 28px; }
.search-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 17px; }
.search-heading h2 { font-size: 14px; font-weight: 600; letter-spacing: -.1px; }
.small-label { color: #696973; font-size: 11px; }
label { display: block; color: #aaaab3; font-size: 11px; font-weight: 500; margin-bottom: 8px; }
.input-row { display: flex; gap: 10px; }
input { width: 100%; min-width: 0; border: 1px solid #2c2c32; border-radius: 8px; padding: 13px 15px; font-size: 13px; color: #f1f1f3; background: #000; transition: border-color .16s, box-shadow .16s; }
input::placeholder { color: #60606a; }
input:focus { outline: none; border-color: #aa8243; box-shadow: 0 0 0 3px #f4b64d12; }
button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; font-size: 12px; font-weight: 600; border: 1px solid transparent; border-radius: 8px; background: var(--accent); padding: 12px 19px; color: #1c1509; cursor: pointer; white-space: nowrap; transition: background .16s, border-color .16s, color .16s; }
button:hover { background: #fac773; }
button:disabled { opacity: .45; cursor: wait; }
button:focus-visible, a:focus-visible, pre:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.secondary { background: #131316; color: #c8c8cf; border-color: #2c2c32; padding: 8px 12px; font-size: 11px; }
.secondary:hover { background: #1c1c21; border-color: #414149; color: #fff; }
.status { display: flex; align-items: center; gap: 8px; font-size: 11px; margin-top: 13px; min-height: 18px; color: #898994; }
.status::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #70707b; flex: none; }
.search-card[aria-busy="true"] .status::before { background: var(--accent); animation: pulse 1s ease-in-out infinite; }
.error { margin-top: 12px; padding: 12px 14px; border: 1px solid #512526; border-radius: 8px; color: #f3adab; background: #200e0f; font-size: 12px; }
.results { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.product-card { padding: 24px; min-width: 0; }
.product-top { margin-top: 4px; }
.product-top h2 { font-size: 21px; line-height: 1.5; letter-spacing: -.6px; margin: 10px 0 9px; overflow-wrap: anywhere; }
.product-top .muted { font-size: 12px; margin-bottom: 10px; }
a { display: inline-block; color: #d9ac61; text-decoration: none; font-size: 11px; }
a:hover { color: #ffd48e; text-decoration: underline; text-underline-offset: 4px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; margin: 24px 0 19px; padding: 23px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts > div { min-width: 0; }
.facts span { display: block; font-size: 10px; letter-spacing: .15px; color: #85858f; margin-bottom: 7px; }
.facts strong { font-size: 12px; font-weight: 550; line-height: 1.5; overflow-wrap: anywhere; }
#urun-fiyat { font-size: 29px; letter-spacing: -1px; font-weight: 600; line-height: 1.2; }
#urun-stok { display: inline-block; font-size: 11px; }
#urun-stok[data-available="true"] { color: #8bd9ab; padding: 4px 8px; background: #0e2115; border: 1px solid #1c3e29; border-radius: 5px; }
#urun-stok[data-available="false"] { color: #f3adab; padding: 4px 8px; background: #261112; border: 1px solid #512526; border-radius: 5px; }
#urun-puan { font-size: 12px; color: #cfb88f; margin-bottom: 12px; }
#urun-teslimat { font-size: 12px; line-height: 1.75; }
.notes p { padding: 11px 13px; border-radius: 7px; border: 1px solid #33291b; background: #17130c; color: #b8a37e; font-size: 11px; line-height: 1.7; margin-top: 15px; }
ul { padding: 0; list-style: none; margin: 0; font-size: 12px; color: #a8a8b1; }
li { position: relative; margin: 10px 0; padding-left: 15px; line-height: 1.85; }
li::before { content: ""; position: absolute; left: 0; top: .9em; width: 4px; height: 4px; border-radius: 1px; background: #605744; }
.product-footer { display: flex; gap: 10px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 25px; font-size: 10px; }
.json-card { overflow: hidden; position: sticky; top: 24px; }
.json-header { display: flex; gap: 10px; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.json-header h2 { display: flex; align-items: center; gap: 10px; font-size: 16px; margin-top: 6px; }
.json-badge { font: 9px/1.7 Consolas, monospace; color: #888894; letter-spacing: .5px; border: 1px solid #303037; border-radius: 4px; padding: 1px 5px; }
.actions { display: flex; gap: 6px; }
pre { margin: 0; padding: 24px; background: #030304; color: #7e7e8b; font: 11px/1.95 "Cascadia Code", "JetBrains Mono", Consolas, monospace; overflow: auto; max-height: 830px; tab-size: 2; white-space: pre-wrap; overflow-wrap: anywhere; scrollbar-width: thin; scrollbar-color: #35353d #030304; }
.json-key { color: #b7bbd5; }.json-string { color: #acbf9f; }.json-number { color: #e0b578; }.json-literal { color: #aa90bc; }
.history { margin-top: 32px; }
.history h2 { font-size: 12px; letter-spacing: 0; color: #90909a; margin-bottom: 13px; }
#gecmis { display: flex; flex-wrap: wrap; gap: 8px; }
#gecmis button { max-width: 310px; display: block; overflow: hidden; text-overflow: ellipsis; text-align: left; font-weight: 400; padding: 9px 12px; }
footer { display: flex; justify-content: space-between; gap: 20px; margin-top: 36px; border-top: 1px solid #1c1c20; padding-top: 21px; font-size: 10px; color: #73737d; }
footer > span:first-child { white-space: nowrap; color: #a9a9b1; font-size: 12px; font-weight: 600; }
.gallery { padding-bottom: 23px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.gallery-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.image-count { font: 10px/1.5 Consolas, monospace; color: #b6b6bf; padding: 3px 8px; border: 1px solid #29292f; background: #121215; border-radius: 5px; }
.gallery-stage { position: relative; height: 350px; background: #111114; border: 1px solid #242429; border-radius: 9px; overflow: hidden; touch-action: pan-y; }
.image-expand { background: transparent; width: 100%; height: 100%; padding: 20px 56px; border-radius: 0; cursor: zoom-in; }
.image-expand:hover { background: #151518; }
.image-expand img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 3px; }
.zoom-hint { position: absolute; right: 12px; top: 10px; width: 26px; height: 26px; font-size: 20px; background: #08080acd; color: #b9b9c3; border: 1px solid #34343b; border-radius: 6px; display: grid; place-items: center; }
.gallery-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; padding: 0; border-radius: 50%; border: 1px solid #393941; background: #08080deb; color: #ceced6; font: 17px var(--font); z-index: 1; }
.gallery-arrow:hover { border-color: #b08b4e; background: #22201b; color: #ffd58f; }
.gallery-arrow.prev { left: 13px; }.gallery-arrow.next { right: 13px; }
.thumbnails { display: flex; align-items: center; gap: 8px; overflow-x: auto; padding: 4px 2px 8px; margin-top: 11px; scrollbar-width: thin; scrollbar-color: #35353d transparent; }
.thumbnail { position: relative; flex: none; width: 62px; height: 64px; border-radius: 7px; background: #111114; border: 1px solid #303037; padding: 5px; }
.thumbnail img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 2px; }
.thumbnail:hover { background: #1b1b20; border-color: #656571; }
.thumbnail[aria-pressed="true"] { border-color: #e1ad54; box-shadow: 0 0 0 1px #e1ad54; background: #242017; }
.gallery-help { display: flex; justify-content: space-between; gap: 8px; font-size: 9px; color: #74747f; margin-top: 6px; }
.image-error { position: absolute; inset: 0; padding: 50px; display: grid; place-items: center; text-align: center; color: #9797a2; font-size: 12px; pointer-events: none; }
.image-loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 10px; color: #84848f; font-size: 11px; pointer-events: none; }
.image-loading > span { width: 15px; height: 15px; border-radius: 50%; border: 1px solid #454039; border-top-color: var(--accent); animation: spin .8s linear infinite; }
.image-dialog { width: min(1140px, calc(100vw - 48px)); max-width: none; height: min(900px, calc(100dvh - 48px)); max-height: none; margin: auto; padding: 16px 22px; border: 1px solid #35353d; border-radius: 14px; background: #060607; color: var(--text); overflow: hidden; }
.image-dialog::backdrop { background: #000e; backdrop-filter: blur(8px); }
.image-dialog[open] { display: flex; flex-direction: column; }
.lightbox-top { display: flex; align-items: center; justify-content: space-between; font: 12px Consolas, monospace; color: #b8b8c3; }
.icon-button { width: 34px; height: 34px; padding: 0; border: 1px solid #303037; background: #151518; color: #ccc; font-size: 23px; }
.icon-button:hover { background: #242429; }
.lightbox-stage { position: relative; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 18px 60px; }
.lightbox-stage img { width: 100%; height: 100%; object-fit: contain; }
.image-dialog .thumbnails { justify-content: safe center; flex: none; }
.lightbox-help { display: flex; justify-content: center; gap: 30px; color: #74747f; font-size: 10px; padding-top: 3px; }
@keyframes pulse { 50% { opacity: .3; } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (min-width: 1600px) { .gallery-stage { height: 420px; } }
@media (max-width: 1000px) { .results { grid-template-columns: 1fr; }.json-card { position: static; }pre { max-height: 580px; }.gallery-stage { height: 420px; } }
@media (max-width: 600px) {
  .header-inner { padding: 18px 20px; gap: 11px; }.badge { display: none; }main { padding: 28px 16px 20px; }.page-intro { margin-bottom: 24px; }.page-intro h2 { font-size: 28px; }.page-intro p { font-size: 12px; line-height: 1.8; }
  .search-card, .product-card { padding: 19px 17px; border-radius: 12px; }.search-heading { margin-bottom: 15px; }.small-label { font-size: 9px; }.input-row { flex-direction: column; }.input-row button { min-height: 45px; }.status { font-size: 10px; line-height: 1.8; align-items: baseline; }
  .results { gap: 20px; }.product-top h2 { font-size: 19px; }.facts { gap: 20px 17px; }#urun-fiyat { font-size: 25px; }.json-header { padding: 17px; }.json-header .eyebrow { font-size: 8px; letter-spacing: 1px; }.json-header h2 { font-size: 14px; }.json-badge { display: none; }.actions .secondary { padding: 8px 9px; font-size: 10px; }pre { padding: 18px; font-size: 10px; }
  .gallery-stage { height: 290px; }.image-expand { padding: 22px 44px; }.gallery-arrow { width: 29px; height: 29px; }.gallery-arrow.prev { left: 9px; }.gallery-arrow.next { right: 9px; }.thumbnail { width: 54px; height: 58px; }.gallery-help { font-size: 8px; }.product-footer { flex-wrap: wrap; font-size: 9px; }
  footer { flex-direction: column; gap: 8px; margin-top: 28px; }.image-dialog { width: calc(100vw - 20px); height: calc(100dvh - 24px); padding: 12px; border-radius: 10px; }.lightbox-stage { padding: 16px 39px; }.lightbox-help { gap: 14px; font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
