
.gred{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(205px, 100px));
    justify-content: center;
}
.pcard{
    float: right;
    width: 100%;
    max-width: 200px;
    height: 300px;
    margin: 5px;
    border: 2px solid #fff;
    border-radius: 10px;
    background: wheat;
    box-shadow:0 8px 25px rgba(0,0,0,0.35);
}

.pcard a img{
    width: 196px;
    height: 150px;
    border-radius: 10px 10px 0 0;
}
.pd{
    width: 100%;
    height: 100%;
}
.code{
    color: rgb(255, 153, 0);
    font-size: 14px;
    font-weight: 600;
    margin: 0 5px;
}
.name{
    color: rgb(5, 5, 5);
    font-size: 13px;
    font-weight: 500;
    margin: 0 5px;
    text-transform: capitalize;
}

.compny{
    color: rgb(5, 5, 5);
    background:rgb(255, 153, 0);
    display: inline-block;
    padding-left: 2px;
    padding-right: 2px;
    font-size: 14px;
    font-weight: 600;
    margin: 0 5px;
    text-transform: uppercase;
}
.brand{
    color: rgb(228, 3, 3);
    padding-left: 2px;
    padding-right: 2px;
    font-size: 14px;
    font-weight: 600;
    margin: 0 5px;
    text-transform: capitalize;
}
.pr{
    font-size: 15px;
    font-weight: 700;
    margin-top: 2px;
    padding-left: 5px;
}
.mrp{
    font-size: 12px;
    font-weight: 500;
    margin-left: 5px;
    color: #3f3e3e;
    text-decoration: line-through;
}
.dic{
    font-size: 12px;
    font-weight: 600;
    color: #2d6d28;
    text-transform: capitalize;
    margin-left: 5px;
}

.bu{
    width: 75px;
    height: 20px;
    margin-top: 5px;
    margin-left: 10px;
    background: #2d6d28;
    text-align: center; 
    border-radius: 5px;
     
}
.bu a{
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
     
}
.ac{
    width: 85px;
    height: 20px;
    margin-top: -20px;
     
    margin-left: 105px;
    background: rgb(255, 153, 0);
    text-align: center; 
    border-radius: 5px;
    text-transform: uppercase;
     
}
.ac a{
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    color: #000;
     
}
/* MOBILE LANDSCAPE FIX */
@media screen and (max-width: 769px){
    .gred{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(305px, 1fr));
    justify-content: center;
}

    /* FLOAT को हटाओ → तब कार्ड फैल पाएगा */
    .pcard{
        float: none !important;
        display: flex;
        flex-direction: row;
        width: 100% !important;
        max-width: 320px !important;   /* अब card पूरी चौड़ाई लेगा */
        height: auto;
        margin: 10px auto;
    }

    /* LEFT IMAGE FIXED 150PX */
    .pcard a img{
        width: 100px !important;
        height: 160px !important;
        border-radius: 10px 0 0 10px !important;
        object-fit: cover;
        flex-shrink: 0;
    }

    /* RIGHT DETAILS AUTO WIDTH */
    .pd{
        width: calc(100% - 100px);
        padding: 10px;
        overflow: hidden;
    }
}