/* WonderFil Shop hub. Neutral: inherits the theme's fonts and link colours where it can. */
.wtqh {
  --wtqh-accent: #ff6b00;
  --wtqh-ink: #1f1f1f;
  --wtqh-muted: #5f5f5f;
  --wtqh-line: #e6e3df;
  --wtqh-surface: #f6f5f3;
  --wtqh-soft: color-mix(in srgb, var(--wtqh-accent) 8%, #ffffff);
  --wtqh-text: color-mix(in srgb, var(--wtqh-accent) 72%, #000000);
  font-family: var(--wtqh-font, inherit);
  color: var(--wtqh-ink);
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin: 8px 0 48px;
  width: 100%;
  clear: both;
}
.wtqh *, .wtqh *::before, .wtqh *::after { box-sizing: border-box; }
.wtqh a { text-decoration: none; color: inherit; }
.wtqh img { display: block; max-width: 100%; }
.wtqh h2 { margin: 0; font-size: clamp(20px, 2.4vw, 26px); line-height: 1.2; font-weight: 800; color: var(--wtqh-ink); }
.wtqh ul { list-style: none; margin: 0; padding: 0; }
.wtqh svg { flex: none; }
.wtqh-head { display: flex; flex-direction: column; gap: 4px; margin-bottom: 16px; }
.wtqh-head p { margin: 0; color: var(--wtqh-muted); font-size: 15px; }

/* Search */
.wtqh-hero { display: flex; flex-direction: column; gap: 14px; }
.wtqh-intro { margin: 0; font-size: 17px; color: var(--wtqh-muted); }
.wtqh-hero-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }
.wtqh-search { flex: 2 1 340px; display: flex; align-items: center; gap: 8px; margin: 0; padding: 4px 4px 4px 14px; border: 1.5px solid var(--wtqh-line); border-radius: 14px; background: #fff; }
.wtqh-search:focus-within { border-color: var(--wtqh-accent); box-shadow: 0 0 0 3px var(--wtqh-soft); }
.wtqh-search svg { color: var(--wtqh-muted); width: 20px; height: 20px; }
.wtqh .wtqh-search input[type=search] { flex: 1; min-width: 0; height: 44px; margin: 0; padding: 0 4px; border: 0; background: none; box-shadow: none; outline: 0; font: inherit; font-size: 16px; color: var(--wtqh-ink); }
.wtqh .wtqh-search button { height: 44px; margin: 0; padding: 0 18px; border: 0; border-radius: 10px; background: var(--wtqh-accent); color: #fff; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; }
.wtqh-ask { flex: 1 1 240px; display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-radius: 14px; background: var(--wtqh-soft); color: var(--wtqh-text) !important; font-size: 14.5px; line-height: 1.3; }
.wtqh-ask strong { display: block; color: var(--wtqh-ink); }
.wtqh-ask:hover { background: color-mix(in srgb, var(--wtqh-accent) 14%, #fff); }

/* Getting Started */
.wtqh-start { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 24px; align-items: center; padding: 24px; border-radius: 20px; background: linear-gradient(135deg, var(--wtqh-accent), color-mix(in srgb, var(--wtqh-accent) 78%, #c2185b)); color: #fff; }
.wtqh-start h2 { color: #fff; }
.wtqh-start p { margin: 6px 0 0; font-size: 15px; opacity: .95; }
.wtqh-eyebrow { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 6px; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.wtqh-eyebrow svg { width: 16px; height: 16px; }
.wtqh-start-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.wtqh .wtqh-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 12px; background: #fff; color: var(--wtqh-text); font-weight: 800; font-size: 15px; }
.wtqh .wtqh-btn:hover { box-shadow: 0 6px 16px rgba(0, 0, 0, .15); }
.wtqh .wtqh-btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .7); }
.wtqh-start-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.wtqh-start-list a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 8px; border-radius: 14px; background: #fff; color: var(--wtqh-ink); font-size: 13px; line-height: 1.25; }
.wtqh-start-list a:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0, 0, 0, .15); }
.wtqh-start-img { display: block; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--wtqh-surface); }
.wtqh-start-img img { width: 100%; height: 100%; object-fit: cover; }
.wtqh-start-name { font-weight: 700; }
.wtqh-start-price { color: var(--wtqh-muted); }

/* Projects */
.wtqh-projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.wtqh-project { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 10px 14px; border: 1px solid var(--wtqh-line); border-radius: 14px; background: #fff; font-weight: 700; font-size: 14.5px; line-height: 1.2; transition: border-color .12s, box-shadow .12s, transform .12s; }
.wtqh-project:hover { border-color: var(--wtqh-accent); box-shadow: 0 6px 16px rgba(24, 16, 8, .08); transform: translateY(-1px); }
.wtqh-project-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--wtqh-soft); color: var(--wtqh-text); flex: none; }
.wtqh-project-icon svg { width: 20px; height: 20px; }

/* Thread lines */
.wtqh-filters { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; padding: 14px; border-radius: 16px; background: var(--wtqh-surface); }
.wtqh-fgroup { display: flex; align-items: baseline; gap: 10px; }
.wtqh-flabel { flex: none; width: 82px; font-size: 13px; font-weight: 700; color: var(--wtqh-muted); }
.wtqh-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.wtqh .wtqh-chip { margin: 0; padding: 6px 12px; min-height: 34px; border: 1px solid var(--wtqh-line); border-radius: 999px; background: #fff; color: var(--wtqh-ink); font: inherit; font-size: 13.5px; font-weight: 600; line-height: 1.2; cursor: pointer; text-transform: none; letter-spacing: normal; }
.wtqh .wtqh-chip:hover { border-color: var(--wtqh-accent); background: #fff; color: var(--wtqh-ink); }
.wtqh .wtqh-chip[aria-pressed="true"] { border-color: var(--wtqh-accent); background: var(--wtqh-accent); color: #fff; }
.wtqh-fbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding-top: 10px; border-top: 1px solid var(--wtqh-line); }
.wtqh-count { font-size: 14px; font-weight: 700; }
.wtqh .wtqh-clear { margin: 0; padding: 4px 0; border: 0; background: none; color: var(--wtqh-text); font: inherit; font-size: 14px; font-weight: 600; text-decoration: underline; cursor: pointer; }
.wtqh .wtqh-clear[hidden] { display: none; }
.wtqh-sort { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 0 auto; font-size: 13.5px; color: var(--wtqh-muted); }
.wtqh .wtqh-sort select { width: auto; min-height: 36px; margin: 0; padding: 4px 28px 4px 10px; border: 1px solid var(--wtqh-line); border-radius: 10px; background-color: #fff; font: inherit; font-size: 14px; color: var(--wtqh-ink); }
.wtqh-lines { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.wtqh-line[hidden] { display: none; }
.wtqh-line a { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--wtqh-line); border-radius: 16px; overflow: hidden; background: #fff; transition: border-color .12s, box-shadow .12s, transform .12s; }
.wtqh-line a:hover { border-color: var(--wtqh-accent); box-shadow: 0 10px 24px rgba(24, 16, 8, .1); transform: translateY(-2px); }
.wtqh-line-img { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--wtqh-surface); }
.wtqh-line-img img { width: 100%; height: 100%; object-fit: cover; }
.wtqh-mono { display: grid; place-items: center; width: 100%; height: 100%; font-size: 40px; font-weight: 800; color: var(--wtqh-text); background: var(--wtqh-soft); }
.wtqh-wt { position: absolute; top: 10px; left: 10px; padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, .92); font-size: 12.5px; font-weight: 800; color: var(--wtqh-ink); }
.wtqh-line-body { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px 14px; flex: 1; }
.wtqh-line-name { font-size: 16px; font-weight: 800; line-height: 1.2; }
.wtqh-line-fibre { font-size: 13px; color: var(--wtqh-muted); }
.wtqh-line-use { font-size: 13.5px; line-height: 1.35; color: var(--wtqh-ink); margin-top: 2px; }
.wtqh-line-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 10px; margin-top: auto; padding-top: 8px; font-size: 13px; color: var(--wtqh-muted); }
.wtqh-from { font-weight: 700; color: var(--wtqh-ink); }
.wtqh-empty { margin: 8px 0 0; padding: 16px; border-radius: 12px; background: var(--wtqh-surface); text-align: center; color: var(--wtqh-muted); }
.wtqh-empty[hidden] { display: none; }

/* Categories */
.wtqh-quick { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.wtqh-quick a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 14px; border-radius: 999px; background: var(--wtqh-soft); color: var(--wtqh-text); font-weight: 700; font-size: 14px; }
.wtqh-quick a:hover { background: color-mix(in srgb, var(--wtqh-accent) 14%, #fff); }
.wtqh-quick svg { width: 18px; height: 18px; }
.wtqh-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
.wtqh-cats a { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 10px; border: 1px solid var(--wtqh-line); border-radius: 16px; background: #fff; text-align: center; height: 100%; }
.wtqh-cats a:hover { border-color: var(--wtqh-accent); }
.wtqh-cat-img { display: block; width: 100%; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--wtqh-surface); }
.wtqh-cat-img img { width: 100%; height: 100%; object-fit: cover; }
.wtqh-cat-name { font-size: 14px; font-weight: 700; line-height: 1.25; }

/* Promos */
.wtqh-promo { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1.5px dashed var(--wtqh-accent); border-radius: 18px; background: var(--wtqh-soft); }
.wtqh-promo-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--wtqh-accent); color: #fff; flex: none; }
.wtqh-promo-text { display: flex; flex-direction: column; gap: 4px; font-size: 14.5px; }
.wtqh-promo-text strong { font-size: 17px; }
.wtqh-promo-cats { display: flex; flex-wrap: wrap; gap: 6px 12px; }
.wtqh-promo-cats a { color: var(--wtqh-text); font-weight: 700; text-decoration: underline; }

.wtqh-all { margin: -16px 0 0; text-align: center; }
.wtqh-all a { display: inline-flex; align-items: center; gap: 6px; padding: 10px 18px; border: 1px solid var(--wtqh-line); border-radius: 999px; font-weight: 700; font-size: 14.5px; }
.wtqh-all a:hover { border-color: var(--wtqh-accent); }
.wtqh-all svg { width: 16px; height: 16px; }

@media (max-width: 900px) {
  .wtqh-start { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .wtqh { gap: 32px; }
  .wtqh-start { padding: 18px; border-radius: 16px; }
  .wtqh-start-list { display: flex; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; margin: 0 -18px; padding: 0 18px 4px; }
  .wtqh-start-list li { flex: 0 0 42%; scroll-snap-align: start; }
  .wtqh-projects { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .wtqh-project { padding: 8px 10px; font-size: 13.5px; min-height: 52px; }
  .wtqh-project-icon { width: 32px; height: 32px; }
  .wtqh-fgroup { flex-direction: column; gap: 6px; }
  .wtqh-flabel { width: auto; }
  .wtqh .wtqh-chip { padding: 6px 11px; font-size: 13px; }
  .wtqh-lines { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .wtqh-line-body { padding: 10px; }
  .wtqh-line-name { font-size: 14.5px; }
  .wtqh-line-use { display: none; }
  .wtqh-line-meta { flex-direction: column; }
  .wtqh-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .wtqh-cat-name { font-size: 12.5px; }
  .wtqh-promo { align-items: flex-start; padding: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .wtqh * { transition: none !important; }
}
