/* Default font family for smaller elements */
body .related-info-container{
    font-family: 'Roboto', sans-serif;
}

/* Apply Roboto font family to larger elements */
@media screen and (min-width: 768px) {
    body .related-info-container {
        font-family: 'Roboto', sans-serif;
    }
}

.related-info-box,
.related-info-box a,
.related-info-content .info-item {
    font-size: 15px;
    font-weight: 400;
}

/* Apply Roboto font family to larger elements */
@media screen and (min-width: 768px) {
    .related-info-box.large,
    .related-info-box.large a,
    .related-info-content .info-item.large {
        font-family: 'Roboto', sans-serif;
    }

    .related-info-box.large a {
        font-weight: 700;
    }
}


/* Default background color */
.related-info-box {
    /*
        background-color: #f0f8f0;  Default background color */
    transition: background-color 0.3s ease; /* Smooth transition */
    /* border-top: 1px solid #f6f6f6; */
    display: block;
    background-image: linear-gradient(to right, #ffffff, #f0f8f0);
}

/* Hover background color */
.related-info-box:hover {
    /* background-color: #def3df;  Hover background color */
}

/* Pressed background color (for button click) */
.related-info-box.active {
    /*  background-color: #c7ecc8; Pressed background color */
}

/* Style for related info container */
.related-info-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

/* Style for each related info box */
.related-info-box {
    width: 100%;
    padding: 14px;
    margin-bottom: 8px;
    border-radius: 6px;
}

/* Style for related info content */
.related-info-content {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
}

/* Style for each info item */
.related-info-box .info-item {
    display: flex;
    align-items: center;
    padding: 0px;
    margin-right: 14px;
    flex: 1;
}
.related-info-box .info-item:last-child {
    margin-right: 0px;
}

/* Specific width for position, image, and button */
.related-info-box .info-item.position,
.related-info-box .info-item.image,
.related-info-box .info-item.click-btn,
.related-info-content .info-item.click-btn{
    flex: 0 0 auto;
}

/* Allow title to take up more space */
.related-info-box .info-item.title {
    flex: 5; /* Allocate more space to title */
    overflow: hidden;
    word-wrap: break-word;
    line-height: 1.3;
    margin: 0;
}

/* Style for stars */
.info-item.stars {
    flex: 3; /* Reduce space allocated to stars */
    justify-content: flex-end;
    font-weight: 500;
}

/* Style for stars text */
.info-item.stars p .sstars{
    color: #8f8f8f;
}

/* Style for stars value */
.info-item.stars p .text{
    color: #1e51d1;
    margin: 0 0 0 5px;
    font-weight: 300;
}

/* Style for title link */
.related-info-box .info-item.title a{
    color: #1e51d1;
    text-transform: uppercase;
    font-weight: 500;
}



/* Style for stars paragraph */
.info-item.stars p{
    margin: 0;
    margin-left: -10px;
}

/* Style for stars svg */
.info-item.stars p svg{
    margin-bottom: -5px;
}

/* Style for position box */
.related-info-content .position p {
    text-align: center;
    color: #222;
    width: 65px;
    height: 60px;
    border-bottom: 2px solid #0ea515;
    padding: 5px;
    margin: 0;
}

/* Hover style for position box */
/*
.related-info-content:hover .position p {
    color: #ffffff;
    background: #0ea515;
}
*/
/* Style for position box text */
.related-info-content .position p  {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
    padding-top: 12px;
}

/* Style for position box content */
.related-info-content .position p .text {
    font-size: 13px;
    font-weight: 400;
}

/* Style for image */
.related-info-content .image img {
    object-fit: cover;
    width: 65px;
    height: 65px;
    margin: 0;
}


.related-product-box {
    border: 1px solid #f6f6f6;
    margin-top: 24px;
    padding: 0;
    color: #555555;
}

.related-product-info-content .product-header{
    border-bottom: 1px solid #f6f6f6;
}

.related-product-info-content {
    display: flex;
    flex-wrap: wrap;
}

.related-product-info-content .product-header,
.related-product-info-content .product-content {
    width: 100%;
    display: flex;
    margin-bottom: 10px;
    padding: 0 20px;
}
.related-product-info-content .product-header{
    padding-left: 0;
}

.related-product-info-content .position {
    width: 15%;
}
.related-product-info-content .title{
    width: calc(65% - 4px);
    margin-left: 4px;
    display: flex;
    align-items: center;
}
.related-product-info-content .stars {
    width: 20%;
}


.related-product-info-content .position p {
    margin: 0;
    line-height: 1.15;
}

.related-product-info-content .position {
    text-align: center;
    font-size: 36px;
    font-weight: 900;
    margin-top: 12px;
}
.related-product-info-content .position .text{
    display: block;
    font-size: 15px;
    font-weight: 400;
    border-bottom: 3px solid #11bd18;
    margin: 0 auto -1px auto;
    padding-bottom: 6px;
    width: 70%;
}

.related-product-info-content .title h2 {
    text-decoration: none;
    color: #111111;
    font-size: 28px;
    font-weight: 500;
    line-height: 1;
}

.related-product-info-content .stars {
    text-align: right;
    display: flex;
    align-items: center;
}

.related-product-info-content .stars p {
    margin: 0;
}

.related-product-info-content .info-item.stars p .text {
    display: block;
    margin: 0 0 -3px 0;
    font-size: 14px;
    font-weight: 400;
    color: #222;
}

.related-product-info-content .product-content-sidebar {
    width: 75%;
    padding-right: 20px;
}

.related-product-info-content .product-content-side{
    width: 25%;
}

.related-product-info-content .click-btn,
.related-info-content .product-content-side .info-item.click-btn{
    margin-top: 10px;
}

.product-content .image a{
    font-size: 14px;
    display: block;
    text-align: center;
    color: #0039cd;
    font-weight: 400;
    margin-top: 10px;
    margin-bottom: 20px;
}

.product-content .image img{
    margin-bottom: 4px;
}

.related-product-info-content .image img {
    max-width: 100%;
    height: auto;
}

.related-product-info-content .click-btn a,
.related-info-content .info-item.click-btn a{
    display: block;
    text-align: center;
    color: #ffffff;
    background: #11bd18;
    border: 0;
    padding: 8px;
    border-radius: 5px;
    width: 100%;
}

/* Hover style for button */

.related-product-info-content .click-btn a:hover,
.related-info-content .info-item.click-btn a:hover{
    background: #0ea515;
}

.related-product-info-content .click-btn a:active,
.related-info-content .info-item.click-btn a:active{
    background: #0c9012;
}
/*
.related-info-box.active .position p,
.related-info-box.active .info-item.click-btn a
{
    background: #0c9012;
    color: #ffffff;
}
*/

.product-content .text-under-btn{
    font-size: 14px;
    display: block;
    text-align: center;
    margin: 10px auto;
}

.related-product-box .product-content .product-content-side .aff-links .click-btn a{
    background: transparent!important;
    border: 1px solid #0ea515;
    color: #0ea515;
}
.related-product-box .product-content .product-content-side .aff-links .click-btn a p{
    margin: 0 auto;
}

.product-content-side .aff-links .btn-img{
    width: 100px;
    margin: 0 auto;
    margin-bottom: 0px;
}
.product-content-side .aff-links .btn-img img{
    margin-bottom: 0px;
}


.product-content-sidebar,
.product-pros-cons{
    width: 100%;
}

.related-product-info-content .product-content{
    margin-top: 14px;
}
related-product-info-content .image{
    margin-top: 0px;
}

.product-pros,
.product-cons{
    display: inline-grid;
    width: 50%;
    margin-bottom: 16px;
}

.text-pro, .text-con{
    display: block;
    margin-left: 32px;
}
.prod-pro svg, .prod-con svg{
    display: block;
    float: left;
}

.related-product-info-content .aff-links .click-btn a{
    padding: 5px 0;
}


.prod-pro, .prod-con {
    display: inline-block;
    align-items: center;
    margin-bottom: 10px;
}

.prod-pro svg, .prod-con svg {
    margin-right: 8px;
    margin-bottom: -8px;
}



.single-product-affiliate-li .text-under-btn {
    font-size: 14px;
    display: block;
    text-align: center;
    margin: 10px auto;
}

.single-product-affiliate-li  .aff-links .click-btn {
    background: 0 0 !important;
    border: 1px solid #0ea515;
    color: #0ea515;
    border-radius: 5px;
    margin-bottom: 8px;
    width: 80%;
    margin: 0 auto 8px;
}

.single-product-affiliate-li .aff-links .btn-img {
    display: block;
    width: 100px;
    margin: 4px auto;
}

a.text-text {
    font-size: 14px;
    display: block;
    text-align: center;
    color: #0039cd;
    font-weight: 400;
    margin-top: 10px;
    margin-bottom: 20px;
}
.info-item.click-btn.prod a {
    display: block;
    text-align: center;
    color: #fff;
    background: #11bd18;
    border: 0;
    padding: 8px;
    border-radius: 5px;
    width: 80%;
    margin: 0 auto;
}


.aff-links .list-position {
    list-style: none;
    padding: 0;
    margin: 1em 0;
}

.aff-links .list-position li,
.aff-links .product-position{
    margin-bottom: 0.5em;
    font-size: 0.74rem;
    line-height: 1.4;
    padding-right: 8px;
    margin-left: 8px;
}
.aff-links .product-position{
    font-size: 1rem;
}

.aff-links .list-position a {
    text-decoration: none;
    color: #0073aa;
    font-weight: 500;

}

.aff-links .list-position a:hover {
    text-decoration: underline;
    color: #005177;
}



@media only screen and ( max-width: 768px ) {
    .related-info-content,
    .related-info-box .info-item  {
        display: block;
    }

    .related-info-box {
        position: relative;
        padding: 0 10px 20px 10px;
        background-image: linear-gradient(to right, #ffffff, #f0f8f0);
    }

    .related-product-info-content .title h2 {
        font-size: 20px;
    }

    .related-info-content .position p {
        display: inline;
        font-size: 16px;
        padding: 5px 10px;
    }
    .related-info-box .info-item {
        margin: 10px 0 15px 0;
    }
    .related-info-content .image img {
        width: 80px;
        height: 80px;
    }


    .related-info-box .info-item.title {
        margin-left: 96px;
        margin-right: 10px;
        position: absolute;
        height: 90px;
        top: 53px;
    }
    .related-info-content .info-item.click-btn a {
        width: 35%;
        font-size: 14px;
        float: right;
        margin-right: 10px;
        position: relative;
        z-index: 9;
    }

    .related-product-info-content .product-header, .related-product-info-content .product-content {
        display: block;
        position: relative;
        min-height: 80px;
    }
    .related-product-info-content .position {
        width: 25%;
        float: left;
        display: block;
    }
    .related-product-info-content .title{
        width: 73%;
        float: right;
        display: block;
    }
    .related-product-info-content .title span{

    }

    .related-product-info-content .stars{
        clear: both;
        display: block;
        width: 100%;
        text-align: center;
        position: absolute;
        top: 88px;
        z-index: 1;
    }
    .related-product-info-content .info-item.stars p .text {
        display: inline-block;
    }
    .info-item.stars p .text {
        display: none;
    }
    .text.mobile {
        display: inline-block!important;
        color: #1e51d1;
        margin: 0 0 0 96px;
        position: absolute;
        bottom: 26px;
        font-size: 16px;
    }
    .related-product-info-content .product-content-sidebar, .related-product-info-content .product-content-side  {
        width: 100%;
        padding-right: 0;
    }

    .related-product-info-content .image img {
        width: 100%;
    }

    .related-product-info-content .title span {
        font-size: 21px
    }
    .related-product-info-content .title{
        height: 78px;
        display: flex;

    }
    .related-info-content .info-item.stars {
        position: absolute;
        right: 20px;
        z-index: 1;
        top: 0px;
    }
    .related-info-content .info-item.click-btn {
        margin-top: -54px;
    }

    .product-content .info-item.image{
        position: absolute;
        top: -8px;
        left: 50%;
        transform: translateX(-50%);
        width: max-content;
    }

    .td-md-is-os-x .product-content .info-item.image,
    .td-md-is-safari .product-content .info-item.image{
        width: auto!important;
    }

    .td-md-is-os-x .product-content .info-item.image img,
    .td-md-is-safari .product-content .info-item.image img{
        max-height: 220px;
        height: auto;
    }

    .product-content .info-item.image img{
        height: 220px;
        margin-top: 22px;
    }
    .product-content-sidebar{
        margin-top: 268px;
    }
    .product-pros, .product-cons {
        width: 100%;
    }

    .product-content .image a{
        margin-top: 0px;
    }
    .related-product-info-content .product-content{
        margin-bottom: 20px;
    }

}

