.download-product-stage {
  --download-product-window-max-width: 1200px;
  --download-product-window-min-width: 760px;
  --download-product-window-offset-x: clamp(220px, 20vw, 300px);
  --download-product-window-scale: 1.04;
  z-index: 4;
  justify-self: end;
  width: clamp(
    var(--download-product-window-min-width),
    calc(100% * var(--download-product-window-scale)),
    var(--download-product-window-max-width)
  );
  perspective: 1800px;
  animation: download-stage-in 760ms 120ms ease-out both;
}

.download-product-window {
  --download-product-card-chrome-height: 34px;
  --download-product-control-button-size: 24px;
  --download-product-control-height: 31px;
  --download-product-control-icon-size: 15px;
  --download-product-row-gap: 10px;
  --download-product-sidebar-column: 56px;
  --download-product-sidebar-row-size: 31px;
  --download-product-tab-group-width: 226px;
  --download-product-tab-height: 27px;
  --download-product-tabbar-height: 31px;
  --download-product-titlebar-height: 46px;
  --mock-window-bg: #dfdfdd;
  --mock-sidebar-bg: rgba(251, 251, 250, 0.88);
  --mock-row-text: #202124;
  --mock-muted: #707176;
  --mock-blue: #3b8af7;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  color: var(--mock-row-text);
  background: var(--mock-window-bg);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  box-shadow:
    0 48px 110px rgba(3, 35, 71, 0.28),
    0 1px 0 rgba(255, 255, 255, 0.86) inset;
  transform: translateX(var(--download-product-window-offset-x)) rotateX(0deg)
    rotateY(-4.5deg) rotateZ(-0.7deg);
  transform-origin: 54% 52%;
}

.download-product-view-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: min(360px, calc(100% - 64px));
  height: 32px;
  padding: 11px 10px;
  margin: 14px auto 0;
  transform: translateX(var(--download-product-window-offset-x));
}

.download-product-view-segment {
  display: grid;
  align-items: center;
  min-width: 0;
  padding: 0;
  cursor: pointer;
  background: transparent;
  border: 0;
}

.download-product-view-segment span {
  display: block;
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(7, 17, 31, 0.16);
  transition:
    background-color 150ms ease,
    transform 150ms ease;
}

.download-product-view-segment:hover span,
.download-product-view-segment:focus-visible span {
  background: rgba(255, 255, 255, 0.68);
}

.download-product-view-segment.is-active span,
.download-product-view-segment[aria-pressed="true"] span {
  background: #ffffff;
  transform: scaleY(1.18);
}

.download-product-view-segment:focus-visible {
  outline: none;
}

.download-product-view-segment:focus-visible span {
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.82),
    0 0 0 6px rgba(19, 152, 255, 0.54);
}

.download-product-titlebar {
  position: relative;
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: var(--download-product-titlebar-height);
  padding: 4px 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0)),
    rgba(224, 224, 223, 0.78);
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.06);
}

.download-product-traffic {
  position: absolute;
  top: 50%;
  left: 16px;
  display: flex;
  gap: 7px;
  align-items: center;
  transform: translateY(-50%);
}

.download-product-traffic span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.12) inset;
}

.download-product-traffic span:nth-child(1) {
  background: #ff5f57;
}

.download-product-traffic span:nth-child(2) {
  background: #febc2e;
}

.download-product-traffic span:nth-child(3) {
  background: #28c840;
}

.download-product-icon {
  display: block;
  width: var(--download-product-control-icon-size);
  height: var(--download-product-control-icon-size);
  color: currentColor;
  background-color: currentColor;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}

.icon-archive {
  mask-image: url("assets/icons/archive.svg");
}

.icon-chevron-down {
  mask-image: url("assets/icons/chevronDown.svg");
}

.icon-chevron-left {
  mask-image: url("assets/icons/chevronLeft.svg");
}

.icon-chevron-right {
  mask-image: url("assets/icons/chevronRight.svg");
}

