/* Narrow-screen spacing for the original KAIXIN page templates. */
@media (max-width: 767px) {
  #backstage-bodyArea .sitewidget-placeholder {
    max-height: 32px !important;
  }

  /* Keep enough of each home collection photo visible above its copy. */
  :is(
    #component_DoUFYOlibudZ,
    #component_rkfaNZGDblUt,
    #component_ByKuiEvYaQwj,
    #component_sLfFNOQilPbj
  ) .sitewidget-bd {
    padding-top: clamp(190px, 59vw, 240px) !important;
  }

  /* The shared inquiry panels had desktop-sized outer padding on phones. */
  :is(#outerContainer_1769582823794, #outerContainer_1771915181133) {
    padding-top: 36px !important;
    padding-bottom: 36px !important;
  }

  #backstage-bodyArea .proddetail-picArea {
    margin-bottom: 12px;
  }

  #backstage-bodyArea .proddetail-style-slider-name {
    margin-bottom: 12px;
  }

  #backstage-bodyArea .proddetail-style-slider-brief {
    line-height: 1.65;
    margin-bottom: 12px;
  }

  #backstage-bodyArea .pro-detail-inquirewrap {
    margin-top: 12px;
  }
  /* The desktop factory widget uses a fixed-height, centered crop. */
  #component_mupFsbPQKrBO .picture-resize-wrap,
  #component_mupFsbPQKrBO .picture-wrap,
  #component_mupFsbPQKrBO .imgBox,
  #component_mupFsbPQKrBO img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
  }

  #component_mupFsbPQKrBO .picture-wrap {
    position: static !important;
    margin-left: 0 !important;
  }

  #outerContainer_1767689565250 .sitewidget-graphic .sitewidget-bd {
    padding: 24px !important;
    border-radius: 28px;
  }

  #outerContainer_1767689565250 .sitewidget-graphic .sitewidget-bd,
  #outerContainer_1767689565250 .sitewidget-graphic .sitewidget-bd * {
    line-height: 1.6;
  }

  #outerContainer_1767689565250 .service-card-spacer {
    display: none;
  }
}
