.product-details-container {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-top: 30px;
}

/* KHU VỰC CHỨA ẢNH: Căn giữa ảnh và bộ sưu tập */
.product-image-area {
    display: flex;
    flex-direction: column;
    align-items: center;     /* Căn giữa theo chiều ngang */
    justify-content: center;    /* Căn giữa theo chiều dọc */
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    min-height: 600px;       /* Tạo không gian đủ lớn cho ảnh to */
}

/* ẢNH CHÍNH: Tăng kích thước tối đa */
.product-main-image {
    max-height: 550px;       /* Tăng từ 380px lên 550px để ảnh to hơn */
    width: auto;
    max-width: 100%;
    object-fit: contain;
    margin-bottom: 30px;
    transition: transform 0.4s ease;
}

/* Hiệu ứng zoom nhẹ khi di chuột cho chuyên nghiệp */
.product-main-image:hover {
    transform: scale(1.03);
}

/* BỘ SƯU TẬP ẢNH NHỎ: Căn giữa dưới ảnh chính */
.thumbnail-wrapper {
    display: flex;
    align-items: center;
    justify-content: center; /* Căn giữa danh sách ảnh nhỏ */
    gap: 15px;
    width: 100%;
}

.thumbnail-list {
    display: flex;
    gap: 12px;
    overflow: hidden;
    scroll-behavior: smooth;
    padding: 5px;
}

.thumbnail-item {
    width: 75px;             /* Tăng nhẹ kích thước ảnh nhỏ */
    height: 75px;
    object-fit: cover;
    border: 2px solid #eee;
    border-radius: 10px;
    cursor: pointer;
    background: #fff;
    transition: all 0.2s ease;
}

.thumbnail-item.active, .thumbnail-item:hover {
    border-color: #d38585;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,123,255,0.2);
}

.btn-nav {
    border: none;
    background: #fff;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.btn-nav:hover {
    background-color: #d38585;
    color: #fff;
}

.description-content {
    line-height: 1.8;
    color: #444;
    font-size: 1.05rem;
}

.variant-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 10px;
}

.variant-option {
    border: 1px solid #d7dce2;
    background: #fff;
    border-radius: 8px;
    padding: 12px;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.variant-option:hover,
.variant-option.active {
    border-color: #dc3545;
    box-shadow: 0 4px 14px rgba(220, 53, 69, 0.15);
}

.variant-label,
.variant-price {
    display: block;
}

.variant-label {
    font-weight: 600;
    color: #212529;
}

.variant-price {
    color: #dc3545;
    font-weight: 700;
    margin-top: 4px;
}

.variant-original-price {
    color: #6c757d;
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 400;
    margin-left: 6px;
}

.variant-spec-grid {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 8px 14px;
    margin: 0;
}

.variant-spec-grid dt {
    color: #6c757d;
    font-weight: 600;
}

.variant-spec-grid dd {
    margin: 0;
    color: #212529;
}
