/* Keep every Mold Fundamentals product image and its product information in separate areas. */
.productCard {
  display: grid;
  grid-template-rows: 215px minmax(0, 1fr);
  min-width: 0;
  overflow: hidden;
}

/* Approved Class Product Menu account and financing panels. */
.creditOption {
  margin-top: 54px;
  padding: 0 0 22px;
}

.creditInner,
.financingInner {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 28px 30px;
  border-radius: 16px;
  box-shadow: 0 7px 24px #142b3e0d;
}

.creditInner {
  background: linear-gradient(135deg, #f1f8fc, #f7fbfd);
  border: 1px solid #c9dde9;
  border-left: 7px solid #176b91;
}

.financing {
  padding: 0 0 4px;
}

.financingInner {
  background: linear-gradient(135deg, #f8f4ff, #eef3f8);
  border: 1px solid #d8cbea;
  border-left: 7px solid #5b2b82;
}

.creditIcon,
.financeIcon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  font-weight: 900;
}

.creditIcon {
  color: #fff;
  background: #176b91;
  font-size: 30px;
}

.financeIcon {
  color: #f0c34e;
  background: #5b2b82;
  font-size: 32px;
}

.creditOption h2,
.financing h2 {
  color: var(--purple);
  margin: 4px 0 7px;
  font-size: 28px;
}

.creditOption p,
.financing p {
  color: var(--muted);
  max-width: 670px;
  margin: 0;
  line-height: 1.55;
}

.creditOption .sectionLabel,
.financing .sectionLabel {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
}

.creditOption .sectionLabel { color: #176b91; }
.financing .sectionLabel { color: #7b4a9d; }

.creditOption a,
.financing a {
  color: #fff;
  white-space: nowrap;
  border-radius: 8px;
  padding: 14px 18px;
  font-weight: 900;
  text-decoration: none;
}

.creditOption a { background: #176b91; }
.creditOption a:hover,
.creditOption a:focus { background: #10526f; }
.financing a { background: #5b2b82; }
.financing a:hover,
.financing a:focus { background: #452062; }

@media (max-width: 900px) {
  .creditInner,
  .financingInner {
    grid-template-columns: 64px 1fr;
  }

  .creditOption a,
  .financing a {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .creditInner,
  .financingInner {
    grid-template-columns: 1fr;
    padding: 24px 20px;
    text-align: center;
  }

  .creditIcon,
  .financeIcon {
    margin: auto;
  }

  .creditOption a,
  .financing a {
    grid-column: 1;
    justify-self: stretch;
  }
}

.productImage {
  position: relative;
  z-index: 0;
  display: grid;
  place-items: center;
  width: 100%;
  height: 215px;
  min-height: 215px;
  padding: 18px;
  overflow: hidden;
  line-height: 0;
}

.productImage img {
  position: absolute;
  inset: 18px;
  display: block;
  width: calc(100% - 36px);
  height: calc(100% - 36px);
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center;
}

.productBody {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  padding: 20px;
  overflow: visible;
  overflow-wrap: anywhere;
  background: #fffdfb;
}

.productBody > * {
  max-width: 100%;
}

.priceLine {
  align-items: flex-end;
  width: 100%;
  gap: 12px;
}

.priceLine > div:first-child {
  flex: 1 1 120px;
  min-width: 0;
}

.addControls {
  flex: 0 0 auto;
}

@media (max-width: 620px) {
  .productCard {
    grid-template-rows: 200px minmax(0, 1fr);
  }

  .productImage {
    height: 200px;
    min-height: 200px;
    padding: 16px;
  }

  .productImage img {
    inset: 16px;
    width: calc(100% - 32px);
    height: calc(100% - 32px);
  }

  .productBody {
    padding: 18px;
  }

  .priceLine > div:first-child {
    flex-basis: 100%;
  }

  .addControls {
    margin-left: 0;
  }
}

/* Approved One-Day and Two-Day Class Product Menu order section. */
.approvedOrder {
  margin: 0;
  padding: 60px 0;
  border-radius: 0;
  background: linear-gradient(135deg, #dcd0e9, #d6e2ec);
  box-shadow: none;
  overflow: visible;
  scroll-margin-top: 62px;
}

.approvedOrder .shell {
  width: min(1160px, calc(100% - 36px));
  margin: auto;
}

.approvedOrder .orderGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  padding: 0;
}

.approvedOrder .sectionLabel {
  color: #9a6412;
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
}

.approvedOrder h2 {
  color: var(--purple);
  margin: 0 0 6px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -.025em;
}

.approvedOrder p {
  color: var(--muted);
  margin-top: 0;
  line-height: 1.6;
}

.approvedOrder .customerForm {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  margin-top: 22px;
}

.approvedOrder .customerForm label {
  color: #142640;
  font-size: 12px;
  font-weight: 900;
}

.approvedOrder .customerForm .wide {
  grid-column: 1 / -1;
}

.approvedOrder .customerForm input,
.approvedOrder .customerForm textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 11px 12px;
  border: 1px solid #b9c7d2;
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.approvedOrder .customerForm textarea {
  resize: vertical;
}

.approvedOrder .customerForm input:focus,
.approvedOrder .customerForm textarea:focus {
  border-color: #9a6412;
  outline: 3px solid #d6a12055;
}

.approvedOrder .storefront {
  margin: 20px 0 18px;
  border-radius: 12px;
  background: #152f49;
  overflow: hidden;
  box-shadow: 0 10px 24px #2f164926;
}

.approvedOrder .storefront img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.approvedOrder .storefront.fullEntrance img {
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

.approvedOrder .storefront figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  background: linear-gradient(120deg, #142f49, #2e194b);
  color: #fff;
}

.approvedOrder .storefront figcaption span {
  color: #e7d99f;
  font-size: 13px;
}

.approvedOrder .cart {
  max-height: 520px;
  min-height: 0;
  padding: 18px;
  border: 1px solid #c7b8d8;
  border-radius: 14px;
  background: #f7f3fa;
  overflow: auto;
}

.approvedOrder .empty {
  padding: 30px;
  color: #7b8995;
  text-align: center;
}

.approvedOrder .cartRow {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 11px 4px;
  border-bottom: 1px solid #ded5e3;
}

.approvedOrder .cartRow > div:last-child {
  text-align: right;
}

.approvedOrder .cartRow button {
  display: block;
  margin: 3px 0 0 auto;
  border: 0;
  background: transparent;
  color: #9b312b;
  font-size: 11px;
}

.approvedOrder .total {
  display: flex;
  justify-content: space-between;
  padding: 18px 4px 10px;
  border-top: 0;
  color: #142640;
  font-size: 20px;
}

.approvedOrder .send {
  width: 100%;
  margin-top: 8px;
  padding: 14px;
  border: 0;
  border-radius: 8px;
  background: #218052;
  color: #fff;
  font-weight: 900;
}

.approvedOrder .send:disabled {
  background: #87959f;
  cursor: not-allowed;
}

@media (max-width: 850px) {
  .approvedOrder .orderGrid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .approvedOrder {
    padding: 44px 0;
  }

  .approvedOrder .customerForm {
    grid-template-columns: 1fr;
  }

  .approvedOrder .customerForm .wide {
    grid-column: auto;
  }

  .approvedOrder .cartRow {
    flex-direction: column;
  }

  .approvedOrder .cartRow > div:last-child {
    text-align: left;
  }

  .approvedOrder .cartRow button {
    margin-left: 0;
  }
}

/* Approved Class Product Menu guidance area and footer. */
.help {
  padding: 54px 0;
  background: linear-gradient(120deg, #e6d8f1, #f3dfa0);
}

.help .shell,
footer .shell {
  width: min(1160px, calc(100% - 36px));
  margin: auto;
}

.helpInner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.help .sectionLabel {
  margin: 0;
  color: #9a6412;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
}

.help h2 {
  max-width: 650px;
  margin: 8px 0 10px;
  color: #142640;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -.025em;
}

.helpCopy {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.businessCard {
  display: block;
  flex: 0 600px;
  max-width: 600px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 28px #26143d38;
}

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

footer {
  padding: 26px 0;
  border-top: 0;
  background: #07131f;
  color: #bccbd5;
  text-align: left;
}

footer .shell {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
}

footer strong,
footer a {
  color: #fff;
}

footer a {
  font-weight: 800;
  text-decoration: none;
}

footer small {
  flex-basis: 100%;
  color: #8da2b2;
}

@media (max-width: 900px) {
  .helpInner {
    flex-direction: column;
    align-items: flex-start;
  }

  .businessCard {
    flex-basis: auto;
    width: 100%;
  }
}
