/* Quick Order table layer.
   Loaded after shared site styles; scoped to this page so the homepage,
   compound pages and frozen account systems are unaffected. */
.quick-order-page {
  padding-bottom: 104px;
  overflow-x: clip;
  background: #f2f4f6;
}

.quick-order-page .quick-order-hero {
  padding: clamp(34px, 4vw, 54px) 0;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  background: var(--bb-public-hero-background);
}

.quick-order-page .quick-order-hero__inner {
  width: min(760px, calc(100% - 48px));
  margin-inline: auto;
  text-align: center;
}

.quick-order-page .quick-order-hero .eyebrow {
  margin: 0 0 8px;
  color: #b9cce0;
}

.quick-order-page .quick-order-hero h1 {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(2.9rem, 5vw, 4.5rem);
  letter-spacing: -.055em;
  line-height: .96;
}

.quick-order-page .quick-order-hero p:last-child {
  max-width: 720px;
  margin: 0 auto;
  color: #d7e2ed;
  font-size: clamp(.96rem, 1.5vw, 1.08rem);
  line-height: 1.58;
}

.quick-order-page .quick-order-tools,
.quick-order-page .quick-order-catalogue,
.quick-order-page .quick-order-notices {
  width: min(1180px, calc(100% - 48px));
  max-width: 1180px;
  margin-inline: auto;
}

.quick-order-page .quick-order-tools {
  display: grid;
  gap: 16px;
  padding-top: 26px;
}

.quick-order-page .quick-order-preparation-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.quick-order-page .quick-order-preparation-card {
  min-height: 180px;
  padding: clamp(19px, 2.1vw, 24px);
}

.quick-order-page .quick-order-preparation-card__body > p:last-of-type {
  line-height: 1.5;
}

.quick-order-page .quick-order-search {
  max-width: none;
}

.quick-order-page .quick-order-search input,
.quick-order-page .quick-order-sort-row select {
  border-color: #adbac6;
  border-radius: 5px;
}

.quick-order-page .quick-order-control-scope {
  margin: -4px 0 0;
  color: #566777;
  font-size: .82rem;
  line-height: 1.5;
}

.quick-order-page .quick-order-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.quick-order-page .quick-order-sort-row {
  align-items: end;
}

.quick-order-page .quick-order-sort-row > span {
  color: #3f5365;
  font-size: .83rem;
  font-weight: 750;
}

.quick-order-page .quick-order-sort-row select {
  min-width: 210px;
}

.quick-order-page .quick-order-error {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #d3a263;
  border-radius: 5px;
  color: #6c4215;
  background: #fff5e8;
  font-size: .84rem;
  font-weight: 750;
}

.quick-order-page .quick-order-catalogue {
  display: grid;
  gap: 30px;
  padding-top: 28px;
}

.quick-order-page .quick-order-section__head {
  margin-bottom: 12px;
}

.quick-order-page .quick-order-section__head .eyebrow,
.quick-order-page .quick-order-section__head h2,
.quick-order-page .quick-order-section__head p {
  margin-top: 0;
}

.quick-order-page .quick-order-section__head h2 {
  margin-bottom: 7px;
  font-size: clamp(1.55rem, 2.25vw, 2rem);
}

.quick-order-page .quick-order-section__head p:last-child {
  max-width: 760px;
  margin-bottom: 0;
  color: #506274;
  font-size: .88rem;
  line-height: 1.5;
}

.quick-order-page .quick-order-table {
  overflow: hidden;
  border: 1px solid #bdc9d3;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 9px 24px rgba(6, 29, 56, .055);
}

.quick-order-page .quick-order-table-head,
.quick-order-page .quick-order-row {
  display: grid;
  grid-template-columns:
    minmax(220px, 1.65fr)
    minmax(140px, .92fr)
    minmax(165px, 1.08fr)
    96px
    108px
    76px;
  gap: 10px;
  align-items: center;
}

