/* TinyWeb hub v3 — shop-style catalogue: hero with devices, industries, design cards, quick preview */
:root{--h3-r:20px}
.hb-hero,.hb-sec-month{display:none!important}
/* ---------- hero ---------- */
.h3-hero{display:grid;grid-template-columns:1fr 1fr;gap:clamp(30px,4vw,70px);align-items:center;max-width:1240px;margin:0 auto;padding:clamp(36px,5vw,72px) var(--pad) clamp(30px,4vw,56px)}
.h3-kick{display:inline-flex;gap:8px;align-items:center;font-weight:700;font-size:14.5px;color:var(--blue);background:var(--blue-soft);padding:7px 14px;border-radius:99px}
.h3-hero h1{font-size:clamp(36px,4.4vw,60px);line-height:1.12;letter-spacing:-.02em;margin:18px 0 16px}.h3-hero h1 em{font-style:normal;color:var(--blue)}
.h3-lead{font-size:18px;color:#2c4a41;max-width:52ch;margin:0 0 24px}
.h3-cta{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:26px}.h3-cta .hb-btn{height:52px;padding:0 24px;font-size:16.5px}
.h3-cta .line{border-color:var(--green);color:#058a3c}
.h3-hero .hb-search{max-width:560px;margin:0}.h3-hero .hb-try{margin-top:12px}
.h3-trust{display:flex;flex-wrap:wrap;gap:8px 20px;list-style:none;padding:0;margin:22px 0 0;font-size:15px;color:#2c4a41}.h3-trust li{display:flex;gap:7px;align-items:center}.h3-trust .ic{width:18px;height:18px;color:var(--green);stroke:currentColor;stroke-width:2.4;fill:none}
.h3-hero-art{position:relative;min-height:clamp(300px,34vw,470px)}
.h3-laptop{position:absolute;left:0;right:8%;top:6%;padding:0;border:0;background:#0f2d25;border-radius:16px 16px 6px 6px;padding:10px 10px 0;box-shadow:0 40px 80px #12352d33;cursor:pointer}
.h3-laptop span{display:block;aspect-ratio:16/10;overflow:hidden;border-radius:6px 6px 0 0;background:#fff}.h3-laptop img{width:100%;height:100%;object-fit:cover;object-position:top}
.h3-laptop:after{content:'';position:absolute;left:-6%;right:-6%;bottom:-14px;height:14px;background:linear-gradient(#c8dccf,#b3c8bb);border-radius:0 0 14px 14px}
.h3-phone{position:absolute;right:0;bottom:0;width:24%;padding:7px;border:0;background:#0f2d25;border-radius:26px;box-shadow:0 30px 60px #12352d40;cursor:pointer}
.h3-phone img{display:block;width:100%;aspect-ratio:320/692;object-fit:cover;object-position:top;border-radius:20px}
.h3-chip{position:absolute;display:flex;gap:6px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:14px;padding:10px 14px;font-size:14px;box-shadow:0 14px 30px #12352d1a}
.h3-chip b{font-size:22px;color:var(--blue)}.h3-chip .ic{width:18px;height:18px;stroke:var(--blue);fill:none;stroke-width:2}.h3-chip.c1{left:-4%;bottom:14%}.h3-chip.c2{right:22%;top:-2%}
/* ---------- industries ---------- */
.h3-ind{max-width:1240px;margin:0 auto;padding:10px var(--pad) 20px}.h3-head h2{font-size:27px;margin:0}.h3-head p{margin:4px 0 16px;color:var(--muted);font-size:15.5px}
.h3-ind-g{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}
.h3-ind-g button{position:relative;display:grid;align-items:end;min-height:150px;padding:0;border:0;border-radius:18px;overflow:hidden;cursor:pointer;background:#183f35;text-align:left;font:inherit;color:#fff;transition:transform .3s}
.h3-ind-g button:hover{transform:translateY(-3px)}.h3-ind-g img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .8s}.h3-ind-g button:hover img{transform:scale(1.06)}
.h3-ind-g button:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,#0000 30%,#000b)}.h3-ind-g span{position:relative;z-index:2;padding:14px;display:grid;gap:2px}.h3-ind-g b{font-size:16.5px;line-height:1.25}.h3-ind-g small{opacity:.85;font-size:13.5px}
.h3-ind-g button[aria-pressed=true]{outline:3px solid var(--blue);outline-offset:3px}
/* ---------- design cards ---------- */
.hc{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:var(--h3-r);overflow:hidden;transition:box-shadow .3s,transform .3s}
.hc:hover{box-shadow:0 24px 50px #12352d17;transform:translateY(-3px)}
.hc-media{position:relative;display:block;width:100%;padding:18px 18px 0;border:0;background:linear-gradient(160deg,#eff6f1,#e2efe6);cursor:pointer;aspect-ratio:16/11.5;overflow:hidden}
.hc-laptop{position:absolute;left:14px;right:22%;top:16px;bottom:-10px;border-radius:10px 10px 0 0;overflow:hidden;background:#fff;box-shadow:0 14px 34px #12352d26;border:5px solid #0f2d25;border-bottom:0}
.hc-laptop img{width:100%;height:100%;object-fit:cover;object-position:top;transition:object-position 3s ease}
.hc-media:hover .hc-laptop img{object-position:bottom}
.hc-phone{position:absolute;right:12px;bottom:-14px;width:28%;border:4px solid #0f2d25;border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 14px 30px #12352d33}
.hc-phone img{display:block;width:100%;aspect-ratio:320/600;object-fit:cover;object-position:top}
.hc-badges{position:absolute;left:12px;top:10px;display:flex;gap:6px;z-index:3}.hc-badges span{font-size:12.5px;font-weight:700;padding:4px 10px;border-radius:99px;background:var(--warm);color:#fff}.hc-badges .new{background:var(--blue)}
.hc-eye{position:absolute;left:50%;top:50%;transform:translate(-50%,-40%);display:flex;gap:8px;align-items:center;background:#12352ddd;color:#fff;padding:10px 16px;border-radius:99px;font-weight:700;font-size:14.5px;opacity:0;transition:.25s;z-index:4}
.hc-eye .ic{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2}.hc-media:hover .hc-eye,.hc-media:focus-visible .hc-eye{opacity:1;transform:translate(-50%,-50%)}
.hc-body{display:flex;flex-direction:column;gap:8px;padding:18px 18px 16px;flex:1}
.hc-biz{font-size:14px;color:var(--muted)}.hc h3{margin:0;font-size:20px;line-height:1.25}
.hc-var{display:flex;gap:4px;padding:3px;border-radius:12px;background:#eff6f1;align-self:flex-start;flex-wrap:wrap}
.hc-var button,.hc-var span{border:0;background:transparent;border-radius:9px;padding:6px 11px;font:600 13.5px var(--font);color:#2c4a41;cursor:pointer;white-space:nowrap}
.hc-var button[aria-pressed=true]{background:#fff;color:var(--ink);box-shadow:0 2px 6px #12352d1f}.hc-var small{font-weight:400;opacity:.7}
.hc-var.single span{cursor:default;background:#fff;box-shadow:0 2px 6px #12352d14}
.hc-feat{margin:2px 0 0;font-size:14.5px;color:#2c4a41;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hc-act{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:auto;padding-top:8px}.hc-act .hb-btn{height:44px;justify-content:center;font-size:15px;padding:0 10px}
.hc-meta{display:flex;align-items:center;gap:10px;padding-top:12px;margin-top:4px;border-top:1px solid var(--line);font-size:12.5px;color:var(--muted)}
.hc-meta .hb-dots{display:flex}.hc-meta .hb-dots i{width:13px;height:13px;border-radius:50%;margin-right:-3px;border:2px solid #fff}
.hc-meta code{margin-left:auto;font:600 12px ui-monospace,Menlo,monospace;letter-spacing:.02em;color:#7f948a}
.hb-grid{grid-template-columns:repeat(4,1fr)}
/* list view */
.hb-grid.as-list{grid-template-columns:1fr}.hb-grid.as-list .hc{flex-direction:row}.hb-grid.as-list .hc-media{width:380px;flex:none;aspect-ratio:auto;min-height:230px}
.hb-grid.as-list .hc-body{padding:22px 26px}.hb-grid.as-list .hc-feat{white-space:normal}.hb-grid.as-list .hc-act{grid-template-columns:auto auto;justify-content:start}.hb-grid.as-list .hc-act .hb-btn{padding:0 22px}
/* shelves */
.hb-shelf-grid .hc{min-width:0}
/* ---------- quick preview ---------- */
.pv{width:min(1400px,96vw);height:min(920px,94vh);max-width:none;max-height:none;padding:0;border:0;border-radius:20px;background:#e6f1e9;overflow:hidden;display:none;flex-direction:column}
.pv[open]{display:flex}.pv::backdrop{background:#0a201ab8;backdrop-filter:blur(3px)}
.pv-top{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 16px;background:#fff;border-bottom:1px solid var(--line)}
.pv-name{display:grid;margin-right:auto}.pv-name b{font-size:18px}.pv-name small{color:var(--muted);font-size:13px}.pv-name code{font-size:12px}
.pv-seg{display:inline-flex;padding:3px;border-radius:12px;background:#eff6f1}.pv-seg button{border:0;background:transparent;border-radius:9px;padding:8px 14px;font:600 14px var(--font);cursor:pointer;color:inherit}.pv-seg button[aria-pressed=true]{background:#fff;box-shadow:0 2px 6px #12352d1f}
.pv-act{display:flex;gap:8px;align-items:center}.pv-act .hb-btn{height:42px}.pv-x{width:42px;height:42px;border:0;border-radius:50%;background:#eff6f1;font-size:24px;cursor:pointer}
.pv-stage{flex:1;display:grid;place-items:center;padding:14px;min-height:0}
.pv-stage iframe{width:100%;height:100%;border:0;border-radius:12px;background:#fff;box-shadow:0 20px 50px #12352d26;transition:width .35s}
.pv-stage.mob iframe{width:390px;height:min(100%,844px);border:10px solid #0f2d25;border-radius:36px}
@media (max-width:1100px){.hb-grid{grid-template-columns:repeat(2,1fr)}.h3-ind-g{grid-template-columns:repeat(3,1fr)}.hb-grid.as-list .hc-media{width:300px}}
@media (max-width:860px){.h3-hero{grid-template-columns:1fr}.h3-hero-art{min-height:300px;max-width:520px}.h3-chip.c1{left:0}}
@media (max-width:640px){.hb-grid{grid-template-columns:1fr}.h3-ind-g{grid-template-columns:1fr 1fr}.h3-ind-g button{min-height:120px}.hb-grid.as-list .hc{flex-direction:column}.hb-grid.as-list .hc-media{width:100%;aspect-ratio:16/11}
  .pv{width:100vw;height:100vh;border-radius:0}.pv-top{padding:10px}.pv-act .ghost{display:none}.pv-stage.mob iframe{width:100%;border:0;border-radius:0}
  .hb-shelf-grid .hc{flex:0 0 82%}}
/* v3 fixes */
.hc-media{aspect-ratio:16/10.4}
.hc-laptop{right:auto;bottom:auto;width:76%;aspect-ratio:16/10;border-bottom:5px solid #0f2d25;border-radius:10px}
.hc-media:hover .hc-laptop img{object-position:top}
.hc-phone{bottom:-30px;width:26%}
.hc-meta{flex-wrap:nowrap;white-space:nowrap}.hc-meta code{min-width:0;overflow:hidden;text-overflow:ellipsis}.hc-langs{flex:none}
.h3-hero h1{font-size:clamp(34px,3.8vw,54px);text-wrap:balance}
/* v019.1: full-width sections in every browser, stronger website-type labels */
.h3-hero,.h3-ind{width:100%;box-sizing:border-box}
.hc-var{background:#e6f1e9;padding:4px;border-radius:12px}
.hc-var button,.hc-var span{font:700 15px/1.2 var(--font);color:#183f35;padding:8px 13px}
.hc-var button[aria-pressed=true],.hc-var.single span{background:var(--ink);color:#fff;box-shadow:none}
.hc-var small{font-weight:600;opacity:.75;font-size:13px}
.hc-var button:not([aria-pressed=true]):hover{background:#fff}
.hb-seg button{font-weight:700;font-size:16px;color:var(--ink)}
.hb-seg button em{font-weight:600}
.pv-seg button{font-weight:700;font-size:15px}
/* v019.1: --pad already centres content on wide screens, so these sections must not also cap their width */
.h3-hero,.h3-ind{max-width:none;margin:0}
/* type shelves: big, bold, colour-coded */
.hb-shelf-head h3{font-size:30px;font-weight:800;color:var(--ink);display:flex;align-items:center;gap:12px;letter-spacing:-.01em}
.hb-shelf-head h3:before{content:'';width:12px;height:30px;border-radius:4px;background:var(--ink)}
.hb-shelf.t-one h3:before{background:#268357}.hb-shelf.t-biz h3:before{background:#0E9F6E}.hb-shelf.t-cat h3:before{background:#F59E0B}
.hb-shelf-head p{font-size:16px;color:#2c4a41}
.hb-shelf{margin-top:44px}
/* hero rotation */
.h3-hero-art>*{transition:opacity .35s,transform .35s}.h3-hero-art.swap>*{opacity:0;transform:translateY(8px)}
.h3-name{position:absolute;left:4%;top:-2%;display:grid;background:#fff;border:1px solid var(--line);border-radius:14px;padding:9px 14px;box-shadow:0 14px 30px #12352d1a;z-index:3;font-size:13.5px;color:var(--muted)}
.h3-name b{font-size:16px;color:var(--ink)}
.h3-chip.c2{top:auto;bottom:-4%;right:30%}
a.h3-laptop,a.h3-phone{display:block}
/* ---------- mobile filter sheet v2: scrollable, chips, tap again to unselect, clear all ---------- */
.hb-sheet-foot{display:none}
@media (max-width:980px){
  .hb-bar.sheet{backdrop-filter:none!important;-webkit-backdrop-filter:none!important;z-index:300}
  .hb-bar.sheet:before{content:'';position:fixed;inset:0;z-index:0;background:#0a201aa6}
  .hb-bar.sheet .hb-more-f{position:fixed;left:0;right:0;bottom:0;top:auto;z-index:1;display:flex;flex-direction:column;align-items:stretch;gap:0;height:auto;max-height:86vh;max-height:86dvh;padding:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;background:#fff;border-radius:22px 22px 0 0;box-shadow:0 -20px 60px #12352d40}
  .hb-bar.sheet .hb-sheet-head{position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;align-items:center;padding:16px 18px;background:#fff;border-bottom:1px solid var(--line);font-size:19px}
  .hb-bar.sheet .hb-sheet-head button{width:40px;height:40px;border-radius:50%;background:#eff6f1;font-size:24px}
  .hb-bar.sheet .hb-dd{padding:16px 18px 6px;border-bottom:1px solid var(--line)}
  .hb-bar.sheet .hb-ddbtn{border:0;background:none;padding:0;height:auto;pointer-events:none;font-size:16.5px;font-weight:800;width:100%;justify-content:flex-start;max-width:none}
  .hb-bar.sheet .hb-ddbtn b{display:none}.hb-bar.sheet .hb-ddbtn .chev{display:none}
  .hb-bar.sheet .hb-pop{display:flex!important;flex-wrap:wrap;gap:8px;position:static;margin:12px 0 10px;padding:0;border:0;box-shadow:none;max-height:none;min-width:0;background:none;overflow:visible}
  .hb-bar.sheet .hb-pop-grid{display:contents}
  .hb-bar.sheet .hb-pop button{width:auto;flex:none;gap:6px;padding:10px 14px;border:1.5px solid var(--line);border-radius:99px;background:#fff;font-size:15px}
  .hb-bar.sheet .hb-pop button span{flex:none}
  .hb-bar.sheet .hb-pop button[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:#fff}
  .hb-bar.sheet .hb-pop button[aria-pressed=true] em{color:#fffb}
  .hb-bar.sheet .hb-pop-note{flex-basis:100%;margin:2px 0 0}
  .hb-bar.sheet .hb-sheet-foot{position:sticky;bottom:0;z-index:2;display:grid;grid-template-columns:auto 1fr;gap:10px;padding:12px 18px calc(12px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--line)}
  .hb-sheet-clear{height:50px;padding:0 18px;border:1.5px solid var(--line);border-radius:14px;background:#fff;font:700 15.5px var(--font);color:var(--ink);cursor:pointer}
  .hb-bar.sheet .hb-sheet-done{height:50px;margin:0;justify-content:center;font-size:16px}
}

/* Tiny Web wordmark — same as tinyweb4u.com */
.hb-logo.tw-wm{display:grid;gap:0;line-height:1;flex:none}
.tw-wm b{font:900 27px/1 "Outfit",Arial,sans-serif;letter-spacing:-1px;color:#12352d;display:inline-flex;align-items:center}
.tw-wm b span{color:#268357;margin-left:.22em}
.tw-wm b i{width:7px;height:7px;border-radius:50%;background:#a9d583;margin-left:4px;align-self:flex-end;margin-bottom:5px}
.hb-logo.tw-wm small{font:600 12px/1 inherit;color:#268357;margin:6px 0 0;padding:0;border:0;letter-spacing:.01em}
.hb-foot-site .tw-wm b{font-size:23px}
@media (max-width:640px){.tw-wm b{font-size:23px}}

/* type = tinyweb4u.com */
h1,h2,.h3-hero h1,.hb-btn,.h3-kick,.h3-chip,.hb-sec-head h2{font-family:var(--display)}
h1,.h3-hero h1{font-weight:800}
h2{font-weight:800}
.hb-foot-site .tw-wm{gap:0}

/* back to tinyweb4u.com */
.hb-home{display:inline-flex;align-items:center;gap:6px;height:38px;padding:0 14px;border:1px solid var(--line);border-radius:99px;background:#fff;color:var(--ink);font-weight:600;font-size:14.5px;white-space:nowrap;margin-left:auto}
.hb-home:hover{border-color:var(--blue);color:var(--blue)}
.hb-home svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
@media (max-width:420px){.hb-home{padding:0 10px}.hb-home span{display:none}}
.hb-top .hb-home + .hb-lang{margin-left:-14px}
@media (max-width:640px){.hb-top .hb-home + .hb-lang{margin-left:-4px}}

/* "this is the examples site" pill, same leaf green as the demo favicon */
.tw-pill{display:inline-flex;align-items:center;font:700 13px/1 var(--font);background:#a9d583;color:#0f2d25;border-radius:99px;padding:7px 12px;white-space:nowrap;flex:none}
a.tw-pill:hover{background:#bde39b}
.hb-pill .short{display:none}
.hb-top .hb-pill{margin-left:-12px}
@media (max-width:600px){
  .hb-top .tw-wm{align-self:flex-start;margin-top:9px}
  .hb-top .hb-pill{position:absolute;left:var(--pad);bottom:6px;margin:0;font-size:10.5px;padding:3px 8px}
  .hb-pill .full{display:none}.hb-pill .short{display:inline}
}
