/* Kiln search dropdown (t95u). Inter, clay + sand, motion tokens; open/close via @starting-style + allow-discrete. */
html body.kiln .siana-hsearch[data-ksd] { position: relative; }
.ksd-panel { box-sizing: border-box; font-family: var(--k-font, Inter, system-ui, sans-serif); color: var(--k-ink, #1f1c19); }
.ksd-panel--dd {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 99990;
  width: min(460px, calc(100vw - 32px)); max-height: min(72vh, 620px); overflow: auto; overscroll-behavior: contain;
  background: var(--k-paper, #fffdf9); border: 1px solid var(--k-line, #e6dfd3); border-radius: 12px;
  box-shadow: 0 1px 2px rgba(31, 28, 25, .06), 0 18px 40px -16px rgba(31, 28, 25, .22);
  padding: 14px 14px 10px;
  display: none; opacity: 0; translate: 0 -6px;
  transition: opacity var(--k-t-2, .2s) var(--k-ease, ease), translate var(--k-t-2, .2s) var(--k-ease, ease), display var(--k-t-2, .2s) allow-discrete, overlay var(--k-t-2, .2s) allow-discrete;
}
.ksd-panel--dd.is-open { display: block; opacity: 1; translate: 0 0; }
@starting-style { .ksd-panel--dd.is-open { opacity: 0; translate: 0 -6px; } }

.ksd-filters { display: grid; gap: 4px; padding-bottom: 10px; border-bottom: 1px solid var(--k-line, #e6dfd3); }
.ksd-flabel--sub { padding-top: 6px; letter-spacing: .06em; }
.ksd-frow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ksd-flabel { flex: 0 0 100%; font: 600 11px/1 var(--k-font, Inter, sans-serif); letter-spacing: .08em; text-transform: uppercase; color: #6b6259; padding: 10px 8px 6px; }
html body.kiln .ksd-chip {
  min-height: 32px; padding: 0 12px !important; border-radius: 999px !important; border: 1px solid transparent !important;
  position: static !important; transform: none !important; width: auto !important; height: auto !important; margin: 0 !important;
  background: var(--k-sand, #efe7da) !important; color: var(--k-ink, #1f1c19) !important; font: 500 13.5px/1 var(--k-font, Inter, sans-serif) !important; text-decoration: none !important;
  letter-spacing: 0 !important; text-transform: none !important; box-shadow: none !important; cursor: pointer;
  transition: background-color var(--k-t-1, .15s) var(--k-ease, ease), border-color var(--k-t-1, .15s) var(--k-ease, ease), color var(--k-t-1, .15s) var(--k-ease, ease);
}
html body.kiln .ksd-chip:hover { border-color: #a33b2b !important; }
html body.kiln .ksd-chip[aria-pressed="true"] { background: #a33b2b !important; border-color: #a33b2b !important; color: #fff !important; }

.ksd-list { padding: 6px 0 2px; }
.ksd-group + .ksd-group { margin-top: 6px; }
.ksd-gh { font: 600 11px/1 var(--k-font, Inter, sans-serif); letter-spacing: .08em; text-transform: uppercase; color: #6b6259; padding: 10px 8px 6px; }
.ksd-list--idle .ksd-group { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 0 4px; }
.ksd-list--idle .ksd-gh { flex: 0 0 100%; }
.ksd-opt { cursor: pointer; border-radius: 8px; transition: background-color var(--k-t-1, .15s) var(--k-ease, ease); }
.ksd-opt--term { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; background: var(--k-sand, #efe7da); font: 500 13.5px/1 var(--k-font, Inter, sans-serif); border-radius: 999px; }
.ksd-opt--term.is-active { background: #e7d6c8; box-shadow: inset 0 0 0 2px #a33b2b; }
.ksd-opt--product { padding: 6px 8px; }
.ksd-opt--product.is-active { background: var(--k-sand, #efe7da); }
.ksd-prod { display: flex; align-items: center; gap: 12px; }
.ksd-thumb { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 6px; background: var(--k-sand, #efe7da); overflow: hidden; display: grid; place-items: center; }
.ksd-thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.ksd-txt { display: grid; gap: 3px; min-width: 0; }
.ksd-name { font: 500 14.5px/1.25 var(--k-font, Inter, sans-serif); color: var(--k-ink, #1f1c19); }
.ksd-meta { display: flex; align-items: center; gap: 8px; font-size: 12.5px; }
.ksd-price { color: #a33b2b; font-weight: 600; font-variant-numeric: tabular-nums; }
.ksd-badge { padding: 2px 8px; border-radius: 999px; background: var(--k-sand, #efe7da); color: #5d554c; font-weight: 500; }
.ksd-badge.is-in { color: #2f5a3a; background: #e3ecdf; }
.ksd-none { padding: 12px 8px; color: #5d554c; font-size: 14px; }

.ksd-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0 2px; margin-top: 10px; border-top: 1px solid var(--k-line, #e6dfd3); position: static; clear: both; }
html body.kiln .ksd-foot > button { position: static !important; transform: none !important; top: auto !important; right: auto !important; width: auto !important; height: auto !important; pointer-events: auto !important; }
html body.kiln .ksd-clear { margin-right: auto; min-height: 36px; background: none !important; border: 0 !important; padding: 0 4px !important; color: #5d554c !important; font: 500 13px/1 var(--k-font, Inter, sans-serif) !important; text-decoration: underline; text-underline-offset: 3px; box-shadow: none !important; cursor: pointer; }
html body.kiln .ksd-clear[hidden] { display: none !important; }
html body.kiln .ksd-apply { margin-left: auto; min-height: 40px; padding: 0 20px !important; text-decoration: none !important; white-space: nowrap; border-radius: 999px !important; border: 0 !important; background: #a33b2b !important; color: #fff !important; font: 600 13px/1 var(--k-font, Inter, sans-serif) !important; letter-spacing: 0 !important; text-transform: none !important; box-shadow: none !important; cursor: pointer; transition: background-color var(--k-t-1, .15s) var(--k-ease, ease); }
html body.kiln .ksd-apply:hover { background: #8a3123 !important; }

/* phones: the search dialog becomes a full-width top sheet with the same panel */
.ksd-panel--sheet { max-width: 980px; margin: 14px auto 0; }
@media (max-width: 899px) {
  dialog.kiln-search .kiln-search-inner { padding: 12px 16px 20px; border-radius: 0 0 16px 16px; max-height: 100dvh; overflow: auto; }
  .ksd-panel--sheet .ksd-flabel { min-width: 0; flex: 0 0 100%; }
  .ksd-panel--sheet .ksd-chip, .ksd-panel--sheet .ksd-opt--term { min-height: 40px; }
  .ksd-panel--sheet .ksd-thumb { flex-basis: 56px; width: 56px; height: 56px; }
  .ksd-panel--sheet .ksd-foot { position: sticky; bottom: -20px; background: var(--k-parch, #f7f4ee); padding-bottom: 12px; }
}

/* search results: catalogue grid + a plain pages list */
.kiln-sres-wrap { max-width: var(--page-max, 1180px); margin: 0 auto; }
.kiln-sres-none { color: #5d554c; font-size: 16px; margin: 8px 0 32px; }
.kiln-sres-pages { margin: 40px 0 24px; padding-top: 20px; border-top: 1px solid var(--k-line, #e6dfd3); }
.kiln-sres-pages h2 { font: 600 13px/1 var(--k-font, Inter, sans-serif) !important; letter-spacing: .08em !important; text-transform: uppercase; color: #5d554c; margin: 0 0 12px !important; }
.kiln-sres-pages ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.kiln-sres-pages a { display: inline-flex; min-height: 40px; align-items: center; color: var(--k-ink, #1f1c19) !important; font: 500 15.5px/1.3 var(--k-font, Inter, sans-serif); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: text-decoration-color var(--k-t-1, .15s) var(--k-ease, ease); }
.kiln-sres-pages a:hover { text-decoration-color: currentColor; color: #a33b2b !important; }
/* footer row stays visible at the bottom of the panel when the list grows (the panel scrolls above it) */
.ksd-panel--dd .ksd-foot { position: sticky !important; bottom: -10px; z-index: 2; background: var(--k-paper, #fffdf9); padding-bottom: 10px; margin-bottom: -10px; }

/* t111u: touch screens — 16px fields (no iOS focus zoom), the phone search sheet panel stays tappable */
@media (pointer: coarse) {
  html body.kiln .siana-hsearch input[type="search"] { font-size: 16px !important; }
  html body.kiln .ksd-chip, .ksd-opt, html body.kiln .ksd-apply { touch-action: manipulation; }
}
/* the phone sheet field: keep the text off the focus ring */
@media (max-width: 899px) { html body.kiln .kiln-search-form input[type="search"] { padding: 10px 12px !important; border-radius: 10px !important; } }
/* search results on phones/tablets: the results list and the count/sort row had no side gutter (h1 has 16px) */
@media (max-width: 1139px) {
  html body.kiln.search main > .kiln-sres-wrap,
  html body.kiln.search main > .wp-block-group.alignwide { box-sizing: border-box; padding-left: max(16px, env(safe-area-inset-left)) !important; padding-right: max(16px, env(safe-area-inset-right)) !important; }
}