.quick-order-page .quick-order-table-head {
  min-height: 39px;
  padding: 8px 13px;
  color: #eef5fb;
  background: #061d38;
  font-size: .69rem;
  font-weight: 850;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.quick-order-page .quick-order-list {
  min-width: 0;
}

.quick-order-page .quick-order-row {
  min-height: 58px;
  padding: 8px 13px;
  border-top: 1px solid #d9e0e6;
  background: #fff;
}

.quick-order-page .quick-order-row:first-child {
  border-top: 0;
}

.quick-order-page .quick-order-row--group-start:not(:first-child) {
  border-top: 2px solid #aebdca;
}

.quick-order-page .quick-order-row:nth-child(even) {
  background: #f8fafb;
}

.quick-order-page .quick-order-row[data-quick-order-orderable="false"] {
  background: #f5f7f8;
}

.quick-order-page .quick-order-row__identity,
.quick-order-page .quick-order-row__strength,
.quick-order-page .quick-order-row__format,
.quick-order-page .quick-order-row__price,
.quick-order-page .quick-order-row__quantity {
  min-width: 0;
}

.quick-order-page .quick-order-row__identity {
  display: grid;
  gap: 2px;
}

.quick-order-page .quick-order-row__name {
  color: #071f3b;
  font-size: .88rem;
  font-weight: 850;
  line-height: 1.3;
  text-decoration: none;
}

.quick-order-page a.quick-order-row__name:hover,
.quick-order-page a.quick-order-row__name:focus-visible {
  color: #0a5d9f;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.quick-order-page .quick-order-row__identity small {
  overflow: hidden;
  color: #65727d;
  font-size: .66rem;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quick-order-page .quick-order-row__strength,
.quick-order-page .quick-order-row__format {
  color: #263e52;
  font-size: .78rem;
  line-height: 1.38;
}

.quick-order-page .quick-order-row__strength {
  font-weight: 780;
}

.quick-order-page .quick-order-row__price {
  color: #082c50;
  font-size: .92rem;
  white-space: nowrap;
}

.quick-order-page .quick-order-row__price--not-set {
  color: #667581;
  font-size: .75rem;
  font-weight: 780;
}

.quick-order-page .quick-order-row__quantity {
  display: flex;
  justify-content: flex-start;
}

.quick-order-page .quantity-stepper {
  display: grid;
  grid-template-columns: repeat(3, 34px);
  width: 104px;
}

.quick-order-page .quantity-stepper button,
.quick-order-page .quantity-stepper output {
  min-height: 40px;
}

.quick-order-page .quantity-stepper button:disabled {
  opacity: .42;
}

.quick-order-page .quick-order-row__add {
  width: 76px;
  min-width: 76px;
  min-height: 42px;
  padding: 9px 8px;
}

.quick-order-page .quick-order-row__inactive {
  display: none;
}

.quick-order-page .quick-order-empty {
  margin: 0;
  padding: 20px 14px;
  color: #5c6b77;
  background: #fff;
}

.quick-order-page .quick-order-notices {
  padding-top: 28px;
}

.quick-order-page .quick-order-cart-summary[hidden] {
  display: none;
}

.quick-order-page .quick-order-cart-summary {
  position: fixed;
  right: 18px;
  bottom: 18px;
}

@media (max-width: 980px) {
  .quick-order-page .quick-order-table-head {
    display: none;
  }

  .quick-order-page .quick-order-list {
    display: block;
    gap: 0;
    border: 0;
  }

  .quick-order-page .quick-order-row {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "identity price"
      "strength quantity"
      "format add";
    gap: 6px 14px;
    min-height: 0;
    padding: 13px 14px;
    border-right: 0;
    border-left: 0;
    border-bottom: 0;
  }

  .quick-order-page .quick-order-row__identity { grid-area: identity; }
  .quick-order-page .quick-order-row__strength { grid-area: strength; }
  .quick-order-page .quick-order-row__format { grid-area: format; }
  .quick-order-page .quick-order-row__price { grid-area: price; align-self: start; text-align: right; }
  .quick-order-page .quick-order-row__quantity { grid-area: quantity; align-self: center; justify-content: flex-end; }
  .quick-order-page .quick-order-row__add { grid-area: add; justify-self: end; }

  .quick-order-page .quick-order-row__strength::before,
  .quick-order-page .quick-order-row__format::before {
    display: block;
    margin-bottom: 1px;
    color: #71808d;
    content: attr(data-label);
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
  }

  .quick-order-page .quick-order-row__add,
  .quick-order-page .quantity-stepper button,
  .quick-order-page .quantity-stepper output {
    min-height: 44px;
  }

  .quick-order-page .quantity-stepper button {
    min-width: 44px;
  }

  .quick-order-page .quick-order-row__name {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .quick-order-page .quantity-stepper {
    grid-template-columns: repeat(3, 44px);
    width: 132px;
  }
}

@media (max-width: 760px) {
  .quick-order-page .quick-order-hero {
    padding: 32px 0 36px;
  }

  .quick-order-page .quick-order-hero__inner,
  .quick-order-page .quick-order-tools,
  .quick-order-page .quick-order-catalogue,
  .quick-order-page .quick-order-notices {
    width: calc(100% - 28px);
  }

  .quick-order-page .quick-order-hero__inner {
    text-align: left;
  }

  .quick-order-page .quick-order-hero h1 {
    font-size: clamp(2.8rem, 14vw, 4rem);
  }

  .quick-order-page .quick-order-preparation-cards {
    grid-template-columns: 1fr;
  }

  .quick-order-page .quick-order-preparation-card {
    grid-template-columns: 48px minmax(0, 1fr);
    min-height: 0;
    gap: 14px;
  }

  .quick-order-page .quick-order-preparation-card__icon {
    width: 48px;
    height: 48px;
  }

  .quick-order-page .quick-order-preparation-card__action {
    align-items: stretch;
  }

  .quick-order-page .quick-order-preparation-card__action .btn {
    width: 100%;
    min-height: 44px;
  }

  .quick-order-page .quick-order-sort-row {
    align-items: stretch;
  }

  .quick-order-page .quick-order-sort-row label,
  .quick-order-page .quick-order-sort-row select {
    width: 100%;
  }

  .quick-order-page .quick-order-filters .filter-button {
    min-height: 44px;
  }

  .quick-order-page .quick-order-cart-summary {
    right: 14px;
    bottom: 14px;
    left: 14px;
    width: auto;
  }
}

@media (max-width: 470px) {
  .quick-order-page .quick-order-row {
    grid-template-columns: minmax(0, 1fr) 142px;
  }

  .quick-order-page .quick-order-row__name {
    font-size: .84rem;
  }

  .quick-order-page .quick-order-row__strength,
  .quick-order-page .quick-order-row__format {
    font-size: .74rem;
  }

  .quick-order-page .quick-order-row__price--not-set {
    max-width: 92px;
    white-space: normal;
  }
}
