product-card.product-card {
  padding: 0 0 0 24px;
  z-index: 0;

  @media screen and (min-width: 1201px) and (max-width: 1550px) {
    padding: 0 0 0 18px;
  }

  @media screen and (max-width: 1024px) {
    padding: 0 0 0 18px;
  }
  .product-card-badge--left {
    position: absolute;
    inset: auto;
    bottom: 20%;
    left: 13px;
    transform-origin: left;
    transform: rotate(-90deg);
    color: #fff;
    padding: 7px 16px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    font-size: 9px;
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: 0.23em;
    background: linear-gradient(90deg, #03b1e6, #0354cd), #D9D9D9;

    @media screen and (min-width: 1201px) and (max-width: 1550px) {
      padding: 5px 12px;
      font-size: 8px;
      left: 10px;      
    }
    @media screen and (min-width: 1025px) and (max-width: 1200px) {
      font-size: 9px;
      padding: 6px 15px;
      left: 14px;
    }

    @media screen and (max-width: 1024px) {
      padding: 5px 12px;
      font-size: 8px;
      left: 9px;
      bottom: 30%;
    }
  }
  .product-card-badge--left.software-based {
    background: linear-gradient(90deg, #5A5A72 -0.41%, #3015A4 49.13%, #D43134 98.18%), #D9D9D9;
  }
  .product-card__content {
    @media screen and (min-width: 1551px) {
      padding: 0 24px 24px;
    }
    @media screen and (min-width: 1025px) and (max-width: 1550px) {
      padding: 0 18px 18px;
    }
    @media screen and (max-width: 1200px) {
      padding: 0 20px 20px;
    }
    /* margin-left: 40px; */
    position: relative;
    z-index: 1;

    &::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      /* background-color: #F9F9F9; */
      /* clip-path: polygon(0% 8%, 100% 30%, 100% 100%, 0% 100%); */
      background: url(/cdn/shop/files/prod-shape.svg?v=1769464389) no-repeat;
      background-size: cover;
      background-size: contain;
      background-position: bottom;
      z-index: -1;
    }
  }
  product-swatches {
    width: fit-content;
    display: flex;
    flex-grow: 1;

    @media screen and (max-width: 749px) {
      .hidden-swatches__count::before {
        font-size: 10px;
      }
    }
  }
  .product-title p,
  .tagline p {
    text-overflow: ellipsis;
    overflow: hidden;
  }
  .jdgm-widget.jdgm-widget span.jdgm-prev-badge__text {
    display: none !important;
  }
  [ref="priceContainer"] {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 5px;

    span {
      line-height: 1;
    }
  }

  @media screen and (max-width: 1200px) {
    .divider {
      padding-block: calc(var(--padding-block-start) * 0.8);
    }
  }

  fieldset.variant-option .swatch {
    background: var(--swatch-color);
    width: 16px;
    height: 16px;

    @media screen and (max-width: 749px) {
      width: 12px;
      height: 12px;
    }
  }
}
product-price.custom-font-size .compare-at-price {
  font-size: calc(var(--font-size) / 2);
  font-weight: 400;

  @media screen and (max-width: 1024px) {
    font-size: calc(var(--font-size) / 1.9);
  }
}

product-price [ref="priceContainer"] .price {
  font-weight: 900;
}

product-card .shopify-app-block.jdgm-horizon-widget {
  width: fit-content;
}

product-card.product-card.card-normal {

  @media screen and (max-width: 749px) {
    padding: 0 0 0 12px;
    
    .jdgm-widget.jdgm-widget .jdgm-prev-badge__stars span.jdgm-star::before {
      font-size: 10px;
    }
    .divider {
      padding-block: calc(var(--padding-block-start) * 0.62);
    }
    .group-block.price-wrap .group-block-content {
      gap: var(--gap-2xs);
    }
    .text-block:has([ref="priceContainer"]).custom-font-size, 
    .text-block:has([ref="priceContainer"]).custom-font-size > * {
      font-size: calc(  var(--font-size) * 0.55);
    }
    [ref="priceContainer"] {
      flex-direction: column;
      gap: 0;

      .compare-at-price {
        font-size: calc(var(--font-size) / 2.4);
      }
    }
    .group-block.card-titles {
      padding-block-end: calc(var(--padding-block-end) * 0.2);

      .group-block-content {
        gap: var(--gap-3xs);
      }
    }
    .price-wrap .group-block-content {
      flex-wrap: nowrap;
      align-items: center;
    }
    .static-buy-button {
      gap: var(--gap-2xs);

      svg {
        width: 14px;
        min-width: 14px;
      }
      span {
        font-size: 0.5rem;
      }
    }
    .product-card__content {
      padding: 0 var(--padding-sm) var(--padding-sm);
    }
    .product-card-badge--left {
      padding: 3px 9px 2px;
      font-size: 5.5px;
      left: 6px;
      bottom: 18%;
    }
    .product-title .custom-font-size, .product-title .custom-font-size > * {
      font-size: calc(var(--font-size) * 0.65);
    }
  }
  .group-block.rating-wrap .group-block-content {
    flex-wrap: nowrap;
  }
}