div {
    box-sizing: border-box;
}

div.review_main {
    max-width: 100vw;
    margin-left: 5px;
    margin-right: 5px;
    text-align: left;
    margin-top: 40px;
}


div.clear_mobile {
    display: none;
}

div.review_main .header-review {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    min-height: 215px;
}

div.review_main .header-left {
    width: 164px;
    float: left;

}

div.review_main .header-right {
    /*width: 67%;*/
    width: calc(100% - 200px);
    float: left;
    padding-left: 15px;
    padding-right: 5px;

}

div.product_image_main {
    position: relative;
    overflow: hidden;
}

.product_image_main img {
    max-width: calc(min(100%, 164px));
    width: 100%;
    height: auto;
}

.zoomed-image {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 500px;
    height: 500px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    transform: scale(1);
    opacity: 0;
    transition: transform 0.1s ease, opacity 0.1s ease;
}

img.main-image
{
    width:164px
}
img.similar-image
{
    object-fit: contain;
    overflow: hidden;
    height:150px;
    max-width: 150px;
    max-height: 150px;
}

.product_image_main:hover .main-image {
    opacity: 0;
}

.product_image_main:hover .zoomed-image {
    opacity: 1;
    transform: scale(1);
    display: block;
}

.product_image_main:hover .zoomed-image:hover {
    transform-origin: 0% 0%;
    transform: translate(-50%, -50%); //  scale(2.439)
}




div.review_main .product_main_info {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 99%;
    padding-right: 20px;
    font-size: 16px;
}

div.review_main .product_main_info h1 {
    font-size: 1.5em;
    margin: 0 0 5px 0;
}

div.review_main .product_sub {
    /*display:inline;*/
    max-width: 80%;
    text-align: left;
    margin-top: 30px;
}

div.review_main .product_main_info h3 {
    font-size: 1.0em;
    margin: 0 0 5px 0;
}

div.review_main .product_main_info h4 {
    font-size: 1.0em;
    margin: 0 0 5px 0;
}

.mobile_only {
    display: none;
}

.desktop_only {
    display: block;
}

div.product-name.desktop_only {
    display: block;
    padding-right: 150px;
    max-width: 100%;

}

h1.product-name.desktop_only {
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
}

/*====================*/

.rating-stars {

}

.rating-stars.interactive {
    cursor: pointer;
}


.product_main_info .rating-stars {
    /*float: left;*/
    margin-right: 20px;
    margin-bottom: 5px;
}

.rating-inner {
    margin-left: 5px;
    margin-right: 5px;
    display: inline-block;
    text-align: right;
}

.product_main_info .rating-inner {
    font-size: 19px;
}

.rating-score {
    display: block;
    font-size: 11px;
    margin-top: 5px;
    font-weight: normal;
}

.star_glitter {
    text-shadow: 0 0 4px goldenrod;
    animation: star_glitter 1.6s ease infinite;
}

@keyframes star_glitter {
    0% {
        /*text-shadow: 0 0 3px rgba(218, 165, 32, 0.1);*/
        text-shadow: 0 0 2px #000;
    }
    50% {
        text-shadow: 0 0 4px rgba(218, 165, 32, 0.99);
    }
    100% {
        /*text-shadow: 0 0 3px rgba(218, 165, 32, 0.1);*/
        text-shadow: 0 0 2px #000;
    }
}
.rating-star {
    text-shadow: 0 0 2px #000;
}

.rating-star {
    display: inline-block;
    position: relative;
    color: #ddd;
    overflow: visible; /* Allow the pseudo-element to overflow its parent */
}

.rating-star:after {
    font-family: "Font Awesome 5 Pro";
    content: "\f005";
    position: absolute;
    left: 0;
    top: 0;
    width: var(--fill-width, 0); /* Use the custom property to set the width */
    transition: var(--transition-duration, 0.5s) cubic-bezier(0.42, 0, 0.58, 1);
    overflow: hidden;
    color: #f80;
}

/* CSS code */
.notification {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #3498db;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    padding: 10px;
    z-index: 199999999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.notification.show {
    opacity: 1;
}

div.product_main_meta_info {
    display: inline-block;
    float: left
}

div.warehouse_section {
    display: inline-block;
}
div.warehouse{
    display: inline-block;
}
div.warehouse-name{
    display: inline-block;
}

.flag-image {
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2);
    display: inline-block;
    margin-bottom: 4px;
    margin-right: 10px;
}
img.flag-image
{
    object-fit: contain;
    overflow: hidden;
}

