﻿.p-details-section {
    max-width: 1200px;
    margin: auto;
    padding: 40px;
}

.p-details-sub-section {
    background-color: #f2f2f2;
}

.p-details-sub-section-container {
    max-width: 1200px;
    margin: auto;
    padding: 40px;
}

.p-details-row {
    margin-bottom: 30px;
}

.p-details-row-l {
    margin-bottom: 50px;
}

.p-details-row-xl {
    margin-bottom: 80px;
}

.p-details-display-img-placeholder {
    max-width: 450px;
    margin: 0;
}

.p-details-display-img {
    max-width: 450px;
    height: 100%;
    margin: auto;
}

    .p-details-display-img .carousel-item {
        width: 100%;
        height: 100%;
    }
    
    .p-details-display-img .carousel-item img {
        width: 100%;
        height: 100%;
    }

    .p-details-display-img .carousel-item iframe {
        width: 100%;
        height: 450px;
    }

.p-details-display-img-thumbnail {
    max-width: 450px;
    min-height: 100px;
    margin: auto;
    position: relative;
    padding-top: 15px;
    display: inline-block;
    margin-bottom: 25px;
}

    .p-details-display-img-thumbnail div {
        margin-right: 1.5px;
        margin-bottom: 5px;
        border: 1px solid #ddd !important;
        background-color: white;
        opacity: .3;
        transition: opacity .6s ease;
        display: inline-block;
        width: 59px;
        height: 59px;
    }

    .p-details-display-img-thumbnail img {
        width: 100%;
        height: 100%;
        cursor: pointer;
    }

.carousel-indicators .active {
    opacity: 1;
    border-color: #fdd5ea !important;
    color: black;
}

.p-details-display-img-placeholder .carousel a {
    height: 460px;
    width: 25%;
}

.p-details-display-img-placeholder .carousel .carousel-control-prev {
    cursor: url(../Image/Home/slider-left-black.png) 0 0, pointer;
    left: -110px;
}

.p-details-display-img-placeholder .carousel .carousel-control-next {
    cursor: url(../Image/Home/slider-right-black.png) 0 0, pointer;
    right: -110px;
}

.carousel-control-prev-icon {
    opacity: 0.5;
    margin-left: 30px;
    background-image: url('../Image/Home/left-c.svg');
}

.carousel-control-next-icon {
    opacity: 0.5;
    margin-right: 30px;
    background-image: url('../Image/Home/right-c.svg');
}

.p-color-star {
    color: #f8d64e;
}

.p-details-title {
    font-size: 2rem;
    margin: 10px 0;
    font-weight: bold;
    text-transform: uppercase;
}

.p-details-price {
    color: #0fb59e;
    margin-bottom: 20px;
    margin-top: 20px;
    font-size: 1.5rem;
    font-weight: bold;
}

.p-details-original-price {
    color: #ddd;
    margin-bottom: 20px;
    margin-top: 20px;
    font-size: 1.25rem !important;
}

.p-details-desc {
    font-size: 0.9375rem;
    margin-bottom: 20px;
}

.p-details-feature-title {
    font-size: 0.9375rem;
    font-weight: bold;
    margin-bottom: 0;
}

.p-details-feature-list {
    padding-inline-start: 20px;
    margin-bottom: 25px;
}

.p-details-feature-list li {
    font-size: 0.9375rem;
    margin-top: 5px;
}

.p-details-highlight {
    text-align: center;
    /*padding: 0 30px;*/
    padding: 0;
}

.p-details-highlight-img {
    /*width: 150px;
    margin-top: 20px;
    margin-bottom: 10px;*/
    width: 80px
}

.p-details-highlight-title {
    margin: 0;
    margin-bottom: 15px;
    font-size: 0.9375rem;
    text-transform: uppercase;
    font-weight: bold;
}

.p-details-highlight-desc {
    margin: 0;
    font-size: 0.9375rem;
}

.p-details-color-title-bundle {
    margin-bottom: 10px;
}

.p-details-color-label-bundle {
    min-width: 70px;
}

