/* --- lehe pais --------------------------------------------------------- */
.cat-head {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.cat-head-in {
  padding: clamp(1.4rem, 3vw, 2.6rem) var(--gut) clamp(1.3rem, 2.6vw, 2.2rem);
  display: grid;
  gap: 1.4rem 3rem;
  align-items: end;
}
@media (min-width: 900px) {
  .cat-head-in {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}
.cat-head-txt {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  align-items: flex-start;
}
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0 0 0.15rem;
  padding: 0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--text-2);
}
.crumbs li + li::before {
  content: '/';
  margin-right: 0.5rem;
  opacity: 0.55;
}
.crumbs a {
  text-decoration: none;
}
.crumbs a:hover {
  color: var(--brand);
  text-decoration: underline;
}
.crumbs [aria-current] {
  color: var(--text);
}
.cat-head .lede {
  color: var(--text-2);
}
.head-facts {
  display: grid;
  grid-template-columns: repeat(3, auto);
  margin: 0;
  border: 1px solid var(--line);
  background: var(--surface);
}
.head-facts div {
  padding: 0.8rem 1.1rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.head-facts div + div {
  border-left: 1px solid var(--line);
}
.head-facts dt {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-2);
}
.head-facts dd {
  margin: 0;
  font-family: Jost, sans-serif;
  font-weight: 700;
  font-size: 1.45rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.head-facts dd em {
  font-style: normal;
  font-size: 0.55em;
  font-weight: 500;
  letter-spacing: 0.02em;
}
@media (max-width: 599px) {
  .head-facts {
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
  }
  .head-facts div {
    padding: 0.65rem 0.75rem;
  }
  .head-facts dd {
    font-size: 1.15rem;
  }
}

/* --- kategooriariba ----------------------------------------------------- */
/* teravad 1px joontega plaadid; aktiivset tahistab logoraami poolitatud joon.
   Koik plaadid on alati naha: riba murdub ridadeks (2 / 3 / 4 / 7 veergu), kulgsuunas ei keri.
   Pikim sona "Liivatuskastid" mahub tekstiveergu igal laiusel alates 360px. */
.cats {
  --th: clamp(2.4rem, 3.2vw, 3.4rem);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
  margin: 0;
  padding: 0;
  list-style: none;
}
.cats li {
  display: flex;
}
.cats li:first-child {
  grid-column: 1/-1;
} /* "Koik tooted" oma real, kategooriad 2 x 3 */
@media (min-width: 600px) {
  .cats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 800px) {
  .cats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .cats li:first-child {
    grid-column: auto;
    grid-row: span 2;
  } /* "Koik tooted" kahe rea korgune, kategooriad 3 x 2 */
}
@media (min-width: 1400px) {
  .cats {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
  .cats li:first-child {
    grid-row: auto;
  }
}
.cat {
  flex: 1;
  min-width: 0;
  position: relative;
  background: var(--surface);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.85rem 0.7rem 0.7rem;
  text-decoration: none;
  transition: background-color 0.18s ease;
}
.cat:hover {
  background: var(--paper);
}
.cat .thumb {
  width: var(--th);
  height: var(--th);
  background: var(--plate);
  position: relative;
  flex: none;
}
.cat .thumb img {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 88%;
  height: 88%;
  object-fit: contain;
}
.cat .thumb svg {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 47%;
  height: 47%;
  color: var(--text-2);
}
.cat b {
  display: block;
  font-family: Jost, sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.15;
  overflow-wrap: break-word;
}
.cat .num {
  display: block;
  font-size: 0.7rem;
  color: var(--text-2);
  margin-top: 0.2rem;
}
@media (max-width: 599px) {
  .cat {
    gap: 0.6rem;
    padding: 0.6rem 0.7rem 0.6rem 0.6rem;
  }
  .cat b {
    font-size: 0.78rem;
  }
}
/* alla 360px pisipilt peidetud, et pikk nimi mahuks tervena */
@media (max-width: 359px) {
  .cat {
    grid-template-columns: minmax(0, 1fr);
  }
  .cat .thumb {
    display: none;
  }
}
.cat[aria-current='page'] {
  background: var(--panel);
}
.cat[aria-current='page']::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand) 0 50%, var(--rule-2) 50% 100%);
}
.cat[aria-current='page'] .num {
  color: var(--brand);
}

/* --- paigutus: filtrid + tulemused ------------------------------------ */
/* kogu akna laiuses nagu avalehe paneelid - laial ekraanil lisandub tootevorku veerge */
.cat-layout {
  padding: clamp(1.25rem, 2.4vw, 2rem) var(--gut) var(--step);
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 1081px) {
  .cat-layout {
    grid-template-columns: 17.5rem minmax(0, 1fr);
    gap: clamp(2rem, 3vw, 3rem);
    align-items: start;
  }
}

