/* Desktop choices fit as a complete grid at normal laptop heights. */
@media (min-width:960px) and (min-height:760px) {
  .gqe-remake-view[data-step="catalogue"] .gqe-catalogue {
    grid-template-rows: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(0, 1fr);
    overflow: visible;
  }
  .gqe-remake-view[data-step="catalogue"] .gqe-catalogue:has(> :nth-child(9)) {
    grid-template-rows: repeat(3, minmax(0, 1fr));
  }
  .gqe-remake-view[data-step="catalogue"] .gqe-product {
    grid-template-rows: minmax(48px, 1fr) auto 44px;
  }
  .gqe-remake-view[data-step="catalogue"] .gqe-product-copy {
    min-height: 38px;
    padding: 5px 10px;
  }
  .gqe-remake-view[data-step="catalogue"] .gqe-counter button { height: 44px; }
  .gqe-remake-view[data-step="glass-application"] .gg-app-grid {
    overflow-y: visible;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(2, max-content);
    grid-auto-rows: max-content;
    align-content: start;
  }
  .gqe-remake-view[data-step="glass-application"] .gg-app-grid button>img {
    height: clamp(90px, 14vh, 130px);
    aspect-ratio: auto;
  }
  .gqe-remake-view[data-step="cart"] .gqe-cart-list:has(> :only-child) { flex: 0 0 auto; overflow: visible; }
  .gqe-remake-view[data-step="condition"] .gqe-remake-choices { overflow: visible; }
}
/* Bear tips float over the step instead of adding a new title row. */
.gqe-remake-title:has(.gr-guide-tip:not([hidden])) { flex-wrap: nowrap; }
.gqe-section .gqe-mascot-guide:has(.gr-guide-tip:not([hidden])) {
  position: relative;
  flex-basis: auto !important;
  order: 1;
  justify-content: flex-end;
}
.gqe-section .gqe-mascot-guide .gr-guide-tip:not([hidden]) {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  width: min(280px, calc(100vw - 40px));
  max-width: none;
  z-index: 30;
  border: 1px solid #ecd8cc;
  box-shadow: 0 10px 24px #17202522;
}
