* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: #21170d;
  background: #eee8dc url("assets/parchment-bg.jpg") center/cover fixed;
}

.page {
  width: min(1000px, 94vw);
  margin: 0 auto;
  background: #fffdf8;
  box-shadow: 0 4px 30px rgba(0,0,0,.18);
  min-height: 100vh;
}

.site-header {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  border-top: 8px solid #111;
  border-bottom: 1px solid #d7d0c2;
  background: #fff;
}

.logo {
  color: #111;
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .03em;
   font-size: 2.1em;
}

.nav {
  display: flex;
  gap: 24px;
  font-family: Arial, sans-serif;
  font-size: .82rem;
}

.nav a {
  color: #222;
  text-decoration: none;
}

.nav a:hover { text-decoration: underline; }

.hero0 {
  min-height: 300px;
  margin: 0 60px;
  background:
    linear-gradient(rgba(0,0,0,.08), rgba(0,0,0,.2)),
    url("assets/hero-antique-militaria.jpg") center/cover no-repeat;
  display: grid;
  place-items: center;
  text-align: center;
}

.herox {
  min-height: 300px;
  margin: 0 60px;
  background:
    linear-gradient(rgba(0,0,0,.08), rgba(0,0,0,.2)),
    url("assets/header32.jpg") center/cover no-repeat;
  display: grid;
  place-items: center;
  text-align: center;
max-width: 100%;
height: auto;
}

.hero {
  margin: 0 60px;
  min-height: 0;
  display: block;
  background: none;
}

.hero img {
  display: block;
  width: 100%;
  height: auto;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1;
  color: #f0ce8b;
  text-shadow: 0 2px 5px #000;
}

.button {
  display: inline-block;
  background: #183a66;
  color: #fff;
  text-decoration: none;
  padding: 11px 24px;
  border-radius: 3px;
  font: 700 .92rem Arial, sans-serif;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25);
}


.content {
  display: grid;
  grid-template-columns: 170px 1fr 170px;
  gap: 22px;
  padding: 28px 60px 50px;
  align-items: start;
}

/* --------------------------------------- */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font: 700 .85rem Arial, sans-serif;
}

.sidebar a {
  display: block;
  color: #3a2f22;
  text-decoration: none;
  padding: 10px 12px;
  border-left: 3px solid transparent;
  border-radius: 2px;
}

.sidebar a:hover {
  background: #f3ecdc;
  border-left-color: #8a6d3b;
  color: #111;
}

.sidebar a.active {
  background: #efe3ce;
  border-left-color: #2d241b;
  color: #111;
}

/* --------------------------------------- */

.inventory {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: #fff;
  border: 1px solid #d5c7b3;
  border-radius: 4px;
  padding: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  font-family: Arial, sans-serif;
}

.card img {
  width: 100%;
  aspect-ratio: 1.35 / 1;
  object-fit: cover;
  border: 1px solid #c8b99f;
  display: block;
  margin-bottom: 10px;
}

.card h2 {
  font-size: .9rem;
  line-height: 1.15;
  margin: 0 0 8px;
}

.card p {
  margin: 0 0 8px;
  font-weight: 700;
  font-size: .85rem;
}

.card a {
  color: #111;
  font-weight: 700;
  font-size: .82rem;
  text-decoration: none;
}

.contact-box {
  border-left: 1px solid #e2d8c8;
  padding-left: 20px;
  font: .95rem Arial, sans-serif;
  text-align: center;
}

.contact-box p { margin: 8px 0 22px; }

/*****

******/

.inventory-list { min-width: 0; }

.inventory-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 3px double #c8b99f;
}

.inventory-heading h2 {
  margin: 0 0 6px;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.1;
}

.inventory-heading p {
  margin: 0;
  color: #5b4a36;
  font: .95rem Arial, sans-serif;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid #d4c4aa;
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
  background: #fff;
}

.inventory-table {
  width: 100%;
  border-collapse: collapse;
  font-family: Arial, sans-serif;
  font-size: .95rem;
}

.inventory-table th {
  background: #2d241b;
  color: #f3d38d;
  text-align: left;
  padding: 12px 14px;
  letter-spacing: .02em;
}

.inventory-table td {
  padding: 11px 14px;
  border-bottom: 1px solid #eadfce;
  vertical-align: top;
}

.inventory-table tr:nth-child(even):not(.category-row) {
  background: #fbf6ed;
}

.inventory-table td:nth-child(2),
.inventory-table td:nth-child(3) {
  white-space: nowrap;
  width: 115px;
}

.inventory-table td:nth-child(3) {
  text-align: right;
  font-weight: 700;
}

.category-row td {
  background: #efe3ce;
  color: #2d241b;
  font-weight: 700;
  font-size: 1.05rem;
  border-top: 2px solid #c8b99f;
  border-bottom: 2px solid #c8b99f;
}

.item-title { font-weight: 700; }


.content.no-rsidebar { grid-template-columns: 170px 1fr; }
.content.no-lsidebar { grid-template-columns: 1fr 170px; }
.content.no-rsidebar.no-lsidebar { grid-template-columns: 1fr; }

/*****

*****/



@media (max-width: 820px) {
  .inventory-heading { display: block; }
  .site-header { height: auto; padding: 18px; align-items: flex-start; gap: 16px; }
  .nav { flex-wrap: wrap; justify-content: flex-end; gap: 12px 18px; }
  .hero { margin: 0; }
  .content {
    grid-template-columns: 1fr;
    padding: 24px;
  }
  .sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .inventory {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-box {
    border-left: 0;
    border-top: 1px solid #e2d8c8;
    padding: 18px 0 0;
  }
}

.page.page-wide {
  width: min(1400px, 96vw);
}


@media (max-width: 520px) {
  .inventory-table { font-size: .82rem; }
  .inventory-table th,
  .inventory-table td { padding: 8px; }
  .inventory { grid-template-columns: 1fr; }
  .sidebar { grid-template-columns: 1fr; }
}