/* --- filtripaneel ------------------------------------------------------- */
.filters {
  background: var(--surface);
}
.f-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.9rem;
}
.f-head h2 {
  font-size: 1.15rem;
  letter-spacing: 0.06em;
}
.f-reset {
  border: none;
  background: none;
  padding: 0.3rem 0;
  cursor: pointer;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.f-reset[disabled] {
  color: var(--text-2);
  opacity: 0.6;
  text-decoration: none;
  cursor: default;
}
.f-close,
.f-foot {
  display: none;
}
@media (min-width: 1081px) {
  .filters {
    position: sticky;
    top: calc(var(--nav-h) + 1rem);
    max-height: calc(100vh - var(--nav-h) - 2rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    padding-right: 0.6rem;
    margin-right: -0.6rem;
  }
}
.fg {
  border-top: 1px solid var(--line);
}
.fg:last-of-type {
  border-bottom: 1px solid var(--line);
}
.fg-head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0.95rem 0;
  text-align: left;
}
.fg-head .t {
  font-family: Jost, sans-serif;
  font-weight: 600;
  font-size: 0.84rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.fg-head .v {
  margin-left: auto;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  color: var(--brand);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 60%;
}
.fg-head svg {
  width: 13px;
  height: 13px;
  flex: none;
  transition: transform 0.18s ease;
}
.fg-head .v:empty + svg {
  margin-left: auto;
}
.fg-head[aria-expanded='false'] svg {
  transform: rotate(-90deg);
}
.fg-body {
  padding-bottom: 1.15rem;
}
.fg-note {
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--text-2);
  margin: -0.2rem 0 0.9rem;
}
.fg-sub {
  margin-top: 1rem;
}
.fg-sub:first-of-type {
  margin-top: 0;
}
.fg-sub-h {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.2rem;
  font-size: 0.82rem;
  font-weight: 500;
}
.fg-sub-h .num {
  font-size: 0.68rem;
  color: var(--text-2);
  font-weight: 400;
}

/* valikud: teravate nurkadega margid, arv paremal */
.opts {
  list-style: none;
  margin: 0;
  padding: 0;
}
.opt {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.38rem 0;
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1.3;
}
.opt input {
  appearance: none;
  -webkit-appearance: none;
  width: 1.1rem;
  height: 1.1rem;
  margin: 0;
  flex: none;
  border: 1.5px solid var(--text-2);
  background: var(--surface);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.opt input:checked {
  background: var(--brand);
  border-color: var(--brand);
}
.opt input:checked::after {
  content: '';
  width: 0.55rem;
  height: 0.3rem;
  border: solid var(--on-brand);
  border-width: 0 0 2px 2px;
  transform: translateY(-1px) rotate(-45deg);
}
.opt input:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
.opt .ic {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--text-2);
}
.opt .lb small {
  display: block;
  font-size: 0.72rem;
  color: var(--text-2);
}
.opt .n {
  margin-left: auto;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  color: var(--text-2);
}
.opt.zero {
  opacity: 0.42;
  cursor: default;
}
.opt.zero input {
  cursor: default;
}
.opt:not(.zero):hover .lb {
  color: var(--brand);
}

/* luliti: ruudukujuline nupp, sobib logo geomeetriaga */
.switch {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.9rem;
  padding: 0.2rem 0;
}
.switch input {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  flex: none;
  width: 2.5rem;
  height: 1.35rem;
  background: var(--line);
  position: relative;
  cursor: pointer;
  transition: background-color 0.18s ease;
}
.switch input::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: calc(1.35rem - 6px);
  height: calc(1.35rem - 6px);
  background: var(--surface);
  transition: transform 0.18s ease;
}
.switch input:checked {
  background: var(--brand);
}
.switch input:checked::before {
  transform: translateX(calc(2.5rem - 1.35rem));
}
.switch .n {
  margin-left: auto;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  color: var(--text-2);
}
.switch small {
  display: block;
  font-size: 0.72rem;
  color: var(--text-2);
}
.tb-count:focus {
  outline: none;
}

