/* COMMON */
body #masthead {
  padding: 30px 0;
}

/* Back To Top */
.back-to-top a {
  color: #de0e16;
  font-size: 12px;
  line-height: 24px;
}

.back-to-top a i {
  font-size: 24px;
  line-height: 24px;
  position: relative;
  top: 4px;
  margin-right: 5px;
}

.back-to-top a:hover {
  color: #000;
}

/* TABS */
#product-tabs {
  padding: 30px 0;
}

#tabs {
  background: #f6f6f6;
}

.nav-tabs .nav-link {
  text-transform: uppercase;
  font-size: 10px;
  color: #000;
  border: none;
  -webkit-transition: all 200ms ease;
  -moz-transition: all 200ms ease;
  -ms-transition: all 200ms ease;
  -o-transition: all 200ms ease;
  transition: all 200ms ease;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
  background: #de0e16;
  color: #fff;
  border: none;
  border-radius: 0;
}

.nav-tabs .nav-link:focus,
.nav-tabs .nav-link:hover {
  border: none;
}

.nav-tabs {
  border: none;
  justify-content: center;
}

.nav-tabs .nav-link:hover {
  background: #211e2b;
  border-radius: 0;
  color: #fff;
}

.tab-section-title {
  text-align: center;
  font-size: 28px;
}

.s {
  padding: 30px 0;
  border-bottom: 1px solid #e4e4e4;
}

/* Sub-section tabs */
.sub-s {
  margin-bottom: 30px;
}

@media (min-width: 480px) {
  .nav-tabs .nav-link {
    font-size: 14px;
  }
}

@media (min-width: 576px) {
  .tab-section-title {
    font-size: 42px;
  }
}

@media (min-width: 768px) {
  .nav-tabs .nav-link {
    font-size: 16px;
  }
}

@media (min-width: 992px) {
  .nav-tabs .nav-link {
    padding: 22px 30px;
  }

  .s {
    margin-bottom: 30px;
  }
}

@media (min-width: 1200px) {
  #product-tabs .container {
    max-width: 1200px;
  }

  #product-tabs .p-related .container {
    max-width: 1300px;
  }
}

/* Article */
.product-fold {
  padding-bottom: 30px;
}

.description-wrap {
  text-align: left;
}

article.product-wrap {
  display: flex;
  flex-wrap: wrap;
  text-align: center;
  padding-bottom: 20px;
  margin-bottom: 20px;
  padding-top: 20px;
  border-bottom: 2px solid #333;
  align-items: center;
  position: relative;
}

.p-a,
.p-b,
.p-c {
  width: 100%;
  flex-shrink: 0;
}

.product-fold {
  color: #000;
  background: #fcfcfc;
  position: relative;
  background-image: url("../images/common/product-bg.jpg");
  background-size: cover;
}

.product-fold .container {
  position: relative;
  z-index: 9;
}

/* Product Info */
.single .p-b header h1 {
  text-align: center;
  margin-bottom: 2px;
  font-size: 30px;
  line-height: 120%;
}

.description-wrap p {
  font-size: 15px;
  margin-bottom: 25px;
}

.description-wrap ul li {
  font-size: 16px;
}

header p.product-tagline {
  margin-bottom: 10px;
}

/* Reviews */
.reviews-wrap {
  margin-bottom: 20px;
}

span.p-stars {
  color: #ffec1b;
  margin-right: 3px;
}

span.p-reviews-add {
  display: block;
}

span.p-reviews-add a {
  color: #ffec1b;
  font-weight: normal;
  font-size: 12px;
}

/* Gallery */
.gallery-col {
  margin-bottom: 20px;
}

.p-img-wrap {
  max-width: 100%;
  margin: 0 auto;
  padding: 10px 0;
}

.p-img-wrap:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  z-index: 99999;
  width: 30px;
  height: 30px;
  line-height: 50px;
  background: url(../images/common/zoom.svg);
  background-color: transparent;
  background-size: 70%;
  background-repeat: no-repeat;
  background-position: center;
}

.p-img-wrap.is-video:before {
  display: none;
}

.easy-cover {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 999;
  cursor: zoom-in;
  display: none;
}

.easyzoom.is-zooming:hover a img {
  opacity: 0;
}

@media (min-width: 992px) {
  .easy-cover {
    display: block;
  }
}