.icon-ellipsis {
  mask-image: url("assets/icons/ellipsis.svg");
}

.icon-folder {
  mask-image: url("assets/icons/folder.svg");
}

.icon-home {
  mask-image: url("assets/icons/home.svg");
}

.icon-image {
  mask-image: url("assets/icons/image.svg");
}

.icon-search {
  mask-image: url("assets/icons/search.svg");
}

.icon-panel-right {
  mask-image: url("assets/icons/panelRight.svg");
}

.icon-plus {
  mask-image: url("assets/icons/plus.svg");
}

.icon-settings {
  mask-image: url("assets/icons/settings.svg");
}

.icon-trash {
  mask-image: url("assets/icons/trash.svg");
}

.icon-x {
  mask-image: url("assets/icons/x.svg");
}

.download-product-tabbar {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-column: 1 / -1;
  gap: 7px;
  align-items: center;
  min-width: 0;
}

.download-product-action-group {
  display: flex;
  gap: 3px;
  align-items: center;
  height: var(--download-product-tabbar-height);
  padding: 3px;
  color: rgba(44, 45, 48, 0.64);
  background: rgba(44, 45, 48, 0.06);
  border: 0.5px solid rgba(44, 45, 48, 0.08);
  border-radius: 999px;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.04),
    0 1px 0 rgba(255, 255, 255, 0.58) inset;
}

.download-product-action-group:first-child {
  margin-left: 62px;
}

.download-product-tab-action {
  display: grid;
  flex: none;
  place-items: center;
  width: var(--download-product-control-button-size);
  height: var(--download-product-control-button-size);
  padding: 0;
  font: inherit;
  appearance: none;
  cursor: default;
  background: transparent;
  border: 0;
  border-radius: 999px;
}

.download-product-tab-action.is-active {
  color: rgba(30, 31, 34, 0.74);
  background: rgba(44, 45, 48, 0.11);
}

button.download-product-tab-action {
  cursor: pointer;
}

.download-product-tab-action .download-product-icon {
  width: var(--download-product-control-icon-size);
  height: var(--download-product-control-icon-size);
}

.download-product-tabs {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  grid-template-columns: repeat(2, var(--download-product-tab-group-width));
  gap: 6px;
  align-items: center;
  min-width: 0;
  height: var(--download-product-tabbar-height);
  padding: 2px;
  overflow: hidden;
  background: rgba(44, 45, 48, 0.055);
  border: 0.5px solid rgba(44, 45, 48, 0.08);
  border-radius: 999px;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.04),
    0 1px 0 rgba(255, 255, 255, 0.6) inset;
  transform: translate(-50%, -50%);
}

.download-product-tab-merge {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: 0;
}

.download-product-tab {
  position: relative;
  display: grid;
  flex: none;
  grid-template-columns: 24px minmax(0, 1fr) 24px;
  gap: 4px;
  align-items: center;
  width: 100%;
  min-width: 0;
  height: var(--download-product-tab-height);
  padding: 0 10px;
  font: inherit;
  color: rgba(42, 43, 46, 0.56);
  appearance: none;
  cursor: pointer;
  background: transparent;
  border: 0;
  border-radius: 999px;
}

.download-product-tab-merge .download-product-tab {
  width: 100%;
}

.download-product-tab + .download-product-tab::before {
  position: absolute;
  top: 7px;
  bottom: 7px;
  left: 0;
  width: 1px;
  content: "";
  background: rgba(44, 45, 48, 0.1);
}

.download-product-tab-merge.is-selected .download-product-tab {
  color: rgba(28, 29, 32, 0.72);
  background: rgba(255, 255, 255, 0.52);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.045),
    0 0 0 0.5px rgba(255, 255, 255, 0.66) inset,
    0 -1px 0 rgba(0, 0, 0, 0.04) inset;
}