/*====================*/

.reviews .user_review {
    border: 0;
    border-left: 5px solid #ccc;
    border-left-color: rgba(0, 0, 0, 0.2);
    padding: 10px 10px 2px 10px;
    margin: 10px 0;
    background: rgba(225, 225, 225, 0.1);
    border-radius: 0 5px 5px 0;
}

.reviews .user_review_header {
    text-align: left;
    font-size: 14px;
    font-weight: bold;
    margin: 0 0 10px 0;
}

.reviews .user_review_header .rating-stars {


    font-size: 14px;
    display: inline-block;
    margin-left: 10px;
}

.reviews .user_review_header span {
    font-size: 12px;
    font-weight: normal;
    color: #999;
    margin-left: 10px;
}

.reviews .user_review_body {
    font-size: 12px;
    font-weight: normal;
    margin: 0 0 10px 0;
    max-width:700px
}

.reviews .user_review_footer {
    font-size: 12px;
    font-weight: bold;
    margin: 15px 0 0 0;
    text-align: left;
    position: relative
}

/*====================*/

.product-slider-wrapper {
    overflow: visible;
    /*overflow-x: hidden; Bug in  w3c*/
    max-height: 280px;
    margin-bottom:20px;
}
.product-slider {
    position: relative;
    height: 300px;
    overflow-x: hidden;
    overflow-y: visible;
    padding-top: 35px;
    margin-bottom: 20px;
    padding-left: 40px;
    padding-right: 40px;
}

.slider-container {
    display: flex;
    flex-wrap: nowrap;
    transition: transform 0.5s ease;
}
.slider-arrow
{
    z-index: 4;
}

.slider-block {
    /*flex: 0 0 calc(25% - 20px); !* 4 blocks with 20px margin *!*/
    flex: 0 0 180px;
    margin-right: 20px;
    text-align: center;
    position: relative;
}

.slider-block:last-child {
    margin-right: 0;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 10px;
    border-radius: 50%;
    font-size: 20px;
    transition: background-color 0.2s ease;
}

.slider-arrow:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.slider-next {
    right: 0;
}

.slider-prev {
    left: 0;
}
.slider-container h3 {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    margin-top: 10px;
    margin-bottom: 5px;
    line-height: 1.2;
}

/*====================*/

.coupon-card {
    width: 211px;
    height: 48px;
    background: url(/img/ticket-strip.png) no-repeat;
    position: relative;
    transition: all 0.5s ease-in-out;
    transform-style: preserve-3d;
    transform-origin: center;
    transform: perspective(500px) rotateY(0deg);
    clear: both;
    margin-top: 10px;
    scrollbar-width: none;


    box-shadow: 0 0 5px 0 rgba(255, 215, 0, 0.1), inset 0 0 10px 0 rgba(255, 215, 0, 0.1);
}

.coupon-card:hover,
.buy_and_coupon:hover .coupon-card {
    transform: perspective(500px) rotateY(180deg);
}

.coupon-code {
    font-size: 20px;
    font-weight: bold;
    color: white;
    text-align: center;
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    transform: rotateY(180deg);
    backface-visibility: hidden;
    opacity: 0.99;
}

.coupon-name {
    font-size: 18px;
    font-weight: bold;
    color: white;
    text-align: center;
    margin-left: -10px;
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    backface-visibility: hidden;
    opacity: 0.99;
}
.coupon-code, .coupon-name {

}

div.vertical-center
{
    display: flex;
    justify-content: flex-end;
    align-items: center;

}


div.product_buy {
    /*float: left;*/
    clear: both;
    width: 100%;
    margin-bottom: 5px;
}

div.buy_and_coupon
{
    /*position: absolute;*/
    /*top: 50%;*/

}

.buy_and_coupon .price {
    width: 215px;
    height: 26px;
    display: flex;
    align-items: flex-end;
    /*justify-content: flex-end;*/
    justify-content: center;
    /*align-items: center;*/
    white-space: nowrap;


    font-size: 20px;
    font-weight: bold;
    color: #555;
    margin-bottom: 10px;
}

