#chitiet{
    width: 100%;
}
#chitiet::after{
    content: "";
    display: block;
    clear: both;
}   
.col-4{
    width: 20% !important;
}
#top{
    width: 100%;
    height: 100px;
}
#link-chitiet{
    width: 80%;
    height: auto;
    margin: auto;
    margin-top: 20px;
    margin-bottom: 20px;
}
#link-chitiet a,
#link-chitiet span{
    text-decoration: none;
    color: black;
    font-size: 15px;
}
#link-chitiet a.Danhmuc:hover,
#link-chitiet a.Trangchu:hover,
#link-chitiet a.Hang:hover{
    text-decoration: underline;
}
#chitiet{
    width: 80%;
    margin: auto;
    margin-bottom: 20px;
}
#chitiet-img{
    width: 50%;
    height: 100%;
    float: left;
}
#chitiet-content{
    width: 50%;
    height: 100%;
    float: right;
    border-bottom:1px solid #ccc;
}
#img-top{
    width: 80%;
    height: 450px;
    margin: auto;
    border: 1px solid #000;
    border-radius: 10px;
}
#img-top img{
    width: 100%;
    height: 100%;
}
#img-bottom{
    width: 80%;
    margin: auto;
    display: flex;
    justify-content: center;
    margin-top: 10px;

}
#img-bottom.one-image {
    justify-content: center; 
}
.img-detail.active {
    border-color: #ff6700; 
}
.img-detail{
    width: 80px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}
.img-detail img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#chitiet-name{
    font-size: 19px;
    font-weight: 600; 
    width: 90%;
    height: auto; 
    padding: 10px;
}
.hang-link {
    color: #000;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}

.hang-link:hover {
    text-decoration: underline;
}

#danhgia a{
    padding: 10px;
    color: #125be4;
    text-decoration: none;
}
#danhgia a:hover{
    text-decoration: underline;
}   
#prices{
    font-size: 30px;
    font-weight: 600;
    color: red;
    padding: 10px;
    white-space: 5px;
}
#favourite{
    width: 200px;
    height: 60px;
    margin: 10px;
}
.favourite-btn{
    width: 100%;
    height: 100%;
    border: none;
    background-color: #e30019;
    color: white;
    font-weight: 700px;
    cursor: pointer;
    border-radius: 10px;
}
.ti-heart{
    font-size: 20px;
    margin-right: 10px;
}
.favourite-btn .ti-heart {
    color: #fff;
    transition: transform 0.25s ease, color 0.25s ease;
}
.favourite-btn span{
    font-size: 20px;
    color: white;
}
.favourite-btn.active .ti-heart {
    color: #ffdede; /* đỏ nhạt nổi trên nền đỏ */
    transform: scale(1.3);
}
.pro_like {
    position: absolute;
    right: 12px;
    bottom: 12px;

    display: flex;
    align-items: center;
    gap: 6px;

    cursor: pointer;
    font-size: 14px;
}
.sptt-item {
    position: relative; /* QUAN TRỌNG */
}

/* chữ KHÔNG đổi */
.favourite-btn.active span {
    color: white;
}
#chung{
    width: 100%;
    height: auto;
    margin-top: 30px;
    padding: 10px;
    border-bottom: 1px solid #ccc;
}
#chung span{
    font-size: 16px;
    font-weight: 600;
    margin-top: 10px;
    line-height: 25px;
}
#chung .top{
    margin-bottom: 30px;
}
#chung .Hang{
    padding-left: 10px;
    font-weight: 200;
}

#location{
    width: 100%;
    margin-top: 20px;
    line-height: 35px;
}
#location span{
    font-size: 19px;
    padding: 10px;
    margin-bottom: 10px;

}
#location .DiaChi{
    font-weight: 100px;
}
#SPTT{
    width: 80%;
    height: 400px;
    margin: auto;
    margin-top: 50px;
    border-radius:10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}
#SPTT h2{
    padding: 20px;
    font-size: 24px;
    font-weight: 600;
}
#SPTT-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 10px 0;
}

#list-SPTT {
    display: flex;
    gap: 20px;
    transition: transform 0.3s ease;
}

.sptt-item {
    min-width: 200px;
    background: #fff;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    height: 300px;
    margin-left: 10px;
}

.sptt-item img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-radius: 8px;
}
.sptt-item:hover img{
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transform: translateY(-5px);
    transition: 0.2s ease;
}
.sptt-name {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 15px;
    font-weight: 600;
}

.sptt-price {
    color: red;
    font-weight: bold;
    margin-bottom: 20px;
}

/* MŨI TÊN */
.sptt-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #ddd;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: 0.2s ease;
}

.sptt-arrow:hover {
    background: #ff6700;
    border-color: #ff6700;
    color: white;
    box-shadow: 0 4px 12px rgba(255, 103, 0, 0.4);
}

.sptt-arrow.left {
    left: -10px;
}

.sptt-arrow.right {
    right: -10px;
}

/* Icon mũi tên */
.sptt-arrow i {
    font-size: 20px;
    pointer-events: none;
}
#Infor{
    width: 80%;
    height: auto;
    margin: auto;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}
#Infor h2{
    padding: 10px;
    font-size: 24px;
    font-weight: 600;
}
#thongtin{
    padding: 10px;
}
#thongtin span{
    font-size: 18px;
    line-height: 30px;
    font-weight: 600;
}   
.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 17px;
}

.spec-table td {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.spec-title {
    font-weight: 600;
    width: 200px;
    background: #f9f9f9;
}
#comment{
    width: 80%;
    margin: 40px auto 50px auto;
    border-radius: 8px;
    padding-bottom: 20px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

#comment h2{
    padding: 15px;
    font-size: 22px;
    font-weight: 600;
    border-bottom: 1px solid #eee;
}

/* Vùng nhập bình luận */
#comment-input {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 15px;
}

#comment-input textarea {
    width: 100%;
    height: 90px;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    resize: vertical;
    font-size: 15px;
    transition: 0.25s;
}

#comment-input textarea:focus {
    border-color: #ff6700;
    box-shadow: 0 0 0 2px rgba(255,103,0,0.15);
}

#sendCmtBtn {
    width: 160px;
    padding: 10px 12px;
    background: #ff6700;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    float: right;
    align-self: flex-end;
    font-size: 15px;
    transition: 0.25s;
}

#sendCmtBtn:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

/* Danh sách bình luận */
#comment-list {
    padding: 10px 15px 20px 15px;
}

/* Mỗi bình luận */
.comment-item {
    display: flex;
    gap: 12px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

/* Avatar tròn */
.comment-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    flex-shrink: 0;
    background: #ddd;
}

/* Nội dung */
.comment-content {
    flex: 1;
}

.comment-user {
    font-weight: 600;
}

.comment-time {
    font-size: 13px;
    opacity: 0.6;
    margin-bottom: 5px;
}

.comment-text {
    font-size: 15px;
    line-height: 1.5;
}