.p-thumb {
  display: flex;
  flex-wrap: wrap;
  text-align: center;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
}

.p-thumb li {
  width: 80px;
  margin: 0 12px;
  padding: 5px;
  height: 80px;
  max-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-thumb li.active {
  border: 2px solid #de0e16;
}

.p-thumb li img {
  max-height: 65px;
  width: auto;
}

/* Product Select */
.p-select {
  font-family: "Muli Black";
  line-height: 120%;
  margin: 0;
}

.b-select {
  font-size: 15px;
  margin-bottom: 10px;
}

.package-entries {
  display: flex;
  flex-wrap: wrap;
  max-width: 450px;
  margin: 0 auto 20px;
  align-items: center;
  justify-content: center;
}

.package-entry {
  margin: 5px 5px 15px;
}

a.package-button {
  color: #333;
  padding: 10px 30px;
  font-size: 13px;
  border-radius: 5px;
  border: 1px solid #000;
}

a.package-button.active,
a.package-button:hover {
  background: #000;
  color: #fff;
  width: 130%;
}

/* Pricing */
.calculated-price {
  margin-bottom: 20px;
}

.regular-price {
  text-decoration: line-through;
  color: #808080;
  font-size: 24px;
  text-align: center;
  margin-bottom: 10px;
  margin-right: 15px;
  display: inline-block;
}

.discounted-price {
  font-weight: 800;
  font-size: 24px;
  font-family: "Muli Black";
  text-align: center;
  margin-bottom: 15px;
}

.savings-tier {
  display: flex;
  align-items: center;
  max-width: 400px;
  margin: 0 auto 40px;
  min-height: 55px;
}

.savings-price {
  width: 50%;
  flex-shrink: 0;
  font-size: 14px;
  text-align: right;
  line-height: 105%;
  position: relative;
}

.savings-price div {
  position: relative;
  display: inline-block;
  padding: 16px 20px 15px 40px;
  font-size: 14px;
  color: #fff;
  margin-right: 20px;
  text-align: center;
}

.savings-price:before {
  position: absolute;
  width: calc(100% - 20px);
  height: 100%;
  background: #0c98f1;
  content: "";
  left: 0;
  top: 0;
  border-radius: 0 3px 3px 0;
  clip-path: polygon(10% 0%, 100% 0%, 100% 100%, 10% 100%, 0% 50%);
}

.savings-price:after {
  content: "";
  width: 10px;
  height: 10px;
  position: absolute;
  background: #fff;
  left: 20px;
  top: calc(50% - 5px);
  border-radius: 100px;
}

.next-tier {
  font-size: 14px;
  text-align: left;
  line-height: 130%;
  position: relative;
}

.includes {
  margin-bottom: 20px;
}

@media (min-width: 576px) {
}

@media (min-width: 1300px) {
  .regular-price,
  .discounted-price {
    font-size: 30px;
  }

  .price-wrap {
    margin-bottom: 50px;
  }
}

/* Quantity Selector */
.qty-select {
  margin-bottom: 30px;
}

form#frm-qty {
  display: flex;
  max-width: 160px;
  margin: 0 auto;
  text-align: center;
  align-items: center;
  margin-bottom: 20px;
  border: 2px solid #b7b7b7;
  border-radius: 8px;
  overflow: hidden;
}

form#frm-qty input {
  width: 40%;
  text-align: center;
  border-radius: 0;
  background: transparent;
  color: #000;
  padding: 0;
  border: 2px solid #9f9f9f;
  border-top: 0;
  border-bottom: 0;
  font-weight: bold;
}

form#frm-qty i {
  width: 30%;
  flex-shrink: 0;
  cursor: pointer;
}

form#frm-qty i:hover {
  background: #fff;
  color: #000;
}

form#frm-qty * {
  line-height: 55px;
  color: #1d1d1d;
}

.plus-btn.inactive:before,
.minus-btn.inactive:before {
  color: #999;
}

/* CHECKOUT BUTTON */
.button-wrap a {
  width: 80%;
  max-width: 300px;
  font-size: 18px;
  font-weight: normal;
}

.button-wrap {
  margin-bottom: 20px;
}

/* Description */
.description-wrap {
  position: absolute;
  bottom: 20px;
}

.p-img-wrap img {
  max-height: 450px;
  object-fit: contain;
}

