/* Kiaat (2026-10-29). A mahogany and warm timber workshop look over the
   platform storefront (body.sf.kt). Not only colours and fonts: square,
   solid corners everywhere, a spec-strip of selling points between rules,
   collection photos with their names written underneath like labels in a
   workshop, a dark mahogany story band with a framed photo, roman-numbered
   making steps, reviews as quotes on an oak rule, a ruled spec-sheet product
   page and a commission form in a framed panel. Everything stays the
   platform's own markup, so the editor, owner colours, logo, menus and later
   platform fixes keep working. */

body.kt {
  --bg: var(--kt-linen); --paper: #fbf7f0;
  --soft: color-mix(in srgb, var(--ink) 68%, var(--kt-linen));
  --line: color-mix(in srgb, var(--ink) 14%, var(--kt-linen));
  --line-strong: color-mix(in srgb, var(--ink) 30%, var(--kt-linen));
  --tint: color-mix(in srgb, var(--accent) 12%, var(--kt-linen));
  --r-card: 4px; --r-btn: 4px;
  --kt-caps: .74rem;
  background: var(--kt-linen); color: var(--ink);
}
body.kt h1, body.kt h2, body.kt h3 { font-family: var(--display); font-weight: 400; letter-spacing: -.01em; }
body.kt .sfb-sec { padding-top: clamp(3rem, 7vw, 5.5rem); padding-bottom: clamp(3rem, 7vw, 5.5rem); }
body.kt .sfb-in { max-width: 1200px; }

