.ify-service-card {
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
}

.ify-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.ify-service-card .services__item-thumb,
.ify-service-card .services__item-thumb {
    position: relative;
}

.ify-service-card__badge {
    position: absolute;
    left: 12px;
    bottom: 12px;
    background: rgba(15, 23, 42, 0.85);
    color: #fff;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 999px;
}

.ify-service-card .title a {
    font-size: 1.05rem;
    line-height: 1.35;
}

.ify-service-card .btn-view-service {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
}

/* Prix + CTA : empilés, sans chevauchement */
.ify-service-card .services__item-bottom {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 16px;
}

.ify-service-card .services__item-bottom .price {
    margin: 0;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 700;
    color: var(--tg-theme-primary, #5751E1);
    flex: none;
    white-space: nowrap;
}

.ify-service-card .services__item-bottom .button {
    width: 100%;
}

.ify-service-card .services__item-bottom .button a {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
}

.all-services-area .services__sidebar,
.all-courses-area .services__sidebar {
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.services__service-options .list-group-item,
.services__service-options .list-group-item {
    border-radius: 8px;
    margin-bottom: 6px;
}
