/* Faindz Suche. Header, footer and fonts from magazin.css, grid from shop.css */

/* ── Hero: headline, search bar, live example underneath ── */
.fs-hero { padding: 64px 0 56px; text-align: center; overflow: hidden; }
.fs-hero h1 { margin: 0 0 28px; font-family: 'Fraunces', Georgia, serif; font-weight: 300; font-size: clamp(44px, 6.4vw, 84px); line-height: 1; letter-spacing: -0.03em; }
.fs-hero h1 em { font-style: italic; }

.fs-box { max-width: 700px; margin: 0 auto; text-align: left; position: relative; z-index: 2; }
.fs-drop { display: block; background: #fff; border-radius: 999px; border: 1px solid rgba(0,0,0,.08); box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 14px 40px rgba(0,0,0,.09); transition: border-color .2s ease, box-shadow .2s ease; }
.fs-drop:focus-within { border-color: rgba(0,0,0,.25); }
.fs-drop.is-over { border-color: #e91e63; background: #fff7fa; }
.fs-row { display: flex; align-items: center; gap: 4px; padding: 6px 6px 6px 24px; }
.fs-input { flex: 1 1 auto; min-width: 0; border: 0; outline: 0; background: transparent; font: 400 18px/1.4 'Inter', system-ui, sans-serif; color: #1a1a1a; padding: 14px 0; }
.fs-input::placeholder { color: #8a7f74; opacity: 1; }
.fs-input.is-typing::placeholder { color: #1a1a1a; }
.fs-cam { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%; border: 0; background: transparent; color: #1a1a1a; display: grid; place-items: center; cursor: pointer; }
.fs-cam:hover { background: #f4efe8; }
.fs-go { flex: 0 0 auto; height: 50px; padding: 0 26px; border-radius: 999px; border: 0; background: #e91e63; color: #fff; font: 600 15px/1 'Inter', sans-serif; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.fs-go:disabled { opacity: .6; cursor: default; }
.fs-go-i { display: none; }
.fs-thumb { position: relative; flex: 0 0 auto; width: 44px; height: 44px; margin-right: 10px; }
.fs-thumb img { width: 44px; height: 44px; object-fit: cover; border-radius: 10px; display: block; }
.fs-thumb-x { position: absolute; top: -7px; right: -7px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: #1a1a1a; color: #fff; font-size: 15px; line-height: 22px; padding: 0; cursor: pointer; }

/* Live example: the products for the query being typed above */
.fs-demo { max-width: 1100px; margin: 34px auto 0; min-height: 260px; }
.fs-demo-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; text-align: left; }
.fs-dcard { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: #1a1a1a; opacity: 0; transform: translateY(10px); transition: opacity .9s ease, transform 1s cubic-bezier(.2,.7,.2,1); }
.fs-dcard.in { opacity: 1; transform: none; }
.fs-dcard.out { opacity: 0; transform: none; transition: opacity .5s ease; }
.fs-dcard .im { aspect-ratio: 1 / 1; background: #fff; border-radius: 14px; display: grid; place-items: center; overflow: hidden; }
.fs-dcard .im img { width: 100%; height: 100%; object-fit: cover; }
.fs-dcard b { font: 600 15px/1.2 'Inter', sans-serif; margin-top: 6px; }
.fs-dcard b s { font-weight: 400; color: #999; font-size: 12px; margin-left: 5px; }
.fs-dcard span { font-size: 12px; color: #8a7f74; }
.fs-demo-grid .fs-dcard:nth-child(n+6) { display: none; }

/* ── Results ── */
.fs-results { border-top: 1px solid rgba(0,0,0,.08); }
.fs-status { padding: 28px 0 0; }
.fs-status:empty { display: none; }
.fs-loading { display: flex; align-items: center; gap: 14px; font-size: 16px; color: #555; padding-bottom: 28px; }
.fs-spin { width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid #f3d3e1; border-top-color: #e91e63; animation: fsSpin .8s linear infinite; }
@keyframes fsSpin { to { transform: rotate(360deg); } }
.fs-msg { font-size: 16px; line-height: 1.6; color: #444; max-width: 640px; padding-bottom: 20px; }
.fs-msg strong { color: #1a1a1a; }
.fs-source { display: flex; align-items: center; gap: 14px; padding-bottom: 8px; font-size: 14px; color: #666; }
.fs-source img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; background: #f4efe8; }
.ps-item .img { position: relative; border-radius: 14px; }
.ps-item .m { margin-top: 2px; }
.fs-shop { font-size: 13px; color: #8a7f74; }
.fs-badge { position: absolute; top: 10px; left: 10px; background: #1a1a1a; color: #fff; font: 600 11px/1 'Inter', sans-serif; letter-spacing: .06em; text-transform: uppercase; padding: 6px 9px; border-radius: 999px; }
.fs-badge.top { background: #e91e63; }

/* Quiet hint to the room designer */
.fs-try { border-top: 1px solid rgba(0,0,0,.08); }
.fs-try p { margin: 0; padding: 36px 0 44px; text-align: center; font-family: 'Fraunces', Georgia, serif; font-size: 20px; color: #444; }
.fs-try a { margin-left: 6px; font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 600; color: #c2185b; text-decoration: none; white-space: nowrap; }
.fs-try a:hover { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 960px) {
  .fs-demo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .fs-demo-grid .fs-dcard:nth-child(n+5) { display: none; }
}
@media (max-width: 720px) {
  .mz-controls .mz-link[href="/magazin/"] { display: none; }
  .fs-hero { padding: 40px 0 40px; }
  .fs-hero h1 { font-size: 38px; margin-bottom: 24px; }
  .fs-row { padding: 5px 5px 5px 18px; gap: 2px; }
  .fs-input { font-size: 16px; padding: 12px 0; }
  .fs-cam { width: 44px; height: 44px; }
  .fs-go { width: 46px; height: 46px; padding: 0; }
  .fs-go-t { display: none; }
  .fs-go-i { display: block; }
  .fs-thumb, .fs-thumb img { width: 38px; height: 38px; }
  .fs-demo { margin: 28px -20px 0; min-height: 250px; }
  .fs-demo-grid { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 20px; padding: 0 20px 6px; scrollbar-width: none; }
  .fs-demo-grid::-webkit-scrollbar { display: none; }
  .fs-demo-grid .fs-dcard, .fs-demo-grid .fs-dcard:nth-child(n+5), .fs-demo-grid .fs-dcard:nth-child(n+6) { display: flex; flex: 0 0 46%; scroll-snap-align: start; }
  .fs-demo-grid::after { content: ""; flex: 0 0 6px; }
  .fs-dcard b { font-size: 14px; }
  .fs-status { padding-top: 20px; }
  .fs-results .ps-list-head { padding: 18px 0; gap: 10px; }
  .fs-results .ps-list-head h2 { font-size: 24px; line-height: 1.2; }
  .fs-results .ps-list-head h2 small { display: block; margin: 4px 0 0; font-size: 13px; }
  .fs-results .ps-filter { gap: 0 18px; }
  .fs-results .ps-filter button { min-height: 36px; font-size: 14px; }
  .fs-results .ps-grid { gap: 22px 12px; }
  .ps-item .t { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .fs-shop { font-size: 12px; }
  .fs-badge { top: 8px; left: 8px; font-size: 10px; padding: 5px 7px; }
  .fs-msg { font-size: 15px; }
  .fs-try p { font-size: 18px; padding: 28px 0 36px; }
  .fs-try a { display: inline-block; margin: 8px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  .fs-dcard { transition: none; transform: none; }
}

/* The three ways in, quietly under the bar */
.fs-ways { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 22px; margin-top: 14px; font: 500 13px/1 'Inter', sans-serif; color: #8a7f74; }
.fs-ways span { display: inline-flex; align-items: center; gap: 7px; }
.fs-ways svg { color: #c2185b; }
@media (max-width: 720px) { .fs-ways { gap: 6px 14px; font-size: 12px; margin-top: 12px; } .fs-ways svg { width: 13px; height: 13px; } }
.fs-ways i { font-style: normal; }
@media (max-width: 720px) { .fs-ways i { display: none; } .fs-ways { gap: 6px 20px; } }

/* Phones: the swipe row stops at its ends (no rubber band), the page never moves sideways */
html, body { overflow-x: clip; }
.fs-demo-grid { overscroll-behavior-x: none; -webkit-overflow-scrolling: touch; }
@media (max-width: 720px) { .fs-demo-grid { scroll-snap-type: x proximity; } }

/* hidden means hidden, even where a layout rule sets display */
.fs-results[hidden], .fs-results [hidden] { display: none !important; }
