/* Reserve the first screen for the two actions and the same 3D view throughout loading. */
#mug-order.mo-mobile-order .mo-workspace {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
  grid-template-areas: "intro stage" "launch stage" "editor stage";
  grid-template-rows: auto auto 1fr;
}
#mug-order.mo-mobile-order .mo-first-intro {
  grid-area: intro;
  padding: 30px 34px 0;
}
#mug-order.mo-mobile-order .mo-first-intro .mh-title {
  font-size: clamp(2rem, 3.6vw, 3.3rem);
  margin: 0 0 10px;
}
#mug-order.mo-mobile-order .mo-launch-actions {
  display: grid;
  grid-area: launch;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0 34px;
}
#mug-order.mo-mobile-order .mo-launch-actions > :is(label,button) {
  box-sizing: border-box;
  display: flex;
  min-height: 48px;
  min-width: 0;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid #ffda59;
  border-radius: 10px;
  font: inherit;
  font-weight: 720;
  line-height: 1.2;
  text-align: center;
}
#mug-order.mo-mobile-order .mo-launch-actions > label {
  background: #ffda59;
  color: #191724;
}
#mug-order.mo-mobile-order .mo-launch-actions > label:hover {
  background: #ffecaa;
}
#mug-order.mo-mobile-order .mo-launch-actions > button {
  background: transparent;
  color: #ffda59;
}
#mug-order.mo-mobile-order .mo-launch-actions > button:hover {
  background: #ffda59;
  color: #191724;
}
#mug-order.mo-mobile-order .mo-launch-actions > :is(label:focus-within,button:focus-visible) {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
#mug-order.mo-mobile-order #mo-filename {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
#mug-order.mo-mobile-order .mo-editor {
  grid-area: editor;
  padding-top: 12px;
}
#mug-order.mo-mobile-order .mo-stage {
  grid-area: stage;
  align-self: start;
  box-sizing: border-box;
}
#mug-order.mo-mobile-order #mo-model {
  flex: none;
  height: clamp(320px, 37vw, 500px);
  min-height: 0;
}
#mug-order.mo-mobile-order #mo-model::before {
  content: "";
  position: absolute;
  inset: 7% 12%;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(ellipse, #8e78c344, transparent 70%);
}
#mug-order.mo-mobile-order #mo-loading-poster {
  position: absolute;
  inset: 12% 22%;
  width: 56%;
  height: 76%;
  object-fit: cover;
  border-radius: 12px;
}
#mug-order.mo-mobile-order #mo-open-3d { display: none; }
#mug-order.mo-mobile-order .mo-launch-help { margin-top: 14px; }
#mug-order.mo-mobile-order .mo-fulfilment {
  font-size: .85rem;
  line-height: 1.4;
  color: #e4def3;
}
#mug-order.mo-mobile-order .mo-checkgrid { align-items: start; }
#mug-order.mo-mobile-order :is(.mo-account-options, .mo-additional-options) {
  padding: 10px 0;
}
#mug-order.mo-mobile-order :is(.mo-account-options, .mo-additional-options) > summary {
  cursor: pointer;
  padding: 8px 0;
  font-weight: 680;
}
#mug-order.mo-mobile-order .mo-delivery-field {
  margin: 10px 0;
}
#mug-order.mo-mobile-order .mo-delivery-field > label {
  grid-column: 1/-1;
}
#mug-order.mo-mobile-order .mo-review-note > p { margin: 0; }

@media (max-width: 700px) {
  .cup-site:has(#mug-order.mo-mobile-order) .cup-top {
    display: none;
  }
  .cup-site:has(#mug-order.mo-mobile-order) .cup-header > .cup-wrap {
    flex-wrap: nowrap;
    gap: 6px;
    min-height: 58px;
    padding-block: 5px;
  }
  .cup-site:has(#mug-order.mo-mobile-order) .cup-logo {
    gap: 7px;
  }
  .cup-site:has(#mug-order.mo-mobile-order) .cup-logo > span {
    font-size: 25px;
  }
  .cup-site:has(#mug-order.mo-mobile-order) .cup-logo small {
    display: none;
  }
  .cup-site:has(#mug-order.mo-mobile-order) .cup-logo svg {
    width: 28px;
    height: 34px;
  }
  .cup-site:has(#mug-order.mo-mobile-order) .cup-menu {
    min-height: 44px;
    padding-inline: 9px;
  }
  .mo-hero:has(#mug-order.mo-mobile-order) {
    padding: 8px 0 25px;
  }
  #mug-order.mo-mobile-order > .mo-steps { display: none; }
  #mug-order.mo-mobile-order .mo-workspace {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "intro" "launch" "stage" "editor";
    grid-template-rows: auto;
  }
  #mug-order.mo-mobile-order .mo-first-intro {
    padding: 13px 13px 0;
  }
  #mug-order.mo-mobile-order.sf21-home[data-direct-order] .mo-first-intro .mh-title {
    font-size: clamp(23px, 6.25vw, 34px);
    line-height: 1.08;
    margin-bottom: 6px;
  }
  #mug-order.mo-mobile-order.sf21-home[data-direct-order] .sf21-prices {
    font-size: 15px;
    margin-bottom: 3px;
  }
  #mug-order.mo-mobile-order.sf21-home[data-direct-order] .sf21-prices small {
    display: inline;
    margin-left: 4px;
    font-size: 11px;
  }
  #mug-order.mo-mobile-order.sf21-home[data-direct-order] .sf21-delivery {
    font-size: 11px;
    line-height: 1.25;
    margin-bottom: 7px;
  }
  #mug-order.mo-mobile-order .mo-launch-actions {
    gap: 7px;
    padding: 0 13px 7px;
  }
  #mug-order.mo-mobile-order .mo-launch-actions > :is(label,button) {
    min-height: 44px;
    padding-inline: 6px;
    font-size: 14px;
  }
  #mug-order.mo-mobile-order .mo-stage {
    height: auto;
    max-height: none;
    gap: 3px;
    min-height: 0;
    min-width: 0;
    padding: 8px 9px 10px;
    scroll-margin-top: calc(var(--cup-nav-height, 70px) + 10px);
  }
  #mug-order.mo-mobile-order .mo-stage-top {
    min-height: 20px;
    line-height: 1.15;
  }
  #mug-order.mo-mobile-order #mo-model {
    height: clamp(138px, 31svh, 255px);
  }
  #mug-order.mo-mobile-order #mo-model .mug3d-stage {
    height: 100%;
    min-height: 0;
  }
  #mug-order.mo-mobile-order #mo-loading-poster {
    inset: 7% 19%;
    width: 62%;
    height: 86%;
  }
  #mug-order.mo-mobile-order :is(.mo-stage-bottom,.mo-preview-note,.mh-demo-label) {
    margin-top: 3px;
  }
  #mug-order.mo-mobile-order .mo-editor {
    padding: 8px 13px 14px;
  }
  #mug-order.mo-mobile-order .mo-editor > .mo-from,
  #mug-order.mo-mobile-order .mo-editor > .mo-help {
    display: none;
  }
  #mug-order.mo-mobile-order .mo-checkout { padding: 14px; }
  #mug-order.mo-mobile-order .mo-checkout .mo-kicker { display: none; }
  #mug-order.mo-mobile-order .mo-checkout .mo-address + p.mo-help { margin-top: 5px; }
}
