.elementor-widget-shortcode .ttm,.ttm{width:100%}
.ttm{--ttm-primary:#009AB2;--ttm-accent:#017E91;--ttm-deep:#046275;--ttm-tint:#E6F7F9;--ttm-ink:#0B0B0C;--ttm-text:#4D565B;--ttm-line:#E4E8EA;--ttm-bg:#fff;--ttm-radius:14px;--ttm-shadow:0 18px 44px rgba(11,11,12,.13);position:relative;font-family:Inter,system-ui,sans-serif;z-index:120}
.ttm *,.ttm *::before,.ttm *::after{box-sizing:border-box}
.ttm ul{list-style:none;margin:0;padding:0}
.ttm a{text-decoration:none;color:inherit}
.ttm button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}

/* ---------------------------------------------------------- burger */
.ttm__burger{display:none;align-items:center;gap:10px;padding:11px 16px;font-size:15px;font-weight:600;color:var(--ttm-ink)}
.ttm__burger-icon{position:relative;width:18px;height:2px;border-radius:2px;background:currentColor}
.ttm__burger-icon::before,.ttm__burger-icon::after{content:"";position:absolute;left:0;width:18px;height:2px;border-radius:2px;background:currentColor}
.ttm__burger-icon::before{top:-6px}
.ttm__burger-icon::after{top:6px}

.ttm__sheet-head{display:none}
.ttm__scrim{position:fixed;inset:0;background:rgba(11,11,12,.45);z-index:-1}

