body {
    font-family: sans-serif;
}

#product-info {
    display: flex;
    flex-wrap: wrap;
    width: 95%;
    margin: 40px auto;

}

.item-image-parent {
    order: 1;
    width: 50%;
    display: flex;
}

.item-info-parent {
    order: 2;
    width: 50%;
}

.item-list-vertical {
    order: 1;
    width: 10%;
    overflow-y: auto;
    margin-top: 50px;
}

.item-image-main .imgslider {
    order: 2;
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    height: 100%;
    border: 1px solid #d9d9d9;
    /* overflow: scroll; */
    gap: 50px;
    /* height: 100%; */
    /* border: 1px solid red; */

}

.item-image-main .imgslider img {


    /* display: none; */
    /* display: flex; */
    /* align-items: center; */
    /* padding: 20px; */
    /* justify-content: center; */
    object-fit: contain;
    /* border: 1px solid black; */
    /* border: 1px solid red; */
    aspect-ratio: 3/3;
    /* width: 20%; */
    /* aspect-ratio: 1/3; */
}





/* sectioning completed */
.select-items div {
    line-height: 2;
}

.thumb-box {
    width: 75%;
    margin: 10px auto;
    background: white;
    border: 1px solid gray;
    height: 60px;
}

.thumb-box img {
    width: 100%;
    height: 100%;
}

.item-image-main {
    height: 500px;
    padding: 20px;
    width: 90%;
    /* width: 100%; */
    /* border: 1px solid black; */
}

.item-image-main img {
    width: 100%;
    height: 100%;
}

.item-image-main .imgslider::-webkit-scrollbar {
    width: 1px;
}



.item-image-main .images {
    display: flex;
    /* border: 1px solid red; */
    width: 100%;
    justify-content: space-evenly;
}

.item-image-main .images .box {
    height: 100%;
    width: 100px;
    padding: 20px;
    border: 1px solid #d9d9d9;

}

.item-image-main .images .box:hover {
    transform: translateY(-10px);
    transition: .4s all;
}

.thumb-box:hover {
    cursor: pointer;
    border-color: #e77600;
    ;
    box-shadow: 0px 1px 5px 1px #e77600;
}

/* Item Info */
.main-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 0.4px solid rgba(194, 194, 194, 0.829);
}

.main-info .addtocart button {
    padding: 5px 20px;
    background: #25D366;
    outline: none;
    color: white;
    border: 1px solid #d9d9d9;
    transition: 1s;
    border-radius: 4px;
}

.main-info .addtocart #myBtn {
    background-color: #666666;
}

.main-info .addtocart button:hover {
    background-color: green;
    color: white;
}

.main-info h4 {
    font-size: 21px;
    margin-bottom: 0;
    font-weight: 400
}

.star-rating {
    width: 70%;
    color: gray;
    font-size: 24px;

}

.star-rating span {
    color: gold;
}

.main-info p {
    font-size: 15px;
    color: gray;
    margin-bottom: 30px;
}

#price {
    color: rgb(168, 14, 14);
    font-size: 21px;
}

/* Select Items */

.change-color {
    margin-bottom: 10px;
}

.change-color .thumb-box {
    margin: 10px 10px 10px 0;
    width: 40px;
    display: inline-block;
}

.change-color .thumb-box img:nth-child(1) {
    filter: contrast(20);
}

.change-size select {
    padding: 5px 10px;
    border-radius: 4px;
    border-color: rgb(189, 189, 189);
    margin-top: 10px;
}

.description ul {
    padding-left: 17px;

    font-size: 15px;
    line-height: 1.3rem;
}

.description ul li {
    line-height: 2;
}

@media (max-width: 992px) {
    .item-info-parent {
        width: 100%;
        display: block;
        /* display: none; */
    }

    .item-list-vertical {
        min-width: 10vw;
    }

    .item-image-main {
        display: flex;
        justify-content: center;
        align-items: center;

        /* min-width: 100vw; */
        min-width: 95vw;

    }

    .main-info .addtocart button {
        width: 50px;
        height: 50px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 20px;
        border-radius: 50%;
    }

    .main-info .addtocart button span {
        display: none;
    }

    .main-info {
        width: 100%;
        justify-content: space-between;
    }

    .addtocart {
        display: flex;
    }
}

.review {
    display: none;
    padding: 60px 10px;
    text-align: justify;
}



a {
    text-decoration: none;
}

#testimonials {
    display: flex;

    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
}

.testimonial-heading {
    letter-spacing: 1px;
    margin: 30px 0px;
    padding: 10px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.testimonial-heading span {
    font-size: 1.3rem;
    color: #252525;
    margin-bottom: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.testimonial-box-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
}

.testimonial-box {
    width: 100%;
    box-shadow: 2px 2px 30px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
    padding: 20px;
    margin: 15px;
    cursor: pointer;
}

.profile-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 10px;
}

.profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.profile {
    display: flex;
    align-items: center;
}

.name-user {
    display: flex;
    flex-direction: column;
}