.download-product-tab-merge.is-selected .download-product-tab:first-child {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.download-product-tab-merge.is-selected .download-product-tab:nth-child(2) {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.download-product-tab-merge.is-selected
  .download-product-tab:nth-child(2)::before {
  opacity: 0.32;
}

.download-product-tab-standalone {
  padding-inline: 14px;
}

.download-product-tab:hover {
  color: rgba(28, 29, 32, 0.72);
  background: rgba(255, 255, 255, 0.44);
}

.download-product-tab.is-active {
  z-index: 1;
  color: rgba(28, 29, 32, 0.78);
  background: rgba(255, 255, 255, 0.66);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.055),
    0 0 0 0.5px rgba(255, 255, 255, 0.78) inset,
    0 -1px 0 rgba(0, 0, 0, 0.06) inset;
}

.download-product-tab.is-active::before {
  opacity: 0;
}

.download-product-tab-merge.is-selected .download-product-tab.is-active {
  color: rgba(28, 29, 32, 0.82);
  background: rgba(255, 255, 255, 0.7);
}

.download-product-tab .download-product-icon {
  flex: none;
  width: 14px;
  height: 14px;
}

.download-product-tab .download-product-icon:not(.icon-x) {
  grid-column: 1;
  justify-self: center;
}

.download-product-badge-inline {
  display: grid;
  flex: none;
  grid-column: 1;
  place-items: center;
  justify-self: center;
  min-width: 23px;
  height: 16px;
  padding: 0 5px;
  font-size: 8px;
  font-weight: 720;
  line-height: 1;
  color: rgba(34, 35, 38, 0.74);
  background: rgba(255, 255, 255, 0.72);
  border: 0.5px solid rgba(44, 45, 48, 0.12);
  border-radius: 999px;
}

.download-product-canvas-tab-icon {
  display: grid;
  flex: none;
  grid-column: 1;
  place-items: center;
  justify-self: center;
  width: 16px;
  height: 16px;
  background:
    linear-gradient(rgba(34, 35, 38, 0.28), rgba(34, 35, 38, 0.28)) 50% 0 / 1px
    100% no-repeat,
    linear-gradient(rgba(34, 35, 38, 0.28), rgba(34, 35, 38, 0.28)) 0 50% / 100%
    1px no-repeat,
    rgba(255, 255, 255, 0.72);
  border: 0.5px solid rgba(44, 45, 48, 0.16);
  border-radius: 4px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.72) inset;
}

.download-product-tab .icon-x {
  grid-column: 3;
  justify-self: center;
  width: 12px;
  height: 12px;
  margin-left: 0;
  color: rgba(46, 47, 50, 0.46);
}

.download-product-tab-standalone .icon-x {
  opacity: 0;
}

.download-product-tab-standalone:hover .icon-x,
.download-product-tab-standalone.is-active .icon-x {
  opacity: 1;
}

.download-product-tab strong {
  grid-column: 2;
  justify-self: center;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 11px;
  font-weight: 560;
  line-height: 14px;
  text-align: center;
  white-space: nowrap;
}

.download-product-titlebar-fill {
  min-width: 0;
}

.download-product-body {
  display: grid;
  flex: 1;
  grid-template-columns: var(--download-product-sidebar-column) minmax(0, 1fr);
  min-height: 0;
  overflow: hidden;
  border-radius: 0 0 24px 24px;
}

.download-product-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  padding: 18px 5px 10px;
  margin: 7px 0 7px 7px;
  background: var(--mock-sidebar-bg);
  border: 0.5px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.05),
    0 1px 0 rgba(255, 255, 255, 0.82) inset;
  backdrop-filter: saturate(2.2) blur(16px);
}

.download-product-brand {
  display: grid;
  place-items: center;
  min-height: 24px;
  padding: 0 0 14px;
}

.download-product-brand img {
  width: 20px;
  height: 24px;
  object-fit: contain;
}

.download-product-brand strong {
  display: none;
}

.download-product-sidebar-nav {
  display: grid;
  gap: 6px;
  align-content: start;
  justify-items: center;
  width: 100%;
}

