 span.readmore-btn {
    color: black;
    border: 1px solid #a4a4a4;
    background: #ffffff;
    padding: 4px;
    margin-top: 10px;
    display: block;
    border-radius: 5px;
}
img.thumbnail2 { 
    display: inline-block;
    -webkit-box-shadow: 0px 0px 5px 0px rgb(54 45 50 / 29%);
    -moz-box-shadow: 0px 0px 5px 0px rgba(54, 45, 50, 0.29);
    box-shadow: 0px 0px 2px 0px rgb(54 45 50 / 29%);
    border-radius: 4px !important;
    padding: 1px;
    background: #f8f8f8;
    height: 37px;
    width: 50px;
}
img.thumbnail3 { 
	display: inline-block;
    -webkit-box-shadow: 0px 0px 5px 0px rgb(54 45 50 / 29%);
    -moz-box-shadow: 0px 0px 5px 0px rgba(54, 45, 50, 0.29);
    box-shadow: 0px 0px 5px 0px rgb(54 45 50 / 29%);
    border-radius: 14px !important;
    padding: 5px;
	margin-top: 20px;
    background: #f8f8f8;
	width: 100%;
}
span.readmore-btn:hover {
    color: black;
    border: 1px solid #a4a4a4;
    background: #f3f6f9;
    padding: 4px;
    margin-top: 10px;
    display: block;
    border-radius: 5px;
}

.mrtop-10 { margin-top: 25px; }

button.delete-item.btn.btn-danger {
    font-size: 11px !important;
    border-radius: 4px !important;
    padding: 5px 14px !important;
	color: #FF5722;
    background-color: #ffffff;
    font-weight: 700;
    border: 1.5px solid #FF5722;
}

tr {
    border-bottom: 1px solid #aaaaaa !important;
}

td, th {
    padding: 12px !important;
}

.section2 .box {
    min-height: 425px; /* Set a fixed minimum height for all cards */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 15px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    background: #fff;
    border-radius: 5px;
}

.section2 .box .cover-image {
    height: 180px; /* Fixed height for images */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}


 
 /* Enhanced Product Grid */
	.section2 {
		background: #fbfbfb;
	}
    .product-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 40px;
        padding: 10px 0;
    }
    
    .product-card {
        background: #fff;
        border-radius: 12px;
        overflow: hidden;
		box-shadow: 0 2px 6px rgb(0 0 0 / 13%);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        height: 100%;
        display: flex;
        flex-direction: column;
    }
    
    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 20px rgba(0,0,0,0.12);
    }
    
    .product-image-container {
        height: 220px;
        overflow: hidden;
		display: flex;
		padding: 2px 10px;
        align-items: center;
        justify-content: center;
        background: #f8f9fa;
    }
    
    .product-image {
        max-height: 100%;
        max-width: 100%;
        object-fit: contain;
        transition: transform 0.5s ease;
    }
    
    .product-card:hover .product-image {
        transform: scale(1.05);
    }
    
    .product-body {
        padding: 20px;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }
    
    .product-header {
        display: flex;
        justify-content: space-between;
        margin-bottom: 12px;
        align-items: flex-start;
    }
    
    .product-name {
        font-size: 18px;
        font-weight: 600;
        color: #2c3e50;
        margin: 0;
        flex: 1;
    }
    
    .product-price {
        font-weight: 700;
        color: #278f48;
        margin-left: 10px;
        white-space: nowrap;
    }
    
	.product-description {
		color: #4f5454;
		font-size: 14px;
		line-height: 1.5;
		margin-bottom: 20px;
		flex-grow: 1;
	}
    
    .readmore-link {
        color: #3498db;
        text-decoration: none;
        font-weight: 500;
        display: inline-flex;
        align-items: center;
        transition: color 0.2s;
    }
    
    .readmore-link:hover {
        color: #2980b9;
        text-decoration: underline;
    }
    
    .add-to-cart-btn {
        background: linear-gradient(135deg, #3498db, #2980b9);
        color: white;
        border: none;
        padding: 12px 20px;
        border-radius: 8px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        width: 100%;
        font-size: 12px;
        box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
    }
    
    .add-to-cart-btn:hover {
        box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
        background: linear-gradient(135deg, #2980b9, #3498db);
    }
    
    .section-header {
        text-align: center;
        margin-bottom: 40px;
        padding-top: 20px;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
        font-weight: 700;
        color: #2c3e50;
        position: relative;
        display: inline-block;
        padding-bottom: 15px;
    }
    
    .section-header h2:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        background: linear-gradient(to right, #3498db, #2ecc71);
        border-radius: 2px;
    }
    
    .alert-area {
        max-width: 800px;
        margin: 20px auto;
    }


/* Product image container with badge */
.product-image-container {
    position: relative;
    height: 220px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

/* Payment frequency badge */
.payment-frequency {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

.badge-primary {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
}

.badge-info {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
}
