/* Tezgah (D-07x): Çok satıcılı pazar, genel ürün. Identity through the shared variables; rules below only for its own differences. */
:root {
  --bg: #ffffff; --line: #cbd5e1; --radius: 6px; --gap: 1rem;
  --head-bg: #172554; --head-ink: #ffffff; --nav-bg: #172554; --nav-ink: #ffffff;
  --foot-bg: #172554; --foot-ink: #e0e7ff;
}
body[data-theme="tezgah"] { overflow-wrap: anywhere; }
.site-head { position: relative; border-bottom: 1px solid var(--line); }
.head-row { padding-block: 1rem; gap: 1rem 2rem; }
main { padding-top: 1.5rem; }
:where(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid #c2410c; outline-offset: 3px; }
.site-foot :focus-visible { outline-color: #e0e7ff; }
body[data-theme="tezgah"] .brand { font-family: var(--id-font-head); color: #ffffff;  }
body[data-theme="tezgah"] .sector-hero { border-radius: 6px; }
.home-cats h2, .home-products h2, .rail h2 { margin-top: 2rem; font-size: 1.4rem; padding-left: .6rem; border-left: 4px solid #c2410c; font-size: 1.2rem; }
body[data-theme="tezgah"] main ul.grid { grid-template-columns: repeat(auto-fill, minmax(min(180px, 100%), 1fr)); gap: 1.25rem 1rem; }
body[data-theme="tezgah"] main ul.grid > .card { gap: .45rem; text-align: left; padding: .6rem; border: 1px solid #cbd5e1; border-radius: 6px; background: #fff; }
body[data-theme="tezgah"] .card-media { aspect-ratio: 1 / 1; background: #eef2ff; }
.card-price { font-variant-numeric: tabular-nums; }
.page-head { margin-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.results, .filter-bar, .buybox { min-width: 0; }
.result-sort a, .result-view a { display: inline-flex; align-items: center; min-height: 44px; padding: .4rem .6rem; }
.result-sort a[aria-current], .result-view a[aria-current] { text-decoration: underline; text-underline-offset: .25em; font-weight: 700; }
/* D-023 product detail: preserve the shared purchase flow; only the frame of the buy box and gallery changes. */
body[data-theme="tezgah"] .gallery, body[data-theme="tezgah"] .buybox { position: static; }
body[data-theme="tezgah"] .buybox { border: 1px solid #cbd5e1; border-top: 4px solid #c2410c; border-radius: 6px; background: #fff; box-shadow: none; }
body[data-theme="tezgah"] .gallery-stage { border-radius: 6px; background: #eef2ff; }
body[data-theme="tezgah"] .buy-price { color: #0f172a; }