.download-product-row {
  display: grid;
  place-items: center;
  width: var(--download-product-sidebar-row-size);
  height: var(--download-product-sidebar-row-size);
  min-height: var(--download-product-sidebar-row-size);
  padding: 0;
  color: var(--mock-row-text);
  border-radius: 10px;
}

.download-product-row .download-product-icon {
  width: 16px;
  height: 16px;
}

.download-product-row strong {
  display: none;
}

.download-product-row small {
  display: none;
}

.download-product-row.is-active {
  color: rgba(32, 33, 36, 0.82);
  background: rgba(32, 33, 36, 0.12);
}

.download-product-row.is-active small {
  color: rgba(255, 255, 255, 0.7);
}

.download-product-row.is-disclosure {
  color: rgba(32, 33, 36, 0.7);
}

.download-product-row.is-disclosure .download-product-icon {
  width: 12px;
  height: 12px;
}

.download-product-row.is-child {
  padding-left: 0;
}

.download-product-section {
  min-height: 28px;
  padding: 7px 8px 0 2px;
  font-size: 11px;
  font-weight: 650;
  line-height: 14px;
  color: rgba(32, 33, 36, 0.54);
}

.download-product-settings {
  width: var(--download-product-sidebar-row-size);
  margin-top: auto;
}

.download-product-library {
  position: relative;
  min-width: 0;
  min-height: 0;
  padding: 8px 8px 38px;
  overflow: hidden;
  background: var(--mock-window-bg);
}

.download-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 12px;
  min-width: 0;
}

.download-product-grid.is-layout-ready {
  position: relative;
  display: block;
}

.download-product-grid figure {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 6px;
  min-width: 0;
  min-height: 150px;
  margin: 0;
}

.download-product-grid.is-layout-ready figure {
  position: absolute;
  top: 0;
  left: 0;
  min-height: 0;
  transition:
    transform 180ms ease,
    width 180ms ease,
    height 180ms ease;
}

.download-product-grid[data-layout-mode="columns"] figure {
  grid-template-rows: minmax(0, 1fr);
  gap: 0;
}

.download-product-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 1.34;
  object-fit: cover;
  background: #f8f8f7;
  border-radius: 5px;
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.05);
}

.download-product-grid.is-layout-ready img {
  height: var(--download-preview-height, 150px);
  aspect-ratio: auto;
}

.download-product-document-preview {
  display: block;
  width: 100%;
  min-height: 0;
  max-height: 220px;
  padding: 14px 15px;
  margin: 0;
  overflow: hidden;
  font: inherit;
  font-size: 11px;
  font-weight: 450;
  line-height: 17px;
  color: rgba(30, 31, 34, 0.72);
  white-space: pre-line;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.76),
      rgba(247, 247, 245, 0.94)
    ),
    #fbfbfa;
  border-radius: 5px;
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.06);
}

.download-product-grid.is-layout-ready .download-product-document-preview {
  height: var(--download-preview-height, 150px);
  max-height: none;
}

.download-product-grid figcaption {
  display: grid;
  gap: 3px;
  align-content: start;
  min-width: 0;
  height: var(
    --download-card-chrome-height,
    var(--download-product-card-chrome-height)
  );
  padding-top: 5px;
  text-align: center;
}

.download-product-grid figcaption strong,
.download-product-grid figcaption span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.download-product-grid figcaption strong {
  font-size: 11px;
  font-weight: 560;
  line-height: 14px;
  color: rgba(30, 31, 34, 0.95);
}

.download-product-grid figcaption span {
  font-size: 9.5px;
  font-weight: 650;
  line-height: 12px;
  color: rgba(32, 33, 36, 0.48);
}

.download-product-grid[hidden],
[data-download-product-panel][hidden],
.download-product-bottom-controls[hidden] {
  display: none;
}

