/* CONTAINER */

.product-detail {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 50px;
    gap: 50px;
    flex-wrap: wrap;
}

.product-detail .description {
    max-width: 500px;
}

.product-detail .back {
    display: flex;
    align-items: center;
    gap: 7px;
    color: black;
    text-decoration: none;
    font-size: 25px;
    margin-bottom: 0px;
}

.product-detail .description h1 {
    font-size: 40px;
    margin: 0;
    color: black; /* Consistent with mobile */
}

.year {
    color: gray; /* Matches mobile */
    font-weight: bold;
    font-size: 29px;
    margin: 0;
}

.price {
    font-size: 32px;
    margin: 20px 0;
    color: black; /* Consistent with mobile */
}

.description {
    font-size: 24px;
    color: black; /* Matches mobile */
}

hr {
    color: #C0C0C0;
}

select {
    height: 50px; /* Same height as mobile */
    padding: 0 20px;
    border: none;
    background-color:  #F1F1F1;
    border-radius: 5px;
    cursor: pointer;
}

button {
    height: 50px; /* Same height as mobile */
    padding: 0 20px;
    color: black;
    background-color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px; /* Matches mobile button font size */
}

.black {
    color: black; /* Matches mobile */
    text-decoration: none;
    font-weight: bold;
}

/* PHONE */

.phone {
    display: none;
    max-width: 500px;
}

.image img {
    width: 500px;
}

@media screen and (max-width: 700px) {
    .container {
        background-color: white;
        background-image: none;
    }
    
    .phone {
        display: flex;
    }

    .image img {
        width: 100%;
    }

    .product-detail {
        flex-direction: column; /* Column direction for mobile */
        padding: 10px 20px;
        gap: 10px;
    }

    .black {
        color: black;
    }

    .product-detail .description h1 {
        color: black;
    }

    .year {
        color: gray;
    }

    .description {
        color: black;
    }

    .price {
        color: black;
    }

    button {
        height: 50px;
        font-size: 16px;
    }

    select {
        height: 50px;
    }

    form {
        display: flex;
        align-items: center;
        gap: 10px;
    }
}

/* ADDED */

.added-container {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.added {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    padding: 10px 30px;

    color: white;
    background-color: #121711;
}

.message {
    display: flex;
    align-items: center;
    gap: 10px;
}

.added p {
    margin: 0;
}

.added img {
    width: 20px;
    height: 20px;
}

.added button {
    align-self: flex-start;
    background-color: none;
    border: solid 1px white;
}

.sold-label {
    color: #e2401c;
    margin-left: 8px !important;
    font-size: 24px;
}