/* MAIN CARD LAYOUT */
  .custom-lo-card-contain {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
  }

  /* INDIVIDUAL CARD */
  .custom-lo-card-wrap {
    display: flex;
    flex: 0 0 calc((100% - 60px) / 4);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    max-width: 25rem;
    min-width: 0;
    margin: 0;
    text-align: center;
    box-sizing: border-box;
  }

  /* PRODUCT IMAGE AND CLICKABLE IMAGE AREA */
  .custom-lo-card-wrap > a {
    display: block;
    width: 100%;
    color: inherit;
    text-decoration: none;
  }

  .custom-lo-card-hover-wrap {
    position: relative;
    width: 100%;
  }

  .custom-lo-card-image-three {
    display: block;
    width: 100%;
    height: auto;
    opacity: 1;
    transition: opacity 0.5s ease;
    backface-visibility: hidden;
  }

  /* ADD TO CART CTA */

  .custom-lo-card-hover-middle {
    position: absolute;
    top: 85%;
    right: 0;
    transform: none;
    text-align: center;
    opacity: 1;
  }

  .custom-lo-card-hover-btn {
    width: 90px;
    margin: 0 20px;
    padding: 5px;
    border: 1px solid #dadada;
    border-radius: 20px;
    background-color: #fff;
    font-size: 10px;
    text-transform: uppercase;
    box-sizing: border-box;
  }

  .hover-btn-href {
    margin: 0;
    color: #000;
    font-family: "Helvetia Neue", Helvetica, Arial, sans-serif;
  }

  /* REVEAL CTA ON HOVER */
  @media (hover: hover) and (pointer: fine) {
    .custom-lo-card-hover-middle {
      top: 50%;
      right: auto;
      left: 50%;
      transform: translate(-50%, -50%);
      opacity: 0;
      transition: opacity 0.5s ease;
    }

    .custom-lo-card-hover-btn {
      width: auto;
      margin: 0;
      padding: 15px 20px;
      border: none;
      border-radius: 20px;
      background-color: red;
      font-size: 13px;
      text-transform: none;
    }

    .hover-btn-href {
      color: #fff;
    }

    .custom-lo-card-hover-wrap:hover .custom-lo-card-image-three {
      opacity: 0.3;
    }

    .custom-lo-card-hover-wrap:hover .custom-lo-card-hover-middle {
      opacity: 1;
    }
  }

  /* PRODUCT TEXT AND PRICING */
  .custom-lo-card-text-three {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
  }

  .custom-lo-card-text-three > h4 {
    margin-top: 0;
  }

  .custom-lo-card-text-three > h4.fr-heading.-h4 {
    height: 6em;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    overflow: visible;
    line-height: 1.2;
    font-size: 15px;
    padding: 5px 0 20px;
  }

  .custom-lo-card-type-three {
    padding: 0;
    min-height: initial;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
  }

  .custom-lo-card-type-three h4.fr-heading.-h4 {
    width: fit-content;
    margin: 0 auto;
    padding: 3px 9px;
    border: 1px solid #000;
    border-radius: 32px;
    background-color: #fff;
    color: #000;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 7px;
    line-height: 1.5;
    white-space: nowrap;
  }

  .custom-lo-card-pricing {
    display: inline-flex;
    align-items: center;
  }

  .custom-lo-card-price-box {
    flex: 1;
  }

  .custom-lo-card-big-pricing {
    margin-right: 10px;
    color: red;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 0.4px;
    line-height: 1.2;
    text-transform: uppercase;
  }

  .custom-lo-card-small-pricing {
    font-size: 12px;
    text-decoration: line-through;
  }

  .custom-lo-card-lo {
    padding-top: 10px;
    color: red;
  }

  /* MOBILE LAYOUT */
  
  @media screen and (max-width: 768px) {
    .custom-lo-card-wrap {
      flex: 0 0 calc((100% - 20px) / 2);
      max-width: none;
    }

    .custom-lo-card-type-three {
      padding: 0 0 10px;
    }

    .custom-lo-card-type-three h4.fr-heading.-h4 {
      font-size: 12px;
    }

    .custom-lo-card-text-three > h4.fr-heading.-h4 {
      height: initial;
    }
  }