@media (min-width: 768px) {
  .product-fold {
    padding-bottom: 40px;
  }

  .description-wrap {
    position: relative;
    bottom: 0;
    break-after: column;
  }

  .p-d {
    width: 100%;
    break-after: column;
  }

  .p-c {
    break-after: avoid;
  }

  article.product-wrap {
    display: block;
    column-count: 2;
    margin-bottom: 40px;
  }

  .p-a {
    column-span: all;
    margin-bottom: 30px;
  }

  .p-b {
    text-align: left;
  }

  .single .p-b header h1 {
    font-size: 46px;
    text-align: left;
  }

  .package-entries {
    text-align: center;
    margin-bottom: 40px;
  }

  h4.p-select {
    font-size: 36px;
  }

  .calculated-price {
    margin-bottom: 30px;
  }

  .savings-tier {
    margin-bottom: 30px;
  }
  .button-wrap {
    text-align: center;
  }
}

@media (min-width: 992px) {
  article.product-wrap {
    padding-top: 120px;
  }
}

@media (min-width: 1200px) {
  .product-fold {
    padding-bottom: 60px;
    padding-top: 40px;
  }

  article.product-wrap {
    display: flex;
    column-count: 1;
    flex-wrap: nowrap;
    align-items: center;
    padding: 120px 0 180px;
    margin-bottom: 45px;
  }

  .p-a {
    width: 33.33%;
    order: 2;
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .p-b {
    order: 1;
    width: 33.33%;
    padding-right: 20px;
    flex-shrink: 0;
  }

  .p-c {
    order: 3;
    padding-left: 20px;
    text-align: left;
    flex-shrink: 0;
    width: 33.33%;
  }

  h4.p-select {
    font-size: 20px;
  }

  .package-entries {
    justify-content: flex-start;
  }

  .calculated-price {
    justify-content: flex-start;
  }

  .savings {
    justify-content: flex-start;
  }

  .savings-price {
    width: auto;
  }

  .qty-select-wrap {
    display: flex;
  }

  .qty-select {
    width: 195px;
  }

  .button-wrap {
    flex-grow: 1;
    text-align: left;
  }

  form#frm-qty {
    margin: 0;
  }

  .p-img-wrap {
    padding: 0;
    margin: 0;
  }

  .gallery-col {
    margin-bottom: 0;
    position: relative;
    /* height: 450px; */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }

  .p-thumb {
    position: absolute;
    width: 100%;
    bottom: -150px;
  }

  .button-wrap a {
    width: 100%;
  }

  .p-img-wrap img {
    max-height: 550px;
    object-fit: contain;
  }
}

/* EASYZOOM */
.easyzoom {
  position: relative;
  zoom: 1;
  width: 100%;
}

/* .easyzoom {
  position: absolute;
  zoom: 1;
  width: 100%;
  left: 0;
  height: 100%;
  top: 0;
} */

.easyzoom a {
  display: block;
  -ms-flex-item-align: center !important;
  align-self: center !important;
}
.easyzoom img {
  vertical-align: bottom;
  width: 100%;
}

.easyzoom.is-loading img {
  cursor: progress;
}

.easyzoom.is-ready img {
  cursor: crosshair;
}

.easyzoom.is-error img {
  cursor: not-allowed;
}

.easyzoom-notice {
  position: absolute;
  top: calc(50% - 15px);
  left: 10%;
  z-index: 150;
  width: 80%;
  margin: 0;
  line-height: 2em;
  text-align: center;
  background: #fff;
  box-shadow: 0 0 10px #888;
  color: #000;
  font-size: 14px;
}

.easyzoom-flyout {
  position: absolute;
  z-index: 100;
  /* overflow: hidden;
  background: rgba(0, 0, 0, 0.2); */
}

.easyzoom.is-ready .easyzoom-flyout img {
  max-width: none !important;
  width: auto;
  max-height: 1500px;
}