.p-details-sku-bundle-divider {
    margin-bottom: 20px;
}

.nav-tabs {
    border-bottom: none;
    padding-top: 0;
}

    .nav-tabs li {
        width: 50%;
        text-align: center;
        text-transform: uppercase;
        font-weight: bold;
        background-color: #fff0f7;
    }

        .nav-tabs li:first-child {
            margin-left: auto;
            border-bottom-left-radius: 8px;
            border-top-left-radius: 8px;
        }

        .nav-tabs li:last-child {
            margin-right: auto;
            border-bottom-right-radius: 8px;
            border-top-right-radius: 8px;
        }

        .nav-tabs li a {
            color: black;
            text-decoration: none;
            width: 100%;
            font-size: 0.9375rem;
        }

    .nav-tabs .nav-link.active {
        color: black;
        border-color: #fff0f7;
    }

    .nav-tabs .nav-link {
        border: 2px solid #fff0f7;
        border-radius: 8px;
        background-color: #fff0f7;
        padding: 8px 0;
    }

        .nav-tabs .nav-link:focus, .nav-tabs .nav-link:hover {
            background-color: white;
            border-color: #fff0f7;
        }

.tab-content {
    padding: 30px 15px;
}

.p-details-review {
    padding-top: 10px;
}

.p-details-card-content .card:last-child {
    margin-bottom: 50px;
}

.p-details-card {
    border: none;
    background-color: #f2f2f2;
    margin: 20px 0;
    padding: 30px 25px;
    border-radius: 20px;
}

.p-details-card-review {
    margin: 0 0 15px;
}

.p-faq-card {
    border: none;
    background-color: #f2f2f2;
}

    .p-faq-card .card-header:hover {
        background-color: #fff0f7;
    }

    .p-faq-card button {
        color: black;
        text-decoration: none;
        font-weight: bold;
        text-align: left;
        width: 100%;
    }

        .p-faq-card button:hover, .p-faq-card button:focus {
            color: black;
            text-decoration: none;
        }


    .p-faq-card .card-body {
        padding: 1.25rem 2.1rem;
    }

.c-details-review-title {
    margin: 0 0 5px;
    font-size: 0.9375rem;
    font-weight: bold;
    text-transform: capitalize;
}

.c-details-review-desc {
    margin: 0;
    font-size: 0.9375rem;
}

.c-details-review-from {
    margin: 0 0 15px;
    font-size: 0.815rem;
    font-style: italic;
}

.p-review-content-row {
    height: 600px;
    overflow-y: hidden;
    overflow-x: hidden;
}

.p-review-content-row-short {
    height: 350px;
}

.p-review-content-row-show-all {
    height: 100% !important;
}

.p-review-content-bg {
    background-image: url('../Image/Product/review_white_gradient_2.png');
    background-color: transparent;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    height: 80px;
    width: 730px;
    bottom: 0;
    right: 25px;
}

.p-overall-review-card-col {
    padding-right: 0;
}

.p-overall-review-card {
    border: 1px solid #ddd;
    background-color: white;
    margin: 0 0 10px;
    padding: 30px 25px;
    border-radius: 20px;
}

.p-overall-review-title {
    margin: 0 0 10px;
    font-weight: bold;
    text-transform: capitalize;
}

.p-overall-star-placeholder {
    margin-bottom: 20px;
    display:flex;
}

.p-overall-star {
    color: #f8d64e;
    margin-right: 5px;
}

.p-overall-total {
    margin-left: auto;
}

.p-overall-review-for-star-placeholder {
    margin: 0;
    margin-bottom: 10px;
    display: flex;
}

.p-overall-review-for-star-label {
    width: 50px;
}

.p-overall-review-for-star-progress-placeholder {
    width: 215px;
    height: 4px;
    margin: auto;
}

.p-overall-review-progress {
    height: 4px;
}

.p-overall-review-for-star-total {
    width: 24px; /* support until 199*/
    margin-left: auto;
    text-align: right;
}

.p-review-card-rating-placeholder {
    width: 22%;
    float: right;
}

