 @import url('https://fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic&amp;subset=latin');
  @import url('https://fonts.googleapis.com/css?family=Montserrat:400,700');
  @import url('https://fonts.googleapis.com/css?family=Raleway:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i');
  
  :root {
  --bg: #f7f6f2;
  --surface: #fffdf9;
  --surface-soft: #f1ede7;
  --surface-strong: #ebe5dd;
  --border: rgba(40, 37, 29, 0.12);
  --text: #28251d;
  --muted: #6f6a63;
//  --muted: rgba(208, 199, 175, 1);
  --accent: #01696f;
  --accent-soft: rgba(1, 105, 111, 0.08);
  --shadow: 0 18px 40px rgba(40, 37, 29, 0.08);
  --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: linear-gradient(180deg, #faf8f4 0%, #f4f1eb 100%);
  color: var(--text);
  line-height: 1.5;
}
a { color: var(--accent); }

button { font: inherit; }
.wrapper {
  width: min(100%, 1600px);
  margin: 0 auto;
  padding: clamp(16px, 2vw, 28px);
}
header {
  margin-bottom: 18px;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: end;
  flex-wrap: wrap;
}
.title h1 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}
.title p, .meta {
  margin: 8px 0 0;
  color: var(--muted);
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}
.nav a {
  text-decoration: none;
  padding: 9px 13px;
  background: rgb(50, 19, 24);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: white;
  backdrop-filter: blur(8px);
}

.nav a:hover { background: var(--color-primary-hover); }

.card {
  background: rgba(255,255,255,.8);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: clip;
  backdrop-filter: blur(10px);
}
.table-shell { display: grid; }
.table-wrap {
  width: 100%;
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: rgba(241,237,231,.96);
  backdrop-filter: blur(10px);
}
th, td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  text-align: left;
  font-size: 14px;
}
tr:last-child td { border-bottom: none; }
tbody tr:hover { background: rgba(1,105,111,.03); }
th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
}
.name { min-width: 230px; font-weight: 700; }
.id { white-space: nowrap; font-weight: 700; }
.details { min-width: 220px; color: var(--muted); white-space: pre-line; }
.cond { min-width: 110px; }
.qty, .num { text-align: right; white-space: nowrap; }
.thumb-stack { display: flex; flex-wrap: wrap; gap: 10px; min-width: 112px; }
.thumb-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
}
.thumb-link img {
  width: 88px;
  height: 66px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-soft);
  box-shadow: 0 8px 20px rgba(40,37,29,.08);
}
.thumb-link:hover img,
.thumb-link:focus-visible img { transform: translateY(-1px); }
.thumb-link img { transition: transform .18s ease, box-shadow .18s ease; }
.muted { color: var(--muted); }
.index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.index-card {
  padding: 18px;
//  background: rgba(255,255,255,.82);
background: var(--color-primary);
  border: 1px solid var(--border);
  border-radius: 20px;
  text-decoration: none;
  color: white;
  box-shadow: var(--shadow);
}

.index-card:hover{
  background: var(--color-primary-hover);
}

.index-card strong { display: block; font-size: 1.08rem; margin-bottom: 6px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
}
.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 18, 20, .78);
  backdrop-filter: blur(8px);
  z-index: 999;
}
.lightbox[aria-hidden="false"] { display: flex; }
.lightbox-dialog {
  position: relative;
  width: min(100%, 1100px);
  max-height: 100%;
  display: grid;
  gap: 12px;
  justify-items: center;
}
.lightbox-image {
  max-width: 100%;
  max-height: min(80vh, 900px);
  width: auto;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
  background: white;
}
.lightbox-caption {
  color: white;
  text-align: center;
  font-size: 14px;
}
.lightbox-close {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(0,0,0,.4);
  color: white;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.mobile-cards { display: none; }
.mobile-list { display: grid; gap: 14px; }
.mobile-item {
  padding: 16px;
  border-bottom: 1px solid var(--border);
}
.mobile-item:last-child { border-bottom: none; }
.mobile-item h2 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  line-height: 1.2;
}
.mobile-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  margin-top: 12px;
}
.mobile-meta div { min-width: 0; }
.mobile-meta dt {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  margin-bottom: 3px;
}
.mobile-meta dd { margin: 0; font-size: 14px; }
.mobile-photos { margin-top: 14px; }
@media (max-width: 920px) {
  .table-wrap { display: none; }
  .mobile-cards { display: block; }
}
@media (max-width: 640px) {
  .wrapper { padding: 14px; }
  .nav { gap: 8px; }
  .nav a { padding: 8px 11px; font-size: 13px; }
  .mobile-meta { grid-template-columns: 1fr 1fr; }
  .lightbox { padding: 16px; }
  .lightbox-close { top: 8px; right: 8px; }
}