.easyzoom--overlay .easyzoom-flyout {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.easyzoom--adjacent .easyzoom-flyout {
  top: 0;
  left: -150%;
  width: 500px;
  height: 500px;
  margin-left: 20px;
}

/* RELATED PRODUCTS */
.p-related {
  padding: 20px 0;
  margin-bottom: 80px;
}

.p-related .container {
  max-width: 1300px;
}

.p-related h2 {
  margin-bottom: 20px;
  font-size: 30px;
  letter-spacing: -1px;
  max-width: 315px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 519px) {
  .p-related h2 {
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
  }

  .p-related {
    padding: 0;
  }
}

@media (min-width: 992px) {
  .p-related h2 {
    font-size: 50px;
    max-width: 720px;
  }
}

/* IG */
#ig-feed {
  margin-bottom: 60px;
}

/* Guarantee */
#guarantee .container {
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 2px solid #f2f2f2;
}

@media (min-width: 1200px) {
  #guarantee .container {
    padding-bottom: 60px;
  }

  #ig-feed {
    margin-bottom: 80px;
  }
}

/* PRODUCT BLOCK */
.product-list-wrap {
  padding-top: 40px;
}

.product-block-wrap {
  margin: 0 auto 30px;
}

.p-wrap {
  text-align: center;
  position: relative;
  margin: 0 10px;
  min-width: 295px;
}

.p-wrap:after {
  content: "";
  position: absolute;
  bottom: 0;
  height: 70%;
  background: #f6f6f6;
  width: 100%;
  left: 0;
}

.p-wrap .p-img {
  margin-bottom: 0;
  position: relative;
  z-index: 9;
}

.p-wrap .p-img img {
  margin: 0 auto;
}

.info-wrap {
  background-color: #f5f5f5;
  padding: 0 10px 20px;
  position: relative;
  z-index: 9;
  min-height: 250px;
}

.p-header {
  padding: 10px 0 0;
}

.p-header h4 {
  font-size: 24px;
  margin-bottom: 5px;
  color: #000;
}

.p-tagline {
  color: #000;
  font-size: 15px;
  line-height: 24px;
}

.p-retail {
  font-size: 14px;
  margin-bottom: 0;
  color: #333;
}

.p-cheaper {
  font-size: 14px;
  margin-bottom: 10px;
  color: #de0e16;
  font-weight: bold;
}

.p-body {
  padding: 20px 0;
}

.p-stars {
  margin-bottom: 25px;
}

.p-stars i {
  color: #eddc1b;
  font-size: 16px;
  margin: 0 1px;
}

span.p-reviews {
  font-size: 13px;
  margin-left: 10px;
}

.btn-wrap {
  display: flex;
  align-items: center;
  text-align: center;
}

.btn-wrap div {
  width: 44%;
  margin: 0 3%;
  border: 1px solid #fff;
}

.btn-wrap a,
.btn-wrap div.coming-soon-btn span {
  color: #de0e16;
  padding: 6px 10px;
  display: block;
  font-size: 14px;
  margin: 0 auto;
  border: 1px solid #de0e16;
  font-size: 11px;
  border-radius: 5px;
}

.btn-wrap a.btn-add-to-cart {
  background: #de0e16;
  color: #fff;
}

.btn-wrap a.btn-add-to-cart:hover {
  background: #000;
  border: 1px solid #000;
  -webkit-box-shadow: 0 0 10px 0 #353535;
  box-shadow: 0 0 10px 0 #353535;
}

.btn-wrap a.btn-learn-more:hover {
  background: #000;
  color: #fff;
  border: 1px solid #000;
  -webkit-box-shadow: 0 0 10px 0 #353535;
  box-shadow: 0 0 10px 0 #353535;
}

.btn-wrap div.coming-soon-btn {
  width: 60%;
  margin: 0 auto;
  border-color: #fff;
}

@media (min-width: 768px) {
  .p-wrap {
  }
}

/* Review */
.test-heading {
  display: none;
}

.r-wrap {
  padding: 20px;
  background: whitesmoke;
  border-radius: 5px;
  position: relative;
  margin-bottom: 30px;
}

.r-wrap:after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 30px;
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 20px solid #f5f5f5;
}

.testimonial-wrap .p-stars {
  margin-bottom: 5px;
}

.review_author p {
  font-size: 16px;
  font-weight: bold;
}

.review_author p span {
  margin: 0 10px;
  font-weight: normal;
  border-left: 1px solid #333;
  padding-left: 10px;
  color: #999;
}

.testimonial-wrap {
  margin-bottom: 40px;
}

/* Custom per product */
.organic-bio-maca .p-tagline {
  font-size: 12px;
}

/* ****************************************** */