a.buy-now {
    background-color: #909090;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    /*float: right;*/
    display: block;
    margin: 0 auto;
}


/*====================*/
.product-medal {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: 24px;
    background-color: #f7f7f7;
    color: #333;
    font-weight: bold;
    font-size: 18px;
}


.product-medal-icon {
    display: inline-block;
    float: left;
    width: 32px;
    height: 32px;
    margin-right: 8px;
    background-color: #f1c40f;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 32px;
}

.product-medal-label {
    display: inline-block;
    margin-right: 8px;
}

.product-medal-percentage {
    display: inline-block;
    padding: 4px 12px;
    background-color: #f1c40f;
    color: #fff;
    border-radius: 16px;
}

/*====================*/

.keywords-box {
    display: inline-block;
    white-space: normal;
    background-color: #f2f2f2;
    padding: 10px;
    border-radius: 5px;
    margin-right: 0;
    margin-top: 15px;
    max-height: 250px;
    text-align: right;
    overflow-y: hidden;
    overflow-x: hidden;
    width: 240px;
    float: right;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    position: relative;
}


.keywords-box .keywords-header {
    height: 24px;
    background-color: #f2f2f2;
    border-bottom: 1px solid #dddddd;
    font-size: 14px;
    font-weight: bold;
    color: #555555;
    margin-bottom: 10px;
}

.keywords-box .keywords-header h3 {
    display: inline-block;
    margin: 0;
    float: left;
}

.keywords-box .keywords-list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    position: relative;
}

