#banner {
    height: 250px;
    width: 100%;
    padding: 20px 30px;
}

#banner img {
    width: 100%;
    height: 200px;
}

#cate-container {
    display: flex;
    padding-left: 30px;
    padding-right: 30px;
}

#cate-left {
    width: 25%;
    height: 700px;
    border: 1px solid #CCC;
    z-index: 5;
    border-top: none;
    border-bottom: none;
    border-left: none;
}

.san-pham {
    width: 100%;
    height: 33%;
    padding: 10px;
    border-bottom: 1px solid #CCC;
}

.san-pham h3 {
    padding-bottom: 20px;
    color: #6B727C;
    font-size: 17px;
}

.san-pham ul {
    list-style: none;
    padding: 0;
}

.san-pham ul li {
    padding-bottom: 10px;
    color: #6B727C;
    font-size: 14px;
}

.san-pham input {
    margin-right: 10px;
}

.san-pham ul li label {
    cursor: pointer;
}

#menu-container {
    display: flex;
    padding-left: 30px;
    padding-right: 30px;
}

#cate-right {
    margin: 0;
    width: 75%;
    height: auto;
    padding-left: 20px;
}

#cate-right h3 {
    margin-bottom: 10px;
}

.cate-right-container {
    width: 100%;
    height: auto;
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.cate-right-container:nth-child(1) {
    padding: 10px 10px 0 10px;
}

.noi-dung-sach {
    height: 100%;
    width: calc(25% - 12px) !important;
    border-radius: 5px;
    background-color: white;
    border: 1px solid #CCC;
}

.noi-dung-sach: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: 250px;
    object-fit: contain;
    padding: 10px;
    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 {
    color: #16a216;
}

.sach-middle {
    width: 100%;
    height: 30%;
    padding: 5px 10px;
}

.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;
}

.price-container {
    display: flex;
}

.price {
    display: block;
    font-weight: bold;
    color: #FF3A45;
}

.price-left {
    width: 80%;
    height: 70%;
}

.sale-price {
    display: inline-flex;
    height: 40%;
    margin-right: 10px;
    align-items: center;
    color: #989393;
    text-decoration: line-through;
}

.price-container button {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px;
    font-size: 18px;
    background-color: #FF3A45;
    cursor: pointer;
}

.price-container button a {
    color: white;
    font-weight: normal;
    text-decoration: none;
}

.sale-label {
    background-color: #FF3A45;
    color: white;
    font-size: 15px;
    display: inline-flex;
    height: 25px;
    align-items: center;
    padding: 4px 8px;
    border-radius: 5px;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#middle {
    flex: 1;
}

#content-end {
    margin-top: auto;
}