.download-product-file-viewer,
.download-product-image-viewer,
.download-product-canvas-view {
  position: absolute;
  inset: 0;
  margin: 0;
  overflow: hidden;
  background: var(--mock-window-bg);
}

.download-product-split-view {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: var(--mock-window-bg);
}

.download-product-split-view .download-product-file-viewer,
.download-product-split-view .download-product-image-viewer {
  position: relative;
  inset: auto;
  min-width: 0;
  min-height: 0;
}

.download-product-split-view .download-product-file-viewer {
  border-right: 0.5px solid rgba(44, 45, 48, 0.1);
}

.download-product-file-viewer {
  display: grid;
  grid-template-rows: 35px minmax(0, 1fr);
}

.download-product-file-toolbar {
  display: flex;
  gap: 14px;
  align-items: center;
  min-width: 0;
  height: 35px;
  padding: 0 18px;
  color: rgba(32, 33, 36, 0.56);
  border-bottom: 0.5px solid rgba(44, 45, 48, 0.08);
}

.download-product-file-toolbar span,
.download-product-file-toolbar strong,
.download-product-file-toolbar em {
  flex: none;
  font-size: 10.5px;
  font-weight: 560;
  line-height: 14px;
  white-space: nowrap;
}

.download-product-file-toolbar em {
  font-style: italic;
}

.download-product-file-toolbar i {
  flex: none;
  width: 1px;
  height: 16px;
  background: rgba(44, 45, 48, 0.12);
}

.download-product-markdown-page {
  width: min(100%, 560px);
  min-width: 0;
  padding: 42px 48px 58px;
  overflow: auto;
  scrollbar-gutter: stable;
  scrollbar-color: rgba(32, 33, 36, 0.28) transparent;
  scrollbar-width: thin;
}

.download-product-markdown-page::-webkit-scrollbar {
  width: 3px;
  height: 3px;
}

.download-product-markdown-page::-webkit-scrollbar-track {
  background: transparent;
}

.download-product-markdown-page::-webkit-scrollbar-thumb {
  background: rgba(32, 33, 36, 0.28);
  border-radius: 999px;
}

.download-product-markdown-page::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

.download-product-markdown-page h2 {
  margin: 0 0 22px;
  font-size: 22px;
  font-weight: 760;
  line-height: 29px;
  color: rgba(24, 25, 28, 0.94);
  letter-spacing: 0;
}

.download-product-markdown-section {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding-top: 24px;
  margin-top: 24px;
  border-top: 0.5px solid rgba(32, 33, 36, 0.1);
}

.download-product-markdown-section:first-of-type {
  padding-top: 0;
  margin-top: 0;
  border-top: 0;
}

.download-product-markdown-marker {
  font-size: 11px;
  font-weight: 760;
  line-height: 26px;
  color: rgba(24, 25, 28, 0.48);
  text-align: right;
  letter-spacing: 0;
}

.download-product-markdown-copy {
  min-width: 0;
}

.download-product-markdown-page p {
  margin: 0;
  font-size: 14px;
  font-weight: 430;
  line-height: 26px;
  color: rgba(30, 31, 34, 0.76);
  text-wrap: pretty;
}

.download-product-markdown-copy p + p {
  margin-top: 14px;
}

.download-product-markdown-copy p:first-of-type {
  font-size: 14.5px;
  font-weight: 590;
  color: rgba(24, 25, 28, 0.84);
}

.download-product-image-viewer {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 11px;
  place-items: center;
  padding: 34px;
}

.download-product-image-viewer img {
  display: block;
  max-width: min(100%, 760px);
  max-height: 100%;
  object-fit: contain;
  background: #f8f8f7;
  border-radius: 6px;
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.08),
    0 0 0 0.5px rgba(0, 0, 0, 0.06);
}

.download-product-image-viewer figcaption {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 10px;
  font-weight: 600;
  line-height: 14px;
  color: rgba(32, 33, 36, 0.5);
  text-align: center;
  white-space: nowrap;
}

