/* Devre (D-07x): Elektronik, bilgisayar, yedek parça. Identity through the shared variables; rules below only for its own differences. */
:root {
  --bg: #eef3f8; --line: #c3d3e3; --radius: 6px; --gap: 1rem;
  --head-bg: #0b1f3a; --head-ink: #e6f0fa; --nav-bg: #0b1f3a; --nav-ink: #e6f0fa;
  --foot-bg: #0b1f3a; --foot-ink: #c9d9ea;
}
body[data-theme="devre"] { 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 #0e7490; outline-offset: 3px; }
.site-foot :focus-visible { outline-color: #c9d9ea; }
body[data-theme="devre"] .brand { font-family: var(--id-font-head); color: #e6f0fa;  }
body[data-theme="devre"] .sector-hero { border-radius: 6px; }
.home-cats h2, .home-products h2, .rail h2 { margin-top: 2rem; font-size: 1.4rem; font-size: 1.2rem; text-transform: uppercase; letter-spacing: .06em; }
body[data-theme="devre"] main ul.grid { grid-template-columns: repeat(auto-fill, minmax(min(210px, 100%), 1fr)); gap: 1.25rem 1rem; }
body[data-theme="devre"] main ul.grid > .card { gap: .45rem; text-align: left; padding: .8rem; border: 1px solid #c3d3e3; border-radius: 6px; background: #fff; }
body[data-theme="devre"] .card-media { aspect-ratio: 1 / 1; background: #dbe7f2; }
body[data-theme="devre"] .card-price, body[data-theme="devre"] .buy-price { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; }
.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="devre"] .gallery, body[data-theme="devre"] .buybox { position: static; }
body[data-theme="devre"] .buybox { border: 1px solid #c3d3e3; border-left: 4px solid #0e7490; border-radius: 6px; background: #fff; box-shadow: none; }
body[data-theme="devre"] .gallery-stage { border-radius: 6px; background: #dbe7f2; }
body[data-theme="devre"] .buy-price { color: #0b1f3a; }
