html,
body {
    width: 100%;
    overflow-x: hidden;
    padding-right: 0px !important;
}
/*
|--------------------------------------------------------------------------
| Product list
|--------------------------------------------------------------------------
*/

.product-main-header {
}

.bg-all-product {
    background-color: #DFE4F3;
}

.btn-show-view,
.btn-show-view:hover,
.btn-show-view:focus,
.btn-show-view:active {
    display: flex;
    justify-content: center;
    align-items: center;
    border: unset;
    padding: 10px;
    background-color: #f7f7f7;
    color: #cfcfcf;
    border-radius: 5px;
    font-size: 1.2rem;
}
.btn-show-view.active,
.btn-show-view.active:hover,
.btn-show-view.active:focus,
.btn-show-view.active:active {
    background-color: var(--bs-secondary);
    color: #fff;
}

#categorySelect.show > i,
#sortSelect.show > i {
    transition: 0.5s;
    rotate: 180deg;
}
.btn-select-product-list:hover {
    color: var(--bs-secondary);
}

.card-product {
    /* display: grid !important; */
    /* justify-items: center; */
    /* background-color: #cdcdcd; */
    border: none;
    border-radius: 10px;
    /* padding: 20px;
    border-radius: 15px; */
    /* grid-template-rows: auto 48px; */
}

.card-product-list {
    border-radius: 10px;
}

.wrapper-img-product {
    border-radius: 10px 10px 0 0;
    padding: 20px;
    background-color: #cdcdcd;
    display: flex;
    justify-content: center;
}
.img-product {
    border-radius: 10px;
    height: 330px;
    width: 100%;
    object-fit: cover;
    max-width: 250px;
}
.img-product-list {
    border-radius: 10px;
}
.img-product.multimedia {
    height: 200px;
}
.hr-product {
    width: 100%;
    height: 10px;
    background: linear-gradient(90deg, var(--bs-secondary) 30%, var(--bs-primary) 0%);
}
.body-product {
    padding: 20px;
    border-radius: 0 0 10px 10px;
    height: 80px;
}

.product-grid-content {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px;
}

@media (max-width: 1200px) {
    .product-grid-content {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
    }
}
@media (max-width: 768px) {
    .product-grid-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 500px) {
    .product-grid-content {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 40px;
    }
    .img-product {
        height: 350px;
    }
}

/*
|--------------------------------------------------------------------------
| Product Show
|--------------------------------------------------------------------------
*/
.slick-carousel .slick-dots li button:before {
    font-size: 1rem;
}
.slick-carousel .slick-dots li.slick-active button:before {
    color: #7f7f7f;
}
.underline-header {
    margin-top: -50px;
    --color: var(--bs-primary) !important;
    --position: center bottom;
    --width: 50px;
    --height: 5px;
    background: linear-gradient(var(--color), var(--color)) var(--position) /
        var(--width) var(--height) no-repeat;
}
.show-one {
    /* background-color: #F8F8F8 !important;
    border: 2px solid #E2E2E2 !important; */
}

.img-w-20 {
    width: auto;
}
.available {
    font-size: 18px;
}

.available label {
    color: var(--bs-secondary);
}

.available img {
    margin-top: -5px;
}

.btn-primary .inactive {
    display: inline;
}

.btn-primary .active {
    display: none;
}

.btn-primary i {
    display: block;
}

.btn-outline-primary .inactive {
    display: none;
}

.btn-outline-primary .active {
    display: inline;
}

.btn-outline-primary i {
    display: none;
}

.book-info,
.product-info {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-start;
}

.type-select {
    display: grid;
    grid-template-columns: auto 50px;
}

.type-select button, .type-content button {
    /* font-size: large; */
    font-size: large;
    border: 2px solid;
    border-radius: 10px;
    position: relative;
}

button img {
    margin-top: -3px;
    padding-right: 5px;
}

.type-select i {
    position: absolute;
    bottom: -30px;
    left: 45%;
}

.description .card {
    max-width: 1067px;
    margin-bottom: 20px;
    border-color: white;
}

.description .card .card-header {
    margin: 0px 0px 0px 5px;
    padding: 0px 0px 5px 15px;
    border: 0px;
    font-size: x-large;
    font-weight: bold;
}

.slick-carousel .slick-list .slick-track {
    display: flex;
    align-items: flex-end;
}

