/**
 * File: tools.css
 * Verze a aktuální datum: 14-11-26 v_1.09
 */

.th-tools-page {
    --tl-card: #131315;
    --tl-card2: #17171a;
    --tl-line: rgba(255, 255, 255, .07);
    --tl-line2: rgba(255, 255, 255, .13);
    --tl-txt: #f4f4f5;
    --tl-sub: #b4b4ba;
    --tl-dim: #8e8e96;
    --tl-gold: #f9c343;
    --tl-gold-hi: #ffd76a;
    --tl-ease: cubic-bezier(.2, .8, .2, 1);
    background:
        radial-gradient(1200px 600px at 70% -10%, rgba(249, 195, 67, .06), transparent 60%),
        radial-gradient(900px 500px at -10% 10%, rgba(120, 130, 160, .06), transparent 60%),
        #09090a;
}

.th-tools {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 40px 32px 96px;
    box-sizing: border-box;
    color: var(--tl-txt);
    font-family: 'Roboto', Arial, sans-serif;
}

/* overflow-x: hidden na html/body (mobilní styl webu) by vypnul lepivý pruh; clip stejně brání posunu do strany. */
html:has(body.th-tools-page),
body.th-tools-page { overflow-x: clip !important; overflow-y: visible !important; }

.th-tools button { font: inherit; color: inherit; }
/* Od 1200 px odsazuje stránku od bočního doku samo menu (body.hub-body), obsah má okraje 48 px jako stránky plánů. */
@media (min-width: 1200px) {
    .th-tools { padding-left: 48px; padding-right: 48px; }
}
.th-tools :focus-visible { outline: 2px solid var(--tl-gold); outline-offset: 2px; }

.th-tools-admin {
    display: inline-block;
    margin: 0 0 24px;
    padding: 8px 14px;
    border: 1px dashed rgba(249, 195, 67, .5);
    border-radius: 10px;
    color: var(--tl-gold);
    font-size: 14px;
}

/* Úvod */
.th-tools-hero { display: grid; gap: 28px; padding: 0 0 26px; }
.th-tools-hero-photo { position: relative; margin: 0; overflow: hidden; border-radius: 20px; border: 1px solid var(--tl-line2); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); }
.th-tools-hero-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
/* jemný přechod fotky do tmavé stránky */
.th-tools-hero-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(90deg, rgba(9, 9, 10, .55) 0%, rgba(9, 9, 10, 0) 35%), linear-gradient(0deg, rgba(9, 9, 10, .45) 0%, rgba(9, 9, 10, 0) 30%); }
@media (min-width: 1000px) {
    /* fotka stejně vysoká jako text úvodu (od nadpisku po řádek se srdíčkem), užší sloupec */
    .th-tools-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 40%); gap: 48px; align-items: stretch; }
    .th-tools-hero-photo { height: 100%; min-height: 220px; }
    /* výšku řádku určuje text, fotka se mu přizpůsobí */
    .th-tools-hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-position: 60% 40%; }
}
.th-tools-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: var(--tl-gold);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.th-tools-eyebrow::before { content: ""; width: 18px; height: 1px; background: var(--tl-gold); }
.th-tools-h1 {
    margin: 14px 0;
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.06;
    letter-spacing: -.025em;
    font-weight: 700;
    color: var(--tl-txt);
}
.th-tools-h1 em {
    font-style: normal;
    background: linear-gradient(90deg, #fff 0%, #f9d983 60%, #f9c343 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.th-tools-lead { margin: 0; max-width: 660px; color: var(--tl-sub); font-size: clamp(16px, 1.6vw, 18px); line-height: 1.55; }
.th-tools-note { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0 0; max-width: 660px; color: var(--tl-sub); font-size: 14px; line-height: 1.5; }
.th-tools-note svg { flex: none; width: 16px; height: 16px; margin-top: 2px; fill: none; stroke: var(--tl-gold); stroke-width: 2; }
.th-tools-trust { max-width: 760px; margin-top: 18px; color: var(--tl-txt); font-size: 15px; }
.th-tools-trust + .th-tools-note { margin-top: 8px; }
.th-tools-trust svg { stroke-width: 2.4; }

/* Lepivý ovládací pruh pod pevnou lištou menu */
.th-tools-bar {
    position: sticky;
    top: var(--cw-top, 60px);
    z-index: 20;
    padding: 12px 0;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: border-color .3s, background-color .3s;
}
.th-tools-bar.is-stuck { border-bottom-color: transparent; }
/* pozadí přes celou šířku okna (pseudoprvek, ne roztažený stín) a pod pruhem jen jemný přechod do průhledna */
.th-tools-bar.is-stuck::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: -1px;
    left: -100vmax;
    right: -100vmax;
    background: rgba(9, 9, 10, .86);
    -webkit-backdrop-filter: saturate(160%) blur(18px);
    backdrop-filter: saturate(160%) blur(18px);
    border-bottom: 1px solid var(--tl-line);
}
.th-tools-bar.is-stuck::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: 100%;
    left: -100vmax;
    right: -100vmax;
    height: 22px;
    background: linear-gradient(180deg, rgba(0, 0, 0, .45), rgba(0, 0, 0, 0));
    pointer-events: none;
}


