/* WAB Category Box Styles */
.wab-category-boxes-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 -15px 30px;
}
.wab-category-box {
    position: relative;
    margin: 15px;
    overflow: hidden;
}
.wab-category-box:hover {
    transform: translateY(-.12rem) translateZ(0);
    transition: all 0.5s ease;
    cursor: pointer;
    opacity: 0.9;
}
.wab-category-box-bg {
    width: 100%;
    height: 0;
    padding-bottom: 75%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: opacity 0.3s ease-in-out;
}
.wab-category-box-title {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
}
.wab-category-box-title a {
    color: #fff;
    text-decoration: none;
}
.wab-category-box-title a:hover {
    color: #fff;
}
.wab-category-boxes-container.columns-3 .wab-category-box {
    width: calc(33.333% - 30px);
}
.wab-category-boxes-container.columns-4 .wab-category-box {
    width: calc(25% - 30px);
}
@media (max-width: 767px) {
    .wab-category-boxes-container.columns-3 .wab-category-box,
    .wab-category-boxes-container.columns-4 .wab-category-box {
        width: calc(50% - 30px);
    }
}
@media (max-width: 480px) {
    .wab-category-boxes-container.columns-3 .wab-category-box,
    .wab-category-boxes-container.columns-4 .wab-category-box {
        width: calc(100% - 30px);
    }
}

