body > header {
  text-transform: uppercase;
  width: 300px;
  margin: 20px 0;
  color: var(--primary-text-color);
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  position: fixed;
  z-index: 99999999;
  top: 0;
}

body > header::after {
  content: "";
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  height: 64px;
  z-index: -1;
  background-color: var(--background-color);
}

body > main {
  margin-top: 64px;
  margin-bottom: 90px;
  padding: 0 25px;
  width: 100%;
  max-width: 550px;
  box-sizing: border-box;
}

main > a {
  color: var(--secondary-text-color);
}

body div.invoice,
body section.shipping,
body.shipping section.no-shipping,
body section.shipping label:nth-of-type(1) {
  display: none;
}

body.invoice div.invoice,
body.shipping section.shipping {
  display: flex;
}

body.invoice section.shipping label:nth-of-type(1) {
  display: initial;
}

body.shipping.same-shipping section.shipping label:not(:nth-of-type(1)) {
  display: none;
}

section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 30px;
}

section.shipping > div {
  width: 100%;
}

section label {
  text-align: left;
  width: 100%;
  color: var(--primary-text-color);
  margin: 10px 0;
  display: flex;
  flex-direction: column;
}

section .inline {
  display: block;
}

section .inline-group {
  display: flex;
  margin: 10px 0;
  width: 100%;
  justify-content: space-evenly;
}

section .inline-group:nth-of-type(2),
label.insurance {
  display: none;
}

body.shipping section .inline-group:nth-of-type(2) {
  display: flex;
}

body.shipping label.insurance {
  display: block;
}

section .img {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--primary-text-color);
}

section .img img {
  border-radius: 8px;
  width: 80%;
  max-width: 150px;
  border: 2px solid var(--background-color);
  cursor: pointer;
  margin-bottom: 8px;
}

body.shipping-locker .img:nth-of-type(2) img,
section .img:nth-of-type(1) img {
  border: 2px solid var(--red-color);
}

body.shipping-locker .img:nth-of-type(1) img {
  border: 2px solid var(--background-color);
}

body section.shipping > div:nth-of-type(2) {
  height: 75vh;
}

body section.shipping > div:nth-of-type(2),
body.shipping-locker section.shipping > div:nth-of-type(1) {
  display: none;
}

body.shipping-locker section.shipping > div:nth-of-type(2) {
  display: flex;
}

section .inline-group .inline {
  width: unset;
}

section p {
  color: var(--primary-text-color);
  text-align: center;
}

section table {
  display: none;
}

section header {
  color: var(--primary-text-color);
  font-weight: bold;
  text-align: center;
}

label.insurance {
  text-align: center;
}

form input[type=text],
form input[type=tel],
form input[type=email] {
  border: 0;
  border-radius: 8px;
  background-color: var(--nav-color);
  font-size: 16px;
  color: var(--primary-text-color);
  padding: 0 6px;
  line-height: 30px;
  margin-top: 5px;
}

body > footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 100px;
  background: linear-gradient(
    180deg,
    var(--background-color-alpha) 0%,
    var(--background-color) 25%
  );
  z-index: 99999999;
}
