/* Färggalleriet (/kombinationer/, /farger/ och engelska motsvarigheter). Ingen JavaScript. */
.crumbs ol { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 6px; font-size: 15px; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.crumbs a { color: var(--muted); }
.lead { color: var(--muted); font-size: 19px; }
.sub { color: var(--muted); margin-top: 0; }
small { color: var(--muted); font-weight: 400; font-size: .8em; }

.stripes { display: flex; height: 64px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.stripes i { flex: 1; }
.stripes.big { height: 180px; border-radius: 16px; margin: 16px 0 20px; }

.cards { list-style: none; padding: 0; margin: 16px 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.cards.small { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
.card a { display: block; text-decoration: none; color: var(--ink); }
.card .num { display: block; font-weight: 600; font-size: 15px; margin-top: 6px; }
.card .names { display: block; color: var(--muted); font-size: 13px; line-height: 1.35; }
.card a:hover .num, .card a:focus-visible .num { text-decoration: underline; }

.filters fieldset { border: 0; padding: 0; margin: 12px 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filters legend { font-size: 14px; color: var(--muted); padding: 0; margin-bottom: 6px; width: 100%; }
.filters input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.filters label { font-size: 15px; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 5px 14px; cursor: pointer; }
.filters input:checked + label { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.filters input:focus-visible + label { outline: 2px solid var(--ink); outline-offset: 2px; }

.chips { list-style: none; padding: 0; margin: 10px 0 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px 4px 4px; font-size: 15px; }
.chip i { width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(0,0,0,.08); }
.chip:hover { border-color: var(--ink); }
th .chip { font-weight: 400; }

.swatch { height: 200px; border-radius: 16px; border: 1px solid var(--line); margin: 16px 0; }
.values { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; margin: 0 0 16px; }
.values div { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; }
.values dt { font-size: 13px; color: var(--muted); }
.values dd { margin: 0; font-variant-numeric: tabular-nums; }

.table { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 15px; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
thead th { color: var(--muted); font-weight: 400; font-size: 13px; }

.share { display: flex; height: 22px; border-radius: 999px; overflow: hidden; border: 1px solid var(--line); margin: 8px 0 12px; }
.roles { list-style: none; padding: 0; }
.roles li { margin: 8px 0; }
.dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; vertical-align: -2px; margin-right: 8px; border: 1px solid rgba(0,0,0,.1); }
.note { color: var(--muted); font-size: 15px; }

.cta { margin: 40px 0 0; padding: 22px 24px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.cta h2 { margin-top: 0; }
.btn { display: inline-block; padding: 10px 20px; border-radius: 999px; background: var(--ink); color: var(--bg); text-decoration: none; font-weight: 600; }
.btn:hover { opacity: .88; }
pre { white-space: pre-wrap; font-size: 13px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px; }
footer.site { max-width: 720px; margin: 0 auto; padding: 0 24px 48px; text-align: left; }
footer.site .source { font-size: 14px; }
.links li { margin: 6px 0; }

/* Startsidorna / och /en/ */
.home-top { border-bottom: 0; justify-content: flex-end; }
.screens ul { list-style: none; margin: 16px -24px 0; padding: 8px 24px 20px; display: flex; gap: 24px; justify-content: safe center; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.screens ul::-webkit-scrollbar { display: none; }
.screens ul:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.phone { flex: 0 0 auto; scroll-snap-align: center; padding: 8px; background: var(--ink); border-radius: 34px; box-shadow: 0 10px 28px rgba(29, 43, 68, .18); }
.phone img { display: block; width: 192px; height: auto; border-radius: 26px; background: var(--line); }
.wada { margin-top: 40px; text-align: center; }
.wada .cards { text-align: left; }
.cards.three { grid-template-columns: repeat(3, 1fr); gap: 12px; }
.wada .all { margin-top: 8px; }
.hero .hero-btn { margin-top: 8px; font-size: 16px; color: var(--bg); }

.gallery:has(#f-red:checked) .card:not(.f-red) { display: none; }
.gallery:has(#f-pink:checked) .card:not(.f-pink) { display: none; }
.gallery:has(#f-orange:checked) .card:not(.f-orange) { display: none; }
.gallery:has(#f-yellow:checked) .card:not(.f-yellow) { display: none; }
.gallery:has(#f-green:checked) .card:not(.f-green) { display: none; }
.gallery:has(#f-blue:checked) .card:not(.f-blue) { display: none; }
.gallery:has(#f-purple:checked) .card:not(.f-purple) { display: none; }
.gallery:has(#f-brown:checked) .card:not(.f-brown) { display: none; }
.gallery:has(#f-neutral:checked) .card:not(.f-neutral) { display: none; }
.gallery:has(#n-2:checked) .card:not(.n-2) { display: none; }
.gallery:has(#n-3:checked) .card:not(.n-3) { display: none; }
.gallery:has(#n-4:checked) .card:not(.n-4) { display: none; }