.th-tools-chips-wrap { position: relative; }
.th-tools-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    overflow-x: visible;
    scrollbar-width: none;
    padding: 2px 0;
    scroll-snap-type: x proximity;
}
.th-tools-chips::-webkit-scrollbar { display: none; }
.th-tools-chips-wrap::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 48px;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(9, 9, 10, .95));
    opacity: 0;
    transition: opacity .2s;
}
.th-tools-chips-wrap.has-more::after { opacity: 1; }

.th-tools-chip {
    flex: none;
    scroll-snap-align: start;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 15px 0 12px;
    border-radius: 999px;
    border: 1px solid var(--tl-line2);
    background: rgba(255, 255, 255, .025);
    color: #e2e2e6;
    font-size: 14.5px;
    font-weight: 500;
    transition: background .2s, border-color .2s, color .2s, opacity .25s, transform .15s;
}
.th-tools-chip svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.th-tools-chip .th-tools-n { font-size: 12.5px; color: var(--tl-dim); font-variant-numeric: tabular-nums; }
@media (hover: hover) {
    .th-tools-chip:hover:not(:disabled):not([aria-pressed="true"]) { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .22); }
}
.th-tools-chip:active:not(:disabled) { transform: scale(.96); }
.th-tools-chip[aria-pressed="true"] { background: #f4f4f5; border-color: #f4f4f5; color: #111; }
.th-tools-chip[aria-pressed="true"] .th-tools-n { display: none; }
.th-tools-chip[aria-pressed="true"]::after {
    content: "";
    width: 14px;
    height: 14px;
    margin-left: 2px;
    background: currentColor;
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2.6" stroke-linecap="round"><path d="M6 6l12 12M18 6L6 18"/></svg>') center / contain no-repeat;
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2.6" stroke-linecap="round"><path d="M6 6l12 12M18 6L6 18"/></svg>') center / contain no-repeat;
}
.th-tools-chip:disabled { opacity: .28; cursor: default; }
.th-tools-chip-prem {
    border-color: rgba(249, 195, 67, .45);
    background: linear-gradient(180deg, rgba(249, 195, 67, .14), rgba(249, 195, 67, .04));
    color: var(--tl-gold);
}
.th-tools-chip-prem[aria-pressed="true"] {
    background: linear-gradient(180deg, var(--tl-gold-hi), var(--tl-gold));
    border-color: var(--tl-gold);
    color: #111;
    box-shadow: 0 8px 24px -10px rgba(249, 195, 67, .7);
}
.th-tools-sep { flex: none; width: 1px; margin: 8px 4px; background: var(--tl-line2); }

/* Ikony prací (maska, barva z currentColor) */
.th-tools-ico { width: 18px; height: 18px; flex: none; background: currentColor; opacity: .85;
    -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.th-tools-ico-measure { --ico: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.8" stroke-linejoin="round"><path d="M3 17L17 3l4 4L7 21z"/><path d="M7 13l2 2M10 10l2 2M13 7l2 2"/></svg>'); }
.th-tools-ico-drill { --ico: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.8" stroke-linejoin="round"><path d="M4 8h10l2 2v4l-2 2H4z"/><path d="M16 12h6M8 16v5"/></svg>'); }
.th-tools-ico-route { --ico: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.8" stroke-linejoin="round"><path d="M12 2v6M8 8h8l-1 6H9z"/><path d="M10 14l-1 8M14 14l1 8"/></svg>'); }
.th-tools-ico-cut { --ico: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.8"><circle cx="12" cy="12" r="8"/><path d="M12 4v3M12 17v3M4 12h3M17 12h3"/></svg>'); }
.th-tools-ico-join { --ico: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.8"><path d="M8 3v8a4 4 0 0 0 8 0V3M12 15v6"/></svg>'); }
.th-tools-ico-dust { --ico: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.8" stroke-linejoin="round"><path d="M5 4h14l-3 8v7a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2v-7z"/><path d="M9 12h6"/></svg>'); }
.th-tools-ico-plane { --ico: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.8" stroke-linejoin="round"><path d="M3 15h18l-2 4H5z"/><path d="M8 15c0-4 2-7 6-8l2 3-3 5"/></svg>'); }
.th-tools-ico-sand { --ico: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.8" stroke-linejoin="round"><path d="M4 14h16v4H4z"/><path d="M7 14V9h10v5M10 9V6h4v3"/></svg>'); }
.th-tools-ico-laser { --ico: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.8"><path d="M12 3v4M12 17v4M3 12h4M17 12h4"/><circle cx="12" cy="12" r="3"/></svg>'); }
.th-tools-chip[aria-pressed="true"] .th-tools-ico { opacity: 1; }

.th-tools-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
.th-tools-shops {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    min-width: 0;
    overflow-x: visible;
    scrollbar-width: none;
    color: var(--tl-dim);
    font-size: 13.5px;
}
.th-tools-shops::-webkit-scrollbar { display: none; }
.th-tools-shops-label { margin-right: 4px; }
.th-tools-shop {
    flex: none;
    border: 0;
    background: none;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 8px;
    color: var(--tl-sub);
    font-size: 13.5px;
    font-weight: 500;
    white-space: nowrap;
    transition: background .2s, color .2s, opacity .2s;
}
@media (hover: hover) {
    .th-tools-shop:hover:not(:disabled):not([aria-pressed="true"]) { background: rgba(255, 255, 255, .05); color: var(--tl-txt); }
}
.th-tools-shop[aria-pressed="true"] { background: rgba(255, 255, 255, .09); color: var(--tl-txt); box-shadow: inset 0 0 0 1px var(--tl-line2); }
.th-tools-shop:disabled { opacity: .3; cursor: default; }
.th-tools-result { flex: none; display: flex; align-items: center; gap: 14px; color: var(--tl-sub); font-size: 14px; }
.th-tools-result b { color: var(--tl-txt); font-weight: 600; font-variant-numeric: tabular-nums; }
.th-tools-reset {
    border: 0;
    background: none;
    cursor: pointer;
    padding: 6px 0;
    color: var(--tl-gold);
    font-size: 14px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s;
}
.th-tools-reset.is-on { opacity: 1; pointer-events: auto; }

/* Mřížka a karty */
.th-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    grid-auto-flow: dense;
    gap: 22px;
    padding-top: 26px;
}
.th-tools-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid var(--tl-line);
    background: linear-gradient(180deg, var(--tl-card2), var(--tl-card));
    transition: transform .4s var(--tl-ease), border-color .3s, box-shadow .4s var(--tl-ease);
    animation: th-tools-in .5s var(--tl-ease) both;
}
.th-tools-card[hidden] { display: none; }
@keyframes th-tools-in { from { opacity: 0; transform: translateY(10px); } }
/* Postupné načítání: s JS se karta ukáže až při příjezdu do okna, prohlížeč nevykresluje karty mimo obrazovku. */
.th-tools-grid.is-reveal .th-tools-card { animation: none; opacity: 0; transform: translateY(18px); transition: opacity .6s var(--tl-ease), transform .6s var(--tl-ease), border-color .3s, box-shadow .4s var(--tl-ease); }
.th-tools-grid.is-reveal .th-tools-card.is-in { opacity: 1; transform: none; }
.th-tools-card { content-visibility: auto; contain-intrinsic-size: auto 520px; }
@media (hover: hover) {
    .th-tools-card:hover { transform: translateY(-4px); border-color: var(--tl-line2); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); }
}
.th-tools-card.is-prem { border-color: rgba(249, 195, 67, .22); }
.th-tools-card.is-prem::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    padding: 1px;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(140deg, rgba(249, 195, 67, .55), transparent 35%, transparent 70%, rgba(249, 195, 67, .25));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.th-tools-stage {
    --pad: 30px;
    position: relative;
    display: block;
    aspect-ratio: 5 / 4;
    background: radial-gradient(70% 60% at 50% 38%, #45464c 0%, #26272b 45%, #151517 80%);
}
.th-tools-stage.is-wide { --pad: 22px; }
.th-tools-stage.is-tall { --pad: 20px; }
.th-tools-stage::after {
    content: "";
    position: absolute;
    left: 20%;
    right: 20%;
    bottom: 8%;
    height: 16px;
    background: radial-gradient(closest-side, rgba(0, 0, 0, .7), transparent);
    filter: blur(5px);
}
.th-tools-stage img {
    position: absolute;
    z-index: 1;
    inset: var(--pad);
    width: calc(100% - 2 * var(--pad));
    height: calc(100% - 2 * var(--pad));
    object-fit: contain;
    filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .55));
    transition: transform .6s var(--tl-ease);
}
@media (hover: hover) {
    .th-tools-card:hover .th-tools-stage img { transform: scale(1.05) translateY(-2px); }
}
.th-tools-tags { position: absolute; z-index: 2; top: 14px; left: 14px; right: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.th-tools-tag {
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(10, 10, 12, .55);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: #e9e9ec;
    font-size: 12px;
    font-weight: 600;
}
.th-tools-tag-gold { color: #111; background: linear-gradient(180deg, var(--tl-gold-hi), var(--tl-gold)); border-color: transparent; }
.th-tools-tag-wish { color: var(--tl-gold); border-color: rgba(249, 195, 67, .45); }

.th-tools-body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 20px 22px 22px; }
.th-tools-kick { margin: 0; color: var(--tl-gold); font-size: 13px; font-weight: 600; }
.th-tools-h2 { margin: 0; font-size: 19px; line-height: 1.3; letter-spacing: -.01em; font-weight: 600; }
.th-tools-h2 a { color: var(--tl-txt); text-decoration: none; }
@media (hover: hover) { .th-tools-h2 a:hover { color: #fff; text-decoration: underline; text-decoration-color: rgba(249, 195, 67, .5); text-underline-offset: 4px; } }
.th-tools-text { margin: 0; color: var(--tl-sub); font-size: 15px; line-height: 1.5; }

.th-tools-video {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
    padding: 6px 12px 6px 6px;
    border-radius: 999px;
    border: 1px solid var(--tl-line2);
    background: rgba(255, 255, 255, .03);
    color: var(--tl-txt);
    font-size: 13.5px;
    font-weight: 500;
    cursor: pointer;
    transition: background .2s, border-color .2s;
}
.th-tools-video svg { width: 22px; height: 22px; padding: 5px; border-radius: 50%; background: #ff3d3d; fill: #fff; }
@media (hover: hover) { .th-tools-video:hover { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .24); } }

.th-tools-cta { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 14px; }
.th-tools-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid rgba(249, 195, 67, .55);
    border-radius: 12px;
    background: rgba(249, 195, 67, .04);
    color: var(--tl-gold);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .15s, box-shadow .2s;
}
.th-tools-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
@media (hover: hover) { .th-tools-btn:hover { background: rgba(249, 195, 67, .12); border-color: var(--tl-gold); } }
/* Plné zlaté tlačítko jen u srdcovek (luxus = střídmost) */
.th-tools-card.is-feature .th-tools-btn {
    padding: 12px 18px;
    border-color: transparent;
    background: linear-gradient(180deg, var(--tl-gold-hi), var(--tl-gold));
    box-shadow: 0 10px 24px -12px rgba(249, 195, 67, .8), inset 0 1px 0 rgba(255, 255, 255, .45);
    color: #111;
}
@media (hover: hover) { .th-tools-card.is-feature .th-tools-btn:hover { background: linear-gradient(180deg, #ffe08a, var(--tl-gold-hi)); box-shadow: 0 14px 30px -12px rgba(249, 195, 67, .95), inset 0 1px 0 rgba(255, 255, 255, .45); } }

/* Srdcovky: od 900 px karta přes dva sloupce, obrázek vlevo, text vpravo, větší písmo */
@media (min-width: 900px) {
    .th-tools-card.is-feature { grid-column: span 2; flex-direction: row; }
    .th-tools-card.is-feature .th-tools-stage { flex: 0 0 54%; aspect-ratio: auto; min-height: 340px; --pad: 34px; }
    .th-tools-card.is-feature .th-tools-body { padding: 30px 30px 28px; gap: 10px; justify-content: center; }
    .th-tools-card.is-feature .th-tools-h2 { font-size: 23px; line-height: 1.25; }
    .th-tools-card.is-feature .th-tools-text { font-size: 16px; }
    .th-tools-card.is-feature .th-tools-cta { margin-top: 10px; }
}
.th-tools-btn:active { transform: scale(.97); }
.th-tools-ship { color: var(--tl-dim); font-size: 12.5px; line-height: 1.35; text-align: right; }

.th-tools-empty { grid-column: 1 / -1; padding: 60px 20px; text-align: center; color: var(--tl-sub); }
.th-tools-empty[hidden] { display: none; }
.th-tools-reset-big { margin-top: 12px; padding: 10px 16px; border: 1px solid var(--tl-line2); border-radius: 10px; background: none; cursor: pointer; }

/* Okno s videem */
.th-tools-modal { width: min(960px, calc(100vw - 32px)); max-width: none; padding: 0; border: 0; background: transparent; color: var(--tl-txt); }
.th-tools-modal::backdrop { background: rgba(0, 0, 0, .78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.th-tools-modal-box { position: relative; overflow: hidden; border-radius: 18px; border: 1px solid var(--tl-line2); background: #0e0e10; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .9); }
.th-tools-modal-video { aspect-ratio: 16 / 9; background: #000; }
.th-tools-modal-video iframe { display: block; width: 100%; height: 100%; border: 0; }
.th-tools-modal-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 16px; font-size: 14px; }
.th-tools-modal-note { color: var(--tl-sub); }
.th-tools-modal-yt { flex: none; color: var(--tl-gold); font-weight: 600; text-decoration: none; }
.th-tools-modal-close {
    position: absolute;
    z-index: 2;
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
    background: rgba(0, 0, 0, .6);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

@media (max-width: 640px) {
    .th-tools-chips, .th-tools-shops { flex-wrap: nowrap; overflow-x: auto; }
    .th-tools { padding: 24px 16px 60px; }
    .th-tools-bar { padding: 10px 0; }
    .th-tools-hero { padding: 0 0 20px; }
    .th-tools-shops-label { display: none; }
    .th-tools-shop { padding: 5px 8px; }
    .th-tools-result { gap: 10px; }
    .th-tools-grid { grid-template-columns: 1fr; gap: 16px; padding-top: 18px; }
    .th-tools-stage { aspect-ratio: 4 / 3; }
    .th-tools-body { padding: 18px; }
    .th-tools-modal-foot { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    .th-tools-card, .th-tools-stage img { animation: none; transition: none; }
    .th-tools-grid.is-reveal .th-tools-card { opacity: 1; transform: none; }
}
