.badge {
  display: block;
  margin: 0 auto;
  color: #000;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 2px 10px;
}

.badge-sub-heading-wrapper {
  display: flex;
}

.badge-sub-heading {
  background-color: rgba(157, 106, 215, 0.5);
}

.product-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
  border: 1px solid var(--wepc-acf-border-color);
  border-radius: 5px;
  margin-bottom: 30px;
  position: relative;
  overflow: visible;
}

.number {
  display: flex;
  padding: 4px 8px;
  background-color: var(--wepc-acf-border-color);
  border-radius: 3px 0 10px 0;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.number span {
  color: #ffffff;
  font-size: 14px;
  font-weight: bold;
}

/* Awards */
.awards-badge {
  position: absolute;
  top: 40px;
  right: 30px;
  display: flex;
  justify-content: end;
  gap: 10px;
}

.awards-badge img.award-badge {
  width: 70px;
  margin-top: -30px;
}

.product-box-header-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.title-wrapper {
  width: 80%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-box-header-wrapper h3 {
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 0;
}

.product-box-header-wrapper h3 a {
  color: #222;
}

.hands-on a {
  font-size: 15px;
  font-weight: 700;
  text-decoration: underline;
  color: var(--wepc-acf-accent-color);
}

.hands-on i {
  font-size: 13px;
  margin-left: 3px;
}

.rating-wrapper {
  width: 20%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.main-rating-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--wepc-acf-gradient);
  color: #fff;
}

.rating {
  padding: 10px;
}

.rating-title {
  text-align: center;
  margin-bottom: 0 !important;
}

.rating-title-result {
  font-size: 35px;
  font-weight: 900;
}

.rating-title-base {
  font-size: 16px;
}

.rating-sub-title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4em;
  text-align: center;
  margin-top: -5px;
  margin-bottom: 5px !important;
}

.how-we-review {
  display: block;
  background: rgba(0, 0, 0, 0.2);
  font-size: 12px;
  text-align: center;
  text-transform: none;
  padding: 3px 18px;
  color: #fff;
}

.how-we-review:hover {
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
}

.sub-rating-trigger {
  position: relative;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  color: var(--wepc-acf-primary-purple);
}

.sub-rating-trigger i {
  font-size: 13px;
  margin-left: 2px;
}

.sub-rating-modal {
  width: 230px;
  position: absolute;
  top: -35px;
  right: -250px;
  z-index: 100;
  background-color: #f9f4ff;
  border: 1px solid #b89ef5;
  padding: 5px 10px 7px;
  opacity: 0;
  visibility: hidden;
  -webkit-transform: translate3d(0, -15px, 0);
  transform: translate3d(0, -15px, 0);
  -webkit-transition: all 150ms linear;
  -o-transition: all 150ms linear;
  transition: all 150ms linear;
}

.sub-rating-close {
  font-size: 12px;
  padding: 5px;
}

.sub-rating-title {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  color: #000;
  font-size: 15px;
  font-weight: 700;
  text-align: start;
  padding: 5px 0;
  margin-bottom: 5px;
  border-bottom: 1px solid rgba(82, 95, 127, 0.3);
}

.sub-rating-items .sub-rating-item {
  font-size: 14px;
  display: grid;
  grid-template-columns: 2fr auto;
  gap: 10px;
  align-items: center;
}

.sub-rating-label {
  color: #000;
  font-weight: 500;
  text-align: start;
  line-height: 1.2;
}

.sub-rating-value {
  color: var(--wepc-acf-primary-purple);
}

.sub-rating-value strong {
  font-size: 16px;
}

.product-box-body-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.badge-section-title {
  display: inline-block;
  background-color: rgba(157, 106, 215, 0.2);
}

.badge-section-title-wrapper:after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background: rgba(82, 95, 127, 0.3);
  margin-bottom: 10px;
}

.product-specs {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-bottom: 0 !important;
  margin-left: 0 !important;
}

.product-specs li {
  font-size: 15px;
  padding: 6px 10px;
  background: rgba(232, 234, 237, 0.8);
}

.product-specs li:nth-child(3),
.product-specs li:nth-child(4),
.product-specs li:nth-child(7),
.product-specs li:nth-child(8),
.product-specs li:nth-child(11),
.product-specs li:nth-child(12),
.product-specs li:nth-child(15),
.product-specs li:nth-child(16),
.product-specs li:nth-child(19),
.product-specs li:nth-child(20) {
  background: rgba(232, 234, 237, 0.3);
}

.product-specs li:hover {
  background: rgba(157, 106, 215, 0.2);
}

.show-full-specs {
  display: block;
  padding: 5px;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  text-decoration: underline;
  color: var(--wepc-acf-accent-color);
  cursor: pointer;
}

.full-specs {
  visibility: hidden;
  opacity: 0;
  height: 0;
  -webkit-transition: all 150ms linear;
  -o-transition: all 150ms linear;
  transition: all 150ms linear;
}

.full-specs.open {
  visibility: visible;
  opacity: 1;
  height: auto;
  padding-top: 5px;
  margin-top: 5px;
  border-top: 1px dashed rgba(82, 95, 127, 0.3);
}

.desc-wrapper p {
  font-size: 17px;
  margin-bottom: 0;
  padding: 6px 10px;
  background: rgba(232, 234, 237, 0.8);
}

