@media (max-width: 767px) {
    .container {
        padding: 10px;
    }

    .imgFlex {
        flex-wrap: wrap;
    }

    .imgFlex img {
        width: 100%;
        height: auto;
        margin-bottom: 10px;
    }

    .mainImage {
        text-align: center;
    }

    .details {
        text-align: center;
    }

    .details h1 {
        font-size: 20px;
    }

    .details p {
        font-size: 14px;
    }

    .details .price {
        display: block;
    }

    .color {
        text-align: center;
    }

    .color input[type="radio"] {
        display: none;
    }

    .color label {
        display: inline-block;
        width: 30px;
        height: 30px;
        margin: 5px;
        border-radius: 50%;
        border: 2px solid #c9c7c7;
        cursor: pointer;
    }

    .color label:before {
        content: "";
        display: block;
        width: 100%;
        height: 100%;
        border-radius: 50%;
    }

    .payment {
        text-align: center;
        margin-top: 10px;
    }

    .payment img {
        width: 30px;
        height: 30px;
        margin: 5px;
    }

    form {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 10px;
    }

    form input[type="number"] {
        width: 120px;
        padding: 5px;
        margin-right: 5px;
        font-size: 14px;
    }

    form input[type="image"] {
        width: 30px;
        height: 30px;
        cursor: pointer;
    }

    .replacment {
        text-align: center;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .replacment img,
    .replacment h3 {
        display: block;
        margin: 5px auto;
    }

    .detailBar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .desImage img {
        width: 100%;
        height: auto;
    }

    .description h1,
    .description p {
        text-align: center;
        margin: 5px 0;
    }

    .specification {
        text-align: center;
        margin-bottom: 10px;
    }

    .specification img,
    .specification .txtContainer {
        width: 100%;
        height: auto;
    }

    .specification .txtContainer h1,
    .specification .txtContainer p {
        text-align: center;
        margin: 5px 0;
    }

    .tableContainer {
        margin-top: 10px;
    }

    .detailTable div {
        display: flex;
        justify-content: space-between;
        margin-bottom: 5px;
    }

    .detailTable span {
        flex-basis: 50%;
    }
}