#slide {
    height: 250px;
    width: 100%;
    padding: 20px 30px;
    position: relative;
}

#back {
    cursor: pointer;
    width: 40px;
    height: 40px;
    position: absolute;
    top: 110px;
    left: 50px;
    border-radius: 50%;
    object-fit: cover;
}

#next {
    cursor: pointer;
    width: 40px;
    height: 40px;
    position: absolute;
    top: 110px;
    right: 50px;
    border-radius: 50%;
    object-fit: cover;
}

#banner {
    width: 100%;
    height: 200px;
}

#cate-container {
    display: flex;
    padding-left: 30px;
    padding-right: 30px;
}

#cate-left {
    width: 20%;
    min-height: 217px;
    border: 1px solid #CCC;
    z-index: 5;
    border-bottom: none;
    height: 215px;
}

#cate-left ul {
    list-style: none;
    margin: 0;
    color: #FFF;
    padding: 0;
}

.sub-menu li a {
    text-decoration: none;
    font-size: 14px;
    padding: 10px 20px;
    display: block;
    transition: background-color 0.2s;
}

#cate-left ul ul {
    display: none;
    transition: 0.2 ease-in-out;
}

#cate-left li {
    width: 100%;
    height: 36px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #b4b4b4;
    position: relative;
    margin-left: auto;
}

#cate-left ul li a {
    display: inline-block;
    text-decoration: none;
    padding-left: 20px;
    color: black;
    margin-right: auto;
    font-size: 13px;
    transition: all 0.3s ease-in-out !important;
}

#cate-left ul li a:hover {
    color: #16a216;
}

#cate-left ul li:hover ul {
    display: flex;
    position: absolute;
    top: 10px;
    left: 100%;
    flex-direction: column;
    background-color: white;
    border: 1px solid #CCC;
    z-index: 999;
}

#cate-left ul li:hover ul li {
    height: auto;
    width: 200px;
    border-bottom: none;
}

#cate-left ul li:hover ul li a {
    padding: 8px 12px;
    line-height: normal;
}

.icon {
    width: 40px;
    height: 100%;
    background-color: white;
    border: 1px solid #CCC;
    display: inline-block;
    cursor: pointer;
}

#cate-left li:hover .icon {
    background-color: #a5a0a0;
}

#cate-right {
    background-color: #FF3A45;
    margin: 10px;
    width: 80%;
    height: auto;
    border-radius: 5px;
    z-index: 1;
}

.cate-right-container {
    width: 100%;
    height: auto;
    padding: 10px 10px 15px 10px;
    display: flex;
    gap: 10px;
}

.cate-right-container:nth-child(1) {
    padding: 10px 10px 0 10px;
}

.noi-dung-sach,
.noi-dung-sach-hot {
    height: 100%;
    border-radius: 5px;
    background-color: white;
}

.noi-dung-sach {
    width: 24%;
}

.noi-dung-sach-hot {
    width: 370px;
    border: 1px solid #CCC;
    flex: 1;
}

.noi-dung-sach:hover .sach-top a img,
.noi-dung-sach-hot:hover .sach-top a img {
    transform: scale(1.08) !important;
}

#cart-link,
.price-container button,
.sub-content span {
    transition: all 0.3s ease !important;
}

.sach-top {
    width: 100%;
    height: 220px;
    padding: 7px;
    position: relative;
    overflow: hidden !important;
}

.sach-top a img {
    width: 100%;
    height: 200px;
    transition: transform 0.4s ease-in-out !important;
}

.sach-top button {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    color: black;
    border: 1px solid #CCC;
}

.sach-top:hover button {
    position: absolute;
    top: 40%;
    left: 40%;
    display: inline-block;
    cursor: pointer;
}

.noi-dung-sach:hover .sach-middle h4 a,
.noi-dung-sach-hot:hover .sach-middle h4 a {
    color: #16a216;
}


.ten-sach h4 a {
    text-decoration: none;
    font-weight: normal;
    color: black;
    font-size: 14px;
}

.ten-sach {
    height: 36px;
    overflow: hidden;
}

.ten-sach h4 {
    line-height: 16px;
    margin: 0;
}

.sach-middle {
    width: 100%;
    height: auto;
    padding: 10px;
}

.price-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.price {
    display: block;
    font-weight: bold;
    color: #FF3A45;
}

.price-left {
    flex: 1;
    padding-right: 5px;
}

.sale-price {
    display: inline-flex;
    margin-right: 5px;
    align-items: center;
    color: #989393;
    text-decoration: line-through;
}

.sale-label {
    background-color: #FF3A45;
    color: white;
    font-size: 15px;
    display: inline-flex;
    height: 25px;
    align-items: center;
    padding: 4px 8px;
    border-radius: 5px;
}

.price-container button {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    font-size: 18px;
    background-color: #FF3A45;
    cursor: pointer;
    flex-shrink: 0;
}

.price-container button a {
    color: white;
    font-weight: normal;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.sale-label {
    background-color: #FF3A45;
    color: white;
    font-size: 15px;
    display: inline-flex;
    height: 25px;
    align-items: center;
    padding: 4px 8px;
    border-radius: 5px;
}

.sach-bottom {
    width: 100%;
    height: 10%;
    padding: 0 10px 10px 10px;
    border-radius: 5px;
}

.sach-bottom div {
    background-color: #FF3A45;
    color: white;
    border-radius: 10px;
    text-align: center;
    font-size: 15px;
}

#sach-hot-title {
    height: 40px;
    width: 100%;
}

#sach-hot-title h2 {
    padding: 10px 50px 5px 50px;
}

#sach-hot {
    width: 100%;
    height: auto;
    padding-left: 30px;
    padding-right: 30px;
    float: none;
}

.cate-bottom-container {
    width: 100%;
    height: auto;
    padding: 10px 10px 15px 10px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}