/* ── bar and header ───────────────────────────────────────────────────── */
body.kt .sfb-bar { font-family: var(--mono); font-size: .74rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; padding: .6rem 1rem; }
body.kt .shoptop, body.kt .shophead { background: var(--kt-linen); }
body.kt .shophead { border-bottom: 1px solid var(--line-strong); box-shadow: 0 3px 0 -2px var(--line); }
body.kt .shopbrand__mark { background: var(--kt-wood); color: var(--kt-linen); border-radius: 3px; font-family: var(--display); }
body.kt .shopbrand__name { font-family: var(--display); font-size: 1.35rem; letter-spacing: -.01em; }
body.kt .shopnav__link { font-size: var(--kt-caps); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); border-radius: 3px; }
body.kt .shopnav__link:hover { color: var(--ink); background: var(--tint); }
body.kt .shopnav__link.is-on, body.kt .shopnav__link[aria-current] { color: var(--ink); }
body.kt .shopnav__link.is-on::after { height: 2px; background: var(--accent); }
body.kt .headsearch { background: var(--paper); border-color: var(--line-strong); border-radius: 3px; }
body.kt .cartlink { border-radius: 3px; border-color: var(--line-strong); }
body.kt .cartlink__count { background: var(--accent); color: #fff; }

/* ── headings: a mono label line, then the serif ──────────────────────── */
body.kt .sfb-h, body.kt .shelf__title h2, body.kt .shelf__head h2 {
  font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.05; margin-bottom: clamp(1.4rem, 3vw, 2.4rem); }
body.kt .sfb-h::before { content: ""; display: block; width: 36px; height: 3px; margin-bottom: 1rem; background: var(--accent); }
body.kt .sfb-center .sfb-h::before { margin-left: auto; margin-right: auto; }
body.kt .sfb-btn, body.kt button.sfb-btn, body.kt .buybtn {
  background: var(--btn-bg, var(--kt-wood)); color: #fff; border-radius: 3px; font-family: var(--body); font-weight: 600; font-size: .82rem;
  letter-spacing: .12em; text-transform: uppercase; min-height: 52px; padding: 0 1.8rem; box-shadow: none; transition: background .2s ease; }
body.kt .sfb-btn:hover, body.kt .buybtn:hover { background: var(--accent-dark); color: #fff; }
body.kt .buybtn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
body.kt .buybtn--ghost:hover { background: var(--ink); color: var(--kt-linen); }
body.kt .sfb-btn:focus-visible, body.kt .buybtn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
body.kt .sfb-more { color: var(--accent-text); font-weight: 600; }

/* ── banner: words on the left, big serif ─────────────────────────────── */
body.kt .sfb-hero .sfb-in { max-width: 1200px; }
body.kt .sfb-hero h2 { font-size: clamp(2.8rem, 7vw, 5.6rem); line-height: .98; max-width: 12ch; letter-spacing: -.02em; }
body.kt .sfb-hero p { font-size: clamp(1.05rem, 1.6vw, 1.22rem); max-width: 44ch; }
body.kt .sfb-hero.sfb-img::before { background: linear-gradient(90deg, rgba(30, 16, 10, calc(var(--sfb-ov, .45) + .25)), rgba(30, 16, 10, calc(var(--sfb-ov, .45) - .2)) 75%); }
body.kt .sfb-img .sfb-btn { background: var(--accent); color: #fff; }
body.kt .sfb-img .sfb-btn:hover { background: #fff; color: var(--ink); }
body.kt .sfb-img .sfb-btn--2 { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .8); }

/* ── selling points: a spec strip between rules ───────────────────────── */
body.kt .sfb-sec:has(> .sfb-in > .sfb-feat--points) { padding-top: 0; padding-bottom: 0; background: var(--paper); border-bottom: 1px solid var(--line-strong); }
body.kt .sfb-feat--points { gap: 0; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
body.kt .sfb-feat--points > div { display: grid; grid-template-columns: 28px 1fr; column-gap: .9rem; align-items: start; padding: 1.6rem 1.4rem; border-left: 1px solid var(--line); }
body.kt .sfb-feat--points > div:first-child { border-left: 0; }
body.kt .sfb-feat--points .sfb-ico { grid-row: span 2; width: 26px; height: 26px; margin: 0; color: var(--accent); }
body.kt .sfb-feat--points strong { display: block; font-family: var(--mono); font-size: .76rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
body.kt .sfb-feat--points p { margin-top: .3rem; font-size: .92rem; color: var(--soft); opacity: 1; }

/* ── collections: the photo, then its name underneath like a label ────── */
body.kt .sfb-tiles { gap: clamp(1rem, 2.4vw, 2rem); }
body.kt .sfb-tile, body.kt .sfb-tiles--wide .sfb-tile { aspect-ratio: auto; background: none; color: var(--ink); overflow: visible; border-radius: 0; display: flex; flex-direction: column; }
body.kt .sfb-tile.sfb-has-img { color: var(--ink); }
body.kt .sfb-tile.sfb-has-img::after { display: none; }
body.kt .sfb-tile img { position: static; aspect-ratio: 4 / 5; border-radius: 3px; height: auto; }
body.kt .sfb-tile:not(.sfb-has-img)::before { content: ""; display: block; aspect-ratio: 4 / 5; border-radius: 3px; background: var(--tint); }
body.kt .sfb-tile span { position: static; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .9rem 0 .7rem; border-bottom: 1px solid var(--line-strong);
  font-family: var(--display); font-weight: 400; font-size: clamp(1.2rem, 2vw, 1.5rem); }
body.kt .sfb-tile span::after { content: "\2192"; font-family: var(--body); font-size: 1rem; color: var(--accent); transition: transform .25s ease; }
body.kt .sfb-tile:hover span::after { transform: translateX(4px); }
body.kt .sfb-tile:hover img { transform: none; filter: saturate(1.08) contrast(1.03); }

/* ── product cards: square photos, serif names, mono prices ───────────── */
body.kt .sfb-card img, body.kt .card__imgwrap { border-radius: 3px; background: var(--tint); }
body.kt .sfb-card span { font-family: var(--display); font-weight: 400; font-size: 1.12rem; margin-top: .8rem; }
body.kt .sfb-card small { font-family: var(--mono); font-size: .86rem; opacity: 1; color: var(--soft); }
body.kt .card { background: transparent; box-shadow: none; padding: 0; gap: 0; }
body.kt .card__imgwrap { overflow: hidden; }
body.kt .card__body { padding: .85rem 0 0; margin-top: .85rem; border-top: 1px solid var(--line-strong); }
body.kt .card__body h2 { font-family: var(--display); font-weight: 400; font-size: 1.15rem; letter-spacing: 0; }
body.kt .card__price { font-family: var(--mono); font-weight: 500; font-size: .9rem; color: var(--ink); }
body.kt .card__price--sale { color: var(--accent-text); }
body.kt .wasprice { font-family: var(--mono); color: var(--soft); }
body.kt .salebadge, body.kt .sfb-sale { background: var(--kt-wood); color: var(--kt-linen); border-radius: 2px; font-family: var(--mono); font-weight: 500; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; padding: .3rem .55rem; }
body.kt .card__stars, body.kt .sfb-stars, body.kt .stars { color: var(--accent); }
body.kt .chip { border-radius: 3px; font-size: .78rem; letter-spacing: .06em; }
body.kt .chip--on { background: var(--kt-wood); color: var(--kt-linen); border-color: var(--kt-wood); }

/* ── story: a dark mahogany band, the photo in a frame ────────────────── */
body.kt .sfb-sec:has(> .sfb-in.sfb-it) { background: var(--kt-wood); color: var(--kt-linen); }
body.kt .sfb-it { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 7vw, 6rem); }
body.kt .sfb-it.sfb-right { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
body.kt .sfb-it img { aspect-ratio: 4 / 5; border-radius: 2px; outline: 1px solid color-mix(in srgb, var(--kt-linen) 45%, transparent); outline-offset: 12px; margin: 12px; width: calc(100% - 24px); }
body.kt .sfb-it .sfb-h { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
body.kt .sfb-it p { font-size: 1.1rem; line-height: 1.75; color: color-mix(in srgb, var(--kt-linen) 82%, var(--kt-wood)); max-width: 44ch; }
body.kt .sfb-it .sfb-btn { background: var(--accent); margin-top: .6rem; }
body.kt .sfb-it .sfb-btn:hover { background: var(--kt-linen); color: var(--ink); }

/* ── making steps: roman numerals on a heavy rule ─────────────────────── */
body.kt .sfb-cols { counter-reset: kt-step; gap: 0 clamp(1.2rem, 3vw, 2.4rem); }
body.kt .sfb-col { padding-top: 1.2rem; border-top: 3px solid var(--ink); }
body.kt .sfb-col::before { counter-increment: kt-step; content: counter(kt-step, upper-roman); display: block; margin-bottom: 1.2rem; font: 400 clamp(2.6rem, 5vw, 3.6rem)/1 var(--display); color: var(--accent); }
body.kt .sfb-col h3 { font-size: 1.5rem; margin-bottom: .5rem; }
body.kt .sfb-col p { color: var(--soft); opacity: 1; font-size: 1rem; }
body.kt .sfb-col img { border-radius: 3px; }

/* ── reviews: quotes on an oak rule ───────────────────────────────────── */
body.kt .sfb-feat--quotes { gap: clamp(1.4rem, 3vw, 3rem); }
body.kt .sfb-quote { background: transparent; border-radius: 0; padding: .2rem 0 .2rem 1.4rem; border-left: 3px solid var(--accent); }
body.kt .sfb-quote blockquote { font-family: var(--display); font-size: clamp(1.15rem, 1.8vw, 1.35rem); line-height: 1.45; }
body.kt .sfb-quote figcaption { font-family: var(--mono); font-size: .76rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
body.kt .sfb-quote figcaption small { font-family: var(--body); letter-spacing: 0; text-transform: none; color: var(--soft); opacity: 1; font-size: .88rem; margin-top: .2rem; }

/* ── questions: ruled rows ────────────────────────────────────────────── */
body.kt .sfb-faqs { border-top: 1px solid var(--line-strong); }
body.kt .sfb-faq { border-bottom: 1px solid var(--line-strong); }
body.kt .sfb-faq summary { list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; font-family: var(--display); font-weight: 400; font-size: 1.2rem; padding: 1.2rem 0; }
body.kt .sfb-faq summary::-webkit-details-marker { display: none; }
body.kt .sfb-faq summary::after { content: "+"; flex: none; font: 400 1.5rem/1 var(--mono); color: var(--accent); transition: transform .2s ease; }
body.kt .sfb-faq[open] summary::after { transform: rotate(45deg); }
body.kt .sfb-faq p { color: var(--soft); max-width: 70ch; }

/* ── commission form: a framed panel ──────────────────────────────────── */
body.kt .sfb-contact .sfb-in { max-width: 760px; padding: clamp(1.6rem, 4vw, 3rem); background: var(--paper); border: 1px solid var(--line-strong); box-shadow: 8px 8px 0 var(--tint); }
body.kt .sfb-form input, body.kt .sfb-form textarea { border-radius: 3px; border-color: var(--line-strong); background: #fff; }
body.kt .sfb-stack label { font-family: var(--mono); font-size: .74rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
body.kt .sfb-news input[type=email] { border-radius: 3px; min-height: 52px; }

/* ── shop pages ───────────────────────────────────────────────────────── */
body.kt .shelf__title h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.02; }
body.kt .shelf__count { font-family: var(--mono); font-size: .78rem; letter-spacing: .06em; }
body.kt .pcrumb { font-family: var(--mono); font-size: .74rem; letter-spacing: .06em; }

/* ── product page: a ruled spec sheet ─────────────────────────────────── */
body.kt .gallery__main { border-radius: 3px; background: var(--tint); }
body.kt .thumbs__item { border-radius: 2px; }
body.kt .thumbs__item--on { box-shadow: 0 0 0 2px var(--kt-wood); }
body.kt .backlink { font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }
body.kt .pb--title h1, body.kt .productpage__info .pb--title.pb-size-large h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2.3rem, 4.2vw, 3.4rem); line-height: 1.02; }
body.kt .pb--price { padding-bottom: 1.2rem; border-bottom: 1px solid var(--line-strong); }
body.kt .pb--price .pricetag--big { font-family: var(--mono); font-weight: 500; font-size: 1.3rem; }
body.kt .pb--price .wasprice { font-family: var(--mono); }
body.kt .pb--price .savebadge { background: var(--kt-wood); color: var(--kt-linen); border-radius: 2px; font-family: var(--mono); font-weight: 500; font-size: .72rem; }
body.kt .productpage__desc { font-size: 1.04rem; line-height: 1.75; }
body.kt .variantpick--chips legend, body.kt .optiongroup legend, body.kt .addform .qtyfield .field__label { font: 500 .72rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }
body.kt .optionchip, body.kt .addform .variantpick--chips .variantpick__opt { border-radius: 3px; min-height: 46px; padding: .5rem 1.1rem; border: 1px solid var(--line-strong); background: var(--paper); box-shadow: none; font-family: var(--mono); font-size: .86rem; }
body.kt .optionchip--on, body.kt .variantpick--chips .variantpick__opt:has(input:checked) { border-color: var(--kt-wood); box-shadow: inset 0 0 0 1px var(--kt-wood); background: #fff; }
body.kt .stepper { border-radius: 3px; background: var(--paper); }
body.kt .pb--accordion { margin-top: 1.4rem; border-top: 2px solid var(--ink); }
body.kt .pb-acc { border-bottom-color: var(--line-strong); }
body.kt .pb-acc__t { font: 500 .78rem var(--mono); letter-spacing: .12em; text-transform: uppercase; padding: 1.05rem 0; }
body.kt .pb-acc__b { font-size: 1rem; line-height: 1.7; color: var(--soft); }
body.kt .trustrow { border-radius: 3px; background: var(--paper); }
body.kt .trustrow li::before { color: var(--accent); }
body.kt .reviews__stars { color: var(--accent); }
body.kt .pb__h { font-family: var(--display); font-weight: 400; }

/* ── footer: mahogany ─────────────────────────────────────────────────── */
body.kt .shopfoot { background: var(--kt-wood); color: color-mix(in srgb, var(--kt-linen) 80%, var(--kt-wood)); border-top: 0; }
body.kt .shopfoot a { color: inherit; }
body.kt .shopfoot__name { font-family: var(--display); font-size: 1.8rem; color: var(--kt-linen); }

/* ── phones ───────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  body.kt .sfb-hero h2 { font-size: clamp(2.5rem, 11vw, 3.2rem); }
  body.kt .sfb-feat--points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.kt .sfb-feat--points > div { grid-template-columns: 1fr; padding: 1.2rem .9rem; border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
  body.kt .sfb-feat--points > div:nth-child(odd) { border-left: 0; }
  body.kt .sfb-feat--points > div:nth-child(-n+2) { border-top: 0; }
  body.kt .sfb-feat--points .sfb-ico { grid-row: auto; margin-bottom: .6rem; }
  body.kt .sfb-feat--points strong { font-size: .7rem; }
  body.kt .sfb-feat--points p { font-size: .86rem; }
  body.kt .sfb-tiles { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 1.25rem; scrollbar-width: none; margin: 0 -1.25rem; padding: 0 1.25rem .4rem; }
  body.kt .sfb-tiles::-webkit-scrollbar { display: none; }
  body.kt .sfb-tile { flex: 0 0 70%; scroll-snap-align: start; }
  body.kt .sfb-it, body.kt .sfb-it.sfb-right { grid-template-columns: 1fr; }
  body.kt .sfb-it.sfb-right > * { order: 0 !important; }
  body.kt .sfb-it img { aspect-ratio: 1; }
  body.kt .sfb-cols { gap: 2rem; }
  body.kt .sfb-col:not(:has(img)) { display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; }
  body.kt .sfb-col::before { grid-row: span 2; margin: 0; font-size: 2.4rem; min-width: 2.2ch; }
  body.kt .sfb-col h3 { margin-top: .2rem; }
  body.kt .sfb-col > img, body.kt .sfb-col > a { grid-column: 1 / -1; }
  body.kt .sfb-contact .sfb-in { box-shadow: 5px 5px 0 var(--tint); }
}
