  
/* index page code*/
  .bg-dark{
      background-color: green !important;  
   }
  .text{
   color: #fff;
  }
  
.product-item {
    overflow: hidden; 
    display: flex;
    flex-direction: column;
    height: 100%; /* స్థిరమైన ఎత్తు కోసం */
}

.product-thumb {
    height: 200px; 
    overflow: hidden; 
    display: flex;
    justify-content: center; 
    align-items: center; 
    padding: 10px; 
    background-color: #ffffff;
}
.product-thumb img {
    max-width: 100%; 
    max-height: 100%; 
    width: auto;
    height: auto;
 
    object-fit: contain; 
}
@media (max-width: 575.98px) {
    .product-thumb {
        height: 130px; 
        padding: 5px;
    }
}



/*product page css*/
  /* ఇక్కడ మీ CSS స్టైల్స్ ఉంటే పేస్ట్ చేయవచ్చు, లేదంటే external file లో చేర్చండి */
        .product-image img { max-width: 100%; height: auto; border: 1px solid #ddd; }
        .product-thumbnails { display: flex; justify-content: center; align-items: center; margin-top: 15px; }
        .thumbnail-item { margin: 0 5px; border: 2px solid transparent; cursor: pointer; transition: all 0.2s; }
        .thumbnail-item img { width: 60px; height: 60px; object-fit: cover; }
        .thumbnail-item.active { border-color: #007bff; }
        .thumbnail-nav-btn { cursor: pointer; padding: 0 10px; color: #555; }
        .current-price { font-size: 1.5rem; font-weight: bold; color: #28a745; margin-right: px; }
        .wishlist-icon { cursor: pointer; color: #dc3545; border-color: #ddd !important; }
        .wishlist-icon.fa-solid { color: #dc3545; border-color: #dc3545 !important; }
        .product-quantity-wrapper .quantity-input button { width: 40px; }
        .product-detail-container { padding-top: 50px; padding-bottom: 50px; }
        /* Global Alert Bar */
        #globalAlert {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            text-align: center;
            padding: 10px;
            color: white;
            font-weight: bold;
            z-index: 1050;
            display: none; /* Initially hidden */
        }


.wishlist-icon.fa-solid.fa-heart {
    color: red !important; 
}

/* Outline Heart: డిఫాల్ట్ రంగు */
.wishlist-icon.fa-solid.fa-heart {
    color: red !important; 
}

/* Home Page/Shop Page లోని ఐకాన్ల కోసం */
.add-to-wishlist .fa-solid.fa-heart {
    color: red !important;
}
        

/* 1. Na'palli Foods Container ను Flexbox గా మార్చడం */
/* ఈ సెక్షన్ లోపల ఉన్న Products Wrapper (row) ను టార్గెట్ చేస్తున్నాం */
#napalli-foods .bd-trending__item-wrapper .row {
    display: flex !important;
    flex-wrap: wrap !important; 
    justify-content: center !important; 
    margin-left: -10px !important; 
    margin-right: -10px !important;
    padding: 0 !important;
}

/* 2. మొబైల్ వ్యూ (767px వరకు) కోసం 2 వరుసలలో సెట్ చేయడం */
@media (max-width: 767px) {
    /* #napalli-foods లోపల ఉన్న ప్రతి Product Item (div) ను 50% వెడల్పు ఇస్తుంది. */
    #napalli-foods .bd-trending__item-wrapper .row > div {
        width: 50% !important; /* 2 ఉత్పత్తులు ఒక వరుసలో */
        max-width: 50% !important;
        flex: 0 0 50% !important; 
        padding: 0 10px !important; 
        box-sizing: border-box !important; 
    }
}

/* 1. Powder Products Container ను Flexbox గా మార్చడం */
#powder-products .container .row {
    display: flex !important;
    flex-wrap: wrap !important; 
    justify-content: center !important; 
    margin-left: -10px !important; 
    margin-right: -10px !important;
    padding: 0 !important;
}

/* 2. మొబైల్ వ్యూ (767px వరకు) కోసం 2 వరుసలలో సెట్ చేయడం */
@media (max-width: 767px) {
    /* #powder-products లోపల ఉన్న ప్రతి Product Item (div) ను 50% వెడల్పు ఇస్తుంది. */
    #powder-products .container .row > div {
        width: 50% !important; /* 2 ఉత్పత్తులు ఒక వరుసలో */
        max-width: 50% !important;
        flex: 0 0 50% !important; 
        padding: 0 10px !important; 
        box-sizing: border-box !important; 
    }
}

/* 3. డెస్క్‌టాప్ వ్యూ (992px పైన): 4 వరుసలు & మీకు కావలసిన సెంటరింగ్ ప్యాడింగ్ */
@media (min-width: 992px) {
    #powder-products .container .row {
        /* డెస్క్‌టాప్‌కు మాత్రమే 150px ప్యాడింగ్ ఇస్తుంది */
        padding-left: 150px !important;
        padding-right: 150px !important;
        padding-top: 0px !important; 
        padding-bottom: 0px !important;
    }
    /* డెస్క్‌టాప్‌లో 4 వరుసల కోసం 25% */
    #powder-products .container .row > div {
        width: 25% !important; 
        max-width: 25% !important;
        flex: 0 0 25% !important;
    }
}