.deals-wrapper .deals {
  list-style: none;
  margin-bottom: 10px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  row-gap: 10px;
  column-gap: 20px;
}

.deal-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 5px;
  padding: 5px 0;
  font-size: 16px;
  font-weight: 700;
  color: #000;
}

.deal-item i {
  font-size: 13px;
}

.deal-desc {
  font-size: 14px;
  color: #fff;
  background-color: #e84b8b;
  padding: 2px 6px;
  border-radius: 2px;
}

.pros-cons-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.pros-cons-wrapper ul {
  list-style-type: none;
  margin-bottom: 0;
  margin-left: 0 !important;
}

.pros-cons-wrapper li {
  padding-bottom: 5px;
}

.pros-cons-wrapper li:before {
  font-family: "Font Awesome 5 Free";
  font-size: 14px;
  font-weight: 600;
  margin-right: 7px;
}

.pros li:before {
  content: "\f00c";
  color: #29e8b2;
}

.cons li:before {
  content: "\f00d";
  color: #da3448;
}

.product-box-footer-wrapper {
  border-top: 1px solid rgba(82, 95, 127, 0.3);
}

/* CTAs */
.buttons-wrapper {
  list-style: none;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  margin-bottom: 10px !important;
  margin-left: 0 !important;
}

.buttons-wrapper a.button {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  padding: 12px 18px;
  border-radius: 2px;
}

.buttons-wrapper a.button-amazon {
  background-color: var(--wepc-acf-primary-red);
  color: #fff;
}

.buttons-wrapper a.button-amazon:hover {
  background-color: var(--wepc-acf-primary-red-hover);
}

.buttons-wrapper a.button-others {
  background-color: transparent;
  border: 1px solid var(--wepc-acf-primary-red);
  color: var(--wepc-acf-primary-red);
}

.buttons-wrapper a.button-others:hover {
  border: 1px solid var(--wepc-acf-primary-red-hover);
  color: var(--wepc-acf-primary-red-hover);
}

.buttons-wrapper i {
  margin-left: 5px;
}

/* Flexslider Custom Styling */
.flexslider {
  margin: 0;
  border: 0;
}

.flex-control-paging li a {
  width: 8px;
  height: 8px;
  box-shadow: none;
  background: rgba(255, 255, 255, 0.5);
}

.flex-control-paging li a:hover {
  background: rgba(255, 255, 255, 0.7);
}

.flex-control-paging li a.flex-active {
  background: #fff;
}

.flex-direction-nav a {
  text-shadow: none;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--wepc-acf-border-color);
}

.flex-direction-nav a:before {
  text-shadow: none;
  margin-top: 2px;
}

.flex-direction-nav .flex-prev,
.flex-direction-nav .flex-next {
  text-align: center;
}

.flex-direction-nav a.flex-next::before,
.flex-direction-nav a.flex-prev::before {
  font-size: 24px;
}

.infin-single-article .flexslider ul {
  margin-bottom: 0 !important;
}

.flexslider .slides img,
.product-image img {
  height: 500px;
  object-fit: contain;
}

.flex-control-nav {
  bottom: 0;
}

/* (Mobile) */
@media (max-width: 767px) {
  .product-box-header-wrapper {
    gap: 10px;
  }

  .awards-badge img.award-badge {
    width: 50px;
  }

  .flexslider .slides img,
  .product-image img {
    height: 240px;
  }

  .flex-direction-nav a {
    width: 30px;
    height: 30px;
  }

  .flex-direction-nav a.flex-next::before,
  .flex-direction-nav a.flex-prev::before {
    font-size: 16px;
  }

  .title-wrapper {
    width: 65%;
  }

  .rating-wrapper {
    width: 35%;
  }

  .product-box-header-wrapper h3 {
    font-size: 26px;
  }

  .rating-sub-title,
  .how-we-review {
    font-size: 11px;
  }

  .how-we-review {
    padding: 3px 12px;
  }

  .sub-rating-trigger {
    font-size: 12px;
  }

  .sub-rating-trigger i {
    font-size: 12px;
    margin-left: 0;
  }

  .sub-rating-modal {
    width: 250px;
    top: 40px;
    right: 0;
  }

  .sub-rating-modal.active {
    opacity: 1;
    visibility: visible;
  }

  .sub-rating-close {
    display: block;
  }

  .specs {
    grid-template-columns: 1fr;
  }

  .product-specs li {
    font-size: 13px;
  }

  .pros-cons-wrapper {
    grid-template-columns: 1fr;
  }
}

/* (Tablet) */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .flexslider .slides img,
  .product-image img {
    height: 470px;
  }

  .sub-rating-modal {
    width: 250px;
    top: 40px;
    right: 0;
  }

  .sub-rating-modal.active {
    opacity: 1;
    visibility: visible;
  }

  .sub-rating-close {
    display: block;
  }
}

/* (Desktop) */
@media only screen and (min-width: 1224px) {
  .flexslider .slides img,
  .product-image img {
    height: 460px;
  }

  .sub-rating-trigger:hover > .sub-rating-modal {
    opacity: 1;
    visibility: visible;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  .sub-rating-close {
    display: none;
  }
}