.slick-slide {
    margin: 40px 40px;
}
.slick-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    z-index: 1;
    top: 50%;
    cursor: pointer;
    border: 0;
    border-radius: 5px;
    width: 25px;
    height: 25px;
    color: #fff;
    background-color: var(--bs-secondary);
}
.slick-btn-prev {
    left: 25px;
}
.slick-btn-next {
    right: 25px;
}

.type-audiobook {
    width: 90%;
    opacity: 0.8;
}

.type-book {
    width: 50%;
    opacity: 0.8;
}

.type-ebook {
    width: 60%;
    opacity: 0.8;
}

button.bg-light:focus,
button.bg-light:hover {
    background-color: #f8f9fa !important;
}

* {
    box-sizing: border-box;
}

.max-x-1067 {
    max-width: 1067px;
}

.rotaion-90-d {
    transition: 0.5s;
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}

.grid-review {
    display: grid;
    grid-template-columns: 90px 1fr;
}

.content-overflow-y {
    max-height: 400px;
    overflow-y: auto;
}

.grid-my-review {
    display: grid;
    grid-template-columns: 135px 1fr;
}

.video-height {
    height: 600px;
}

.btn_detail {
    border-radius: 25px !important;
}

@media (max-width: 994px) {
    .video-height {
        height: 500px;
    }
    .type-select {
        grid-template-columns: auto 40px;
    }


    .grid-my-review {
        grid-template-columns: 1fr;
    }
    .grid-my-review i {
        transform: scale(0.7);
    }
}

.border-primary {
    border: 2px solid var(--bs-primary) !important;
    background-color: var(--bs-primary);
}

@media (max-width: 769px) {
    .img-w-20 {
        width: auto;
    }
    .video-height {
        height: 400px;
    }
    .type-select {
        grid-template-columns: auto 30px;
    }

    button img {
        padding-right: 0px;
    }

    .slick-slide {
        margin: 20px 20px;
    }
}

@media (max-width: 576px) {
    .video-height {
        height: 300px;
    }
    .w-25-sm {
        width: 25px !important;
    }
}

/** SHARE BUTTON ***/
.st-last {
    display: inline-block !important;
}

#st-1 {
    z-index: 0 !important;
}
.comment-creator-icon {
    border-radius: 50%;
    width: 60px;
    height: 60px;
}

/*
|--------------------------------------------------------------------------
| radio choose reserve list
|--------------------------------------------------------------------------
*/

.plans .plan input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.plans .plan {
    cursor: pointer;
    width: 100%;
}

.plans .plan .plan-content {
    /* display: -webkit-box;
  display: -ms-flexbox;
  display: flex; */
    padding: 30px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border: 2px solid #e1e2e7;
    border-radius: 10px;
    -webkit-transition: -webkit-box-shadow 0.4s;
    transition: -webkit-box-shadow 0.4s;
    -o-transition: box-shadow 0.4s;
    transition: box-shadow 0.4s;
    transition: box-shadow 0.4s, -webkit-box-shadow 0.4s;
    position: relative;
}

.plans .plan .plan-content:hover {
    -webkit-box-shadow: 0px 3px 5px 0px #e8e8e8;
    box-shadow: 0px 3px 5px 0px #e8e8e8;
}

.plans .plan input[type="radio"]:checked + .plan-content:after {
    /* content: ""; */
    position: absolute;
    height: 8px;
    width: 8px;
    background: #216fe0;
    right: 20px;
    top: 20px;
    border-radius: 100%;
    border: 3px solid #fff;
    -webkit-box-shadow: 0px 0px 0px 2px #0066ff;
    box-shadow: 0px 0px 0px 2px #0066ff;
}

.plans .plan input[type="radio"]:checked + .plan-content {
    border: 2px solid var(--bs-primary);
    background: #eaf1fe;
    -webkit-transition: ease-in 0.3s;
    -o-transition: ease-in 0.3s;
    transition: ease-in 0.3s;
}

.file-not-found {
    border: 2px dashed var(--bs-primary);
    padding: 5px 5px 5px 5px;
    border-radius: 5px;
    /* width: 60%; */
}



/* review product */
#conCount {
    color: #23C479;
}
.text-green {
    color: #23C479;
}
.review-group {
    display: grid;
    grid-template-columns: 20% 80%;
    /* gap: 15px; */
}
.review-avatar{
    width: 100px;
    height: 100px;
    object-fit: cover;
}
.card-review {
    border-radius: 15px;

}
a.category:hover {
    color: #23C479!important;
}
.bg-review {
    background-color: #E8EDFF;
}
@media (max-width: 767px) {
    .review-group {
        grid-template-columns: 100%;
    }
}
