.im-product-cover-frame {
  display: contents;
}

.im-product-cover {
  display: none;
}

.im-product-cover-frame:is(:has(.im-product-page__gallery-image[data-gallery-index="0"]), .im-product-cover-frame--viewer) {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  isolation: isolate;
  container-type: inline-size;
  background: #fdfdfd;
}

.im-product-page__gallery-slide > .im-product-cover-frame:has(.im-product-page__gallery-image[data-gallery-index="0"]) {
  position: absolute;
  inset: 0;
}

.im-product-page__gallery-viewer-zoom:has(> .im-product-cover-frame--viewer) {
  container-type: size;
}

.im-product-cover-frame--viewer {
  max-width: 100cqh;
}

.im-product-cover-frame .im-product-page__gallery-image[data-gallery-index="0"],
.im-product-cover-frame--viewer .im-product-page__gallery-viewer-image {
  position: absolute;
  inset: -1% auto auto 24%;
  width: 96%;
  height: auto;
  max-width: none;
  max-height: none;
  mix-blend-mode: multiply;
}

.im-product-cover-frame:is(:has(.im-product-page__gallery-image[data-gallery-index="0"]), .im-product-cover-frame--viewer) > .im-product-cover {
  display: block;
  position: absolute;
  inset: 0;
  pointer-events: none;
  color: #10191e;
  font-family: var(--font-family, Arial, sans-serif);
}

.im-product-cover__logo {
  position: absolute;
  inset: 4.5% auto auto 5%;
  width: 31%;
  height: auto;
  clip-path: inset(0 0 29% 0);
}

.im-product-cover__items {
  position: absolute;
  inset: 15% auto 20.5% 5.4%;
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  width: 42%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.im-product-cover--four .im-product-cover__items {
  grid-template-rows: repeat(4, minmax(0, 1fr));
}

.im-product-cover__item {
  align-self: start;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.im-product-cover__copy {
  display: flex;
  flex-direction: column;
  gap: .45cqw;
  min-width: 0;
}

.im-product-cover__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 10cqw;
  aspect-ratio: 1;
  margin-bottom: .85cqw;
  border-radius: 1.15cqw;
  background: #062b3d;
  color: #fff;
}

.im-product-cover__icon svg {
  width: 58%;
  height: 58%;
}

.im-product-cover__value,
.im-product-cover__label {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  overflow-wrap: anywhere;
  -webkit-line-clamp: 2;
}

.im-product-cover__value {
  font-size: clamp(12px, 4.4cqw, 38px);
  font-weight: 750;
  line-height: 1.05;
  letter-spacing: -.03em;
}

.im-product-cover__label {
  font-size: clamp(9px, 2.5cqw, 22px);
  font-weight: 500;
  line-height: 1.1;
}

.im-product-cover--four .im-product-cover__item,
.im-product-cover__item--long {
  display: grid;
  grid-template-columns: 8cqw minmax(0, 1fr);
  align-items: center;
  column-gap: 1.5cqw;
  padding-top: 1.2cqw;
}

.im-product-cover--four .im-product-cover__icon,
.im-product-cover__item--long .im-product-cover__icon {
  width: 8cqw;
  margin-bottom: 0;
}

.im-product-cover--four .im-product-cover__value,
.im-product-cover__item--long .im-product-cover__value {
  font-size: clamp(11px, 3.65cqw, 31px);
}

.im-product-cover__footer {
  position: absolute;
  inset: auto auto 5.4% 4.5%;
  display: flex;
  align-items: stretch;
  gap: .9cqw;
  width: 43%;
  height: 14.5%;
  color: #fff;
}

.im-product-cover__warranty,
.im-product-cover__series {
  display: grid;
  align-content: center;
  min-width: 0;
  background: #ed0005;
}

.im-product-cover__warranty {
  flex: 2;
  padding: 0 1cqw;
  text-align: center;
}

.im-product-cover__warranty strong {
  font-size: 8cqw;
  font-weight: 800;
  line-height: .9;
}

.im-product-cover__warranty span {
  margin-top: .6cqw;
  font-size: clamp(8px, 1.8cqw, 16px);
  font-weight: 700;
  line-height: 1.04;
}

.im-product-cover__series {
  flex: 3;
  padding: 0 5cqw 0 1.9cqw;
  clip-path: polygon(0 0, 84% 0, 100% 32%, 100% 100%, 0 100%);
  font-size: 4.5cqw;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.02em;
  overflow-wrap: anywhere;
}