.download-product-canvas-view {
  padding: 10px 0 0 10px;
  background: transparent;
  border-radius: 0 0 24px 24px;
}

.download-product-canvas-surface {
  position: relative;
  display: flex;
  gap: 12px;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: transparent;
}

.download-product-canvas-shelf {
  position: relative;
  display: flex;
  flex: none;
  flex-direction: column;
  width: clamp(300px, 33.333%, 368px);
  min-width: 0;
  padding: 10px 12px 13px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.88);
  border: 0.5px solid rgba(44, 45, 48, 0.08);
  border-radius: 18px;
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.86) inset;
  backdrop-filter: blur(18px) saturate(1.08);
}

.download-product-canvas-shelf-toolbar {
  display: flex;
  flex: none;
  gap: 6px;
  align-items: center;
  min-width: 0;
  height: 26px;
  margin-bottom: 11px;
}

.download-product-canvas-drag-handle {
  display: grid;
  flex: none;
  grid-template-columns: repeat(2, 2px);
  gap: 3px;
  width: 10px;
  padding-left: 1px;
}

.download-product-canvas-drag-handle i {
  width: 2px;
  height: 2px;
  background: rgba(32, 33, 36, 0.42);
  border-radius: 50%;
}

.download-product-canvas-library-pill,
.download-product-canvas-search {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  height: 26px;
  color: rgba(24, 25, 28, 0.8);
  background: rgba(255, 255, 255, 0.74);
  border: 0.5px solid rgba(44, 45, 48, 0.18);
  border-radius: 8px;
}

.download-product-canvas-library-pill {
  flex: none;
  gap: 4px;
  padding: 0 7px;
}

.download-product-canvas-library-pill .download-product-icon {
  width: 12px;
  height: 12px;
}

.download-product-canvas-library-pill .icon-chevron-down {
  width: 9px;
  height: 9px;
  color: rgba(24, 25, 28, 0.54);
}

.download-product-canvas-library-pill strong {
  font-size: 11.5px;
  font-weight: 540;
  line-height: 15px;
  white-space: nowrap;
}

.download-product-canvas-search {
  flex: 1;
  gap: 5px;
  padding: 0 8px;
}

.download-product-canvas-search .download-product-icon {
  flex: none;
  width: 12px;
  height: 12px;
  color: rgba(24, 25, 28, 0.5);
}

.download-product-canvas-search span:not(.download-product-icon) {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 11.5px;
  font-weight: 450;
  line-height: 15px;
  color: rgba(24, 25, 28, 0.5);
  white-space: nowrap;
}

.download-product-canvas-search strong {
  flex: none;
  font-size: 10.5px;
  font-weight: 500;
  line-height: 14px;
  color: rgba(24, 25, 28, 0.5);
  white-space: nowrap;
}

.download-product-canvas-shelf-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px 10px;
  min-width: 0;
  min-height: 0;
  padding: 0 4px 8px 2px;
}

.download-product-canvas-shelf-grid figure {
  display: grid;
  gap: 6px;
  justify-items: center;
  min-width: 0;
  margin: 0;
}

.download-product-canvas-shelf-grid img,
.download-product-canvas-md-thumb {
  display: block;
  width: 52px;
  height: 49px;
  overflow: hidden;
  object-fit: cover;
  background: #f1f1ef;
  border-radius: 5px;
  box-shadow:
    0 0 0 0.5px rgba(44, 45, 48, 0.08),
    0 1px 2px rgba(0, 0, 0, 0.03);
}

.download-product-canvas-md-thumb {
  display: grid;
  place-items: center;
  padding: 7px;
  font-size: 7px;
  font-weight: 650;
  line-height: 10px;
  color: rgba(32, 33, 36, 0.62);
  text-align: center;
  white-space: normal;
}

.download-product-canvas-shelf-grid figcaption {
  display: grid;
  width: 100%;
  min-width: 0;
  text-align: center;
}

