:root {
  --green: #009900;
  --lime: #bbed4c;
  --white: #ffffff;
  --ink: #111111;
  --muted: #31521f;
  --line: #111111;
  --content-width: 960px;
  --sidebar-width: 240px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  overflow-x: hidden;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

.site-shell {
  width: min(var(--content-width), 100%);
  min-height: 100vh;
  margin: 0 auto;
  background: var(--green);
}

.site-header {
  display: grid;
  grid-template-columns: minmax(0, 392px) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  min-height: 120px;
  padding: 12px 20px;
  background: var(--white);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  display: block;
}

.contact-block {
  max-width: 100%;
  justify-self: end;
  text-align: right;
  font-size: 13px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.contact-block a {
  color: var(--ink);
  text-decoration: none;
}

.main-layout {
  display: block;
}

.side-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  padding: 12px 20px;
  color: var(--white);
}

.side-nav a {
  display: inline-flex;
  align-items: center;
  padding: 2px 0;
  color: var(--white);
  font-size: 1.17rem;
  font-weight: 700;
  text-decoration: none;
}

.side-nav a:hover,
.side-nav a:focus-visible {
  text-decoration: underline;
}

.content {
  min-width: 0;
  min-height: 840px;
  padding: 20px;
  background: var(--lime);
}

.content-image {
  display: block;
}

.content > :first-child {
  margin-top: 0;
}

h1,
h2,
h3,
h4,
p,
table {
  font-family: Helvetica, Arial, sans-serif;
}

h1 {
  display: block;
  margin: 0 0 18px;
  padding: 3px 10px;
  background: var(--white);
  font-size: 2rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

h2 {
  margin: 24px 0 10px;
  font-size: 1.45rem;
}

h3 {
  margin: 22px 0 10px;
}

.site-footer {
  padding: 20px;
  background: var(--white);
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.home-hero {
  display: grid;
  gap: 0;
}

.home-hero img {
  display: block;
  width: 100%;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px 13px;
  margin: 10px 0 24px;
}

#buttonRow {
  display: contents;
}

#button {
  float: none;
  margin: 0;
}

#button a {
  display: block;
}

#button img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.table-scroll {
  width: 100%;
  margin: 14px 0 24px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  min-width: 520px;
  padding: 20px;
  border: 2px solid var(--white);
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.66);
  text-align: right;
}

th,
td {
  padding: 7px 8px;
  border-bottom: 2px solid var(--green);
  vertical-align: top;
  transition: background-color 140ms ease;
}

th:first-child,
td:first-child {
  text-align: left;
}

.currency-symbol {
  color: #555555;
  font-size: 0.82em;
}

.price-table caption {
  padding: 8px 10px;
  caption-side: top;
  background: rgba(255, 255, 255, 0.66);
  text-align: left;
  font-weight: 700;
}

.table-caption-inner {
  display: flex;
  width: 100%;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.table-quantity-control {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 700;
}

.table-quantity-control input {
  width: 118px;
  min-height: 32px;
  padding: 4px 8px;
  border: 2px solid var(--ink);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  text-align: right;
  appearance: textfield;
}

.price-table th[data-calculated-heading],
.price-table .calculated-price {
  background: rgba(255, 255, 255, 0.5);
  font-weight: 700;
}

.price-table .calculated-price {
  min-width: 96px;
  white-space: nowrap;
}

.price-table th:focus-visible,
.price-table td:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: -2px;
}

.price-table .is-row-highlighted,
.price-table .is-column-highlighted {
  background: rgba(0, 153, 0, 0.2);
}

.price-table .is-row-highlighted.is-column-highlighted {
  background: rgba(0, 153, 0, 0.36);
}

.price-table .is-cell-highlighted {
  background: rgba(0, 153, 0, 0.46);
}

.price-finder {
  display: none;
  width: 100%;
  max-width: 100%;
  margin: 24px 0;
  padding: 16px;
  border: 2px solid var(--white);
  background: rgba(255, 255, 255, 0.44);
}

.price-finder h2 {
  margin-top: 0;
}

.price-finder label {
  display: block;
  margin: 12px 0 5px;
  font-weight: 700;
}

.price-finder select,
.price-finder input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 8px 10px;
  border: 2px solid var(--ink);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.price-finder input {
  appearance: textfield;
}

.price-result {
  margin-top: 16px;
  padding: 14px;
  background: var(--white);
  min-width: 0;
}

.price-result strong {
  display: inline-flex;
  align-items: baseline;
  font-size: 1.9rem;
  line-height: 1.1;
  overflow-wrap: normal;
  white-space: nowrap;
}

.price-result span {
  display: block;
  margin-top: 6px;
  overflow-wrap: anywhere;
}

.price-result .unit-price {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
  overflow-wrap: normal;
}

.price-result .unit-price .currency-symbol {
  position: relative;
  top: -0.04em;
}

.price-result .unit-price-note {
  display: block;
  margin-top: 2px;
}

.price-result small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.desktop-price-tables {
  display: block;
}

@media (max-width: 760px) {
  .site-shell {
    width: 100%;
  }

  .site-header {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    min-height: 0;
  }

  .brand img {
    max-width: 260px;
  }

  .contact-block {
    justify-self: start;
    text-align: left;
  }

  .side-nav {
    gap: 10px 18px;
  }

  .content {
    width: 100vw;
    max-width: 100vw;
    min-height: 0;
    padding: 18px;
    overflow-x: hidden;
  }

  .content p,
  .content > img,
  .content-image,
  .price-finder {
    max-width: min(100%, 360px);
  }

  h1 {
    font-size: 1.45rem;
  }

  .price-grid {
    max-width: min(100%, 360px);
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .desktop-price-tables {
    display: none;
  }

  .price-finder {
    display: block;
  }

  table {
    min-width: 560px;
  }
}

@media (max-width: 430px) {
  body {
    font-size: 15px;
  }

  .brand img {
    max-width: 220px;
  }
}
