.e_single_product button a, .e_product_modal button a {
  color: white;
  text-decoration: none;
}

.e_single_product button:hover a, .e_product_modal button:hover a {
  color: black;
}

.e_modal_wrapper {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  max-width: 100vw !important;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
	transition: all 1s ease-in-out;
	opacity: 0;
	z-index: -1;
}

.e_modal_overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: #0009;
	z-index: 10;
}

.e_modal_wrapper.active {
	z-index: 1;
	opacity: 1;
}

.e_product_modal {
  background: white;
  max-width: 1000px;
	width: 0;
	max-height: 90vh;
	overflow: scroll;
  padding: 3rem;
	transition: width .5s ease-in-out;
	transition-delay: .5s;
	z-index: 20;
}

.e_modal_wrapper.active .e_product_modal {
	width: 960px;
	transition: width 1s ease-in-out;
	transition-delay: 0;
}

.e_modal_inner_wrapper {
	z-index: 10;
}

.e_product_modal .wp-block-column {
	opacity: 0;
	transition: opacity .5s ease-in-out;
	transition-delay: 0;
}

.e_modal_wrapper.active .e_product_modal .wp-block-column {
	opacity: 1;
	transition: opacity .5s ease-in-out;
	transition-delay: 1s;
}

.e_close_wrapper {
    position: relative;
}

.e_close_modal {
  position: absolute;
  display: block;
  top: -1rem;
  right: -0.5rem;
  background: black;
  color: white;
  width: 2rem;
  height: 2rem;
  text-align: center;
	text-decoration: none;
  border-radius: 50%;
  z-index: 2;
}

/* product archive */

.e_product_grid.wp-block-columns {
  max-width: 1200px !important;
  width: 1200px !important;
}

.e_product_grid .wp-block-column {
	flex-basis: 25% !important;
}

.e_single_product {
  background: white;
  padding: 1rem;
}