/* vahemikuliugur: kaks natiivset range-sisendit uksteise peal + numbrivaljad */
.hist {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 2.4rem;
  margin: 0 0.55rem;
}
.hist i {
  flex: 1;
  background: var(--hist);
  min-height: 2px;
  transition: background-color 0.15s ease;
}
.hist i.on {
  background: var(--hist-on);
}
.range {
  position: relative;
  height: 1.9rem;
  margin: 0 0.55rem;
}
.range .track,
.range .fill {
  position: absolute;
  top: 50%;
  height: 3px;
  transform: translateY(-50%);
}
.range .track {
  left: 0;
  right: 0;
  background: var(--line);
}
.range .fill {
  background: var(--brand);
}
.range input {
  position: absolute;
  left: -0.55rem;
  width: calc(100% + 1.1rem);
  top: 0;
  height: 100%;
  margin: 0;
  background: none;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
}
.range input::-webkit-slider-runnable-track {
  background: none;
  height: 100%;
}
.range input::-moz-range-track {
  background: none;
}
.range input::-webkit-slider-thumb {
  -webkit-appearance: none;
  pointer-events: auto;
  cursor: grab;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.4rem;
  background: var(--surface);
  border: 2px solid var(--brand);
  border-radius: 0;
}
.range input::-moz-range-thumb {
  pointer-events: auto;
  cursor: grab;
  width: 1.1rem;
  height: 1.1rem;
  box-sizing: border-box;
  background: var(--surface);
  border: 2px solid var(--brand);
  border-radius: 0;
}
.range input:active::-webkit-slider-thumb {
  cursor: grabbing;
  background: var(--brand);
}
.range input:active::-moz-range-thumb {
  cursor: grabbing;
  background: var(--brand);
}
.range input:focus-visible {
  outline: none;
}
.range input:focus-visible::-webkit-slider-thumb {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
.range input:focus-visible::-moz-range-thumb {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
.rin-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.45rem;
  align-items: center;
  margin-top: 0.45rem;
}
.rin-row > span {
  color: var(--text-2);
  font-size: 0.8rem;
}
.rin {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  height: 2.35rem;
  padding: 0 0.55rem;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: text;
}
.rin:focus-within {
  border-color: var(--brand);
  box-shadow: inset 0 0 0 1px var(--brand);
}
.rin input {
  border: 0;
  background: none;
  width: 100%;
  min-width: 0;
  padding: 0;
  outline: none;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.rin i {
  font-style: normal;
  font-size: 0.8rem;
  color: var(--text-2);
} /* sans: yhik "l" ei paista "1" moodi */
.rin.bad {
  border-color: var(--warn);
}

/* mobiil ja tahvel: filtrid taisekraanil, all "Naita N toodet" */
@media (max-width: 1080px) {
  .filters {
    display: none;
  }
  .filters.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    z-index: 100;
  }
  .filters.open .f-head {
    padding: 0.8rem var(--gut);
    border-bottom: 1px solid var(--line);
    flex: none;
  }
  .f-head .f-reset {
    margin-left: auto;
  }
  .f-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-right: -0.6rem;
    border: none;
    background: none;
    cursor: pointer;
  }
  .f-close svg {
    width: 20px;
    height: 20px;
  }
  .f-body {
    flex: 1;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0 var(--gut) 1.5rem;
  }
  .fg:first-of-type {
    border-top: none;
  }
  .fg-head {
    padding: 1.05rem 0;
    min-height: 52px;
  }
  .opt {
    padding: 0.62rem 0;
    min-height: 44px;
  }
  .opt input {
    width: 1.3rem;
    height: 1.3rem;
  }
  .range {
    height: 2.75rem;
    margin: 0 0.8rem;
  }
  .hist {
    margin: 0 0.8rem;
  }
  .range input {
    left: -0.8rem;
    width: calc(100% + 1.6rem);
  }
  .range input::-webkit-slider-thumb {
    width: 1.6rem;
    height: 1.6rem;
    margin-top: 0.575rem;
  }
  .range input::-moz-range-thumb {
    width: 1.6rem;
    height: 1.6rem;
  }
  .rin {
    height: 2.75rem;
  }
  .rin input {
    font-size: 16px;
  } /* iOS ei suumi fookuses */
  .f-foot {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.6rem;
    flex: none;
    padding: 0.75rem var(--gut) calc(0.75rem + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: var(--surface);
  }
  .f-foot .btn {
    padding-block: 0.9rem;
  }
}

/* --- tooriba ------------------------------------------------------------ */
.results {
  min-width: 0;
  container-type: inline-size;
}
.tb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.tb-count {
  margin-right: auto;
  font-family: Jost, sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  white-space: nowrap;
}
.tb-count b {
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.search {
  position: relative;
  flex: 1 1 13rem;
  max-width: 20rem;
}
.search svg {
  position: absolute;
  left: 0.7rem;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--text-2);
  pointer-events: none;
}
.search input {
  width: 100%;
  height: 2.6rem;
  padding: 0 0.75rem 0 2.2rem;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 0.88rem;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}
.search input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: inset 0 0 0 1px var(--brand);
}
.search input::placeholder {
  color: var(--text-2);
}
.sel {
  position: relative;
  display: flex;
  align-items: center;
}
.sel select {
  height: 2.6rem;
  padding: 0 2.1rem 0 0.8rem;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.76rem;
}
.sel select:focus-visible {
  outline: none;
  border-color: var(--brand);
  box-shadow: inset 0 0 0 1px var(--brand);
}
.sel svg {
  position: absolute;
  right: 0.75rem;
  width: 12px;
  height: 12px;
  pointer-events: none;
}
.mbar {
  display: none;
}
@media (max-width: 1080px) {
  .tb .sel {
    display: none;
  }
  .search {
    max-width: none;
    flex-basis: 100%;
    order: 3;
  }
  /* kleepuv riba paise all: filtrid + jarjestus alati poidla ulatuses */
  .mbar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--line);
    position: sticky;
    top: var(--nav-h);
    z-index: 50;
    border-bottom: 1px solid var(--line);
    margin: 0 calc(var(--gut) * -1) 1rem;
  }
  .mbar > * {
    background: var(--surface);
  }
  .mbar button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    height: 3.1rem;
    border: none;
    cursor: pointer;
    font-family: Jost, sans-serif;
    font-weight: 600;
    font-size: 0.84rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
  }
  .mbar button svg {
    width: 17px;
    height: 17px;
  }
  .mbar .badge {
    background: var(--brand);
    color: var(--on-brand);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.68rem;
    min-width: 1.25rem;
    height: 1.25rem;
    display: grid;
    place-items: center;
    padding: 0 0.25rem;
    letter-spacing: 0;
  }
  /* jarjestuse nimetus on pikk ("Hind: odavamad enne") - mono kiri mahub ka 360px ekraanil */
  .mbar .sel select {
    width: 100%;
    height: 3.1rem;
    border: none;
    text-align: center;
    text-align-last: center;
    padding: 0 1.9rem 0 1rem;
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 500;
    font-size: 0.74rem;
    letter-spacing: 0.02em;
  }
  .mbar .sel svg {
    right: 0.9rem;
  }
}

