* {
    margin: 0; 
    padding: 0;
    box-sizing: border-box;
}

.product-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.details {
    flex: 2;
}

.details .table {
    table-layout: fixed;
    width: 100%;
}

.details .col-label {
    width: 30%;
    white-space: nowrap;
}

.details .col-value {
    width: 70%;
    word-break: keep-all;
    overflow-wrap: normal;
}

.image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container img {
    max-height: 300px;
    max-width: 100%;
    border: 10px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,.1);
    cursor: pointer;
    object-fit: cover;
    transition: .2s linear;
}

.image-container img:hover {
    transform: scale(1.1);
}

.popup-image {
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0,0,0,.9);
    height: 100%;
    width: 100%;
    z-index: 100;
    display: none;
}

.popup-image span {
    position: absolute;
    top: 0;
    right: 10px;
    font-size: 60px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    z-index: 100;
}

.popup-image img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 5px solid #fff;
    border-radius: 5px;
    width: 950px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .product-details {
        flex-direction: column;
        align-items: center;
    }

    .details {
        margin-right: 0;
    }

    .popup-image img {
        width: 95%;
    }
}