.restaurant-product-grid-cd71d3f2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    width: 100%;
}

.restaurant-product-card-cd71d3f2 {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.restaurant-product-card-cd71d3f2:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.restaurant-product-img-wrapper-cd71d3f2 {
    position: relative;
    width: 100%;
    padding-bottom: 75%; /* 4:3 Aspect Ratio */
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 18px;
}

.restaurant-product-img-cd71d3f2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.restaurant-product-card-cd71d3f2:hover .restaurant-product-img-cd71d3f2 {
    transform: scale(1.08);
}

.restaurant-product-content-cd71d3f2 {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.restaurant-product-title-cd71d3f2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.restaurant-product-desc-cd71d3f2 {
    font-size: 0.9rem;
    margin: 0 0 18px 0;
    line-height: 1.5;
}

.restaurant-product-meta-cd71d3f2 {
    margin-top: auto;
    display: flex;
    flex-direction: column;
}

.restaurant-product-price-cd71d3f2 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.restaurant-product-btn-cd71d3f2 {
    display: block;
    width: 100%;
    text-align: center;
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: none;
    box-sizing: border-box;
}

/* Responsive Grid Columns */
@media (max-width: 1024px) {
    .restaurant-product-grid-cd71d3f2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .restaurant-product-grid-cd71d3f2 {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
