.product {
  float: left;
  position: relative;
}

.product .fs-text-container {
  width: 100%;
  height: 100%;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  display: -webkit-flex;
  -webkit-flex-direction: column;
  -webkit-align-items: center;
  -webkit-justify-content: center;
  display: -ms-flexbox;
  -ms-flex-direction: column;
  -ms-flex-align: center;
  -ms-flex-pack: center;
  transition: opacity .25s;  
}

.product:hover .fs-text-container {
  opacity: 1;
}

.product img {
  max-width: 241px;
  max-height: 241px;
}

.product .product-images,
.product .product-form {
  display: none;
}

.fancybox-inner {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  width: calc(100% - 40px);
  height: calc(100% - 40px);
  background-color: #fff;
  max-width: 1000px;
}

.fancybox-stage {
  width: 65%;
}

.fancybox-form-wrap {
  position: absolute;
  top: 0px;
  right: 0;
  bottom: 0px;
  width: 35%; 
}

.fancybox-form-wrap::before, 
.fancybox-form-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
}

.fancybox-button--close {
  position: absolute;
  top: 0;
  right: 0;
  background: #F0F0F0;
  color: #222;
  padding: 7px;
}

.fancybox-button:hover {
  color: #111;
  background: #e4e4e4;
}

.fancybox-button svg path {
  stroke-width: 1;
  stroke: currentColor;
}

.fancybox-inner .product-form {
  overflow: auto;
  position: absolute;
  top: 100px;
  right: 0;
  bottom: 50px;
  left: 0;
  padding: 0 50px;
  text-align: center;
}


.fancybox-inner {
  opacity: 0;
  transition: opacity .3s;
}

.fancybox-is-open .fancybox-inner {
  opacity: 1;
}

.fancybox-is-closing .fancybox-fx-fade {
  opacity: 1 !important;
}

.product-bullets {
  list-style: none;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
  margin: 0;
  padding: 0;
  z-index: 99999;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}

.product-bullets li {
  display: inline-block;
  vertical-align: top;
}

.product-bullets li a {
  display: block;
  height: 30px;
  width: 20px;
  position: relative;
}

.product-bullets li a span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 10px;
  height: 10px;
  border-radius: 99px;
  text-indent: -99999px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0px 0px 2px rgba(0,0,0,0.5);
}

.product-bullets li.active a span {
  background: #FF6666;
}

@media screen and (max-width: 767px) {
  .fancybox-inner {
    overflow: auto;
  }
  
  .fancybox-stage {
    width: 100%;
    position: relative;
    min-height: 360px;
  }

  .fancybox-form-wrap {
    width: 100%; 
    position: relative;
    min-height: 360px;
  }
}