/* Kuosivalitsin (3M DI-NOC ja Fasara) */
.tt-kuosit { margin: 48px 0 0; padding-top: 32px; border-top: 1px solid rgba(15, 77, 58, .12); }
.tt-kuosit h2 { margin: 0 0 8px; }
.tt-kuosit__lead { max-width: 62ch; color: var(--ink-muted); margin: 0 0 18px; }
.tt-kuosit__bar { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.tt-kuosit__q { width: 100%; max-width: 420px; min-height: 46px; padding: 0 16px; border-radius: 999px; border: 0; box-shadow: 0 0 0 1.5px rgba(15, 77, 58, .2); background: #fff; font: inherit; font-size: 16px; color: var(--green); }
.tt-kuosit__q:focus { outline: none; box-shadow: 0 0 0 2px var(--green); }
.tt-kuosit__tabs { display: flex; flex-wrap: wrap; gap: 8px; padding: 2px; }
.tt-kuosit__tabs small { font-weight: 700; opacity: .6; margin-left: 2px; }
@media (max-width: 640px) { .tt-kuosit__tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; } }
.tt-kuosit__tabs::-webkit-scrollbar { display: none; }
.tt-kuosit__tabs button { flex: none; min-height: 38px; padding: 0 14px; border: 0; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1.5px rgba(15, 77, 58, .16); color: var(--green); font: inherit; font-weight: 800; font-size: 14px; cursor: pointer; white-space: nowrap; }
.tt-kuosit__tabs button.is-on { background: var(--green); color: var(--cream); box-shadow: none; }
.tt-kuosit__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.tt-kuosi[hidden] { display: none; }
.tt-kuosi__b { position: relative; width: 100%; display: flex; flex-direction: column; text-align: left; padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1.5px rgba(15, 77, 58, .12); color: var(--green); font: inherit; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.tt-kuosi__b:hover { transform: translateY(-2px); box-shadow: 0 0 0 2px var(--green); }
.tt-kuosi__b[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--green); }
.tt-kuosi__sw { display: block; aspect-ratio: 4 / 3; background: var(--sw, #ddd); }
.tt-kuosi__sw img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tt-kuosi__sw--puu { background: repeating-linear-gradient(100deg, #a8754a 0 6px, #b98557 6px 9px, #9b6a41 9px 15px, #b07c50 15px 22px); }
.tt-kuosi__sw--metalli { background: linear-gradient(180deg, #d9dcdd, #9aa0a3 45%, #c9cdce 55%, #8c9295); }
.tt-kuosi__sw--kivi { background: radial-gradient(ellipse at 30% 40%, transparent 40%, rgba(120, 120, 120, .25) 41%, transparent 44%), linear-gradient(135deg, #f1efea, #dcd9d2); }
.tt-kuosi__sw--nahka { background: radial-gradient(circle, rgba(255, 255, 255, .08) 1px, transparent 1.5px) 0 0 / 5px 5px, #4a3a2e; }
.tt-kuosi__sw--hiili { background: repeating-linear-gradient(45deg, #3a3d40 0 4px, #2a2c2e 4px 8px); }
.tt-kuosi__sw--helmi { background: linear-gradient(135deg, #efe4cf, #d8c6a4 50%, #f3eadb); }
.tt-kuosi__sw--abstr { background: linear-gradient(135deg, #cbbfae, #8d8270 60%, #b5a891); }
.tt-kuosi__sw--fasara { background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .85) 0 3px, rgba(255, 255, 255, .45) 3px 9px), linear-gradient(135deg, #bcd3d8, #e6eef0); }
.tt-kuosi__sw--yksi { background: var(--sw, #ddd); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .06); }
.tt-kuosi__sw:has(img) { background: #eee; }
.tt-kuosi__t { display: flex; flex-direction: column; gap: 2px; padding: 10px 40px 12px 12px; min-width: 0; }
.tt-kuosi__t b { font-size: 15px; font-weight: 900; }
.tt-kuosi__t small { font-size: 13px; color: var(--ink-muted); line-height: 1.3; }
.tt-kuosi__add { position: absolute; right: 10px; bottom: 12px; width: 24px; height: 24px; border-radius: 50%; box-shadow: 0 0 0 1.5px var(--green); display: grid; place-items: center; }
.tt-kuosi__add::before { content: "+"; font-weight: 900; line-height: 1; }
.tt-kuosi__b[aria-pressed="true"] .tt-kuosi__add { background: var(--green); color: var(--yellow); box-shadow: none; }
.tt-kuosi__b[aria-pressed="true"] .tt-kuosi__add::before { content: "✓"; }
.tt-kuosit__empty { margin: 12px 0 0; }
.tt-kuosit__sel { position: sticky; bottom: 16px; z-index: 20; margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 20px; border-radius: 999px; background: var(--green); color: var(--cream); font-weight: 800; box-shadow: 0 12px 30px rgba(15, 42, 32, .25); }
.tt-kuosit__sel[hidden] { display: none; }
@media (max-width: 640px) {
	.tt-kuosit__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.tt-kuosit__sel { bottom: 84px; padding-left: 16px; font-size: 14px; }
	.tt-kuosit__sel .btn { padding-inline: 14px; }
}
.tt-kuosit__more { margin: 16px 0 0; text-align: center; }
.tt-kuosit__more .btn[hidden] { display: none; }
.tt-kuosit__short { display: none; }
.tt-ksel-on .to-top { opacity: 0 !important; pointer-events: none !important; }
@media (max-width: 640px) { .tt-kuosit__long { display: none; } .tt-kuosit__short { display: inline; } .tt-kuosit__sel .btn { white-space: nowrap; } }
.tt-kuosi__sw--tekstiili { background: repeating-linear-gradient(0deg, rgba(255,255,255,.12) 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, rgba(0,0,0,.08) 0 1px, transparent 1px 3px), #8a7b6c; }
.tt-kuosi__sw--kivi { background: linear-gradient(115deg, transparent 46%, rgba(110,105,98,.28) 47%, transparent 49%), linear-gradient(160deg, transparent 62%, rgba(110,105,98,.18) 63%, transparent 64.5%), linear-gradient(135deg, #ece9e2, #d3cfc6); }
.tt-kuosit__note { margin: 10px 0 0; font-size: 13px; color: var(--ink-muted); }
