
.product-card {
    /*display: flex;*/
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background-color: #ebf5fb;
    /*background-color: red;*/
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    margin-bottom: 20px;
    /*padding: 15px;*/
    /*border-left: 4px solid #004481;*/
    /*border-right: 4px solid #004481;*/
    /*position: relative;*/
    /*max-width: 550px;*/

}

.product-card .card-content{
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: space-between;
    /*align-items: flex-start;*/
    width: calc(100% - 20px);
    margin: 3px;
    padding: 6px;
    /*border: 2px solid #6495ED;*/
    background: linear-gradient(180deg,floralwhite, #d6eaf8, #6699FF);
}

.vendor-info {
    flex:1;
    color: white;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    /*width: 280px;*/
    /*width: 100%;*/
}

.vendor-info img{
    width: 100%;
    justify-content: center;
    height: 160px;
    margin: auto;
    object-fit: cover; /* Maintain aspect ratio and crop overflow */
    object-position: left top; /* Start cropping from the top-left corner */
    display: block; /* Avoid inline spacing issues */
    border-radius: 10px;
}

.box-data{
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    flex:2;
}
.product-detail-div{
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: flex-start;
}

.prd-rate{
    background-color: #e3efff;
    color: #004481;
    /*padding: 5px 10px;*/
    border-radius: 5px;
    display: inline-block;
    font-size: 1.4rem;
    margin-bottom: 10px;
    box-sizing: border-box;
}

.category-info {
    flex: 2;
    text-align: left;
}

.category-info .brand-name {
    font-size: 1.3rem;
    font-weight: bold;
    margin: 0 0 10px 0;
    color: #004481;
}


.category-info .customer-name {
    font-size: 1rem;
    font-weight: normal;
    margin: 0 0 10px 0;
    color: #004481;
}

.category-info p {
    font-size: 0.85rem;
    color: #555;
}
.live-contact{
    display: flex;
    flex-direction: row;
    /*justify-content: space-between;*/
    gap: 10px;
    align-items: center;
}
.live-contact button{
    text-wrap: nowrap;
    margin: 10px;
    font-size: 9pt;
    border:none;
    background-color: inherit;
    padding: 5px;
}
.live-contact button:hover, .live-contact button:hover > i{
    cursor: pointer;
    background-color:  #004481;
    color: white;
    border-radius: 5px;
}
.live-contact button i{
    margin-right: 5px;
    color:#17a589;
}
.control-buttons {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-end;
    padding: 5px 10px 0 0;
}
.control-buttons button {
    background-color: #004481;
    color: white;
    padding: 8px;
    border: none;
    border-radius: 5px;
    font-size: 9pt;
    cursor: pointer;
    /*width: auto;*/
    margin: 3px;
}
.control-buttons button:hover {
    background-color: #003366;
}

.control-buttons .show-details{
    background-color: #0073e6; /* Different color to distinguish */
}
.control-buttons .quotes-button{
    background-color: #b9770e;
}

#product-detail-section {
    /*display: none; !* Initially hidden *!*/
    display: flex;
    flex-direction: column;
    /*flex-direction: column;*/
    margin-top: 20px;
    padding: 15px 10px;
    border-radius: 5px;
    /*border: 1px solid #6699FF;*/
    /*background: linear-gradient(180deg,#6699FF, #d6eaf8, floralwhite, #d6eaf8, #6699FF);*/
    /*box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);*/
    justify-content: center;
    /*align-items: center;*/
    align-content: center;
    /*max-width: 90% !important;*/
    /*width: 100%;*/
}

.vendor-contact{
    /*box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);*/
    padding: 5px;
    width: calc(100% - 20px);
    text-align: left;
}

.detail-card{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    /*overflow-x: auto;*/

}


.product-info{
    margin-bottom: 5px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: left;
}

.product-box{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 10px;
    padding: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background: white;
    border-radius: 10px;
}

.detail-card .product-box{
    min-width: 300px;
}

.product-info img{
    width: 100%;
    justify-content: center;
    height: 200px;
    margin: auto;
    object-fit: cover; /* Maintain aspect ratio and crop overflow */
    object-position: left top; /* Start cropping from the top-left corner */
    display: block; /* Avoid inline spacing issues */
    border-radius: 20px;
}
.product-info .service-detail{
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: flex-start;
    justify-content: flex-start;
    float: left;
    /*padding: 10px;*/
    font-size: medium;
}

 .product-box {

 }

.product-box .prd-rate{
    align-content: flex-end;
    float: left;
    /*padding: 5px;*/
    font-weight: bold;
}


.basic-rate{
    font-size: 0.7rem;
}
.total-sub-rate{
    font-size: 0.8rem;
}

.box-price{
    font-size: 0.7rem;
}

.box-total-price{
    font-size: 11pt;
}


.details-section h4 {
    margin: 0 0 10px;
}

.details-section p {
    width: 90%;
    margin: 5px 0;
    text-align: justify;
    text-justify: inter-word;
    /*white-space: nowrap;*/
    word-wrap: break-word;
}

.number-input {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-family: Arial, sans-serif;
    width: 100%;
    margin-top: 20px;
}

.number-input button {
    background-color: #004481;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 16px;
    width: 10px;
    text-align: center;
    margin: auto;
}

.number-input button:hover {
    background-color: #45a049;
}
.number-input input {
    width: 200px;
    text-align: center;
    font-size: 16px;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    height: 25px;
}
.booking-button{
    /*width: 220px;*/
    /*width: 150px;*/
    height: 30px;
}
.box-data .control-buttons button, .booking-buttons{
    width: 100%;
}
.booking-button-detail{
    width: 200px;
}
@media screen and (max-width: 768px) {
    .product-card{
        /*max-width: 100%;*/
    }
    .details-section .detail-card{
        /*max-width: 500px;*/
    }
    .product-card .card-content{
        flex-direction: column;
        /*display: inline-block;*/
        /*width: 99% !important;*/
    }
    /*.details-section .detail-card{*/
    /*    width: 98%;*/
    /*}*/
    /*.product-box{*/
    /*    !*background-color: white;*!*/
    /*    width: 170px;*/
    /*    !*box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);*!*/
    /*}*/
    /*.product-info img{*/
    /*    width: 140px;*/
    /*    height: 90px;*/
    /*}*/
    .box-data{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        /*width: 100%;*/
        /*background-color: red;*/
    }
    .box-data .control-buttons{
        float: left;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        /*background-color: #6495ED;*/
        padding: 5px;
    }
    /*.box-data .control-buttons button, .booking-buttons{*/
    /*    width: 100%;*/
    /*}*/
    .product-detail-div{
        flex-direction: column;
    }
}
