/*
Theme Name: Albertino Child
Theme URI: http://albertino.ancorathemes.com/
Template: albertino
Author: AncoraThemes
Author URI: http://ancorathemes.com/
Description: Albertino is a Premium WordPress theme that has built-in support for popular Page Builders, slider with swipe gestures, and is SEO- and Retina-ready. The unique system of inheritance and override options allows setting up individual parameters for different sections of your site and supported plugins.
Tags: blog,e-commerce,portfolio,grid-layout,one-column,two-columns,three-columns,four-columns,left-sidebar,right-sidebar,custom-background,custom-colors,custom-header,custom-logo,custom-menu,editor-style,featured-image-header,featured-images,flexible-header,footer-widgets,full-width-template,microformats,post-formats,sticky-post,theme-options,threaded-comments,translation-ready,block-styles,wide-blocks
Version: 2.28.0.0.1783586655
Updated: 2026-07-09 08:44:15

*/


.nakoda-products-grid {



    display: grid;



    grid-template-columns: repeat(4, 1fr);



    gap: 20px;



}







.nakoda-product-card {



    background: #fff;



    border: 1px solid #e8e8e8;



    border-radius: 12px;



    overflow: hidden;



    text-align: center;



    padding: 25px 15px;



    transition: .3s;



    display: flex;



    flex-direction: column;



    height: 100%; 



    /* justify-content: space-between ko yahan se hata diya hai taaki elements aapas mein na door bhaagein */



}







.nakoda-product-card:hover {



    transform: translateY(-6px);



    box-shadow: 0 15px 35px rgba(0,0,0,.08);



}







.nakoda-product-image {



    display: flex;



    justify-content: center;



    align-items: center;



    height: 160px; /* Thoda height kam kiya taaki clean lage */



    margin-bottom: 15px; /* Image ke just niche ka gap lock kar diya */



}







.nakoda-product-image img {



    max-width: 140px;



    max-height: 150px;



    width: auto;



    height: auto;



    transition: .3s;



}







.nakoda-product-card:hover img {



    transform: scale(1.05);



}







.nakoda-product-info {



    display: flex;



    flex-direction: column;



    flex-grow: 1; 



    /* Info container ab card ki bachi hui saari jagah lega aur button ko bottom par alignment dega */



}







.nakoda-product-title {

    font-family: 'Montserrat', sans-serif; /* 🎯 TITLE KA FONT YAHAN SET KIYA */


    font-size: 18px; 



    font-weight: 700;



    line-height: 1.4;



    margin-top: 5px;   /* Image se bilkul paas rakhne ke liye */



    margin-bottom: 20px; /* Title ke niche standard gap rakha */



    min-height: 55px;   /* text ki lines ke hisab se height fix ki taaki alignment na bigde */



    display: flex;



    align-items: center;



    justify-content: center;



}







.nakoda-product-title a {



    color: #000000; 



    text-decoration: none;



    transition: .3s;



}







.nakoda-product-title a:hover {



    color: #000000; /* Hover karne par green nikal ke aayega */



}



/* DESCRIPTION KI STYLING */

.nakoda-product-desc {

    font-family: 'Poppins', sans-serif; /* 🎯 DESCRIPTION KA FONT YAHAN SET KIYA */

    font-size: 15px;

    color: #000000; 

    line-height: 1.4;

    margin-top: 0;

    margin-bottom: 12px; 

    padding: 0;

    min-height: 38px; 

    display: -webkit-box;

    -webkit-line-clamp: 2; 

    -webkit-box-orient: vertical;

    overflow: hidden;

}





.nakoda-btn {



    display: block; 



    /* Yeh automatically pooray block ke bottom mein push ho jayega bina image ko distrub kiye */



    margin-top: auto; 



    margin-left: auto;



    margin-right: auto;



    background: #19532B;



    color: #fff;



    padding: 10px 28px;



    border-radius: 8px;



    text-decoration: none;



    font-weight: 600;



    transition: .3s;



    width: fit-content;



}







.nakoda-btn:hover {



    background: #9ABC05;



    color: #fff;



}


/*==================================================
  🎯 TABLET OPTIMIZATION (1024px - iPad/Tablets)
==================================================*/
@media(max-width:1024px){
    .nakoda-products-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns perfect rahenge */
        gap: 20px; 
        padding: 0 15px;
    }

    .nakoda-product-card {
        padding: 25px 20px !important; /* Grid ko tightly fill karne ke liye padding set ki */
    }

    .nakoda-product-image {
        height: 170px !important; /* Image ko chota hone se roka */
        margin-bottom: 15px !important;
    }

    .nakoda-product-image img {
        max-width: 170px !important; /* Image broad aur saaf dikhegi */
        max-height: 180px !important;
    }

    .nakoda-product-title {
        font-size: 27px !important; /* Title ko bada rakha taaki khali na lage */
        line-height: 1.4 !important;
        min-height: auto !important;
        margin-bottom: 15px !important;
    }

    .nakoda-product-desc {
        font-size: 20px !important;
        line-height: 1.5 !important;
        padding: 0 10px !important;
        margin-bottom: 15px !important;
    }

    .nakoda-btn {
        padding: 10px 26px !important;
        font-size: 14px !important;
    }
}

/*==================================================
  🎯 MOBILE ONLY: Gap, Image & Title Size Fix
==================================================*/
@media(max-width:767px){
    .nakoda-products-grid {
        grid-template-columns: 1fr; /* Single column layout */
        gap: 25px; /* Do cards ke beech badhiya vertical gap */
        width: 100% !important;
        padding: 0 15px; /* Screen ke edges se bas halki safe space */
    }

    .nakoda-product-card {
        padding: 25px 20px !important; /* Card ke andar ka layout solid kiya */
        width: 100% !important;
        box-sizing: border-box;
    }

    .nakoda-product-image {
        height: 180px !important; /* Image container ki height badhayein */
        margin-bottom: 15px !important;
    }

    .nakoda-product-image img {
        max-width: 170px !important; /* 🎯 Image ko bada kiya */
        max-height: 180px !important; /* 🎯 Image ko bada kiya */
        width: auto;
        height: auto;
    }

    .nakoda-product-title {
        font-size: 25px !important; /* 🎯 Title ka size bada aur bold kiya */
        line-height: 1.4 !important;
        min-height: auto !important;
        margin-bottom: 12px !important;
        text-align: center !important;
    }

    .nakoda-product-desc {
        font-size: 18px !important; /* Description ka size balanced kiya */
        line-height: 1.5 !important;
        text-align: center !important;
        padding: 0 5px !important;
        min-height: auto !important;
        margin-bottom: 20px !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important; /* Sahi se 2 lines wrap hoga */
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    .nakoda-btn {
        padding: 10px 26px !important; /* Button solid kiya aur text bada rakha */
        font-size: 14px !important;
        border-radius: 8px !important;
    }
}