@media screen and (max-width: 920px) {
   .products-groups {
   	grid-template-columns: repeat(2, minmax(250px, 1fr));
   }
}

@media screen and (min-width: 768px) {
  .tile {
    width: 296px;
    height: 500px;
    margin: 1rem;
  }
  .tile .inner {
    width: 270px;
  }
  .tile .title {
    /* line-height: 4.5rem; */
  }
  .tile .title:after {
    width: 2rem;
    bottom: -2rem;
  }
  .tile p {
    display: block;
    line-height: 2.4rem;
    text-align: center;
    margin-top: 4.3rem;
    padding: 0 1.2rem;
    max-height: 14rem;
    overflow: hidden;
  }
}
@media screen and (max-width: 768px) {
  .wrapper {
    max-width: 98%;
  }
  .flex-1-3 {
  	width: calc(98% / 1);
  }
  .flex-1-4 {
    width: calc(98% / 2);
  }

  .image-offset .media {
    height: calc(100vw * .75);
  }
  .image-offset-wrap .copy-block {
    width: 100%;
    margin: -45px 9%;
  }
  .popup .inner {
    width: inherit;
  }
}

@media screen and (max-width: 37.5em) {
  .nav-search {
    width: 80%;
  }
  .main-navigation ul {
    position: absolute;
    display: block;
    opacity: 0;
    bottom: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s;
    z-index: -1;
  }
  .main-navigation.toggled ul:not(.sub-menu) {
    opacity: 1;
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
  }
  .main-navigation li {
    float: none;
  }
  .main-navigation li a {
    padding: 10px;
  }
  .menu-item-has-children a {
    width: 80%;
  }
  .menu-item-has-children .dropdown:after {
      content: "";
      margin: 0 auto;
      display: block;
      width: 16px;
      height: 16px;
      background-image: url(../assets/icons/angle-down.svg);
      background-size: cover;
      background-position: center;
      transition: all 0.3s ease-in-out;
  }
  .main-navigation ul ul {
      position: initial;
      opacity: 1;
      display: none;
      padding-top: 0px;
      padding-bottom: 10px;
      background-color: transparent;
  }
  .main-navigation .sub-menu li a {
    border-color: rgba(33, 44, 101, 0.6);
  }
}

@media screen and (max-width: 425px) {
  .flex-1-2 {
  	width: calc(98% / 1);
  }
  .flex-1-3 {
  	width: calc(98% / 1);
  }
  .flex-1-4 {
    width: calc(98% / 1);
  }
}

@media screen and (max-height: 700px) {
  .popup .title {
      font-size: 32px;
  }
}

@media screen and (max-width: 650px) {
   .products-groups {
    grid-template-columns: repeat(1, minmax(250px, 1fr));
   }
}
