/* FOR PARENT AND CHILD */
@font-face {
  font-family: 'PantonRust';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url('./assets/fonts/PantonRust.woff2') format('woff2');
}

@font-face {
  font-family: "Montserrat";
  src: url('./assets/fonts/Montserrat.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-stretch: 75% 125%;
  font-style: normal;
}

:root {
  --ff: 'PantonRust';
  --fd: 'Montserrat';
  --c-blue: #095967;
  --c-l-blue: #01a6cd;
  --c-black: #000;
  --c-white: #FFF;
  --c-gray: #a5a5a5;
}

.fd {
  font-family: var(--fd);
}

.ff {
  font-family: var(--ff);
}

.fz-5 {
  font-size: max(min(5rem, 10vw), 3rem);
}

.fz-4 {
  font-size: max(min(4rem, 9.5vw), 3rem);
}

.fz-3-25 {
  font-size: max(min(3.25rem, 8.5vw), 2.25rem);
}

.fz-3-25 {
  font-size: max(min(3.25rem, 8.5vw), 2.25rem);
}

.fz-2-75 {
  font-size: max(min(2.75rem, 8vw), 2rem);
}

.fz-2-5 {
  font-size: max(min(2.5rem, 7.5vw), 2rem);
}

.fz-2 {
  font-size: max(min(2rem, 6vw), 1.5rem);
}

.fz-1-5 {
  font-size: max(min(1.5rem, 4.5vw), 1.25rem);
}

.fz-1-25 {
  font-size: max(min(1.25rem, 3vw), 1rem);
}

div#page-container {
  padding-top: 0 !important;
}

body.page-template-template-no-sugar {
  background-color: #FFF !important;
}

main.no-sugar {
  font-family: var(--fd);
  font-size: 1rem;
  font-weight: 400;
  background-image: url('./assets/images/body-bg.avif');
  background-repeat: repeat;
  background-size: contain;
  background-attachment: fixed;

  >.container {
    width: 100%;
    max-width: 1920px;
    margin-inline: auto;
  }
}

header#main-header {
  position: relative !important;
  top: unset !important;
}

/* RELATED / PRODUCT LIST */
main.no-sugar .products {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6rem 1rem;

  .product {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    width: calc(25% - 1rem);
    flex-direction: column;
    align-self: stretch;
    border-radius: 55px;
    border: 4px solid var(--c-l-blue);
    background-color: var(--c-white);
    padding: 1rem 2rem;
    filter: drop-shadow(0px 1px 10.5px rgba(2, 86, 111, 0.5));

    .product_image {
      position: relative;
      margin-inline: auto;
      margin-bottom: 2rem;
      width: 100%;
      height: 350px;
      display: flex;
      align-items: center;
      justify-content: center;

      &::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        max-height: 350px;
        max-width: 350px;
        aspect-ratio: 1;
        border-radius: 50%;
        background-color: var(--c-l-blue);
        z-index: 1;
      }

      >img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        position: relative;
        z-index: 2;
        transition: transform .7s ease-in-out;
      }
    }

    .product_price {
      color: var(--c-blue);
      font-weight: 700;
      font-family: var(--ff);

      >span {
        font-family: var(--ff);
      }
    }

    .product_name {
      color: var(--c-blue);
      font-weight: 500;
      font-family: var(--fd);
    }

    .product_maker {
      color: var(--c-gray);
      font-weight: 250;
      font-family: "Montserrat";
    }

    &:hover {
      .product_image>img {
        transform: scale(1.25);
      }
    }
  }

  @media(max-width: 1600px) {
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6rem 1rem;

    .product {
      width: calc(33% - 1rem);
    }
  }

  @media(max-width: 1200px) {
    gap: 1.5rem;
  }

  @media(max-width: 981px) {
    .product {
      width: calc(50% - 1rem);
    }
  }

  @media(max-width: 550px) {
    .product {
      width: 100%;
      border-radius: 2rem;

      .product_image {
        height: 250px;

        &::before {
          max-height: 250px;
          max-width: 250px;
        }

        >img {
          width: 100%;
          height: 100%;
          object-fit: contain;
          position: relative;
          z-index: 2;
          transition: transform .7s ease-in-out;
        }
      }
    }
  }
}


/*HIDE JUICES*/
#fixed-juices{
  display: none !important;
}

.hidden{
  display: none !important;
}