/* ------------------------------------------------------------- bar */
.ttm__bar{display:flex;flex-wrap:wrap;align-items:center;gap:2px}
.ttm__sec{position:static}
.ttm__sec-btn{display:flex;align-items:center;gap:6px;padding:12px 14px;border-radius:999px;font-size:14px;font-weight:600;color:var(--ttm-ink);white-space:nowrap;transition:background .14s,color .14s}
.ttm__sec-btn:hover{background:var(--ttm-tint);color:var(--ttm-deep)}
.ttm__sec.is-open .ttm__sec-btn{background:var(--ttm-accent);color:#fff}
.ttm__chev{width:12px;height:12px;flex:none;transition:transform .16s}
.ttm__sec.is-open .ttm__chev{transform:rotate(180deg)}

/* ----------------------------------------------------------- panel */
.ttm__panel{position:absolute;left:0;right:0;top:calc(100% + 8px);background:var(--ttm-bg);border:1px solid var(--ttm-line);border-radius:var(--ttm-radius);box-shadow:var(--ttm-shadow);overflow:hidden}
.ttm__panel[hidden]{display:none}
.ttm__panel-inner{display:grid;grid-template-columns:minmax(210px,258px) 1fr}

.ttm__col{min-width:0;padding:18px 20px}
.ttm__col--brands{border-right:1px solid var(--ttm-line);background:#FAFCFD;max-height:60vh;overflow-y:auto}
.ttm__col--models{display:flex;flex-direction:column;max-height:60vh}
.ttm__col-title{margin:0 0 10px;font-family:Poppins,Inter,sans-serif;font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#4D565B}

.ttm__brand{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;border-radius:9px;font-size:14px;color:var(--ttm-ink);transition:background .12s,color .12s}
.ttm__brand:hover,.ttm__brand.is-active{background:var(--ttm-tint);color:var(--ttm-deep)}
.ttm__brand-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ttm__count{flex:none;font-size:12px;font-weight:600;color:#4D565B;font-variant-numeric:tabular-nums}
.ttm__brand.is-active .ttm__count{color:var(--ttm-accent)}

/* ---------------------------------------------------------- search */
.ttm__search{position:relative;margin-bottom:14px}
.ttm__search-icon{position:absolute;left:12px;top:50%;width:16px;height:16px;margin-top:-8px;color:#707A80;pointer-events:none}
.ttm__search input{width:100%;padding:10px 12px 10px 36px;border:1px solid var(--ttm-line);border-radius:10px;font-size:15px;color:var(--ttm-ink);background:#fff;-webkit-appearance:none;appearance:none}
.ttm__search input:focus{outline:2px solid var(--ttm-primary);outline-offset:-1px;border-color:transparent}

/* ---------------------------------------------------------- models */
.ttm__models{flex:1;min-height:0;overflow-y:auto;columns:3;column-gap:18px}
.ttm__model{break-inside:avoid;display:flex;align-items:baseline;justify-content:space-between;gap:8px;padding:6px 8px;border-radius:8px;font-size:14px;color:var(--ttm-text)}
.ttm__model:hover{background:var(--ttm-tint);color:var(--ttm-deep)}
.ttm__model-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ttm__model mark{background:#FFF3C4;color:inherit;padding:0 1px;border-radius:2px}
.ttm__model-brand{font-size:12px;color:#4D565B}
.ttm__msg{padding:10px 8px;font-size:14px;color:#4D565B}

.ttm__all{display:flex;align-items:center;justify-content:center;gap:8px;padding:13px 20px;border-top:1px solid var(--ttm-line);background:#FAFCFD;font-size:14px;font-weight:600;color:var(--ttm-accent)}
.ttm__all:hover{background:var(--ttm-tint)}

/* ======================================================== ≤ 1024 px */
@media (max-width:1024px){
	.ttm__burger{display:inline-flex}
	.ttm__scrim{display:block}
	.ttm__scrim[hidden]{display:none}

	.ttm__sheet{position:fixed;top:0;left:0;bottom:0;width:min(420px,92vw);display:flex;flex-direction:column;background:#fff;box-shadow:var(--ttm-shadow);transform:translateX(-102%);transition:transform .22s ease;visibility:hidden}
	.ttm.is-sheet-open .ttm__sheet{transform:none;visibility:visible}

	.ttm__sheet-head{display:flex;align-items:center;gap:10px;padding:14px 16px;border-bottom:1px solid var(--ttm-line);flex:none}
	.ttm__sheet-title{flex:1;font-family:Poppins,Inter,sans-serif;font-size:16px;font-weight:600;color:var(--ttm-ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
	.ttm__back{font-size:14px;font-weight:600;color:var(--ttm-accent)}
	.ttm__back[hidden]{display:none}
	.ttm__close{font-size:26px;line-height:1;color:#4D565B;min-width:44px;min-height:44px}

	.ttm__bar{flex:1;overflow-y:auto;display:block;padding:6px 0}
	.ttm__sec-btn{width:100%;justify-content:space-between;border-radius:0;padding:14px 18px;font-size:15px}
	.ttm__sec-btn .ttm__chev{transform:rotate(-90deg)}
	.ttm__sec.is-open .ttm__sec-btn{background:none;color:var(--ttm-ink)}

	.ttm__panel{position:fixed;inset:0;top:57px;left:0;width:min(420px,92vw);border:0;border-radius:0;box-shadow:none;display:flex;flex-direction:column}
	.ttm__panel-inner{display:block;flex:1;min-height:0;overflow-y:auto}
	.ttm__col{padding:14px 16px}
	.ttm__col--brands{border-right:0;background:#fff;max-height:none;overflow:visible}
	.ttm__col--models{max-height:none;display:block}
	.ttm__brand{padding:12px 10px;font-size:15px}
	.ttm__models{columns:1;overflow:visible;flex:none;min-height:0;height:auto}
	.ttm__model{padding:11px 10px;font-size:14.5px}

	/* Na mobilu se ukazuje jen jedna úroveň. */
	.ttm__sheet[data-level="0"] .ttm__panel{display:none}
	/* Panel je uvnitř seznamu sekcí, proto se skrývají jen tlačítka, ne celý seznam. */
	.ttm__sheet[data-level="1"] .ttm__sec-btn,
	.ttm__sheet[data-level="2"] .ttm__sec-btn{display:none}
	.ttm__sheet[data-level="1"] .ttm__bar,
	.ttm__sheet[data-level="2"] .ttm__bar{overflow:visible}
	.ttm__sheet[data-level="1"] .ttm__col--models,
	.ttm__sheet[data-level="2"] .ttm__col--brands{display:none}
	.ttm__sheet[data-level="2"] .ttm__col--models{display:block}
}

@media (min-width:1025px){
	.ttm__bar{justify-content:center}
	.ttm__sheet{display:block!important;visibility:visible!important;transform:none!important}
	.ttm__scrim{display:none}
}

@media (prefers-reduced-motion:reduce){
	.ttm__sheet,.ttm__chev,.ttm__brand,.ttm__model,.ttm__sec-btn{transition:none}
}

/* ---------------------------------------- stránka Všechny kategorie */
.ttmap{font-family:Inter,system-ui,sans-serif;color:#4D565B}
.ttmap a{color:inherit;text-decoration:none}
.ttmap a:hover{color:#017E91;text-decoration:underline}
.ttmap__sec{margin:0 0 42px}
.ttmap__h{font-family:Poppins,Inter,sans-serif;font-size:24px;font-weight:600;color:#0B0B0C;margin:0 0 18px;padding-bottom:10px;border-bottom:2px solid #E6F7F9}
.ttmap__brand{margin:0 0 22px;break-inside:avoid}
.ttmap__h3{font-family:Poppins,Inter,sans-serif;font-size:16px;font-weight:600;color:#046275;margin:0 0 8px}
.ttmap__models{list-style:none;margin:0;padding:0;columns:4;column-gap:22px;font-size:14px}
.ttmap__models li{break-inside:avoid;padding:3px 0}
@media (max-width:1024px){.ttmap__models{columns:2}}
@media (max-width:600px){.ttmap__models{columns:1}.ttmap__h{font-size:20px}}

/* ---------- načítací skeleton + oddělení typů zboží ---------- */
.ttm__skeleton-row{display:block;height:15px;margin:0 10px 15px;border-radius:6px;background:#EEF0F1;break-inside:avoid}
.ttm__group-title{column-span:all;margin:16px 0 8px;font-family:Poppins,Inter,-apple-system,sans-serif;font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#4D565B}
