.product {
  grid-template-columns: 22px 165px 1fr;
}

.visual {
  padding-top: 18px;
  padding-left: 5px;
  padding-right: 3px;
  overflow: hidden;
}

.product-image {
  width: 156px;
  height: 170px;
  max-width: 100%;
  object-fit: contain;
  transform: scale(1.38);
  transform-origin: center top;
}

.pack {
  z-index: 2;
}

.price small {
  font-size: 9px;
  line-height: 1.15;
}

.marketing-badges {
  position: absolute;
  top: 48px;
  right: 2px;
  z-index: 3;
  display: grid;
  gap: 2px;
}

.marketing-badges img {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
}

@media screen {
  .catalogue-pages {
    zoom: 1.1;
  }

  body.pdf-exporting .catalogue-pages {
    zoom: 1;
  }
}

@media screen and (min-width: 1051px) {
  html,
  body {
    height: 100%;
    overflow: hidden;
  }

  .workspace {
    height: calc(100vh - 72px);
    min-height: 0;
    overflow: hidden;
  }

  .editor,
  .stage {
    height: 100%;
    min-height: 0;
  }

  .editor {
    max-height: none;
    overscroll-behavior: contain;
  }

  .stage {
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}

.title-line .product-title {
  max-height: 38px;
  line-height: 1.16;
  padding-bottom: 2px;
}

.product > .content {
  grid-template-rows: minmax(0, 1fr) 58px;
  min-height: 0;
  overflow: hidden;
}

.product > .content > .copy,
.product > .content > .table-wrap {
  min-height: 0;
  max-height: 100%;
  overflow: hidden;
}

.product > .content > .bottom {
  align-self: end;
  height: 58px;
  min-height: 58px;
  overflow: visible;
}

.product > .visual .pack {
  bottom: 5px;
}

.product .icons {
  justify-content: center;
  gap: 9px;
}

.product .icons:has(.claim:nth-child(4)) {
  justify-content: space-around;
  gap: 4px;
}

@media print {
  html,
  body {
    width: 148mm;
    margin: 0 !important;
    background: #fff !important;
  }

  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .catalogue-page {
    width: 148mm !important;
    height: 210mm !important;
    margin: 0 !important;
  }
}

@page {
  size: A5 portrait;
  margin: 0;
}
