html,
body {
  padding: 0;
  margin: 0;
}

h2 {
  font-size: 2rem;
  margin: 0.5rem 0 0;
}

h3 {
  font-size: 3.75rem;
  margin: 0.25rem;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont,"Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "GT Ultra Median", Skeena, ui-serif, serif;
}

.demo-layout {
  display: grid;
  grid-template-areas:
    "h h h"
    "c2 c2 c2"
    ". c1 .";
  grid-template-columns: 24px 1fr 24px;
  margin: 0 auto;
  padding-bottom: 2rem;
}

.demo__header {
  color: #527a42;
  text-align: center;
  grid-area: h;
  box-shadow: 0 0 10px 0 #333;
}

.content_primary {
  grid-area: c1;
  padding-top: 1.5rem;
}

.content_secondary {
  grid-area: c2;
  padding-top: 1.5rem;
}

.placeholder {
  background-image: url('demo-product.jpg');
  background-size: cover;
  background-position: center center;
  width: 100%;
  height: 0;
  padding-bottom: 50%;
}

.block {
  margin: 1.5rem 0;
}

.buy {
  display: flex;
  flex: 1 1 auto;
  justify-content: flex-end;
}

.buy .buttonish {
  width: 100%;
}

.buttonish {
  font-size: 1.25rem;
  line-height: inherit;
  margin: 0;
  border: 0;
  overflow: visible;
  -webkit-appearance: button;
  appearance: button;
  background-color: transparent;
  cursor: pointer;
}

.buttonish::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

.buttonish:-moz-focusring {
  outline: 1px dotted ButtonText;
}

.buttonish::-webkit-file-upload-button {
  -webkit-appearance: button;
  appearance: button;
  font: inherit;
}

.buttonish {
  box-sizing: border-box;
  padding: 1rem 1.25rem;
  border-radius: 0;
  background-color: #527a42;
  color: white;
}

select.buttonish {
  background-color: white;
  color: inherit;
  border: 1px solid #ccc;
}

.buttonish+.buttonish {
  margin-left: 1rem;
}

@media (min-width: 540px) {
  h2 {
    font-size: 2.75rem;
  }

  .placeholder {
    padding-bottom: 100%;
  }

  .demo-layout {
    grid-template-areas:
      "h h h h h"
      ". c2 . c1 .";
    grid-template-columns: minmax(24px, 1fr) 2fr 16px 5fr minmax(24px, 1fr);
  }

  .content_primary {
    border-bottom: 1px #ccc solid;
  }

  .content_primary>h2:first-child {
    padding-top: 1.5rem;
    margin-top: 0;
    border-top: 1px #ccc solid;
  }

  .content_primary {
    padding-top: 2.5rem;
  }

  .content_secondary {
    padding-top: 2.5rem;
  }
}

@media (min-width: 1060px) {
  .demo-layout {
    grid-template-areas:
      "h h h h h"
      "c2 c2 . c1 .";
    grid-template-columns: minmax(24px, 1fr) 2fr 16px 3fr minmax(24px, 1fr);
  }
}

riverty-info a {
  color: #527a42;
}

.showcase {
  max-width: 800px;
  margin: 1rem auto;
}

.showcase #output {
  margin: 2rem 0;
}

.showcase code {
  display: block;
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid #333;
}

.showcase table {
  min-width: 700px;
  margin: 1rem auto;
  border-spacing: 0;
}

.showcase td,
.showcase th {
  text-align: left;
  vertical-align: top;
  border: 1px solid #333;
  padding: 0.5rem;
}

.showcase td+td,
.showcase th+th {
  border-left: 0;
}

.showcase td:nth-child(4) {
  min-width: 20%;
}

.showcase td:nth-child(5) {
  min-width: 40%;
}