.name-user strong {
    color: #3d3d3d;
    font-size: 2.1rem;
    letter-spacing: 0.5px;
}

.name-user span {
    color: #979797;
    font-size: 1.8rem;
}

.reviews {
    text-align: end;
    color: #f9d71c;
}

.reviews span {
    color: #666666;
    font-size: 15px;
}

.box-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.client-comment p {
    font-size: 2rem;
    color: #4b4b4b;
}

.testimonial-box:hover {
    transform: translateY(-10px);
    transition: all ease 0.3s;
}

@media(max-width:1060px) {
    .testimonial-box {
        width: 100%;
        padding: 10px;
    }


}

@media(max-width:790px) {
    .testimonial-box {
        width: 100%;
    }

    .testimonial-heading h1 {
        font-size: 1.4rem;
    }
}

@media(max-width:340px) {
    .box-top {
        flex-wrap: wrap;
        margin-bottom: 10px;
    }

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

::selection {
    color: #ffffff;
    background-color: #252525;
}

/* modal */


/* The Modal (background) */
.modal {
    display: none;

    position: fixed;

    z-index: 10000000000;

    padding-top: 100px;

    left: 0;
    top: 0;
    width: 100%;

    height: 100%;

    overflow: auto;

    background-color: rgb(0, 0, 0);

    background-color: rgba(0, 0, 0, 0.4);
}

/* Modal Content */
.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 60%;
}

/* The Close Button */
.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal-content form {

    padding: 10px;
    text-align: center;
    /* width: 500px; */
}

.modal-content form input {
    width: 300px;
    resize: none;
    height: 50px;
}

.modal-content form label {
    text-align: start;
    margin: 10px auto;
}



.modal-content form input[type='submit'] {
    background-color: white;
    border: 1px solid #666666;
}

.modal-content form input[type='submit']:hover {
    background-color: #666666;
    color: #ffffff;
    transition: .5s ease-in;
}

/* rating */
.rating {
    /* border: 1px solid red; */
    --dir: right;
    --fill: gold;
    --fillbg: rgba(100, 100, 100, 0.15);
    /* --heart: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 21.328l-1.453-1.313q-2.484-2.25-3.609-3.328t-2.508-2.672-1.898-2.883-0.516-2.648q0-2.297 1.57-3.891t3.914-1.594q2.719 0 4.5 2.109 1.781-2.109 4.5-2.109 2.344 0 3.914 1.594t1.57 3.891q0 1.828-1.219 3.797t-2.648 3.422-4.664 4.359z"/></svg>'); */
    --star: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 17.25l-6.188 3.75 1.641-7.031-5.438-4.734 7.172-0.609 2.813-6.609 2.813 6.609 7.172 0.609-5.438 4.734 1.641 7.031z"/></svg>');
    --stars: 5;
    --starsize: 6rem;
    --symbol: var(--star);
    --value: 1;
    --w: calc(var(--stars) * var(--starsize));
    --x: calc(100% * (var(--value) / var(--stars)));
    block-size: var(--starsize);
    inline-size: var(--w);
    position: relative;
    touch-action: manipulation;
    -webkit-appearance: none;
}

[dir="rtl"] .rating {
    --dir: left;
}

.rating:hover {
    cursor: pointer;
}

.rating::-moz-range-track {
    background: linear-gradient(to var(--dir), var(--fill) 0 var(--x), var(--fillbg) 0 var(--x));
    block-size: 100px;
    mask: repeat left center/var(--starsize) var(--symbol);
}

.rating::-webkit-slider-runnable-track {
    background: linear-gradient(to var(--dir), var(--fill) 0 var(--x), var(--fillbg) 0 var(--x));
    block-size: 100%;
    mask: repeat left center/var(--starsize) var(--symbol);
    -webkit-mask: repeat left center/var(--starsize) var(--symbol);
}

.rating::-moz-range-thumb {
    height: var(--starsize);
    opacity: 0;
    width: 50px;

}

.rating::-webkit-slider-thumb {
    height: var(--starsize);
    opacity: 0;
    width: var(--starsize);
    -webkit-appearance: none;
}

.rating,
.rating-label {
    display: block;
    font-family: ui-sans-serif, system-ui, sans-serif;
}

.rating-label {
    /* margin-block-end: 1rem; */
    width: 300px;

}

/* NO JS */
.rating--nojs::-moz-range-track {
    background: var(--fillbg);
}

.rating--nojs::-moz-range-progress {
    background: var(--fill);
    block-size: 100%;
    mask: repeat left center/var(--starsize) var(--star);
}

.rating--nojs::-webkit-slider-runnable-track {
    background: var(--fillbg);

}

.rating--nojs::-webkit-slider-thumb {
    background-color: var(--fill);
    box-shadow: calc(0rem - var(--w)) 0 0 var(--w) var(--fill);
    opacity: 1;
    width: 1px;
}

[dir="rtl"] .rating--nojs::-webkit-slider-thumb {
    box-shadow: var(--w) 0 0 var(--w) var(--fill);
}

@media(max-width:1060px) {
    .modal-content {
        width: 95%;
    }

}