/* Wiki do Habblit: Roupas e Itens de mão (local/wiki/roupas.mjs) */
.wkr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr)); gap: .5rem; margin: .6rem 0 0; padding: 0; list-style: none; }
.wkr-card { height: 100%; display: flex; flex-direction: column; align-items: center; gap: .2rem; padding: .45rem .35rem .5rem; border-radius: 2px; text-align: center;
    text-decoration: none; color: var(--ds-text); background: var(--ds-surface); box-shadow: 0 0 0 1px var(--ds-border-soft); }
.wkr-card:hover, .wkr-card:focus-visible { box-shadow: 0 0 0 2px var(--ds-brand), var(--ds-raised); }
.wkr-card img { width: 90px; height: 130px; object-fit: scale-down; image-rendering: pixelated; border-radius: 2px;
    background: #c9dcf3 repeating-conic-gradient(#d7e6f8 0 25%, #c9dcf3 0 50%) 0 0 / 16px 16px; }
.wkr-card b { font-size: .82rem; line-height: 1.2; color: var(--ds-text-strong); overflow-wrap: anywhere; }
.wkr-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: .2rem; margin-top: auto; }
.wkr-tags em { font-style: normal; font-size: .7rem; padding: 0 .3rem; border-radius: 2px; background: var(--ds-surface-alt); color: var(--ds-text-muted); }
.wkr-tags em.wkr-o-loja { background: #e3f0ff; color: #164aa8; }
.wkr-tags em.wkr-o-vip { background: #fff4d6; color: #7a5200; }
.wkr-tags em.wkr-o-mobi { background: #e9f8df; color: #2b6a10; }
.wkr-tags em.wkr-o-caixa { background: #f1e6ff; color: #5b2a9e; }
.wkr-tags em.wkr-o-especial { background: #ffe9f4; color: #b0186a; }

.wkr-filters { display: flex; flex-direction: column; gap: .35rem; margin: .7rem 0 0; }
.wkr-filters .ds-badge { text-decoration: none; }
.wk-chips .ds-badge.is-on { background: var(--ds-lime); color: #10300a; }
.wkr-why { margin: .2rem 0 0; font-size: .85rem; color: var(--ds-text-muted); }
.wkr-why .ds-icon { width: .85rem; height: .85rem; vertical-align: -2px; }

.wkr-pal { display: flex; flex-wrap: wrap; gap: .25rem; margin: .4rem 0 0; padding: 0; list-style: none; }
.wkr-sw { width: 1.6rem; height: 1.6rem; display: grid; place-items: center; border-radius: 2px; background: var(--c); box-shadow: inset 0 0 0 1px #0003, 0 0 0 1px var(--ds-border-soft); color: #fff; }
.wkr-sw .ds-icon { width: .8rem; height: .8rem; filter: drop-shadow(0 0 1px #000); }
.wkr-sw:hover, .wkr-sw:focus-visible { box-shadow: 0 0 0 2px var(--ds-brand); }
.wkr-sw.is-on { box-shadow: 0 0 0 2px var(--ds-text-strong), 0 0 0 4px var(--ds-lime); }

.wkr-dirs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem; margin: .4rem 0 0; padding: 0; list-style: none; }
.wkr-dirs figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: .2rem; padding: .3rem; border-radius: 2px; box-shadow: var(--ds-sunken);
    background: #c9dcf3 repeating-conic-gradient(#d7e6f8 0 25%, #c9dcf3 0 50%) 0 0 / 16px 16px; }
.wkr-dirs img { max-width: 100%; height: auto; image-rendering: pixelated; }
.wkr-dirs figcaption { font-size: .75rem; color: var(--ds-text-muted); }

@media (max-width: 520px) {
    .wkr-grid { grid-template-columns: repeat(auto-fill, minmax(6.6rem, 1fr)); }
    .wkr-card img { width: 90px; height: 130px; }
}
