/* Dokuma (D-07x): Ev tekstili. Identity through the shared variables; rules below only for its own differences. */
:root {
  --bg: #fbf8f3; --line: #e6dccd; --radius: 16px; --gap: 1rem;
  --head-bg: #fbf8f3; --head-ink: #2a2420; --nav-bg: #fbf8f3; --nav-ink: #2a2420;
  --foot-bg: #2a2420; --foot-ink: #fbf8f3;
}
body[data-theme="dokuma"] { 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 #7a5c3e; outline-offset: 3px; }
.site-foot :focus-visible { outline-color: #fbf8f3; }
body[data-theme="dokuma"] .brand { font-family: var(--id-font-head); color: #2a2420;  }
body[data-theme="dokuma"] .sector-hero { border-radius: 16px; }
.home-cats h2, .home-products h2, .rail h2 { margin-top: 2rem; font-size: 1.4rem; font-weight: 400; font-size: 1.6rem; }
body[data-theme="dokuma"] main ul.grid { grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 1.25rem 1rem; }
body[data-theme="dokuma"] main ul.grid > .card { gap: .45rem; text-align: left; padding: 0; }
body[data-theme="dokuma"] .card-media { aspect-ratio: 4 / 5; background: #f1e9dd; }
.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="dokuma"] .gallery, body[data-theme="dokuma"] .buybox { position: static; }
body[data-theme="dokuma"] .buybox { border: 0; border-radius: 16px; background: #f1e9dd; box-shadow: none; }
body[data-theme="dokuma"] .gallery-stage { border-radius: 16px; background: #f1e9dd; }
body[data-theme="dokuma"] .buy-price { color: #2a2420; }
