/*
Converts a pixel value to matching rem value. *Any* value passed, regardless of unit, is assumed to be a pixel value. By default, the base pixel value used to calculate the rem value is taken from the `$global-font-size` variable.
@access private
@param {Number} $value - Pixel value to convert.
@param {Number} $base [null] - Base for pixel conversion.
@returns {Number} A number in rems, calculated based on the given value and the base pixel value. rem values are passed through as is.
*/
/*
Removes the unit (e.g. px, em, rem) from a value, returning the number only.
@param {Number} $num - Number to strip unit from.
@returns {Number} The same number, sans unit.
*/
/*
Converts one or more pixel values into matching rem values.
@param {Number|List} $values - One or more values to convert. Be sure to separate them with spaces and not commas. If you need to convert a comma-separated list, wrap the list in parentheses.

@param {Number} $base [null] - The base value to use when calculating the `rem`. If you're using Foundation out of the box, this is 16px. If this parameter is `null`, the function will reference the `$base-font-size` variable as the base.

@returns {List} A list of converted values.
*/
.single-product .block-product-grid .e-button,
.brand-applied-acoustics .block-product-grid .e-button {
  box-shadow: 0px 0px 0px 2px #e46b00;
}

.brand-modulus .block-product-grid .e-button {
  box-shadow: 0px 0px 0px 2px #bf181a;
}

.single-product .block-product-grid .e-button:before,
.brand-applied-acoustics .block-product-grid .e-button:before {
  background-color: #e46b00;
}

.brand-modulus .block-product-grid .e-button:before {
  background-color: #bf181a;
}

.block-product-grid__heading {
  font-size: 1.5rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  position: relative;
  margin-bottom: 5rem;
  margin-top: 1.25rem;
}

@media only screen and (min-width: 992px) {
  .block-product-grid__heading {
    font-size: 2.25rem;
  }
}

.block-product-grid__heading:before {
  content: '';
  position: absolute;
  width: 5rem;
  height: 0.25rem;
  background-color: #06758c;
  top: -1.25rem;
  left: 0;
}

.single-product .block-product-grid__heading:before,
.brand-applied-acoustics .block-product-grid__heading:before {
  background-color: #e46b00;
}

.brand-modulus .block-product-grid__heading:before {
  background-color: #bf181a;
}

.block-product-grid__heading span {
  color: #06758c;
}

.single-product .block-product-grid__heading span,
.brand-applied-acoustics .block-product-grid__heading span {
  color: #e46b00;
}

.brand-modulus .block-product-grid__heading span {
  color: #bf181a;
}

.block-product-grid__heading--center {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 1.25rem;
}

@media only screen and (min-width: 992px) {
  .block-product-grid__heading--center {
    font-size: 2rem;
  }
}

.block-product-grid__heading--center:before {
  display: none;
}

.block-product-grid__cta {
  margin-top: 2.5rem;
}

.block-product-grid__product-animation {
  width: 150%;
  padding-bottom: 150%;
  background-color: #1a242d;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 50%;
  transform: translateZ(0);
  position: absolute;
  bottom: 100%;
  left: 100%;
  transition: all 0.7s ease-out;
}

.block-product-grid__product-animation:after {
  content: '';
  position: absolute;
  right: -70%;
  top: -70%;
  background-image: url("../../images/wave-mask.svg");
  width: 70%;
  height: 70%;
  transition: all 2s ease-out;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 1;
}

.block-product-grid__product-animation:before {
  content: '';
  position: absolute;
  right: -70%;
  top: -70%;
  background-image: url("../../images/wave-mask.svg");
  width: 70%;
  height: 70%;
  transition: all 1s ease-out;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 1;
  z-index: 1;
}

.block-product-grid__product {
  display: block;
  background-color: #F5F5F5;
  padding-bottom: 100%;
  margin-bottom: 1.875rem;
  overflow: hidden;
  position: relative;
}

.block-product-grid__product:hover {
  text-decoration: none;
}

.block-product-grid__product:hover .block-product-grid__product-animation {
  bottom: -25%;
  left: -25%;
}

.block-product-grid__product:hover .block-product-grid__product-animation:after {
  right: -2%;
  top: -2%;
  opacity: 0;
  width: 80%;
  height: 80%;
}

.block-product-grid__product:hover .block-product-grid__product-animation:before {
  right: -2%;
  top: -2%;
  opacity: 0;
  width: 100%;
  height: 100%;
}

.block-product-grid__product:hover .block-product-grid__product-overlay {
  opacity: 1;
  transition: all 0.5s ease-out;
  transition-delay: 0.5s;
}

.block-product-grid__product:hover .block-product-grid__product-title {
  text-decoration: none;
}

.block-product-grid__product-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  text-align: center;
  width: 80%;
}

.block-product-grid__product-title {
  font-size: 1.5rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  color: #1a242d;
  margin-top: 2.5rem;
}

.block-product-grid__product-overlay {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background-color: transparent;
  transition: all 0.3s ease-out;
  transition-delay: 0s;
  color: #FFF;
  z-index: 9;
  opacity: 0;
}

.block-product-grid__product-overlay .e-button span {
  color: #FFF;
}

.block-product-grid__product-overlay-title {
  font-size: 1.5rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  color: #FFF;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
}

@media only screen and (min-width: 1025px) {
  .block-product-grid__product-overlay-title {
    margin-bottom: 0;
  }
}

.block-product-grid__product-overlay-excerpt {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 1.875rem;
  margin-bottom: 1.875rem;
  display: none;
}

@media only screen and (min-width: 1025px) {
  .block-product-grid__product-overlay-excerpt {
    display: block;
    font-size: 1.125rem;
  }
}

.block-product-grid__product-overlay-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 80%;
  text-align: center;
}

/*# sourceMappingURL=block-product-grid.css.map */