.p-review-card-rating {
    margin-left: auto;
    display: table;
}

    .p-review-card-rating .p-overall-star {
        margin-left: 1px;
    }

.p-review-card-date {
    text-align: right;
    padding-right: 10px;
}

.p-others-title {
    font-weight: bold;
    text-align: center;
    margin: 10px 0 50px;
    letter-spacing: 1px;
}

.p-others-items-placeholder {
    display: flex;
    width: 100%;
    color: black;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.p-others-items-placeholder a {
    color: black;
    text-decoration: none;
}


    .p-others-items-placeholder a:hover .p-others-item-name {
        color: #20b1b9;
        text-decoration: none;
    }


.p-others-item-img {
    display: block;
    margin: auto;
    width: 220px;
    height: 220px;
}

.p-others-item-name {
    font-weight: bold;
    text-align: center;
    margin: 15px 0 0;
    text-transform: uppercase;
    padding: 0 30px;
}

.p-others-item-price {
    text-align: center;
    margin: 10px 0;
}

.p-others-item-stars {
    text-align: center;
}

.p-other-item-spacing-placeholder {
    display: none;
}

.p-review-btn-see-all {
    display: block;
    margin: auto;
    margin-top: 40px;
}

.p-review-btn-see-all-hide {
    display: none;
}

.p-review-verified-purchase {
    color: #0fb59e;
    font-style: normal;
}

.p-review-btn-placeholder {
    display: grid;
    padding: 0;
    margin-bottom: 10px;
}

.p-review-btn-placeholder-no-review {
    text-align: center;
    padding-top: 20px;
}

.p-w-200 {
    width: 200px;
}

.p-btn-add-review {
    color: white;
    background-color: #14b49c;
    border-color: #14b49c;
    border-radius: 10px;
    padding: 9px 12px; 
    font-weight: bold;
    letter-spacing: 0.5px;
}

.p-btn-submit-review {
    padding: 8px 12px;
    width: 150px;
}

.p-modal-container {
    border-radius: 20px;
    background-color: #f2f2f2;
}

.p-modal-header {
    width: 100%;
    text-align: center;
    background-color: #f2f2f2;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.p-modal-close {
    position: absolute;
    right: 17px;
}

.p-modal-body {
    padding: 0 40px 20px 40px;
}

.p-rating-label {
    padding-top: 12px;
    margin-right: 10px;
}

.p-modal-input {
    color: black;
    border: none;
    border-radius: 8px;
}

    .p-modal-input::-webkit-input-placeholder { /* Edge */
        color: #ccc;
    }

    .p-modal-input:-ms-input-placeholder { /* Internet Explorer 10-11 */
        color: #ccc;
    }

    .p-modal-input::placeholder {
        color: #ccc;
    }

.p-modal-input-1x {
    margin-bottom: 5px;
}

.p-modal-input-3x {
    margin-bottom: 25px;
}

.p-modal-body textarea {
    resize: none;
}

.p-highlight-placeholder {
    margin-top: 20px;
}

.p-details-highlight-ex {
    padding: 0 !important;
}

.v-product-desc-card {
    padding: 5px;
}

.nav-tabs-t li {
    width: 33.333333% !important;
}

/* Rating input */
.rate {
    float: left;
    height: 46px;
    padding: 0 10px;
}

    .rate:not(:checked) > input {
        position: absolute;
        top: -9999px;
    }

    .rate:not(:checked) > label {
        float: right;
        width: 1em;
        overflow: hidden;
        white-space: nowrap;
        cursor: pointer;
        font-size: 30px;
        color: #ccc;
        margin-bottom: 0px;
    }
        .rate:not(:checked) > label:before {
            content: '☆ ';
        }

    .rate > input:checked ~ label {
        color: #ffc700;
    }
        .rate > input:checked ~ label:before {
            content: '★ ';
        }

    .rate:not(:checked) > label:hover,
    .rate:not(:checked) > label:hover ~ label {
        color: #ffc700;
    }

    .rate > input:checked + label:hover,
    .rate > input:checked + label:hover ~ label
    .rate > input:checked ~ label:hover,
    .rate > input:checked ~ label:hover ~ label,
    .rate > label:hover ~ input:checked ~ label{
        color: #ffc700;
    }

/* Modified from: https://github.com/mukulkant/Star-rating-using-pure-css */

/* Tablet */
@media (min-width: 701px) {
    .p-details-highlight {
        text-align: center;
        padding: 0 30px;
    }

    .p-details-highlight-img {
        width: 130px;
        margin-top: 10px;
        margin-bottom: 0px;
    }

    #review-tab-cs .carousel-inner {
        position: initial;
        overflow: initial;
        display: grid;
    }

    #review-tab-cs .carousel-item {
        position: initial;
        display: block;
        transition: none;
    }

    #review-tab-cs .carousel-control-prev, #review-tab-cs .carousel-control-next {
        display: none;
    }

    @media (max-width: 1200px) {
        .p-details-display-img-placeholder .carousel a {
            height: 460px;
            width: 10%;
        }

        .p-details-display-img-placeholder .carousel .carousel-control-prev {
            left: -50px;
        }

        .p-details-display-img-placeholder .carousel .carousel-control-next {
            right: -50px;
        }

        .carousel-control-prev-icon {
            margin-left: 25px;
        }

        .carousel-control-next-icon {
            margin-right: 25px;
        }

        .p-overall-star-placeholder {
            font-size: 15px !important;
        }

        .p-overall-total {
            font-size: 12px !important;
        }

        .p-overall-review-for-star-label {
            font-size: 12px !important;
        }

        .p-overall-review-for-star-progress-placeholder {
            width: 210px;
        }

        .p-review-card-rating-placeholder {
            width: 27%;
        }

        .p-others-item-name {
            padding: 0 15px;
        }

        .p-review-content-bg {
            width: 620px;
            right: 20px;
        }
    }

    @media (max-width: 900px) {
        .p-others-item-name {
            font-size: 16px !important;
            padding: 0 10px;
        }

        .p-others-item-price {
            font-size: 16px !important;
        }

        .p-others-item-img {
            width: 160px;
            height: 160px;
        }

        .p-review-content-bg {
            width: 100%;
            right: 0;
        }
    }
}

