section#list_service_mobile {
    /* padding-top: 10px; */
    font-family: "Inter", sans-serif;
    background-color: #f5f6f8; /* Light background for the overall page */
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Align to the top */
    /* min-height: 100vh; */
    margin: 0;
    padding: 6px 2px !important; /* Add some padding top/bottom */
}

#list_service_mobile .container {
    background-color: #ffffff; /* White background for the grid itself */
    border-radius: 15px; /* Rounded corners for the entire container */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1); /* Soft shadow */
    padding: 30px;
    max-width: 900px; /* Limit width for better appearance */
}

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    /* padding: 15px; Reduced padding slightly */
    margin-bottom: 5px;
    text-decoration: none;
}
.icon-item:hover {
    opacity: 0.8; /* Subtle hover effect */
    transform: translateY(-2px); /* Slight lift on hover */
    transition: all 0.3s ease;
}
.icon-wrapper {
    width: 70px; /* Slightly smaller size for more items */
    height: 70px; /* Slightly smaller size for more items */
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: #e6f2ff; /* Light blue background for icon circles */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Softer shadow for individual icons */
    margin-bottom: 8px; /* Reduced margin */
    position: relative;
}
.icon-wrapper .fa-solid {
    font-size: 32px; /* Adjusted icon size */
    color: #3b82f6; /* A more vibrant blue */
}
.icon-text {
    font-size: 0.9rem; /* Smaller font size for text */
    color: #4a4a4a;
    font-weight: 500;
    line-height: 1.3; /* Ensure text wraps nicely */
}

/* Specific styles for icons to match the image colors and types */
.icon-wrapper.repair-icon {
    background-color: #fce7cf;
} /* Light orange */
.icon-wrapper.repair-icon .fa-tools {
    color: #f59e0b;
} /* Orange */

.icon-wrapper.cleaning-icon {
    background-color: #d1f7e0;
} /* Light green */
.icon-wrapper.cleaning-icon .fa-broom {
    color: #10b981;
} /* Green */

.icon-wrapper.ticket-icon {
    background-color: #ffe6e6;
} /* Light red */
.icon-wrapper.ticket-icon .fa-ticket-alt {
    color: #ef4444;
} /* Red */

.icon-wrapper.car-service-icon {
    background-color: #dbeafe;
} /* Lighter blue */
.icon-wrapper.car-service-icon .fa-car-alt {
    color: #3b82f6;
} /* Blue */

.icon-wrapper.spa-icon {
    background-color: #f7e0ff;
} /* Light purple */
.icon-wrapper.spa-icon .fa-spa {
    color: #9333ea;
} /* Purple */

.icon-wrapper.hotel-icon {
    background-color: #dcfce7;
} /* Lighter green */
.icon-wrapper.hotel-icon .fa-hotel {
    color: #22c55e;
} /* Green */

/* New icons for Ăn uống and Mua sắm */
.icon-wrapper.food-icon {
    background-color: #fffacd;
} /* Light yellow */
.icon-wrapper.food-icon .fa-utensils {
    color: #facc15;
} /* Yellow */

.icon-wrapper.shopping-icon {
    background-color: #e0f2fe;
} /* Very light blue */
.icon-wrapper.shopping-icon .fa-shopping-bag {
    color: #0ea5e9;
} /* Cyan */

.icon-wrapper.more-icon {
    background-color: #f0f2f5; /* A slightly different background for "Xem thêm" */
}

.icon-wrapper.more-icon .fa-th {
    /* Target the new icon */
    font-size: 32px; /* Adjust size as needed */
    color: #3b82f6; /* Use your primary blue color */
}



div.product-container .card {
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    width: 280px;
    padding: 8px;
    text-align: left;
    transition: transform 0.2s ease;
}

div.product-container .card:hover {
    transform: translateY(-5px);
}

div.product-container .card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 16px;
}

div.product-container .card h3 {
    font-size: 1.5rem;
    color: #111827;
    margin-bottom: 8px;
}

div.product-container .card .address,
.card .description {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    color: #4b5563;
    margin-bottom: 12px;
}

div.product-container .card .description {
    color: #6b7280;
    font-size: 1rem;
    line-height: 1.4;
}

div.product-container .card i {
    color: #3b82f6;
    margin-top: 2px;
    min-width: 18px;
}

div.product-container .card button {
    background-color: #3b82f6;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: block;
    margin: 0 auto;
}

div.product-container .card button:hover {
    background-color: #2563eb;
}

div.product-container .ellipsis-single-line {
 
  display: -webkit-box;
  -webkit-line-clamp: 3;      /* number of lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 4.5em; 
}


div.product-container .card p.company_name {
  font-size: 18px;
  font-weight: 600;
  color: #1e3a8a;
  margin-bottom: 12px;
  padding-left: 28px;
  position: relative;

}

div.product-container div.company_name{
    height: 50px;
    max-height: 50px;

    display: -webkit-box;
    -webkit-line-clamp: 3;     
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;

}

div.product-container div.summary{
    height: 140px;
    max-height: 140px;
}