.download-product-canvas-shelf-grid figcaption strong,
.download-product-canvas-shelf-grid figcaption span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.download-product-canvas-shelf-grid figcaption strong {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  min-height: 24px;
  -webkit-line-clamp: 2;
  font-size: 10.5px;
  font-weight: 470;
  line-height: 12px;
  color: rgba(24, 25, 28, 0.84);
  white-space: normal;
}

.download-product-canvas-shelf-grid figcaption span {
  margin-top: 1px;
  font-size: 9px;
  font-weight: 430;
  line-height: 12px;
  color: rgba(24, 25, 28, 0.5);
  white-space: nowrap;
}

.download-product-canvas-peek {
  position: relative;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  background:
    linear-gradient(rgba(44, 45, 48, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(44, 45, 48, 0.045) 1px, transparent 1px);
  background-size: 28px 28px;
}

.download-product-canvas-md-card {
  position: absolute;
  top: 52px;
  left: 14px;
  z-index: 1;
  width: 214px;
  padding: 22px 17px 17px;
  margin: 0;
  background: rgba(255, 255, 255, 0.9);
  border: 0.5px solid rgba(44, 45, 48, 0.08);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.07);
  transform: rotate(-1.2deg);
}

.download-product-canvas-md-kicker {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 15px;
  padding: 0 5px;
  font-size: 7.5px;
  font-weight: 680;
  line-height: 10px;
  color: rgba(24, 25, 28, 0.54);
  text-transform: lowercase;
  background: rgba(24, 25, 28, 0.055);
  border: 0.5px solid rgba(24, 25, 28, 0.07);
  border-radius: 999px;
}

.download-product-canvas-md-card h3 {
  margin: 14px 0 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 12.5px;
  font-weight: 720;
  line-height: 16px;
  color: rgba(24, 25, 28, 0.82);
  letter-spacing: 0;
  white-space: nowrap;
}

.download-product-canvas-md-copy {
  display: grid;
  gap: 7px;
}

.download-product-canvas-md-copy p {
  margin: 0;
  font-size: 8.5px;
  font-weight: 430;
  line-height: 12px;
  color: rgba(24, 25, 28, 0.6);
  text-wrap: pretty;
}

.download-product-canvas-main-image {
  position: absolute;
  top: 56px;
  right: 26px;
  z-index: 3;
  width: min(390px, calc(100% - 120px));
  padding: 7px;
  margin: 0;
  background: rgba(255, 255, 255, 0.92);
  border: 0.5px solid rgba(44, 45, 48, 0.08);
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.085);
  transform: rotate(0.8deg);
}

.download-product-canvas-main-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 5px;
}

.download-product-canvas-main-image figcaption {
  max-width: 100%;
  margin-top: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 9.5px;
  font-weight: 540;
  line-height: 12px;
  color: rgba(24, 25, 28, 0.46);
  white-space: nowrap;
}

.download-product-canvas-rock-strip {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.download-product-canvas-rock-card {
  position: absolute;
  padding: 6px;
  margin: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.86);
  border: 0.5px solid rgba(44, 45, 48, 0.075);
  border-radius: 7px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.07);
}

.download-product-canvas-rock-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.download-product-canvas-rock-card-top {
  top: 18px;
  right: 188px;
  width: 168px;
  opacity: 0.92;
  transform: rotate(-1.5deg);
}

.download-product-canvas-rock-card-wide {
  right: 28px;
  bottom: 26px;
  width: 178px;
  transform: rotate(-1.2deg);
}

.download-product-canvas-rock-card-giraffe {
  bottom: 18px;
  left: 30px;
  width: 142px;
  transform: rotate(1.4deg);
}

.download-product-canvas-rock-card-hunter {
  bottom: 8px;
  left: 258px;
  width: 132px;
  opacity: 0.94;
  transform: rotate(-2.3deg);
}