.keywords-box .keyword-item {
    display: inline-block;
    margin-right: 10px;
    font-size: 14px;
    color: #555555;
    width: calc(100% / 2 - 10px);
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.keywords-box .keyword-item.hidden {
    display: none;
}

.keywords-box .keywords-box .page-switcher {
    position: absolute;
    bottom: 0;
    right: 0;
    height: 20px;
    line-height: 20px;
    margin: 3px;
}

.keywords-box .keywords-box .page-switcher i {
    display: inline-block;
    margin-right: 10px;
    font-size: 12px;
    color: #aaaaaa;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
}

.keywords-box .keywords-box .page-switcher i:last-child {
    margin-right: 0;
}

.keywords-box .page-switcher i:hover {
    transform: scale(1.3);
}


/*====================*/

.clear {
    clear: both;
}

@media (max-width: 480px) {
    div.buy_and_coupon {
        position: relative;
        float: none;
        margin: 0 auto;
    }

    .coupon {
        margin-top: 10px;
    }
}


div.review_main .reviews {
    width: 100%;
    display: block;
    overflow: auto;
    position: relative;
}

div.box_head_left {
    font-size: 16px;
    font-weight: bolder;
    display: inline-block;
    margin-bottom: 5px;
    position: absolute;
    top: 5px;
    left: 20px;
}
div.reviews .box_head_right {
    font-size: 16px;
    font-weight: bolder;
    display: inline-block;
    margin-bottom: 5px;
    position: absolute;
    top: 5px;
    right: 20px;
}

div.reviews .expert_photo {
    width: 80px;
    height: 80px;
    border-radius: 10%;
    overflow: hidden;
    position: relative;
    background-color: #fff;
    float: left;
    margin-right: 10px;
    margin-bottom: 0;
    margin-top: 20px;
}

div.reviews .expert_photo img {
    /* We need to scale the image to fit the container */
    /*width: 120%;*/
    /*height: 120%;*/
    width: 80px;
    height:auto;
    /* We need to center the image inside the container */
    /*position: absolute;*/
    /*top: 60%;*/
    /*left: 50%;*/
    /*transform: scale(1.1) translate(-45%, -45%); !* This will center the image inside the container *!*/
    background-color: #fff;
    /*transform: translate(0, -10%);*/
}


div.review_main .review {
    width: 100%;
    margin-bottom: 20px;
    border: 1px solid lightgray;
    border-radius: 10px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    overflow: auto;
    padding: 20px 20px 30px;
}

div.review_main .review-left {
    width: 70%;
    float: left;
    padding: 20px;
    text-align: center;
}

div.review_main .review-right {
    width: 30%;
    float: right;
    position: relative;
    /*padding: 20px;*/
}


/*=======================================*/
.info-btn {
    background-color: transparent;
    color: #666;
    border: 2px solid #fff;
    padding: 8px 12px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.info-btn:hover {
    /*background-color: #f5f5f5;*/
}

.info-btn:hover {
    color: #007bff;
    background-color: #fff;

}

/*.info-btn:hover i:before {
    content: "\f05a";
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Font Awesome 5 Pro';
    font-size: 16px;
    color: #007bff;
    padding: 5px;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
}*/

/*=======================================*/


.vote-buttons {
    display: inline-block;
    font-size: 0;
    text-align: center;
    vertical-align: middle;
    height: 20px;
}

.vote-buttons button {
    display: inline-block;
    vertical-align: middle;
    margin: 0 5px;
    font-size: 18px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

button.thumbs-up {
    margin-top: -8px;
}

.vote-buttons button i {
    font-size: inherit;
}


.thumbs-up i:hover, .thumbs-down i:hover {
    color: #00a8ff;
}

.thumbs-up i {
    color: #27ae60;
}

.thumbs-down i {
    color: #c0392b;
}

.vote-label {
    font-size: 14px;
    font-weight: bold;
    margin-right: 10px;
}

/*=======================================*/


.other-products, .liked-products {
    width: 100%;
    float: left;
}

.other-products .product, .liked-products .product {
    width: 45%;
    float: left;
    margin-right: 10px;
}


@media (max-width: 767px) {
    .inner {
        max-width: 100vw;
    }

    div.review_main {
        margin-top: 5px;
    }

    div.review_main .review-left, div.review_main .review-right {
        width: 100%;
        float: none;
        padding: 5px;
    }

    .other-products, .liked-products {
        width: 100%;
        float: none;
    }

    .other-products .product, .liked-products .product {
        width: 100%;
        float: none;
        margin-right: 0;
    }

    .desktop_only {
        display: none;
    }

    .mobile_only {
        display: block;
    }

    .product-name {
        font-size: 18px !important;
        text-align: center;
        padding: 0 15px;
    }

    h1.product-name {
        /*white-space: nowrap; !* prevent wrapping onto multiple lines *!*/
        overflow: hidden; /* hide any overflow beyond the second line */
        text-overflow: ellipsis; /* display ellipsis for any additional text */
        max-height: 3.6em; /* set the maximum height to two lines */
        line-height: 1.2em; /* set the line height */
    }

    div.review_main .header-left {
        width: 100%;
        float: none;
        text-align: center;
    }

    div.review_main .header-right {
        width: 100%;
        float: none;
        text-align: center;
    }

    .product_main_info div.rating-stars {
        float: none !important;
        margin-right: 0;
        text-align: center;
    }

    div.product_main_info {
        padding: 0 0 !important;
        max-width: 100% !important;
    }
    div.warehouse_section {
        display: block;
    }

    div.product_main_meta_info {
        display: inline-block;
        float: none;
    }


    div.review_main .product_sub {
        margin-top: 0;
        display: inline-block;
        max-width: 90vw;
        text-align: left;
    }

    div.keywords-box {
        display: none;
        float: none;
        margin-top: 0;
        margin-bottom: 5px;
        margin-left: auto !important;
        margin-right: auto !important;

        max-width: 90vw;
    }

    .clear_mobile {
        display: block !important;
        clear: both;
    }

    .product_image_main:hover .zoomed-image {
        display: none;
    }
    .product_image_main:hover .main-image {
        opacity: 1;
    }


    /** Mobile browser bugs */
    .coupon-card {
        transform: none !important;
        transform-style: flat !important;
    }

    .coupon-code {
        transform: none !important;
        transform-style: flat !important;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .coupon-name {
        transform: none !important;
        transform-style: flat !important;
        display: block;
        visibility: visible;

    }

    .coupon-card:hover .coupon-name {
        transform: none !important;
        transform-style: flat !important;
        opacity: 0;
        visibility: hidden;
    }

    .coupon-card:hover .coupon-code {
        visibility: visible;
        transform: none !important;
        transform-style: flat !important;
        opacity: 1;
        transition-delay: 0.5s;

    }


}


@media only screen and (max-width: 480px) {
    .product_main_info {
        font-size: 12px !important;
    }
}

