/* Family kit "Your logo on everything" 2.0.0. Clean white stage, thin frame in the brand's own colours; the site's own fonts.
   Defaults sit inside :where() so the theme's section, kicker and heading styles win. */
:where(.tsle) { --le-a: #00a3e0; --le-b: #e6007e; --le-c: #ffd400; --le-ink: #0d0d0f; --le-accent: #e6007e; --le-soft: #6b6b73; --le-line: #e4e2dc; }
:where(.tsle) { padding: 56px 0; }
:where(.tsle-in) { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; box-sizing: border-box; }
.tsle { color: var(--le-ink); }
.tsle * { box-sizing: border-box; }
.tsle [hidden] { display: none !important; }
:where(.tsle-kick) { margin: 0 0 10px; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
:where(.tsle-h) { margin: 0; font-size: clamp(28px, 6vw, 40px); line-height: 1.02; font-weight: 900; letter-spacing: -.02em; }
.tsle .tsle-sub { margin: 10px 0 0; font-size: 17px; line-height: 1.4; color: var(--le-soft); max-width: 30em; }

/* the stage: white, a 1.5 px frame in the three brand colours, nothing else */
.tsle .tsle-stage { position: relative; margin: 22px auto 0; max-width: 520px; padding: 14px 14px 16px; border-radius: 22px;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(100deg, var(--le-a), var(--le-b) 50%, var(--le-c)) border-box;
  border: 1.5px solid transparent; box-shadow: 0 1px 2px rgba(13, 13, 15, .04), 0 12px 32px -18px rgba(13, 13, 15, .18); }
.tsle .tsle-prog { display: flex; gap: 4px; }
.tsle .tsle-prog b { flex: 1; height: 3px; border-radius: 2px; background: #ecebe7; overflow: hidden; position: relative; }
.tsle .tsle-prog b.done { background: var(--le-ink); }
.tsle .tsle-prog b.now::after { content: ""; position: absolute; inset: 0; background: var(--le-ink); transform-origin: left; animation: tsle-fill 1.9s linear forwards; }
@keyframes tsle-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.tsle .tsle-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 10px 2px 0; font-size: 13px; }
.tsle .tsle-what { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tsle .tsle-who { color: var(--le-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tsle .tsle-show { position: relative; aspect-ratio: 1000 / 1000; margin: 4px auto 0; max-width: 420px; touch-action: pan-y; cursor: pointer; user-select: none; -webkit-user-select: none; }
.tsle .tsle-prod { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; transform: scale(.985); transition: opacity .45s ease, transform .45s ease; pointer-events: none; }
.tsle .tsle-prod.on { opacity: 1; transform: none; }
.tsle .tsle-gw { position: relative; width: 91%; aspect-ratio: 1000 / 1100; }
.tsle .tsle-banwrap { position: relative; width: 92%; }

/* a garment: the photo, its print box (kept invisible, for measuring) and the logo fitted inside it */
.tsle .tsle-g { position: absolute; inset: 0; display: block; }
.tsle .tsle-base { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; -webkit-user-drag: none; pointer-events: none; }
.tsle .tsle-pb { position: absolute; display: block; pointer-events: none; }
.tsle .tsle-logo { position: absolute; display: block; max-width: none; margin: 0; padding: 0; border: 0; object-fit: contain; opacity: 0; filter: drop-shadow(0 .5px 0 rgba(0, 0, 0, .12)); -webkit-user-drag: none; pointer-events: none; }
.tsle .tsle-logo.in { opacity: 1; }
.tsle .tsle-ban { position: relative; display: block; width: 100%; aspect-ratio: 2 / 1; border-radius: 3px; box-shadow: 0 0 0 1px rgba(13, 13, 15, .1), 0 14px 24px -14px rgba(13, 13, 15, .35); }
.tsle .tsle-ban i { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: #c9c9c9; box-shadow: inset 0 0 0 2px #8d8d8d; }
.tsle .tsle-ban i:nth-child(1) { left: 2.5%; top: 6%; } .tsle .tsle-ban i:nth-child(2) { left: calc(50% - 3.5px); top: 6%; } .tsle .tsle-ban i:nth-child(3) { right: 2.5%; top: 6%; }
.tsle .tsle-ban i:nth-child(4) { left: 2.5%; bottom: 6%; } .tsle .tsle-ban i:nth-child(5) { left: calc(50% - 3.5px); bottom: 6%; } .tsle .tsle-ban i:nth-child(6) { right: 2.5%; bottom: 6%; }
.tsle .tsle-size { position: absolute; right: 8px; bottom: -24px; font-size: 12px; color: var(--le-soft); }

/* 2.0.0: with a logo, every product at once: two across, the banner across the whole row */
.tsle .tsle-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.tsle .tsle-card { position: relative; display: flex; flex-direction: column; align-items: stretch; min-width: 0; margin: 0; padding: 6px 6px 9px; border-radius: 14px; background: #fff; border: 1px solid var(--le-line);
  font: inherit; color: var(--le-ink); text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: border-color .15s ease, box-shadow .15s ease, transform .12s ease; }
.tsle .tsle-card:hover { border-color: #cfccc4; }
.tsle .tsle-card:active { transform: scale(.985); }
.tsle .tsle-card:focus-visible { outline: 2px solid var(--le-accent); outline-offset: 2px; }
.tsle .tsle-card.sel { border-color: var(--le-accent); box-shadow: inset 0 0 0 1px var(--le-accent); }
.tsle .tsle-card.wide { grid-column: 1 / -1; }
.tsle .tsle-cv { position: relative; display: block; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 9px; background: #fbfbfa; }
.tsle .tsle-cv > .tsle-g { position: absolute; inset: auto; }
.tsle .tsle-card.wide .tsle-cv { aspect-ratio: 2.3 / 1; display: flex; align-items: center; justify-content: center; }
.tsle .tsle-card.wide .tsle-ban { width: 76%; }
.tsle .tsle-ck { position: absolute; top: 12px; right: 12px; width: 24px; height: 24px; border-radius: 50%; background: rgba(255, 255, 255, .92); box-shadow: inset 0 0 0 1.5px #cfccc4; display: flex; align-items: center; justify-content: center; transition: background .15s ease, box-shadow .15s ease; }
.tsle .tsle-ck svg { width: 15px; height: 15px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.tsle .tsle-card.sel .tsle-ck { background: var(--le-accent); box-shadow: none; }
.tsle .tsle-card.sel .tsle-ck svg { opacity: 1; }
.tsle .tsle-cn { display: flex; align-items: baseline; gap: 6px; margin: 7px 4px 0; min-width: 0; }
.tsle .tsle-cn b { font-size: 14px; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }
.tsle .tsle-cn small { font-size: 12.5px; color: var(--le-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tsle .tsle-cp { display: block; margin: 2px 4px 0; font-size: 13px; font-weight: 700; color: var(--le-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tsle .tsle-cp .tsb-demo, .tsle .tsle-cp .tsb-unit, .tsle .tsle-cp .tsb-from { font-weight: 600; color: var(--le-soft); font-size: 12px; }
.tsle .tsle-cp .tsb-demo { margin-left: 4px; padding: 1px 6px; border-radius: 8px; background: #f2f1ed; }
.tsle .tsle-cp del { opacity: .55; margin-right: 4px; }
.tsle .tsle-cp ins { text-decoration: none; }

/* the pop-in, once, when the logo lands (HoA's "populate" pop: rise, overshoot, settle); ~0.6 s for all five */
@keyframes tsle-pop { 0% { opacity: 0; transform: translateY(18px) scale(.88); } 60% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes tsle-land { 0% { opacity: 0; transform: scale(.7); } 100% { opacity: 1; transform: none; } }
.tsle .tsle-grid.pop .tsle-card { animation: tsle-pop .45s cubic-bezier(.3, 1.6, .5, 1) both; animation-delay: var(--d, 0ms); }
.tsle .tsle-grid.pop .tsle-logo.in { animation: tsle-land .3s cubic-bezier(.3, 1.5, .5, 1) both; animation-delay: calc(var(--d, 0ms) + 140ms); }

/* "Keep background": a small switch, only after a plain background was taken off */
.tsle .tsle-kb { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 10px 0 0; font-size: 13.5px; font-weight: 700; color: var(--le-soft); cursor: pointer; user-select: none; -webkit-user-select: none; }
.tsle .tsle-kb input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.tsle .tsle-sw { position: relative; flex: none; width: 34px; height: 20px; border-radius: 10px; background: #dcdad3; transition: background .15s ease; }
.tsle .tsle-sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(13, 13, 15, .25); transition: transform .15s ease; }
.tsle .tsle-kb input:checked + .tsle-sw { background: var(--le-ink); }
.tsle .tsle-kb input:checked + .tsle-sw::after { transform: translateX(14px); }
.tsle .tsle-kb input:focus-visible + .tsle-sw { outline: 2px solid var(--le-accent); outline-offset: 2px; }

/* compact buttons: one strong, one quiet */
.tsle .tsle-cta { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 14px; }
.tsle .tsle-btn { flex: 1 1 auto; max-width: 240px; white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 44px; padding: 0 12px; border-radius: 22px; font: inherit; font-size: 14.5px; font-weight: 700; line-height: 1; letter-spacing: -.01em; text-decoration: none; cursor: pointer;
  color: var(--le-ink); background: #fff; border: 1px solid var(--le-line); -webkit-tap-highlight-color: transparent; transition: transform .12s ease, background .2s ease, opacity .2s ease; }
.tsle .tsle-btn.go { color: #fff; background: var(--le-ink); border-color: var(--le-ink); }
.tsle .tsle-btn:active { transform: scale(.97); }
.tsle .tsle-btn:focus-visible { outline: 2px solid var(--le-accent); outline-offset: 2px; }
@media (max-width: 359px) { .tsle .tsle-btn { flex-basis: 100%; max-width: none; } }
@media (max-width: 420px) { .tsle .tsle-stage { padding: 12px 10px 14px; } .tsle .tsle-cta { gap: 7px; } }
.tsle .tsle-btn svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.tsle .tsle-btn.busy { opacity: .6; pointer-events: none; }
.tsle .tsle-stage.has-logo #tsleDrop { color: var(--le-ink); background: #fff; border-color: var(--le-line); flex: 0 1 auto; }
.tsle .tsle-stage.has-grid .tsle-go { color: #fff; background: var(--le-accent); border-color: var(--le-accent); flex: 1 1 auto; max-width: 280px; }
.tsle .tsle-stage.has-grid .tsle-go:disabled { color: var(--le-soft); background: #f2f1ed; border-color: #f2f1ed; cursor: default; }
.tsle .tsle-stage.has-grid .tsle-go:disabled svg { display: none; }
.tsle .tsle-msg { margin: 10px 0 0; min-height: 0; font-size: 14px; text-align: center; font-weight: 600; }
.tsle .tsle-msg:empty { display: none; }
.tsle .tsle-msg.bad { color: #b4232c; }
.tsle .tsle-keep { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 10px 0 0; font-size: 12.5px; color: var(--le-soft); }
.tsle .tsle-keep svg { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; }
.tsle .tsle-more { margin: 18px 0 0; font-size: 15px; text-align: center; color: var(--le-soft); }
.tsle .tsle-more a { color: var(--le-ink); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--le-accent); white-space: nowrap; }

/* wide: words left, stage right */
@media (min-width: 980px) {
  .tsle .tsle-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 540px); grid-template-rows: auto 1fr; column-gap: 64px; align-items: start; }
  .tsle .tsle-copy { grid-column: 1; grid-row: 1; padding-top: 48px; }
  .tsle .tsle-stage { grid-column: 2; grid-row: 1 / span 2; margin: 0; max-width: none; }
  .tsle .tsle-more { grid-column: 1; grid-row: 2; text-align: left; margin-top: 22px; }
  .tsle .tsle-grid { gap: 10px; }
  .tsle .tsle-cn b { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .tsle .tsle-prod { transition: none; }
  .tsle .tsle-prog b.now::after { animation: none; transform: none; }
  .tsle .tsle-grid.pop .tsle-card, .tsle .tsle-grid.pop .tsle-logo.in { animation: none; }
  .tsle .tsle-card, .tsle .tsle-sw, .tsle .tsle-sw::after, .tsle .tsle-ck { transition: none; }
}

/* 1.0.1: "Your logos" from the customer's saved brand kit: small white tiles, thin line */
.tsle .tsle-kit { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 8px; overflow-x: auto; scrollbar-width: none; }
.tsle .tsle-kit::-webkit-scrollbar { display: none; }
.tsle .tsle-kit span { flex: none; font-size: 13px; font-weight: 700; color: var(--le-soft); }
.tsle .tsle-kt { flex: none; width: 42px; height: 42px; padding: 4px; border-radius: 11px; background: #fff; border: 1px solid var(--le-line); cursor: pointer; }
.tsle .tsle-kt img { display: block; width: 100%; height: 100%; object-fit: contain; }
.tsle .tsle-kt.busy { opacity: .5; pointer-events: none; }

/* 1.0.2: the words of a spoken line (always shown, sound or not) */
.tsle .tsle-say { margin: 6px 2px 0; font-size: 13.5px; font-weight: 600; line-height: 1.35; text-align: center; color: var(--le-ink); }
.tsle .tsle-say:empty { display: none; }

/* 1.0.3: the guided start: the question, then compact white pills with a thin line (one tap each) */
.tsle .tsle-ask { margin-top: 16px; }
.tsle .tsle-q { margin: 0; font-size: 17px; font-weight: 800; letter-spacing: -.01em; color: var(--le-ink); }
.tsle .tsle-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.tsle .tsle-pill { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 19px; background: #fff; border: 1px solid var(--le-line);
  color: var(--le-ink); font-size: 15px; font-weight: 700; text-decoration: none; white-space: nowrap; -webkit-tap-highlight-color: transparent; transition: border-color .15s ease, transform .12s ease; }
.tsle .tsle-pill:hover { border-color: var(--le-accent); }
.tsle .tsle-pill:active, .tsle .tsle-pill.on { transform: scale(.97); border-color: var(--le-accent); box-shadow: inset 0 0 0 1px var(--le-accent); }
.tsle .tsle-pill:focus-visible { outline: 2px solid var(--le-accent); outline-offset: 2px; }
@media (min-width: 980px) { .tsle .tsle-ask { margin-top: 26px; } .tsle .tsle-q { font-size: 18px; } }
@media (max-width: 420px) { .tsle .tsle-pills { gap: 6px; } .tsle .tsle-pill { padding: 0 13px; font-size: 14.5px; } }

/* 1.1.0: a returning visitor's last design */
.tsle.tsle-back .tsle-quiet .tsle-q { font-weight: 600; color: var(--le-soft); }
.tsle.tsle-back .tsle-quiet .tsle-pill { background: transparent; color: var(--le-soft); }
.tsle .tsle-last img { width: 92%; height: auto; object-fit: contain; }
.tsle .tsle-why { display: inline-block; padding: 3px 10px; border-radius: 12px; background: #fde4f0; color: var(--le-accent); font-weight: 700; font-size: 12.5px; }
.tsle .tsle-sharp { margin: 6px 4px 0; font-size: 14px; font-weight: 700; text-align: center; }
.tsle .tsle-sharp.ok { color: #0f8a46; }
.tsle .tsle-sharp.low { color: #9a3412; }
.tsle .tsle-finish { flex: 1 1 auto; max-width: 300px; }
.tsle .tsle-fresh { flex: none; height: 44px; padding: 0 12px; background: none; border: 0; font: inherit; font-size: 15px; font-weight: 700; color: var(--le-soft); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.tsle .tsle-fresh:focus-visible { outline: 2px solid var(--le-accent); outline-offset: 2px; border-radius: 8px; }

/* 2.1.0: real people with a "your design here" zone */
.tsle .tsle-g.tsle-photo { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; border-radius: 12px; background: #ecebe7; --pz: #e6007e; }
.tsle .tsle-cv > .tsle-g.tsle-photo { inset: 0; }
.tsle .tsle-base-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; -webkit-user-drag: none; pointer-events: none; }
.tsle .tsle-g.tsle-photo::after { content: 'Example photo'; position: absolute; left: 8px; bottom: 8px; z-index: 3; padding: 2px 8px; border-radius: 999px; background: rgba(0,0,0,.55); color: #fff; font-size: 11px; line-height: 1.5; pointer-events: none; }
.tsle .tsle-zbar { position: relative; z-index: 2; --pz: #e6007e; }
.tsle .tsle-zbar .pz-bar { margin: 8px auto 2px; max-width: 520px; }