.download-product-badge {
  position: absolute;
  top: 7px;
  right: 7px;
  z-index: 1;
  min-width: 28px;
  padding: 2px 7px;
  font-size: 9px;
  font-weight: 650;
  line-height: 12px;
  color: rgba(30, 31, 34, 0.8);
  text-align: center;
  background: rgba(255, 255, 255, 0.82);
  border: 0.5px solid rgba(0, 0, 0, 0.08);
  border-radius: 9px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.download-product-grid[data-layout-mode="columns"] .download-product-badge,
.download-product-grid[data-layout-mode="columns"] figcaption {
  display: none;
}

.download-product-bottom-controls {
  position: absolute;
  right: 15px;
  bottom: 11px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.download-product-slider {
  position: relative;
  display: block;
  width: 104px;
  height: 31px;
  background: rgba(255, 255, 255, 0.62);
  border: 0.5px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.1),
    0 1px 0 rgba(255, 255, 255, 0.72) inset;
  backdrop-filter: blur(16px) saturate(1.45);
}

.download-product-slider:focus-within {
  outline: 2px solid rgba(19, 152, 255, 0.44);
  outline-offset: 2px;
}

.download-product-slider::before {
  position: absolute;
  top: 14px;
  right: 19px;
  left: 19px;
  height: 2px;
  content: "";
  background: rgba(32, 33, 36, 0.18);
  border-radius: 999px;
}

.download-product-slider input {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  appearance: none;
  opacity: 0;
}

.download-product-slider i {
  position: absolute;
  top: 7px;
  left: calc(19px + (100% - 38px) * var(--download-product-zoom-progress, 0.9));
  z-index: 1;
  display: block;
  width: 17px;
  height: 17px;
  background: rgba(255, 255, 255, 0.96);
  border: 0.5px solid rgba(0, 0, 0, 0.08);
  border-radius: 50%;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.14);
  transform: translateX(-50%);
}

.download-product-more {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  color: rgba(32, 33, 36, 0.72);
  background: rgba(255, 255, 255, 0.62);
  border: 0.5px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.1),
    0 1px 0 rgba(255, 255, 255, 0.72) inset;
  backdrop-filter: blur(16px) saturate(1.45);
}

@media (max-width: 1120px) {
  .download-product-stage {
    --download-product-window-max-width: 960px;
    justify-self: center;
  }

  .download-product-window {
    transform: none;
  }

  .download-product-view-strip {
    transform: none;
  }
}

@media (max-width: 900px) {
  .download-product-body {
    grid-template-columns: 1fr;
  }

  .download-product-sidebar {
    display: none;
  }

  .download-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .download-product-stage {
    justify-self: start;
    margin-top: 30px;
  }

  .download-product-window {
    --download-product-tab-group-width: 208px;
    border-radius: 22px;
  }

  .download-product-titlebar {
    grid-template-columns: 80px minmax(0, 1fr) auto;
    gap: 8px;
    padding-inline: 12px;
  }

  .download-product-traffic {
    display: none;
  }

  .download-product-tabbar {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .download-product-action-group:first-child {
    margin-left: 0;
  }

  .download-product-tabs {
    position: static;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    justify-self: stretch;
    min-width: 0;
    transform: none;
  }

  .download-product-titlebar-fill {
    display: none;
  }

  .download-product-tab-merge {
    width: 100%;
  }

  .download-product-tab-standalone {
    display: none;
  }

  .download-product-tab strong {
    font-size: 11.5px;
    line-height: 15px;
  }

  .download-product-library {
    padding: 10px 8px 42px;
  }

  .download-product-grid {
    gap: 18px 10px;
  }

  .download-product-grid figure {
    min-height: 150px;
  }

  .download-product-grid figcaption strong {
    font-size: 11.5px;
    line-height: 15px;
  }

  .download-product-bottom-controls {
    right: 16px;
    bottom: 14px;
  }
}

.download-product-body.is-tab-view {
  grid-template-columns: minmax(0, 1fr);
}

.download-product-body.is-tab-view .download-product-sidebar {
  display: none;
}
