/* Version: 1.0.4 */
.smfe-services {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    visibility: visible !important;
    opacity: 1 !important;
}

.smfe-service-card {
    flex: 1 1 calc(33.333% - 20px);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    visibility: visible !important;
    opacity: 1 !important;
    min-height: 100px; /* Ensure card is visible even if empty */
}

.smfe-service-card:hover {
    transform: translateY(-5px);
}

.smfe-service-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.smfe-title-icon {
    vertical-align: middle;
}

.smfe-title-icon svg,
.smfe-title-icon i {
    width: 1em;
    height: 1em;
    font-size: 18px;
    line-height: 1;
    vertical-align: middle;
}

.smfe-service-card h3 {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.smfe-service-content {
    margin-bottom: 15px;
}

.smfe-service-excerpt {
    margin-bottom: 15px;
}

.smfe-service-price,
.smfe-service-duration {
    margin-bottom: 10px;
}

.smfe-appointment-button {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: opacity 0.3s;
}

.smfe-appointment-button:hover {
    opacity: 0.9;
}

.smfe-service-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.smfe-service-table th,
.smfe-service-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

.smfe-service-table th {
    font-weight: bold;
}

@media (max-width: 768px) {
    .smfe-service-card {
        flex: 1 1 100%;
    }
    .smfe-service-table th,
    .smfe-service-table td {
        font-size: 14px;
        padding: 8px;
    }
}