* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ============================= product navbar Section ===========================*/
/* ============================= product navbar Section ===========================*/

.product_nav {
    background-color: rgb(216, 216, 216);
    margin-top: 110px;
}

.details-item {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 10px 0;
}

.details-item li {
    margin: 0px 20px;
    font-size: 18px;

}

.details-item li:first-child {
    margin-left: 0px;

}


.details-item li a {
    text-decoration: none;
    color: rgb(237, 28, 36);

}

.details-item li:hover span {
    color: #ed1c24;
}

.details-item span {
    color: black;
    transition: all 0.3s ease-in-out;
}

/* ============================= product Image & Data Section ===========================*/

.product_data {
    width: 100%;
    display: flex;
    gap: 30px;

}

.product_data .left {
    width: 40%;
    height: 100%;
    position: sticky;
    top: 100px;
    border: 1px solid gray;
}

.product_data .right {
    width: 60%;
    height: 100%;
}

.left>img {
    width: 100%;
    height: 30rem;
    object-fit: cover;
}

.change-img {
    width: 100%;
    display: flex;
    overflow-x: auto;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
    border-top: 1px solid gray;
    transition: all 0.1s ease-in-out;
}

.change-img img {
    width: 6rem;
    height: 5rem;
    object-fit: cover;
    padding: 5px;
    border-left: 2px solid gray;
    border-right: 2px solid gray;
    border-top: 2px solid white;
    border-bottom: 2px solid white;
    transition: all 0.3s ease-in-out;

}

.change-img img:hover {
    border: 2px solid #ed1c24;
}

.product_data .product_info .product_info-head {
    font-size: 35px;
    font-weight: 600;
    color: #ed1c24;
    margin-bottom: 20px;
}

.product_data .product_info>p {
    font-size: 18px;
    color: #3a3a3a;
}

.tube_main {
    display: flex;
    gap: 0px 30px;
    color: #3a3a3a;
    font-size: 18px;
}

.tube_2 li {
    list-style-type: disc;
    margin-left: 30px;
    color: #3a3a3a;
}

.tube_2 li::marker {
    color: #ed1c24;
}

.product_data .product_info .price {
    text-decoration: line-through;
    margin-right: 5px;
}

.product_data .product_info .doller {
    color: rgb(237, 28, 36);
    font-size: 25px;
    font-weight: 600;
}

/* ========================= Model Popup Window ===============*/
.trigger {
    text-align: center;
    padding: 10px 20px;
    margin: 30px 0;
    background-color: #ed1c24;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    outline: none;
    border: 2px solid rgb(237, 28, 36);
    border-radius: 5px;
    transition: all 0.3s;
}

.trigger:hover {
    background-color: white;
    color: #ed1c24;
}

.modal1 {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.93);
    opacity: 0;
    visibility: hidden;
    transform: scale(1.3);
    transition: visibility 0s linear 0.25s, opacity 0.25s 0s, transform 0.25s;
    z-index: 1000;
}

.modal-content1 {
    width: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 2rem 1.5rem;
    border-radius: 0.5rem;
}
.modal-content1 h4{
    margin: 0px;
    color: #ed1c24;
}


.close-button {
    position: absolute;
    top: 3%;
    right: 3.2%;
    width: 2rem;
    line-height: 2rem;
    font-size: 28px;
    text-align: center;
    cursor: pointer;
    border-radius: 0.25rem;
    background-color: lightgray;
}

.close-button:hover {
    background-color: #ed1c24;
    color: white;
}

.show-modal {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    transition: visibility 0s linear 0s, opacity 0.25s 0s, transform 0.25s;
}

/*=================== Table Start Here ===============*/
.table {
    width: 100%;
    border: 1px solid black;

}

.table thead th {
    border: 1px solid rgb(0, 0, 0);
    text-align: center;
    background-color: #ed1c24;
    color: white;
    font-size: 18px;
    font-weight: 300;
    vertical-align: middle;
}

.table .table-th-bg {
    text-align: center;
    background-color: gray;
    color: white;
}


.table td {
    border: 1px solid rgb(0, 0, 0);
    font-size: 14px;
    text-align: center;
    vertical-align: middle;
}


.table td img {
    font-size: 12px;
    width: 18px;
}

/*========================== spacification_container============== */
.spaci_button {
    margin: 10px 0 20px 0;
}

.spaci_button button {
    background-color: lightgray;
    padding: 8px 20px;
    border: 2px solid lightgray;
    border-radius: 5px;
    color: black;
    font-weight: 400;
    transition: all 0.3s;
    margin: 5px 5px 5px 0;
}

#ability1 .ability_item,
#ability2 .ability_item,
#ability3 .ability_item,
#ability4 .ability_item {
    display: flex;
    /* flex-wrap: wrap; */
    align-items: center;
    width: 100%;
    gap: 15px;
    margin: 20px 0;
    background-color: rgb(238, 249, 217);
    border-radius: 10px;
}

#ability2 .ability_item {
    background-color: white;
}

#ability4 .ability_item {
    background-color: white;

}

#ability2 .ability_item img,
#ability4 .ability_item img {
    width: 4rem;
    height: 4rem;
    padding:5px;
    border: 2px solid #ed1c24;
    border-radius: 50%;
}

#ability1 .ability_des h5,
#ability2 .ability_des h5,
#ability3 .ability_des h5,
#ability4 .ability_des h5 {
    font-size: 16px;
    font-weight: 500;
}

#ability1 .ability_des p,
#ability2 .ability_des p {
    font-size: 14px;
    margin: 0;
}

#ability1 .ability_des,
#ability2 .ability_des {
    padding: 15px 0;
}

button.active {
    background-color: rgb(237, 28, 36);
    border: 2px solid rgb(237, 28, 36);
    color: white;
}

.hidden {
    display: none;
}


/*==================================== media Queries============================= */
@media (max-width: 425px) {
    .details-item {
        padding: 5px 20px;
    }

    .details-item li {
        font-size: 14px;
        margin: 0 10px;
    }

    .change-img img {
        width: 5rem;
        height: 4rem;
        padding: 5px;
    }
}

@media (max-width: 992px) {
    .product_data {
        display: block;
        padding: 0px;
    }

    .product_data .left {
        position: static;
        width: 100%;
        margin-top: 0px;
    }

    .product_data .right {
        width: 100%;
        margin-top: 50px;
    }
    .modal-content1 {
        width: 80%;
        height: 70vh;
        position: relative;
        top: 50%;
        padding: 2rem 0px;
    }
}

@media (max-width: 768px) {
    .modal-content1 {
        width: 80%;
        height: 80vh;
    }

    th,
    td,
    tr {
        display: block;
    }

    tr {
        margin-bottom: 30px;
        border: 1px solid black;
    }

    thead tr {
        display: none;
    }

    .table {
        border: none;
    }
   

    .table td {
        position: relative;
        padding-left: 40%;
    }

    .table td::before {
        position: absolute;
        top: 30%;
        left: 10px;
        content: attr(data-label);
        font-weight: 500;
        text-transform: capitalize;
        color: #ed1c24;
    }
}

@media (max-width: 576px) {
    .product_nav {
        margin-top: 80px;
    }

    .product_data {
        padding: 0px 20px;
    }

    .left>img {
        height: 100%;
    }

    .tube_main {
        flex-direction: column;
    }

    .tube_2 {
        margin-top: 30px;
    }
    .modal-content1 {
        width: 100%;
        height: 100vh;
    }
}