/* Smart Phone & Tablet */
@media (max-width: 900px) {
    .p-details-section {
        padding: 40px 35px;
    }

    .p-details-display-img .carousel-item iframe {
        height: 400px;
    }

    .p-details-display-img-placeholder .carousel a {
        height: 380px;
        width: 10%;
    }

    .p-details-display-img-placeholder .carousel .carousel-control-prev {
        left: -40px;
    }

    .p-details-display-img-placeholder .carousel .carousel-control-next {
        right: -40px;
    }

    .carousel-control-prev-icon {
        margin-left: 25px;
    }

    .carousel-control-next-icon {
        margin-right: 25px;
    }

    .p-overall-review-card-col {
        padding-right: 15px;
    }

    .p-overall-review-for-star-progress-placeholder {
        width: 580px;
    }

    @media (max-width: 800px) {
        .p-details-display-img .carousel-item iframe {
            height: 335px;
        }

        .p-details-display-img-placeholder .carousel a {
            height: 350px;
            width: 10%;
        }

        .p-details-display-img-placeholder .carousel .carousel-control-prev {
            left: -30px;
        }

        .p-details-display-img-placeholder .carousel .carousel-control-next {
            right: -30px;
        }

        .carousel-control-prev-icon {
            margin-left: 0;
        }

        .carousel-control-next-icon {
            margin-right: 0;
        }

        .p-overall-review-for-star-progress-placeholder {
            width: 530px;
        }
    }

    @media (max-width: 700px) {
        .p-details-section {
            padding: 40px 20px;
        }

        .p-details-stars, .p-details-title, .p-details-price {
            text-align: center;
        }

        .p-details-original-price {
            display: block;
            margin-bottom: 0;
            font-size: 1rem !important;
        }

        .p-details-tab-section {
            padding: 0;
        }

        .nav-tabs li:first-child {
            width: 50%;
        }

        .nav-tabs li:last-child {
            width: 50%;
        }

        .nav-tabs li a {
            color: black;
            text-decoration: none;
            width: 100%;
            font-size: 0.78125rem;
        }

        #review-tab-cs .carousel-control-prev {
            left: -20px;
            width: calc(50% + 20px);
            justify-content: flex-start;
        }

        #review-tab-cs .carousel-control-next {
            right: -20px;
            width: calc(50% + 20px);
            justify-content: flex-end;
        }

        #review-tab-cs .carousel-control-prev-icon {
            background-image: url(../Image/Home/left-c.svg);
        }

        #review-tab-cs .carousel-control-next-icon {
            background-image: url(../Image/Home/right-c.svg);
        }

        .carousel-control-prev-icon {
            margin-left: 5px;
        }

        .carousel-control-next-icon {
            margin-right: 5px;
        }

        .p-overall-review-for-star-progress-placeholder {
            width: 210px;
        }

        .p-review-card-rating-placeholder {
            width: 100%;
            float: left;
            display: flex;
        }

        .p-review-card-rating {
            margin-left: 0;
        }

        .p-review-card-date {
            margin-left: auto;
        }

        .p-review-card-rating .p-overall-star {
            margin-right: 3px;
        }

        .c-details-review-desc {
            overflow-x: auto;
        }

        .p-review-content-row {
            height: 800px;
            overflow-y: hidden;
            overflow-x: hidden;
        }

        /*.p-review-content-row-show-all {
            height: 100%;
        }*/

        /*.p-review-btn-see-all {
            display: block;
            margin: auto;
            margin-top: 40px;
        }

        .p-review-btn-see-all-hide {
            display: none;
        }*/

        .p-others-title {
            margin: 5px 0 20px;
            letter-spacing: 0;
        }

        .p-details-sub-section-container {
            padding: 30px 0 0 0;
        }

        .p-review-content-bg {
            width: 100%;
            right: 0;
            padding: 0 7px;
            text-align: center
        }

        .p-others-items-placeholder {
            display: flex;
            max-width: 100%;
            padding-bottom: 40px; 
            margin-bottom: 0; 
            overflow-x: scroll;
        }

            .p-others-items-placeholder .col-5 {
                padding: 0;
            }

            .p-others-items-placeholder .col-5:first-child {
                margin-left: 20px;
            }

            .p-others-items-placeholder .col-5:last-child {
                margin-right: 50px;
            }

        .p-others-item-img {
            width: 130px;
            height: 130px;
        }

        .p-others-item-name {
            font-size: 11px !important;
            padding: 0 10px;
        }

        .p-others-item-price {
            font-size: 13px !important;
        }

        .p-others-item-stars {
            font-size: 12px !important;
        }

        .p-other-item-spacing-placeholder {
            display: block;
        }

        .p-rating-label {
            padding-top: 8px;
            margin-right: 0;
        }

        .rate:not(:checked) > label {
            font-size: 25px;
        }


        .nav-tabs-t-vart-m {
            line-height: 40px;
        }

        .nav-tabs li a {
            font-size: 12px !important;
        }
    }

    @media (min-width: 400px) and (max-width: 430px) {
        @media (min-height: 720px) {
            .p-overall-review-for-star-progress-placeholder {
                width: 240px;
            }
        }
    }

    @media (max-width: 365px) {
        .p-overall-review-for-star-progress-placeholder {
            width: 190px;
        }

        .p-others-item-img {
            width: 120px;
            height: 120px;
        }
    }

    @media (max-width: 335px) {
        .p-overall-review-for-star-progress-placeholder {
            width: 160px;
        }

        .p-overall-total {
            font-size: 11px !important;
        }

        .p-review-card-rating {
            font-size: 12px !important;
        }

        .p-others-item-img {
            width: 110px;
            height: 110px;
        }

        .p-modal-body {
            padding: 0 20px 20px 20px;
        }
    }
}