﻿/* POPSICLES
------------------------------------------------------------------------*/

/* POP-GRID
/* For any product grids with the class .pop-grid
/* use the ::before pseudo-element on the <a> tag and stretch
/* over the entire column surface so the image, title, and a tags
/* are clickable. Based of Bootstrap's .stretched-link class
------------------------------------------------------------------------*/
.pop-grid {
  justify-content: center;
}

.pop-grid .col {
  position: relative;
  margin-bottom: 4rem;
}

@media screen and (min-width: 1040px) {
  .pop-grid .col {
    position: relative;
    margin-bottom: 0;
  }
}

.pop-grid.col-5 .col {
  margin-bottom: 4rem;
}

.pop-grid .col a.btn-text,
.carousel-slide a.btn-text {
  align-items: flex-start;
}

.pop-grid .col a::before {
  content: '';
	position: absolute;
	z-index: 1;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.pop-grid img {
  transition: all 100ms ease-in-out;
}

.pop-grid .col::before,
.carousel-inline .carousel-slide::before {
  content: '';
  position: absolute;
  z-index: 0;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 200px;
  height: 200px;
  border-radius: 200px;
  background: rgba(0,0,0,0.035);
  transition: all 100ms ease-in-out;
}

.bg-blue .pop-grid .col::before {
  background: rgba(0,0,0,0.1);
}

.pop-grid .col:hover::before,
.carousel-inline .carousel-slide:hover::before  {
  transform: translate(-50%, -50%) scale(1);
}

.pop-grid .col:hover img {
  transform: scale(1.1);
}

img.pop-md {
  display: block;
  margin: 1rem auto;
}

img.pop-sm {
  display: block;
  margin-bottom: 1rem;
}

img.pop-category-img {
  position: relative;
  display: block;
  width: 50%;
  margin: 5rem auto 0;
}

#highlights-carousel .flex-grid {
    width: unset;
    margin: auto;
}

.feature-copy {
    text-align: center;
}

@media screen and (min-width: 1040px) {
    .feature-copy {
        text-align: left;
    }
}

@media screen and (min-width: 768px) {
  img.pop-category-img {
    width: 50%;
    margin: 0 auto;
  }
}

@media screen and (min-width: 1040px) {
  img.pop-category-img {
    width: 60%;
  }
}

.pop-category-label {
  position: absolute;
  top: 0;
  left: 50%;
  margin-left: -10rem;
}

/* PRODUCT PACKAGES
------------------------------------------------------------------------*/
.product-package-container {
  display: flex;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.product-package-container .product-package {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  width: 100%;
}

.product-package-container .product-package .product {
  position: relative;
}

.product-package-container .product-package.-wrapper .product {
  max-width: 350px;
}

.product-package-container .product-package.-box .product {
  max-width: 300px;
}

.product-package-container .product-package img {
  padding: 1rem 0;
  width: 100%;
}

.pop-box-count {
  position: absolute;
  top: -10px;
  left: -10px;
  background: #9EDAFD;
  background: var(--bomb-blue-light);
  border-radius: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  font-family: "Montserrat";
  font-family: var(--bomb-sans-serif);
  line-height: 0.9;
  text-align: center;
  padding: 1rem;
  color: #0060E1;
  color: var(--bomb-blue);
}

.pop-box-count span {
  font-family: var(--bomb-display);
  font-size: 1.25rem;
  margin-top: 0.25rem;
}

@media screen and (max-width: 500px) {
  .product-package-container .product-package.-wrapper {
    width: 100%;
  }
}

@media screen and (min-width: 768px) {
  .product-package-container .product-package {
    justify-content: center;
    padding: 0 1rem;
    width: 50%;
    margin-bottom: 2rem;
  }
}

@media screen and (min-width: 1040px) {
  .product-package-container .product-package.-wrapper {
    align-items: flex-start;
  }

  .product-package-container .product-package.-wrapper img {
    padding-top: 3rem;
  }

  .pop-box-count {
    top: -25px;
    left: -25px;
    width: 100px;
    height: 100px;
  }

  .pop-box-count span {
    font-size: 2rem;
  }
}

@media screen and (min-width: 1440px) {
  .product-package-container .product-package {
    width: 33.33%;
    margin-bottom: 1rem;
  }
}

/* STICKY POP
------------------------------------------------------------------------*/
#stickyPop {
  position: relative;
  width: 30%;
  margin-bottom: 2rem;
}

@media screen and (min-width: 768px) {
  #stickyPop {
    width: 20%;
  }
}

@media screen and (min-width: 1040px) {
  #stickyPop {
    position: fixed;
    top: 8rem;
    right: 65%;
    height: auto;
    width: 33%;
    max-width:410px;
  }

  .bg-white.-stickyPop-mask {
    background: transparent;
    background-image: linear-gradient(to top, rgba(255,255,255,1) 80%, rgba(255,255,255,0.9));
  }

  .-stickyPop-mask::before {
    content: '';
    position: absolute;
    z-index: 1;
    top: -200px;
    left: 0;
    height: 200px;
    width: 100%;
    background-image: linear-gradient(to top, rgba(255,255,255,0.9), rgba(255,255,255,0));
  }
}