/* product-detail-page */
.card-wrapper {
    max-width: 800px;
    margin: 0 auto;
}
.products-name{
    font-size: 1.8rem;
}

.product-imgs .img-display .img-showcase img {
    width: 100%;
    display: block;
    height: auto;
}
.img-display {
    overflow: hidden;
}
.img-showcase {
    display: flex;
    width: 100%;
    transition: all 0.5s ease;
}
.img-showcase {
    flex: 0 0 auto;
}
.img-showcase img {
    min-width: 100%;
}
.img-select {
    display: flex;
    justify-content: center;
}
.img-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.img-item {
    margin: 0.3rem;
    width: 85px;
    height: auto;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: solid 2px var(--bs-edu-lightrating-color);
}
.img-item:nth-child(1),
.img-item:nth-child(2),
.img-item:nth-child(3) {
    margin-right: 0;
}
.img-item:hover {
    opacity: 0.8;
    border: solid 2px var(--bs-edu-primary-color);
}
.btn-width {
    width: 38%;
    text-align: center;
}
.specs-color {
    color: var(--bs-edu-text-color) !important;
}
.slide-in {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.slide-in.active {
    opacity: 1;
    transform: translateX(0);
}

#shareBtn {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

#shareBtn i {
    font-size: 18px;
    margin-right: 6px;
}


/* review bar */
.progress {
    height: 7px;
    flex-grow: 1;
    margin: 8px 0;
}
.progress-width {
    width: 50px;
}
.progress-width div {
    margin: 5px 0;
}
.progress-width span {
    font-size: 0.8rem;
    height: 9px;
    margin: 5px 0;
    font-size: 1rem;
}

/* review form */
.form-wrapper {
    max-width: 576px;
    width: 100%;
}
.review-section i {
    margin-right: 4px; 
}

/* star-rating */
.starrating > input {
    display: none;
}
.starrating > label:before {
    content: "\f005";
    margin: 2px;
    font-size: 1.1rem;
    font-family: FontAwesome;
    display: inline-block;
}
.starrating > label {
    color: var(--bs-edu-lightrating-color);
}
.starrating > input:checked ~ label {
    color: var(--bs-edu-gold-color);
}
.starrating > input:hover ~ label {
    color: var(--bs-edu-gold-color);
}

.accordion-button:not(.collapsed) {
    color: var(--bs-edu-primary-color);
    background-color: transparent;
}

.accordion-button:focus {
    box-shadow: none;
    outline: none;
}

.review-img{
    width: 100px;
    height: 100px;
    cursor: pointer;
}
@media (max-width: 767px) {
    .btn-width {
        width: 60%;
    }
    .products-name{
        font-size: 1.8rem;
    }
    .img-item {
        width: 70px;
        height: auto;
    }
}