/* valitud filtrid kiipidena - uhe puutega eemaldatavad */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  padding-top: 0.9rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid var(--brand);
  background: var(--surface);
  color: var(--brand);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.36rem 0.5rem 0.36rem 0.7rem;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background-color 0.15s ease,
    color 0.15s ease;
}
.chip svg {
  width: 10px;
  height: 10px;
  flex: none;
}
.chip:hover {
  background: var(--brand);
  color: var(--on-brand);
}
.chip-clear {
  border: none;
  background: none;
  cursor: pointer;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  color: var(--text-2);
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0.36rem 0.3rem;
  white-space: nowrap;
}
.chip-clear:hover {
  color: var(--text);
}
@media (max-width: 1080px) {
  .chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    margin-inline: calc(var(--gut) * -1);
    padding-inline: var(--gut);
  }
  .chips::-webkit-scrollbar {
    display: none;
  }
  .chip {
    padding-block: 0.55rem;
  }
}

/* --- naita veel / tuhi tulemus -------------------------------------------- */
.more {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  padding-top: 2.2rem;
}
.more p {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--text-2);
}
.bar {
  width: min(16rem, 100%);
  height: 3px;
  background: var(--line);
  position: relative;
}
.bar i {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: var(--brand);
}
.empty {
  margin-top: 1.25rem;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}
.empty h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}
.empty p {
  color: var(--text-2);
  max-width: 40rem;
}
.sugg {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.sugg button {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
  padding: 0.55rem 0.8rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.74rem;
  text-align: left;
}
.sugg button b {
  font-weight: 600;
  color: var(--brand);
}
.sugg button:hover {
  border-color: var(--brand);
}
.empty .alt {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  margin-top: 0.4rem;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

/* --- veoklasside selgitus ---------------------------------------------------- */
.band {
  padding: var(--step) var(--gut);
}
.wrap {
  max-width: 1280px;
  margin-inline: auto;
  width: 100%;
}
.ship-band {
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.band-head {
  display: grid;
  gap: 1rem 3rem;
  align-items: end;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
@media (min-width: 900px) {
  .band-head {
    grid-template-columns: 1fr 1fr;
  }
}
.band-head > div {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}
.band-head .lede {
  color: var(--text-2);
}
.ship-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 560px) {
  .ship-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1000px) {
  .ship-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.ship-grid li {
  background: var(--surface);
  padding: 1.5rem 1.35rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.ship-grid .ic {
  width: 2.6rem;
  height: 2.6rem;
  color: var(--brand);
}
.ship-grid h3 {
  font-size: 1.15rem;
}
.ship-grid p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-2);
}
.ship-grid dl {
  margin: auto 0 0;
  padding-top: 0.8rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.2rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  color: var(--text-2);
}
.ship-grid dl div {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
}
.ship-grid dd {
  margin: 0;
  color: var(--text);
  text-align: right;
}
.ship-note {
  margin-top: 1.1rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  color: var(--text-2);
}
