
#overlay{
  position: fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background: rgba(0,0,0,0.8) none 50% / contain no-repeat;
  cursor: pointer;
  transition: 0.3s;
  visibility: hidden;
  opacity: 0;
}
#overlay.open {
  visibility: visible;
  opacity: 1;
  z-index: 999999;
}

#overlay:after { /* X button icon */
  content: "\2715";
  position: absolute;
  color:#fff;
  top: 10px;
  right:20px;
  font-size: 2em;
}

.zoom-icon {
    display: flex;
    font-size: .65rem;
    position: absolute;
    right: 0;
    bottom: -1rem;
    cursor: pointer;
}

.product-image {
    position: relative;
    min-height: 12rem;
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
}
.zoom-icon p {margin: .25rem 0 0 .75rem;}

img.zoom,
img.related-product-image {
    max-height: 34rem;
    margin: 0 auto;
    cursor: pointer;
    width: auto;
    max-width: 20rem;
}

ul.ui-tabs-nav {
    display: flex;
    font-size: .7rem;
    border-bottom: 4px solid #EDEDED;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

ul.ui-tabs-nav li a {
    padding: .75rem 1rem .5rem;
    text-decoration: none;
    color: #58332B;
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 2px;
    text-align: center;
    display: flex;
    align-items: center;
}

ul.ui-tabs-nav li {
    margin-bottom: 0;
    display: flex;
}

ul.ui-tabs-nav li.ui-state-active {
    background-color: #ededed;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}

.product-info h1 span {
    color: #543830;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    display: block;
    margin-bottom: -0.25rem;
}

.claims {
    display: flex;
    flex-direction: row;
    margin: 2.5rem 0;
    flex-flow: wrap;
}

.claim {
    background-color: #5EDCB4;
    border-radius: 50%;
    width: 5rem;
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: column;
    margin-right: 1rem;
    margin-bottom: 1rem;
}

.claim span {color: #543830;font-family: 'Poppins', sans-serif;font-weight: 600;font-size: .7rem;max-width: 80%;text-align: center;line-height: 100%;}

.claim span.value {
    font-size: 1.25rem;
    margin-bottom: 3px;
}

.nutrition-facts span.value {
    text-align: right;
}

.key b {margin-right: 7px;}

.nutrition-facts p,
.nutrition-facts .nut-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0;
}

.nutrition-facts h2 {
    font-weight: 700;
    margin: .5rem 0;
}

p.serving {border-bottom: 1px solid #000000;border-top: 1px solid #000000;margin-bottom: .5rem;}
.nut-item.indent {padding-left: 1rem;}

.nutrition-facts {
    margin-bottom: 1rem;
    border-bottom: 1px solid #000000;
    padding-bottom: 1rem;
}
.related svg {
    position: absolute;
    z-index: -10;
    width: 100%;
    left: 0;
    top: -20rem;
}

article.related {
    position: relative;
    margin-top: 41vw;
    margin-bottom: 4rem;
    padding-bottom: 2rem;
}

.product:last-of-type {
    display: none;
}
.products-wrapper {
    display: flex;
    max-width: 40rem;
    margin: 0 auto;
}

.product img {
    max-height: 13rem;
    max-width: 100%;
}
.product {
    text-align: center;
    width: 50%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.product a {text-decoration: none;}
.product a:hover {opacity:.5;}

@media (min-width: 768px) {
  .product:last-of-type {display: block;}
  article.related {margin-top: 14vw;}
  .related svg {top: -14rem;}

  img.zoom, img.related-product-image {max-width: 25rem;}

}

@media (min-width: 1024px) {
  article.detail-area {
      display: flex;
      align-items: flex-start;
  }

  article.detail-area div.product-image,
  article.detail-area div.product-info {
      width: 50%;
  }
  .zoom-icon {
    right: 3rem;
    bottom: -2rem;
  }
}
@media (min-width: 1200px) {
  .related svg {top: -8rem;height: auto;}
  article.related {max-width: 87.5rem;}
}


.cta.artisans-choice {
  color: #543830;
}
.cta.artisans-choice:hover {
  color: #31312C;
}
.cta.artisans-choice:after {
  background-color: #543830;
}
.cta.artisans-choice:hover:after {
  background-color: #31312C;
}