/* ==========================\
   CSS cho Trang Chi Tiết Sản Phẩm - Hiện đại
   ========================== */
.details-product .product {
    background: #F4F7F9; 
    padding: 40px 20px;
}

.details-product .card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border: none;
    max-width: 1200px;
    padding: 30px;
}

/* HĂ¬nh áº£nh sáº£n pháº©m */
.anh img {
    transition: 0.3s;
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    margin-left: 25px;
    margin-top: 20px;
}


.anh img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-left: 25px;
    transition: transform 0.3s ease-in-out;
    margin-left: 70px;
}

.anh img:hover {
    transform: scale(1.05);
}

.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.popup img {
    width: 100%;
    max-width: 1100px;
    border-radius: 10px;
    position: absolute;
    z-index: 1000000;
}

.popup .close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    color: white;
    cursor: pointer;
}

/* Bá»‘ cá»¥c sáº£n pháº©m */
.details-product .product {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    padding: 50px;
}

.details-product .card {
    border: none;
    display: flex;
    flex-direction: row;
    padding: 20px;
}

.product {
    margin-left: 140px;
}

.product .status {
    padding-top: 10px;
    font-size: 18px;
}


/* === SỬA MÀU TẠI ĐÂY === */

/* CHI TIẾT */
.product .details h1 {
    color: #333333;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

/* Màu giá */
.product .details .price span {
    font-size: 40px;
    color: #FF6B6B; /* SỬA MÀU: Đỏ San Hô nổi bật cho giá */
    font-weight: 900;
}

/* Nút Mua Ngay */
.buy-now {
    background-color: #FF6B6B; /* SỬA MÀU: Đỏ San Hô */
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 20px;
    text-transform: uppercase;
    width: 100%; 
    margin-bottom: 10px;
}

.buy-now:hover {
    background-color: #E05A5A; /* SỬA MÀU: Đỏ San Hô đậm hơn */
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

/* Nút Thêm giỏ hàng */
.product .details .btn {
    background-color: #0A335C !important; /* SỬA MÀU: Deep Navy */
    color: #fff !important;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 20px;
    width: 100%;
}

.product .details .btn:hover {
    background-color: #4ECDC4 !important; /* SỬA MÀU: Turquoise */
}

/* MÔ TẢ - Đường viền */
.mota h2 {
    color: #212529;
    font-size: 24px;
    font-weight: 700;
    padding-bottom: 10px;
    border-bottom: 3px solid #4ECDC4; /* SỬA MÀU: Turquoise */
}

/* COMMITMENTS - Icons */
.commitment-item i {
    font-size: 35px;
    color: #4ECDC4; /* SỬA MÀU: Turquoise */
}

/* === LỖI XUNG ĐỘT MÀU PHÍA DƯỚI ĐÃ ĐƯỢC CẬP NHẬT === */


.details .available {
    color: green;
    font-weight: bold;
}

/* GiĂ¡ sáº£n pháº©m */
.card-text {
    color: #D32F2F;
    font-weight: bold;
    font-size: 22px;
}

.card .product .details .cardtext {
    font-size: 18px;
    margin-top: -10px;
}

/* Äiá»u chá»‰nh sá»‘ lÆ°á»£ng */
.quantity {
    display: flex;
    align-items: center;
    padding: 10px;
    gap: 8px;
}

.quantity button {
    padding: 5px 12px;
    border: 1px solid #13010123;
    background: white;
    color: #682626;
    cursor: pointer;
    border-radius: 5px;
    font-size: 14px;
}

.quantity button:hover {
    background: #4ECDC4; /* SỬA MÀU: Turquoise */
    color: white;
}

.quantity input {
    padding: 5px;
    width: 40px;
    height: 30px;
    text-align: center;
    border: none;
}


/* NĂºt "ThĂªm vĂ o giá»" (Quy tắc cũ bị ghi đè) */
.product .details .btn {
    background: #0A335C; /* SỬA MÀU: Deep Navy */
    color: #fff;
    border: 1px solid #0A335C;
    transition: 0.3s;
    width: 657px;
    height: 50px;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 20px;
}

.product .details .btn:hover {
    background: #4ECDC4; /* SỬA MÀU: Turquoise */
    color: white;
}


/* NĂºt "Mua ngay" (Quy tắc cũ bị ghi đè) */
.buy-now {
    background: #0A335C; /* SỬA MÀU: Deep Navy */
    color: white;
    transition: 0.3s;
    width: 657px;
    height: 50px;
    text-align: center;
    padding: 8px;
    padding-top: 10px;
}

.buy-now:hover {
    background: #4ECDC4; /* SỬA MÀU: Turquoise */
}



/* commit */
.commitments {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background: white;
    padding: 20px;
    border-radius: 10px;
}

.commitments .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
}

.commitments .col-lg-4 {
    flex: 1 1 30%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.commitment-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    transition: transform 0.3s ease-in-out;
}

.commitment-item:hover {
    transform: scale(1.05);
}

.commitment-item i {
    font-size: 22px;
    color: #4ECDC4; /* SỬA MÀU: Turquoise */
    transition: color 0.3s ease-in-out;
}

.commitment-item:hover i {
    color: #FF6B6B; /* SỬA MÀU: Coral Red */
}


/* mĂ´ táº£ - Tiêu đề */
.mota h3 {
    text-align: center;
    font-size: 34px;
    font-weight: bold;
    font-style: italic;
    color: #0A335C; /* SỬA MÀU: Deep Navy */
    padding-bottom: 10px;
    width: fit-content;
    margin: 20px auto;
    z-index: -50;
}


.mota h3::after {
    content: "";
    width: 50%;
    height: 3px;
    background: #4ECDC4; /* SỬA MÀU: Turquoise */
    position: absolute;
    left: 25%;
    bottom: 0;
    border-radius: 5px;
}


/* Äá»‹nh dáº¡ng ná»™i dung mĂ´ táº£ */
.mota p {
    text-align: justify;
    font-size: 20px;
    color: #333;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: 40px;
}