/* The configurator pages inside the storefront.
   css/styles.css is the configurator as it was built and stays untouched. This sheet only
   fits it under the site header, sets it in the storefront's typeface, and keeps the one
   action a visitor is here for (adding the bag to the request) in view. */

:root {
  /* one typeface for the whole site: Archivo, in its condensed cut where the configurator
     used a condensed face */
  --sans: var(--font);
  --cond: var(--font);
}

/* the header lines up with what is under it: the stage's title on the left, the sheet on the right */
.site-head { padding-inline: 28px 30px; }

/* the header takes its share of the screen, the configurator fills the rest */
.layout {
  height: calc(100vh - var(--head-h));
  height: calc(100dvh - var(--head-h));
}

.stage-nav a,
.spec,
.group h2,
.slider output,
.text-field input,
.drop-title,
.stage-drop span { font-stretch: 76%; }

.sheet-head h1 {
  font-weight: 800;
  font-stretch: 100%;
  font-size: 40px;
  line-height: 0.94;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  max-width: 8em;
}
.group h2 { font-weight: 700; }
.stage-nav a[aria-current="page"] { font-weight: 800; }

/* .btn sets a display of its own, which would otherwise beat the hidden attribute */
.sheet [hidden] { display: none; }

/* the request button stays at the bottom of the sheet however far the options scroll */
.sheet-foot {
  position: sticky;
  bottom: -40px;              /* the sheet's own bottom padding */
  z-index: 2;
  margin-inline: -30px;
  padding: 16px 30px 40px;
  background: var(--sheet);
  box-shadow: 0 -14px 18px -14px rgba(0, 0, 0, 0.22);
}
.sheet-foot .btn-solid:hover { background: var(--blue); border-color: var(--blue); }
.sheet-foot .status { min-height: 0; }
.sheet-foot .status:empty { display: none; }
.added {
  flex-basis: 100%;
  font-size: 15px;
  font-weight: 500;
}
.added a { color: var(--ink); text-underline-offset: 3px; }
.added a:hover { text-decoration-thickness: 2px; }

@media (max-width: 900px) {
  .layout { height: auto; }
  .site-head { padding-inline: 16px 18px; }
  .sheet-head h1 { font-size: 34px; }
  .sheet-foot {
    bottom: 0;
    margin-inline: -18px;
    padding: 14px 18px 18px;
  }
}
