.vs-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.vs-search { position: relative; padding: 0 1rem .6rem; }
.vs-sbox { display: flex; align-items: center; gap: .6rem; background: var(--bg2); border: 1px solid var(--line); border-radius: 26px; min-height: 48px; padding: 0 1rem; }
.vs-sbox:focus-within { border-color: var(--accent); }
.vs-sbox svg { width: 20px; height: 20px; flex: none; color: var(--muted); }
.vs-sbox input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; font-size: 1rem; color: var(--fg); min-height: 44px; }
.vs-sug { position: absolute; left: 1rem; right: 1rem; top: 100%; margin-top: -.3rem; background: var(--bg2); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; z-index: 5; box-shadow: 0 20px 40px rgba(0,0,0,.5); max-width: 640px; }
.vs-sug[hidden] { display: none; }
.vs-sug button { display: grid; grid-template-columns: 48px 1fr auto; gap: .8rem; align-items: center; width: 100%; text-align: left; padding: .5rem .8rem; min-height: 60px; border-bottom: 1px solid var(--line); }
.vs-sug li:last-child button { border-bottom: 0; }
.vs-sug .sh-art { border-radius: 8px; }
.vs-sug b { font-weight: 600; }
.vs-sug em { font-style: normal; font-family: var(--mono); font-size: .8rem; color: var(--accent); }
.vs-sug mark { background: none; color: var(--accent); }
.vs-sug p { padding: 1rem; color: var(--muted); }
.vs-chips { display: flex; gap: .5rem; overflow-x: auto; padding: .8rem 1rem; scrollbar-width: none; max-width: 1100px; margin: 0 auto; }
.vs-chips::-webkit-scrollbar { display: none; }
.vs-chips button { flex: none; min-height: 44px; padding: 0 1.1rem; border: 1px solid var(--line); border-radius: 22px; font-size: .92rem; white-space: nowrap; }
.vs-chips button[aria-pressed=true] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.vs-tools { display: flex; align-items: center; gap: .6rem; padding: 0 1rem .8rem; max-width: 1100px; margin: 0 auto; }
.vs-tools .sh-ghost b { background: var(--accent); color: #0a0a0b; border-radius: 10px; min-width: 20px; height: 20px; display: inline-grid; place-items: center; font-size: .75rem; }
.vs-tools .sh-ghost b[hidden] { display: none; }
.vs-sort { position: relative; }
.vs-sort select { appearance: none; -webkit-appearance: none; background: var(--bg2); border: 1px solid var(--line); border-radius: 22px; min-height: 44px; padding: 0 2rem 0 1rem; font-size: 1rem; color: var(--fg); max-width: 190px; }
.vs-sort::after { content: "▾"; position: absolute; right: .9rem; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); }
.vs-n { margin-left: auto; font-family: var(--mono); font-size: .75rem; color: var(--muted); white-space: nowrap; }
.vs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem .7rem; padding: 0 1rem; max-width: 1100px; margin: 0 auto; min-height: 60vh; align-content: start; }
.vs-card { display: grid; gap: .45rem; align-content: start; text-align: left; width: 100%; position: relative; }
.vs-card .sh-art { border-radius: 14px; border: 1px solid var(--line); transition: border-color .3s; }
.vs-card:hover .sh-art, .vs-card:active .sh-art { border-color: var(--accent); }
.vs-card b { font-weight: 600; font-size: .95rem; line-height: 1.25; display: block; min-height: 2.5em; }
.vs-card em { font-style: normal; font-family: var(--mono); font-size: .85rem; color: var(--accent); }
.vs-card small { display: block; color: var(--muted); font-size: .78rem; }
.vs-tag { position: absolute; left: .5rem; top: .5rem; background: var(--bg); color: var(--fg); border: 1px solid var(--line); border-radius: 12px; font-family: var(--mono); font-size: .72rem; padding: .15rem .55rem; }
.vs-out .sh-art { opacity: .45; }
.vs-none { text-align: center; padding: 3rem 1rem; }
.vs-none[hidden] { display: none; }
.vs-none p { margin-bottom: 1rem; font-size: 1.1rem; }
.vs-range { width: 100%; height: 44px; accent-color: var(--accent); background: none; }
.vs-check { display: flex; gap: .8rem; align-items: center; min-height: 52px; margin-top: 1rem; border-top: 1px solid var(--line); padding-top: .6rem; }
.vs-check input { width: 22px; height: 22px; accent-color: var(--accent); }
.vs-fbtns { display: grid; grid-template-columns: auto 1fr; gap: .8rem; margin-top: 1rem; }
.vs-fbtns .sh-ghost { min-height: 52px; border-radius: 26px; padding: 0 1.4rem; }
.vs-fswatch[aria-pressed=true] i { box-shadow: 0 0 0 2px var(--bg2), 0 0 0 4px var(--accent); }
.vs-pv { padding: 0; position: fixed; inset: 0; z-index: 80; background: var(--bg); overflow-y: auto; overscroll-behavior: contain; transform: translateX(100%); visibility: hidden; transition: transform .45s var(--expo), visibility 0s .45s; }
.vs-pv.open { transform: none; visibility: visible; transition: transform .45s var(--expo), visibility 0s; }
.vs-pvin { max-width: 980px; margin: 0 auto; padding-bottom: 3rem; }
.vs-gal { display: grid; gap: .6rem; padding: 1rem 1rem 0; }
.vs-main .sh-art { border-radius: 18px; border: 1px solid var(--line); aspect-ratio: 4/3; max-height: 27svh; }
@media (max-width: 759px) { .vs-th { grid-template-columns: repeat(3, 52px); } .vs-gal { padding-top: .6rem; } .vs-info { padding-top: .7rem; } .vs-info h1 { font-size: 1.6rem; margin: .15rem 0 .2rem; } .vs-info .st { margin: .15rem 0 .4rem; } .vs-info .ds { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: .2rem 0 .3rem; } }
@media (min-width: 760px) { .vs-main .sh-art { aspect-ratio: 1; max-height: none; } }
.vs-th { display: grid; grid-template-columns: repeat(3, 72px); gap: .5rem; }
.vs-th button { border: 2px solid transparent; border-radius: 12px; padding: 0; overflow: hidden; min-width: 44px; min-height: 44px; }
.vs-th button[aria-pressed=true] { border-color: var(--accent); }
.vs-th .sh-art { border-radius: 10px; }
.vs-info { padding: 1.2rem 1rem 0; }
.vs-info .cat { font-family: var(--mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); }
.vs-info h1 { font-size: 1.9rem; letter-spacing: -.03em; line-height: 1.05; margin: .3rem 0 .4rem; text-transform: none; }
.vs-info .pr { font-family: var(--mono); font-size: 1.2rem; }
.vs-info .st { font-size: .85rem; color: var(--muted); margin: .3rem 0 .8rem; }
.vs-info .ds { color: var(--muted); max-width: 46ch; }
.vs-rel { padding: 2rem 1rem 0; }
.vs-rel h2 { font-family: var(--mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 500; margin-bottom: .8rem; }
.vs-rel .vs-grid { padding: 0; grid-template-columns: repeat(2, 1fr); min-height: 0; }
@media (min-width: 700px) {
  .vs-grid { grid-template-columns: repeat(4, 1fr); }
  .vs-rel .vs-grid { grid-template-columns: repeat(4, 1fr); }
  .vs-gal { grid-template-columns: 1fr; }
  .vs-pvin { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
  .vs-rel { grid-column: 1 / -1; }
}

/* Útlitsvinna: flokkaflipar yfir vörunet, jafnstór spjöld með einni línu lýsingu, föst kaupa-stika á vörusíðu */
.vs-chips { gap: 1.4rem; padding: .2rem 1rem 0; border-bottom: 1px solid var(--line); max-width: none; }
.vs-chips button { border: 0; border-radius: 0; padding: 0 .3rem; min-width: 44px; color: var(--muted); border-bottom: 2px solid transparent; }
.vs-chips button[aria-pressed=true] { background: none; color: var(--fg); border-color: var(--accent); }
.vs-tools { padding-top: .8rem; }
.vs-card .bl { color: var(--muted); font-size: .8rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.vs-card b { min-height: 0; }
.vs-info .sh-buy { position: sticky; bottom: 0; background: var(--bg); padding: .8rem 0 calc(.8rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); z-index: 3; }
@media (min-width: 700px) {
  .vs-gal { position: sticky; top: 64px; }
  .vs-th { grid-template-columns: repeat(3, 72px); }
}