/* WAB Featured Posts Styles */
.wab-featured-posts-container {
    display: flex;
    width: 100%;
    height: 400px;
    column-gap: 5px;
    margin-bottom: 30px;
}
.wab-featured-posts-container a:hover {
    color: #fff;
}
.wab-featured-post-left,
.wab-featured-post-right {
    position: relative;
    background-size: cover;
    background-position: center;
}
.featured-post-box:hover {
    box-shadow: 0px 0px 5px #333;
}
.wab-featured-post-left {
    flex: 0 0 65%;
}
.wab-featured-posts-right {
    width: 35%;
    display: flex;
    flex-direction: column;
    row-gap: 5px;
}
.wab-featured-post-right {
    flex: 1;
}
.wab-featured-post-left:hover, .wab-featured-post-right:hover {
    cursor: pointer;
    opacity: 0.9;
}
.wab-featured-post-left h3, .wab-featured-post-right h3 {
    color: #fff;
    width: 100%;
    height: 100%;
    background: #00000085;
    text-align: center;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.title-wrapper {
    height: 100%;
}
.title-wrapper a{
    color: #fff;
    text-decoration: none;
}
.title-wrapper a:hover, .title-wrapper a:active, .title-wrapper a:foucs {
    color: #fff !important;
    text-decoration: none;
}
@media (max-width: 768px) {
    .wab-featured-posts-container {
        height: unset;
        display: block;
    }
    .wab-featured-posts-right {
        width: 100%;
        display: block;
    }
}

/* WAB Fixed Top Products */
.top-products.FixedWidget__fixed_widget__pinned {
    margin-top: 0 !important;
    z-index: 99;
}
.top-products.FixedWidget__fixed_widget__pinned img {
    display: none;
}
.top-products.FixedWidget__fixed_widget__pinned figcaption {
    margin-top: 30px;
}

/* Display insline on desktop fix */
@media only screen and (min-width: 768px) {
  .top-products .top-product {
      width: 33.33%;
  }
  
  .top-products .wp-block-columns {
    display: flex;
      column-gap: 15px;
     flex-wrap: nowrap !important;
  }
}

/* WAB Top Products */
.top-products {
    margin-top: -80px;
    margin-bottom: 0 !important;
    padding: 0 40px;
}
.top-products .top-product {
    justify-content: space-between;
    margin-bottom: 20px;
    text-align: center;
    flex-direction: column;
    display: flex;
    background-color: #fff;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    -o-border-radius: 10px;
    border-radius: 10px;
    -moz-box-shadow: 0 4px 8px rgba(129,129,129,0.1);
    -webkit-box-shadow: 0 4px 8px rgba(129,129,129,0.1);
    -o-box-shadow: 0 4px 8px rgba(129,129,129,0.1);
    box-shadow: 0 4px 8px rgba(129,129,129,0.1);
    padding: 10px;
}
.top-product-tag {
    margin-top: -10px;
    margin-left: -20px;
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 18px;
    position: absolute;
    color: #fff;
    -moz-border-radius: 0 0 16px 0;
    -webkit-border-radius: 0 0 16px 0;
    -o-border-radius: 0 0 16px 0;
    border-radius: 0 0 16px 0;
    z-index: 20;
    padding: 2px 40px;
}
.top-product-tag::before {
    display: block;
    border-left: 5px solid transparent;
    position: absolute;
    border-bottom: 4px solid transparent;
    bottom: -8px;
    left: 0;
    content: "";
    border-right: 5px solid;
    border-top: 4px solid;
}
.top-product-1 .top-product-tag {
    background-color: #ff842b;
}
.top-product-1 .top-product-tag::before {
    border-right-color: #913d00;
    border-top-color: #913d00;
}
.top-product-2 .top-product-tag {
    background-color: #1f73d5;
}
.top-product-2 .top-product-tag::before {
    border-right-color: #0c2b4f;
    border-top-color: #0c2b4f;
}
.top-product-3 .top-product-tag {
    background-color: #6acc36;
}
.top-product-3 .top-product-tag::before {
    border-right-color: #2b5415;
    border-top-color: #2b5415;
}
.top-product figcaption {
    font-size: 20px;
}
.top-product-price-btn {
    text-transform: uppercase;
}

/* WAB Top Product List */
.top-product-list-item {
    padding: 0;
    display: flex;
    background-color: #f5f5f5;
    position: relative;
    height: 172px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    -o-border-radius: 10px;
    border-radius: 10px;
    -moz-box-shadow: 0 4px 8px rgba(129,129,129,0.1);
    -webkit-box-shadow: 0 4px 8px rgba(129,129,129,0.1);
    -o-box-shadow: 0 4px 8px rgba(129,129,129,0.1);
    box-shadow: 0 4px 8px rgba(129,129,129,0.1);
    margin: 24px 0;
}
.elementor .top-product-list-item {
    margin: 0;
}
.top-product-list-item .top-product-tag {
    margin-top: 0;
    margin-left: -10px;
}
.top-product-left {
    display: flex;
    align-items: center;
    background-color: #fff;
    flex-grow: 1;
    -moz-border-bottom-left-radius: 10px;
    -webkit-border-bottom-left-radius: 10px;
    -o-border-bottom-left-radius: 10px;
    border-bottom-left-radius: 10px;
    -moz-border-top-left-radius: 10px;
    -webkit-border-top-left-radius: 10px;
    -o-border-top-left-radius: 10px;
    border-top-left-radius: 10px;
}
.top-product-left-image {
    margin-right: 20px;
    margin-left: 10px;
    width: 25%;
    min-width: 25%;
}
.top-product-left-image img {
    max-height: 150px;
}
.top-product-right {
    justify-content: space-between;
    text-align: center;
    flex-direction: column;
    display: flex;
    width: 33%;
    position: relative;
    min-width: 33%;
    padding: 16px 15px 16px 45px;
}
.top-product-right:before {
    border-left: 30px solid white;
    position: absolute;
    border-bottom: 86px solid transparent;
    top: 50%;
    left: 0;
    -moz-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    content: '';
    border-top: 86px solid transparent;
}
.p-score {
    color: #7c7b7b;
}
.top-product-score-max {
    color: #9a9a9a;
}
.p-score, .top-product-score-max {
    display: block;
    text-transform: uppercase;
    font-size: 11px;
    line-height: 2;
}
.top-product-score-value {
    display: block;
    font-weight: bolder;
    font-size: 40px;
    line-height: 0.75;
    color: #f03333;
    margin: 5px 0;
}

/* WAB Product Boxes */
.product-box-container {
    padding-top: 20px;
}
.product-box {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    background-color: white;
    position: relative;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    -o-border-radius: 10px;
    border-radius: 10px;
    -moz-box-shadow: 0 4px 8px rgba(129,129,129,0.1);
    -webkit-box-shadow: 0 4px 8px rgba(129,129,129,0.1);
    -o-box-shadow: 0 4px 8px rgba(129,129,129,0.1);
    box-shadow: 0 4px 8px rgba(129,129,129,0.1);
}
.product-box-score {
    text-align: center;
    width: 76px;
    background-color: #f03333;
    position: absolute;
    height: 76px;
    top: 10px;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    -o-border-radius: 50%;
    border-radius: 50%;
    left: 10px;
    z-index: 20;
    padding: 14px 0;
}
.product-box-score .p-score, .product-box-score .top-product-score-max {
    font-weight: bold;
    font-size: 10px;
    line-height: 0.5;
    color: #fff;
}
.product-box-score .top-product-score-value {
    font-size: 32px;
    line-height: 0.75;
    color: #fff;
}
.product-box-left {
    margin-right: 15px;
    width: 50%;
    position: relative;
}
.product-box-left img {
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    -o-border-radius: 10px;
    border-radius: 10px;
    padding: 10px;
}
.product-image {
    width: auto;
    max-height: 300px;
}
.product-box-right {
    margin-left: 10px;
    width: 50%;
    padding: 10px 10px 10px 0;
}
.product-box-title {
    padding-bottom: 1.5em;
    display: block;
    font-weight: 600;
    font-size: 24px;
    overflow: hidden;
    max-height: 58px;
    margin: 0;
}
.product-box-summary {
    padding-top: 1.5em;
}
.product-summary {
	padding-bottom: 25px;
}
.pros-cons {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    -moz-column-gap: 30px;
    -webkit-column-gap: 30px;
    -o-column-gap: 30px;
    column-gap: 30px;
}
.pros, .cons {
    flex: 0 0 50%;
    max-width: calc(50% - 15px);
    padding: 10px 15px 0;
}
.pros {
    border-top: 5px solid #6dca42;
}
.cons {
    border-top: 5px solid #f54040;
}
.pros-title, .cons-title {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 20px;
}
.pros-cons ul {
    margin-left: 10px;
    list-style: none;
}
.pros-cons ul li {
    margin-top: 18px;
    display: flex;
    align-items: baseline;
}
.pros-cons .pros ul li:before {
    margin-right: 12px;
    display: inline-block;
    width: 16px;
    vertical-align: middle;
    height: 16px;
    min-width: 16px;
    content: '';
    background-image: url(https://dev.mediagearheads.com/wp-content/uploads/2021/08/true.svg);
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: auto;
    background-size: contain;
}
.pros-cons .cons li:before {
    margin-right: 12px;
    display: inline-block;
    width: 14px;
    vertical-align: middle;
    height: 14px;
    min-width: 14px;
    content: '';
    background-image: url(https://dev.mediagearheads.com/wp-content/uploads/2021/08/false.svg);
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: auto;
    background-size: contain;
}

@media only screen and (max-width: 768px) {
    .top-products {
        margin-top: -40px;
        padding: 0 30px;
    }
    .top-product-list-item {
        display: block;
        background-color: #fff;
        height: auto;
    }
    .top-product-tag {
        font-size: 16px;
    }
    .top-product-left {
        background-color: unset;
        padding: 16px 15px;
    }
    .top-product-right {
        justify-content: space-between;
        padding-top: 16px;
        padding-top: 12px;
        padding-right: 30px;
        padding-bottom: 16px;
        padding-left: 30px;
        text-align: center;
        flex-direction: row;
        display: flex;
        align-items: center;
        width: 100%;
        position: relative;
    }
    .top-product-right::before {
        border: none;
        content: none;
    }
    .top-product-score {
        width: 20%;
    }
    .p-score, .top-product-score-max {
        font-size: 9px;
        line-height: 1.5;
    }
    .top-product-score-value {
        font-size: 30px;
    }
    .top-product-right .top-product-price-btn {
        width: 80%;
    }
    .top-product-price-btn a {
        width: 80%;
    }
    .product-box {
        display: block;
    }
    .product-box-left {
        margin-right: unset;
        text-align: center;
        width: 100%;
    }
    .product-box-left img {
        width: 50%;
    }
    .product-box-right {
        margin-left: unset;
        text-align: center;
        width: 100%;
        padding: 10px 15px;
    }
    .product-box-right .top-product-price-btn {
        width: 100%;
    }
    .pros-cons {
        display: block;
    }
    .pros, .cons {
        max-width: 100%;
    }
}
